/* Benchplate – Website (Neufassung Oktober 2026)
   Farben und Maße kommen aus der App (KalTracking/DesignSystem/Theme.swift), damit Seite und App
   wie ein Produkt wirken. Schrift: die Systemschrift (SF auf Apple-Geräten), Zahlen in SF Rounded. */

:root {
  --paper: #F7F6F2;
  --surface: #FFFFFF;
  --raised: #EFEEE8;
  --track: #E4E2DA;
  --ink: #111110;
  --ink-2: #62615C;
  --ink-3: #6E6D66;
  --line: rgba(17, 17, 16, .08);
  --yellow: #FFDE00;
  --yellow-soft: #FFF5BF;
  --protein: #E15A5A;
  --carbs: #3E8EDE;
  --fat: #E0A020;
  --ok: #2F9E6F;
  --warn: #E8622C;
  --warn-ink: #A9431A;
  --night: #111110;
  --night-2: #1C1C1A;
  --night-ink: #F4F3EF;
  --night-ink-2: #A9A8A1;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --r-card: 22px;
  --r-btn: 14px;
  --shadow: 0 1px 2px rgba(17,17,16,.04), 0 12px 32px -12px rgba(17,17,16,.14);
  --shadow-shot: 0 50px 90px -50px rgba(17,17,16,.45);
  --shadow-card: 0 34px 60px -26px rgba(17,17,16,.5);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }
#glScreens { position: fixed; inset: 0; z-index: 31; pointer-events: none; overflow: hidden; }
.glscreen { position: absolute !important; left: 0 !important; top: 0 !important; transform-origin: 0 0; visibility: hidden; overflow: hidden; border-radius: 82px; pointer-events: auto; will-change: transform; contain: layout paint; }
.glscreen::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.13) 44%, rgba(255,255,255,0) 58%) no-repeat;
  background-size: 300% 100%; background-position: calc(var(--sheen, .5) * 100%) 0; }
