/* Simple 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; transition: opacity 1.4s var(--ease); }
body[data-sky="nut"] .sky-nut, body[data-sky="coach"] .sky-coach, body[data-sky="train"] .sky-train { opacity: 1; }
.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; white-space: nowrap; }
.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-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); }

/* ---------- Hero + Prinzip: die einzige Animation, die am Scrollen hängt ---------- */
.hero-sec { position: relative; height: 240vh; height: 240svh; }
.hero-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: 70%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,217,194,.26), rgba(201,141,107,.1) 45%, transparent 72%);
  pointer-events: none; transition: opacity 1.6s var(--ease) .3s;
}
.intro .glow { opacity: 0; }
.hero-grid {
  position: relative; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 max(32px, 5vw);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 96px); align-items: center;
}
.hero-copy { position: relative; }
.hero { transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s; }
.hero-sec.why-on .hero { opacity: 0; transform: translateY(-40px); visibility: hidden; pointer-events: none; transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s .6s; }
.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: -.05em; line-height: .98;
  font-size: clamp(48px, 5.4vw, 92px);
  display: flex; flex-wrap: wrap; gap: 0 .24em;
}
.hbr { flex-basis: 100%; height: 0; }
.hw { display: inline-block; overflow: hidden; padding: .04em .02em .1em; margin-bottom: -.1em; }
.hw > span { display: inline-block; }
.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: 28px 0 0; max-width: 560px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; 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: .1s; }
.hw:nth-child(2) > span { transition-delay: .16s; }
.hw:nth-child(3) > span { transition-delay: .22s; }
.hw:nth-child(5) > span { transition-delay: .32s; }
.hw:nth-child(6) > span { transition-delay: .38s; }
.hw:nth-child(7) > span { transition-delay: .44s; }
.hw:nth-child(8) > span { transition-delay: .5s; }
.hw:nth-child(9) > span { transition-delay: .56s; }
.hw:nth-child(10) > span { transition-delay: .62s; }
.hw:nth-child(11) > span { transition-delay: .68s; }
.hw:nth-child(12) > span { transition-delay: .74s; }
.hero-sub span { transition-delay: .7s; }
.hero-phone { position: relative; will-change: transform; }
.hero-phone .ph-box { transition: opacity 1.6s var(--ease) .3s, translate 1.8s var(--ease) .3s; }
.intro .hero-phone .ph-box { opacity: 0; translate: 0 80px; }

/* Das Prinzip erscheint im Hero, wenn der Hero-Text geht */
.why-box { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(calc(-50% + 30px)); transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s .6s; }
.hero-sec.why-on .why-box { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%); transition: opacity .8s var(--ease) .25s, transform 1s var(--ease) .25s, visibility 0s; }
.why-h { margin: 0; font-size: clamp(40px, 4.6vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.why-box .eye { margin-bottom: 14px; }
.why-box .tg-row { margin-top: 26px; }
.why { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: why; display: flex; flex-direction: column; gap: 12px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 520px; }
.why li { position: relative; padding-left: 34px; color: var(--t80); }
.why li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); }
.why li::after { content: ""; position: absolute; left: 11px; top: calc(.62em - 4px); width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); border-radius: 1px; }
.why b { color: #fff; }
.why-end { margin-top: 28px; max-width: 560px; }
.why-plan { display: flex; align-items: stretch; gap: 8px; margin-top: 16px; }
.wp { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 16px; background: rgba(245,217,194,.07); border: 1px solid rgba(245,217,194,.2); }
.wp small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,217,194,.75); }
.wp b { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wp > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--t60); }
.wp-ar { flex: none; align-self: center; width: 14px; height: 14px; border-top: 2px solid rgba(245,217,194,.55); border-right: 2px solid rgba(245,217,194,.55); transform: rotate(45deg); margin: 0 4px 0 -2px; }
.why .sw { display: inline; }
.why-plan b.sw, .why-plan span.sw { display: block; }
.swap .sw, .swap .wp-kcal, .swap .wp-prot { animation: swapIn .6s var(--ease); }
@keyframes swapIn { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }

