/* Wattlab-Website im Glas-Design der App (Dunkel, neutral, Farbe nur für Daten).
   Werte aus GlassStyle.forBrightness(dark) in app/lib/core/theme.dart und Design.md. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --base: #060609;
  --fg: #F2F2F0;
  --muted: #A8A8B0;
  --card-top: rgba(255,255,255,.09);
  --card-bot: rgba(255,255,255,.07);
  --card-line: rgba(255,255,255,.10);
  --hero-top: rgba(255,255,255,.13);
  --hero-bot: rgba(255,255,255,.11);
  --hero-line: rgba(255,255,255,.20);
  --well: rgba(0,0,0,.30);
  --light-blue: #2F5BFF; --light-green: #3DDC97; --light-violet: #7A4DFF;
  --ctl: #3B82F6; --atl: #EC4899; --tsb: #F59E0B;
  --ring: rgba(242,242,240,.88); --warn: #F59E0B;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--base); }
body { margin: 0; background: var(--base); color: var(--fg); font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h3 { font-weight: 650; letter-spacing: -.01em; }
em { font-style: normal; }
b { font-weight: 650; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 8px; }

/* Hintergrund: drei weiche Farbschimmer wie in der App (Blau oben links, Grün rechts, Violett unten links) */
.lights { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lights i { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .22; will-change: transform; }
.lights i:nth-child(1) { width: 90vmax; height: 90vmax; left: -45vmax; top: -45vmax; background: radial-gradient(closest-side, var(--light-blue), transparent); }
.lights i:nth-child(2) { width: 70vmax; height: 70vmax; right: -40vmax; top: 10vh; background: radial-gradient(closest-side, var(--light-green), transparent); }
.lights i:nth-child(3) { width: 80vmax; height: 80vmax; left: -35vmax; bottom: -45vmax; background: radial-gradient(closest-side, var(--light-violet), transparent); }

/* Kopf: schwebende Glas-Pille */
.top { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 12px; pointer-events: none; }
.bar { pointer-events: auto; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border: .8px solid var(--card-line); border-radius: 999px; background: rgba(12,12,18,.62); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 750; font-size: 1.1rem; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.bar nav { display: none; gap: 4px; }
.bar nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem; transition: color .2s, background .2s; }
.bar nav a:hover { color: var(--fg); background: rgba(255,255,255,.07); }
.langsw { display: inline-flex; flex: none; gap: 2px; margin-left: 4px; padding: 3px; border: .8px solid var(--card-line); border-radius: 999px; background: rgba(255,255,255,.06); }
.langsw a, .langsw span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; opacity: .5; filter: saturate(.7); transition: opacity .2s, background .2s; }
.langsw a:hover { opacity: .9; background: rgba(255,255,255,.08); }
.langsw .on { opacity: 1; filter: none; background: rgba(255,255,255,.16); }
.langsw svg { display: block; width: 20px; height: 20px; border-radius: 50%; }
@media (min-width: 760px) { .bar nav { display: flex; } }

/* Buttons: hell auf Dunkel, nie farbig */
.pill-btn, .ghost-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.pill-btn { background: var(--fg); color: #0B1220; }
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn.small { min-height: 38px; padding: 0 18px; font-size: .92rem; }
.pill-btn.big { min-height: 58px; padding: 0 38px; font-size: 1.1rem; }
.ghost-btn { border: 1px solid rgba(255,255,255,.22); color: var(--fg); }
.ghost-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }

/* Glaskarten: kein Blur, Verlauf Weiß 9 % → 7 %, Rand 10 % */
.gcard { position: relative; padding: 18px 20px; border: .8px solid var(--card-line); border-radius: 20px; background: linear-gradient(180deg, var(--card-top), var(--card-bot)); }
.gcard.hero-tier { border-color: var(--hero-line); background: linear-gradient(180deg, var(--hero-top), var(--hero-bot)); }
.ctx { color: var(--muted); font-size: .8rem; font-weight: 550; letter-spacing: .01em; margin-bottom: 6px; }
.meta, .note { color: var(--muted); font-size: .85rem; }
.well { margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--well); }

/* Zwischenstücke aus der App */
.profile { display: flex; align-items: flex-end; gap: 2px; height: 84px; }
.profile i { display: block; border-radius: 3px 3px 1px 1px; min-width: 2px; transform-origin: bottom; }
.ring-row { display: flex; align-items: center; gap: 18px; }
.ring-wrap { position: relative; width: 104px; height: 104px; flex: none; }
.ring { width: 100%; height: 100%; fill: none; stroke-width: 9; stroke-linecap: round; }
.ring-track { stroke: rgba(255,255,255,.10); }
.ring-val { stroke-dasharray: var(--len) 400; }
.ring-mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; font-weight: 650; text-align: center; padding: 0 24px; line-height: 1.1; white-space: nowrap; }
.mini { display: grid; gap: 6px; }
.mini div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.mini dt { color: var(--muted); font-size: .8rem; min-width: 62px; }
.mini dd { margin: 0; font-weight: 650; font-size: .95rem; }
.mini small { flex-basis: 100%; color: var(--muted); font-size: .72rem; margin-left: 72px; margin-top: -2px; }
.mini .warn dd { color: var(--warn); }
.big { font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 2px 0 10px; }
.big small { font-size: 1rem; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.bar-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.10); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--fg); transform-origin: left; }
.note { margin-top: 10px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-width: 1160px; margin: 0 auto; padding: 120px 20px 80px; display: grid; gap: 56px; align-content: center; }
.hero h1 { font-size: clamp(2.8rem, 8.5vw, 5.6rem); letter-spacing: -.045em; line-height: 1.02; }
.hero h1 em { background: linear-gradient(90deg, #8DB4FF, #3DDC97 55%, #B79CFF); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; max-width: 30em; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stage { display: grid; gap: 14px; }
.scroll-cue { display: none; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero-stage { position: relative; display: block; height: 610px; perspective: 1000px; }
  .hero-stage .gcard { position: absolute; transition: transform .25s var(--ease); }
  .hero-stage .f1 { top: 0; left: 0; width: min(380px, 78%); z-index: 2; }
  .hero-stage .f2 { top: 252px; right: 0; width: 318px; z-index: 3; }
  .hero-stage .f3 { top: 440px; left: 24px; width: 290px; z-index: 1; }
  .scroll-cue { position: absolute; left: 50%; bottom: 28px; display: block; width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 99px; }
  .scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--fg); }
}

