/* Ferstl & Singerer Kanzleisysteme · Basis-Styles für die Anmeldeseite (Kopie von site/styles.css)
   Layout: viel Weißraum, zentrierter Hero mit 3D-Bühne, danach abwechselnd helle, flächige und eine dunkle Sektion.
   Farben: Petrol trägt alles Wichtige, Pistazie ist der einzige frische Akzent. */
:root {
  --petrol: #0b4f55;
  --petrol-600: #0e5f66;
  --petrol-deep: #07343a;
  --ink: #0e1c1f;
  --muted: #5a6b6e;
  --tone: #7a8c8e;
  --line: #e2e9e6;
  --surface: #f5f8f3;
  --white: #ffffff;
  --mint: #dcebe9;
  --pist: #c8dd8a;
  --pist-600: #a9c760;
  --pist-soft: #e9f2da;
  --on-dark-muted: #a9c3c2;
  --danger: #b42318;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sig: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-1: 0 1px 2px rgba(7, 52, 58, .06), 0 10px 30px -8px rgba(7, 52, 58, .14);
  --shadow-2: 0 2px 6px rgba(7, 52, 58, .06), 0 40px 80px -30px rgba(7, 52, 58, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-play, .i-pause, .ring svg { stroke-width: 2; }
.i-play, .i-pause { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

.proto-tag { position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 12px/1.4 var(--font); opacity: .85; pointer-events: none; }

/* ---------- Typo ---------- */
.eyebrow { margin: 0 0 14px; font: 700 13px/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.eyebrow--pist { color: var(--pist); }
.h2 { margin: 0; font: 800 clamp(34px, 4.6vw, 58px)/1.04 var(--font); letter-spacing: -.042em; text-wrap: balance; }
.h3 { margin: 0 0 12px; font: 700 clamp(22px, 2vw, 28px)/1.2 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.h3--sm { font-size: 22px; }
.title { margin: 0 0 8px; font: 700 19px/1.3 var(--font); letter-spacing: -.01em; }
.lead { margin: 18px 0 0; max-width: 620px; font: 400 clamp(17px, 1.4vw, 20px)/1.55 var(--font); color: var(--muted); }
.text { margin: 0; font: 400 17px/1.6 var(--font); color: var(--muted); }
.text--on-dark { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 22px 15px 24px; font: 600 16px/22px var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-600); }
.btn--small { padding: 9px 16px; font-size: 14px; line-height: 20px; background: var(--petrol); color: var(--white); }
.btn--pist { background: var(--pist); color: var(--petrol-deep); }
.btn--pist:hover { background: #d4e69c; }
.btn--ghost { padding: 10px 18px; font-size: 14px; line-height: 20px; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(14, 28, 31, .06); }
.nav__inner { max-width: 1200px; margin-inline: auto; padding-inline: 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font: 600 14px/1 var(--font); color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__login { font: 600 14px/1 var(--font); color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__login:hover { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--font); letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo__mark { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--petrol); }
.logo__mark::after { content: ""; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--pist); box-shadow: 0 0 0 2px var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 104px); }
.hero__copy { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px/1.4 var(--font); text-decoration: none; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pist-600); box-shadow: 0 0 0 4px var(--pist-soft); }
.badge__arrow { color: var(--muted); transition: transform .25s var(--ease); }
.badge:hover .badge__arrow { transform: translateX(3px); }
.hero__title { margin: 28px 0 24px; font: 800 clamp(44px, 7.6vw, 104px)/.98 var(--font); letter-spacing: -.048em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero__title .line > span { transform: none; }
.tone { color: var(--tone); }
.hero__sub { margin: 0 auto; max-width: 620px; font: 400 clamp(18px, 1.6vw, 21px)/1.55 var(--font); color: var(--muted); }

/* Nummernfeld */
.callme { margin: 36px auto 0; max-width: 560px; }
.callme__field { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 24px; border-radius: 999px; background: var(--white); color: var(--ink);box-shadow: inset 0 0 0 1.5px rgba(14, 28, 31, .12), 0 16px 40px -12px rgba(7, 52, 58, .22); transition: box-shadow .25s; }
.callme__field:focus-within { box-shadow: inset 0 0 0 2px var(--petrol), 0 16px 40px -12px rgba(7, 52, 58, .22); }
.callme.has-error .callme__field { box-shadow: inset 0 0 0 2px var(--danger), 0 16px 40px -12px rgba(7, 52, 58, .22); }
.callme__prefix { font: 700 16px/1 var(--font); }
.callme__divider { width: 1px; height: 22px; flex: none; background: rgba(14, 28, 31, .15); }
.callme__input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0; background: transparent; font: 400 17px/1.5 var(--font); color: var(--ink); }
.callme__input::placeholder { color: var(--muted); opacity: 1; }
.callme__input:focus-visible { outline: 0; }
.callme__error { margin: 10px 0 0; min-height: 0; font: 600 14px/1.4 var(--font); color: var(--danger); text-align: center; }
.callme__error:empty { display: none; }
.callme__done { display: none; align-items: center; justify-content: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px; background: var(--pist-soft); color: var(--petrol-deep); text-align: left; }
.callme__done strong { display: block; font: 700 16px/1.3 var(--font); }
.callme__done span:not(.ring) { display: block; font: 400 13px/1.4 var(--font); opacity: .8; }
.callme.is-done .callme__field { display: none; }
.callme.is-done .callme__done { display: inline-flex; animation: pop .5s var(--ease); }
.callme.is-done { text-align: center; }
.ring { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); color: var(--white); }
.ring svg { width: 20px; height: 20px; animation: shake 1.2s var(--ease) infinite; }
.ring::before, .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--petrol); animation: ripple 1.6s ease-out infinite; }
.ring::after { animation-delay: .8s; }
.consent { margin: 14px auto 0; max-width: 520px; font: 400 13px/1.5 var(--font); color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); font: 600 14px/1.3 var(--font); }
.trust svg { width: 16px; height: 16px; color: var(--petrol); stroke-width: 2.4; }

