/* ============================================================
   DR. UNBOXKING — Editorial Premium Design
   Ivory-Papier + Kino-Schwarz · Fraunces (Display-Serif) + Space Grotesk
   Selbst gehostete Fonts, keine externen CDNs (DSGVO)
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/spacegrotesk.woff2') format('woff2');
}

:root {
  --ink: #0C0C0D;
  --ink-soft: #161618;
  --paper: #F4F0E6;
  --paper-card: #FBF8F1;
  --accent: #1D40F5;          /* Klein-Blau */
  --accent-soft: #5C77FF;     /* auf Schwarz lesbar */
  --gold: #C9A227;
  --gold-light: #E4C55B;
  --text: #141413;
  --text-dim: #5B5850;
  --text-faint: #8B8778;
  --border: rgba(12, 12, 13, 0.16);
  --border-strong: rgba(12, 12, 13, 0.85);
  --border-accent: rgba(29, 64, 245, 0.55);
  --card: var(--paper-card);
  --radius: 2px;
  --radius-sm: 2px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-text: 'Space Grotesk', -apple-system, sans-serif;
  /* Aliase für Unterseiten (Fragebogen/Admin/Rechtliches) */
  --glow: #5C77FF;
  --bg: var(--paper);
  --bg-deep: var(--ink);
}

