/* Clever Stempel – Website
   Farben: Waldgrün (Basis), Crema-Gold (Stempel/Aktion), Milchschaum (Text) */
@font-face { font-family: "Unbounded"; src: url("/site/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/site/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --forest: #142A20;      /* Hintergrund */
  --forest-2: #1C382B;    /* Flächen */
  --forest-3: #27493A;    /* Linien, Kanten */
  --foam: #ECF3EE;        /* Text */
  --sage: #9CB5A7;        /* Nebentext */
  --crema: #F2B65A;       /* Akzent: Stempel, Buttons */
  --crema-ink: #2A1C06;
  --paper: #EDE3CF;
  --radius-card: 22px;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--forest); color: var(--foam);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 16px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--crema); color: var(--crema-ink); }
.btn-gold:hover { background: #F7C778; }
.btn-ghost { border-color: var(--forest-3); color: var(--foam); background: transparent; }
.btn-ghost:hover { border-color: var(--sage); }
.btn-small { padding: 11px 18px; font-size: 15px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(16px, calc((100vw - var(--wrap)) / 2));
  background: rgba(20, 42, 32, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(39, 73, 58, .6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -.01em; }
.brand-bean { width: 18px; height: auto; }
.brand-bean ellipse { fill: var(--crema); }
.brand-bean path { fill: none; stroke: var(--forest); stroke-width: 4; stroke-linecap: round; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a, .nav-login { text-decoration: none; color: var(--sage); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-login:hover { color: var(--foam); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }
@media (max-width: 420px) { .nav-login { display: none; } }

/* ---------- Abschnitte ---------- */
main > section { padding: 120px max(16px, calc((100vw - var(--wrap)) / 2)); }
.section-title {
  font: 600 clamp(30px, 4.4vw, 54px)/1.08 var(--display); letter-spacing: -.025em;
  max-width: 17ch; text-wrap: balance;
}
.section-lead { color: var(--sage); font-size: 19px; max-width: 52ch; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  padding-top: 130px !important; padding-bottom: 80px !important;
}
.hero-title { font: 700 clamp(40px, 6.4vw, 86px)/.98 var(--display); letter-spacing: -.035em; }
.hero-title .line { display: block; }
.hero-title .line-gold { color: var(--crema); }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: #CFE0D6; max-width: 40ch; margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { color: var(--sage); font-size: 15px; margin-top: 18px; }

.hero-stage { position: relative; height: min(560px, 70vw); }
.paper {
  position: absolute; left: 0; top: 4%; width: 74%; aspect-ratio: 85 / 55;
  background: var(--paper); color: #5B4632; border-radius: 10px; padding: 6% 7%;
  transform: rotate(-9deg); box-shadow: 0 30px 60px rgba(0,0,0,.35);
  filter: saturate(.85);
  background-image: radial-gradient(circle at 80% 20%, rgba(91,70,50,.12), transparent 40%), linear-gradient(transparent 92%, rgba(91,70,50,.08) 92%);
  background-size: auto, 100% 18px;
}
.paper::after { /* Knick */
  content: ""; position: absolute; inset: 0 38% 0 auto; border-right: 1px dashed rgba(91,70,50,.25);
}
.paper-title { font: 600 clamp(12px, 1.3vw, 16px)/1.2 Georgia, serif; }
.paper-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 8% 0; }
.paper-dots i { aspect-ratio: 1; border: 2px solid rgba(91,70,50,.35); border-radius: 50%; position: relative; }
.paper-dots i.s::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #A0412D; font: 700 clamp(14px, 2vw, 24px) Georgia, serif; transform: rotate(-12deg);
}
.paper-foot { font: italic clamp(11px, 1.1vw, 14px) Georgia, serif; }

/* ---------- Wallet-Karte (Hero + Ablauf) ---------- */
.pass {
  --p-bg: #F7F3EA; --p-fg: #3B2C20; --p-strip: #3B2C20; --p-accent: #F2B65A;
  background: var(--p-bg); color: var(--p-fg); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
}
.pass-hero { position: absolute; right: 0; bottom: 4%; width: 72%; transform: rotate(4deg); }
.pass-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.pass-logo {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--p-strip); color: var(--p-accent); font: 700 16px var(--display);
}
.pass-name { font: 600 15px/1.2 var(--body); flex: 1; }
.pass-count { text-align: right; font: 600 22px/1 var(--body); font-variant-numeric: tabular-nums; }
.pass-count small, .pass-fields small { display: block; font: 600 10px/1.4 var(--body); letter-spacing: .06em; opacity: .7; }
.pass-strip { background: var(--p-strip); padding: 16px 14px; }
.beans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 6px; }
.beans li { display: grid; place-items: center; }
.bean { width: 26px; height: auto; overflow: visible; }
.bean ellipse { fill: none; stroke: rgba(247,243,234,.35); stroke-width: 3; }
.bean path { fill: none; stroke: rgba(247,243,234,.35); stroke-width: 3; stroke-linecap: round; }
.bean.on ellipse { fill: var(--p-accent); stroke: var(--p-accent); }
.bean.on path { stroke: var(--p-strip); }
.pass-fields { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px 16px; }
.pass-fields strong { font-size: 15px; font-weight: 600; }
.pass-fields .right { text-align: right; }
.pass-ready {
  margin: 0 16px; padding: 10px 12px; border-radius: 10px; text-align: center;
  background: var(--p-accent); color: var(--crema-ink); font-weight: 700; font-size: 14px;
  opacity: 0; transform: translateY(6px);
}
.pass-qr { display: grid; place-items: center; padding: 16px 0 20px; }
.qr { width: 92px; height: 92px; background: #fff; padding: 8px; border-radius: 10px; }
.qr path { fill: #1a1a1a; }

/* ---------- Ablauf ---------- */
.flow { padding-top: 60px !important; }
.flow-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: 100svh; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; gap: 6px; }
.step {
  position: relative; padding: 18px 0 18px 64px;
  border-top: 1px solid var(--forest-3); opacity: .38; transition: opacity .35s ease;
}
.step::before {
  content: attr(data-n); position: absolute; left: 0; top: 16px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--forest-3); font: 600 15px var(--display); color: var(--sage);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.step.is-active { opacity: 1; }
.step.is-active::before { background: var(--crema); border-color: var(--crema); color: var(--crema-ink); }
.step h3 { font: 600 19px/1.3 var(--body); }
.step p { color: var(--sage); margin-top: 6px; max-width: 44ch; }

.flow-phone { display: grid; place-items: center; }
.phone {
  width: min(340px, 82vw); aspect-ratio: 9 / 19; border-radius: 48px; padding: 12px;
  background: linear-gradient(145deg, #2B3A33, #0F1A15); box-shadow: 0 50px 100px rgba(0,0,0,.5), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #E9EEF0, #DDE4E1); padding: 44px 14px 14px;
}
.phone-time { position: absolute; top: 14px; left: 0; right: 0; text-align: center; color: #1B2420; font: 600 14px var(--body); }
.phone .pass { box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.push {
  position: absolute; left: 10px; right: 10px; top: 40px; z-index: 3;
  display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 18px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #1B2420; box-shadow: 0 10px 30px rgba(0,0,0,.15); opacity: 0; transform: translateY(-20px);
}
.push-icon { width: 34px; height: 34px; border-radius: 9px; background: #3B2C20; display: grid; place-items: center; flex: none; }
.push-icon svg { width: 14px; }
.push-icon ellipse { fill: var(--crema); }
.push-icon path { fill: none; stroke: #3B2C20; stroke-width: 4; }
.push-text { display: grid; font-size: 13px; line-height: 1.3; }
.scan {
  position: absolute; inset: auto 0 0 0; height: 46%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(242,182,90,.22)); opacity: 0;
}
.scan span { position: absolute; left: 12%; right: 12%; top: 30%; height: 2px; background: var(--crema); box-shadow: 0 0 18px var(--crema); }

/* ---------- Betreiber ---------- */
.owners-head { margin-bottom: 52px; }
.screen {
  margin: 0; border-radius: 16px; overflow: hidden; background: var(--forest-2);
  box-shadow: 0 40px 90px rgba(0,0,0,.4); border: 1px solid var(--forest-3);
}
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #10221A; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--forest-3); }
.screen-bar span { margin-left: 12px; font-size: 13px; color: var(--sage); }
.screen figcaption { padding: 10px 16px; font-size: 13px; color: var(--sage); background: #10221A; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin: 72px 0 0; }
.features div { border-top: 2px solid var(--crema); padding-top: 18px; }
.features dt { font: 600 18px/1.3 var(--body); }
.features dd { margin: 8px 0 0; color: var(--sage); }

/* ---------- Preise ---------- */
.price {
  margin-top: 52px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  border: 1px solid var(--forest-3); border-radius: var(--radius-card); overflow: hidden;
}
.price-main { background: var(--crema); color: var(--crema-ink); padding: 48px; display: flex; flex-direction: column; }
.price-amount { display: flex; align-items: flex-start; font-family: var(--display); line-height: .85; }
.price-amount .num { font-size: clamp(110px, 14vw, 180px); font-weight: 700; letter-spacing: -.06em; }
.price-amount .cur { font-size: 48px; font-weight: 600; margin: 14px 0 0 8px; }
.price-per { font: 600 20px var(--body); margin-top: 14px; }
.price-free { margin: 28px 0 32px; font-size: 18px; max-width: 26ch; }
.price-main .btn { background: var(--crema-ink); color: var(--crema); align-self: flex-start; margin-top: auto; }
.price-main .btn:hover { background: #3E2A0B; }
.price-detail { padding: 48px; background: var(--forest-2); }
.price-detail h3 { font: 600 19px var(--body); }
.price-detail h3 + p { color: var(--sage); margin-top: 6px; }
.price-detail h3:not(:first-child) { margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 9px;
  border-left: 2.5px solid var(--crema); border-bottom: 2.5px solid var(--crema); transform: rotate(-45deg);
}
.fineprint { color: var(--sage); font-size: 14px; margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; border-top: 1px solid var(--forest-3); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--forest-3); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative;
  font: 600 19px/1.35 var(--body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--crema); border-bottom: 2px solid var(--crema); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--sage); padding: 0 0 24px; max-width: 64ch; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.form { display: grid; gap: 18px; background: var(--forest-2); border: 1px solid var(--forest-3); border-radius: var(--radius-card); padding: 36px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: 15px; }
.form label > input, .form label > textarea { display: block; margin-top: 8px; }
.form .opt { font-weight: 400; color: var(--sage); }
.form input, .form textarea {
  font: 400 16px/1.4 var(--body); color: var(--foam); background: #10221A;
  border: 1.5px solid var(--forest-3); border-radius: 12px; padding: 13px 14px; width: 100%;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--crema); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--sage); }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--crema); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: var(--crema); }
.form-msg.err { color: #FF9A8A; }

/* ---------- Footer ---------- */
.foot {
  padding: 56px max(16px, calc((100vw - var(--wrap)) / 2)) 64px;
  border-top: 1px solid var(--forest-3); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  color: var(--sage); font-size: 15px;
}
.brand-foot { color: var(--foam); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--foam); }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  main > section { padding-top: 88px; padding-bottom: 88px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 56px; }
  .hero-stage { height: 92vw; max-height: 520px; }
  .flow-inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .price, .contact { grid-template-columns: 1fr; }
  .contact { gap: 40px; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .price-main, .price-detail, .form { padding: 28px 22px; }
  .row-2 { grid-template-columns: 1fr; }
  .step { padding-left: 56px; }
}

/* Mobil: Ablauf als gepinnte Szene, Telefon oben, Schritte darunter */
@media (max-width: 980px) {
  .flow.is-pinned .flow-inner { min-height: 100svh; align-content: start; padding-top: 76px; gap: 18px; }
  .flow.is-pinned .flow-phone { order: -1; }
  .flow.is-pinned .phone { width: min(270px, 70vw); aspect-ratio: 9 / 15; border-radius: 40px; padding: 10px; }
  .flow.is-pinned .phone-screen { border-radius: 31px; padding-top: 36px; }
  .flow.is-pinned .phone-screen > .pass, .flow.is-pinned .push { zoom: .8; }
  .flow.is-pinned .section-title { display: none; }
  .flow.is-pinned .steps { margin-top: 0; }
  .flow.is-pinned .step { display: none; border: 0; padding-top: 6px; }
  .flow.is-pinned .step.is-active { display: block; }
  .flow.is-pinned .step p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .step { opacity: 1; }
}