/* Telefon im Prinzip: was gerade zählt, leuchtet */
.hero-scr .week, .hero-scr .chev, .hero-scr .meals, .hero-scr .tbar, .hero-scr .mc, .hero-scr .khero, .as-train { transition: opacity .7s var(--ease), transform .7s var(--ease), color .5s, background .5s; }
.screen.dim .hero-scr .week, .screen.dim .hero-scr .chev, .screen.dim .hero-scr .meals, .screen.dim .hero-scr .tbar { opacity: .2; }
.screen.w1 .hero-scr .mc { opacity: .22; }
.screen.w1 .hero-scr .khero { transform: scale(1.07); }
.screen.w1 .hero-scr .knum, .screen.w2 .hero-scr .hm-p b { text-shadow: 0 0 28px rgba(245,217,194,.6); }
.screen.w2 .hero-scr .khero, .screen.w2 .hero-scr .hm-f, .screen.w2 .hero-scr .hm-k { opacity: .25; }
.screen.w2 .hero-scr .hm-p { transform: scale(1.14); }
.screen.w3 .hero-scr .khero, .screen.w3 .hero-scr .mc { opacity: .25; }
.screen.w3 .as-train { background: rgba(245,217,194,.18); color: var(--accent); }

.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%; } }

/* ---------- Feature-Sektionen: Text + ruhendes Telefon ---------- */
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 120px); align-items: center; }
.feat-grid > * { min-width: 0; }
.feat-flip .feat-grid { grid-template-columns: auto minmax(0, 1fr); }
.feat-flip .feat-copy { order: 2; }
.feat-h { font-size: clamp(42px, 5vw, 80px); }
.feat .lead { max-width: 520px; }
.feat .tg-row { margin-top: 30px; }
.feat-goal { color: rgba(245,217,194,.92); }
.feat-phone { position: relative; justify-self: center; }
.steps { display: flex; flex-direction: column; gap: 6px; max-width: 560px; margin: 34px 0 0 -18px; }
.step { position: relative; overflow: hidden; appearance: none; text-align: left; padding: 16px 18px; border-radius: 20px; border: 1px solid transparent; background: transparent; color: #fff; font-family: var(--font); cursor: pointer; transition: background .5s var(--ease), border-color .5s; }
.step b { display: block; font-size: clamp(18px, 1.5vw, 21px); font-weight: 650; letter-spacing: -.01em; color: var(--t50); transition: color .4s; }
.step span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; line-height: 1.5; color: var(--t70); transition: max-height .7s var(--ease), opacity .5s, margin .5s var(--ease); }
.step:hover b { color: var(--t80); }
.step.on { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.step.on b { color: #fff; }
.step.on span { max-height: 180px; opacity: 1; margin-top: 6px; }
.step::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); opacity: 0; transition: opacity .4s; }
.step.on::after { opacity: .6; }
.step:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.step-s, .step-cap { display: none; }

/* Freischwebende Karten am Telefon */
.float-card {
  position: absolute; width: 290px; padding: 18px 18px 14px; border-radius: 22px; z-index: 6;
  background: rgba(22,26,46,.72); 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; transform: translateY(18px) scale(.97); transition: opacity .7s var(--ease), transform .8s var(--ease); pointer-events: none;
}
.float-card.on { opacity: 1; transform: none; }
.fc-assume { right: calc(100% - 70px); top: 44%; }
.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(1) { transition-delay: .15s; }
.float-card.on li:nth-child(2) { transition-delay: .23s; }
.float-card.on li:nth-child(3) { transition-delay: .31s; }
.float-card.on li:nth-child(4) { transition-delay: .39s; }

/* Eine Zahl */
.bigsec { text-align: center; }
.bignum { margin: clamp(40px, 7vh, 80px) auto 0; }
.bn-num { font-size: clamp(150px, 20vw, 300px); line-height: .86; font-weight: 200; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bn-label { margin-top: 10px; font-size: clamp(18px, 1.8vw, 26px); 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); transition: transform 1.6s var(--ease); }