/* 3D-Bühne */
.stage { position: relative; height: clamp(600px, 62vw, 740px); margin-top: 24px; perspective: 1800px; perspective-origin: 50% 20%; }
.stage::before { content: ""; position: absolute; left: 50%; top: 14%; width: min(1100px, 92vw); height: 86%; transform: translateX(-50%); border-radius: 56px 56px 0 0; background: linear-gradient(180deg, var(--surface) 0%, rgba(245, 248, 243, 0) 85%); }
.scene { position: relative; width: 760px; max-width: 100%; height: 100%; margin-inline: auto; transform-style: preserve-3d; transform-origin: 50% 40%; will-change: transform; }
.device { position: absolute; left: 50%; top: 50%; width: 300px; height: 612px; margin: -306px 0 0 -150px; padding: 11px; border-radius: 54px; background: #0a1214; box-shadow: inset 0 0 0 1.5px #2a3634, 0 60px 110px -40px rgba(7, 52, 58, .55), 0 30px 60px -30px rgba(0, 0, 0, .35); }
.device::before { content: ""; position: absolute; z-index: 3; top: 22px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%); border-radius: 20px; background: #0a1214; }
.device__screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 44px; background: var(--white); }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 19px 30px 0; font: 700 13px/1 var(--font); }
.sb__icons { display: flex; gap: 3px; align-items: flex-end; }
.sb__icons i { width: 4px; border-radius: 2px; background: var(--ink); }
.sb__icons i:nth-child(1) { height: 6px; } .sb__icons i:nth-child(2) { height: 9px; } .sb__icons i:nth-child(3) { height: 12px; }
.call { padding: 30px 20px 6px; text-align: center; }
.call__state { margin: 0; font: 700 11px/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.call__state.is-ringing { animation: blink 1.2s ease-in-out infinite; }
.call__avatar { position: relative; width: 68px; height: 68px; margin: 14px auto 10px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--petrol); font: 800 22px/1 var(--font); letter-spacing: -.02em; }
.call__name { margin: 0; font: 800 20px/1.2 var(--font); letter-spacing: -.025em; }
.call__meta { margin: 4px 0 0; font: 500 12px/1.4 var(--font); color: var(--muted); }
.call__timer { margin: 6px 0 0; font: 600 13px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.wave { height: 56px; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 0 30px; }
.wave .bar { width: 4px; height: 48px; border-radius: 4px; background: var(--petrol); transform: scaleY(.12); transition: background-color .3s; }
.wave.is-caller .bar { background: #9aa9ab; }
.transcript { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 4px 16px 10px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%); mask-image: linear-gradient(180deg, transparent 0, #000 28%); }
.tb { align-self: flex-start; max-width: 86%; padding: 9px 12px; border-radius: 16px 16px 16px 5px; background: var(--surface); font: 500 12.5px/1.4 var(--font); animation: pop .45s var(--ease); }
.tb--ai { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: var(--petrol); color: var(--white); }
.call__actions { display: flex; gap: 8px; padding: 8px 16px 22px; }
.call__actions span { flex: 1; padding: 11px 6px; border-radius: 999px; background: var(--surface); font: 700 11.5px/1.2 var(--font); text-align: center; }
.call__actions .is-strong { background: var(--ink); color: var(--white); }

.float-card { --z: 100px; position: absolute; width: 262px; display: grid; grid-template-columns: 40px 1fr; gap: 10px 12px; align-items: center; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(14, 28, 31, .06), 0 28px 56px -18px rgba(7, 52, 58, .32); opacity: 0; transform: translateZ(var(--z)) translateY(16px) scale(.94); transition: opacity .5s, transform .8s var(--ease); animation: bob 7s ease-in-out infinite; }
.float-card.is-pop { opacity: 1; transform: translateZ(var(--z)) translateY(0) scale(1); }
.float-card--left { left: 0; top: 26%; --z: 90px; }
.float-card--right { right: 0; top: 52%; --z: 140px; animation-delay: -3s; }
.fc-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--petrol); }
.fc-icon svg { width: 19px; height: 19px; }
.fc-icon--pist { background: var(--pist-soft); color: var(--petrol-deep); }
.fc-text p { margin: 0; }
.fc-label { font: 500 12px/1.4 var(--font); color: var(--muted); }
.fc-title { font: 800 15px/1.3 var(--font); letter-spacing: -.01em; }
.fc-chip { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; background: var(--pist); color: var(--petrol-deep); font: 800 12px/1.2 var(--font); }
.fc-chip svg { width: 14px; height: 14px; stroke-width: 2.6; }
.fc-body { grid-column: 1 / -1; margin: 0; font: 400 13px/1.45 var(--font); color: var(--muted); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(88px, 11vw, 148px); }
.section--surface { background: var(--surface); }
.section--dark { background-color: var(--petrol-deep); background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; color: var(--white); }
.section--dark .lead { color: var(--on-dark-muted); }
.head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hörproben ---------- */
.player { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.player__list { display: flex; flex-direction: column; gap: 10px; }
.sample { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border: 0; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: box-shadow .25s, background-color .25s, transform .25s var(--ease); }
.sample:hover { transform: translateY(-2px); }
.sample.is-active { background: var(--pist-soft); box-shadow: inset 0 0 0 2px var(--petrol); }
.sample__n { font: 700 13px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.sample strong { display: block; font: 800 16px/1.3 var(--font); letter-spacing: -.01em; }
.sample em { display: block; margin-top: 2px; font: 400 14px/1.4 var(--font); font-style: normal; color: var(--muted); }
.sample__d { font: 600 13px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.player__note { margin: 6px 4px 0; font: 400 13px/1.5 var(--font); color: var(--muted); }
.player__main { display: flex; flex-direction: column; padding: 30px; border-radius: 30px; background: var(--petrol-deep); color: var(--white); box-shadow: var(--shadow-2); }
.player__top { display: flex; align-items: center; gap: 18px; }
.play { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--pist); color: var(--petrol-deep); cursor: pointer; transition: transform .25s var(--ease); }
.play:hover { transform: scale(1.05); }
.play svg { width: 24px; height: 24px; }
.play .i-pause { display: none; }
.play.is-playing .i-play { display: none; }
.play.is-playing .i-pause { display: block; }
.player__meta p { margin: 0; }
.player__title { font: 800 21px/1.25 var(--font); letter-spacing: -.02em; }
.player__time { margin-top: 4px !important; font: 600 14px/1 var(--font); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.pwave { height: 72px; display: flex; align-items: center; gap: 3px; margin: 26px 0; cursor: pointer; }
.pwave i { flex: 1; min-width: 2px; border-radius: 3px; background: rgba(255, 255, 255, .2); transition: background-color .2s; }
.pwave i.is-past { background: var(--pist); }
.lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lines li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font: 500 15.5px/1.5 var(--font); color: var(--on-dark-muted); opacity: .45; transition: opacity .35s, color .35s; }
.lines li .who { font: 800 11.5px/1.9 var(--font); letter-spacing: .07em; text-transform: uppercase; }
.lines li.is-past { opacity: .75; }
.lines li.is-now { opacity: 1; color: var(--white); }
.lines li.is-now .who { color: var(--pist); }
.player__proto { margin: auto 0 0; padding-top: 22px; font: 400 12.5px/1.5 var(--font); color: var(--on-dark-muted); }

/* ---------- Szene: Ein Tag ---------- */
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.seg__btn { position: relative; z-index: 1; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; font: 700 14px/1.2 var(--font); color: var(--muted); cursor: pointer; transition: color .35s; white-space: nowrap; }
.seg__btn.is-active { color: var(--white); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--petrol); transition: transform .55s var(--ease); }
.seg[data-mode="mit"] .seg__thumb { transform: translateX(100%); }
.day { padding: 30px 30px 24px; border-radius: 30px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.day__lanes { position: relative; display: grid; gap: 12px; }
.lane { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 16px; }
.lane__label { font: 700 14px/1.2 var(--font); }
.lane__track { position: relative; height: 64px; border-radius: 18px; background: var(--surface); overflow: hidden; }
.focus { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 18px; background: repeating-linear-gradient(90deg, var(--pist-soft) 0 22%, transparent 22% 24%, var(--pist-soft) 24% 47%, transparent 47% 49%, var(--pist-soft) 49% 74%, transparent 74% 76%, var(--pist-soft) 76% 100%); opacity: 0; transition: opacity .8s var(--ease) .5s; }
.focus::before { content: "Fokuszeit"; font: 800 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.day[data-mode="mit"] .focus { opacity: 1; }
.day__dots { position: absolute; top: 0; bottom: 0; left: 116px; right: 0; pointer-events: none; }
.dot { position: absolute; top: calc(32px + var(--oy, 0px)); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--surface); transition: transform .9s var(--ease) var(--d, 0s), background-color .5s var(--d, 0s), box-shadow .5s; }
.day[data-mode="mit"] .dot { transform: translateY(76px); background: var(--petrol); box-shadow: 0 0 0 3px var(--surface); }
.day[data-mode="mit"] .dot.fach { transform: translateY(0) scale(1.15); background: var(--white); box-shadow: 0 0 0 3px var(--pist-600); }
.day__axis { display: flex; justify-content: space-between; margin: 12px 0 0 116px; font: 600 12px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.day__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.day__stats p { margin: 0; }
.stat__n { font: 800 44px/1 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 6px !important; font: 500 14px/1.4 var(--font); color: var(--muted); }
.day__note { margin: 16px 0 0; font: 400 12.5px/1.5 var(--font); color: var(--muted); }

/* ---------- Sticky-Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .3; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step__n { margin: 0 0 14px; font: 800 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.step .text { max-width: 440px; }
.step__visual-m { display: none; }
.story__sticky { position: sticky; top: calc(50vh - 250px); height: 500px; align-self: start; }
.screen { position: relative; height: 500px; display: flex; flex-direction: column; overflow: hidden; border-radius: 30px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.screen__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.screen__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.screen__bar p { margin: 0 0 0 auto; font: 700 12px/1 var(--font); color: var(--muted); }
.screen__body { position: relative; flex: 1; }
.state { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px 32px 44px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.screen[data-step="1"] .state--1, .screen[data-step="2"] .state--2, .screen[data-step="3"] .state--3 { opacity: 1; transform: none; }
.screen__dots { position: absolute; left: 50%; bottom: 18px; display: flex; gap: 6px; transform: translateX(-50%); }
.screen__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .4s var(--ease), background-color .4s; }
.screen[data-step="1"] .screen__dots i:nth-child(1), .screen[data-step="2"] .screen__dots i:nth-child(2), .screen[data-step="3"] .screen__dots i:nth-child(3) { width: 22px; background: var(--petrol); }
.lookup, .chat, .notes { width: 100%; max-width: 400px; }
.lookup__num { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font: 800 22px/1 var(--font); letter-spacing: -.02em; }
.lookup__num svg { width: 20px; height: 20px; color: var(--petrol); }
.lookup__scan { position: relative; height: 2px; margin: 20px 0; overflow: hidden; border-radius: 2px; background: var(--line); }
.lookup__scan span { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: var(--petrol); animation: scan 1.8s var(--ease) infinite; }
.record { padding: 18px 20px 8px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.record__head, .notes__head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 700 13px/1 var(--font); color: var(--muted); }
.tagd { padding: 4px 7px; border-radius: 6px; background: var(--petrol); color: var(--white); font: 800 10.5px/1 var(--font); letter-spacing: .06em; }
.record dl { margin: 0; }
.record dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.record dl > div:first-child { border-top: 0; }
.record dt { font: 500 14px/1.3 var(--font); color: var(--muted); }
.record dd { margin: 0; font: 800 14px/1.3 var(--font); }
.pill-st { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--pist-soft); color: var(--petrol-deep); font: 800 12px/1 var(--font); }
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { align-self: flex-start; max-width: 86%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--surface); font: 500 15px/1.45 var(--font); }
.bubble--ai { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--petrol); color: var(--white); }
.note { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.note strong { font: 800 15px/1.3 var(--font); }
.note span { font: 400 13px/1.4 var(--font); color: var(--muted); }
.note--new { position: relative; background: var(--pist-soft); box-shadow: inset 0 0 0 1.5px var(--pist-600); }
.note__new { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: var(--petrol); color: var(--white) !important; font: 800 11px/1 var(--font) !important; }
/* gestaffelte Einblendung innerhalb der Zustände */
.state .record dl > div, .state .bubble, .state .note { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.screen[data-step="1"] .state--1 .record dl > div, .screen[data-step="2"] .state--2 .bubble, .screen[data-step="3"] .state--3 .note, .state.is-static .record dl > div, .state.is-static .bubble, .state.is-static .note { opacity: 1; transform: none; }
.state > * > *:nth-child(2), .record dl > div:nth-child(2) { transition-delay: .15s; }
.state > * > *:nth-child(3), .record dl > div:nth-child(3) { transition-delay: .3s; }
.state > * > *:nth-child(4), .record dl > div:nth-child(4) { transition-delay: .45s; }

/* ---------- Gründer ---------- */
.founders { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.photo { aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: 34px; background: var(--mint); color: var(--petrol); font: 800 17px/1.5 var(--font); text-align: center; }
.photo em { font: 500 14px/1.5 var(--font); font-style: normal; color: var(--muted); }
.sig { margin: 30px 0 2px; font: italic 400 42px/1.1 var(--sig); }
.sig__role { margin: 0; font: 500 14px/1.4 var(--font); color: var(--muted); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.promise { padding: 18px; border-radius: 20px; background: var(--surface); }
.promise strong { display: block; font: 800 17px/1.3 var(--font); letter-spacing: -.01em; }
.promise span { display: block; margin-top: 4px; font: 400 14px/1.45 var(--font); color: var(--muted); }

/* ---------- Einführung ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps__line { position: absolute; top: 24px; left: 24px; right: calc(33.333% - 45.33px); height: 2px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-in .steps__line span { transform: scaleX(1); }
.sstep__n { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); font: 800 16px/1 var(--font); color: var(--petrol); transition: box-shadow .4s, background-color .4s, color .4s; }
.steps.is-in .sstep__n { box-shadow: inset 0 0 0 2px var(--petrol); }
.steps.is-in .sstep:nth-child(3) .sstep__n { transition-delay: .7s; }
.steps.is-in .sstep:nth-child(4) .sstep__n { transition-delay: 1.4s; background: var(--petrol); color: var(--white); }
.sstep .text { max-width: 330px; }
.sstep__t { margin: 14px 0 0; font: 700 13px/1 var(--font); color: var(--petrol); }

/* ---------- Datenschutz ---------- */
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dcard { padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .4s var(--ease), background-color .3s; }
.dcard:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.js .dcard.reveal.is-in:hover { transform: translateY(-4px); }
.dcard__k { font: 700 12px/1.4 var(--font); letter-spacing: .04em; color: var(--pist); }
.dcard .title { margin: 16px 0 8px; color: var(--white); }
.dcard p { margin: 0; font: 400 15px/1.55 var(--font); color: var(--on-dark-muted); }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ---------- Pilot & Rechner ---------- */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pcard, .calc { padding: 36px; border-radius: 32px; }
.pcard { display: flex; flex-direction: column; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pcard__tag { align-self: flex-start; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; background: var(--pist); color: var(--petrol-deep); font: 800 13px/1 var(--font); }
.checks { margin: 18px 0; padding: 0; list-style: none; }
.checks li { position: relative; margin: 12px 0; padding-left: 34px; font: 600 16px/1.45 var(--font); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--petrol); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pcard__ask { margin: 0; font: 400 15px/1.55 var(--font); color: var(--muted); }
.pcard__ask strong { color: var(--ink); }
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); }
.pcard__price span { font: 600 14px/1 var(--font); color: var(--muted); }
.pcard__price strong { font: 800 38px/1 var(--font); letter-spacing: -.045em; }
.pcard__price em { font: 500 14px/1.4 var(--font); font-style: normal; color: var(--muted); }
.calc { background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.range { display: block; margin: 20px 0; }
.range > span { display: flex; justify-content: space-between; gap: 12px; font: 600 15px/1.3 var(--font); }
.range b { color: var(--petrol); font-variant-numeric: tabular-nums; }
.range input { --p: 50%; width: 100%; height: 6px; margin: 14px 0 0; border-radius: 3px; background: linear-gradient(90deg, var(--petrol) var(--p), var(--line) var(--p)); -webkit-appearance: none; appearance: none; cursor: pointer; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--petrol), 0 4px 10px rgba(7, 52, 58, .2); transition: transform .2s; }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 2px solid var(--petrol); border-radius: 50%; background: var(--white); box-shadow: 0 4px 10px rgba(7, 52, 58, .2); }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.calc__out > div { padding: 20px; border-radius: 22px; background: var(--petrol-deep); color: var(--white); }
.calc__out p { margin: 0; }
.calc__n { font: 800 36px/1 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc__l { margin-top: 8px !important; font: 500 13px/1.4 var(--font); color: var(--on-dark-muted); }
.calc__note { margin: 16px 0 0; font: 400 12.5px/1.5 var(--font); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.acc__item { border-bottom: 1px solid #dbe3df; }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; border: 0; background: none; font: 700 19px/1.35 var(--font); letter-spacing: -.01em; color: var(--ink); text-align: left; cursor: pointer; }
.acc__i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, transform .45s var(--ease); }
.acc__i::before, .acc__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--petrol); transform: translate(-50%, -50%); transition: opacity .3s, background-color .3s; }
.acc__i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__i { background: var(--petrol); transform: rotate(180deg); }
.acc__item.is-open .acc__i::before { background: var(--white); }
.acc__item.is-open .acc__i::after { opacity: 0; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a p { margin: 0 0 26px; max-width: 640px; font: 400 17px/1.6 var(--font); color: var(--muted); }

/* ---------- Abschluss-CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(104px, 13vw, 176px); background: var(--petrol-deep); color: var(--white); text-align: center; }
.cta__inner { position: relative; }
.cta__orb { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; pointer-events: none; }
.cta__orb span { position: absolute; left: -330px; top: -330px; width: 660px; height: 660px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(200, 221, 138, .22); animation: orb 7.5s ease-out infinite; }
.cta__orb span:nth-child(2) { animation-delay: -2.5s; }
.cta__orb span:nth-child(3) { animation-delay: -5s; }
.cta__title { position: relative; max-width: 900px; margin: 0 auto; font: 800 clamp(36px, 5.6vw, 76px)/1.02 var(--font); letter-spacing: -.048em; text-wrap: balance; }
.cta__sub { position: relative; margin: 22px auto 0; font: 400 clamp(17px, 1.5vw, 20px)/1.55 var(--font); color: var(--on-dark-muted); }
.callme--dark { position: relative; }
.callme--dark .callme__error { color: #ffb8ab; }
.callme--dark .callme__done { background: rgba(255, 255, 255, .1); color: var(--white); }
.callme--dark .ring { background: var(--pist); color: var(--petrol-deep); }
.callme--dark .ring::before, .callme--dark .ring::after { border-color: var(--pist); }
.cta__alt { position: relative; margin: 22px 0 0; font: 500 15px/1.5 var(--font); color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.footer { padding-block: 32px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer p { margin: 0; font: 500 14px/1.4 var(--font); color: var(--muted); }
.footer nav { display: flex; gap: 22px; }
.footer nav a { font: 500 14px/1.4 var(--font); color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* ---------- Conversion-Elemente ---------- */
.callme__hint { margin: 12px 0 0; font: 600 13px/1.4 var(--font); color: var(--muted); text-align: center; }
.callme.is-done .callme__hint { display: none; }
.callme--dark .callme__hint { color: var(--on-dark-muted); }
.callme.is-hint .callme__field { animation: hint .9s var(--ease); }
.player__alt { margin: 4px 4px 0; font: 500 14px/1.5 var(--font); color: var(--muted); }
.player__alt strong { color: var(--ink); }
.pilot__steps { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.pilot__steps > .eyebrow { margin-bottom: 10px; }
.pilot__steps > .text { margin-bottom: 36px; }
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 -1px 0 rgba(14, 28, 31, .08); transform: translateY(110%); transition: transform .45s var(--ease); }
.mcta .btn { width: 100%; }
.mcta.is-show { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -9px; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes ripple { from { transform: scale(1); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
@keyframes orb { from { transform: scale(.35); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes hint { 35% { transform: scale(1.025); } }

/* ---------- Responsiv ---------- */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .dgrid { grid-template-columns: 1fr 1fr; }
  .pilot, .faq, .founders { grid-template-columns: 1fr; }
  .founders__photo { max-width: 420px; }
}
@media (max-width: 900px) {
  .player { grid-template-columns: 1fr; }
  .mcta { display: block; }
  .story { grid-template-columns: 1fr; }
  .story__sticky { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 28px; }
  .step__visual-m { display: block; position: relative; height: 380px; margin-top: 24px; overflow: hidden; border-radius: 26px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
  .step__visual-m .state { opacity: 1; transform: none; padding: 24px; }
}
@media (max-width: 640px) {
  .wrap, .nav__inner { padding-inline: 20px; }
  .hero__title { font-size: clamp(38px, 10.5vw, 56px); }
  .stage { height: 560px; margin-top: 8px; }
  .float-card { width: 214px; padding: 13px; }
  .float-card--left { top: 42%; left: 0; }
  .float-card--right { top: auto; bottom: 8%; right: 0; }
  .dot { top: calc(32px + var(--oy, 0px) * .7); }
  .callme__field { flex-wrap: wrap; border-radius: 28px; padding: 10px 10px 10px 20px; }
  .callme__input { flex: 1 1 140px; padding-block: 8px; }
  .callme__field .btn { flex: 1 1 100%; }
  .lane { grid-template-columns: 70px 1fr; gap: 10px; }
  .lane__label { font-size: 12px; }
  .day { padding: 20px 16px 18px; }
  .day__dots { left: 80px; }
  .day__axis { margin-left: 80px; font-size: 11px; }
  .day__axis span:nth-child(even) { visibility: hidden; }
  .stat__n { font-size: 32px; }
  .stat__l { font-size: 12.5px; }
  .dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { display: none; }
  .dgrid, .promises, .calc__out { grid-template-columns: 1fr; }
  .pcard, .calc { padding: 26px; }
  .lines li { grid-template-columns: 1fr; gap: 2px; }
  .head--split { align-items: flex-start; }
  .proto-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .tile.reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__title .line > span { transform: none; transition: none; }
  .float-card, .cta__orb span, .lookup__scan span, .ring svg, .ring::before, .ring::after, .call__state.is-ringing, .callme.is-hint .callme__field { animation: none; }
  .mcta { transition: none; }
  .dot, .seg__thumb, .steps__line span, .state, .acc__a { transition: none; }
}
