/* Coach – Landingpage. Tokens 1:1 aus der App (src/constants/theme.ts). */
@font-face {
  font-family: "InterVar";
  src: url("/assets/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0a0e;
  --accent: #f5d9c2;
  --accent-deep: #c98d6b;
  --on-accent: #0b1024;
  --t92: rgba(255,255,255,.92);
  --t80: rgba(255,255,255,.8);
  --t70: rgba(255,255,255,.7);
  --t60: rgba(255,255,255,.6);
  --t50: rgba(255,255,255,.5);
  --t40: rgba(255,255,255,.4);
  --s07: rgba(255,255,255,.07);
  --s09: rgba(255,255,255,.09);
  --s12: rgba(255,255,255,.12);
  --b10: rgba(255,255,255,.1);
  --b14: rgba(255,255,255,.14);
  --danger: #e5806b;
  --positive: #8fd9a8;
  --pause: #b9c3e3;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", InterVar, "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: rgba(245,217,194,.3); }

/* ---------- Himmel ---------- */
.skies { position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; }
.sky { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky-night { opacity: 1; background: radial-gradient(120% 70% at 50% 108%, #2a2236 0%, #11121c 45%, #07080d 75%); }
.sky-nut   { background: linear-gradient(180deg, #0b1024 0%, #1a2445 42%, #3c4a76 72%, #8a7d92 90%, #d9b49a 100%); }
.sky-coach { background: linear-gradient(180deg, #05070f 0%, #0b1024 55%, #1c2340 85%, #4a4460 97%, #8a6b5c 100%); }
.sky-train { background: linear-gradient(180deg, #0a0a0e 0%, #17171f 45%, #2e2e3c 78%, #585866 94%, #8e8e98 100%); }
.grain {
  position: absolute; inset: -50%;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, env(safe-area-inset-left)) 14px max(20px, env(safe-area-inset-right));
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8,8,12,.92), rgba(8,8,12,.6) 60%, rgba(8,8,12,0)); opacity: 0; transition: opacity .5s; }
.nav.solid::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--on-accent);
  box-shadow: 0 6px 20px rgba(245,217,194,.18);
}
.brand-mark svg { width: 15px; height: 15px; }
.nav-seg {
  position: absolute; left: 50%; top: 12px; transform: translate(-50%, -8px);
  display: flex; gap: 0; padding: 4px; border-radius: 100px;
  background: rgba(20,20,28,.55);
  border: 1px solid var(--b14);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.nav.seg-on .nav-seg { opacity: 1; transform: translate(-50%, 0); }
.nav-s {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 9px; border-radius: 100px;
  color: var(--t50); transition: background .5s var(--ease), color .4s, padding .5s var(--ease);
}
.nav-s.on { background: var(--s12); color: #fff; padding: 0 16px 0 9px; }
.nav-ic { width: 20px; height: 20px; display: grid; place-items: center; flex: none; }
.nav-ic svg { width: 19px; height: 19px; }
.nav-ic-coach { border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--on-accent); width: 22px; height: 22px; }
.nav-ic-coach svg { width: 12px; height: 12px; }
.nav-l { font-size: 15px; font-weight: 600; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .55s var(--ease), opacity .35s; }
.nav-s.on .nav-l { max-width: 110px; opacity: 1; }
.nav-s.pulse .nav-ic { animation: navPulse .9s var(--ease); }
@keyframes navPulse { 0% { transform: scale(1); } 30% { transform: scale(1.35); color: var(--accent); } 100% { transform: scale(1); } }
.nav-cta {
  font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 100px;
  background: rgba(245,217,194,.1); border: 1px solid rgba(245,217,194,.28); color: var(--accent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background .3s, transform .3s var(--ease);
}
.nav-cta:hover { background: rgba(245,217,194,.18); }

/* ---------- Story / Bühne ---------- */
.story { position: relative; height: calc(var(--units, 20.4) * 100vh + 100vh); height: calc(var(--units, 20.4) * 100svh + 100svh); }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; overflow: clip; }
.svh-probe { position: absolute; left: 0; top: 0; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }

.glow {
  position: absolute; left: 50%; top: 50%; top: 50svh; width: 1100px; height: 1100px; margin: -550px 0 0 -550px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,217,194,.30), rgba(201,141,107,.12) 45%, transparent 72%);
  opacity: 0; will-change: transform, opacity; pointer-events: none;
}

/* Hero */
.hero {
  position: absolute; left: 0; right: 0; top: 0; padding: 0 24px;
  text-align: center; will-change: transform, opacity;
}
.hero-eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); overflow: hidden; }
.hero-eyebrow span, .hero-sub span { display: inline-block; }
.hero-h1 {
  margin: 0; font-weight: 700; letter-spacing: -.055em; line-height: .92;
  font-size: clamp(64px, 12.5vw, 196px);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .22em;
}
.hw { display: inline-block; overflow: hidden; padding: .04em .02em .1em; margin-bottom: -.1em; }
.hw > span { display: inline-block; will-change: transform; }
.hw-accent > span, .grad {
  background: linear-gradient(100deg, #fff 0%, var(--accent) 35%, var(--accent-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 26px auto 0; max-width: 620px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--t70); }
.intro .hero-eyebrow span, .intro .hw > span, .intro .hero-sub span { transform: translateY(110%); opacity: 0; }
.hero-eyebrow span, .hw > span, .hero-sub span { transition: transform 1.3s var(--ease), opacity 1.1s var(--ease); }
.hw:nth-child(1) > span { transition-delay: .12s; }
.hw:nth-child(2) > span { transition-delay: .24s; }
.hw:nth-child(3) > span { transition-delay: .36s; }
.hero-sub span { transition-delay: .55s; }
.phone { transition: opacity 1.6s var(--ease) .35s, transform 1.8s var(--ease) .35s; }
.intro .phone { opacity: 0; transform: translateY(120px); }
.glow { transition: none; }

.scrollhint { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(255,255,255,.14); overflow: hidden; }
.scrollhint span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { to { top: 110%; } }

/* Kapitel-Texte */
.caps { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.cap {
  position: absolute; left: max(6vw, 32px); top: 50%; width: min(36vw, 520px);
  transform: translateY(-50%); visibility: hidden;
}
.cap.vis { visibility: visible; }
.cap-eye { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cap h2 { margin: 0; font-size: clamp(40px, 5.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.cap .l { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.cap .l > span { display: inline-block; will-change: transform; }
.cap-p { margin: 22px 0 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--t70); max-width: 440px; }
.cap-center { left: 0; right: 0; width: auto; top: 13%; transform: none; text-align: center; }
.cap-center h2 { font-size: clamp(30px, 3.4vw, 52px); }

/* Freischwebende Karte */
.float-card {
  position: absolute; left: 0; top: 0; width: 290px; padding: 18px 18px 14px; border-radius: 22px;
  background: rgba(22,26,46,.66);
  border: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  opacity: 0; will-change: transform, opacity; pointer-events: none; z-index: 6;
}
.fc-label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fc-label svg { width: 13px; height: 13px; }
.float-card ul { list-style: none; margin: 0; padding: 0; }
.float-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; color: var(--t80); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.float-card li b { font-family: var(--mono); font-weight: 600; font-size: 14px; color: #fff; }
.float-card.on li { opacity: 1; transform: none; }
.float-card.on li:nth-child(2) { transition-delay: .08s; }
.float-card.on li:nth-child(3) { transition-delay: .16s; }
.float-card.on li:nth-child(4) { transition-delay: .24s; }

/* Große Zahl */
.bignum {
  position: absolute; left: 50%; top: 50%; top: 50svh; width: 900px; margin-left: -450px; text-align: center;
  opacity: 0; pointer-events: none; will-change: transform, opacity; z-index: 4;
  transform-origin: 50% 0;
}
.bn-num { font-size: 300px; line-height: .86; font-weight: 200; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bn-label { margin-top: 10px; font-size: 28px; letter-spacing: .08em; color: var(--t70); }
.bn-macros { display: flex; gap: 28px; justify-content: center; margin-top: 46px; }
.bn-m { width: 220px; text-align: left; }
.bn-ml { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--t60); }
.bn-mv { display: block; margin: 6px 0 10px; font-family: var(--mono); font-size: 22px; color: var(--t60); }
.bn-mv b { color: #fff; }
.bn-m i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.bn-m em { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ================= Telefon ================= */
.rig { z-index: 3; position: absolute; left: 50%; top: 50%; top: 50svh; width: 426px; height: 898px; margin: -449px 0 0 -213px; perspective: 2200px; will-change: transform; transform-origin: 50% 50%; }
.phone {
  position: absolute; inset: 0; border-radius: 70px; padding: 12px;
  background:
    linear-gradient(145deg, #5d5d66 0%, #2a2a31 18%, #18181d 50%, #33333b 82%, #6a6a73 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.16),
    inset 0 0 0 4px #0c0c0f,
    0 1px 0 rgba(255,255,255,.08);
  transform-style: preserve-3d;
  will-change: transform;
}
.btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2b2b31, #55555d); }
.btn-a { left: -3px; top: 168px; height: 32px; }
.btn-b { left: -3px; top: 222px; height: 60px; }
.btn-c { left: -3px; top: 296px; height: 60px; }
.btn-d { right: -3px; top: 250px; height: 96px; background: linear-gradient(270deg, #2b2b31, #55555d); }
.phone-shadow {
  position: absolute; left: 8%; right: 8%; bottom: -40px; height: 80px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(10px); z-index: -1;
}
.screen {
  position: relative; width: 402px; height: 874px; border-radius: 58px; overflow: hidden;
  background: #0b1024; isolation: isolate;
  font-family: var(--font); font-size: 15px; line-height: 1.35; color: #fff;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: Ecken beim 3D-Transform */
}
.psky { position: absolute; inset: 0; opacity: 0; }
.psky-nut { opacity: 1; background: linear-gradient(180deg, #0b1024 0%, #1a2445 42%, #3c4a76 72%, #8a7d92 90%, #d9b49a 100%); }
.psky-coach { background: linear-gradient(180deg, #05070f 0%, #0b1024 55%, #1c2340 85%, #4a4460 97%, #8a6b5c 100%); }
.psky-train { background: linear-gradient(180deg, #0a0a0e 0%, #17171f 45%, #2e2e3c 78%, #585866 94%, #8e8e98 100%); }
.dim { position: absolute; inset: 0; background: #05060b; opacity: 0; pointer-events: none; z-index: 46; }
.glare { position: absolute; inset: 0; z-index: 45; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.03) 100%); }

.island { position: absolute; z-index: 44; left: 50%; top: 11px; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; }
.statusbar { position: absolute; z-index: 43; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 52px; }
.statusbar b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.sb-r { display: flex; align-items: center; gap: 7px; }
.sb-r svg { width: 18px; height: 18px; }
.sig { display: flex; align-items: flex-end; gap: 1.5px; height: 12px; }
.sig i { width: 3px; border-radius: 1px; background: #fff; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6.5px; } .sig i:nth-child(3) { height: 9px; } .sig i:nth-child(4) { height: 11.5px; }
.bat { position: relative; width: 26px; height: 12.5px; border-radius: 4px; border: 1.2px solid rgba(255,255,255,.45); padding: 1.5px; }
.bat i { display: block; height: 100%; width: 78%; border-radius: 2px; background: #fff; }
.bat::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255,255,255,.45); }

/* App-Kopf */
.apptop { position: absolute; z-index: 30; left: 0; right: 0; top: 66px; height: 44px; transition: opacity .4s var(--ease); }
.aseg {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 44px; padding: 4px; display: flex; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
.as { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 100px; color: rgba(255,255,255,.55); transition: background .5s var(--ease), padding .5s var(--ease), color .4s; }
.as-ic { width: 20px; height: 20px; display: grid; place-items: center; flex: none; }
.as-ic svg { width: 19px; height: 19px; }
.as-ic-coach { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--on-accent); margin: 0 -3px; }
.as-ic-coach svg { width: 13px; height: 13px; }
.as-l { font-size: 16px; font-weight: 600; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .55s var(--ease), opacity .3s; }
.as.on { background: rgba(255,255,255,.12); color: #fff; padding: 0 16px 0 12px; }
.as.on .as-l { max-width: 100px; opacity: 1; }
.as.land .as-ic { animation: land .8s var(--spring); }
.as.land { color: var(--accent); }
@keyframes land { 0% { transform: scale(1); } 35% { transform: scale(1.45) translateY(-2px); } 100% { transform: scale(1); } }
.avatar { position: absolute; right: 16px; top: 4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }

/* Screens */
.scr { position: absolute; inset: 0; z-index: 10; }
.scr-cam, .scr-coach, .scr-train, .scr-lock { opacity: 0; visibility: hidden; }

/* -- Ernährung -- */
.week { position: absolute; left: 12px; right: 12px; top: 128px; display: flex; justify-content: space-between; }
.wd { position: relative; width: 46px; text-align: center; }
.wd .ring { width: 44px; height: 44px; margin: 0 auto; transform: rotate(-90deg); }
.ring .rt, .wg svg .rt, .lw-rings .rt, .rest-ring .rt { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 3; }
.ring .rp, .wg svg .rp, .lw-rings .rp, .rest-ring .rp {
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 100 200; stroke-dashoffset: calc(100 - var(--p) * 100);
}
.wd b { position: absolute; left: 0; right: 0; top: 11px; font-family: var(--mono); font-size: 16px; font-weight: 700; }
.wd i { display: block; margin-top: 7px; font-style: normal; font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.wd-today i { display: inline-block; padding: 2px 8px; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-weight: 800; letter-spacing: .12em; margin-top: 6px; font-size: 10px; }
.wd-fut b, .wd-fut i { color: rgba(255,255,255,.3); }
.wd-fut .rt { stroke: rgba(255,255,255,.08); }
.chev { position: absolute; left: 50%; top: 202px; width: 18px; height: 18px; margin-left: -9px; color: rgba(255,255,255,.45); }

.khero { position: absolute; left: 0; right: 0; top: 222px; text-align: center; }
.knum { font-size: 84px; line-height: 1; font-weight: 200; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.klabel { margin-top: 6px; font-size: 16px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.kline { position: relative; width: 288px; height: 2px; margin: 18px auto 0; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.kline span { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.22); }

.macros { position: absolute; left: 16px; right: 16px; top: 362px; display: flex; justify-content: space-around; text-align: center; }
.mc span { display: block; font-size: 10px; letter-spacing: .22em; color: rgba(245,217,194,.75); }
.mc b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 17px; font-weight: 700; color: rgba(255,255,255,.55); }
.mc b em { font-style: normal; color: #fff; }
.mc b i { font-style: normal; margin: 0 2px; }

.meals { position: absolute; left: 16px; right: 16px; top: 418px; }
.msec { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 8px; font-size: 11px; font-weight: 800; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.msec span:last-child { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.msec-dim { opacity: .55; padding-top: 4px; }
.mcard {
  position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; margin-bottom: 14px;
  border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); overflow: hidden;
}
.memo { font-size: 20px; line-height: 22px; flex: none; }
.mtx { flex: 1; min-width: 0; position: relative; }
.mtx b { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtx small { display: block; margin-top: 3px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.mcard time { font-size: 12.5px; color: rgba(255,255,255,.5); flex: none; padding-top: 2px; }
.mthumb { position: absolute; left: 12px; top: 12px; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mthumb img { width: 100%; height: 100%; object-fit: cover; }
.mcard-ai .memo { transition: opacity .5s var(--ease), transform .6s var(--spring); }
#cardBowl .memo { opacity: 0; transform: scale(.4); }
#cardBowl { padding-left: 64px; transition: padding .6s var(--ease); }
#cardBowl.ready { padding-left: 16px; }
#cardBowl.ready .mthumb { opacity: 0; transform: scale(.6); }
#cardBowl.ready .memo { opacity: 1; transform: none; }
.mt-done, .ms-done { position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mt-done { top: 0; } .ms-done { top: 21px; }
.mt-pend, .ms-pend { transition: opacity .35s; }
.mt-pend { color: rgba(255,255,255,.7); }
.ms-pend { display: flex !important; gap: 6px; height: 16px; align-items: center; }
.ms-pend i { width: 46px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.12); }
.ms-pend i:nth-child(2) { width: 70px; } .ms-pend i:nth-child(3) { width: 34px; }
.mcard-ai.ready .mt-pend, .mcard-ai.ready .ms-pend { opacity: 0; }
.mcard-ai.ready .mt-done, .mcard-ai.ready .ms-done { opacity: 1; transform: none; }
.shimmer { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.09) 45%, transparent 70%); background-size: 250% 100%; animation: shim 1.6s linear infinite; transition: opacity .4s; }
.mcard-ai.ready .shimmer { opacity: 0; animation: none; }
@keyframes shim { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.mcard-ai.flash-ok { box-shadow: 0 0 0 1px rgba(245,217,194,.45), 0 0 30px rgba(245,217,194,.15); transition: box-shadow .8s var(--ease); }
#snackSub { transition: color .4s; }

.grow { height: 0; overflow: hidden; }
.grow-in { }

/* Tracking-Leiste */
.tbar {
  position: absolute; left: 16px; right: 16px; bottom: 36px; height: 50px; border-radius: 25px;
  background: rgba(58,64,92,.72); border: 1px solid rgba(255,255,255,.14);
  overflow: hidden; z-index: 5;
}
.tbar > div { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 16px; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.tb-ic { width: 23px; height: 23px; color: rgba(255,255,255,.8); flex: none; }
.tb-ph { flex: 1; font-size: 16px; color: rgba(255,255,255,.55); }
.tb-idle .tb-ic:last-child { margin-right: 8px; }
.tb-photo, .tb-rec { opacity: 0; transform: translateY(14px); }
.tbar.photo .tb-idle, .tbar.rec .tb-idle { opacity: 0; transform: translateY(-14px); }
.tbar.photo .tb-photo, .tbar.rec .tb-rec { opacity: 1; transform: none; }
.tb-photo { padding-left: 6px !important; }
.tb-thumb { width: 38px; height: 38px; border-radius: 19px; overflow: hidden; flex: none; }
.tb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tb-txt { flex: 1; font-size: 16px; white-space: nowrap; overflow: hidden; }
.tb-send { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transition: transform .3s var(--spring); }
.tb-send svg { width: 18px; height: 18px; }
.tb-send.press { transform: scale(.82); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5b4d; box-shadow: 0 0 0 4px rgba(255,91,77,.18); animation: blink 1.2s ease-in-out infinite; flex: none; }
@keyframes blink { 50% { opacity: .35; } }
.rec-t { font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,.75); width: 34px; flex: none; }
.wave { flex: 1; height: 30px; display: flex; align-items: center; gap: 3px; overflow: hidden; }
.wave i { width: 3px; flex: none; border-radius: 2px; background: var(--accent); height: 4px; }

.transcript {
  position: absolute; left: 16px; right: 16px; bottom: 98px; padding: 14px 16px; border-radius: 20px 20px 6px 20px;
  background: rgba(245,217,194,.16); border: 1px solid rgba(245,217,194,.22);
  font-size: 16px; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(.98); transform-origin: 100% 100%;
  z-index: 6;
}
.transcript p { margin: 0; min-height: 22px; }
.transcript p .w { opacity: 0; transition: opacity .25s; }
.transcript p .w.on { opacity: 1; }

/* Verlauf-Sheet */
.scr-nut::after { content: ""; position: absolute; inset: 0; z-index: 15; background: rgba(3,4,10,.55); opacity: var(--bd, 0); pointer-events: none; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; height: 560px; z-index: 20;
  border-radius: 30px 30px 0 0; background: #141a33; border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -20px 60px rgba(0,0,0,.45);
  transform: translateY(105%);
  padding: 10px 16px 0;
}
.grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: 0 auto 14px; }
.sh-title { margin: 0 0 14px; text-align: center; font-weight: 700; font-size: 16px; }
.sh-body { display: flex; flex-direction: column; }
.ub { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.38; margin-bottom: 10px; }
.ub-r { align-self: flex-end; background: rgba(245,217,194,.16); border-bottom-right-radius: 6px; margin-left: auto; }
.est { padding: 13px 15px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; max-width: 92%; transition: opacity .5s; }
.est b { font-size: 17px; margin-right: 8px; }
.est > span { font-family: var(--mono); font-size: 13.5px; color: rgba(255,255,255,.6); }
.est p { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.55); }
.est p em { font-style: normal; color: rgba(245,217,194,.85); }
.est-new { border-color: rgba(245,217,194,.35); background: rgba(245,217,194,.07); }
.delta { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(245,217,194,.18); color: var(--accent) !important; font-family: var(--mono); font-size: 12.5px !important; }
.est.dimmed { opacity: .42; }
.sh-comp {
  position: absolute; left: 16px; right: 16px; bottom: 36px; height: 50px; border-radius: 25px; display: flex; align-items: center; gap: 2px; padding: 0 7px 0 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 16px;
}
.sh-comp #fixTyping { white-space: nowrap; }
.sh-comp .tb-send { margin-left: auto; }
.caret { width: 2px; height: 20px; background: var(--accent); border-radius: 1px; animation: blink 1s steps(1) infinite; }

/* -- Kamera -- */
.scr-cam { background: #000; z-index: 35; }
.vf { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; }
.vf img { position: absolute; left: 50%; top: 46%; width: 920px; height: 920px; margin: -460px 0 0 -460px; object-fit: cover; }
.cam-top { position: absolute; left: 22px; right: 22px; top: 64px; display: flex; justify-content: space-between; z-index: 2; }
.cam-b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.4); }
.cam-b svg { width: 20px; height: 20px; }
.focus { position: absolute; left: 50%; top: 46%; width: 250px; height: 250px; margin: -125px 0 0 -125px; z-index: 2; will-change: transform, opacity; }
.focus i { position: absolute; width: 34px; height: 34px; border: 3px solid var(--accent); }
.focus i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.focus i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.focus i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.focus i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.cam-hint { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); padding: 7px 14px; border-radius: 100px; background: rgba(0,0,0,.45); font-size: 14px; font-weight: 600; z-index: 2; opacity: 0; white-space: nowrap; }
.cam-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 230px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75) 30%); z-index: 2; }
.strip { position: absolute; left: 16px; right: 16px; top: 46px; display: flex; gap: 8px; }
.strip span { width: 58px; height: 58px; border-radius: 12px; flex: none; background: linear-gradient(135deg, hsl(var(--h) 35% 38%), hsl(calc(var(--h) + 30) 30% 20%)); opacity: .85; }
.shutter { position: absolute; left: 50%; bottom: 42px; width: 78px; height: 78px; margin-left: -39px; border-radius: 50%; border: 4px solid #fff; padding: 5px; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .25s var(--spring); }
.shutter.press span { transform: scale(.84); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 5; pointer-events: none; }

/* -- Coach-Chat -- */
.chat { position: absolute; left: 16px; right: 16px; top: 120px; bottom: 106px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60px); mask-image: linear-gradient(180deg, transparent 0, #000 60px); }
.cm { max-width: 84%; padding: 11px 15px; border-radius: 21px; font-size: 16px; line-height: 1.42; margin-top: 10px; }
.cm b { font-weight: 700; }
.cm-c { background: rgba(255,255,255,.09); border-bottom-left-radius: 7px; align-self: flex-start; }
.cm-u { background: rgba(245,217,194,.16); border-bottom-right-radius: 7px; margin-left: auto; }
.grow .cm-c { display: inline-block; }
.cm-old { opacity: .6; }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; margin-top: 10px; border-radius: 21px; border-bottom-left-radius: 7px; background: rgba(255,255,255,.09); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); animation: typ 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.act { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 12px 14px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); max-width: 92%; }
.act-emo { font-size: 26px; line-height: 1; flex: none; }
.act-tx { flex: 1; min-width: 0; }
.act-tx b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-tx small { display: block; margin-top: 2px; font-size: 13.5px; color: rgba(255,255,255,.6); white-space: nowrap; }
.act-btn { position: relative; width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(245,217,194,.55); color: var(--accent); transition: background .4s var(--ease), border-color .4s, transform .35s var(--spring), color .3s; }
.act-btn svg { position: absolute; width: 20px; height: 20px; transition: opacity .3s, transform .45s var(--spring); }
.ab-check { opacity: 0; transform: scale(.3) rotate(-30deg); }
.act.done .act-btn { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.act.done .ab-plus { opacity: 0; transform: scale(.3) rotate(90deg); }
.act.done .ab-check { opacity: 1; transform: none; }
.act.press .act-btn { transform: scale(.82); }
.act.flown .act-emo { opacity: .25; }
.flyer { position: absolute; left: 0; top: 0; z-index: 38; font-size: 26px; line-height: 1; opacity: 0; pointer-events: none; will-change: transform, opacity; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.ccomp {
  position: absolute; left: 16px; right: 16px; bottom: 36px; height: 50px; border-radius: 25px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: rgba(40,44,66,.8); border: 1px solid rgba(255,255,255,.13);
}
.cc-ph { flex: 1; font-size: 16px; color: rgba(255,255,255,.5); }
.cc-tx { display: none; flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; justify-content: flex-end; }
.ccomp.typing-on .cc-ph { display: none; }
.ccomp.typing-on .cc-tx { display: flex; }

/* -- Training -- */
.tr { position: absolute; inset: 0; padding: 120px 16px 0; }
.tr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.tr-head > div { flex: 1; }
.tr-head b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.tr-head small { font-size: 13.5px; color: rgba(255,255,255,.55); }
.chip-t { font-family: var(--mono); font-size: 14px; padding: 6px 10px; border-radius: 100px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.8); }
.tr-done { font-size: 15px; font-weight: 700; padding: 8px 16px; border-radius: 100px; background: var(--accent); color: var(--on-accent); transition: transform .3s var(--spring); }
.tr-done.press { transform: scale(.88); }
.ex { position: relative; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.ex-h b { display: block; font-size: 19px; font-weight: 700; }
.ex-h span { font-size: 13.5px; color: rgba(255,255,255,.55); }
.ex-chips { display: flex; gap: 6px; margin: 10px 0 14px; }
.ex-chips span { font-size: 12px; padding: 3px 9px; border-radius: 100px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.ex-chips span:first-child { background: rgba(245,217,194,.14); color: var(--accent); }
.sets { display: flex; flex-direction: column; gap: 6px; }
.sh, .sr { display: grid; grid-template-columns: 44px 1fr 56px 56px 40px; align-items: center; text-align: center; }
.sh { font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.45); padding-bottom: 2px; }
.sh span:nth-child(2) { text-align: left; }
.sr { height: 46px; border-radius: 14px; transition: background .5s var(--ease); }
.sn { position: relative; font-family: var(--mono); font-weight: 700; font-size: 15px; color: rgba(255,255,255,.6); }
.sl { text-align: left; font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,.45); }
.sv { font-family: var(--mono); font-size: 17px; font-weight: 700; margin: 0 4px; height: 34px; line-height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); transition: background .4s, color .4s; }
.sc { width: 32px; height: 32px; margin: 0 auto; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: transparent; transition: background .4s var(--ease), color .3s, transform .4s var(--spring); }
.sc svg { width: 18px; height: 18px; }
.sr-done { background: rgba(245,217,194,.09); }
.sr-done .sv { background: transparent; }
.sr-done .sc { background: var(--accent); color: var(--on-accent); }
.sr-done .sn { color: var(--accent); }
#set3.pop .sc { animation: pop .5s var(--spring); }
@keyframes pop { 40% { transform: scale(1.25); } }
.prflag { position: absolute; right: 0; top: -9px; font-style: normal; font-size: 12px; color: var(--accent); opacity: 0; transform: scale(.3); transition: opacity .4s, transform .5s var(--spring); }
#set3.pr .prflag { opacity: 1; transform: none; }
#set3.pr #set3r { color: var(--accent); }
.pr-toast {
  font-size: 13px !important;
  position: absolute; left: 50%; top: -19px; transform: translate(-50%, 8px) scale(.9); white-space: nowrap; z-index: 2;
  padding: 8px 14px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(201,141,107,.4); opacity: 0; transition: opacity .4s, transform .55s var(--spring);
}
.pr-toast span { margin-right: 4px; }
.pr-toast.on { opacity: 1; transform: translate(-50%, 0); }
.nudge { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(143,217,168,.1); border: 1px solid rgba(143,217,168,.28); font-size: 13.5px; color: rgba(255,255,255,.75); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease); }
.nudge b { color: var(--positive); }
.nudge.on { opacity: 1; transform: none; }
.exc { display: flex; justify-content: space-between; margin-top: 10px; padding: 15px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.exc b { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85); }
.exc span { font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,.45); }
.rest {
  position: absolute; left: 16px; right: 16px; bottom: 36px; height: 72px; padding: 0 12px 0 14px; border-radius: 24px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(20,18,28,.95); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 -10px 40px rgba(0,0,0,.4);
  transform: translateY(130%);
}
.rest-ring { width: 48px; height: 48px; transform: rotate(-90deg); flex: none; }
.rest-tx { flex: 1; }
.rest-tx small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.rest-tx b { font-family: var(--mono); font-size: 26px; font-weight: 700; }
.rest-b { font-family: var(--mono); font-size: 14px; padding: 9px 12px; border-radius: 100px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }

.tsum { position: absolute; inset: 0; padding-top: 138px; text-align: center; opacity: 0; }
.ts-num { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 108px; }
.ts-roll { display: block; height: 108px; overflow: hidden; }
#tsRoll { display: flex; flex-direction: column; transition: transform .9s var(--spring); }
#tsRoll i { font-style: normal; display: block; height: 108px; font-size: 118px; line-height: 108px; font-weight: 200; letter-spacing: -.04em; }
#tsRoll.up { transform: translateY(-108px); }
.ts-of { font-size: 44px; font-weight: 200; color: rgba(255,255,255,.55); padding-bottom: 6px; }
.ts-l { margin: 14px 0 0; font-size: 17px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.ts-line { position: relative; width: 288px; height: 2.5px; margin: 16px auto 0; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.ts-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.333); transition: transform 1s var(--ease); }
.ts-line span.up { transform: scaleX(.667); }
.ts-streak { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.8); }
.dots { display: flex; gap: 7px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
#dot5 { transform: scale(0); transition: transform .6s var(--spring) .35s; }
#dot5.on { transform: scale(1); }
.ts-sec { margin: 34px 0 10px; padding-left: 20px; text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .3em; color: rgba(255,255,255,.55); }
.ts-list { margin: 0 16px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-align: left; }
.ts-list > div { position: relative; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.ts-list > div:first-child { border-top: 0; }
.ts-list b { display: block; font-size: 17px; font-weight: 600; }
.ts-list small { font-size: 13.5px; color: rgba(255,255,255,.55); }
.ts-btn, .ts-ok { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.ts-btn { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.ts-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.ts-ok svg { width: 17px; height: 17px; }

/* -- Sperrbildschirm -- */
.scr-lock { z-index: 36; background: linear-gradient(180deg, #05070f 0%, #0b1024 40%, #1c2340 70%, #4a4460 88%, #8a6b5c 100%); }
.lk-top { position: absolute; left: 0; right: 0; top: 70px; text-align: center; }
.lk-top svg { width: 18px; height: 18px; margin: 0 auto 6px; color: rgba(255,255,255,.75); }
.lk-top p { margin: 0; font-size: 19px; font-weight: 600; color: rgba(255,255,255,.85); }
.lk-top b { display: block; font-size: 108px; line-height: 1; font-weight: 700; letter-spacing: -.03em; margin-top: 2px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.72)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk-widget { position: absolute; left: 60px; right: 60px; top: 268px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 20px; background: rgba(255,255,255,.08); }
.lw-k b { display: block; font-size: 30px; font-weight: 700; line-height: 1; }
.lw-k small { font-size: 12px; color: rgba(255,255,255,.7); }
.lw-rings { flex: 1; display: flex; justify-content: flex-end; gap: 8px; }
.lw-rings > div { position: relative; width: 34px; text-align: center; }
.lw-rings svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.lw-rings .rp { stroke: rgba(255,255,255,.9); }
.lw-rings span { position: absolute; left: 0; right: 0; top: 8px; font-size: 13px; font-weight: 800; }
.lw-rings small { display: block; font-size: 11px; color: rgba(255,255,255,.7); }
.notifs { position: absolute; left: 12px; right: 12px; top: 560px; }
.nt { position: relative; padding: 13px 15px 14px; border-radius: 24px; background: rgba(44,44,60,.86); border: 1px solid rgba(255,255,255,.08); }
.nt-h { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.nt-app { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--on-accent); flex: none; }
.nt-app svg { width: 13px; height: 13px; }
.nt-h b { font-size: 14px; font-weight: 600; flex: 1; }
.nt-h time { font-size: 13px; color: rgba(255,255,255,.55); }
.nt-t { margin: 0; font-size: 15px; font-weight: 700; }
.nt-b { margin: 2px 0 0; font-size: 15px; line-height: 1.36; color: rgba(255,255,255,.88); }
.nt-back { position: absolute; left: 14px; right: 14px; top: 14px; height: 100%; padding: 0; border-radius: 22px; background: rgba(40,40,52,.42); z-index: -1; }
.lk-bottom { position: absolute; left: 46px; right: 46px; bottom: 44px; display: flex; justify-content: space-between; }
.lk-bottom span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.lk-bottom svg { width: 22px; height: 22px; }

/* ================= Sektionen nach der Story ================= */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sec { position: relative; padding: clamp(110px, 16vh, 200px) 0; }
.eye { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.h2 { margin: 0; font-size: clamp(42px, 6.4vw, 104px); line-height: .96; letter-spacing: -.05em; font-weight: 700; }
.lead { margin: 26px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--t70); }
.dim-t { color: rgba(255,255,255,.38); }

.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Check-ins */
.checkins { background: linear-gradient(180deg, rgba(10,10,14,0) 0%, rgba(10,10,14,.6) 30%, rgba(10,10,14,.6) 70%, rgba(10,10,14,0)); }
.ci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ci-rail { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: flex; flex-direction: column; gap: 26px; }
.ci-rail::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, rgba(245,217,194,.45) 10%, rgba(245,217,194,.45) 90%, transparent); transform-origin: 0 0; transform: scaleY(0); transition: transform 2.2s var(--ease) .2s; }
.ci-rail.in::before { transform: scaleY(1); }
.ci { position: relative; }
.ci::before { content: ""; position: absolute; left: -29px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(245,217,194,.14), 0 0 22px rgba(245,217,194,.5); }
.ci-when { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t60); }
.ci-card { padding: 16px 18px; border-radius: 24px; background: rgba(36,36,50,.55); border: 1px solid rgba(255,255,255,.09); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ci-card p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--t92); }
.ci-card .ci-sep { padding-top: 10px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.08); color: var(--t70); }
.ci:nth-child(2) { --d: .12s; } .ci:nth-child(3) { --d: .24s; }

/* Bento */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; padding: 30px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.09);
  min-height: 300px;
}
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, -20%), rgba(245,217,194,.09), transparent 40%); opacity: 0; transition: opacity .4s; }
.tile:hover::after { opacity: 1; }
.tile h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.tile p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--t60); max-width: 420px; }
.t-widgets { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(180deg, #0b1024 0%, #1a2445 50%, #3c4a76 85%, #8a7d92 100%); min-height: 620px; }
.t-off, .t-pause { grid-column: span 2; }
.t-plan { grid-column: span 3; }
.t-bar { grid-column: span 3; }
.t-act { grid-column: span 3; }
.t-rem { grid-column: span 3; }
.tile:nth-child(2) { --d: .08s; } .tile:nth-child(3) { --d: .16s; } .tile:nth-child(5), .tile:nth-child(7) { --d: .1s; }

.hs { position: relative; flex: 1; margin-top: 34px; display: grid; grid-template-columns: 170px 1fr; grid-template-rows: auto 1fr; gap: 22px; align-content: start; }
.wg { border-radius: 26px; background: rgba(18,22,42,.75); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0,0,0,.35); padding: 14px; }
.wg svg { transform: rotate(-90deg); }
.wg .rp { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); }
.tile.in .wg .rp { stroke-dashoffset: calc(100 - var(--p) * 100); }
.wg-s { width: 170px; height: 170px; display: flex; flex-direction: column; gap: 4px; }
.wg-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wg-row svg { width: 28px; height: 28px; flex: none; }
.wg-row span { flex: 1; color: var(--t80); font-weight: 600; }
.wg-row b { font-family: var(--mono); font-size: 12px; }
.wg-k { margin: auto 0 0; font-size: 12px; color: var(--t60); }
.wg-k b { font-size: 17px; color: #fff; margin-right: 2px; }
.wg-m { height: 170px; display: flex; flex-direction: column; justify-content: space-between; max-width: 380px; }
.wgm-top { display: flex; align-items: center; gap: 10px; }
.wgm-r { position: relative; width: 52px; height: 52px; }
.wgm-r svg { width: 52px; height: 52px; }
.wgm-r span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.wgm-top p { margin: 0 0 0 auto; text-align: right; }
.wgm-top p b { display: block; font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.wgm-top p small { font-size: 12px; color: var(--t60); }
.wgm-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 21px; background: rgba(255,255,255,.09); font-size: 14px; color: var(--t50); }
.wgm-bar span { flex: 1; }
.wgm-bar svg { width: 19px; height: 19px; color: var(--t80); }
.apps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; max-width: 560px; }
.apps i { aspect-ratio: 1; border-radius: 26%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06); }

.off-vis { display: flex; align-items: center; gap: 14px; height: 90px; margin-bottom: 18px; }
.off-ic { position: relative; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.off-ic svg { width: 28px; height: 28px; color: var(--t70); }
.off-slash { position: absolute; left: 12px; top: 28px; width: 34px; height: 2.5px; background: var(--danger); border-radius: 2px; transform: rotate(45deg) scaleX(0); transition: transform .5s var(--ease); }
.off-q { display: flex; gap: 8px; }
.off-q i { width: 30px; height: 30px; border-radius: 9px; background: rgba(245,217,194,.14); border: 1px solid rgba(245,217,194,.3); opacity: 0; transform: translateY(10px); }
.t-off.loop .off-slash { animation: slash 4.8s var(--ease) infinite; }
.t-off.loop .off-q i { animation: q 4.8s var(--ease) infinite; }
.t-off.loop .off-q i:nth-child(2) { animation-delay: .25s; } .t-off.loop .off-q i:nth-child(3) { animation-delay: .5s; }
@keyframes slash { 0%, 6% { transform: rotate(45deg) scaleX(0); } 14%, 62% { transform: rotate(45deg) scaleX(1); } 72%, 100% { transform: rotate(45deg) scaleX(0); } }
@keyframes q { 0%, 18% { opacity: 0; transform: translateY(10px); } 26%, 66% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translate(40px, -30px) scale(.4); } }

.pz { display: flex; gap: 8px; height: 90px; align-items: center; margin-bottom: 18px; }
.pz-d { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: none; }
.pz-done { border: 2.5px solid var(--accent); color: var(--accent); }
.pz-sick { border: 2px dashed rgba(185,195,227,.6); color: var(--pause); }
.pz-sick svg { width: 18px; height: 18px; }
.t-pause .pz-d { opacity: 0; transform: scale(.6); transition: opacity .5s, transform .6s var(--spring); }
.t-pause.in .pz-d { opacity: 1; transform: none; }
.t-pause.in .pz-d:nth-child(2) { transition-delay: .08s; } .t-pause.in .pz-d:nth-child(3) { transition-delay: .16s; } .t-pause.in .pz-d:nth-child(4) { transition-delay: .24s; } .t-pause.in .pz-d:nth-child(5) { transition-delay: .32s; } .t-pause.in .pz-d:nth-child(6) { transition-delay: .4s; }

.plan { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.plan small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--t50); }
.plan b { font-size: 44px; font-weight: 200; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan span { margin-left: 4px; font-size: 15px; color: var(--t60); }
.plan-split { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.plan-split span { font-size: 13px; padding: 6px 12px; border-radius: 100px; background: rgba(245,217,194,.1); border: 1px solid rgba(245,217,194,.25); color: var(--accent); }

.bc { position: relative; width: 190px; height: 92px; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: #f4efe9; overflow: hidden; }
.bc-lines { width: 100%; height: 100%; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px, #111 12px 13px, transparent 13px 16px); }
.bc-scan { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: #ff5b4d; box-shadow: 0 0 12px 2px rgba(255,91,77,.7); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-34px); } 50% { transform: translateY(34px); } }

.mini-acts { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.act-mini { max-width: 400px; margin: 0; }
.act-mini .act-emo { font-size: 24px; }

.rems { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; max-width: 400px; }
.rems > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.rems svg { width: 19px; height: 19px; color: var(--accent); }
.rems span { flex: 1; }
.rems time { font-family: var(--mono); font-size: 14px; color: var(--t60); }
.tg { position: relative; width: 44px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.16); transition: background .4s; }
.tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .5s var(--spring); }
.t-rem.in .tg { background: var(--accent); }
.t-rem.in .tg::after { transform: translateX(18px); }
.t-rem.in .rems > div:nth-child(2) .tg, .t-rem.in .rems > div:nth-child(2) .tg::after { transition-delay: .25s; }

/* Datenschutz */
.pv { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pv-i { padding: 28px; border-radius: 26px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
.pv-i svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 22px; }
.pv-i h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.pv-i p { margin: 8px 0 0; color: var(--t60); font-size: 16px; }
.pv-i:nth-child(2) { --d: .1s; } .pv-i:nth-child(3) { --d: .2s; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(140px, 22vh, 260px) 0 clamp(120px, 18vh, 200px); text-align: center; }
.cta-sun { position: absolute; left: 50%; bottom: -60vw; width: 120vw; height: 120vw; margin-left: -60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,180,154,.55), rgba(138,107,92,.35) 40%, rgba(74,68,96,.18) 65%, transparent 80%); transform: translateY(40%); opacity: .4; transition: transform 3.2s var(--ease), opacity 2.4s var(--ease); pointer-events: none; }
.cta.in .cta-sun { transform: none; opacity: 1; }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--on-accent); box-shadow: 0 20px 60px rgba(245,217,194,.25); margin-bottom: 34px; }
.cta-mark svg { width: 34px; height: 34px; }
.cta-h { margin: 0; font-size: clamp(54px, 10vw, 168px); line-height: .92; letter-spacing: -.055em; font-weight: 700; --d: .08s; }
.cta .lead { margin-left: auto; margin-right: auto; --d: .16s; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 100px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px; box-shadow: 0 14px 40px rgba(245,217,194,.22); }
.badge svg { width: 15px; height: 15px; }
.ghost { display: inline-flex; align-items: center; padding: 16px 26px; border-radius: 100px; border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 17px; color: var(--t92); transition: background .3s, border-color .3s; }
.ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }

.foot { position: relative; border-top: 1px solid rgba(255,255,255,.08); padding: 30px 0 calc(34px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--t40); background: rgba(5,6,10,.6); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.foot .brand { font-size: 15px; color: #fff; }
.foot .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.foot .brand-mark svg { width: 12px; height: 12px; }
.foot-c { flex: 1; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--t60); transition: color .2s; }
.foot nav a:hover { color: #fff; }

/* ================= Mobil ================= */
@media (max-width: 899px) {
  .nav { padding-top: max(12px, env(safe-area-inset-top)); }
  .brand-name { display: none; }
  .nav-seg { display: none; }
  .nav-cta { font-size: 13px; padding: 8px 12px; }
  .nav.seg-on .nav-cta { opacity: 0; pointer-events: none; }
  .nav-cta { transition: opacity .4s; }

  .hero-h1 { font-size: clamp(54px, 17vw, 120px); gap: 0 .2em; }
  .hero-sub { font-size: 16px; margin-top: 18px; max-width: 360px; }
  .hero-eyebrow { margin-bottom: 12px; font-size: 12px; }

  .cap { left: 22px; right: 22px; width: auto; top: auto; bottom: max(22px, env(safe-area-inset-bottom)); bottom: calc(max(22px, env(safe-area-inset-bottom)) + 100lvh - 100svh); transform: none; }
  .cap h2 { font-size: clamp(34px, 9.6vw, 48px); }
  .cap-p { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .cap-eye { margin-bottom: 8px; font-size: 11.5px; }
  .cap-center { top: 15%; bottom: auto; }
  .caps::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--caph, 240px) + 70px); height: calc(var(--caph, 240px) + 70px + 100lvh - 100svh); background: linear-gradient(180deg, rgba(5,6,12,0), rgba(5,6,12,.85) 60px, rgba(5,6,12,.94)); opacity: var(--scrim, 0); }
  .cap h2 { font-size: clamp(32px, 9vw, 46px); }

  .float-card { width: 236px; padding: 14px 14px 10px; border-radius: 18px; }
  .float-card li { font-size: 13px; padding: 6px 0; }
  .float-card li b { font-size: 12.5px; }

  .bn-num { font-size: 200px; }
  .bn-label { font-size: 20px; }
  .bn-macros { flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
  .bn-m { width: 280px; }
  .bn-mv { font-size: 17px; margin: 2px 0 6px; }

  .ci-grid { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .t-widgets, .t-off, .t-pause, .t-plan, .t-bar, .t-act, .t-rem { grid-column: auto; grid-row: auto; }
  .t-widgets { min-height: 0; }
  .tile { padding: 24px; border-radius: 26px; min-height: 0; }
  .hs { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .apps { display: none; }
  .wg-s { width: 170px; height: 170px; }
  .wg-m { width: 100%; max-width: 360px; height: 160px; }
  .pv { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .foot-c { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .scrollhint span, .shimmer, .bc-scan, .rec-dot, .typing i { animation: none !important; }
  .reveal { transition-duration: .01s; }
}

/* ================= Warteliste ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.live-dot { position: relative; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: livePulse 2.4s var(--ease) infinite; }
@keyframes livePulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.invite { display: inline-flex; align-items: center; margin: -6px 0 26px; padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: rgba(245,217,194,.08); border: 1px solid rgba(245,217,194,.24); }

.hero-wl { margin: 30px auto 0; max-width: 580px; text-align: left; }
.hero-wl > div { display: block; transition: transform 1.3s var(--ease) .7s, opacity 1.1s var(--ease) .7s; }
.intro .hero-wl > div { transform: translateY(30px); opacity: 0; }
.cta-wl { width: 100%; max-width: 580px; margin-top: 38px; text-align: left; --d: .24s; }

.wl { position: relative; display: grid; }
.wl-row, .wl-done { grid-area: 1 / 1; }
.wl-row {
  display: flex; align-items: center; gap: 0; padding: 6px; border-radius: 100px;
  background: rgba(22,22,32,.62); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  transition: opacity .45s var(--ease), transform .6s var(--ease), border-color .3s, box-shadow .3s;
}
.wl-row:focus-within { border-color: rgba(245,217,194,.45); box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 4px rgba(245,217,194,.08); }
.wl-f { display: block; flex: 0 0 34%; min-width: 0; position: relative; }
.wl-f-mail { flex: 1 1 auto; }
.wl-f-mail::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: rgba(255,255,255,.12); }
.wl input:not(.wl-hp) {
  width: 100%; height: 48px; padding: 0 18px; border: 0; outline: 0; background: transparent; color: #fff;
  font: 500 16px/1 var(--font); letter-spacing: -.01em; border-radius: 100px;
}
.wl input::placeholder { color: rgba(255,255,255,.45); }
.wl input.bad::placeholder { color: rgba(229,128,107,.85); }
.wl input.bad { color: var(--danger); }
.wl-btn {
  position: relative; flex: none; height: 48px; padding: 0 24px; border: 0; border-radius: 100px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 700 16px/1 var(--font); letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(245,217,194,.22); transition: transform .3s var(--spring), background .3s;
}
.wl-btn:hover { background: #f8e3d1; }
.wl-btn:active { transform: scale(.96); }
.wl-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wl-spin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid rgba(11,16,36,.25); border-top-color: var(--on-accent); opacity: 0; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wl.busy .wl-bt { opacity: 0; }
.wl.busy .wl-spin { opacity: 1; }
.wl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--t50); transition: opacity .4s; }
.wl-note a { color: var(--t70); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.wl-msg { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--danger); min-height: 0; }
.wl-msg:empty { display: none; }

.wl-done {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 100px;
  background: rgba(245,217,194,.1); border: 1px solid rgba(245,217,194,.3);
  opacity: 0; transform: scale(.96); pointer-events: none; visibility: hidden;
  transition: opacity .5s var(--ease) .15s, transform .7s var(--spring) .15s, visibility 0s .7s;
}
.wl-check { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transform: scale(.3) rotate(-30deg); transition: transform .7s var(--spring) .3s; }
.wl-check svg { width: 22px; height: 22px; }
.wl-done p { margin: 0; }
.wl-done b { display: block; font-size: 17px; letter-spacing: -.01em; }
.wl-done small { display: block; margin-top: 2px; font-size: 14px; color: var(--t70); }
.wl.done .wl-row { opacity: 0; transform: scale(.96); pointer-events: none; }
.wl.done .wl-done { opacity: 1; transform: none; visibility: visible; transition: opacity .5s var(--ease) .15s, transform .7s var(--spring) .15s, visibility 0s; }
.wl.done .wl-check { transform: none; }
.wl.done .wl-note { opacity: 0; }
.wl.instant .wl-row, .wl.instant .wl-done, .wl.instant .wl-check { transition: none !important; }

@media (max-width: 599px) {
  .wl-row { flex-direction: column; align-items: stretch; padding: 6px; border-radius: 24px; }
  .wl-f { flex: none; }
  .wl-f-mail::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .wl-btn { width: 100%; margin-top: 6px; border-radius: 18px; height: 50px; }
  .wl input:not(.wl-hp) { height: 50px; }
  .wl-done { border-radius: 24px; padding: 14px 16px; align-items: flex-start; }
  .wl-check { width: 40px; height: 40px; }
  .hero-wl { margin-top: 22px; }
}

/* Oben: erst nur der Knopf, ein Tipp klappt die Felder auf */
.wl-bt { display: inline-grid; }
.wl-bt > span { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.wl-bt-open { opacity: 0; transform: translateY(8px); }
.wl-hero.collapsed .wl-bt-open { opacity: 1; transform: none; }
.wl-hero.collapsed .wl-bt-send { opacity: 0; transform: translateY(-8px); }
.wl:not(.wl-hero) .wl-bt-open { display: none; }
.wl-hero .wl-row { width: 100%; margin: 0 auto; transition: width .7s var(--ease), opacity .45s var(--ease), transform .6s var(--ease), border-color .3s, box-shadow .3s, padding .5s var(--ease); }
.wl-hero .wl-f { transition: opacity .35s var(--ease) .25s, max-height .6s var(--ease); max-height: 60px; }
.wl-hero.collapsed .wl-row { width: 232px; }
.wl-hero.collapsed .wl-f { opacity: 0; transition: opacity .15s; pointer-events: none; }
.wl-hero.collapsed .wl-note { opacity: 0; }
.wl-hero.collapsed .wl-btn { width: 220px; }
.wl-hero .wl-btn { transition: transform .3s var(--spring), background .3s, width .7s var(--ease); width: 158px; padding: 0; }
@media (max-width: 599px) {
  .wl-hero .wl-row { width: 100%; }
  .wl-hero.collapsed .wl-row { width: 100%; padding: 6px; }
  .wl-hero.collapsed .wl-f { max-height: 0; }
  .wl-hero.collapsed .wl-btn { margin-top: 0; width: 100%; }
  .wl-hero .wl-btn { width: 100%; }
}
.wl-hero .wl-row { overflow: hidden; }
.wl-hero .wl-f { transition: opacity .35s var(--ease) .25s, max-height .6s var(--ease), flex-basis .7s var(--ease), flex-grow .7s var(--ease); }
.wl-hero.collapsed .wl-f { flex: 0 0 0; }
@media (max-width: 599px) { .wl-hero.collapsed .wl-f { flex: none; } }
.wl-hero.collapsed .wl-done { display: none; }
.wl-hero .wl-f { overflow: hidden; }

.hero-invite { display: flex; align-items: center; justify-content: center; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero-invite .live-dot { margin-right: 10px; }