/* ================= Telefon ================= */
.ph { position: relative; }
.ph-box { position: relative; width: calc(426px * var(--ps, .8)); height: calc(898px * var(--ps, .8)); }
.hero-phone .ph-box { --ps: var(--ps-hero, .8); }
.rig { position: absolute; left: 0; top: 0; width: 426px; height: 898px; transform: translateY(var(--pan, 0px)) scale(var(--ps, .8)); transform-origin: 0 0; }
.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 */
}
.screen.sky-nut { background: linear-gradient(180deg, #0b1024 0%, #1a2445 42%, #3c4a76 72%, #8a7d92 90%, #d9b49a 100%); }
.screen.sky-coach { background: linear-gradient(180deg, #05070f 0%, #0b1024 55%, #1c2340 85%, #4a4460 97%, #8a6b5c 100%); }
.screen.sky-train { background: linear-gradient(180deg, #0a0a0e 0%, #17171f 45%, #2e2e3c 78%, #585866 94%, #8e8e98 100%); }
.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 { 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; overflow: hidden; text-overflow: ellipsis; }
.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); } }
.sv-r { position: relative; }
.prflag { position: absolute; left: 100%; top: 50%; margin: -9px 0 0 -6px; font-style: normal; font-family: var(--font); font-size: 10px; font-weight: 800; line-height: 18px; padding: 0 5px; border-radius: 6px; white-space: nowrap; background: rgba(245,217,194,.16); color: var(--accent); opacity: 0; transform: scale(.3); transition: opacity .4s, transform .5s var(--spring); z-index: 2; }
#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; }

/* 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-live, .t-month, .t-rem { grid-column: span 2; }
.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-row svg, .wgm-r 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, minmax(0, 1fr)); align-items: start; align-self: end; 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-love { margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--t60); transition: color .2s; }
.foot nav a:hover { color: #fff; }
.foot-set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.lang-pick { position: relative; display: inline-flex; align-items: center; color: var(--t60); transition: color .2s; }
.lang-pick:hover, .lang-pick:focus-within { color: #fff; }
.lang-pick svg { position: absolute; left: 14px; width: 16px; height: 16px; pointer-events: none; }
.lang-pick .lang-chev { left: auto; right: 12px; width: 14px; height: 14px; }
.lang-pick select { appearance: none; -webkit-appearance: none; font: 600 13px/1 var(--font); color: inherit; padding: 10px 34px 10px 38px; border-radius: 100px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.lang-pick select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lang-pick option { color: #000; }
.foot .units-tg button { font-size: 13px; padding: 7px 12px; }


/* ================= Ziel-Umschalter ================= */
body:not(.goal-bulk) .only-bulk, .goal-bulk .only-cut { display: none !important; }
.goal-tg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 100px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.goal-tg button { appearance: none; border: 0; background: transparent; color: var(--t60); font: 600 15px/1 var(--font); padding: 10px 18px; border-radius: 100px; cursor: pointer; transition: background .4s var(--ease), color .3s; }
.goal-tg button:hover { color: #fff; }
.goal-tg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.goal-tg button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ================= Einheiten: <html data-units> wählt die Variante (gesetzt im <head>, bevor gemalt wird) ================= */
html[data-units="imperial"] .u-m, html:not([data-units="imperial"]) .u-i { display: none !important; }
.units-tg button { padding: 10px 14px; }
.goal-tg.units-tg button[aria-pressed] { background: transparent; color: var(--t60); }
html:not([data-units="imperial"]) .goal-tg.units-tg button[data-units="metric"],
html[data-units="imperial"] .goal-tg.units-tg button[data-units="imperial"] { background: var(--accent); color: var(--on-accent); }

/* Überschreitungen wie in der App */
.mc.over b em, .bn-m.over .bn-mv b { color: var(--danger); }
.bn-m.over em { background: var(--danger); }

.fc-check { left: 50%; top: 56%; width: 300px; margin-left: -150px; border-radius: 24px; padding: 14px 16px; background: rgba(40,40,56,.9); z-index: 7; }
.fc-t { margin: 0; font-size: 15px; line-height: 1.45; color: var(--t92); }
.fc-t b { color: var(--accent); }

/* -- Gewicht (Profil) -- */
.pf-head { position: absolute; left: 0; right: 0; top: 66px; height: 44px; display: flex; align-items: center; justify-content: center; }
.pf-head b { font-size: 17px; font-weight: 600; }
.pf-back { position: absolute; left: 14px; top: 10px; width: 24px; height: 24px; transform: rotate(90deg); color: rgba(255,255,255,.8); }
.pf-back svg { width: 24px; height: 24px; }
.wt { position: absolute; left: 16px; right: 16px; top: 128px; }
.ovl { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.wt-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.wt-row { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.wt-big { font-size: 64px; font-weight: 200; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.wt-unit { font-size: 20px; color: rgba(255,255,255,.6); }
.wt-trend { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--positive); }
.wt-btn { margin-top: 22px; font-size: 13px; font-weight: 800; padding: 8px 14px; border-radius: 100px; background: var(--accent); color: var(--on-accent); }
.wt-chart { position: relative; padding: 12px 0 10px; margin-bottom: 22px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.wt-chart svg { width: 100%; height: 170px; overflow: visible; }
#wGoal { stroke: rgba(245,217,194,.45); stroke-width: 1.5; stroke-dasharray: 4 4; }
#wPath { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: var(--d, 100); }
.wt-dot { position: absolute; width: 12px; height: 12px; margin: 6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(245,217,194,.2); opacity: 0; }
.wt-leg { display: flex; justify-content: space-between; padding: 6px 14px 0; font-size: 11px; color: rgba(255,255,255,.4); }
.wt-lg { color: rgba(245,217,194,.7); }
.wt-card { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; margin-bottom: 22px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.wt-card b { font-size: 20px; font-weight: 700; }
.wt-card small { font-size: 13px; color: rgba(255,255,255,.55); }
.wt-nut { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.wt-nut small { display: block; font-size: 9.5px; letter-spacing: .16em; color: rgba(245,217,194,.75); }
.wt-nut b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 17px; }
.wt-nut p { grid-column: 1 / -1; margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }

/* -- Trainingsplan -- */
.pl { position: absolute; inset: 0; }
.pl-a { padding: 118px 16px 0; }
.pl-h { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.pl-sub { margin: 6px 0 18px; font-size: 14px; color: rgba(255,255,255,.6); }
.pl-card { margin-bottom: 12px; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.pl-card b { font-size: 17px; font-weight: 700; }
.pl-card ul { list-style: none; margin: 8px 0 0; padding: 0; }
.pl-card li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14.5px; color: rgba(255,255,255,.82); }
.pl-card li span { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.5); }
.pl-btn { position: absolute; left: 16px; right: 16px; bottom: 36px; height: 52px; border-radius: 26px; display: grid; place-items: center; font-size: 16px; font-weight: 700; background: var(--accent); color: var(--on-accent); }
.cm-photo { width: 236px; margin: 10px 0 0 auto; }
.note {
  padding: 12px 14px 12px; border-radius: 14px; transform: rotate(-1.5deg);
  background: #fbfaf7; color: #1c1c1e; font-family: var(--font); font-size: 11.5px; line-height: 1.5;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.note p { margin: 0; display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; }
.note p span { font-family: var(--mono); font-size: 10.5px; color: #555; }
.note .nt-hd { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 2px; }
.note .nt-day { display: block; margin-top: 5px; font-weight: 700; color: #b8743f; }
.note .nt-more { display: block; margin-top: 5px; color: #888; }
.cm-voice { display: flex; gap: 8px; align-items: flex-start; }
.cm-voice svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.menu { padding: 14px 16px 12px; border-radius: 14px; transform: rotate(1.5deg); background: #fbf7ef; color: #2a2622; font-family: Georgia, "Times New Roman", serif; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.menu p { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 0; border-top: 1px dotted rgba(0,0,0,.22); }
.menu .mn-h { display: block; text-align: center; border: 0; padding: 0 0 6px; font-size: 18px; font-style: italic; letter-spacing: .06em; }

/* ================= Coach-Sektion ================= */
.coach .h2 { font-size: clamp(42px, 5.2vw, 84px); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.co-grid > * { min-width: 0; }
.co-sees { margin: 22px 0 0; max-width: 560px; font-size: 15px; line-height: 1.5; color: rgba(245,217,194,.85); --d: .1s; }
.co-tabs { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 30px 0 0 -18px; --d: .16s; }
.co-tab { appearance: none; position: relative; overflow: hidden; text-align: left; padding: 13px 18px; border-radius: 18px; border: 1px solid transparent; background: transparent; color: #fff; font-family: var(--font); cursor: pointer; transition: background .4s var(--ease), border-color .4s; }
.co-tab b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--t50); transition: color .3s; }
.co-tab small { display: block; margin-top: 2px; font-size: 14px; color: var(--t40); }
.co-tab:hover b { color: var(--t80); }
.co-tab.on { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.co-tab.on b { color: #fff; }
.co-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-tab::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--cp, 0)); opacity: 0; transition: opacity .4s; }
.co-tab.on::after { opacity: .6; }
.co-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; --d: .12s; }
.co-panel {
  position: relative; width: 100%; max-width: 460px; height: 620px; border-radius: 44px; overflow: hidden;
  background: linear-gradient(180deg, #05070f 0%, #0b1024 55%, #1c2340 85%, #4a4460 97%, #8a6b5c 100%);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 100px rgba(0,0,0,.5);
  font-size: 15px; line-height: 1.35;
}
.co-top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 70px; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(180deg, rgba(5,7,15,.96) 40%, rgba(5,7,15,0)); }
.co-top b { font-size: 16px; font-weight: 600; }
.co-top .as-ic-coach { margin: 0; }
.co-case { position: absolute; left: 18px; right: 18px; top: 60px; bottom: 96px; display: none; flex-direction: column; justify-content: flex-end; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40px); mask-image: linear-gradient(180deg, transparent 0, #000 40px); }
.co-case.on { display: flex; }
.co-i { flex: none; }
.co-i:not(.in) { display: none !important; }
.co-i.in, .co-typing { animation: coIn .55s var(--ease) both; }
.co-case .cm { max-width: 88%; }
.co-case .act { align-self: flex-start; }
.co-case .cm-photo { width: 214px; }
.co-case .menu { font-size: 12px; padding: 10px 14px 8px; }
.co-case .menu p { padding: 3px 0; }
.co-case .menu .mn-h { font-size: 15px; padding-bottom: 4px; }
.co-notifs .nt { margin-top: 12px; }
.co-notifs .nt-b { font-size: 14.5px; }
.co-typing { align-self: flex-start; flex: none; }
@keyframes coIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.co-comp { position: absolute; left: 18px; right: 18px; bottom: 28px; 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); color: rgba(255,255,255,.5); }
.co-comp span { flex: 1; font-size: 16px; }

/* Bento: Live-Aktivität, Monat */
.di { display: flex; align-items: center; gap: 12px; max-width: 300px; height: 58px; margin: 6px 0 30px; padding: 0 14px 0 9px; border-radius: 30px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.4); }
.di-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(245,217,194,.16); color: var(--accent); }
.di-ic svg { width: 22px; height: 22px; }
.di-tx { flex: 1; min-width: 0; }
.di-tx small { display: block; font-size: 12px; color: var(--t60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.di-tx b { font-size: 15px; }
.di-t { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--accent); }
.mo { display: flex; gap: 18px; margin: 6px 0 28px; }
.mo b { display: block; font-size: 30px; font-weight: 200; letter-spacing: -.03em; line-height: 1.1; }
.mo small { font-size: 10.5px; letter-spacing: .16em; color: var(--t50); }

/* ================= Mobil ================= */
@media (max-width: 899px) {
  .nav { padding-top: max(12px, env(safe-area-inset-top)); justify-content: center; }
  .nav-cta { font-size: 13px; padding: 8px 12px; }
  .nav-cta { transition: opacity .4s; }
  .nav:has(.nav-cta) { justify-content: space-between; }

  .hero-h1 { font-size: clamp(40px, 11.5vw, 76px); gap: 0 .22em; }
  .hero-sub { font-size: 16px; margin-top: 18px; max-width: 360px; }
  .hero-eyebrow { margin-bottom: 12px; font-size: 12px; }

  .hero-sec { height: 220vh; height: 220svh; }
  .hero-grid { display: block; padding: 0; }
  .hero-copy { position: static; }
  .hero { position: absolute; z-index: 2; left: 0; right: 0; top: max(76px, 10svh); padding: 0 22px; text-align: center; }
  .hero-h1 { justify-content: center; }
  .hero-sub, .hero-store { margin-left: auto; margin-right: auto; }
  .hero-phone { position: absolute; left: 50%; top: 0; }
  .glow { left: 50%; }
  .why-box { z-index: 3; top: auto; bottom: max(24px, env(safe-area-inset-bottom)); bottom: calc(max(24px, env(safe-area-inset-bottom)) + 100lvh - 100svh); left: 22px; right: 22px; transform: translateY(30px); }
  .hero-sec.why-on .why-box { transform: none; }
  /* Abdeckung hinter dem Prinzip-Text: an der Bühnenunterkante verankert, damit sie auch bei eingeklappter Browserleiste bis ganz unten reicht */
  .hero-stage::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 68%; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,12,0), rgba(5,6,12,.88) 90px, rgba(5,6,12,.96)); opacity: 0; transition: opacity .7s var(--ease); }
  .hero-sec.why-on .hero-stage::after { opacity: 1; }
  .why-h { font-size: clamp(30px, 8.6vw, 44px); }
  .why-box .tg-row { margin-top: 16px; }
  .why { margin-top: 16px; gap: 6px; font-size: 14.5px; line-height: 1.45; }
  .why li { padding-left: 30px; }
  .why-end { margin-top: 14px; }
  .why-plan { gap: 4px; margin-top: 10px; }
  .wp { padding: 8px 9px; border-radius: 12px; }
  .wp small { font-size: 9px; letter-spacing: .1em; }
  .wp b { font-size: 13px; margin-top: 3px; white-space: normal; }
  .wp > span { font-size: 11px; }
  .wp-ar { display: none; }
  .goal-tg button { font-size: 14px; padding: 8px 14px; }

  .feat-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .feat-copy { display: contents; }
  .feat-copy > * { order: 4; }
  .feat-copy > .eye, .feat-copy > .feat-h { order: 1; }
  .feat-phone { order: 3; margin-top: 30px; align-self: center; }
  .feat-phone .ph-box { height: var(--crop); overflow: hidden; border-radius: 34px 34px 0 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 28px, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(180deg, transparent, #000 28px, #000 calc(100% - 70px), transparent); }
  .feat-phone .rig { transition: transform .45s var(--ease); }
  .feat .tg-row { margin-top: 22px; }
  .feat-flip .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-flip .feat-copy { order: 0; }
  /* Mobil: Schritte als Chips über dem Telefon, die Erklärung des aktiven Schritts darunter */
  .feat-copy > .steps { order: 2; }
  .steps { flex-direction: row; gap: 6px; margin: 22px 0 0; max-width: none; }
  .step { flex: 1; min-width: 0; padding: 10px 6px 12px; border-radius: 100px; border-color: rgba(255,255,255,.12); text-align: center; }
  .step b, .step span { display: none; }
  .step .step-s { display: block; font-style: normal; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--t60); transition: color .4s; }
  .step.on .step-s { color: #fff; }
  .step::after { left: 16px; right: 16px; bottom: 5px; }
  .step-cap { display: block; margin: 20px 0 0; min-height: 4.5em; font-size: 16px; line-height: 1.5; color: var(--t70); }
  .step-cap.swap { animation: swapIn .5s var(--ease); }
  .fc-assume { right: -10px; top: 16%; }
  .co-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .co-tabs { flex-direction: row; overflow-x: auto; gap: 8px; margin: 28px -24px 0; padding: 0 24px 4px; scrollbar-width: none; }
  .co-tabs::-webkit-scrollbar { display: none; }
  .co-tab { flex: none; padding: 10px 14px; border-color: rgba(255,255,255,.1); }
  .co-tab b { font-size: 15px; }
  .co-tab small { display: none; }
  .co-panel { height: 580px; border-radius: 34px; }
  .fc-t { font-size: 13.5px; }
  .fc-check { width: min(280px, 76vw); margin-left: calc(min(280px, 76vw) / -2); padding: 12px 14px; }

  .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: clamp(90px, 28vw, 200px); }
  .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; }

  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .t-widgets, .t-off, .t-pause, .t-plan, .t-bar, .t-live, .t-month, .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; }
}

/* ================= App Store ================= */
.hero-store { margin: 30px auto 0; text-align: center; }
.hero-store > div { display: block; transition: transform 1.3s var(--ease) .7s, opacity 1.1s var(--ease) .7s; }
.intro .hero-store > div { transform: translateY(30px); opacity: 0; }
.cta-store { margin-top: 38px; --d: .24s; }

/* Nachbau der offiziellen Badges (schwarz, grauer Rand); auf dem Handy nur das passende (data-os aus dem <head>) */
.stores { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
[data-os="ios"] .store-android, [data-os="android"] .store-ios { display: none; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 13px;
  background: #000; color: #fff; border: 1px solid #a6a6a6; text-decoration: none;
  box-shadow: 0 16px 44px rgba(0,0,0,.4); transition: transform .3s var(--spring), border-color .3s;
}
.store[href] { cursor: pointer; }
.store[href]:hover { border-color: #fff; }
.store[href]:active { transform: scale(.96); }
.store:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.store-logo { width: 26px; height: 32px; margin-top: -3px; }
.store-t { display: flex; flex-direction: column; text-align: left; font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.store-t small { margin-bottom: 3px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.store-t .store-caps { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.store-logo-play { width: 28px; height: 28px; margin-top: 0; }
.store-note { margin: 12px 0 0; font-size: 13px; color: var(--t50); }

@media (max-width: 599px) {
  .hero-store { margin-top: 22px; }
}

/* Hero-Badge linksbündig zum Text (Desktop) */
@media (min-width: 900px) {
  .hero-store { margin-left: 0; text-align: left; }
  .hero-store .stores { justify-content: flex-start; }
}

/* Hero: Karten rund ums Telefon zeigen auf einen Blick, was die App alles kann */
.hf { position: absolute; z-index: 4; border-radius: 22px; background: rgba(32,32,46,.82); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 24px 60px rgba(0,0,0,.45); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .8s var(--ease), transform 1s var(--ease); pointer-events: none; }
body:not(.intro) .hf { opacity: 1; transform: none; }
.hf-coach { left: -22px; right: -22px; top: 8.5%; padding: 13px 15px 14px; border-radius: 24px; transition-delay: 1.1s; }
.hf-coach .nt-t { font-size: 14px; }
.hf-coach .nt-b { font-size: 14px; line-height: 1.4; }
.hf-pr { right: -40px; top: 47%; padding: 9px 15px; border-radius: 100px; font-size: 14px; font-weight: 700; white-space: nowrap; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--on-accent); border: 0; box-shadow: 0 14px 40px rgba(201,141,107,.4); transition-delay: 1.4s; }
.hf-weight { left: -64px; bottom: 15%; display: flex; align-items: center; gap: 14px; padding: 13px 16px; transition-delay: 1.7s; }
.hf-weight small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t50); }
.hf-weight b { display: block; font-size: 22px; font-weight: 300; letter-spacing: -.02em; }
.hf-weight em { display: block; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--positive); }
.hf-weight svg { width: 90px; height: 40px; }
.hf-weight path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hf-weight circle { fill: var(--accent); }
.hero-sec.why-on .hf { opacity: 0; transform: translateY(-10px) scale(.97); transition-delay: 0s; }
.hero-meals { transition: opacity .6s var(--ease); }
.screen.start .hero-meals { opacity: 0; }
@media (max-width: 899px) { .hf { display: none; } }
/* Prinzip: der Begriff im Text und seine Zahl im Telefon pulsieren gemeinsam */
.why b, .hero-scr .knum, .hero-scr .hm-p b { display: inline-block; transform-origin: 50% 60%; }
.why b { transform-origin: 0 60%; }
.pulse { animation: pulse 1.4s var(--ease); }
@keyframes pulse {
  0% { transform: scale(1); text-shadow: none; }
  35% { transform: scale(1.08); color: var(--accent); text-shadow: 0 0 24px rgba(245,217,194,.55); }
  100% { transform: scale(1); text-shadow: none; }
}
