/* rubi. – Website
   Tokens (Hell = Look der App, Dunkel = Navy), Grund-Typo, Komponenten, Sektionen, Reduced Motion.
   Farben aus der App: Tiefblau, Signalblau, Hellblau, Eisblau, heller Grund, Navy. */

/* ---------- Schriften: selbst gehostet (SIL Open Font License), Latin wird im <head> vorgeladen, Latin-Ext nur bei Bedarf ---------- */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/geist-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/geist-latin-ext-var.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens: Hell (Standard, wie die App) ---------- */
:root {
  --deep: #0F4A94;
  --signal: #3B7AD0;
  --light: #8FB2E0;
  --ice: #C9DAF0;
  --ground: #EDF2F8;
  --navy: #0E2140;
  --navy-deep: #06122A;
  --bubble: #E6EDF7;
  --bubble-dot: #6E98C8;

  --page-bg: #EDF2F8;
  --page-fg: #0E2140;
  --page-muted: rgba(14, 33, 64, .7);
  --page-faint: rgba(14, 33, 64, .64);
  --hair: rgba(15, 74, 148, .13);
  --card-bg: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-bg-strong: rgba(255, 255, 255, .84);
  --glass-edge: rgba(255, 255, 255, .95);
  --glass-shadow: 0 1px 2px rgba(15, 74, 148, .05), 0 28px 70px -34px rgba(15, 74, 148, .3);
  --glass-light: rgba(255, 255, 255, .7);
  --eyebrow: #2E6ABF; /* Signalblau, für 12-px-Text auf hellem Grund leicht abgedunkelt (4,8:1) */
  --accent-ink: #0F4A94;
  --btn-bg: #0F4A94;
  --btn-fg: #FFFFFF;

  /* Bänder (Hero, Kugel, Abschluss) */
  --band-a: #FFFFFF;
  --band-b: #F4F8FC;
  --band-c: #EDF2F8;
  --band-glow-1: rgba(59, 122, 208, .16);
  --band-glow-2: rgba(143, 178, 224, .3);
  --mesh: rgba(15, 74, 148, .07);
  --grain: .05;
  --link-stroke: rgba(15, 74, 148, .3);
  --panel-bg: rgba(255, 255, 255, .42);
  --panel-edge: rgba(255, 255, 255, .95);
  --panel-shadow: rgba(15, 74, 148, .3);
  --pre-bg: #EDF2F8;
  --pre-fg: #0E2140;
  --phone-shadow: rgba(15, 74, 148, .4);

  --ease: cubic-bezier(.32, .72, 0, 1);
  --font: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 88px;
  --line-w: 16px;
  color-scheme: light;
}

/* ---------- Tokens: Dunkel ---------- */
:root[data-theme="dark"] {
  --page-bg: #0B1830;
  --page-fg: #EDF2F8;
  --page-muted: rgba(237, 242, 248, .72);
  --page-faint: rgba(237, 242, 248, .56);
  --hair: rgba(201, 218, 240, .14);
  --card-bg: rgba(255, 255, 255, .06);
  --glass-bg: rgba(255, 255, 255, .06);
  --glass-bg-strong: rgba(255, 255, 255, .11);
  --glass-edge: rgba(255, 255, 255, .16);
  --glass-shadow: 0 28px 70px -34px rgba(0, 0, 0, .6);
  --glass-light: rgba(255, 255, 255, .14);
  --eyebrow: #8FB2E0;
  --accent-ink: #C9DAF0;
  --btn-bg: #EDF2F8;
  --btn-fg: #0E2140;
  --band-a: #0E2140;
  --band-b: #081A3A;
  --band-c: #06122A;
  --band-glow-1: rgba(59, 122, 208, .55);
  --band-glow-2: rgba(15, 74, 148, .5);
  --mesh: rgba(255, 255, 255, .05);
  --grain: .07;
  --link-stroke: rgba(201, 218, 240, .4);
  --panel-bg: rgba(255, 255, 255, .06);
  --panel-edge: rgba(255, 255, 255, .2);
  --panel-shadow: rgba(0, 0, 0, .7);
  --pre-bg: #0E2140;
  --pre-fg: #EDF2F8;
  --phone-shadow: rgba(0, 0, 0, .6);
  color-scheme: dark;
}
/* Ohne JS folgt die Seite dem System */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --page-bg: #0B1830; --page-fg: #EDF2F8; --page-muted: rgba(237, 242, 248, .72); --page-faint: rgba(237, 242, 248, .56); --hair: rgba(201, 218, 240, .14);
    --card-bg: rgba(255, 255, 255, .06); --glass-bg: rgba(255, 255, 255, .06); --glass-bg-strong: rgba(255, 255, 255, .11); --glass-edge: rgba(255, 255, 255, .16); --glass-shadow: 0 28px 70px -34px rgba(0, 0, 0, .6); --glass-light: rgba(255, 255, 255, .14);
    --eyebrow: #8FB2E0; --accent-ink: #C9DAF0; --btn-bg: #EDF2F8; --btn-fg: #0E2140;
    --band-a: #0E2140; --band-b: #081A3A; --band-c: #06122A; --band-glow-1: rgba(59, 122, 208, .55); --band-glow-2: rgba(15, 74, 148, .5); --mesh: rgba(255, 255, 255, .05); --grain: .07;
    --link-stroke: rgba(201, 218, 240, .4); --panel-bg: rgba(255, 255, 255, .06); --panel-edge: rgba(255, 255, 255, .2); --panel-shadow: rgba(0, 0, 0, .7); --pre-bg: #0E2140; --pre-fg: #EDF2F8; --phone-shadow: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Kein CSS-Smooth-Scroll: Lenis übernimmt, ScrollTrigger misst sonst falsch */
html:not(.js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
picture { height: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Theme-Wechsel: kreisförmige Enthüllung ab dem Schalter ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); animation: vt-reveal .8s cubic-bezier(.32, .72, 0, 1) forwards; }
@keyframes vt-reveal { to { clip-path: circle(160vmax at var(--vt-x, 50%) var(--vt-y, 50%)); } }
html.reduce::view-transition-new(root) { animation: none; clip-path: none; }
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease) !important; }