/* Dunkle Sektionen / dunkle Seiten kippen die Variablen */
.sec-ink, .theme-ink {
  --text: #F4F0E6;
  --text-dim: #B4AF9F;
  --text-faint: #7B776A;
  --border: rgba(244, 240, 230, 0.18);
  --border-strong: rgba(244, 240, 230, 0.9);
  --card: #131315;
  background: var(--ink);
  color: var(--text);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.theme-ink { background: var(--ink); }

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Aurora (Altlast anderer Seiten) — im neuen Design aus */
.aurora { display: none; }

main, nav, footer, section { position: relative; z-index: 1; }

/* ---------- Mikro-Typo ---------- */
.kicker, .band-title, .micro {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text-dim);
}
h1, h2, h3.display {
  font-family: var(--font-display);
  font-weight: 380;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
em, .it { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--ink);
  color: #F4F0E6;
  border-bottom: 1px solid rgba(244, 240, 230, 0.14);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand {
  display: flex; align-items: baseline; gap: 8px;
  font-weight: 600; letter-spacing: 0.14em; font-size: 0.95rem; white-space: nowrap;
  color: #F4F0E6;
}
.nav-brand .plus { color: var(--accent-soft); font-weight: 700; }
.nav-brand svg { width: 22px; height: 22px; color: var(--accent-soft); align-self: center; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,240,230,0.72); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 11px 24px; border: 1px solid rgba(244,240,230,0.9); color: #F4F0E6 !important;
  transition: all .22s; letter-spacing: 0.18em;
}
.nav-cta:hover { background: #F4F0E6; color: var(--ink) !important; }

.lang-switch { display: flex; gap: 2px; margin-left: 10px; font-size: 0.78rem; letter-spacing: 0.1em; }
.lang-switch button {
  background: transparent; border: 0; color: rgba(244,240,230,0.45); padding: 6px 8px;
  cursor: pointer; font-family: inherit; font-weight: 600; transition: color .2s;
  border-bottom: 1px solid transparent;
}
.lang-switch button.active { color: #F4F0E6; border-bottom-color: var(--accent-soft); }
.lang-switch button:hover { color: #F4F0E6; }

.nav-burger { display: none; background: none; border: 0; color: #F4F0E6; cursor: pointer; padding: 6px; }
.nav-burger svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; padding: 26px; gap: 20px;
    border-bottom: 1px solid rgba(244,240,230,0.14);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 40px; position: relative; overflow: hidden;
}
.hero .kicker { color: var(--text-dim); margin-bottom: 34px; display: flex; align-items: center; gap: 14px; }
.hero .kicker .live { width: 7px; height: 7px; border-radius: 50%; background: #38B26C; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(3.2rem, 9.2vw, 7.4rem);
  margin-bottom: 40px;
  max-width: 13ch;
}
.hero h1 .it { color: var(--accent-soft); }
.hero p.sub {
  max-width: 560px; font-size: 1.05rem; font-weight: 300; color: var(--text-dim);
  margin-bottom: 48px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* EKG-Linie als Signatur-Element */
.ecg {
  position: absolute; right: -4%; top: 24%; width: 54%; max-width: 760px; opacity: 0.5;
  pointer-events: none;
}
.ecg path {
  fill: none; stroke: var(--accent-soft); stroke-width: 1.5;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: ecg-draw 5s ease-out forwards, ecg-glow 5s ease-out forwards;
}
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }
@keyframes ecg-glow { to { filter: drop-shadow(0 0 6px rgba(92,119,255,0.55)); } }
@media (max-width: 900px) { .ecg { display: none; } }

.hero-foot {
  border-top: 1px solid var(--border); margin-top: 72px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 38px; font-family: var(--font-text);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; border-radius: var(--radius);
  transition: all .25s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1733C4; transform: translateY(-1px); }
.sec-ink .btn-primary, .theme-ink .btn-primary { background: #F4F0E6; color: var(--ink); }
.sec-ink .btn-primary:hover, .theme-ink .btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--text); color: var(--paper); }
.sec-ink .btn-ghost:hover, .theme-ink .btn-ghost:hover { background: #F4F0E6; color: var(--ink); }
.btn-white { background: #F4F0E6; color: var(--ink); }
.btn-white:hover { background: #fff; }

/* ---------- Sektionen ---------- */
.section { padding: 110px 0; }
.section-head { margin-bottom: 64px; }
.section-head .kicker { display: block; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; }
.section-head h2 .it { color: var(--accent); }
.sec-ink .section-head h2 .it { color: var(--accent-soft); }
.section-head p { color: var(--text-dim); margin-top: 18px; font-weight: 300; max-width: 520px; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center p { margin-left: auto; margin-right: auto; }

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rule { border: 0; border-top: 1px solid var(--border); }

/* ---------- Logo-Band ---------- */
.logos-band { padding: 64px 0; border-bottom: 1px solid var(--border); overflow: hidden; }
.logos-band .band-title { text-align: center; margin-bottom: 48px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; flex-shrink: 0; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.logo-chip {
  height: 60px; margin: 0 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-chip img {
  height: 34px; width: auto; max-width: 120px; object-fit: contain;
  filter: brightness(0); opacity: 0.62; transition: opacity .25s;
}
.logo-chip:hover img { opacity: 1; }
.logo-chip .wordmark {
  font-weight: 600; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); opacity: 0.62; white-space: nowrap; transition: opacity .25s;
}
.logo-chip:hover .wordmark { opacity: 1; }

/* ---------- Zahlen (Editorial-Statistik) ---------- */
.stats-lead { display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; margin-bottom: 10px; }
.stats-lead .big {
  font-family: var(--font-display); font-weight: 340;
  font-size: clamp(4.4rem, 12vw, 10rem); line-height: 1; letter-spacing: -0.02em;
}
.stats-lead .desc { max-width: 300px; color: var(--text-dim); font-size: 0.95rem; font-weight: 300; padding-bottom: 1.4rem; }

.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border-strong); margin-top: 46px; }
@media (max-width: 1000px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  padding: 30px 26px 34px 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px; position: relative;
}
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--border); }
@media (max-width: 1000px) { .stat + .stat { border-left: 0; padding-left: 0; } }
.stat .value { font-family: var(--font-display); font-size: 2.9rem; font-weight: 360; line-height: 1; }
.stat .label { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); }
.stat .flag {
  position: absolute; top: 30px; right: 14px; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; color: var(--gold); border: 1px solid var(--gold);
  padding: 3px 9px; border-radius: 999px;
}

/* ---------- YouTube Select ---------- */
.select-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
@media (max-width: 900px) { .select-card { grid-template-columns: 1fr; gap: 40px; } }
.select-card h3 {
  font-family: var(--font-display); font-weight: 380;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1;
}
.select-card h3 .gold { color: var(--gold-light); font-style: italic; }
.badge-official {
  display: inline-block; margin-top: 22px; padding: 7px 16px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid var(--gold);
}
.select-card p.lead { color: var(--text-dim); font-size: 1.02rem; font-weight: 300; margin-bottom: 40px; line-height: 1.75; }
.select-perks { display: flex; flex-direction: column; }
.select-perk { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--border); }
.select-perk:last-child { border-bottom: 1px solid var(--border); }
.select-perk svg { width: 22px; height: 22px; color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.select-perk strong { display: block; margin-bottom: 6px; font-size: 1.02rem; letter-spacing: 0.02em; }
.select-perk span { font-size: 0.92rem; color: var(--text-dim); font-weight: 300; line-height: 1.7; }

/* ---------- Ablauf (nummerierte Zeilen) ---------- */
.process-list { border-top: 1px solid var(--border-strong); }
.process-row {
  display: grid; grid-template-columns: 120px 1fr 1.4fr; gap: 30px; align-items: baseline;
  padding: 40px 0; border-bottom: 1px solid var(--border);
  transition: background .25s, padding-left .25s;
}
.process-row:hover { background: rgba(29, 64, 245, 0.045); padding-left: 14px; }
@media (max-width: 820px) { .process-row { grid-template-columns: 60px 1fr; } .process-row p { grid-column: 2; } }
.process-row .num {
  font-family: var(--font-display); font-style: italic; font-weight: 340;
  font-size: 2.2rem; color: var(--accent);
}
.process-row h4 { font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; font-family: var(--font-text); }
.process-row p { font-size: 0.95rem; color: var(--text-dim); font-weight: 300; line-height: 1.7; }

/* ---------- Stimmen ---------- */
.feature-quote { padding: 0 0 70px; }
.feature-quote blockquote {
  font-family: var(--font-display); font-weight: 350; font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.3; max-width: 30ch;
}
.feature-quote blockquote::before { content: '„'; color: var(--accent); }
.feature-quote blockquote::after { content: '“'; color: var(--accent); }
.feature-quote .attribution { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.attribution .review-avatar { width: 44px; height: 44px; }
.attribution .name { font-weight: 600; font-size: 0.95rem; }
.attribution .role { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.review {
  background: var(--paper); padding: 38px 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  transition: background .25s;
}
.review:hover { background: var(--paper-card); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review-quote-icon { display: none; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 12px; height: 12px; color: var(--gold); fill: currentColor; }
.review .src { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }
.review p.text { font-size: 0.96rem; color: var(--text); font-weight: 300; line-height: 1.7; }
.review p.text::before { content: '„'; color: var(--accent); font-family: var(--font-display); }
.review p.text::after { content: '“'; color: var(--accent); font-family: var(--font-display); }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem; color: #F4F0E6; background: var(--ink);
  letter-spacing: 0.05em;
}
.review-author .name { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.review-author .role { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.av-1,.av-2,.av-3,.av-4,.av-5,.av-6,.av-7,.av-8,.av-9,.av-10 { background: var(--ink); }
.review.is-new .review-avatar { background: var(--accent); }

/* ---------- Kontakt ---------- */
.contact-wrap { max-width: 860px; margin: 0 auto; }
.contact-card { padding: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 30px; }
.field label {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px;
}
.field input, .field textarea, .field select {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--border-strong);
  border-radius: 0; padding: 12px 2px 14px; color: var(--text);
  font-family: var(--font-text); font-size: 1.05rem; font-weight: 300;
  transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.sec-ink .field input:focus, .theme-ink .field input:focus,
.sec-ink .field textarea:focus, .theme-ink .field textarea:focus { border-bottom-color: var(--accent-soft); }
.field input.error, .field textarea.error { border-bottom-color: #C0392B; }
.field textarea { resize: vertical; min-height: 110px; }

.form-msg { display: none; padding: 15px 20px; font-size: 0.92rem; margin-bottom: 24px; border: 1px solid; }
.form-msg.success { display: block; border-color: #38B26C; color: #38B26C; background: rgba(56,178,108,0.06); }
.form-msg.error { display: block; border-color: #C0392B; color: #E06552; background: rgba(192,57,43,0.06); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.direct-mail { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.direct-mail p { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); margin: 0; }
.direct-mail a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem;
  border-bottom: 1px solid var(--border); padding-bottom: 3px; transition: border-color .2s, color .2s;
}
.direct-mail a:hover { color: var(--accent-soft); border-color: var(--accent-soft); }
.direct-mail svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-inner .nav-brand { color: var(--text); font-size: 0.85rem; }
.footer-links { display: flex; gap: 28px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.75rem; color: var(--text-faint); }

/* ---------- Rechtsseiten ---------- */
.legal-wrap { max-width: 880px; margin: 0 auto; padding: 150px 28px 100px; }
.legal-wrap .back { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.legal-wrap .back:hover { color: var(--text); }
.legal-wrap h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 8px; }
.legal-wrap .sub { color: var(--text-dim); margin-bottom: 44px; font-weight: 300; }
.legal-card { padding: 50px; }
.legal-card section + section { margin-top: 44px; }
.legal-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin-bottom: 18px; }
.legal-card h3 { font-size: 1.02rem; font-weight: 600; margin: 26px 0 8px; letter-spacing: 0.02em; }
.legal-card p, .legal-card li { color: var(--text-dim); font-size: 0.95rem; font-weight: 300; line-height: 1.75; }
.legal-card p + p { margin-top: 10px; }
.legal-card ul { margin: 10px 0 10px 22px; }
.legal-card a { color: var(--accent); }
.legal-card a:hover { text-decoration: underline; }
.legal-card .addr { border-left: 2px solid var(--accent); padding: 6px 0 6px 22px; margin: 16px 0; }
.legal-card .stand { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-faint); }
@media (max-width: 640px) { .legal-card { padding: 30px 22px; } }

/* ---------- Fragebogen / Login / Installer ---------- */
.survey-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 130px 24px 70px; }
.survey-box { width: 100%; max-width: 780px; }
.survey-intro { text-align: center; }
.survey-intro .logo-icon { width: 46px; height: 46px; color: var(--accent); margin: 0 auto 22px; display: block; }
.survey-intro h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin-bottom: 14px; }
.survey-intro p { color: var(--text-dim); font-weight: 300; margin-bottom: 48px; }
.lang-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; max-width: 520px; margin: 0 auto; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 520px) { .lang-cards { grid-template-columns: 1fr; } }
.lang-card {
  padding: 42px 20px; cursor: pointer; text-align: center; font-family: var(--font-text);
  color: var(--text); background: var(--paper); border: 0; transition: background .25s;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
}
.lang-card:hover { background: var(--paper-card); }
.lang-card .lang-tag {
  display: block; font-family: var(--font-display); font-style: italic; font-weight: 350;
  font-size: 2.6rem; margin-bottom: 14px; color: var(--accent); letter-spacing: 0;
  text-transform: none;
}

.survey-card { padding: 54px; }
@media (max-width: 640px) { .survey-card { padding: 32px 22px; } }
.survey-progress-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.survey-progress-head .sec-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
.survey-progress-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; }
.survey-progress-head .step-count { font-size: 0.85rem; color: var(--text-dim); white-space: nowrap; }
.progress-track { height: 2px; background: var(--border); overflow: hidden; margin-bottom: 46px; }
.progress-fill { height: 100%; background: var(--accent); transition: width .5s cubic-bezier(0.4, 0, 0.2, 1); }

.survey-step { display: none; animation: fadeUp .45s ease; }
.survey-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice input { display: none; }
.choice label {
  display: flex; align-items: center; gap: 10px; padding: 15px 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 400; transition: all .2s; color: var(--text);
}
.choice label:hover { border-color: var(--border-strong); }
.choice input:checked + label { border-color: var(--accent); background: rgba(29, 64, 245, 0.06); color: var(--accent); font-weight: 500; }
.choice label svg { width: 16px; height: 16px; flex-shrink: 0; }

.survey-nav { display: flex; gap: 14px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.survey-nav .btn { flex: 1; }
.survey-nav .btn-back { flex: 0 0 auto; }

.success-screen { text-align: center; padding: 70px 34px; }
.success-screen .check-ring {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid #38B26C;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 32px;
  animation: pop .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-screen .check-ring svg { width: 38px; height: 38px; color: #38B26C; }
.success-screen h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; margin-bottom: 14px; }
.success-screen p { color: var(--text-dim); font-weight: 300; margin-bottom: 38px; }

.toast {
  position: fixed; bottom: 34px; left: 50%; transform: translateX(-50%);
  background: var(--ink); border: 1px solid #C0392B;
  color: #E06552; padding: 14px 28px; font-size: 0.88rem; font-weight: 500;
  display: none; z-index: 100; align-items: center; gap: 8px;
}
.toast.show { display: flex; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .ecg path { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