/* Abschnitte */
.band, .problem, .end { max-width: 1160px; margin: 0 auto; padding: 110px 20px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.sub { margin-top: 22px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; }
.tag { display: inline-block; margin-bottom: 18px; padding: 5px 14px; border: .8px solid var(--card-line); border-radius: 999px; color: var(--muted); font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.05); }
.split { display: grid; gap: 48px; align-items: center; }
.scene { display: grid; gap: 14px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip .copy { order: 2; }
}

/* Problem */
.problem { text-align: center; padding-top: 60px; }
.lones { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 56px; }
.lone { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border: 1px dashed rgba(255,255,255,.22); border-radius: 18px; background: rgba(255,255,255,.03); color: var(--muted); font-weight: 600; }
.lone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lone.l1 { transform: rotate(-3deg); } .lone.l2 { transform: translateY(14px) rotate(2deg); } .lone.l3 { transform: rotate(-1.5deg) translateY(-6px); }

/* Kern-Szene: Standard (Handy, ohne JS, reduzierte Bewegung) = alles untereinander sichtbar */
.core { max-width: 1160px; margin: 0 auto; padding: 90px 20px; }
.core-pin { display: grid; gap: 28px; min-width: 0; }
.core h2 { text-align: center; }
.core h2 em { background: linear-gradient(90deg, #8DB4FF, #3DDC97 55%, #B79CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.core-text, .flow { display: none; }
.core-cards { display: grid; gap: 14px; }
.stage-copy { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.chart { width: 100%; height: auto; display: block; margin: 6px 0 10px; overflow: visible; }
.chart .grid { stroke: rgba(255,255,255,.12); stroke-dasharray: 3 4; }
.chart .line { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--muted); }
.key li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; background: var(--c); }
.c1 .ctx::before, .c2 .ctx::before, .c3 .ctx::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--dot); vertical-align: 1px; }
.c1 { --dot: var(--light-blue); } .c2 { --dot: var(--light-green); } .c3 { --dot: var(--light-violet); }
.orb { display: none; }
.weekstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.weekstrip li { padding: 10px 6px; border: .8px solid var(--card-line); border-radius: 14px; background: rgba(255,255,255,.06); text-align: center; font-size: .78rem; }
.weekstrip b { display: block; color: var(--muted); font-weight: 550; font-size: .72rem; }
.weekstrip span { font-weight: 650; overflow-wrap: anywhere; }
.finale { text-align: center; font-size: 1.4rem; font-weight: 650; letter-spacing: -.02em; }