/* ---------- Typo ---------- */
.display { font-size: clamp(44px, 8.4vw, 136px); line-height: .98; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.display-md { font-size: clamp(36px, 6.2vw, 96px); line-height: 1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.22; letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--page-muted); max-width: 54ch; letter-spacing: -.005em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px var(--signal); flex: none; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.06em; color: var(--accent-ink); position: relative; display: inline-block; }
.period { color: var(--signal); }
.accent .underline { position: absolute; left: -.04em; right: -.04em; bottom: -.08em; height: .2em; width: auto; overflow: visible; pointer-events: none; }
.accent .underline path { fill: none; stroke: var(--signal); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.section-head { display: flex; flex-direction: column; gap: 22px; max-width: 920px; margin-bottom: clamp(40px, 7vw, 96px); }
.section-head--center { align-items: center; text-align: center; margin-inline: auto; }
.wordmark { color: var(--page-fg); }
.wordmark .wordmark__period, .wordmark__period { fill: var(--signal); }

/* ---------- Buttons, Chips, Pills, Schalter ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 28px; border: 0; border-radius: 999px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: transform .6s var(--ease), background-color .3s, box-shadow .3s, color .3s; will-change: transform; }
.btn__icon { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 24px 50px -22px color-mix(in srgb, var(--btn-bg) 60%, transparent); }
.btn--primary:hover { box-shadow: 0 30px 60px -22px color-mix(in srgb, var(--btn-bg) 75%, transparent); }
.btn--glass { background: var(--glass-bg); color: var(--page-fg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.btn--glass:hover { background: var(--glass-bg-strong); }
.btn--sm { height: 44px; padding: 0 16px 0 18px; font-size: 14px; }
.btn--lg { height: 64px; padding: 0 32px 0 34px; font-size: 17px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--glass-bg-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow); }
.chip__check { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--signal); color: #fff; }
.chip__check svg { width: 14px; height: 14px; }
.chip__text { display: flex; flex-direction: column; line-height: 1.25; }
.chip__text b { font-size: 13px; font-weight: 600; }
.chip__text small { font-size: 12px; color: var(--page-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-sm { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--hair); color: var(--page-fg); }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pill--glass { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow); color: var(--page-fg); transition: background-color .3s, transform .6s var(--ease); }
.pill--glass:hover { background: var(--glass-bg-strong); }
.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--glass-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--glass-edge); color: var(--page-fg); cursor: pointer; transition: background-color .3s, transform .5s var(--ease); flex: none; }
.theme-toggle:hover { background: var(--glass-bg-strong); transform: rotate(-12deg); }
.theme-toggle svg { position: absolute; width: 18px; height: 18px; transition: transform .6s var(--ease), opacity .35s; }
.theme-toggle__sun { opacity: 0; transform: rotate(60deg) scale(.5); }
.theme-toggle__moon { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(-60deg) scale(.5); }

/* ---------- Phone ---------- */
.phone { --pw: 300px; position: relative; width: var(--pw); aspect-ratio: 640 / 1391; border-radius: calc(var(--pw) * .165); background: #0B1736; padding: calc(var(--pw) * .034); box-shadow: 0 60px 120px -40px var(--phone-shadow), 0 0 0 1px rgba(6, 18, 42, .5), inset 0 0 0 1px rgba(255, 255, 255, .14); flex: none; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .135); overflow: hidden; background: #EDF2F8; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__island { position: absolute; top: calc(var(--pw) * .066); left: 50%; transform: translateX(-50%); width: calc(var(--pw) * .28); height: calc(var(--pw) * .084); border-radius: 999px; background: #04091A; }

/* ---------- Hintergrund-Bänder, Linie, Grain ---------- */
.bands { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.band { position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: hidden; visibility: hidden; }
.band.is-set { visibility: visible; }
.band__gradient { position: absolute; inset: 0; background: linear-gradient(180deg, var(--band-a) 0%, var(--band-b) 55%, var(--band-c) 100%); }
.band__gradient::before { content: ""; position: absolute; inset: 0; background: radial-gradient(62vw 50vw at 78% 12%, var(--band-glow-1), transparent 62%), radial-gradient(52vw 40vw at 12% 92%, var(--band-glow-2), transparent 66%); }
.band__gradient--diag { background: linear-gradient(180deg, var(--band-c) 0%, var(--band-a) 50%, var(--band-c) 100%); }
.band__gradient--diag::before { background: radial-gradient(40vw 40vw at 62% 50%, var(--band-glow-1), transparent 65%), radial-gradient(30vw 30vw at 15% 20%, var(--band-glow-2), transparent 70%); }
.band__gradient--cta { background: linear-gradient(180deg, var(--band-a), var(--band-c)); }
.band__gradient--cta::before { background: radial-gradient(50% 60% at 50% 110%, var(--band-glow-1), transparent 70%); }
.band__mesh { position: absolute; inset: 0; background-image: linear-gradient(var(--mesh) 1px, transparent 1px), linear-gradient(90deg, var(--mesh) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); }
.band--cta { border-radius: 40px; left: auto; right: auto; }
.band__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; opacity: 0; transition: opacity .9s var(--ease); }
.band__canvas.is-ready { display: block; }
.band__canvas.is-on { opacity: 1; }
.grain { position: absolute; inset: 0; opacity: var(--grain); mix-blend-mode: soft-light; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
/* CSS-Bubbles: Fallback ohne WebGL und auf Mobil. Hell wie im App-Icon, dunkel als Glas */
.css-bubbles { position: absolute; inset: 0; transition: opacity .9s var(--ease); }
.css-bubble { position: absolute; border-radius: 50%; animation: bubble-float var(--fd, 9s) ease-in-out infinite alternate; background: radial-gradient(circle at 34% 30%, #FFFFFF, #EEF3F9 45%, #E0E9F4 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset -30px -40px 80px rgba(143, 178, 224, .22), 0 40px 100px -50px rgba(15, 74, 148, .3); }
:root[data-theme="dark"] .css-bubble { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .22), rgba(143, 178, 224, .08) 36%, rgba(15, 74, 148, .05) 68%, rgba(59, 122, 208, .24) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 30px -40px 90px rgba(59, 122, 208, .28), inset -50px 50px 100px rgba(255, 255, 255, .07); backdrop-filter: blur(6px); }
.css-bubble--a { width: 46vw; height: 46vw; left: -14vw; bottom: -22vw; --fd: 11s; }
.css-bubble--b { width: 16vw; height: 16vw; right: 10vw; top: 9vh; --fd: 8s; }
.css-bubble--c { width: 7vw; height: 7vw; left: 44vw; top: 64vh; --fd: 7s; }
.css-bubble--dot1, :root[data-theme="dark"] .css-bubble--dot1 { width: 14px; height: 14px; left: 36%; top: 28%; background: var(--bubble-dot); box-shadow: none; backdrop-filter: none; }
.css-bubble--dot2, :root[data-theme="dark"] .css-bubble--dot2 { width: 22px; height: 22px; right: 30%; bottom: 20%; background: var(--signal); box-shadow: 0 0 40px rgba(59, 122, 208, .6); backdrop-filter: none; }
.band--hero.has-gl .css-bubbles { opacity: 0; }
.band--hero.gl-settled .css-bubbles { display: none; }
@keyframes bubble-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(1.5vw, -2.5vh, 0); } }
html:not(.bands-ready) [data-band-target] { background: var(--band-b); }

.cycle-line { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 0; overflow: visible; pointer-events: none; }
.cycle-line path { stroke-linecap: round; stroke-linejoin: round; stroke-width: var(--line-w); }
.cycle-line__ghost { stroke: var(--ice); opacity: .22; }
.cycle-line__main { stroke: url(#cycleGrad); }
.cycle-line__loops { stroke: url(#loopGrad); }
html.reduce .cycle-line__ghost { display: none; }

main > section { position: relative; z-index: 2; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.preloader__panel { position: absolute; inset: 0; background: var(--pre-bg); display: grid; place-items: center; }
.preloader__curve { position: absolute; top: 100%; left: 0; width: 100%; height: 14vh; display: block; }
.preloader__curve path { fill: var(--pre-bg); }
.preloader__words { position: relative; width: 100%; height: 60px; display: grid; place-items: center; }
.preloader__word { position: absolute; display: none; align-items: center; gap: 14px; font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -.025em; color: var(--pre-fg); }
.preloader__word.is-current { display: inline-flex; }
.preloader__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 20px var(--signal); }
.preloader__word--brand { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -.04em; color: var(--deep); }
:root[data-theme="dark"] .preloader__word--brand { color: var(--pre-fg); }
html.reduce .preloader, html.preloaded .preloader, html:not(.js) .preloader { display: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform .7s var(--ease); color: var(--page-fg); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); width: min(var(--wrap) + 2 * var(--gutter), 100%); padding-inline: var(--gutter); margin-inline: auto; }
.nav__brand { display: inline-flex; align-items: center; height: 44px; }
.nav__brand .wordmark { width: 78px; height: 28px; }
.nav__pill { display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: var(--glass-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 40px -16px rgba(6, 18, 42, .25); transition: background-color .4s, box-shadow .4s; }
.nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.005em; transition: background-color .3s; }
.nav__link:hover, .nav__link.is-active { background: var(--glass-light); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__cta-short { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--glass-bg); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--glass-edge); cursor: pointer; place-items: center; align-content: center; justify-items: center; gap: 5px; color: var(--page-fg); }
.nav__burger span { display: block; width: 16px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.nav__menu { position: fixed; inset: var(--nav-h) 12px auto; padding: 12px; border-radius: 28px; background: var(--glass-bg-strong); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow); display: flex; flex-direction: column; }
.nav__menu[hidden] { display: none; }
.nav__menu-link { padding: 16px 18px; border-radius: 18px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.nav__menu-link:hover { background: var(--glass-light); }

/* ---------- Hero ---------- */
.hero { overflow: clip; padding-top: var(--nav-h); min-height: 100svh; }
.hero__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; align-items: center; min-height: calc(100svh - var(--nav-h)); padding-block: 4vh 12vh; }
.hero__copy { position: relative; z-index: 4; display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); }
.hero__title { display: grid; grid-template-columns: auto auto auto; justify-content: start; column-gap: 0; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); position: relative; z-index: 5; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .wi { display: inline-block; will-change: transform; }
.hero__title .w:nth-child(odd) { margin-right: .22em; }
.hero__title .w:nth-child(1) { grid-column: 1 / 3; }
.hero__title .w:nth-child(2) { grid-column: 3; }
.hero__title .w:nth-child(3) { grid-column: 1; }
.hero__title .w:nth-child(4) { grid-column: 2 / 4; }
.hero__lead { max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__trust { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--page-muted); }
.hero__trust-icon { width: 16px; height: 16px; }
.hero__stage { position: relative; height: min(78vh, 780px); min-height: 520px; z-index: 3; }
.phone--hero-front { --pw: clamp(240px, 22vw, 330px); position: absolute; right: 2%; top: 16%; transform: rotate(-7deg); }
.phone--hero-back { --pw: clamp(200px, 18vw, 268px); position: absolute; right: 44%; top: 0; transform: rotate(9deg); opacity: .92; }
.chip--saved { position: absolute; right: 42%; top: 68%; transform: rotate(-4deg); z-index: 5; }
.hero__widget { position: absolute; right: 58%; top: 82%; width: clamp(110px, 10vw, 150px); height: auto; border-radius: 22%; box-shadow: 0 30px 70px -24px var(--phone-shadow), 0 0 0 1px rgba(255, 255, 255, .3); transform: rotate(-3deg); z-index: 4; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--page-faint); }
.hero__scroll-line { display: block; width: 1px; height: 48px; background: linear-gradient(180deg, var(--light), transparent); }
/* Intro-Startzustand erst mit .hero-armed: beim Erstbesuch liegt der Hero bis kurz vor dem Abfahren des Preloaders fertig gemalt unter dem Panel (LCP), bei Wiederbesuch setzt das Inline-Skript die Klasse sofort */
.js.hero-armed:not(.reduce) [data-hero-in] { opacity: 0; }
.js.hero-armed:not(.reduce) .hero__title .wi { transform: translateY(112%); }

/* ---------- Typo-Statement mit Fels-Mockup ---------- */
.statement { overflow: clip; }
.statement__wrap { position: relative; min-height: 86vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-block: 12vh 10vh; }
.statement__stage { --cw: clamp(200px, 26vw, 380px); position: relative; width: 100%; display: flex; justify-content: center; }
.statement__title { display: flex; flex-direction: column; align-items: center; width: 100%; }
.statement__line { position: relative; display: flex; justify-content: center; gap: .22em; white-space: nowrap; }
.statement__line--back { z-index: 1; gap: calc(var(--cw) + .4em); }
.statement__line--front { z-index: 3; }
.statement__word { display: inline-block; will-change: transform; }
.statement__card { position: absolute; left: 50%; top: 50%; z-index: 2; margin: 0; width: var(--cw); aspect-ratio: 3 / 4; margin-left: calc(var(--cw) * -.5); margin-top: calc(var(--cw) * -.8); border-radius: 32px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 60px 120px -40px var(--phone-shadow), 0 0 0 1px var(--glass-edge); }
.statement__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.statement__caption { margin-top: clamp(140px, 20vh, 280px); max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--page-muted); }

/* ---------- Story ---------- */
.story { padding-block: 8vh 4vh; }
.story__head { display: flex; flex-direction: column; gap: 22px; max-width: 760px; margin-bottom: 4vh; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.story__step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; max-width: 460px; opacity: .32; transition: opacity .7s var(--ease); }
.story__step.is-active { opacity: 1; }
.story__step p { color: var(--page-muted); }
.story__num { font-size: 12px; letter-spacing: .22em; color: var(--eyebrow); font-weight: 500; }
.phone--inline { display: none; --pw: min(240px, 60vw); margin: 16px auto 0; }
.story__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.story__device { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.phone--story { --pw: clamp(240px, 24vw, 320px); }
.story__screens picture { position: absolute; inset: 0; }
.story__screen { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.story__screen.is-active { opacity: 1; transform: none; }
.story__progress { display: flex; align-items: center; gap: 18px; }
.story__loops { width: 160px; height: auto; overflow: visible; }
.story__progress-label { font-size: 13px; color: var(--page-muted); }
.story__progress-label b { color: var(--page-fg); font-weight: 600; }
.loops__open { fill: none; stroke: var(--ice); stroke-linecap: round; stroke-linejoin: round; }
.loops__done { fill: none; stroke: var(--deep); stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .loops__done { stroke: var(--signal); }
.loops__halo { fill: var(--page-bg); }
.loops__head { fill: var(--signal); }

/* ---------- Zyklus ---------- */
.zyklus__stage { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); padding-block: 12vh 10vh; }
.zyklus__copy { display: flex; flex-direction: column; gap: 22px; max-width: 980px; }
.zyklus__run { position: relative; height: clamp(120px, 26vh, 280px); margin-inline: var(--gutter); }
.zyklus__days { position: absolute; left: 0; right: 0; top: calc(100% + 18px); height: 20px; }
.zyklus__days li { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--page-faint); opacity: 0; transition: opacity .6s var(--ease), color .4s; white-space: nowrap; }
.zyklus__days li.is-on { opacity: 1; }
.zyklus__days li.is-head { color: var(--eyebrow); }
.zyklus__legend { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; font-size: 13px; color: var(--page-muted); }
.zyklus__legend span { display: inline-flex; align-items: center; gap: 10px; }
.zyklus__legend-mid { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.sw--ice { background: var(--ice); }
.sw--deep { background: var(--deep); }

/* ---------- Diagnosen ---------- */
.diag { padding-block: 16vh 14vh; overflow: clip; }
.diag__wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.diag__copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.diag__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 16px 0 0; padding-top: 28px; border-top: 1px solid var(--hair); }
.diag__stat { display: flex; flex-direction: column; gap: 6px; }
.diag__stat dd { margin: 0; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.diag__stat dt { font-size: 13px; color: var(--page-muted); }
.diag__stat-text { font-size: clamp(22px, 2.2vw, 32px) !important; letter-spacing: -.02em !important; }
.diag__orbit { position: relative; width: min(100%, 640px); aspect-ratio: 1; margin-inline: auto; }
.diag__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diag__links path { fill: none; stroke: var(--link-stroke); stroke-width: 1; }
.diag__links circle { fill: var(--signal); }
.diag__orb { position: absolute; left: 50%; top: 50%; width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.orb-css { display: block; width: 100%; height: 100%; border-radius: 50%; animation: bubble-float 10s ease-in-out infinite alternate; transition: opacity .9s var(--ease); background: radial-gradient(circle at 34% 30%, #FFFFFF, #EEF3F9 42%, rgba(201, 218, 240, .95) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset -40px -60px 120px rgba(143, 178, 224, .3), 0 60px 140px -40px rgba(15, 74, 148, .35); }
:root[data-theme="dark"] .orb-css { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .3), rgba(143, 178, 224, .12) 34%, rgba(15, 74, 148, .08) 64%, rgba(59, 122, 208, .35) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 40px -60px 120px rgba(59, 122, 208, .35), inset -60px 60px 120px rgba(255, 255, 255, .08), 0 60px 140px -40px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
html.webgl-sphere .orb-css { opacity: 0; }
html.webgl-sphere.sphere-settled .orb-css { visibility: hidden; }
.diag__pills li { position: absolute; left: var(--px); top: var(--py); transform: translate(-50%, -50%); animation: pill-float var(--fd, 7s) ease-in-out infinite alternate; }
@keyframes pill-float { from { translate: 0 0; } to { translate: 0 calc(-10px * var(--dz, 1)); } }
.diag__mockup-wrap { margin-top: clamp(56px, 9vh, 110px); }
.diag__mockup { position: relative; margin: 0 auto; width: min(100%, 1100px); aspect-ratio: 2 / 1; border-radius: 36px; overflow: hidden; box-shadow: 0 60px 140px -50px var(--phone-shadow), 0 0 0 1px var(--glass-edge); }
.diag__mockup img { width: 100%; height: 100%; object-fit: cover; }
.mockup__caption { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 40px); padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(14, 33, 64, .58); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #EDF2F8; font-size: 13px; line-height: 1.3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

/* ---------- Bento ---------- */
.bento { padding-block: 16vh 10vh; }
.bento__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; perspective: 1400px; }
.card { position: relative; overflow: hidden; border-radius: 32px; background: var(--glass-bg); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow); padding: clamp(24px, 2.8vw, 40px); transition: transform .7s var(--ease), box-shadow .5s; will-change: transform; display: flex; flex-direction: column; }
.card__light { position: absolute; inset: 0; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), var(--glass-light), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.card:hover .card__light { opacity: 1; }
.card__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.card__body p { color: var(--page-muted); }
.card__kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--eyebrow); font-weight: 500; }
.card__icon { width: 44px; height: 44px; margin-bottom: 8px; fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--meds { grid-column: span 7; min-height: 560px; }
.card--cal { grid-column: span 5; min-height: 560px; }
.card--rhythm { grid-column: span 5; min-height: 420px; }
.card--doc { grid-column: span 7; min-height: 420px; }
.card__meds { position: absolute; z-index: 0; right: -4%; bottom: -6%; height: min(64%, 440px); width: auto; max-width: none; filter: drop-shadow(0 40px 60px rgba(6, 18, 42, .35)); }
.card__cal { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.card__cal-head { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.card__cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.card__cal-grid span { aspect-ratio: 1; border-radius: 50%; background: var(--glass-bg-strong); box-shadow: inset 0 0 0 1px var(--hair); display: grid; place-items: center; font-size: 12px; color: var(--page-muted); transform: scale(.6); opacity: 0; }
.card__cal-grid span.is-mark { background: var(--signal); color: #fff; box-shadow: none; }
.card__cal-grid span.is-deep { background: var(--deep); color: #fff; }
.card__cal-grid span.is-ice { background: var(--ice); color: var(--navy); }
.card__cal-grid span.is-today { box-shadow: inset 0 0 0 2px var(--signal); }
html.reduce .card__cal-grid span { transform: none; opacity: 1; }
.card__dose { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.dose-loops { width: min(100%, 320px); height: auto; overflow: visible; }
.card__dose-label { font-size: 14px; color: var(--page-muted); }
.card__dose-label b { color: var(--page-fg); }
.card__docs { position: absolute; z-index: 0; right: 24px; bottom: -80px; width: 46%; height: 70%; min-height: 260px; }
.phone--mini { --pw: clamp(120px, 10vw, 160px); position: absolute; bottom: 0; }
.phone--doc1 { left: 0; transform: rotate(-8deg); z-index: 1; }
.phone--doc2 { left: 46%; bottom: 30px; transform: rotate(6deg); z-index: 2; }
.js:not(.reduce) [data-card] { opacity: 0; transform: translateY(40px); }

/* ---------- Widgets ---------- */
.widgets { padding-block: 10vh 12vh; overflow: clip; }
.widgets__stage { position: relative; height: clamp(520px, 72vh, 780px); }
.widgets__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.widgets__links path { fill: none; stroke: var(--light); stroke-width: 1.2; opacity: .9; }
.widgets__links circle { fill: var(--signal); }
.widget { position: absolute; margin: 0; display: flex; flex-direction: column; gap: 12px; will-change: transform; }
.widget img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(6, 18, 42, .28)); }
.widget figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--page-faint); }
.widget--1 { left: 4%; top: 6%; width: 34%; }
.widget--2 { right: 14%; top: 2%; width: 16%; }
.widget--3 { right: 2%; bottom: 10%; width: 36%; }
.widget--4 { left: 20%; bottom: 4%; width: 16%; }

/* ---------- Hell und Dunkel ---------- */
.wechsel__stage { min-height: 100vh; display: flex; align-items: center; padding-block: 8vh; }
.wechsel__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.wechsel__copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.wechsel__icons { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.wechsel__icon { width: 64px; height: 64px; border-radius: 22%; box-shadow: 0 16px 40px -16px rgba(6, 18, 42, .5), 0 0 0 1px rgba(255, 255, 255, .25); }
.wechsel__icon--dark { opacity: .35; transform: scale(.92); }
.wechsel__try { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }
.wechsel__hint { font-size: 13px; color: var(--page-faint); max-width: 24ch; }
.wechsel__scene { position: relative; display: flex; justify-content: center; align-items: center; min-height: min(72vh, 680px); }
.wechsel__stagecard { position: absolute; inset: 6% 8%; border-radius: 40px; background: #F4F8FC; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 40px 100px -50px var(--phone-shadow); }
.wechsel__stagecard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 20%, rgba(143, 178, 224, .35), transparent 70%); }
.wechsel__stagecard-dark { position: absolute; inset: 0; background: linear-gradient(180deg, #0E2140, #06122A); clip-path: inset(0 0 0 100%); }
.wechsel__stagecard-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 20%, rgba(59, 122, 208, .5), transparent 70%); }
.phone--wechsel { --pw: clamp(220px, 24vw, 320px); position: relative; margin-inline: auto; transform: rotate(-4deg); }
.wechsel__screen { position: absolute; inset: 0; }
.wechsel__screen--dark { opacity: 0; }
html.reduce .wechsel__screen--dark { opacity: 1; clip-path: inset(0 0 0 50%); }
html.reduce .wechsel__stagecard-dark { clip-path: inset(0 0 0 50%); }
html.reduce .wechsel__icon--dark { opacity: 1; transform: none; }

/* ---------- Datenschutz ---------- */
.privacy { padding-block: 18vh 14vh; }
.privacy .wrap { display: flex; flex-direction: column; gap: 32px; }
.privacy__typo { position: relative; display: inline-block; align-self: flex-start; padding: .1em 0; }
.privacy__title { position: relative; z-index: 1; display: flex; flex-direction: column; }
.privacy__line { display: block; }
.privacy__panel { position: absolute; z-index: 2; top: -8%; bottom: -8%; left: 0; width: 28%; border-radius: 28px; background: var(--panel-bg); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 0 0 1px var(--panel-edge), inset 0 0 60px rgba(255, 255, 255, .06), 0 40px 100px -40px var(--panel-shadow); transform: translateX(-30%); pointer-events: none; }
html.reduce .privacy__panel { transform: translateX(110%); }
.privacy__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 6vh; }
.privacy__points li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--hair); }
.privacy__points p { color: var(--page-muted); }
.privacy__num { font-size: 12px; letter-spacing: .22em; color: var(--eyebrow); font-weight: 500; }

/* ---------- Ticker ---------- */
.ticker { padding-block: 4vh 8vh; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__list { display: flex; gap: 14px; padding-right: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }
html.reduce .ticker { mask-image: none; -webkit-mask-image: none; }
html.reduce .ticker__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 14px; padding-inline: var(--gutter); }
html.reduce .ticker__list { flex-wrap: wrap; justify-content: center; }
html.reduce .ticker__list[aria-hidden="true"] { display: none; }

/* ---------- Hilfe & Antworten ---------- */
.faq { padding-block: 12vh 10vh; }
.faq__wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.faq__intro { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--nav-h) + 24px); }
.phone--faq { --pw: clamp(200px, 18vw, 280px); margin-top: 12px; transform: rotate(-3deg); }
.faq__list { display: flex; flex-direction: column; border-radius: 32px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow); overflow: hidden; }
:root[data-theme="dark"] .faq__list { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.faq__item { border-top: 1px solid var(--hair); }
.faq__item:first-child { border-top: 0; }
.faq__q { list-style: none; display: flex; align-items: center; gap: 18px; padding: 20px 26px; cursor: pointer; font-weight: 500; font-size: clamp(16px, 1.25vw, 19px); letter-spacing: -.01em; transition: background-color .3s; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--glass-light); }
.faq__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--hair); color: var(--eyebrow); flex: none; }
:root[data-theme="dark"] .faq__icon { background: rgba(255, 255, 255, .06); }
.faq__icon svg { width: 20px; height: 20px; }
.faq__text { flex: 1; }
.faq__chevron { width: 20px; height: 20px; color: var(--page-faint); transition: transform .5s var(--ease); flex: none; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__panel { overflow: hidden; }
.faq__panel p { padding: 0 26px 24px 88px; color: var(--page-muted); max-width: 62ch; }

/* ---------- CTA + Footer ---------- */
.cta { padding-block: 6vh 4vh; }
.cta__card { position: relative; border-radius: 40px; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 96px) clamp(32px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; overflow: clip; }
.cta__appicon { width: 92px; height: 92px; border-radius: 24%; box-shadow: 0 24px 60px -24px rgba(15, 74, 148, .5), 0 0 0 1px var(--glass-edge); margin-bottom: 6px; }
.cta__title { max-width: 14ch; }
.cta__brand { white-space: nowrap; font-weight: 700; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.cta__ios { height: 48px; gap: 10px; }
.cta__note { font-size: 13px; color: var(--page-faint); }
.cta__mockup { margin: clamp(28px, 5vw, 64px) 0 0; width: min(100%, 1100px); aspect-ratio: 2 / 1; border-radius: 32px; overflow: hidden; box-shadow: 0 60px 140px -50px var(--phone-shadow), 0 0 0 1px var(--glass-edge); }
.cta__mockup img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.footer { padding-block: 10vh 40px; }
.footer__wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; padding-top: 32px; border-top: 1px solid var(--hair); }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__tag { font-size: 13px; color: var(--page-muted); }
.footer__nav { display: flex; gap: 22px; font-size: 14px; color: var(--page-muted); }
.footer__nav a:hover { color: var(--page-fg); }
.footer__note { grid-column: 1 / -1; max-width: 72ch; font-size: 13px; line-height: 1.55; color: var(--page-faint); }
.footer__copy { font-size: 13px; color: var(--page-faint); }

/* ---------- Reveals ---------- */
.js:not(.reduce) [data-reveal] { opacity: 0; transform: translateY(24px); }
.js:not(.reduce) [data-split] { visibility: hidden; }


/* ---------- Sound-Schalter ---------- */
.sound-toggle__on { opacity: 1; }
.sound-toggle__off { opacity: 0; transform: scale(.6); }
html.sound-off .sound-toggle__on { opacity: 0; transform: scale(.6); }
html.sound-off .sound-toggle__off { opacity: 1; transform: none; }

/* ---------- Scan-Demo (Medikamente-Karte) ---------- */
.card--scan { min-height: 620px; }
.scan { position: absolute; z-index: 2; right: clamp(16px, 3vw, 40px); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone--scan { --pw: clamp(200px, 16vw, 236px); }
.scan__screen { background: #0E2140; }
.scan__view { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(var(--pw) * .2) 10px 16px; color: #EDF2F8; transition: opacity .5s var(--ease), filter .5s; }
.scan__topbar { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: #C9DAF0; padding: 0 6px; }
.scan__topbar b { font-size: 11px; font-weight: 600; color: #FFFFFF; }
.scan__frame { position: relative; width: 90%; aspect-ratio: 220 / 140; display: grid; place-items: center; }
.scan__pack { width: 94%; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5)); transition: transform .7s var(--ease); }
.scan__corner { position: absolute; width: 18px; height: 18px; border: 2px solid #FFFFFF; }
.scan__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.scan__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.scan__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.scan__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.scan__laser { position: absolute; left: 4%; right: 4%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #3B7AD0 25%, #FFFFFF 50%, #3B7AD0 75%, transparent); box-shadow: 0 0 18px #3B7AD0; opacity: 0; }
.scan__box { fill: rgba(59, 122, 208, .18); stroke: #3B7AD0; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.92); }
.scan__hint { font-size: 11px; color: #C9DAF0; text-align: center; min-height: 2.6em; margin: 0 8px; }
.scan__shutter { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #FFFFFF; background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; }
.scan__shutter span { display: block; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; transition: transform .25s var(--ease); }
.scan__shutter:hover span { transform: scale(.92); }
.scan__shutter:active span { transform: scale(.8); }
.scan__sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 16px; border-radius: 24px 24px 0 0; background: #F4F8FC; color: #0E2140; transform: translateY(104%); transition: transform .8s var(--ease); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -20px 50px rgba(6, 18, 42, .35); }
.scan.is-done .scan__sheet { transform: none; }
.scan__sheet-head { display: flex; align-items: center; gap: 10px; }
.scan__sheet-head b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.scan__badge { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: #3B7AD0; color: #FFFFFF; font-weight: 600; }
.scan__fields { margin: 0; display: grid; gap: 7px; }
.scan__fields div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(15, 74, 148, .12); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.scan.is-done .scan__fields div { opacity: 1; transform: none; }
.scan.is-done .scan__fields div:nth-child(2) { transition-delay: .08s; }
.scan.is-done .scan__fields div:nth-child(3) { transition-delay: .16s; }
.scan.is-done .scan__fields div:nth-child(4) { transition-delay: .24s; }
.scan__fields dt { color: rgba(14, 33, 64, .6); }
.scan__fields dd { margin: 0; font-weight: 600; text-align: right; }
.scan__add { height: 40px; font-size: 13px; justify-content: center; width: 100%; background: #0F4A94; color: #FFFFFF; }
.scan__add.is-added { background: #2E6ABF; pointer-events: none; }
.scan__again { border: 0; background: none; font: inherit; font-size: 12px; color: #2E6ABF; cursor: pointer; padding: 2px; align-self: center; }
.scan__note { font-size: 12px; color: var(--page-faint); text-align: center; max-width: 26ch; line-height: 1.4; }
.scan.is-scanning .scan__laser { opacity: 1; animation: laser 1.2s ease-in-out 1; }
@keyframes laser { 0% { top: 0; } 50% { top: calc(100% - 2px); } 100% { top: 0; } }
.scan.is-scanning .scan__pack, .scan.is-done .scan__pack { transform: scale(1.04); }
.scan.is-scanning .scan__box, .scan.is-done .scan__box { animation: boxin .5s var(--ease) forwards; animation-delay: .45s; }
.scan.is-scanning .scan__box--2, .scan.is-done .scan__box--2 { animation-delay: .7s; }
.scan.is-scanning .scan__box--3, .scan.is-done .scan__box--3 { animation-delay: .95s; }
@keyframes boxin { to { opacity: 1; transform: none; } }
.scan.is-done .scan__view { opacity: .4; filter: blur(1px); }

/* ---------- Einnahmeplan zum Abhaken (Tagesrhythmus-Karte) ---------- */
.card--plan { min-height: 560px; }
.plan { position: relative; z-index: 2; margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--page-faint); }
.plan__head b { color: var(--eyebrow); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.plan__list { display: flex; flex-direction: column; gap: 8px; }
.plan__row { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.plan__row:hover { transform: translateX(2px); }
.plan__check { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.plan__box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--light); color: #FFFFFF; flex: none; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
.plan__box svg { width: 13px; height: 13px; opacity: 0; transform: scale(.5); transition: transform .35s var(--ease), opacity .2s; }
.plan__check:checked ~ .plan__box { background: var(--signal); box-shadow: inset 0 0 0 2px var(--signal); }
.plan__check:checked ~ .plan__box svg { opacity: 1; transform: none; }
.plan__check:focus-visible ~ .plan__box { outline: 2px solid var(--signal); outline-offset: 3px; }
.plan__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.plan__text b { font-size: 14px; font-weight: 600; transition: color .3s; }
.plan__text small { font-size: 12px; color: var(--page-muted); }
.plan__check:checked ~ .plan__text b { text-decoration: line-through; text-decoration-color: var(--signal); color: var(--page-muted); }
.plan__item--new { animation: plan-in .7s var(--ease); }
.plan__item.is-flash .plan__row { box-shadow: inset 0 0 0 2px var(--signal); }
@keyframes plan-in { from { opacity: 0; transform: translateY(12px); } }
.plan__loops { display: flex; align-items: center; gap: 16px; padding-top: 4px; }
.plan__loops .dose-loops { width: min(100%, 220px); }
.plan.is-complete .plan__head b { color: var(--deep); }
:root[data-theme="dark"] .plan.is-complete .plan__head b { color: var(--ice); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--glass-bg-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--page-fg); pointer-events: none; transition: opacity .4s, transform .6s var(--ease); }
.toast[hidden] { display: flex; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px var(--signal); }

/* ---------- Das Gesicht aus der App („Eintrag gespeichert“) ---------- */
.face { display: block; width: 100%; height: 100%; }
.story__face { position: absolute; inset: 0; z-index: 3; background: #EBF2FA; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.story__face.is-on { opacity: 1; }
.story__face canvas { position: absolute; inset: 0; }
.story__face p { position: absolute; left: 0; right: 0; bottom: 10.5%; margin: 0; text-align: center; font-size: calc(var(--pw) * .063); font-weight: 600; letter-spacing: -.01em; color: #17508F; opacity: 0; transform: translateY(8px); transition: opacity .35s ease-out .15s, transform .35s ease-out .15s; }
.story__face.is-on p { opacity: 1; transform: none; }
.story__face.is-out p { opacity: 0; transition: opacity .35s ease-in; }
.plan__done { position: absolute; inset: 0; z-index: 6; border-radius: inherit; background: var(--card-bg); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.plan__done.is-on { opacity: 1; }
.plan__done canvas { width: min(74%, 300px); aspect-ratio: 1; height: auto; }
.plan__done p { position: absolute; left: 0; right: 0; bottom: 13%; margin: 0; text-align: center; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--page-fg); opacity: 0; transform: translateY(8px); transition: opacity .35s ease-out .15s, transform .35s ease-out .15s; }
.plan__done.is-on p { opacity: 1; transform: none; }
.plan__done.is-out p { opacity: 0; transition: opacity .35s ease-in; }


/* ---------- Widget zum Ausprobieren (Tagesrhythmus, mittel, dunkel) ---------- */
.widget--live { container-type: inline-size; }
.wlive { aspect-ratio: 1092 / 510; border-radius: 10cqw; background: #0D1A33; color: #EDF2F8; padding: 6cqw 7cqw; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4.5cqw; overflow: hidden; box-shadow: 0 30px 50px rgba(6, 18, 42, .28), inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: 4cqw; line-height: 1.2; }
.wlive__left { display: flex; flex-direction: column; min-width: 0; }
.wlive__title { font-size: 4.4cqw; font-weight: 600; color: #8FA3C0; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlive__loops { width: 92%; height: auto; overflow: visible; margin-top: 2.5cqw; }
.wlive .loops__open { stroke: rgba(255, 255, 255, .16); }
.wlive .loops__done { stroke: #8FB2E0; }
.wlive .loops__halo { fill: #0D1A33; }
.wlive .loops__head { fill: #8FB2E0; }
.wlive__count { margin-top: auto; font-size: 4.2cqw; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlive__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5cqw; min-width: 0; }
.wlive__row { display: flex; align-items: center; gap: 3cqw; cursor: pointer; border-radius: 3cqw; min-width: 0; }
.wlive__check { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.wlive__box { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; box-shadow: inset 0 0 0 .55cqw #8FA3C0; display: grid; place-items: center; flex: none; color: #0E2140; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
.wlive__box svg { width: 3.8cqw; height: 3.8cqw; opacity: 0; transform: scale(.5); transition: transform .35s var(--ease), opacity .2s; }
.wlive__check:checked ~ .wlive__box { background: #A9C6E8; box-shadow: inset 0 0 0 .55cqw #A9C6E8; }
.wlive__check:checked ~ .wlive__box svg { opacity: 1; transform: none; }
.wlive__check:focus-visible ~ .wlive__box { outline: 2px solid #8FB2E0; outline-offset: 3px; }
.wlive__row:hover .wlive__box { transform: scale(1.06); }
.wlive__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; flex: 1 1 auto; }
.wlive__text b { font-size: 3.8cqw; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.wlive__text small { font-size: 3.4cqw; color: #8FA3C0; }
.wlive__check:checked ~ .wlive__text b { text-decoration: line-through; text-decoration-thickness: .4cqw; color: #C9DAF0; }

/* ---------- Spracheingabe ---------- */
.voice { padding-block: 12vh 10vh; }
.voice__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.voice__copy { display: flex; flex-direction: column; gap: 22px; }
.voice__points { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.voice__points li { display: flex; gap: 14px; align-items: flex-start; }
.voice__points svg { width: 22px; height: 22px; flex: none; color: var(--signal); margin-top: 1px; }
.voice__points div { display: flex; flex-direction: column; gap: 2px; }
.voice__points b { font-weight: 600; letter-spacing: -.01em; }
.voice__points span { font-size: 15px; color: var(--page-muted); line-height: 1.45; }
.voice__stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone--voice { --pw: clamp(260px, 22vw, 320px); }
.voice__screen { --vs-bg: #EDF2F8; --vs-fg: #0E2140; --vs-muted: rgba(14, 33, 64, .58); --vs-card: #FFFFFF; --vs-hair: rgba(15, 74, 148, .12); background: var(--vs-bg); color: var(--vs-fg); display: flex; flex-direction: column; padding: calc(var(--pw) * .19) calc(var(--pw) * .06) calc(var(--pw) * .08); gap: calc(var(--pw) * .035); }
:root[data-theme="dark"] .voice__screen { --vs-bg: #0E2140; --vs-fg: #EDF2F8; --vs-muted: rgba(237, 242, 248, .6); --vs-card: rgba(255, 255, 255, .07); --vs-hair: rgba(255, 255, 255, .1); }
.voice__top { display: flex; flex-direction: column; gap: 4px; }
.voice__top span { font-size: calc(var(--pw) * .036); letter-spacing: .14em; text-transform: uppercase; color: var(--vs-muted); }
.voice__top b { font-size: calc(var(--pw) * .055); font-weight: 600; letter-spacing: -.01em; }
.is-recording .voice__top b { color: var(--signal); }
.voice__wave { display: flex; align-items: center; justify-content: center; gap: calc(var(--pw) * .012); height: calc(var(--pw) * .16); }
.voice__wave i { display: block; width: calc(var(--pw) * .012); height: 12%; border-radius: 999px; background: var(--light); transition: height .4s var(--ease), background-color .4s; }
.is-recording .voice__wave i { background: var(--signal); animation: wave .7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.085s); }
.is-parsed .voice__wave i { height: calc(12% + var(--h) * 30%); background: var(--light); }
@keyframes wave { from { height: 14%; } to { height: calc(30% + var(--h) * 70%); } }
.voice__transcript { margin: 0; font-size: calc(var(--pw) * .048); line-height: 1.4; min-height: calc(var(--pw) * .34); color: var(--vs-muted); transition: color .4s; }
.is-recording .voice__transcript, .is-parsed .voice__transcript { color: var(--vs-fg); }
.is-parsed .voice__transcript { min-height: 0; font-size: calc(var(--pw) * .04); color: var(--vs-muted); }
.voice__fields { display: none; flex-direction: column; gap: calc(var(--pw) * .025); }
.is-parsed .voice__fields { display: flex; }
.voice__label { margin: 0; font-size: calc(var(--pw) * .034); letter-spacing: .14em; text-transform: uppercase; color: var(--vs-muted); }
.voice__fields ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(var(--pw) * .012); }
.voice__fields li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: calc(var(--pw) * .03); padding: calc(var(--pw) * .022) calc(var(--pw) * .035); border-radius: calc(var(--pw) * .04); background: var(--vs-card); box-shadow: inset 0 0 0 1px var(--vs-hair); font-size: calc(var(--pw) * .04); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease), box-shadow .3s; }
.is-parsed .voice__fields li { opacity: 1; transform: none; }
.voice__fields li span { color: var(--vs-muted); }
.voice__fields li b { font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice__fields li.is-ok { box-shadow: inset 0 0 0 1.5px var(--signal); }
.voice__ok { width: calc(var(--pw) * .075); height: calc(var(--pw) * .075); border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1.5px var(--light); color: #FFFFFF; transition: background-color .3s, box-shadow .3s; }
.voice__ok svg { width: 55%; height: 55%; opacity: 0; transition: opacity .2s; }
.is-ok .voice__ok { background: var(--signal); box-shadow: inset 0 0 0 1.5px var(--signal); }
.is-ok .voice__ok svg { opacity: 1; }
.voice__confirm { height: calc(var(--pw) * .13); font-size: calc(var(--pw) * .042); justify-content: center; width: 100%; margin-top: calc(var(--pw) * .01); background: var(--ice); color: var(--deep); transition: background-color .4s, color .4s; }
.voice__confirm.is-ready { background: #0F4A94; color: #FFFFFF; }
.voice__again { border: 0; background: none; font: inherit; font-size: calc(var(--pw) * .038); color: var(--signal); cursor: pointer; align-self: center; padding: 2px; }
.voice__mic { margin-top: auto; align-self: center; position: relative; width: calc(var(--pw) * .24); height: calc(var(--pw) * .24); border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; background: #0F4A94; color: #FFFFFF; box-shadow: 0 16px 36px -10px rgba(15, 74, 148, .6); transition: transform .4s var(--ease), background-color .3s; }
.voice__mic:hover { transform: scale(1.05); }
.voice__mic svg { width: 42%; height: 42%; position: relative; }
.voice__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(59, 122, 208, .5); opacity: 0; }
.is-recording .voice__mic { background: var(--signal); }
.is-recording .voice__ring { opacity: 1; animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(59, 122, 208, .55); } to { box-shadow: 0 0 0 calc(var(--pw) * .12) rgba(59, 122, 208, 0); } }
.is-parsed .voice__mic { display: none; }
.voice__note { font-size: 13px; color: var(--page-faint); text-align: center; max-width: 30ch; line-height: 1.4; }
html.reduce .voice__wave i, html.reduce .voice__ring { animation: none !important; }


/* ---------- Alle Funktionen ---------- */
.all { padding-block: 10vh 8vh; }
.all__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 64px); }
.all__group { display: flex; flex-direction: column; gap: 16px; }
.all__group h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); }
.all__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.all__group li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--page-muted); }
.all__group li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--signal); }

/* ---------- Unterseiten: Impressum, Datenschutz ---------- */
.legal__nav { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; }
.legal__home { display: inline-flex; color: var(--page-fg); }
.legal__tools { display: flex; align-items: center; gap: 12px; }
.legal__head { padding-block: 8vh 5vh; }
.legal__head .wrap { display: flex; flex-direction: column; gap: 18px; max-width: 860px; margin-inline: auto; }
.legal__head h1 { font-size: clamp(40px, 6.5vw, 76px); letter-spacing: -.04em; line-height: 1; font-weight: 700; }
.legal .stand { color: var(--page-muted); font-size: 15px; }
.legal__sheet .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 18px; padding-bottom: 6vh; }
.legal .card { gap: 14px; }
.legal .card h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; line-height: 1.2; font-weight: 600; }
.legal .num { width: 30px; height: 30px; border-radius: 50%; background: var(--ice); color: var(--deep); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
:root[data-theme="dark"] .legal .num { background: rgba(255, 255, 255, .1); color: var(--ice); }
.legal .card p, .legal .card address, .legal .card li, .legal .summary li { color: var(--page-muted); line-height: 1.6; font-size: 16px; }
.legal .card address { font-style: normal; }
.legal .card strong { color: var(--page-fg); font-weight: 600; }
.legal main a, .legal address a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.legal .card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal .summary, .legal .toc { padding: clamp(20px, 2.5vw, 28px) clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--glass-edge); display: flex; flex-direction: column; gap: 12px; }
.legal .summary h2, .legal .toc h2 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); }
.legal .summary ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; list-style: disc; }
.legal .card ul { list-style: disc; }
.legal .toc ol { list-style: decimal; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; line-height: 1.9; }
.legal .toc a { color: var(--page-fg); text-decoration: none; }
.legal .toc a:hover { color: var(--signal); }
.legal .flow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.legal .tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; height: fit-content; background: var(--ice); color: var(--deep); white-space: nowrap; font-weight: 600; }
.legal .flow.out .tag { background: var(--deep); color: #FFFFFF; }
:root[data-theme="dark"] .legal .tag { background: rgba(255, 255, 255, .1); color: var(--ice); }
:root[data-theme="dark"] .legal .flow.out .tag { background: var(--signal); color: #FFFFFF; }
.legal .flow .body { display: flex; flex-direction: column; gap: 4px; }
.legal .flow .body b { font-weight: 600; }
.legal .flow .body span { color: var(--page-muted); font-size: 15px; line-height: 1.5; }
.legal .note, .legal .warn { padding: 16px 18px; border-radius: 16px; background: var(--glass-bg); box-shadow: inset 0 0 0 1px var(--glass-edge); line-height: 1.55; color: var(--page-muted); font-size: 15px; }
.legal .warn { box-shadow: inset 0 0 0 1.5px var(--signal); }
.legal .back-top { font-size: 13px; color: var(--page-muted); align-self: flex-start; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .all__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .card--meds, .card--cal, .card--rhythm, .card--doc { grid-column: span 6; }
  .faq__wrap { gap: 40px; }
}
@media (max-width: 899px) {
  :root { --nav-h: 72px; --line-w: 11px; }
  .nav__pill { display: none; }
  .nav__burger { display: grid; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .hero { min-height: auto; }
  .hero__wrap { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: auto; padding-block: 6vh 0; }
  .hero__copy { gap: 20px; }
  .hero__title { display: flex; flex-wrap: wrap; column-gap: .22em; width: auto; max-width: 100%; font-size: clamp(36px, 10.4vw, 72px); }
  .hero__title .w:nth-child(odd) { margin-right: 0; }
  .hero__stage { height: 520px; min-height: 0; margin-top: 24px; margin-inline: calc(-1 * var(--gutter)); overflow: visible; }
  .phone--hero-front { --pw: 250px; right: auto; left: 50%; margin-left: -125px; top: 60px; transform: rotate(-5deg); }
  .phone--hero-back { --pw: 190px; right: 4%; top: 20px; opacity: .8; }
  .chip--saved { right: auto; left: 8px; top: 330px; }
  .hero__widget { display: none; }
  .hero__scroll { display: none; }
  .statement__wrap { min-height: auto; padding-block: 14vh 8vh; }
  .statement__title { font-size: clamp(32px, 9.2vw, 72px); }
  .statement__stage { --cw: min(60vw, 240px); }
  .statement__card { margin-top: calc(var(--cw) * -.7); }
  .statement__caption { margin-top: 170px; }
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story__sticky { display: none; }
  .story__step { min-height: 0; opacity: 1; padding-block: 6vh; max-width: none; border-top: 1px solid var(--hair); }
  .phone--inline { display: block; }
  .zyklus__stage { min-height: 0; padding-block: 12vh 8vh; }
  .zyklus__run { height: 240px; }
  .zyklus__legend-mid { display: none; }
  .diag { padding-block: 12vh; }
  .diag__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .diag__orbit { max-width: 420px; }
  .diag__mockup { aspect-ratio: 6 / 7; border-radius: 28px; }
  .pill--glass { height: 38px; font-size: 13px; padding: 0 14px; }
  .diag__stats { gap: 16px; }
  .bento { padding-block: 12vh 8vh; }
  .bento__grid { gap: 14px; }
  .card--meds, .card--cal, .card--rhythm, .card--doc { grid-column: span 12; min-height: 0; }
  .card--meds { padding-bottom: 330px; }
  .card__meds { right: -6%; bottom: -4%; height: 330px; }
  .card--doc { padding-bottom: 280px; }
  .card__docs { right: 16px; bottom: -40px; width: 62%; height: 280px; }
  .phone--mini { --pw: 118px; }
  .widgets__stage { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; align-items: end; }
  .widget { position: static; width: auto !important; transform: none !important; }
  .widget--1, .widget--3 { grid-column: span 2; }
  .widgets__links { display: none; }
  .wechsel__stage { min-height: 0; padding-block: 10vh; }
  .wechsel__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .wechsel__scene { min-height: 0; padding-block: 48px; }
  .wechsel__stagecard { inset: 0 4%; border-radius: 32px; }
  .phone--wechsel { --pw: 230px; }
  .privacy { padding-block: 14vh 10vh; }
  .privacy__title { font-size: clamp(40px, 13vw, 72px); }
  .privacy__points { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq__wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq__intro { position: static; }
  .phone--faq { display: none; }
  .faq__q { padding: 18px 18px; gap: 14px; font-size: 16px; }
  .faq__icon { width: 40px; height: 40px; border-radius: 12px; }
  .faq__panel p { padding: 0 18px 20px 72px; }
  .cta__card { border-radius: 28px; }
  .cta__mockup { aspect-ratio: 4 / 3; border-radius: 24px; }
  .band--cta { border-radius: 28px; }
  .footer__wrap { grid-template-columns: minmax(0, 1fr); }
  .card--scan { padding-bottom: 540px; min-height: 0; }
  .scan { right: auto; left: 50%; transform: translateX(-50%); bottom: 18px; }
  .card--plan { min-height: 0; }
  .toast { bottom: 16px; max-width: calc(100% - 32px); }
  .all__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal .toc ol { columns: 1; }
  .legal .flow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .legal__tools .btn { display: none; }
  .voice__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phone--voice { --pw: min(300px, 78vw); }
  .css-bubble--a { width: 90vw; height: 90vw; left: -40vw; bottom: -30vw; }
  .css-bubble--b { width: 34vw; height: 34vw; right: -8vw; top: 6vh; }
  .css-bubble--c, .css-bubble--dot1, .css-bubble--dot2 { display: none; }
}
@media (max-width: 480px) {
  .btn { height: 52px; padding: 0 22px 0 24px; font-size: 15px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .diag__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zyklus__run { height: 220px; }
  .nav__cta { display: none; }
}

/* ---------- Reduced Motion: statisch, aber schön ---------- */
html.reduce .css-bubble, html.reduce .orb-css, html.reduce .diag__pills li { animation: none; }
html.reduce .story__step { opacity: 1; }
html.reduce .story__sticky { display: none; }
html.reduce .phone--inline { display: block; }
html.reduce .story__grid { grid-template-columns: minmax(0, 1fr); }
html.reduce .zyklus__days li { opacity: 1; }
html.reduce .hero__scroll { display: none; }
html.reduce .band__canvas { display: none !important; }
html.reduce .nav { transition: none; }
html.reduce .phone--hero-back, html.reduce .chip--saved, html.reduce .hero__widget { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