.has-gl #voicePhone { visibility: hidden; }
/* Dynamic Island auf den HTML-Displays (die liegen über dem 3D-Modell und würden die Insel sonst verdecken) */
.glscreen:not(.watch3d__screen):not(.label--bar)::before { content: ""; position: absolute; z-index: 10; left: 50%; top: 2.74%; width: 31.34%; height: 4.23%; translate: -50% 0; border-radius: 99px; background: #000; pointer-events: none; }
#voiceScreen.glscreen { --w: 644px; border-radius: 82px; }
#bgGrid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 45%, #000 38%, rgba(0,0,0,.35) 70%, transparent 100%); mask-image: radial-gradient(120% 95% at 50% 45%, #000 38%, rgba(0,0,0,.35) 70%, transparent 100%); }
/* Text über dem 3D-Layer (#gl, z 30), damit vorbeifliegende Objekte ihn nicht verdecken */
.res__data, .log__copy, .coach__copy, .goal__copy { position: relative; z-index: 35; }
.grid-dark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 50%, #000 30%, transparent 95%); mask-image: radial-gradient(110% 90% at 50% 50%, #000 30%, transparent 95%); }
.coach__grid { position: relative; }
.priv__stage > :not(.grid-dark) { position: relative; z-index: 1; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { padding-block: clamp(96px, 14vw, 180px); }
.center { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Typo ---------- */
.h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 24px;
  text-wrap: balance;
}
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 28px; font-weight: 750; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; text-wrap: pretty; }
.fine { font-size: 14px; color: var(--ink-3); max-width: 40em; margin: 18px 0 0; }
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.num { font-family: var(--round); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 0;
  font-weight: 650; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--yellow:hover { background: #FFE52E; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }
.store img { height: 50px; width: auto; }
.store--lg img { height: 60px; }
.store { display: inline-block; border-radius: 10px; transition: transform .2s var(--ease); }
.store:hover { transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 12px 12px auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 58px; padding: 0 10px 0 14px; border-radius: 18px;
  background: rgba(247, 246, 242, .72);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 0 0 1px var(--line), 0 8px 30px -18px rgba(0,0,0,.25);
  transition: transform .45s var(--ease), background-color .3s;
  max-width: 1180px; margin-inline: auto;
}
.nav.is-hidden { transform: translateY(-120%); }
.nav.is-dark { background: rgba(28, 28, 26, .7); color: var(--night-ink); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -0.01em; }
.nav__brand img { border-radius: 8px; }
.nav__icon { position: relative; width: 30px; height: 30px; }
.nav__icon svg { position: absolute; inset: -3px; width: 36px; height: 36px; transform: rotate(-90deg); overflow: visible; }
.nav__icon circle { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0 100; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 10px; color: inherit; opacity: .8; white-space: nowrap; }
/* Fünf Punkte seit „Für Trainer“: zwischen Handy und Laptop etwas enger, damit nichts umbricht */
@media (min-width: 761px) and (max-width: 940px) { .nav__links { gap: 0; } .nav__links a { padding: 8px 8px; font-size: 14px; } }
.nav__links a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.nav__end { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; border: 0; background: rgba(127,127,127,.14); cursor: pointer; font-size: 13px; font-weight: 650; }
.lang span { padding: 4px 7px; border-radius: 7px; opacity: .8; }
.lang span.is-on { background: var(--surface); color: var(--ink); opacity: 1; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
@media (max-width: 760px) { .nav__links { display: none; } .nav { inset: 8px 8px auto; height: 54px; } }
/* Sehr schmale Handys (320 px, iPhone SE 1): sonst ragt „Laden“ 8 px über den Rand und die Seite scrollt seitlich (30.10.2026) */
@media (max-width: 360px) { .nav { gap: 8px; padding: 0 8px 0 10px; } .nav__brand { gap: 8px; } .nav__end { gap: 6px; } .nav__end .btn--sm { padding: 0 12px; } }

/* ---------- Phone frame (CSS) ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 1000 / 2099;
  border-radius: calc(var(--w) * .16);
  padding: calc(var(--w) * .032);
  background: #0c0c0c;
  box-shadow:
    0 0 0 calc(var(--w) * .008) #8f8b84,
    0 0 0 calc(var(--w) * .013) #c9c5bd,
    0 40px 80px -30px rgba(17,17,16,.45),
    0 18px 30px -18px rgba(17,17,16,.35);
}
.phone::before { /* Dynamic Island */
  content: ""; position: absolute; z-index: 3; left: 50%; top: calc(var(--w) * .052); translate: -50% 0;
  width: calc(var(--w) * .28); height: calc(var(--w) * .082); border-radius: 99px; background: #000;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: var(--paper); }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 1 · Einstieg ============ */
.hero { position: relative; height: 420vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__copy {
  position: absolute; z-index: 4; left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); top: 50%; translate: 0 -50%;
  width: min(560px, 44vw);
}
.hero__title { font-size: clamp(48px, 7.4vw, 112px); line-height: .96; letter-spacing: -0.045em; font-weight: 850; margin: 0 0 26px; text-wrap: balance; }
.hero__title .line { display: inline; }
.hero__lead { font-size: clamp(18px, 1.55vw, 21px); color: var(--ink-2); margin: 0 0 30px; max-width: 30em; }
.hero__cta { --bh: 50px; display: flex; align-items: center; gap: 14px 12px; flex-wrap: wrap; }
.hero__cta .store img { height: var(--bh); }
.hero__note { flex-basis: 100%; font-size: 15px; color: var(--ink-2); }
/* Google Play, solange es Android dort noch nicht gibt: gleiche Höhe und Ecken wie das App-Store-Badge, aber nur
   umrandet (nicht verfügbar), kein Link */
.soon {
  display: inline-flex; align-items: center; gap: calc(var(--bh, 50px) * .17);
  height: var(--bh, 50px); padding: 0 calc(var(--bh, 50px) * .3) 0 calc(var(--bh, 50px) * .26);
  border-radius: calc(var(--bh, 50px) * .21); box-shadow: inset 0 0 0 1.5px rgba(17, 17, 16, .24);
  background: rgba(255, 255, 255, .5); color: var(--ink); cursor: default; user-select: none; -webkit-user-select: none;
}
.soon__logo { width: calc(var(--bh, 50px) * .4); height: auto; flex: none; }
.soon__txt { display: flex; flex-direction: column; line-height: 1.02; white-space: nowrap; }
.soon__txt small { font-size: calc(var(--bh, 50px) * .22); font-weight: 500; color: var(--ink-2); }
.soon__txt b { font-size: calc(var(--bh, 50px) * .4); font-weight: 600; letter-spacing: -.015em; }

.hero__visual {
  --box: min(78vh, 52vw);
  position: absolute; z-index: 2; width: var(--box); height: var(--box);
  left: 66%; top: 52%; translate: -50% -50%;
  will-change: transform;
}
.hero__plate { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__shadow { position: absolute; z-index: 0; left: 18%; right: 18%; bottom: -2%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(17,17,16,.22), rgba(17,17,16,0)); filter: blur(6px); }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; z-index: 3; }
.ring-track { fill: none; stroke: #DCAC22; stroke-width: 280; }   /* = Gummifläche der frontalen Scheibe (f_071), dort übernimmt der Ring */
.ring-fill { fill: none; stroke: var(--ink); stroke-width: 34.16; stroke-linecap: round; stroke-dasharray: 0 100; opacity: 0; }
.ring-num { font-family: var(--round); font-weight: 800; font-size: 178px; fill: var(--ink); letter-spacing: -2px; opacity: 0; font-variant-numeric: tabular-nums; }
/* Beschriftung und Trainings-Pille: Ausschnitte aus dem echten Heute-Screen, in Ring-Einheiten platziert
   (1 Pixel des Screenshots = 0,080556 % der Bühne, Ringmitte = 50 % / 50 %) */
.hero__label, .hero__pill { position: absolute; z-index: 4; height: auto; opacity: 0; pointer-events: none; }
.hero__label { left: 35.258%; top: 53.746%; width: 29.806%; }
.hero__pill { left: 34.453%; top: 60.593%; width: 31.014%; }
.hero__phone {
  position: absolute; left: 50%; top: 50%;
  /* Ring im Screenshot: Mitte (603 | 748,5 px), Mittellinie r = 360 px. Bühne: r = 0,29 → 1 px = 0,00080556 Bühne.
     Bildschirm 1206 px = 0,9715 Bühne, Handy mit 3,2 % Rand = 1,03793 Bühne; Ringmitte liegt 0,63617 Bühne unter der Handy-Oberkante. */
  --w: calc(var(--box) * 1.03793);
  translate: -50% calc(var(--box) * -0.63617);
  opacity: 0; z-index: 2;
}
.hero__captions { position: absolute; z-index: 5; left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); top: 50%; translate: 0 -50%; width: min(480px, 40vw); pointer-events: none; }
.cap { position: absolute; top: 0; left: 0; margin: 0; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; opacity: 0; translate: 0 -50%; text-wrap: balance; }
.cap b { background: var(--yellow); padding: 0 .12em; border-radius: .12em; }
.cap[data-cap="2"] { font-size: clamp(24px, 2.6vw, 36px); font-weight: 750; }
.scrollhint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 99px; box-shadow: inset 0 0 0 2px rgba(17,17,16,.35); }
.scrollhint span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .hero { height: 380vh; }
  .hero__copy { left: var(--gut); right: var(--gut); width: auto; top: 96px; translate: 0 0; }
  .hero__title { font-size: clamp(42px, 12vw, 60px); margin-bottom: 14px; }
  .hero__lead { font-size: 17px; margin-bottom: 18px; }
  .hero__cta { gap: 12px; }
  .hero__visual { --box: min(78vw, 46svh); left: 50%; top: auto; bottom: 4svh; translate: -50% 0; }
  .hero__captions { left: var(--gut); right: var(--gut); width: auto; top: 110px; translate: 0 0; }
  .cap { translate: 0 0; font-size: clamp(30px, 9vw, 42px); }
  .cap[data-cap="2"] { font-size: 24px; }
  .scrollhint { display: none; }
}

/* ============ 2 · Volle Auflösung ============ */
.res { position: relative; height: 420vh; }
.res__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; padding-top: 70px;
}
.res__stage { z-index: 35; }   /* über dem 3D-Layer: die Kacheln fliegen hinter dem Text */
.res__data { position: relative; }
.res__wall { height: min(76vh, 760px); }
.res__title { position: relative; display: grid; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 850; margin: 0 0 18px; }
.res__t { grid-area: 1 / 1; text-wrap: balance; }
.res__t--b { opacity: 0; }
.res__count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; opacity: 0; }
.res__count b { font: 800 clamp(64px, 7.4vw, 124px)/.9 var(--round); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.res__count span { font-size: 18px; color: var(--ink-2); font-weight: 600; }
.res__src { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.res__hint { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
@media (hover: none) { .res__hint { display: none; } }
.res__tap { display: none; font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
@media (hover: none) { .res__tap { display: block; } }
.res__tip { position: fixed; left: 0; top: 0; z-index: 32; pointer-events: none; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 12px 14px 10px; min-width: 170px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.res__tip b { display: block; font-size: 14px; }
.res__tip span { display: block; font: 750 24px/1.15 var(--round); }
.res__tip i { display: block; height: 4px; border-radius: 4px; margin: 8px 0 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.res__tip i::after { content: ""; display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--yellow); }
.res__tip small { font-size: 12px; color: #BDBCB6; }
@media (max-width: 900px) {
  .res { height: 380vh; }
  .res__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 86px; gap: 8px; }
  .res__title { font-size: 30px; margin-bottom: 8px; }
  .res__count b { font-size: 54px; }
  .res__src { display: none; }
  .res__wall { height: auto; min-height: 0; align-self: stretch; margin-bottom: 4svh; }
}

/* ============ 3 · Eintragen ============ */
.log__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 0; cursor: pointer; text-align: left;
  padding: 12px 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 18px -12px rgba(0,0,0,.2);
  font-size: 16px; font-weight: 550; line-height: 1.3;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .2s;
}
.chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(17,17,16,.16), 0 10px 24px -12px rgba(0,0,0,.28); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip::before { content: "“"; margin-right: 2px; opacity: .45; }
.chip::after { content: "”"; margin-left: 1px; opacity: .45; }
.log__device { display: flex; justify-content: center; }
.own { margin-top: 26px; max-width: 560px; }
.own__label { display: block; font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.own__row { display: flex; gap: 8px; align-items: center; background: var(--surface); border-radius: 16px; padding: 6px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px -16px rgba(0,0,0,.25); }
.own__row:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 8px 24px -16px rgba(0,0,0,.25); }
.own__input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 16px/1.3 var(--sans); padding: 10px 10px; color: var(--ink); outline: none; }
.own__input::placeholder { color: var(--ink-3); }
/* Tastaturfokus sichtbar wie bei allen anderen Bedienelementen (outline: none oben gilt nur ohne Fokus) */
.own__input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.own__mic { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--raised); display: grid; place-items: center; cursor: pointer; }
.own__mic svg { width: 20px; height: 20px; fill: var(--ink); }
.own__mic.is-rec { background: var(--yellow); animation: pulse 1s var(--ease) infinite; }
.own__go { flex: none; }
.own__note { font-size: 13px; color: var(--ink-3); margin: 8px 2px 0; }
.phone--live { --w: min(340px, 78vw); }
.vs { display: flex; flex-direction: column; padding: calc(var(--w) * .16) calc(var(--w) * .05) calc(var(--w) * .05); background: var(--paper); font-size: calc(var(--w) * .043); }
.vs__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 1.1em; }
.vs__bar span:first-child { justify-self: start; background: var(--surface); padding: .45em .9em; border-radius: 99px; font-size: .9em; box-shadow: 0 0 0 1px var(--line); }
.vs__bar b { font-size: 1.05em; }
.vs__mic { position: relative; display: flex; align-items: center; gap: .8em; background: var(--surface); border-radius: 1.2em; padding: .7em; box-shadow: 0 0 0 1px var(--line); }
.vs__btn { position: relative; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; border: 0; background: var(--yellow); display: grid; place-items: center; cursor: pointer; }
.vs__btn svg { width: 1.3em; height: 1.3em; fill: var(--ink); }
.vs__btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; }
.is-listening .vs__btn::after { animation: ping 1s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.vs__wave { display: flex; align-items: center; gap: 3px; height: 2em; flex: 1; }
.vs__wave i { flex: 1; height: 12%; border-radius: 3px; background: var(--ink-3); opacity: .45; transition: height .12s; }
.vs__text { min-height: 3.6em; margin: .9em .2em .6em; font-size: 1.12em; line-height: 1.35; font-weight: 600; color: var(--ink); }
.vs__text.is-hint { color: var(--ink-3); font-weight: 500; }
.vs__text .w { display: inline-block; opacity: 0; transform: translateY(.3em); transition: opacity .25s, transform .25s var(--ease); }
.vs__text .w.on { opacity: 1; transform: none; }
.vs__label { display: flex; justify-content: space-between; font-size: .82em; color: var(--ink-2); font-weight: 650; margin: 0 .2em .4em; }
.vs__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.vs__rows li { display: grid; grid-template-columns: 2.3em 1fr auto; gap: .7em; align-items: center; background: var(--surface); border-radius: 1em; padding: .6em .7em; box-shadow: 0 0 0 1px var(--line); opacity: 0; transform: translateY(14px) scale(.98); }
.vs__rows li.on { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease); }
.vs__rows .ic { width: 2.3em; height: 2.3em; border-radius: .7em; background: var(--yellow-soft); display: grid; place-items: center; font-size: 1.1em; }
.vs__rows b { display: block; font-size: .98em; }
.vs__rows small { display: block; color: var(--ink-2); font-size: .8em; }
.vs__rows .q { font: 650 .92em/1 var(--round); background: var(--raised); padding: .45em .6em; border-radius: .6em; white-space: nowrap; }
.vs__sum { display: flex; justify-content: center; gap: 1em; margin: auto 0 .6em; padding-top: .8em; font: 600 .82em/1 var(--round); color: var(--ink-2); }
.vs__add { background: var(--yellow); border-radius: 1em; text-align: center; padding: .95em; font-weight: 700; transition: transform .3s var(--ease); }
.vs__add.pulse { animation: pulse .6s var(--ease); }
@keyframes pulse { 50% { transform: scale(1.04); } }

