/* ==========================================================================
   Donna AI — website (Figma: NXT YOU - Donna AI · page --- WEBSITE · frame 20459:5950)
   Desktop is built 1:1 against the 1440 frame; tablet/mobile follow spec §3.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: 'Satoshi'; src: url('../fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- tokens (spec §2) ---------- */
:root {
  --bg: #101014;
  --bg-deep: #000000;
  --accent: #879CC4;
  --eyebrow: #A3B3D1;
  --eyebrow-muted: #5D6C88;
  --btn-from: #7890BC;
  --btn-to: #B1BFD8;
  --text: #FFFFFF;
  --text-80: rgba(255, 255, 255, .8);
  --text-68: rgba(255, 255, 255, .68);
  --text-60: rgba(255, 255, 255, .6);
  --text-50: rgba(255, 255, 255, .5);
  --text-body: #BBBBBB;
  --surface-4: rgba(255, 255, 255, .04);
  --surface-7: rgba(255, 255, 255, .07);
  --surface-8: rgba(255, 255, 255, .08);
  --line-8: rgba(255, 255, 255, .08);
  --line-14: rgba(255, 255, 255, .14);
  --line-16: rgba(255, 255, 255, .16);
  --line-20: rgba(255, 255, 255, .2);
  --ok: #2CDB54;
  --warn: #DB872C;
  --info: #A0C1FF;

  --font-display: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  /* SF Pro cannot be self-hosted (Apple licence) → system stack, Inter as fallback (spec §2, Q12) */
  --font-ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro', 'Inter', 'Segoe UI', Roboto, sans-serif;
  --font-logo: 'REM', var(--font-display);
  --font-mono: 'Cousine', ui-monospace, monospace;

  --grad-h2: linear-gradient(90deg, rgba(255,255,255,.8) 0%, #fff 43%, rgba(255,255,255,.3) 100%);
  --grad-fade: linear-gradient(90deg, #fff 0%, #fff 59%, rgba(255,255,255,.43) 100%);
  --glow: 0 0 32px rgba(135, 156, 196, .6);
  --gutter: 120px;
  --nav-h: 56px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* a 1440-wide artboard that scales as one piece (hero, story, ablauf, cta, apps) */
.design {
  position: absolute; left: 50%; top: 50%;
  width: 1440px; height: var(--dh, 820px);
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: 50% 50%;
}
.design > * { position: absolute; }

/* ---------- type ---------- */
.eyebrow {
  font: 500 14px/1.42 var(--font-ui);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0;
}
.h2 {
  font: 700 58px/0.97 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
  background: var(--grad-h2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .14em; margin-bottom: -.14em;            /* keeps g/p descenders inside the clipped background */
}
.sub { font: 400 16px/1.52 var(--font-ui); color: var(--text-body); margin: 0; }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.head .eyebrow + .h2 { margin-top: -8px; }

/* ---------- buttons ---------- */
.btn-primary {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 12px 25px 14px; border-radius: 41px;
  background: linear-gradient(90deg, var(--btn-from), var(--btn-to));
  box-shadow: 0 6px 21px -6px rgba(144, 164, 200, .5);
  font: 700 14.4px/1.03 var(--font-display); color: #fff;
  text-shadow: 0 0 9px rgba(0, 0, 0, .6);
  transition: box-shadow .25s ease, transform .25s ease;
}
.btn-primary::before { /* 2px gradient stroke */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(90deg, rgba(177,191,216,0) 0%, #B1BFD8 22%, rgba(177,191,216,.8) 33%, rgba(171,186,213,.63) 72%, rgba(103,130,180,0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.btn-glass {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 100px;
  background: linear-gradient(90deg, rgba(177,191,216,.28), rgba(120,144,188,.28) 77%);
  box-shadow: inset 0 5px 19px rgba(255, 255, 255, .2), var(--glow);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  font: 700 14px/1.03 var(--font-display); color: #fff;
  text-shadow: 0 0 9px rgba(0, 0, 0, .6);
  transition: box-shadow .25s ease, transform .25s ease;
}
.btn-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(90deg, transparent 12%, #7991BD 30%, transparent 55%), linear-gradient(270deg, transparent 12%, #7991BD 30%, transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.btn-glass--lg { height: 48px; padding: 0 40px; min-width: 244px; }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px -6px rgba(144, 164, 200, .7); }
  .btn-glass:hover { transform: translateY(-1px); box-shadow: inset 0 5px 19px rgba(255, 255, 255, .24), 0 0 40px rgba(135, 156, 196, .75); }
}

/* CTA stack: button + hanging sub-pill with the animated stroke (A3) */
.cta { display: inline-flex; flex-direction: column; align-items: center; }
.cta .btn-primary { width: 100%; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.subpill {
  position: relative; z-index: 1;
  margin-top: -2px; width: calc(100% - 32px); height: 44px;
  display: flex; align-items: center; justify-content: center; padding: 12px 8px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(90deg, rgba(177,191,216,.28), rgba(120,144,188,.28) 77%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  font: 500 12.3px/1.42 var(--font-ui); color: #fff; white-space: nowrap;
}
.subpill::before { /* static faint frame */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: rgba(121, 145, 189, .18);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.subpill::after { /* the travelling light: transparent 12% → #7991BD 30% → transparent 55% */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a), transparent 0deg, transparent 43deg, #7991BD 108deg, #B1BFD8 120deg, transparent 198deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
  animation: stroke-run var(--stroke-dur, 4s) linear infinite;
}
@keyframes stroke-run { to { --a: 360deg; } }
.cta--lg .subpill { font-size: 13.9px; height: 50px; }

/* ---------- glass recipe (spec §2) ---------- */
.glass {
  background: rgba(255, 255, 255, .08);
  border: .83px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 7px 16px rgba(0, 0, 0, .33);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.tile {
  display: grid; place-items: center;
  background: rgba(16, 16, 20, .4);
  border: .84px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 .84px 0 rgba(255, 255, 255, .12), 0 6.7px 16px rgba(0, 0, 0, .33);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 18.5px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; left: 80px; right: 80px; top: 19px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0; border-radius: 1000px;
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  /* scroll-linked container state (0 → 1 over the first 160 px, set from main.js) */
  --navp: 0;
  background: rgba(16, 16, 20, calc(.42 * var(--navp)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, calc(.08 * var(--navp))), 0 10px 30px rgba(0, 0, 0, calc(.22 * var(--navp)));
  padding: 0 calc(9px * var(--navp)) 0 calc(24px * var(--navp));
}
.nav__logo { font: 600 18px/22.5px var(--font-logo); letter-spacing: -.234px; text-transform: uppercase; }
.nav__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 32px; }
.nav__links a, .nav__login { font: 400 14px/19.5px var(--font-ui); letter-spacing: -.076px; }
.nav__right { display: flex; align-items: center; gap: 32px; }
.lang { display: flex; gap: 2px; font: 400 14px/16px var(--font-ui); }
.lang a { width: 35px; height: 32px; display: grid; place-items: center; border-radius: 8px; opacity: .5; transition: opacity .2s, background-color .2s; }
.lang a[aria-current='true'] { opacity: 1; font-weight: 600; }
.nav__login { display: inline-flex; align-items: center; gap: 6px; opacity: .7; transition: opacity .2s; }
.nav__login svg { width: 16px; height: 16px; }
@media (hover: hover) { .lang a:hover { opacity: 1; background: rgba(255,255,255,.06); } .nav__login:hover { opacity: 1; } }
.nav .btn-glass { width: 173px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 2px; position: relative; content: ''; transition: transform .25s ease, opacity .2s; }
.nav__burger span::before { position: absolute; top: -6px; } .nav__burger span::after { position: absolute; top: 6px; }
.menu {
  position: fixed; z-index: 49; inset: 0; padding: 96px 24px 32px;
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(16, 16, 20, .82); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.menu a { font: 500 28px/1.3 var(--font-display); padding: 8px 0; border-bottom: 1px solid var(--line-8); }
.menu .lang { margin: 24px 0 0; font-size: 16px; }
.menu .lang a { border: 0; font: inherit; padding: 0; }
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO (A1, A2, A3, A5, A7)
   ========================================================================== */
.hero { position: relative; }
.hero__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.hero__frame {
  position: absolute; inset: 0; background: var(--bg-deep);
  clip-path: inset(var(--ci-t, 0px) var(--ci-r, 0px) var(--ci-b, 0px) var(--ci-l, 0px) round var(--ci-rad, 0px));
  will-change: clip-path;
}
.hero__bg1 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 63.4%, rgba(47,55,69,.3) 100%), var(--bg); }
.hero__bg2 { position: absolute; opacity: 0; object-fit: cover; }
.hero__sphere { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.hero__display {
  position: absolute; left: 50%; top: calc(var(--oy, 0px) + 19px * var(--s, 1)); transform: translateX(-50%);
  margin: 0; white-space: nowrap;
  font: 700 20.833vw/1.35 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; text-align: center;
  /* Figma 20459:6901 — the only VISIBLE fill (the white→transparent fill under it is hidden in Figma):
     t = 2.035·y − 0.535 over the 405 px text box → #FFF 26.3 % · #879CC4 49.7 % · #414B5E/0 75.4 % */
  background: linear-gradient(180deg, #fff 26.3%, var(--accent) 49.7%, rgba(65,75,94,0) 75.4%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__s2head { left: 462px; top: 189px; width: 517px; display: flex; flex-direction: column; align-items: center; gap: 9px; opacity: 0; }
/* all section eyebrows render at the same 14 px: inside a scaled artboard the size is divided by its --s */
.design .eyebrow, .design .cta-sec__badge { font-size: calc(14px / var(--s, 1)); }
.hero__s2head h2 { margin: 0; text-align: center; font: 700 46.53px/45.81px var(--font-display); letter-spacing: -0.02em; color: #fff; }
.grad { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .12em; }
.hero__s2head h2 .grad { background-image: linear-gradient(90deg, #fff 230px, rgba(255,255,255,.39) 464px); }
.hero__s2head h2 .dim { color: rgba(255,255,255,.4); -webkit-text-fill-color: rgba(255,255,255,.4); }

.hero__back, .hero__head2, .hero__front { pointer-events: none; }
.hero__cards { left: 0; top: 0; width: 100%; height: 100%; }
.hero__cards > * { position: absolute; }
/* step-1 bottom row: 80 px from the screen edges (Figma frame 2147223758 at x 80, w 1280), scaled with the artboard */
.hero__s1 { position: absolute; left: 80px; right: 80px; bottom: calc(var(--oy, 0px) + 67px * var(--s, 1)); display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.hero__s1 > * { pointer-events: auto; }
.hero__s1.is-off > * { pointer-events: none; }
.hero__col { display: flex; flex-direction: column; transform: scale(var(--s, 1)); }
.hero__col--l { width: 423px; gap: 24px; transform-origin: 0 100%; }
.hero__col--r { width: 280px; gap: 17px; transform-origin: 100% 100%; }
.hero__apps { display: flex; flex-direction: column; gap: 12px; }
.hero__lead { margin: 0; font: 500 32px/1.2 var(--font-display); color: #fff; }
.hero__lead .grad { background-image: linear-gradient(90deg, #fff 237px, rgba(255,255,255,.39) 423px); }
.hero__lead .dim { color: rgba(255,255,255,.6); -webkit-text-fill-color: rgba(255,255,255,.6); }   /* Figma: #FFFFFF 60 % */
.hero__works { margin: 0; font: 500 10px/1.42 var(--font-ui); letter-spacing: .19em; text-transform: uppercase; color: var(--text-60); }
/* A2 — no fill, no blur, no shadow: only an alpha fade at the edges */
.marquee {
  position: relative; width: 370px; height: 20px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 46px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 46px), transparent 100%);
}
.marquee__track { --mg: 20px; display: flex; gap: var(--mg); width: max-content; animation: marquee var(--marquee-dur, 14s) linear infinite; }
.marquee__track img { flex: none; width: 20px; height: 20px; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--mg, 20px) / 2)); } }
/* 13–14 px on screen, never smaller: the column is scaled by --s, so compensate */
.hero__text { margin: 0; font: 400 calc(clamp(13px, 14px * var(--s, 1), 14px) / var(--s, 1))/1.52 var(--font-ui); color: var(--text-80); }
.hero__cta { width: 100%; }

/* step-2 floating cards (positions = Figma hero_step2 20459:3584) */
/* Cards enter WITHOUT opacity on the glass element: opacity < 1 (and will-change) switch backdrop-filter off,
   so the blur used to pop in at the end. --e (0…1) fades fill, stroke, shadow and content; --eb ramps the blur
   twice as fast, so the glass is live from the first frame. */
.hc { --e: 0; --eb: 0; }
.hc__body { width: 100%; height: 100%; }
.hc--wa { left: 82px; top: 168px; width: 96px; height: 91px; }
.hc--wa .hc__body { border-radius: 26px 26px 3px 26px; display: grid; place-items: center; }
.hc--wa img { width: 41px; height: 41px; }
.hc--voice { left: 91px; top: 280px; width: 327px; height: 142px; }
.hc--voice .hc__body { border-radius: 20.8px; padding: 19px 21px; }
.hc__label { font: 500 10.4px/15.6px var(--font-ui); letter-spacing: 1.93px; text-transform: uppercase; color: var(--text-68); margin: 0; }
.voice { display: flex; align-items: center; gap: 13px; margin-top: 11px; height: 42px; }
.voice__play { flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(135,156,196,.9); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.voice__play svg { width: 15px; height: 15px; margin-left: 2px; }
.wave { display: flex; align-items: center; gap: 2.6px; height: 32px; flex: 1; min-width: 0; overflow: hidden; }
.wave i { display: block; width: 3px; border-radius: 2px; background: rgba(255,255,255,.85); }
.wave i.off { background: rgba(255,255,255,.35); }
.voice__time { font: 400 12.3px/18.4px var(--font-ui); color: var(--text-68); letter-spacing: -.07px; }
.hc--voice .hc__msg { margin: 11px 0 0; font: 400 14.18px/21.26px var(--font-ui); letter-spacing: -.22px; }
.hc--appsA { left: 68px; top: 464px; width: 309px; height: 86px; }
.hc--appsB { left: 1044px; top: 256px; width: 308px; height: 85px; }
.hc--appsA .hc__body, .hc--appsB .hc__body { border-radius: 26.9px; padding: 10.6px 10px; display: flex; gap: 6.7px; }
.hc--appsA .tile, .hc--appsB .tile { width: 67px; height: 63.5px; }
.hc--appsA .tile img, .hc--appsB .tile img { width: 28.5px; height: 28.5px; }
.hc--today { left: 1184px; top: 140px; width: 200px; height: 99px; }
.hc--today .hc__body { border-radius: 15.3px; padding: 14px 15.3px; }
.hc--today .hc__label { font-size: 7.65px; line-height: 11.5px; letter-spacing: 1.42px; }
.hc__big { margin: 5px 0 0; font: 700 30.6px/30.6px var(--font-ui); letter-spacing: -.36px; }
.hc__small { margin: 4px 0 0; font: 500 11.12px/16.7px var(--font-ui); letter-spacing: -.22px; }
.hc--reply { left: 1096px; top: 385px; width: 288px; height: 222px; }
.hc--reply .hc__body { border-radius: 18.3px; padding: 16.65px 18.3px; display: flex; flex-direction: column; gap: 10px; }
.reply__head { display: flex; align-items: center; gap: 8.3px; height: 27px; }
.reply__ava { width: 27px; height: 27px; border-radius: 50%; background: #101014; border: .83px solid var(--line-8); display: grid; place-items: center; font: 600 10.8px/16px var(--font-ui); color: var(--accent); }
.reply__name { font: 600 14.99px/18.7px var(--font-logo); letter-spacing: -.195px; text-transform: uppercase; }
.reply__bubble { border-radius: 3px 13px 13px 13px; background: var(--surface-7); border: .83px solid var(--line-8); padding: 10px 10px 8px; }
.reply__bubble p { margin: 0; font: 400 11.66px/16.9px var(--font-ui); letter-spacing: -.125px; }
.reply__bubble time { display: block; text-align: right; font: 400 8.33px/12px var(--font-ui); color: var(--text-68); margin-top: 4px; }
.reply__ok {
  position: relative; display: flex; align-items: center; gap: 8px; height: 33px; padding: 0 3px;
  border-radius: 83px; background: rgba(255,255,255,.1);
  box-shadow: inset 0 4.7px 19px rgba(255,255,255,.2);
  font: 700 11.66px/1.42 var(--font-ui);
}
.reply__ok::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.25px; background: linear-gradient(90deg, transparent 12%, #7991BD 30%, transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.reply__ok b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); }
.reply__ok b svg { width: 14px; height: 14px; }
.hc--claude { left: 1294px; top: 642px; width: 80px; height: 76px; }
.hc--claude .hc__body { border-radius: 22px; display: grid; place-items: center; background: rgba(16,16,20,.6); border-color: rgba(255,255,255,.14); }
.hc--claude img { width: 34px; height: 34px; }
.hc--input { left: 399px; top: 660px; width: 642px; height: 111px; }
.hc--input .hc__body { border-radius: 26.7px; padding: 16px; display: flex; flex-direction: column; gap: 17px; }
.chat__text { margin: 0; height: 24px; font: 400 16px/1.52 var(--font-ui); white-space: nowrap; overflow: hidden; }
.chat__caret { display: inline-block; width: 1px; height: 18px; margin-left: 2px; vertical-align: -3px; background: #fff; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__bar { display: flex; justify-content: space-between; }
.chat__bar div { display: flex; gap: 6px; }
.chat__btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: .8px solid rgba(255,255,255,.1); }
.chat__btn svg { width: 18px; height: 18px; }
.chat__btn--send { background: var(--accent); border-color: transparent; transition: transform .2s ease, box-shadow .2s ease; }
.chat__btn--send.is-pulse { transform: scale(1.08); box-shadow: var(--glow); }
.hc .hc__body.glass {
  background: rgba(255, 255, 255, calc(.08 * var(--e)));
  border-color: rgba(255, 255, 255, calc(.14 * var(--e)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, calc(.12 * var(--e))), 0 7px 16px rgba(0, 0, 0, calc(.33 * var(--e)));
  -webkit-backdrop-filter: blur(calc(22px * var(--eb))); backdrop-filter: blur(calc(22px * var(--eb)));
}
.hc--claude .hc__body.glass { background: rgba(16, 16, 20, calc(.6 * var(--e))); }
.hc .hc__body > * { opacity: var(--e); }

/* ==========================================================================
   BENEFITS (A4) — stacked cards
   ========================================================================== */
.benefits {
  position: relative; padding: 120px 0;
  background:
    linear-gradient(157deg, rgba(16,16,20,0) 0%, #101014 88.7%),
    radial-gradient(101.6% 36.5% at 61.9% 46.1%, rgba(135,156,196,.4) 0%, rgba(135,156,196,0) 100%),
    var(--bg);
}
.benefits .head { width: 560px; max-width: 100%; margin: 0 auto 52px; }
.ben-list { display: flex; flex-direction: column; gap: 24px; }
.ben-card { position: sticky; top: calc(104px + var(--i) * 22px); }
.ben-box {
  position: relative; display: flex; gap: 80px; padding: 36px 36px 36px 52px;
  border-radius: 28px; background: var(--bg); border: 1px solid var(--line-16);
  box-shadow: inset 0 4px 32px rgba(135,156,196,.06);
  transform-origin: 50% 0; will-change: transform, filter;
}
.ben-left { width: 388px; flex: none; display: flex; flex-direction: column; gap: 52px; }
.ben-left__top { display: flex; flex-direction: column; gap: 32px; }
.ben-title { margin: 0; font: 500 32px/1.2 var(--font-display); }
.ben-send { display: flex; flex-direction: column; gap: 10px; }
.ben-label { margin: 0; font: 500 14px/1.42 var(--font-ui); text-transform: uppercase; color: var(--text-60); }
.ben-bubble {
  margin: 0; padding: 15px 16px; border-radius: 4px 16px 16px 16px;
  background: linear-gradient(90deg, rgba(177,191,216,.28), rgba(120,144,188,.28) 77%);
  border: .5px solid var(--accent); box-shadow: inset 0 0 0 1px rgba(93,108,136,.14);
  font: 500 16px/1.42 var(--font-display);
}
.ben-bubble--voice { display: flex; align-items: center; gap: 12px; padding: 15px 18px; }
.ben-bubble--voice .voice__play { width: 36px; height: 36px; background: var(--accent); }
.ben-bubble--voice .wave { height: 22px; gap: 3px; }
.ben-bubble--voice .wave i { background: var(--accent); }
.ben-bubble--voice span { font: 500 12px/16px var(--font-ui); width: 28px; }
.ben-result { display: flex; gap: 12px; }
.ben-result::before { content: ''; flex: none; width: 1.5px; border-radius: 2px; background: linear-gradient(180deg, rgba(135,156,196,.1), var(--accent)); }
.ben-result div { display: flex; flex-direction: column; gap: 10px; padding: 2px 0 6px; }
.ben-result p { margin: 0; font: 500 14px/1.42 var(--font-ui); }
.ben-apps { display: flex; flex-direction: column; gap: 9px; }
.ben-apps__pill { position: relative; width: 180px; height: 86px; border-radius: 999px; overflow: hidden; }
.ben-apps__pill img { position: absolute; left: -8px; top: -8px; width: 195.7px; height: 100px; }
.ben-apps p { margin: 0; padding-left: 10px; font: 500 14px/1.42 var(--font-ui); text-transform: uppercase; }
.ben-visual { width: 642px; height: auto; margin-top: 1px; border-radius: 22px; }

/* ==========================================================================
   INTERAGIERT
   ========================================================================== */
.inter { padding: 120px 0; background: var(--bg); }
.inter .head { width: 740px; max-width: 100%; margin: 0 auto 52px; }
.inter .h2 { line-height: 1; }
.inter .sub { max-width: 615px; }
.inter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 20px; }
.inter-card {
  min-height: 213px; padding: 24px; border-radius: 24px;
  background: radial-gradient(120% 100% at 0% 0%, rgba(135,156,196,.25) 0%, rgba(135,156,196,0) 100%);
  border: 1px solid var(--line-16);
  display: flex; flex-direction: column; gap: 20px;
}
.inter-pill { position: relative; height: 63px; border-radius: 999px; overflow: hidden; flex: none; }
.inter-pill img { position: absolute; left: -8px; top: -8px; height: 77px; }
.inter-card h3 { margin: 0 0 8px; font: 500 24px/1.1 var(--font-display); }
.inter-card p { margin: 0; font: 400 16px/1.52 var(--font-ui); color: var(--text-60); }
.inter__note { margin: 32px auto 0; max-width: 338px; text-align: center; font: 400 14px/1.42 var(--font-ui); color: var(--text-60); }

/* ---------- USP "Warum Donna" (new block 13.11): sticky intro left, 7 advantages right ----------
   Every row = icon · number · title · lead · text · "Nur Chat" vs "Donna". A rail on the left fills
   with the scroll position; a row lights up (icon, dot, Donna pill) when it crosses the reading line. */
.usp { position: relative; padding: 120px 0; background: var(--bg); }
.usp__grid { position: relative; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 80px; align-items: start; }
.usp__intro { position: sticky; top: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.usp__intro .h2 { font-size: 48px; line-height: 1.02; }
.usp__intro .eyebrow + .h2 { margin-top: -8px; }
.usp__intro .sub { max-width: 420px; }
.usp__cta { width: 244px; margin-top: 12px; }
.usp__list { position: relative; list-style: none; margin: 0; padding: 0 0 0 44px; display: flex; flex-direction: column; gap: 12px; }
.usp__list::before, .usp__list::after { /* rail: track + fill (--fill from main.js) */
  content: ''; position: absolute; left: 12px; top: 46px; bottom: var(--rail-b, 44px); width: 2px; border-radius: 2px; background: var(--line-8); }   /* runs from the first to the last dot */
.usp__list::after { background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); }
.usp-item {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px;
  padding: 22px 24px 20px; border-radius: 22px; border: 1px solid var(--line-14);
  background: rgba(255,255,255,.02);                                        /* flat, no gradient */
  transition: border-color .5s ease, background-color .5s ease;
}
.usp-item::before { /* dot on the rail */
  content: ''; position: absolute; left: -36px; top: 41px; width: 10px; height: 10px; border-radius: 50%;   /* centred on the icon */
  background: var(--bg); border: 2px solid var(--line-20); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.usp-item.is-lit { border-color: rgba(135,156,196,.32); }
.usp-item.is-lit::before { background: var(--accent); border-color: #B1BFD8; box-shadow: 0 0 14px rgba(135,156,196,.85); }
.usp-item__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--eyebrow);
  background: rgba(16,16,20,.4); border: 1px solid var(--line-14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.usp-item__icon svg { width: 24px; height: 24px; }
.usp-item.is-lit .usp-item__icon { color: #fff; border-color: rgba(135,156,196,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 24px rgba(135,156,196,.35); }
/* kicker row above the heading: number + the advantage's short claim in caps (site eyebrow style) */
.usp-item__meta { margin: 0 0 6px; display: flex; align-items: baseline; gap: 12px; font: 500 14px/1.42 var(--font-ui); text-transform: uppercase; }
.usp-item__no { flex: none; color: var(--eyebrow-muted); font-variant-numeric: tabular-nums; }
.usp-item__kicker { color: var(--eyebrow); }
.usp-item h3 { margin: 0; font: 500 26px/1.1 var(--font-display); letter-spacing: -0.01em; }
.usp-item__text { margin: 8px 0 0; font: 400 16px/1.52 var(--font-ui); color: var(--text-60); }
.usp-vs { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.usp-vs p { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; font: 400 14px/1.4 var(--font-ui); }
.usp-vs b { font: 500 11px/1.3 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.usp-vs__chat { background: var(--surface-4); border: 1px solid var(--line-8); color: var(--text-50); }
.usp-vs__chat b { color: var(--text-50); }
.usp-vs__donna { color: #fff; border: 1px solid rgba(135,156,196,.3);
  background: rgba(135,156,196,.14); transition: box-shadow .5s ease, border-color .5s ease; }
.usp-vs__donna b { color: var(--eyebrow); }
.usp-item.is-lit .usp-vs__donna { border-color: rgba(135,156,196,.55); box-shadow: 0 0 24px -6px rgba(135,156,196,.55); }

/* ==========================================================================
   STORY — "ChatGPT antwortet. Donna arbeitet." (A6)
   ========================================================================== */
.story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.story .design { --dh: 900px; }
.story__head { left: 370px; top: 120px; width: 700px; will-change: transform, opacity; }
.story__head .sub { max-width: 467px; }
.story__layer {
  position: absolute; inset: 0; z-index: 2;
  background: #000 url('../img/ring-field-placeholder.png') center / cover no-repeat;
  clip-path: var(--win, inset(44% 120px 0px 120px round 28px));
  will-change: clip-path;
}
.story__layer.has-ring { background-image: none; }
.ring-field { position: absolute; inset: 0; }
.ring-field canvas { width: 100%; height: 100%; display: block; }
.story__layer .design { --dh: 900px; transform: translate(-50%, calc(-50% + var(--shift, 0px))) scale(calc(var(--s, 1) * var(--zoom, 1))); pointer-events: none; }
.story__layer .design > .slide { left: 0; top: 0; width: 100%; height: 100%; }
[data-split] .w { display: inline-block; will-change: transform, opacity, filter; }
html.js-motion [data-split] .w { opacity: 0; }
.slide__left, .slide__right, .slide__card, .slide__h3 { position: absolute; }
.slide__left { left: 158px; width: 292px; top: 350px; transform: translateY(-50%); margin: 0; text-align: center; font: 500 24px/1.1 var(--font-display); }
.slide__right { left: 990px; width: 330px; top: 350px; transform: translateY(-50%); margin: 0; text-align: center; font: 400 16px/1.52 var(--font-ui); color: var(--text-body); }
.slide__card { left: 547px; top: 380px; width: 346px; transform: translateY(calc(-50% + var(--cy, 0px))) scale(var(--cs, 1)); filter: blur(var(--cb, 0px)); opacity: var(--co, 1); }
.slide__h3 { left: calc(720px - var(--w, 720px) / 2); width: var(--w, 720px); top: 690px; margin: 0; text-align: center; font: 700 44px/1 var(--font-display); letter-spacing: -0.02em; }
.scard {
  border-radius: 22px; background: rgba(16,16,20,.4); border: 1px solid var(--line-14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 12px;
}
.scard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.scard__head h4 { margin: 0; font: 500 24px/1.1 var(--font-display); }
.chip { flex: none; padding: 8px 12px; border-radius: 100px; background: var(--surface-4); font: 500 14px/1.42 var(--font-ui); white-space: nowrap; }
.scard__body { display: flex; flex-direction: column; gap: 10px; }
.sblock { border-radius: 15px; background: var(--surface-8); padding: 14px; display: flex; flex-direction: column; gap: 13px; }
.sblock__app { display: flex; align-items: center; gap: 8px; font: 500 13px/1.42 var(--font-ui); text-transform: uppercase; }
.sblock__app img { width: 18px; height: 18px; }
.smsg { border-radius: 3px 13px 13px 13px; background: var(--surface-7); border: 1px solid var(--line-8); padding: 12px 14px; }
.smsg p { margin: 0; font: 400 14px/20.3px var(--font-ui); letter-spacing: -.15px; }
.smsg time { display: block; text-align: right; font: 400 10px/14.5px var(--font-ui); color: var(--text-68); padding-top: 4px; }
.smsg--voice { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.smsg--voice .voice__play { width: 34px; height: 34px; background: var(--accent); }
.smsg--voice .wave { height: 26px; }
.smsg--voice span { font: 400 13px/19.5px var(--font-ui); color: var(--text-68); }
.stranscript { border-radius: 15px; background: var(--surface-8); padding: 14px; }
.stranscript p { margin: 0; padding-left: 12px; border-left: 1.33px solid rgba(255,255,255,.12); font: 400 14px/1.42 var(--font-ui); color: var(--text-80); }
.scount { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scount div { border-radius: 15px; background: var(--surface-8); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.scount b { display: flex; justify-content: space-between; align-items: center; font: 700 24px/1.1 var(--font-display); }
.scount b svg { width: 18px; height: 18px; opacity: .9; }
.scount span { font: 500 14px/1.42 var(--font-ui); }
.sresearch { border-radius: 15px; background: var(--surface-8); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.sresearch b { display: flex; justify-content: space-between; align-items: center; font: 500 16px/1.42 var(--font-ui); }
.sresearch b svg { width: 18px; height: 18px; }
.sresearch p { margin: 0; font: 400 14px/1.42 var(--font-ui); color: var(--text-80); }

/* ==========================================================================
   14 APPS
   ========================================================================== */
.apps { position: relative; height: calc(820px * var(--s, 1)); overflow: hidden; background: var(--bg); }
.apps .design { top: 0; transform: translate(-50%, 0) scale(var(--s, 1)); transform-origin: 50% 0; }
.apps__head { left: 340px; top: 125px; width: 761px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.apps__head .eyebrow { text-align: center; }
.apps__h2 { margin: 0; text-align: center; font: 700 48px/1.1 var(--font-display); letter-spacing: -0.02em; }
.apps__h2 .g { background: var(--grad-h2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .12em; }
.apps__h2 .a { color: var(--accent); }
.apps__tiles { left: 0; top: 0; width: 1440px; height: 820px; }
.app-tile { width: 106px; height: 115px; }
.app-tile img { width: 100%; height: 100%; }
.apps__note { left: 551px; top: 665px; width: 338px; margin: 0; text-align: center; font: 400 14px/1.42 var(--font-ui); color: var(--text-60); }

/* ==========================================================================
   DER ABLAUF (A8 deck, A9 Vanta)
   ========================================================================== */
.ablauf__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.ablauf__bg {
  position: absolute; left: 0; right: 0; bottom: 0; height: 72%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%); mask-image: linear-gradient(180deg, transparent 0%, #000 38%);
}
.ablauf__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.ablauf__head { left: 347px; top: 96px; width: 746px; } /* Figma 80 → +16 so the eyebrow clears the fixed nav */
.ablauf__head .sub { max-width: 482px; }
.deck { left: 518px; top: 355px; width: 404px; height: 400px; margin: 0; padding: 0; list-style: none; perspective: 1100px; perspective-origin: 50% 30%; }
.step {
  position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%;
  border-radius: 22px; padding: 24px 24px 68px; text-align: center;
  background: radial-gradient(120% 90% at 50% 100%, rgba(135,156,196,.25), rgba(135,156,196,0) 70%), var(--bg);
  border: 1px solid var(--line-14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 20px rgba(0,0,0,.33);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  will-change: transform, opacity; backface-visibility: hidden;
}
.step__no { margin-top: 44px; width: 71px; height: 62px; border-radius: 100px; display: grid; place-items: center; background: var(--surface-4); font: 500 24.1px/1.42 var(--font-ui); }
.step h3 { margin: 32px 0 0; font: 500 32px/1.2 var(--font-display); }
.step p { margin: 0; max-width: 350px; font: 400 18px/1.52 var(--font-ui); color: var(--text-body); }

/* ==========================================================================
   CTA (A10)
   ========================================================================== */
.cta-sec__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.cta-sec .design { --dh: 800px; }
.cta-sec__sphere { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }   /* no cursor change on the 3D sphere */
.cta-sec .design { pointer-events: none; }
.cta-sec__btn.is-on { pointer-events: auto; }
.cta-sec__badge {
  left: 668px; top: 286px; width: 104px; height: 36px; border-radius: 100px;
  display: grid; place-items: center; font: 500 14px/1.42 var(--font-ui); text-transform: uppercase;
  background: radial-gradient(circle at 50% 50%, rgba(135,156,196,.32), rgba(65,75,94,.32));
  border: 1px solid var(--line-20); -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px);
}
.cta-sec__eyebrow { left: 0; width: 1440px; top: 201px; text-align: center; opacity: 0; }
.cta-sec__h2 {
  left: 325px; top: 334px; width: 790px; margin: 0; text-align: center;
  font: 700 65px/64px var(--font-display); letter-spacing: -0.02em;
  background: var(--grad-fade); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: .14em; pointer-events: none;
}
.cta-sec__p { left: 476px; top: 377px; width: 488px; margin: 0; text-align: center; font: 400 16px/1.52 var(--font-ui); color: var(--text-60); opacity: 0; }
.cta-sec__btn { left: 598px; top: 513px; width: 244px; display: flex; flex-direction: column; align-items: center; gap: 20px; opacity: 0; }
.cta-sec__btn span { font: 500 14px/1.42 var(--font-ui); }

/* ==========================================================================
   FAQ (A11)
   ========================================================================== */
.faq { padding: 120px 0; background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) 625px; gap: 52px; max-width: none; padding: 0 80px; }
.faq__left > div { max-width: 483px; }
.faq__left .faq__sub2 { max-width: 404px; }
.faq__left { display: flex; flex-direction: column; gap: 40px; align-self: start; }
.faq__left .h2 { margin-top: 8px; }
.faq__left .faq__sub1 { margin-top: 16px; }
.faq__left .faq__sub2 { margin-top: 12px; }
.footer__main .eyebrow { color: #fff; }   /* white as in Figma (sits on the bright glow) */
.faq__cta { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 244px; }
.faq__cta span { font: 500 14px/1.42 var(--font-ui); }
.faq__list { display: flex; flex-direction: column; gap: 20px; }
.qa__q { display: flex; gap: 20px; width: 100%; text-align: left; }
.qa__icon {
  flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: none; border: .5px solid var(--line-20); box-shadow: none;
}
.qa__icon img { width: 32px; height: 32px; }
.qa__pill {
  flex: 1; min-height: 50px; display: flex; align-items: center; padding: 12px 24px; border-radius: 16px;
  border: .5px solid var(--line-20); box-shadow: inset 0 2px 16px rgba(255,255,255,.12);
  font: 500 18px/24px var(--font-display); transition: background-color .25s ease;
}
@media (hover: hover) { .qa__q:hover .qa__pill { background: rgba(255,255,255,.03); } }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-out; }
.qa__a > div { overflow: hidden; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a-inner { display: flex; gap: 20px; padding-top: 12px; opacity: 0; transform: translateY(8px); transition: opacity .25s ease .06s, transform .25s ease .06s; }
.qa.is-open .qa__a-inner { opacity: 1; transform: none; }
.qa__bubble {
  flex: 1; margin: 0; padding: 12px 24px; border-radius: 16px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 2px 16px rgba(255,255,255,.25);
  border: .5px solid var(--line-20); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 400 16px/1.42 var(--font-display); color: var(--text-80);
}
.qa__a-inner .qa__icon { align-self: flex-start; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 20px; background: var(--bg); }
.footer__box {
  position: relative; height: 667px; max-width: 1400px; margin: 0 auto; border-radius: 32px; overflow: hidden;
  background: var(--bg) url('../img/footer-bg.jpg') center top / cover no-repeat;
}
.footer__display {
  position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); width: 1392px; margin: 0;
  font: 700 288.55px/1.35 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #fff 0%, var(--accent) 36%, rgba(65,75,94,0) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .2; pointer-events: none;
}
.footer__main { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 69px; }
.footer__h2 {
  margin: 8px 0 -.14em; padding-bottom: .14em; width: 439px; text-align: center; font: 700 58px/54px var(--font-display); letter-spacing: -0.02em;
  background: var(--grad-fade); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer__main .cta { width: 282px; margin-top: 32px; }
.footer__main .btn-primary { height: 47px; border-radius: 46px; font-size: 16.2px; padding: 14px 28px 16px; }
.footer__main .subpill { width: calc(100% - 36px); height: 49px; margin-top: -1px; padding: 14px 9px; border-radius: 0 0 16px 16px; font-size: 13.88px; }
.footer__bar { position: absolute; left: 100px; right: 100px; bottom: 51px; display: flex; align-items: center; justify-content: space-between; }
.footer__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 52px; font: 400 14px/19.5px var(--font-ui); letter-spacing: -.076px; }
.footer__bar .lang { margin: 0; }

/* ==========================================================================
   Reveal (A12) — initial state only when JS + motion are on
   ========================================================================== */
html.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ==========================================================================
   Responsive (spec §3)
   ========================================================================== */
@media (max-width: 1439px) { :root { --gutter: max(40px, calc((100vw - 1200px) / 2)); } }
@media (max-width: 1279px) {
  :root { --gutter: 32px; }
  .ben-box { gap: 40px; padding: 32px; }
  .ben-visual { width: calc(100% - 388px - 40px); }
  .faq__grid { grid-template-columns: 1fr 1.2fr; padding: 0 32px; }
  .inter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --nav-h: 52px; --gutter: 16px; }
  .nav { left: 16px; right: 16px; top: 12px; padding: 0 6px 0 18px; }
  .nav__links, .nav .lang, .nav__login { display: none; }
  .nav .btn-glass { width: auto; height: 36px; padding: 0 14px; font-size: 13px; }
  .nav__right { gap: 6px; }
  .nav__burger { display: grid; }
  .nav__logo, .nav .btn-glass { white-space: nowrap; flex-shrink: 0; }
  .nav__right { flex-shrink: 0; }

  /* hero: stacked mobile layout; the design box is switched off */
  .hero .design { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .hero__display { top: 70px; font-size: 20.8vw; line-height: 1.35; }
  .hero__s1 { left: 16px; right: 16px; bottom: calc(14px + var(--m-lift, 0px)); flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .hero__col { transform: none; width: 100% !important; align-items: center; }
  .hero__apps { align-items: center; width: 100%; }
  .hero__col--l { gap: 16px; }
  .hero__lead { font-size: 22px; }
  .hero__lead .grad { background-image: none; -webkit-text-fill-color: #fff; }   /* centred lines: no side fade */
  .marquee { width: 100%; height: 26px; }
  .marquee__track { --mg: 22px; }
  .marquee__track img { width: 26px; height: 26px; }          /* app icons a bit bigger on phones */
  .hero__text { font-size: 14px; }
  .hero__cta { width: min(100%, 320px); }
  .hero__cta .subpill { width: calc(100% - 32px); }
  .hero__s2head { left: 50%; top: var(--m-top, 120px); width: calc(100% - 64px); transform: translateX(-50%); }
  .hero__s2head h2 { font-size: 30px; line-height: 1.05; }
  .hc--appsA, .hc--reply { display: none; }   /* phones: the "Donna AI" reply card is replaced by the desktop app block */
  .hero__cards { position: absolute; left: var(--m-l, 16px); top: var(--m-t, 96px); width: var(--m-w, 358px); height: var(--m-h, 448px); }
  /* step 2 on phones: container + protruding cards centred on screen (JS), nothing over the headline */
  /* the container fills the screen height (JS); cards are spread over the free band between the
     headline (--y0) and the chat input (--yb), so the gaps grow with taller phones */
  .hero__cards { --y0: 140px; --yb: 96px; --R: (100% - var(--y0) - var(--yb)); }
  .hc--wa { left: -14px; top: calc(var(--y0) + var(--R) * .06); }
  .hc--today { left: auto; right: -10px; top: var(--y0); width: auto; height: auto; }   /* hugs its text, right edge = other right cards */
  .hc--today .hc__body { width: max-content; height: auto; padding: 12px 16px 13px; }
  .hc--voice { left: -10px; top: calc(var(--y0) + var(--R) * .43); }
  .hc--claude { left: auto; right: -10px; top: calc(var(--y0) + var(--R) * .33); }
  .hc--appsB { left: auto; right: -10px; top: calc(100% - var(--yb) - 61px); }
  .hc--input { left: 6px; right: 6px; width: auto; top: auto; bottom: -30px; }
  .hc--wa .hc__body, .hc--claude .hc__body, .hc--voice .hc__body, .hc--today .hc__body, .hc--appsB .hc__body { transform: scale(.72); }
  .hc--wa .hc__body, .hc--voice .hc__body { transform-origin: 0 0; }
  .hc--today .hc__body, .hc--claude .hc__body, .hc--appsB .hc__body { transform-origin: 100% 0; }
  .hc--today .hc__label { font-size: 11px; line-height: 14px; }
  .reply__bubble time { font-size: 11px; }

  .benefits, .inter, .faq { padding: 64px 0; }
  .h2 { font-size: 36px; }
  /* phones: the same stacked-card scroll as desktop; every card fills the screen below the nav */
  .ben-card { top: calc(72px + var(--i) * 10px); }
  .ben-box { flex-direction: column; gap: 14px; padding: 16px; height: calc(100svh - 84px - var(--i) * 10px); }
  .ben-left { width: 100%; gap: 14px; flex: none; }
  .ben-left__top { gap: 14px; }
  .ben-title { font-size: 22px; }
  .ben-send { gap: 8px; }
  .ben-bubble { padding: 11px 13px; font-size: 15px; }
  .ben-bubble--voice { padding: 10px 13px; }
  .ben-result div { gap: 6px; padding: 0; }
  .ben-apps { zoom: .8; }
  .ben-visual { width: 100%; flex: 1 1 0; min-height: 0; object-fit: contain; object-position: 50% 50%; margin: 0; border-radius: 16px; }
  .inter-grid { grid-template-columns: 1fr; }

  /* USP "Warum Donna" on phones: one column, intro centred, rail + dots stay on the left */
  .usp { padding: 64px 0; }
  .usp__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .usp__intro { position: static; align-items: center; text-align: center; gap: 16px; }
  .usp__intro .h2 { font-size: 34px; }
  .usp__intro .sub { font-size: 15px; }
  .usp__cta { width: min(100%, 300px); margin-top: 8px; }
  .usp__list { padding-left: 22px; gap: 10px; }
  .usp__list::before, .usp__list::after { left: 3px; top: 34px; }
  .usp-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px 16px 14px; border-radius: 18px; }
  .usp-item::before { left: -22px; top: 30px; width: 8px; height: 8px; }
  .usp-item__meta { margin-bottom: 4px; gap: 10px; font-size: 12px; line-height: 1.4; }
  .usp-item__icon { width: 36px; height: 36px; border-radius: 11px; }
  .usp-item__icon svg { width: 20px; height: 20px; }
  .usp-item h3 { font-size: 22px; }
  .usp-item__text { font-size: 15px; }
  .usp-vs { margin-top: 12px; }
  .usp-vs p { padding: 8px 10px; font-size: 13px; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; padding: 0 16px; }
  .faq__left { gap: 28px; }
  .qa__icon { width: 40px; height: 40px; border-radius: 14px; } .qa__icon img { width: 26px; height: 26px; }
  .qa__q, .qa__a-inner { gap: 10px; }
  .qa__pill { font-size: 16px; padding: 10px 16px; }
  .qa__bubble { padding: 12px 16px; font-size: 15px; }

  /* story: single column inside the layer */
  .story .design { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .story__layer .design { left: 0; top: 0; width: 100%; height: 100%; transform: translateY(var(--shift, 0px)) scale(var(--zoom, 1)); }
  .story__head { left: 16px; right: 16px; width: auto; top: 96px; }
  .story__head .h2 { font-size: 34px; }
  .slide__left { left: 50%; right: auto; width: min(250px, calc(100% - 80px)); top: 92px; transform: translateX(-50%); font-size: 18px; line-height: 1.15; }
  .slide__right { display: none; }
  [data-split] .w { will-change: transform, opacity; }   /* phones: scroll-linked, no blur */
  .slide__card { filter: none; left: 50%; top: var(--m-card-top, 52%); width: 300px; transform: translate(-50%, calc(-50% + var(--cy, 0px))) scale(calc(var(--m-card, .86) * var(--cs, 1))); }
  .slide__h3 { left: 50%; right: auto; width: calc(100% - 48px); transform: translateX(-50%); top: auto; bottom: 36px; font-size: 24px; line-height: 1.08; padding-bottom: .08em; }

  /* phones: the whole block is centred in a full-height screen */
  /* top padding = bottom padding + 76 px: the next section's head sits 84 px below its top and the story window
     ends 8 px above its edge → the same visible gap above and below the block */
  .apps { height: auto; min-height: 100vh; min-height: 100svh; padding: 100px 16px 24px; display: flex; align-items: center; justify-content: center; }
  .apps .design { position: static; transform: none; width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; }
  .apps .design > * { position: static; }
  .apps__head { width: 100%; }
  .apps__h2 { font-size: 30px; }
  .apps__tiles { position: relative !important; display: block; width: calc(100% + 8px); height: var(--tiles-h, 290px); margin: 32px -4px 26px; }
  .apps__tiles .app-tile { position: absolute !important; }
  .ben-card.no-stack { position: relative; top: 0; }
  .apps__note { width: 100%; }

  .ablauf .design { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .ablauf__head { left: 16px; right: 16px; width: auto; top: 84px; }
  .ablauf__head .h2 { font-size: 30px; }
  .ablauf__head .sub { font-size: 14px; }
  .deck { left: 50%; top: auto; bottom: 6svh; width: min(90vw, 404px); height: 360px; transform: translateX(-50%); }
  .step { padding: 20px 20px 40px; }
  .step__no { margin-top: 24px; }
  .step h3 { margin-top: 20px; font-size: 26px; }
  .step p { font-size: 16px; }

  .cta-sec .design { left: 0; top: 0; width: 100%; height: 100%; transform: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 20px 32px; text-align: center; }
  .cta-sec .design > * { position: static; }
  .cta-sec__badge { display: none; }
  .cta-sec__sphere { z-index: 2; pointer-events: none; }   /* screen-blended over the title */
  .cta-sec__eyebrow { width: auto; }
  .cta-sec__h2 { width: 100%; max-width: 360px; margin-top: 8px; font-size: 38px; line-height: 1.02; }
  .cta-sec__p { width: 100%; max-width: 340px; margin-top: 20px; font-size: 15px; }
  .cta-sec__btn { width: 244px; margin-top: 32px; }
  .cta-sec__btn.is-on { position: relative; inset: auto; z-index: 3; }   /* inset: drop the desktop left/top offsets */

  .footer { padding: 8px; }
  .footer__box { height: auto; min-height: 0; border-radius: 24px; padding-bottom: 24px; display: flex; flex-direction: column; }
  .footer__main { order: 1; padding-top: 48px; }
  .footer__h2 { width: auto; padding: 0 16px; font-size: 38px; line-height: 1.05; }
  .footer__main .cta { width: min(282px, calc(100% - 48px)); }
  .footer__display { order: 2; position: static; transform: none; width: 100%; margin: 28px 0 0; font-size: 18.5vw; line-height: 1.1; padding-bottom: .05em; }
  .footer__box { background: #000 url('../img/footer-bg.jpg') center top / 220% auto no-repeat; }   /* image ends in black → no edge */
  .chat__text { font-size: 14px; text-overflow: ellipsis; }
  .footer__bar { order: 3; position: static; margin: 12px 20px 0; flex-wrap: wrap; row-gap: 16px; }
  .footer__links { position: static; transform: none; order: 3; width: 100%; justify-content: flex-start; gap: 24px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .subpill::after, .chat__caret { animation: none !important; }
  html.js-motion [data-reveal] { opacity: 1; transform: none; }
}

/* mobile nav: keep logo and CTA on one line on narrow phones */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 420px) {
  .nav { padding: 0 4px 0 14px; }
  .nav__logo { font-size: 16px; }
  .nav .btn-glass { height: 34px; padding: 0 12px; font-size: 12px; }
  .nav__right { gap: 2px; }
}
@media (max-width: 359px) {
  .nav .btn-glass { display: none; }
}
