/* Agvanta – Website (agvanta.de). Marke: Space Grotesk (Display) + Inter (Text), Grün #2F6B3E. */
:root {
  --gruen: #2F6B3E;
  --gruen-tief: #24522f;
  --gruen-hell: #e7f0e6;
  --gelb: #b57e22;
  --bg: #f6f7f2;
  --bg-2: #eef1e8;
  --card: #ffffff;
  --ink: #17190f;
  --muted: #5f6555;
  --linie: #e3e6da;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(24,40,20,.05), 0 10px 30px rgba(24,40,20,.06);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gruen: #7cb689;
    --gruen-tief: #a7d3b0;
    --gruen-hell: #21301f;
    --gelb: #d8ad5c;
    --bg: #12140d;
    --bg-2: #171a10;
    --card: #1b1e14;
    --ink: #ecefe0;
    --muted: #a3ab92;
    --linie: #2c3122;
    --schatten: 0 1px 2px rgba(0,0,0,.3), 0 12px 34px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --gruen: #7cb689; --gruen-tief: #a7d3b0; --gruen-hell: #21301f; --gelb: #d8ad5c;
  --bg: #12140d; --bg-2: #171a10; --card: #1b1e14; --ink: #ecefe0; --muted: #a3ab92;
  --linie: #2c3122; --schatten: 0 1px 2px rgba(0,0,0,.3), 0 12px 34px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gruen-tief); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

h1, h2, h3, .brandfont { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.04; margin: 0 0 1rem; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.1; margin: 0 0 .6rem; font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.12rem; margin: 0 0 .35rem; font-weight: 700; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 54ch; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gruen); margin: 0 0 .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-family: inherit;
  padding: .75rem 1.2rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; font-size: .98rem; transition: transform .08s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gruen); color: #fff; }
:root:not([data-theme="light"]) .btn-primary, :root[data-theme="dark"] .btn-primary { color: #10210f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #10210f; } }
.btn-primary:hover { background: var(--gruen-tief); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--linie); }
.btn-ghost:hover { background: var(--bg-2); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.nav .logo { display: inline-flex; align-items: center; }
.nav .logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 780px) { .nav-links { display: none; } }

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 2rem; }

/* Hero */
.hero { padding-top: clamp(2.4rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-note { margin-top: .9rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 1rem 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); color: var(--muted); font-size: .9rem; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: .45rem; }
.trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--schatten); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--gruen-hell); color: var(--gruen); display: grid; place-items: center; margin-bottom: .9rem; }
.card ul { margin: .7rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.card li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--muted); }
.card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--gruen); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Highlight band */
.band { background: var(--bg-2); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--linie); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 820px) { .band-grid { grid-template-columns: repeat(2, 1fr); } }
.band-grid h3 { font-size: 1rem; }
.band-grid p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Coming soon */
.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .soon { grid-template-columns: 1fr; } }
.soon-card { position: relative; background: var(--card); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--schatten); }
.badge-soon { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gelb); background: color-mix(in srgb, var(--gelb) 15%, transparent); border: 1px solid color-mix(in srgb, var(--gelb) 40%, transparent); padding: .2rem .55rem; border-radius: 999px; margin-bottom: .8rem; }

/* Contact / CTA block */
.cta-block { text-align: center; background: var(--gruen); color: #fff; border-radius: 20px; padding: clamp(2rem, 5vw, 3.2rem); }
:root:not([data-theme="light"]) .cta-block, :root[data-theme="dark"] .cta-block { color: #0f1f0e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-block { color: #0f1f0e; } }
.cta-block h2 { color: inherit; }
.cta-block .lede { color: inherit; opacity: .92; margin: 0 auto 1.4rem; }
.cta-block .btn-primary { background: #fff; color: var(--gruen-tief); }
.cta-block .btn-primary:hover { background: #f0f0ea; }

/* Footer */
.site-foot { background: var(--gruen-tief); color: #dfeade; padding: 2.6rem 0 2rem; }
:root:not([data-theme="light"]) .site-foot, :root[data-theme="dark"] .site-foot { background: #0e1a0e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-foot { background: #0e1a0e; } }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.site-foot img { height: 30px; }
.site-foot a { color: #cfe0cd; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; font-size: .92rem; }
.foot-copy { margin-top: 1.6rem; font-size: .82rem; color: #a9c0a7; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 2.5rem clamp(1rem,4vw,2rem) 4rem; }
.legal h1 { margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
.legal p, .legal li { color: var(--ink); }
.legal .muted { color: var(--muted); }
.legal a.back { display: inline-block; margin-bottom: 1.2rem; color: var(--muted); text-decoration: none; font-weight: 500; }

/* Browser frame */
.browser { border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; box-shadow: var(--schatten); background: var(--card); }
.browser .bar { display: flex; align-items: center; gap: 10px; padding: .5rem .75rem; background: var(--bg-2); border-bottom: 1px solid var(--linie); }
.browser .dots { display: inline-flex; gap: 6px; }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.browser .addr { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); background: var(--card); border: 1px solid var(--linie); border-radius: 999px; padding: .12rem .7rem; max-width: 240px; margin: 0 auto; }
.browser img { display: block; width: 100%; height: auto; }

/* Screenshot showcase */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.shot figcaption { margin-top: .8rem; color: var(--muted); font-size: .95rem; }
.shot figcaption strong { color: var(--ink); font-weight: 600; }

/* Mobile showcase */
.mobile-wrap { display: grid; grid-template-columns: 1.05fr auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .mobile-wrap { grid-template-columns: 1fr; } }
.phones { display: flex; gap: 1.2rem; justify-content: center; }
.phone { width: 232px; max-width: 42vw; border: 10px solid #14170e; border-radius: 38px; background: #14170e; box-shadow: var(--schatten); overflow: hidden; }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; }

/* Zoombare Screenshots: Hover vergrößert, Klick öffnet Lightbox */
.zoomable { cursor: zoom-in; }
.shot { position: relative; }
.shot .browser, .hero-art .browser { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot:hover { z-index: 8; }
  .shot:hover .browser { transform: scale(1.28); box-shadow: 0 24px 60px rgba(20,40,20,.30); }
  .hero-art:hover .browser { transform: scale(1.03); box-shadow: 0 24px 60px rgba(20,40,20,.28); }
}
.phone img.zoomable { transition: transform .2s ease; }
@media (hover: hover) { .phone:hover img.zoomable { transform: scale(1.03); } }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 3vw;
  background: rgba(8,18,10,.9); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.lightbox .hint { position: fixed; top: 18px; right: 22px; color: #fff; font-size: .85rem; opacity: .8; }

.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fade .6s ease both; }
  @keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