.ways { margin-top: clamp(80px, 10vw, 140px); }
.ways__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.ways__list li { display: flex; flex-direction: column; gap: 6px; }
.ways__list b { font-size: 17px; letter-spacing: -0.01em; }
.ways__list span { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); margin-bottom: 8px; position: relative; }
.ico::after { content: ""; position: absolute; inset: 11px; background: var(--yellow); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--scan { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7V4a1 1 0 0 1 1-1h3M17 3h3a1 1 0 0 1 1 1v3M21 17v3a1 1 0 0 1-1 1h-3M7 21H4a1 1 0 0 1-1-1v-3M7 8v8M10 8v8M13 8v8M17 8v8' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico--photo { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8a2 2 0 0 1 2-2h2l1.5-2h5L16 6h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z' stroke='%23000' stroke-width='2' fill='none' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12.5' r='3.5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ico--label { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='2' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico--repeat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6L20 9M20 4v5h-5M20 12a8 8 0 0 1-13.7 5.6L4 15M4 20v-5h5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ico--siri { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h2M7 8v8M11 5v14M15 8v8M19 10v4M21 12h0' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 1000px) { .ways__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .log__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ways__list { grid-template-columns: 1fr; gap: 22px; } .ways__list li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; } .ways__list .ico { grid-row: span 2; margin: 0; } }

/* ============ 4 · Ziel ============ */
.goal { background: transparent; }
.goal__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.goal__controls { display: grid; gap: 18px; margin-bottom: 8px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--raised); border-radius: 14px; width: fit-content; }
.seg button { border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font-size: 15px; font-weight: 650; cursor: pointer; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pace { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font-weight: 650; font-size: 15px; max-width: 460px; }
.pace output { font: 700 16px/1 var(--round); min-width: 8.5em; text-align: right; font-variant-numeric: tabular-nums; }
.pace.is-off { opacity: .35; pointer-events: none; }
/* 320 px: Ziel-Knöpfe und Tempo-Zeile waren 8 px breiter als der Bildschirm (30.10.2026) */
@media (max-width: 360px) { .seg button { padding: 10px 11px; font-size: 14px; } .pace { gap: 10px; } .pace input[type="range"] { min-width: 0; width: 100%; } .pace output { min-width: 0; } }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--ink) var(--fill, 40%), var(--track) var(--fill, 40%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); cursor: grab; }
.chart { background: var(--paper); border-radius: var(--r-card); padding: 22px 22px 16px; box-shadow: 0 0 0 1px var(--line); }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); font-weight: 600; margin: 4px 0 8px; }
.chart__head b { font: 750 18px/1 var(--round); color: var(--ink); font-variant-numeric: tabular-nums; }
.chart svg { width: 100%; height: auto; overflow: visible; }
#weightSvg { aspect-ratio: 600 / 200; margin-bottom: 14px; }
#kcalSvg { aspect-ratio: 600 / 170; }
.chart__weeks { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.pill { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: var(--yellow-soft); font-size: 15px; font-weight: 550; }
@media (max-width: 860px) { .goal__grid { grid-template-columns: 1fr; } .chart__head { flex-wrap: wrap; gap: 4px 12px; } .chart__head b { font-size: 16px; white-space: nowrap; } .chart { padding: 18px 16px 14px; } }

/* ============ 5 · Coach ============ */
.coach { position: relative; height: 480vh; background: var(--night); color: var(--night-ink); }
.coach__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.coach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.coach .lead { color: var(--night-ink-2); }
.coach .fine { color: #8C8B84; max-width: 30em; }
.coach__qs { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; gap: 4px; border-left: 2px solid #2E2E2B; }
.coach__qs li { position: relative; padding: 8px 0 8px 18px; font-size: 17px; font-weight: 600; color: #6F6E68; transition: color .4s var(--ease); }
.coach__qs li::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--yellow); transform: scaleY(0); transition: transform .5s var(--ease); }
.coach__qs li.is-on { color: var(--night-ink); }
.coach__qs li.is-on::before { transform: scaleY(1); }
.coach__3d { position: relative; height: min(92vh, 940px); aspect-ratio: 1000 / 1400; justify-self: center; }
.coach__screen { background: var(--paper); }
.coach__screen > img { display: block; width: 100%; height: auto; }
.coach__view { position: relative; height: 902px; overflow: hidden; }
.coach__view img { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.coach__view::before, .coach__view::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.coach__view::before { top: 0; height: 7%; background: linear-gradient(var(--paper), rgba(247, 246, 242, 0)); opacity: var(--top, 0); }
.coach__view::after { bottom: 0; height: 5%; background: linear-gradient(rgba(247, 246, 242, 0), rgba(247, 246, 242, .92)); }
html:not(.has-gl) .coach__screen { position: absolute; left: 0; top: 0; width: 603px; height: 1311px; transform-origin: 0 0; transform: scale(var(--fit, .5)); border-radius: 82px; overflow: hidden; }
@media (max-width: 860px) {
  .coach { height: 420vh; }
  .coach__stage { align-items: flex-start; padding-top: 78px; }
  .coach__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .coach .h2 { font-size: 30px; margin-bottom: 6px; }
  .coach .lead, .coach .fine { display: none; }
  .coach__qs { margin: 4px 0 0; border: 0; min-height: 2.6em; display: block; position: relative; }
  .coach__qs li { position: absolute; inset: 0 auto auto 0; padding: 0; font-size: 15px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
  .coach__qs li::before { display: none; }
  .coach__qs li.is-on { opacity: 1; transform: none; color: var(--yellow); }
  .coach__3d { --cw: min(150vw, calc((100svh - 170px) * .714), 620px); height: auto; width: var(--cw); margin: -2svh 0 0 calc(50% - var(--cw) / 2); justify-self: start; }
}

/* ============ 5b · Für Trainer ============
   Ein Blick ins echte Dashboard (erfundener Trainer, Beispieldaten), davor die QR-Karte,
   die Trainer selbst erstellen. Keine eigene Animation: der Abschnitt steht ruhig zwischen Coach und Rezepten. */
.trainer { background: transparent; }
.trainer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.trainer__facts { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 18px; max-width: 32em; }
.trainer__facts li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 16px; }
/* Der offene Ring aus dem App-Icon als Aufzählungszeichen */
.trainer__facts li::before { content: ""; width: 15px; height: 15px; margin-top: .3em; border-radius: 50%; border: 3px solid var(--ink); border-left-color: var(--yellow); transform: rotate(-45deg); }
.trainer__facts b { display: block; font-weight: 700; letter-spacing: -0.01em; }
.trainer__facts span { display: block; color: var(--ink-2); font-size: 17px; }
.trainer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trainer__fine { max-width: 34em; }
.trainer__shot { position: relative; margin: 0 0 6% 4%; }
.trainer__win { margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-shot); }
.trainer__win img { width: 100%; height: auto; }
.trainer__bar { display: flex; align-items: center; height: 38px; padding: 0 14px; background: var(--raised); border-bottom: 1px solid var(--line); }
.trainer__dots { display: flex; gap: 6px; width: 54px; }
.trainer__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--track); }
.trainer__url { margin-inline: auto; padding: 3px 14px; border-radius: 8px; background: var(--surface); font-size: 12.5px; color: var(--ink-2); translate: -27px 0; }
.trainer__card { position: absolute; left: -8%; bottom: -10%; width: 34%; height: auto; border-radius: 16px; transform: rotate(-5deg); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
@media (max-width: 860px) {
  .trainer__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .trainer__shot { margin: 0 0 10% 6%; }
  .trainer__card { width: 38%; left: -7%; }
  .trainer__url { translate: none; font-size: 11.5px; }
  .trainer__dots { width: auto; margin-right: 10px; }
}

/* ============ 6 · Rezepte ============ */
.recipes { padding-top: 0; overflow: hidden; }
.marquee { margin: 0 0 clamp(40px, 6vw, 90px); padding-top: clamp(60px, 8vw, 110px); perspective: 1300px; perspective-origin: 50% 30%; }
.marquee__wall { display: grid; gap: 14px; transform: rotateX(16deg) rotateZ(-6deg) scale(1.12); transform-origin: 50% 80%; will-change: transform; }
.marquee__row img { transition: transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .45s; }
@media (pointer: fine) { .marquee__row img:hover { transform: scale(1.12) rotate(-2deg); box-shadow: 0 30px 50px -20px rgba(17,17,16,.5); position: relative; z-index: 2; } }
.marquee__row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.marquee__row img { width: clamp(150px, 15vw, 220px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: var(--raised); }
.recipes__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 26px; }
.recipes__head .lead { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button { border: 0; cursor: pointer; padding: 9px 14px; border-radius: 99px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.filters button small { margin-left: 4px; opacity: .55; font: 600 13px var(--round); }
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rc { position: relative; border: 0; padding: 0; text-align: left; background: var(--surface); border-radius: var(--r-card); overflow: hidden; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s; }
.rc:hover { box-shadow: 0 0 0 1px var(--line), 0 30px 50px -28px rgba(17,17,16,.45); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .rc:hover { transform: translateY(-4px); } }
.rc__img { position: relative; display: block; overflow: hidden; }
.rc img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.rc:hover img { transform: scale(1.07); }
/* Nährwert-Chips springen beim Hovern aus dem Foto */
.rc__chips { position: absolute; right: 10px; top: 10px; display: grid; justify-items: end; gap: 6px; pointer-events: none; }
.rc__chips i { font: 750 12px/1 var(--round); font-style: normal; padding: 6px 9px; border-radius: 99px; color: #fff; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35); opacity: 0; transform: translate3d(10px, 14px, 0) scale(.5) rotate(-8deg); transition: transform .45s cubic-bezier(.3,1.7,.5,1), opacity .25s; }
.rc__chips .k { background: var(--yellow); color: var(--ink); }
.rc__chips .p { background: var(--protein); } .rc__chips .c { background: var(--carbs); } .rc__chips .f { background: var(--fat); color: var(--ink); }
.rc:hover .rc__chips i, .rc.is-pick .rc__chips i { opacity: 1; transform: none; }
.rc:hover .rc__chips i:nth-child(2), .rc.is-pick .rc__chips i:nth-child(2) { transition-delay: .05s; }
.rc:hover .rc__chips i:nth-child(3), .rc.is-pick .rc__chips i:nth-child(3) { transition-delay: .1s; }
.rc:hover .rc__chips i:nth-child(4), .rc.is-pick .rc__chips i:nth-child(4) { transition-delay: .15s; }
.rc.is-pick { box-shadow: 0 0 0 3px var(--yellow), 0 30px 60px -30px rgba(17,17,16,.6); }
.dice { border: 0; cursor: pointer; padding: 9px 14px; border-radius: 99px; background: var(--yellow); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.1); }
.dice span { display: inline-block; font-size: 17px; }
.rc div { padding: 12px 14px 14px; }
.rc b { display: block; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 6px; }
.rc span { display: flex; gap: 10px; font: 600 13px/1 var(--round); color: var(--ink-2); flex-wrap: wrap; }
.rc span em { font-style: normal; color: var(--protein); }
.rc.new { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 1000px) { .rgrid { grid-template-columns: repeat(3, 1fr); } .recipes__head { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .rc b { font-size: 14px; } }

.kit { position: relative; margin-top: clamp(96px, 12vw, 160px); }
.kit__track { display: flex; gap: clamp(8px, 1.6vw, 24px); padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); width: max-content; padding-block: 10px 30px; }
@media (min-width: 861px) { .kit__track { padding-right: 34vw; } }
.kit__card { width: clamp(230px, min(24vw, 34vh), 320px); flex: none; }
.kit__card h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.kit__card p { margin: 0; color: var(--ink-2); font-size: 16px; }
/* 3D-Handy: Canvas etwas breiter als die Karte, das Handy selbst füllt knapp 90 % */
.kit__3d, .panel__3d { position: relative; aspect-ratio: 440 / 834; }
.kit__3d { width: 124%; margin: 0 -12% 14px; }
.kit__card { cursor: pointer; }
@media (max-width: 860px) {
  .kit { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 8px; }
  .kit::-webkit-scrollbar { display: none; }
  .kit__card { scroll-snap-align: center; width: 58vw; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(17,17,16,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__card { position: relative; width: min(980px, 100%); max-height: min(88vh, 900px); overflow: auto; overscroll-behavior: contain; background: var(--paper); border-radius: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); box-shadow: 0 40px 100px -40px rgba(0,0,0,.6); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.modal__img { position: sticky; top: 0; align-self: start; }
.modal__body { padding: 30px 30px 34px; }
.modal__body h3 { font-size: 30px; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 8px; }
.modal__body h4 { font-size: 15px; margin: 24px 0 10px; }
.modal__sum { color: var(--ink-2); margin: 0 0 6px; }
.modal__meta { font: 600 14px var(--round); color: var(--ink-3); margin: 0 0 16px; }
.modal__macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.modal__nut { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.modal__nut .nut { opacity: 1; transform: none; }
.modal__ing { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 16px; font-size: 15px; }
.modal__ing li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.modal__ing li b { font: 600 14px var(--round); color: var(--ink-2); }
.modal__x { position: absolute; z-index: 2; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
@media (max-width: 760px) {
  .modal { padding: 0; align-items: end; }
  .modal__card { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 92svh; }
  .modal__img { position: relative; }
  .modal__img img { aspect-ratio: 16 / 10; }
  .modal__macros { grid-template-columns: repeat(2, 1fr); }
  .modal__ing { columns: 1; }
}

/* ============ 7 · Unverträglichkeiten ============ */
.allergy { background: transparent; }
.allergy__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
/* Kacheln wie im Erststart der App */
.allg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 8px; }
.allg { position: relative; display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border: 0; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(17,17,16,.3); cursor: pointer; font: inherit; color: var(--ink); transition: background-color .3s, box-shadow .3s; }
.allg__em { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; transition: background-color .3s; }
.allg__em i { font-style: normal; font-size: 30px; line-height: 1; display: block; }
.allg__l { font-size: 13px; font-weight: 650; text-align: center; line-height: 1.2; }
.nosign { position: absolute; inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); overflow: visible; pointer-events: none; }
.nosign circle, .nosign line { fill: none; stroke: #E5484D; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .35s var(--ease); }
.nosign circle { transform: rotate(-45deg); transform-origin: 50% 50%; }
.nosign line { transition-delay: .18s; }
.allg[aria-pressed="true"] { background: #FFF0EF; box-shadow: 0 0 0 1.5px rgba(229,72,77,.6), 0 14px 30px -16px rgba(229,72,77,.6); }
.allg[aria-pressed="true"] .allg__em { background: var(--surface); }
.allg[aria-pressed="true"] .nosign circle, .allg[aria-pressed="true"] .nosign line { stroke-dashoffset: 0; }
.allg[aria-pressed="true"] .allg__em i { filter: saturate(.7); }
.allg[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #E5484D; opacity: 0; animation: blockpulse .6s var(--ease); pointer-events: none; }
@keyframes blockpulse { from { opacity: .9; transform: scale(.94); } to { opacity: 0; transform: scale(1.12); } }
.allg__ok { position: absolute; right: -4px; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.allg--way[aria-pressed="true"] { background: var(--yellow-soft); box-shadow: 0 0 0 1.5px var(--ink); }
.allg--way[aria-pressed="true"] .allg__ok { transform: scale(1); }
.allg--way[aria-pressed="true"]::after { border-color: var(--yellow); }
.allg__bubble { display: flex; align-items: flex-end; gap: 10px; margin-top: 22px; }
.allg__bubble img { width: 64px; height: auto; flex: none; }
.allg__bubble p { margin: 0 0 8px; padding: 12px 15px; border-radius: 18px 18px 18px 5px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 12px 26px -16px rgba(17,17,16,.35); font-size: 15px; font-weight: 550; max-width: 30em; }
/* Scanner */
.scan { position: relative; border-radius: 28px; padding: 16px; background: var(--ink); color: var(--night-ink); box-shadow: 0 40px 80px -40px rgba(17,17,16,.6); overflow: hidden; }
.scan__head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; font-size: 15px; }
.scan__head b { font-weight: 700; }
.scan__head span:last-child { margin-left: auto; font: 700 13px/1 var(--round); padding: 6px 10px; border-radius: 99px; }
.scan__head .is-warn { background: #E5484D; color: #fff; }
.scan__head .is-ok { background: rgba(47,158,111,.25); color: #8FE3BC; }
.scan__dot { width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: recdot 1.4s infinite; }
@keyframes recdot { 50% { opacity: .3; } }
.scan__list { display: grid; gap: 8px; }
.scan .prod { display: grid; gap: 12px; align-items: center; background: #1E1E1C; box-shadow: 0 0 0 1px rgba(255,255,255,.06); color: var(--night-ink); grid-template-columns: 46px 1fr auto; padding: 9px 12px; border-radius: 16px; transition: background-color .3s, box-shadow .3s; }
.scan .prod .em { width: 46px; height: 46px; background: #2A2A27; font-size: 23px; border-radius: 13px; display: grid; place-items: center; }
.scan .prod b { display: block; }
.scan .prod .st { font-weight: 700; padding: 6px 10px; border-radius: 99px; white-space: nowrap; display: inline-block; }
.scan .prod b { font-size: 15px; }
.scan .prod small { color: #9A998F; font-size: 12px; }
.scan .prod .st { font-size: 12px; }
.scan .prod .st--ok { background: rgba(47,158,111,.22); color: #8FE3BC; }
.scan .prod .st--hint { background: rgba(255,222,0,.18); color: var(--yellow); }
.scan .prod .st--warn { background: #E5484D; color: #fff; box-shadow: 0 6px 16px -6px rgba(229,72,77,.8); }
.scan .prod.is-warn { background: #2A1716; box-shadow: 0 0 0 1.5px rgba(229,72,77,.65); }
.scan__beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #FFDE00 20%, #FFF7B0 50%, #FFDE00 80%, transparent); box-shadow: 0 0 22px 6px rgba(255,222,0,.45); opacity: 0; pointer-events: none; }
.fx-x.is-r::before, .fx-x.is-r::after { background: #E5484D; }
.fx-dot.is-r { background: #E5484D; }
@media (max-width: 860px) { .allergy__grid { grid-template-columns: 1fr; } }

/* ============ 8 · Überall ============ */
.every { position: relative; height: 340vh; }
.every__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.every__head { margin-bottom: clamp(12px, 3vh, 40px); }
.every__head .h2 { margin: 0; }
.every__track { display: flex; gap: clamp(20px, 3vw, 44px); padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); width: max-content; }
.panel { width: min(72vw, 820px); flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 28px; align-items: center; background: linear-gradient(160deg, #FFFFFF, #F1F0EA); border-radius: 32px; padding: clamp(16px, 2.4vw, 36px) clamp(24px, 3.4vw, 48px); box-shadow: 0 0 0 1px var(--line); }
.panel h3 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.03em; margin: 0 0 10px; }
.panel p { margin: 0; color: var(--ink-2); font-size: 17px; }
.panel__3d { height: min(60vh, 560px); width: auto; justify-self: center; }
.panel__3d--watch { aspect-ratio: 1; height: min(56vh, 520px); }
/* Watch-Display über dem gerenderten (letztes Bild, watch/anchors.json) */
.watch3d__screen { border-radius: 23.6% / 19.4%; background: #000; }
.panel { cursor: pointer; }
.watch3d__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(14%); transition: opacity .5s, transform .6s var(--ease); }
.watch3d__screen img.on { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .every { height: auto; }
  .every__stage { position: relative; height: auto; padding-block: 110px 40px; }
  .every__track { width: auto; flex-direction: column; padding-inline: var(--gut); }
  .panel { width: 100%; grid-template-columns: 1fr; gap: 10px; padding: 20px 22px 26px; }
  .panel__3d { height: min(64vh, 480px); }
  .panel__3d--watch { height: auto; width: min(100%, 360px); }
}

/* ============ 9 · Datenschutz ============ */
.priv { position: relative; height: 360vh; background: var(--night); color: var(--night-ink); }
.priv__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; text-align: center; padding-inline: var(--gut); }
.priv__stage > * { grid-area: 1 / 1; }
.priv__words { align-self: center; }
.priv__kicker { color: var(--night-ink-2); font-size: 18px; margin: 0 0 14px; }
.priv__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .06em; font-size: clamp(54px, 10.5vw, 150px); line-height: 1.02; font-weight: 850; letter-spacing: -0.05em; }
.priv__w { position: relative; display: inline-block; color: var(--night-ink); }
.priv__w i { display: inline-block; font-style: normal; }
.priv__w::after { content: ""; position: absolute; left: -3%; right: -3%; top: 50%; height: .085em; margin-top: -.03em; background: var(--yellow); border-radius: 99px; transform: scaleX(var(--strike, 0)); transform-origin: left; opacity: var(--bar, 1); box-shadow: 0 0 24px rgba(255, 222, 0, .35); }
.priv__lock { position: relative; align-self: start; margin-top: max(8vh, 64px); width: min(54vh, 78vw, 520px); aspect-ratio: 1; opacity: 0; }
.priv__lock canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.priv__glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 222, 0, .55), rgba(255, 222, 0, 0)); filter: blur(30px); opacity: 0; will-change: opacity; }   /* eigene Ebene: die Deckkraft ändert sich in jedem Bild, ohne Ebene malt Safari die Unschärfe jedes Mal neu */
.priv__end { align-self: end; margin-bottom: max(8vh, 56px); max-width: 44rem; }
.priv__title { margin: 0 0 18px; font-size: clamp(40px, 6.4vw, 92px); line-height: 1; font-weight: 850; letter-spacing: -0.045em; }
.priv__title span { display: inline-block; opacity: 0; }
.priv__t2 { color: var(--yellow); }
.priv__lead { color: var(--night-ink-2); margin: 0 auto; opacity: 0; max-width: 36em; }
.priv.is-static { height: auto; }
.priv.is-static .priv__stage { position: relative; height: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 120px; }
.priv.is-static .priv__lock, .priv.is-static .priv__title span, .priv.is-static .priv__lead { opacity: 1; }
.priv.is-static .priv__lock { margin: 0; }
@media (max-width: 760px) {
  .priv { height: 320vh; }
  .priv__lock { margin-top: 15vh; width: min(70vw, 340px); }
  .priv__end { margin-bottom: 9vh; }
  .priv__lead { font-size: 16px; }
}

/* ============ 10 · Preis ============ */
.price__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
/* Mit 3D: Bühne bleibt stehen, der Riegel fliegt herein und wendet sich (gl-bar.js) */
.has-gl .price { height: 400vh; padding-block: 0; }
.has-gl .price__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; z-index: 35; }   /* Text über dem Riegel */
.has-gl .price__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.price__bar { display: none; }
.has-gl .price__bar { display: block; height: min(86vh, 860px); position: relative; z-index: 0; cursor: pointer; }
.has-gl .price__copy { position: relative; z-index: 35; }
/* Etikett liegt in einer eigenen festen Ebene, die auf den Preis-Abschnitt zugeschnitten wird (nie über anderen Abschnitten) */
.barclip { position: fixed; inset: 0; z-index: 36; pointer-events: none; overflow: hidden; }   /* über der Preis-Bühne: Etikett ist anklickbar */
.label.label--bar { max-width: none; box-shadow: none; border-width: 3px; border-radius: 4px; pointer-events: auto; }
/* Preis-Sticker: kleben schief übereinander */
.label__big { position: relative; }
.stickers { position: absolute; right: -12px; top: -16px; width: 80%; height: 98px; pointer-events: none; }
.has-stickers .label__big > b, .has-stickers .label__hint { visibility: hidden; }
.sticker { position: absolute; inset: 0; border-radius: 12px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; gap: 4px 10px; box-shadow: 0 12px 24px -10px rgba(17,17,16,.55), inset 0 1px 0 rgba(255,255,255,.5); transform-origin: 30% 50%; }
.sticker b { font: 850 40px/1 var(--round); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sticker span { font-size: 16px; font-weight: 800; white-space: nowrap; }
.sticker small { flex-basis: 100%; font-size: 12.5px; font-weight: 650; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticker.is-y { background: var(--yellow); color: var(--ink); }
.sticker.is-m { background: var(--ink); color: var(--yellow); }
.sticker__curl { position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; border-radius: 0 0 12px 0; background: linear-gradient(135deg, transparent 48%, rgba(0,0,0,.12) 52%, rgba(255,255,255,.85) 58%, #F1EFE6 100%); box-shadow: -2px -2px 4px rgba(0,0,0,.12); }
@media (max-width: 860px) {
  .has-gl .price__copy > :not(.seg) { transition: opacity .35s; }
  .has-gl .price.is-turned .price__copy > :not(.seg) { opacity: 0 !important; pointer-events: none; }
  .has-gl .price.is-turned .seg--price { position: fixed; left: 50%; bottom: 22px; translate: -50% 0; z-index: 40; box-shadow: 0 14px 30px -12px rgba(17,17,16,.45); }
  .label--bar .label__inc { display: none; }
}
@media (max-width: 860px) { .has-gl .price__grid { grid-template-columns: 1fr; gap: 0; } .has-gl .price__stage { align-items: flex-start; padding-top: 80px; } .has-gl .price__bar { height: 58svh; } .has-gl .price .lead { display: none; } }
.seg--price { margin-top: 6px; }
.label { background: var(--surface); color: var(--ink); border: 3px solid var(--ink); padding: 18px 20px 20px; font-family: var(--sans); max-width: 440px; justify-self: end; width: 100%; box-shadow: 14px 14px 0 var(--yellow); }
.label__title { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; margin: 0; line-height: 1; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.label__sub { margin: 6px 0; font-size: 15px; border-bottom: 10px solid var(--ink); padding-bottom: 8px; }
.label__big { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 5px solid var(--ink); padding: 4px 0 6px; }
.label__big span { font-size: 22px; font-weight: 850; }
.label__big b { font: 850 44px/1 var(--round); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.label__hint { margin: 6px 0; font-size: 14px; font-weight: 650; color: var(--ink-2); border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.label__rows { margin: 0; }
.label__rows div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--ink); font-size: 15px; }
.label__rows dt { font-weight: 700; }
.label__rows .sub dt { font-weight: 400; padding-left: 18px; }
.label__rows dd { margin: 0; font: 700 15px var(--round); }
.label__inc { font-size: 14px; line-height: 1.45; margin: 10px 0 16px; border-bottom: 5px solid var(--ink); padding-bottom: 12px; }
.label__foot { font-size: 12px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.4; }
@media (max-width: 860px) { .price__grid { grid-template-columns: 1fr; } .label { justify-self: start; box-shadow: 10px 10px 0 var(--yellow); } }

/* ============ 11 · Fragen ============ */
.faq { background: transparent; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__list p { margin: 0 0 22px; color: var(--ink-2); max-width: 38em; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ============ 12 · Laden ============ */
.cta { padding-block: clamp(110px, 14vw, 200px) clamp(60px, 8vw, 100px); overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.cta__title { font-size: clamp(46px, 7vw, 108px); line-height: .96; letter-spacing: -0.045em; font-weight: 850; margin: 0 0 24px; text-wrap: balance; }
.cta__title > span:last-child { display: block; }
.cta__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.qr { display: flex; align-items: center; gap: 14px; font: inherit; font-size: 14px; color: var(--ink-2); max-width: 15em; border: 0; background: none; padding: 0; text-align: left; cursor: zoom-in; }
.qr:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 16px; }
/* QR groß */
.qrm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.qrm__scrim { position: absolute; inset: 0; background: rgba(17,17,16,.55); }
.qrm__card { position: relative; width: min(440px, 100%); background: var(--paper); border-radius: 32px; padding: 26px 26px 24px; text-align: center; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.qrm__code { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: visible; }
.qrm__t { font-size: 26px; font-weight: 850; letter-spacing: -0.03em; margin: 18px 0 6px; }
.qrm__s { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.qrm__x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.qr img { width: 104px; height: 104px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.cta__mascot { perspective: 900px; }
.mascot { display: block; width: min(124%, 660px); margin: -40px -8% 0 auto; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 30px; }
.mascot:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.mascot video { display: block; width: 100%; height: auto; aspect-ratio: 760 / 636; transform-origin: 50% 85%; }
@media (hover: none), (max-width: 760px) { .qr { display: none; } }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } .mascot { width: min(92%, 440px); margin: 0 auto; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 36px 48px; font-size: 14px; color: var(--ink-2); }
.foot__grid { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; }
.foot__brand img { border-radius: 7px; }
.foot__links { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot__fine { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 700px) { .foot__grid { grid-template-columns: 1fr; } .foot__links { justify-content: flex-start; } }

/* ---------- Bewegung reduziert: Endzustände, keine Pins ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.rm .hero, .rm .coach, .rm .every, .rm .res { height: auto; }
.rm .hero__stage, .rm .coach__stage, .rm .every__stage, .rm .res__stage { position: relative; height: auto; min-height: 100svh; }
.rm .every__track { width: auto; flex-wrap: wrap; }
.rm .nut { opacity: 1; transform: none; }

/* Niedrige Laptop-Bildschirme: die 33 Werte müssen ganz in die Bühne passen */
@media (min-width: 901px) and (max-height: 860px) {
  .res__title { font-size: clamp(26px, 3vw, 40px); margin-bottom: 8px; }
  .res__count { margin-bottom: 8px; }
  .res__count b { font-size: clamp(48px, 5vw, 76px); }
  .res__macros { margin-bottom: 8px; }
  .mac { padding: 7px 10px; }
  .mac b { font-size: 17px; }
  .nut { padding: 2px 0; }
  .nut span, .nut b { font-size: 12px; }
  .res__img canvas { width: min(100%, 66vh); }
}

/* ============ Motion Graphics (fx.js) ============ */
.fxlayer { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.fx-x, .fx-dot { position: absolute; left: 0; top: 0; display: block; will-change: transform, opacity; }
.fx-x { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.fx-x::before, .fx-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.2px; margin: -1.1px 0 0 -7px; border-radius: 2px; background: var(--ink); }
.fx-x::after { transform: rotate(90deg); }
.fx-x.is-y::before, .fx-x.is-y::after { background: #E8BE00; }
.coach .fx-x::before, .coach .fx-x::after { background: var(--night-ink); }
.fx-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--ink); opacity: .6; }

/* Cursor „Du“ mit gelbem Namensschild */
.ducursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.ducursor.is-on { opacity: 1; }
.ducursor svg { width: 28px; height: 32px; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); transition: transform .12s; transform-origin: 3px 3px; }
.ducursor.is-down svg { transform: scale(.86); }
.ducursor b { position: absolute; left: 22px; top: 26px; background: var(--yellow); color: var(--ink); font: 750 12px/1 var(--sans); padding: 5px 8px; border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); white-space: nowrap; }
.ducursor__ring { position: absolute; left: -19px; top: -19px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; }
.ducursor__ring.go { animation: during .45s var(--ease) forwards; }
@keyframes during { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(1.3); } }

/* Sprechen: Glas-Pille und fliegende Einträge */
.log__device { position: relative; z-index: 36; }
.vpill { position: absolute; z-index: 2; left: -22%; top: 3%; display: flex; align-items: center; gap: 10px; max-width: 118%; padding: 10px 18px 10px 10px; border-radius: 99px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 0 0 1.5px rgba(17,17,16,.08), 0 24px 50px -22px rgba(17,17,16,.45); opacity: 0; pointer-events: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.vpill__mic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255,222,0,.6); }
.vpill.is-live .vpill__mic { animation: micpulse 1.2s infinite; }
@keyframes micpulse { 0% { box-shadow: 0 0 0 0 rgba(255,222,0,.6); } 100% { box-shadow: 0 0 0 14px rgba(255,222,0,0); } }
.vpill__mic svg { width: 20px; height: 20px; fill: var(--ink); }
.vpill__wave { display: flex; align-items: center; gap: 2.5px; height: 22px; flex: none; }
.vpill__wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--ink); opacity: .75; }
.vpill.is-live .vpill__wave i { animation: vbar .9s ease-in-out infinite; }
.vpill__wave i:nth-child(3n) { animation-delay: -.3s !important; } .vpill__wave i:nth-child(3n+1) { animation-delay: -.6s !important; } .vpill__wave i:nth-child(4n) { animation-duration: .7s !important; }
@keyframes vbar { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.vpill__text { overflow: hidden; text-overflow: ellipsis; }
.vpill__caret { width: 2px; height: 20px; background: var(--ink); flex: none; animation: caret 1s steps(1) infinite; margin-left: -6px; }
@keyframes caret { 50% { opacity: 0; } }
.vchip { position: fixed; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(17,17,16,.5); font-weight: 650; font-size: 15px; white-space: nowrap; will-change: transform; }
.vchip b { font: 750 13px/1 var(--round); background: var(--yellow); padding: 5px 7px; border-radius: 8px; }
@media (max-width: 860px) { .vpill { left: 0; right: 0; top: -9%; max-width: 100%; font-size: 14px; } }
.vpill__text { min-width: 0; }
.log { overflow-x: clip; }

/* Ziel: gleitender Schieber, Glas-Panel in 3D */
.seg.has-thumb { position: relative; }
.seg__thumb { position: absolute; left: 0; top: 0; border-radius: 10px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 6px 14px -8px rgba(0,0,0,.25); pointer-events: none; }
.seg.has-thumb button { position: relative; z-index: 1; }
.seg.has-thumb button[aria-checked="true"] { background: transparent; box-shadow: none; }
.goal__chart.is-3d { perspective: 1400px; }
.goal__chart.is-3d .chart { background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(17,17,16,.45); will-change: transform; }

/* Glas-Pille über Überschriften, wie im Werbefilm */
.gpill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 1.5px rgba(17,17,16,.08), 0 10px 26px -14px rgba(17,17,16,.35); font-size: 14px; font-weight: 600; color: var(--ink); }
.gpill i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.gpill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow); animation: gdot 2.2s infinite; }
@keyframes gdot { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(3); opacity: 0; } }
.coach .gpill { background: rgba(255,255,255,.08); color: var(--night-ink); box-shadow: 0 0 0 1.5px rgba(255,255,255,.12); }
/* Überschriften in Wörter und Zeichen zerlegt (fx.js): Zeichen kippen herein und hüpfen unter der Maus */
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }

/* ============ Handy (bis 760 px) ============
   Eigene Aufteilung für hochkant: Bühnen füllen den Bildschirm statt Leerflächen zu lassen, dichtere Abstände,
   Rezept-Kit und „Überall“ fahren beim Scrollen waagerecht durch wie am Laptop (Klasse .hx von site.js).
   Gilt nur für schmale Bildschirme; die Laptop-Fassung bleibt unberührt. */
@supports (height: 100lvh) {
  /* Feste Ebenen so hoch wie der Bildschirm ohne Adressleiste: Safari auf dem iPhone ändert sonst bei jedem Ein- und
     Ausblenden der Leiste ihre Größe, und Canvas und WebGL-Puffer müssten neu angelegt werden */
  @media (hover: none), (pointer: coarse) {
    #gl, #glScreens, #bgGrid, .barclip { bottom: auto; height: 100lvh; }
  }
}
@media (max-width: 760px) {
  .sec { padding-block: 60px; }
  .recipes { padding-top: 0; }

  /* 1 · Einstieg: größere Scheibe; site.js hebt sie in die Mitte, sobald der Text ausblendet */
  .hero__visual { --box: min(84vw, max(36svh, calc(100svh - 448px))); bottom: 4.5svh; }

  /* 5 · Coach: Handy so groß, dass es zwischen Frage und unterem Rand ganz zu sehen ist (die Box hat oben und unten
     je 10 % Luft um das Handy) */
  .coach__3d { --cw: min(150vw, calc((100svh - 196px) * .714), 620px); margin-top: calc(var(--cw) * -.14); }

  /* 2 · Volle Auflösung: Quelle und Tipp-Hinweis unter der Zahl, Wand füllt den Rest (5 Spalten, gl-res.js) */
  .res__stage { padding-top: 80px; gap: 4px; }
  .res__src { display: block; font-size: 12px; margin: 4px 0 0; max-width: 30em; }
  @media (max-height: 720px) { .res__src { display: none; } }

  /* 3 · Eintragen: Handy etwas kleiner, damit Sätze und Vorschau näher beieinander liegen */
  .log__grid { gap: 64px; }
  .phone--live { --w: min(270px, 70vw); }
  .vpill { top: -7%; }
  .ways { margin-top: 64px; }
  .ways .h3 { margin-bottom: 22px; }

  /* 6 · Rezepte */
  .marquee { padding-top: 56px; margin-bottom: 40px; }
  .filters { gap: 7px; }
  .filters button, .dice { padding: 8px 12px; font-size: 14px; }
  .center { margin-top: 26px; }

  /* 7 · Unverträglichkeiten: vier Kacheln je Reihe, Scanner etwas kompakter */
  .allg__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .allg { padding: 11px 3px 10px; gap: 6px; border-radius: 18px; }
  .allg__em { width: 48px; height: 48px; }
  .allg__em i { font-size: 26px; }
  .allg__l { font-size: 12px; }
  .allg__bubble { margin-top: 18px; }
  .allergy__grid { gap: 36px; }
  .scan { padding: 14px 12px; border-radius: 24px; }
  .scan__list { gap: 7px; }
  .scan .prod { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px; border-radius: 14px; }
  .scan .prod .em { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }

  /* 9 · Datenschutz: Schloss, Satz und Text bilden zusammen die Mitte statt oben und unten mit Loch dazwischen.
     Das Schloss liegt im Bild zwischen 9 % und 61 % der Höhe; seine Mitte kommt auf 38 % des Bildschirms, der Satz
     direkt darunter. */
  .priv__stage { --lock: min(92vw, 400px); }
  .priv__lock { align-self: start; margin: calc(38svh - var(--lock) * .35) 0 0; width: var(--lock); }
  .priv__end { align-self: start; margin: calc(38svh + var(--lock) * .26 + 24px) 0 0; }
  .priv.is-static .priv__end { margin: 0; }

  /* 12 · Laden: Maskottchen größer und direkt unter dem Knopf. Im Video steht die Figur zwischen 39 % und 96 % der
     Höhe, darüber ist Luft für die Sprünge. Die Schaltfläche ist nur so hoch wie die Figur; das Video ragt nach oben
     hinaus (durchsichtig, nimmt keine Tipps an), so bleibt der App-Store-Knopf frei und ohne Loch darunter. */
  .cta { padding-block: 60px 12px; }
  .cta__grid { gap: 0; }
  .cta__mascot { --mw: min(104vw, 440px); margin-top: 6px; }
  .mascot { position: relative; width: 100%; height: calc(var(--mw) * .511 + 10px); margin: 0; border-radius: 24px; }
  .mascot video { position: absolute; left: 50%; bottom: 0; width: var(--mw); max-width: none; translate: -50% 0; pointer-events: none; }
}

/* Handy mit Szenen: Rezept-Kit und „Überall“ kleben am Bildschirm und fahren waagerecht durch */
@media (max-width: 760px) {
  .hx .recipes { overflow: clip; padding-bottom: 20px; }
  .hx .kit { --card: min(58vw, calc((100svh - 260px) / 2.35)); height: calc(100svh + var(--kit-dist, 0px) * 1.45); margin-top: 8px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .hx .kit__track { position: sticky; top: 0; height: 100svh; align-items: center; padding: 48px calc((100vw - var(--card)) / 2) 0; gap: 16px; }
  .hx .kit__card { width: var(--card); scroll-snap-align: none; }

  .hx .every { --panel: 82vw; height: calc(100svh + var(--every-dist, 0px) * 1.6); }
  .hx .every__stage { position: sticky; top: 0; height: 100svh; padding: 78px 0 22px; justify-content: flex-start; }
  .hx .every__head { margin-bottom: 16px; }
  .hx .every__track { flex: 1; min-height: 0; width: max-content; flex-direction: row; align-items: stretch; gap: 14px; padding-inline: calc((100vw - var(--panel)) / 2); }
  .hx .panel { width: var(--panel); height: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 12px 18px 18px; }
  .hx .panel__3d { height: 100%; width: auto; max-width: 100%; justify-self: center; }
  .hx .panel__3d--watch { width: 100%; height: auto; max-height: 100%; }
  .hx .panel h3 { font-size: 22px; margin-bottom: 4px; }
  .hx .panel p { font-size: 15px; line-height: 1.45; }
}

/* ============ Handy, Runde 2 (21.10.2026) ============ */
/* Handy: Die 3D-Zeichenfläche liegt in der klebenden Bühne des Abschnitts, der gerade zu sehen ist (gl.js, „3D-Ebene in
   der Bühne“), und scrollt mit ihr. HTML-Displays (Coach, Uhr, Preis-Etikett) liegen in einer Ebene darüber. */
.hx #gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.glstage__screens { position: absolute; inset: 0; z-index: 31; overflow: hidden; pointer-events: none; }
.res__stage > #gl, .res__stage > .glstage__screens { left: 50%; right: auto; width: 100vw; translate: -50% 0; }
.glstage-host { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: 2; pointer-events: none; }

@media (max-width: 760px) {
  /* Einstieg kompakter: App Store und Google Play nebeneinander, etwas kleiner, der Hinweis in einer Zeile darunter;
     die Scheibe bekommt den Platz darunter (Größe und Lage rechnet site.js aus dem freien Raum, fitHeroVisual) */
  .hero__copy { top: 82px; }
  .hero__title { margin-bottom: 12px; }
  .hero__lead { font-size: 16.5px; line-height: 1.5; margin-bottom: 16px; }
  .hero__cta { --bh: min(46px, calc((100vw - 2 * var(--gut) - 10px) / 6.4)); gap: 10px; }
  .hero__note { font-size: 13.5px; line-height: 1.35; }
  .hero__captions { top: 94px; }

  /* Navigation ohne Hintergrund-Unschärfe: backdrop-filter über bewegten Inhalten (3D, Videos) kostet Safari auf dem
     iPhone in jedem Bild viel Rechenzeit. Fast deckend sieht sie gleich aus. */
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(247, 246, 242, .94); }
  .nav.is-dark { background: rgba(28, 28, 26, .94); }

  /* Sprech-Demo: HTML-Handy statt 3D (scrollt mit der Seite, ohne Versatz), leicht gekippt wie das 3D-Handy */
  .hx #voicePhone { visibility: visible; transform: perspective(1600px) rotateY(-13deg) rotateX(4deg) rotateZ(1.5deg); }
  @supports (animation-timeline: view()) {
    .hx #voicePhone { animation: voiceIn linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  }
}
@keyframes voiceIn {
  from { transform: perspective(1600px) translateY(80px) rotateY(-58deg) rotateX(18deg) rotateZ(-6deg); }
  to { transform: perspective(1600px) rotateY(-13deg) rotateX(4deg) rotateZ(1.5deg); }
}