/* Saison */
.season-card { margin-top: 56px; padding: 18px 12px 12px; }
.season-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 0 10px 8px; }
.season-head .ctx { margin: 0; }
.counter { color: var(--muted); font-size: .9rem; }
.counter b { color: var(--fg); font-size: 1.5rem; letter-spacing: -.02em; margin-right: 4px; }
.season-svg { width: 100%; height: auto; display: block; overflow: visible; }
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.season-svg { min-width: 720px; }
.season-svg .mon { fill: var(--muted); font-size: 14px; }
.season-svg .mgrid { stroke: rgba(255,255,255,.06); }
.season-svg .phase { opacity: .88; transform-box: fill-box; transform-origin: left; }
.season-svg .phase-t { fill: #060609; font-size: 14px; font-weight: 650; }
.season-svg .zero { stroke: rgba(255,255,255,.18); stroke-dasharray: 4 5; }
.season-svg .race-line { stroke: rgba(255,255,255,.28); stroke-dasharray: 3 5; }
.season-svg .race-line.A { stroke: rgba(255,255,255,.55); }
.season-svg .race circle { fill: rgba(255,255,255,.10); stroke: rgba(255,255,255,.5); }
.season-svg .race.A circle { fill: var(--fg); stroke: var(--fg); }
.season-svg .race text { fill: var(--fg); font-size: 14px; font-weight: 700; }
.season-svg .race.A text { fill: #060609; }
.season-svg .race-name { fill: var(--muted); font-size: 14px; }
.season-svg .form-line { fill: none; stroke: url(#fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.season-svg .form-area { fill: url(#fa); }
.season-svg .today line { stroke: var(--fg); stroke-width: 1.4; }
.season-svg .today rect { fill: var(--fg); }
.season-svg .today text { fill: #060609; font-size: 14px; font-weight: 700; }

/* Chat und Coach-Nachricht (Aufbau wie MessageParts der App) */
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: rgba(255,255,255,.14); justify-self: end; font-size: .95rem; }
.bubble .time { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 2px; }
.coach-msg { display: grid; gap: 12px; }
.coach-msg .ctx { margin: 0; }
.coach-msg h3 { font-size: 1.05rem; }
.coach-msg p { font-size: .92rem; color: #D6D6DA; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.num { padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.num span { display: block; color: var(--muted); font-size: .72rem; }
.num b { font-size: 1rem; }
.num.warn b { color: var(--warn); }
.coach-msg blockquote { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: .92rem; }
.coach-msg blockquote svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: var(--fg); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .84rem; font-weight: 600; }
.mini-btn.on { background: var(--fg); border-color: var(--fg); color: #0B1220; }
.miniweek { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.miniweek li { padding: 10px 4px; border: .8px solid var(--card-line); border-radius: 14px; background: rgba(255,255,255,.05); text-align: center; font-size: .76rem; }
.miniweek b { display: block; color: var(--muted); font-weight: 550; font-size: .7rem; }
.miniweek span { display: block; font-weight: 600; }
.miniweek span.hard { color: #E58AE0; font-weight: 700; }
.miniweek .mv-a { transform: translateX(calc(100% + 16px)); }
.miniweek .mv-b { transform: translateX(calc(-100% - 16px)); }

/* Feedback */
.metric { width: 100%; border-collapse: collapse; font-size: .92rem; }
.metric th, .metric td { padding: 9px 6px; text-align: right; }
.metric thead th { color: var(--muted); font-size: .76rem; font-weight: 550; }
.metric tbody th { text-align: left; font-weight: 550; color: var(--muted); }
.metric td.ok { color: #3DDC97; font-weight: 700; }
.metric tbody tr + tr > * { border-top: .8px solid rgba(255,255,255,.08); }
.zones-row { display: flex; align-items: center; gap: 22px; }
.donut { width: 118px; height: 118px; flex: none; fill: none; stroke-width: 12; }
.zlegend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; font-size: .8rem; color: var(--muted); flex: 1; }
.zlegend li { display: flex; align-items: center; gap: 6px; }
.zlegend i { width: 9px; height: 9px; border-radius: 3px; }
.zlegend b { margin-left: auto; color: var(--fg); font-weight: 600; }
.fb-text { font-size: .95rem; color: #D6D6DA; }

/* Übertraining */
.swap { display: grid; gap: 10px; }
.swap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.swap-row .ctx { margin: 0; }
.sw { padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 650; }
.sw.hard { background: rgba(209,47,196,.14); color: #F0A6EC; opacity: .6; }
.sw.easy { background: rgba(169,196,247,.18); color: #C9DBFA; }

/* Ernährung */
.meal-card { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; }
.photo { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 30% 25%, #4a3b2c, #1f1812); }
.plate { position: absolute; inset: 14% ; border-radius: 50%; background: radial-gradient(circle, #ececea 0 58%, #cfcfcc 60% 100%); box-shadow: 0 6px 14px rgba(0,0,0,.45); }
.plate i { position: absolute; border-radius: 50%; }
.plate .rice { width: 42%; height: 42%; left: 14%; top: 22%; background: #f6f1e0; }
.plate .fish { width: 34%; height: 24%; right: 14%; top: 32%; background: #f08a63; border-radius: 40%; }
.plate .veg { width: 30%; height: 30%; left: 36%; bottom: 14%; background: #4caf50; }
.scanline { position: absolute; left: 0; right: 0; height: 2px; top: 50%; background: var(--fg); box-shadow: 0 0 14px 3px rgba(255,255,255,.7); }
.meal-info h3 { font-size: 1.02rem; margin-bottom: 8px; }
.vals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.vals li { font-size: .78rem; color: var(--muted); }
.vals b { display: block; color: var(--fg); font-size: .98rem; }
.fuel { display: flex; align-items: flex-end; gap: 10px; height: 124px; }
.fuel .hr { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: .74rem; color: var(--muted); }
.fuel .hr i { display: block; width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.55)); transform-origin: bottom; }
.fuel .hr b { color: var(--fg); font-size: .82rem; order: -1; }
.fuel .hr i { order: 0; } .fuel .hr span { order: 1; }

/* Studien */
.bubble.static { max-width: 100%; }
.answer { font-size: 1.02rem; line-height: 1.55; }
.answer b { color: var(--fg); }
.source { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--well); font-size: .88rem; }
.source svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.source small { display: block; color: var(--muted); font-size: .72rem; }

/* Geräte, Schritte, Preise, Abschluss */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.pills li { padding: 12px 24px; border: .8px solid var(--card-line); border-radius: 999px; background: rgba(255,255,255,.06); font-weight: 650; }
.steps { display: grid; gap: 14px; margin-top: 52px; text-align: left; }
.steps li { padding: 24px; }
.steps .n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; background: var(--fg); color: #0B1220; font-weight: 750; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.band .sub + p { margin-top: 32px; }
.end { text-align: center; padding: 150px 20px 130px; position: relative; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 60%, rgba(47,91,255,.22), rgba(61,220,151,.10) 55%, transparent 75%); }
.end h2 { font-size: clamp(2.2rem, 6.4vw, 4.4rem); }
.end .pill-btn { margin-top: 36px; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 36px 20px 56px; border-top: .8px solid var(--card-line); color: var(--muted); font-size: .9rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---------- Kern-Szene mit Scroll-Bühne (nur Desktop mit Bewegung) ---------- */
@media (min-width: 960px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .js .core { height: 420vh; padding: 0 20px; max-width: none; }
  .js .core-pin { position: sticky; top: 0; height: 100vh; max-width: 1160px; margin: 0 auto; padding: 104px 0 28px; grid-template-rows: auto auto auto auto auto; align-content: center; gap: 0; }
  .js .core h2 { font-size: clamp(2rem, 4vw, 3rem); }
  .js .core-text { display: block; position: relative; height: 3.4em; margin: 14px auto 22px; width: min(640px, 100%); text-align: center; font-size: 1.15rem; color: var(--fg); }
  .js .tx { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
  .js .core[data-s="1"] .t1, .js .core[data-s="2"] .t2, .js .core[data-s="3"] .t3, .js .core[data-s="4"] .t4 { opacity: 1; transform: none; }
  .js .core[data-s="4"] .t4 { font-weight: 650; font-size: 1.5rem; letter-spacing: -.02em; }
  .js .core-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .js .core-cards .gcard { opacity: .18; transform: scale(.95) translateY(10px); filter: saturate(.3); transition: opacity .6s, transform .7s var(--ease), filter .6s, border-color .6s, box-shadow .6s; }
  .js .core.s1 .c1, .js .core.s2 .c2, .js .core.s3 .c3 { opacity: 1; transform: none; filter: none; }
  .js .core[data-s="1"] .c1 { border-color: rgba(47,91,255,.7); box-shadow: 0 0 60px -10px rgba(47,91,255,.5); }
  .js .core[data-s="2"] .c2 { border-color: rgba(61,220,151,.7); box-shadow: 0 0 60px -10px rgba(61,220,151,.5); }
  .js .core[data-s="3"] .c3 { border-color: rgba(122,77,255,.7); box-shadow: 0 0 60px -10px rgba(122,77,255,.55); }
  .js .stage-copy { display: none; }
  .js .flow { display: block; width: 100%; height: 76px; overflow: visible; }
  .js .flow path { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); vector-effect: non-scaling-stroke; }
  .js .core.s4 .flow path { stroke-dashoffset: 0; }
  .js .core.s4 .flow path:nth-child(2) { transition-delay: .15s; } .js .core.s4 .flow path:nth-child(3) { transition-delay: .3s; }
  .js .orb { display: grid; place-items: center; position: relative; width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; opacity: .25; transform: scale(.8); transition: opacity .7s, transform .8s var(--ease); }
  .js .orb::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 0deg, var(--light-blue), var(--light-green), var(--light-violet), var(--light-blue)); filter: blur(7px); animation: spin 6s linear infinite; }
  .js .orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #0c0c12; border: 1px solid rgba(255,255,255,.35); }
  .js .orb span { position: relative; z-index: 1; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
  .js .core.s4 .orb { opacity: 1; transform: none; }
  .js .weekstrip { max-width: 560px; margin: 18px auto 0; }
  .js .weekstrip li { opacity: 0; transform: translateY(14px); transition: opacity .5s calc(.5s + var(--i) * .09s), transform .6s var(--ease) calc(.5s + var(--i) * .09s); }
  .js .core.s4 .weekstrip li { opacity: 1; transform: none; }
  .js .finale { display: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bewegung (alles entfällt bei „Bewegung reduzieren“; Grundzustand ist der Endzustand) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lights i:nth-child(1) { animation: drift1 28s ease-in-out infinite alternate; }
  .lights i:nth-child(2) { animation: drift2 34s ease-in-out infinite alternate; }
  .lights i:nth-child(3) { animation: drift3 31s ease-in-out infinite alternate; }
  @keyframes drift1 { to { transform: translate(8vmax, 6vmax); } }
  @keyframes drift2 { to { transform: translate(-9vmax, 7vmax); } }
  @keyframes drift3 { to { transform: translate(7vmax, -8vmax); } }
  .hero h1 em { animation: hue 9s ease-in-out infinite alternate; }
  @keyframes hue { to { background-position: 100% 0; } }

  /* Einblenden */
  .js [data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; filter: none; transform: none; }
  .js .lone.l1[data-reveal].in { transform: rotate(-3deg); } .js .lone.l2[data-reveal].in { transform: translateY(14px) rotate(2deg); } .js .lone.l3[data-reveal].in { transform: rotate(-1.5deg) translateY(-6px); }
  .js .steps li[data-reveal] { transition-delay: calc(var(--i) * .12s); }
  .lone { animation: float 6s ease-in-out infinite alternate; }
  .lone.l2 { animation-duration: 7s; animation-delay: -2s; } .lone.l3 { animation-duration: 8s; animation-delay: -4s; }
  @keyframes float { to { translate: 0 -10px; } }

  /* Hero: spielt beim Laden */
  .js .hero-copy h1, .js .hero-copy .lead, .js .hero-copy .cta { animation: rise 1s var(--ease) backwards; }
  .js .hero-copy .lead { animation-delay: .12s; } .js .hero-copy .cta { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(10px); } }
  .js .hero-stage .gcard { animation: rise 1.1s var(--ease) backwards; }
  .js .hero-stage .f1 { animation-delay: .3s; } .js .hero-stage .f2 { animation-delay: .5s; } .js .hero-stage .f3 { animation-delay: .7s; }
  .js .hero-stage .gcard.hero-tier::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); background-size: 250% 100%; animation: shimmer 4s ease-in-out infinite 1.5s; pointer-events: none; }
  @keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
  .js .scroll-cue i { animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
  .js .profile i { animation: grow .7s var(--ease) backwards; animation-delay: calc(.9s + var(--k, 0) * .03s); }
  @keyframes grow { from { transform: scaleY(0); } }

  /* Kleine Animationen, die starten, wenn der Container sichtbar wird (.in) oder die Hero-Bühne lädt */
  .js .ring-val, .js .bar-fill, .js .draw, .js .donut .seg, .js .fuel .hr i, .js .phase, .js .form-line, .js .race, .js .race-line { animation-play-state: paused; }
  .js .in .ring-val, .js .in .bar-fill, .js .in .draw, .js .in .donut .seg, .js .in .fuel .hr i, .js .in .phase, .js .in .form-line, .js .in .race, .js .in .race-line, .js .core.s1 .c1 .draw, .js .core.s1 .c1 .line,
  .js .hero-stage .ring-val, .js .hero-stage .bar-fill { animation-play-state: running; }
  .js .ring-val { animation: ring 1.5s var(--ease) .35s backwards; }
  @keyframes ring { from { stroke-dasharray: 0 400; } }
  .js .bar-fill { animation: fillx 1.4s var(--ease) .4s backwards; }
  @keyframes fillx { from { transform: scaleX(0); } }
  .js .core .bar-fill { animation-play-state: paused; } .js .core.s3 .bar-fill, .js .core .c3.in .bar-fill { animation-play-state: running; }
  .js .core .ring-val { animation-play-state: paused; } .js .core.s2 .ring-val, .js .core .c2.in .ring-val { animation-play-state: running; }
  .js .chart .line { stroke-dasharray: 1; animation: draw 1.8s var(--ease) backwards; animation-play-state: paused; }
  .js .core.s1 .chart .line, .js .core .c1.in .chart .line { animation-play-state: running; }
  .js .chart .line.d2 { animation-delay: .15s; } .js .chart .line.d3 { animation-delay: .3s; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .js .donut .seg { animation: seg .9s var(--ease) backwards; animation-delay: calc(.2s + var(--i) * .12s); }
  @keyframes seg { from { opacity: 0; stroke-width: 0; } }
  .js .fuel .hr i { animation: grow .9s var(--ease) backwards; animation-delay: calc(.2s + var(--i) * .12s); }
  .js .season-svg .phase { animation: grow-x .8s var(--ease) backwards; animation-delay: calc(.1s + var(--i) * .12s); }
  @keyframes grow-x { from { transform: scaleX(0); } }
  .js .season-svg .form-line { stroke-dasharray: 1; animation: draw 2.6s var(--ease) .5s backwards; }
  .js .season-svg .form-area { opacity: 0; transition: opacity 1.4s 1.6s; } .js .in .season-svg .form-area { opacity: 1; }
  .js .season-svg .race, .js .season-svg .race-line { animation: fade .8s ease backwards; animation-delay: calc(1s + var(--i) * .35s); }
  @keyframes fade { from { opacity: 0; } }

  /* Chat-Ablauf (nach dem Einblenden der Szene) */
  .js .chat-scene .bubble { animation: pop .6s var(--ease) .3s backwards; animation-play-state: paused; }
  @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
    .js .chat-scene .coach-card { animation: rise .9s var(--ease) 1.2s backwards; animation-play-state: paused; }
  .js .chat-scene .miniweek { animation: rise .8s var(--ease) 2.2s backwards; animation-play-state: paused; }
  .js .chat-scene .mv-a { animation: swapa 1s var(--ease) 3.6s backwards; animation-play-state: paused; }
  .js .chat-scene .mv-b { animation: swapb 1s var(--ease) 3.6s backwards; animation-play-state: paused; }
  @keyframes swapa { from { transform: none; } } @keyframes swapb { from { transform: none; } }
  .js .chat-scene.in .bubble, .js .chat-scene.in .coach-card, .js .chat-scene.in .miniweek, .js .chat-scene.in .mv-a, .js .chat-scene.in .mv-b { animation-play-state: running; }

  /* Übertraining */
  .js .over-scene .swap .after { animation: rise .8s var(--ease) 2.2s backwards; animation-play-state: paused; }
  .js .over-scene.in .swap .after, .js .over-scene.in .coach-card { animation-play-state: running; }
  .js .over-scene .coach-card { animation: rise .9s var(--ease) .9s backwards; animation-play-state: paused; }
  .js .over-scene .ring-val { animation-duration: 1.6s; }

  /* Mahlzeit: Scan-Linie */
  .js .meal-card .scanline { animation: scan 2.4s ease-in-out .3s 2 both; animation-play-state: paused; }
  .js .meal-card .vals li { animation: rise .7s var(--ease) backwards; animation-delay: calc(1.2s + var(--k, 0) * .12s); animation-play-state: paused; }
  .js .in .meal-card .scanline, .js .meal-card.in .scanline, .js .in .meal-card .vals li { animation-play-state: running; }
  @keyframes scan { 0% { top: 6%; opacity: 1; } 50% { top: 92%; } 100% { top: 6%; opacity: 0; } }
}

/* Handy */
@media (max-width: 759px) {
  body { font-size: 16px; }
  .band, .problem { padding: 76px 16px; }
  .core { padding: 56px 16px; }
  .hero { padding: 104px 16px 56px; min-height: auto; }
  .ring-row { gap: 12px; }
  .meal-card { grid-template-columns: 92px 1fr; gap: 14px; }
  .zones-row { flex-direction: column; align-items: flex-start; }
  .end { padding: 100px 16px; }
  .weekstrip li, .miniweek li { padding: 8px 2px; font-size: .68rem; }
  .weekstrip b, .miniweek b { font-size: .66rem; }
}

/* ---------- Funktionen-Seite ---------- */
.pagehead { max-width: 900px; margin: 0 auto; padding: 150px 20px 30px; text-align: center; }
.pagehead h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
.pagehead h1 em { background: linear-gradient(90deg, #8DB4FF, #3DDC97 55%, #B79CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagehead .lead { margin: 22px auto 0; }
.beta { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--fg); font-size: .72rem; font-weight: 650; }
.chat-plain { display: grid; gap: 14px; }
.coach-card .source { margin-top: 14px; }
.insight .big { margin-bottom: 6px; }
.curve, .lact { width: 100%; height: auto; display: block; overflow: visible; }
.curve .line, .lact .line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.curve .dot { fill: #EC4899; stroke: #0b0b10; stroke-width: 1.5; }
.lact .dot { fill: var(--fg); stroke: #0b0b10; stroke-width: 1.5; }
.lact .g { stroke: rgba(255,255,255,.08); }
.lact .ax { fill: var(--muted); font-size: 10px; }
.lact .lt { stroke: rgba(255,255,255,.35); stroke-dasharray: 3 4; }
.lact .ltl rect { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.3); stroke-width: .8; }
.lact .ltl text { fill: var(--fg); font-size: 11px; font-weight: 700; }
.axis-note { margin-top: 4px; color: var(--muted); font-size: .76rem; text-align: center; }
.ftp-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--well); }
.ftp-row span:first-child { color: var(--muted); font-size: .84rem; margin-right: auto; }
.ftp-row b { font-size: 1.15rem; letter-spacing: -.01em; }
.bests { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.bests li { padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.06); text-align: center; }
.bests span { display: block; color: var(--muted); font-size: .7rem; }
.bests b { display: block; font-size: .86rem; }
.bests small { color: var(--muted); font-size: .66rem; }
.days { display: grid; gap: 12px; }
.day .dh { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.day .dh b { font-size: .98rem; }
.day .dh span { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.day .well { margin-top: 10px; padding: 10px; }
.day .profile { height: 54px; }
.status { display: grid; gap: 6px; margin-top: 10px; color: var(--muted); font-size: .8rem; }
.status .b { display: block; height: 5px; border-radius: 99px; background: rgba(255,255,255,.10); overflow: hidden; }
.status .b u { display: block; height: 100%; border-radius: 99px; background: var(--light-green); text-decoration: none; }
.status span { color: #8CE8BC; font-weight: 600; }
.libgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .libgrid { grid-template-columns: 1fr 1fr; } }
.lib { display: flex; flex-direction: column; gap: 6px; }
.lib .well { margin: 0 0 8px; padding: 10px; }
.lib .profile { height: 52px; }
.lib h3 { font-size: 1rem; }
.lib .why { color: #D6D6DA; font-size: .86rem; }
.datacards { grid-template-columns: 1fr; }
@media (min-width: 860px) { .datacards { grid-template-columns: repeat(3, 1fr); } }
.datacards li { padding: 24px; }
.datacards h3 { font-size: 1.15rem; margin-bottom: 8px; }
.datacards p { color: var(--muted); font-size: .96rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .in .chart .line { animation-play-state: running; }
  .js .curve .line, .js .lact .line { stroke-dasharray: 1; animation: draw 2s var(--ease) .3s backwards; animation-play-state: paused; }
  .js .in .curve .line, .js .in .lact .line { animation-play-state: running; }
  .js .curve .area { opacity: 0; transition: opacity 1.2s 1.4s; } .js .in .curve .area { opacity: 1; }
  .js .curve .dot, .js .lact .dot { animation: fade .6s ease backwards; animation-delay: calc(.6s + var(--i) * .14s); animation-play-state: paused; }
  .js .in .curve .dot, .js .in .lact .dot { animation-play-state: running; }
  .js .days .day { animation: rise .8s var(--ease) backwards; animation-play-state: paused; }
  .js .days .day:nth-child(2) { animation-delay: .1s; } .js .days .day:nth-child(3) { animation-delay: .2s; } .js .days .day:nth-child(4) { animation-delay: .3s; } .js .days .day:nth-child(5) { animation-delay: .4s; }
  .js .in .days .day { animation-play-state: running; }
  .js .status .b u { animation: fillx 1.2s var(--ease) .5s backwards; animation-play-state: paused; transform-origin: left; }
  .js .in .status .b u { animation-play-state: running; }
  .js .libgrid .lib .profile i, .js .days .profile i { animation-play-state: paused; }
  .js .in .libgrid .lib .profile i, .js .in .days .profile i { animation-play-state: running; }
}
@media (max-width: 759px) {
  .pagehead { padding-top: 120px; }
  .bests { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Ernährungs-Seite ---------- */
.addon-tag { margin-top: 24px; }
.addon-tag .tag { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips li { padding: 6px 14px; border: .8px solid var(--card-line); border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font-size: .84rem; font-weight: 600; }
.tgt { display: grid; gap: 18px; margin-top: 14px; }
.tgt .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: .88rem; }
.tgt .row span { color: var(--muted); }
.tgt .row b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter { position: relative; display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,.10); overflow: hidden; }
.meter u { display: block; width: var(--w); height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,.92)); text-decoration: none; transform-origin: left; }
.tgt .today .meter u { background: rgba(255,255,255,.28); }
.meter i { position: absolute; left: 0; top: 0; width: var(--w); height: 100%; border-radius: 99px; background: var(--fg); transform-origin: left; }
.leg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.leg3 li { padding: 10px 12px; border-radius: 12px; background: var(--well); }
.leg3 small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .72rem; }
.leg3 b { font-size: .92rem; white-space: nowrap; }
.periods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nuts { display: grid; gap: 14px; margin-top: 18px; }
.nuts li { display: grid; grid-template-columns: 88px minmax(0, 1fr) 3.6em; align-items: center; gap: 12px; font-size: .86rem; }
.nuts li > span:first-child { color: var(--muted); }
.nuts .meter { height: 8px; }
.nuts b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nuts .low .meter u { background: var(--warn); }
.nuts .low b { color: var(--warn); }
.tipcard .fb-text { margin: 0; }
.wgt .dot.raw { fill: rgba(255,255,255,.45); stroke: none; }
.mrows { margin-top: 12px; }
.mrows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: .8px solid rgba(255,255,255,.08); font-size: .9rem; }
.mrows li span { color: var(--muted); }
.mrows li b { font-variant-numeric: tabular-nums; }
.disclaimer { margin-top: 36px; color: var(--muted); font-size: .84rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .tgt .meter u, .js .tgt .meter i, .js .nuts .meter u { animation: fillx 1.2s var(--ease) .4s backwards; animation-play-state: paused; }
  .js .tgt li:nth-child(2) .meter u, .js .tgt li:nth-child(2) .meter i, .js .nuts li:nth-child(2) .meter u { animation-delay: .55s; }
  .js .tgt li:nth-child(3) .meter u, .js .nuts li:nth-child(3) .meter u { animation-delay: .7s; }
  .js .nuts li:nth-child(4) .meter u { animation-delay: .85s; } .js .nuts li:nth-child(5) .meter u { animation-delay: 1s; }
  .js .in .tgt .meter u, .js .in .tgt .meter i, .js .in .nuts .meter u { animation-play-state: running; }
  .js .leg3 li, .js .mrows li { animation: rise .8s var(--ease) 1s backwards; animation-play-state: paused; }
  .js .in .leg3 li, .js .in .mrows li { animation-play-state: running; }
}
@media (max-width: 759px) {
  .nuts li { grid-template-columns: 74px minmax(0, 1fr) 3.6em; gap: 10px; }
}

.sub-page .band { padding-top: 84px; padding-bottom: 84px; }
/* ---------- Preis-Seite ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sub-page .plans-band { padding: 24px 20px 0; }
.plancards { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 860px) { .plancards { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 30px 28px; }
.plan h2 { font-size: 1.3rem; letter-spacing: -.01em; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plan .price b { font-size: 2.2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price span, .plan .yearly { color: var(--muted); font-size: .92rem; }
.plan .yearly { margin-bottom: 22px; }
.plan .trial { margin: -10px 0 22px; color: #8CE8BC; font-size: .86rem; font-weight: 600; }
.plan a { margin-top: auto; align-self: flex-start; }
.sub-page .tbl-band { padding: 96px 20px 0; }
.tblwrap { max-width: 1040px; margin: 0 auto; }
.plans { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .96rem; }
.plans th, .plans td { padding: 16px 14px; text-align: center; border-top: .8px solid rgba(255,255,255,.07); }
.plans thead th { position: sticky; top: 92px; z-index: 2; padding: 22px 14px 18px; border-top: 0; background: rgba(6,6,9,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.plans thead th b { display: block; font-size: 1.15rem; letter-spacing: -.01em; }
.plans thead th small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 500; }
.plans tbody th { width: 36%; text-align: left; font-weight: 500; color: #D6D6DA; }
.plans tr.grp th { padding: 44px 14px 12px; border-top: 0; text-align: left; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.plans tr.grp td { border-top: 0; }
.plans tr.grp:first-child th { padding-top: 22px; }
.plans .hl { background: rgba(255,255,255,.055); border-left: .8px solid var(--card-line); border-right: .8px solid var(--card-line); }
.plans thead th.hl { background: rgba(26,26,32,.94); border-top: .8px solid var(--card-line); border-radius: 20px 20px 0 0; }
.plans tbody tr:last-child td.hl { border-bottom: .8px solid var(--card-line); border-radius: 0 0 20px 20px; }
.plans td.n { color: rgba(255,255,255,.28); }
.plans td.y::before { content: ""; display: inline-block; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; background: rgba(255,255,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F2F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.price-note { max-width: 1040px; margin: 22px auto 0; color: var(--muted); font-size: .84rem; text-align: center; }
.sub-page .addon-band { padding: 72px 20px 0; }
.addon-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; padding: 30px 32px; }
.addon-card h2 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.01em; }
.addon-card p { color: var(--muted); max-width: 640px; line-height: 1.55; }
.sub-page .faq-band { padding: 120px 20px 40px; }
.faq-grid { grid-template-columns: 1fr; max-width: 1040px; margin-left: auto; margin-right: auto; }
@media (min-width: 860px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-grid li { padding: 26px 28px; text-align: left; }
.faq-grid h3 { font-size: 1.05rem; margin-bottom: 10px; }
.faq-grid p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 759px) {
  .sub-page .tbl-band { padding-top: 72px; }
  .plans { font-size: .82rem; }
  .plans th, .plans td { padding: 13px 4px; }
  .plans thead th { top: 84px; padding: 16px 4px 14px; }
  .plans thead th small { display: none; }
  .plans thead th.hl { border-radius: 14px 14px 0 0; }
  .plans tbody tr:last-child td.hl { border-radius: 0 0 14px 14px; }
  .plans tbody th { width: 34%; padding-left: 0; }
  .plans tr.grp th { padding: 34px 0 10px; }
  .plans td.y::before { width: 22px; height: 22px; }
  .plan { padding: 26px 24px; }
  .sub-page .addon-band { padding-top: 56px; }
  .sub-page .faq-band { padding-top: 88px; }
}

/* ---------- Rhythmus: Abstände innerhalb der Karten und Abschnitte ---------- */
.gcard > .ctx { margin-bottom: 12px; }
.gcard > .ctx + .periods, .gcard > .ctx + .chips { margin-top: 0; }
.tgt { margin-top: 6px; }
.gcard h3 + .meta, .gcard h3 + p { margin-top: 4px; }
.meal-info .ctx { margin-bottom: 8px; }
.season-head { margin-bottom: 12px; }
.axis-note { margin-top: 10px; }
.gcard .big { margin-bottom: 8px; }
.gcard .big + .bar-track { margin-top: 14px; }
.gcard .bar-track + .note { margin-top: 14px; }
.ring-row { margin-top: 4px; }
.fuel + .note { margin-top: 14px; }

/* ---------- Rechtsseiten ---------- */
.sub-page .legal { max-width: 860px; padding: 140px 20px 40px; }
.legal-body { padding: 48px 52px; }
.legal-body { overflow-wrap: break-word; }
.legal-body p, .legal-body li { hyphens: auto; }
.legal-body h1 { font-size: clamp(1.6rem, 6.4vw, 3rem); margin-bottom: 24px; }
.legal-body h2 { margin: 2.4em 0 .6em; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.25; }
.legal-body h3 { margin: 1.7em 0 .4em; font-size: 1.05rem; line-height: 1.3; }
.legal-body p, .legal-body li { color: #D6D6DA; font-size: 1rem; line-height: 1.7; }
.legal-body p { margin-top: .7em; }
.legal-body h1 + p, .legal-body h2 + p, .legal-body h3 + p { margin-top: 0; }
.legal-body ul, .legal-body ol { margin: .7em 0 0; padding-left: 1.4em; }
.legal-body li + li { margin-top: .4em; }
.legal-body li::marker { color: var(--muted); }
.legal-body a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-color: var(--fg); }
.legal-body strong { color: var(--fg); }
.legal-body table { display: block; width: 100%; margin-top: 1em; overflow-x: auto; border-collapse: collapse; font-size: .92rem; }
.legal-body th, .legal-body td { padding: 11px 14px 11px 0; border-bottom: .8px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; color: #D6D6DA; line-height: 1.55; }
.legal-body th { color: var(--muted); font-size: .8rem; font-weight: 650; }
.legal-body .box { margin: 1.4em 0; padding: 18px 20px; border-radius: 14px; background: var(--well); }
.legal-body .box p:first-child { margin-top: 0; }
@media (max-width: 759px) {
  .sub-page .legal { padding-top: 120px; }
  .legal-body { padding: 30px 22px; }
}
.legal-note { margin: 0 0 28px; padding: 14px 18px; border-radius: 14px; background: var(--well); color: var(--muted); font-size: .9rem; line-height: 1.55; }
.legal-body .legal-note { margin-top: 0; color: var(--muted); font-size: .9rem; }

/* Handy-Menü: Hamburger öffnet ein Panel in voller Breite (ohne JS) */
.menu { flex: none; }
.menu summary { list-style: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.06); border: .8px solid var(--card-line); }
.menu summary::-webkit-details-marker { display: none; }
.menu svg { width: 22px; height: 22px; fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; }
.menu[open] svg path { d: path("M6 6l12 12M18 6L6 18"); }
.menu .panel { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); display: flex; flex-direction: column; gap: 4px; padding: 12px; border: .8px solid var(--card-line); border-radius: 24px; background: #0e0e15; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); pointer-events: auto; }
.menu .panel a:not(.pill-btn) { padding: 14px 16px; border-radius: 14px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.menu .panel a:not(.pill-btn):hover, .menu .panel a[aria-current] { background: rgba(255,255,255,.07); }
.menu .panel .pill-btn { margin-top: 8px; justify-content: center; text-align: center; }
@media (max-width: 759px) { .bar > .pill-btn { display: none; } }
@media (min-width: 760px) { .menu { display: none; } }
