/* ==========================================================================
   UpGrade - Shared Stylesheet (index, datenschutz, impressum)
   Design-System: Poppins (Headlines) + Inter (Body), self-hosted.
   Breakpoints: 640px / 1024px
   ========================================================================== */

/* ---------- Fonts (self-hosted, DSGVO-sicher) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --primary: #6c5ce7;
  --primary-dark: #4834d4;
  --primary-shade: #4f3fc4;      /* Button-Unterkante */
  --secondary: #00cec9;
  --secondary-shade: #009e9a;
  --tertiary: #ff9f43;
  --tertiary-shade: #e07f1f;
  --success: #2ecc71;
  --xp: #ffd32a;
  --danger: #ff6b6b;
  --focus: #4834d4;

  --bg: #f8f9fd;
  --surface: #ffffff;
  --surface-variant: #f1f3f9;
  --text: #1c1e2a;
  --text-muted: #545a70;
  --border: #e4e7f2;
  --shadow: 0 12px 32px rgba(76, 60, 190, 0.12);
  --shadow-soft: 0 6px 18px rgba(76, 60, 190, 0.10);

  --font-head: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing-Skala */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --max-width: 1160px;
}
html[data-theme="dark"] {
  --bg: #0f1117;
  --surface: #181b24;
  --surface-variant: #1e222d;
  --text: #f2f3f7;
  --text-muted: #9a9fb0;
  --border: #2a2e3d;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.35);
  --primary-shade: #3d2fa8;
  --focus: #00cec9;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
img { height: auto; }
picture { display: contents; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-5); }
.icon { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed; z-index: 200; top: -80px; left: 16px;
  padding: 12px 16px; border-radius: var(--radius-s);
  background: var(--primary-dark); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Buttons (Duolingo-Haptik: satte Farbe + dicke Unterkante) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 14px 28px; min-height: 48px;
  border-radius: var(--radius-m);
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  border: none; cursor: pointer; text-decoration: none; user-select: none;
  transition: transform .1s ease, box-shadow .1s ease, filter .15s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn:active { transform: translateY(4px) scaleY(.97); }

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 0 var(--primary-shade), 0 10px 24px rgba(108, 92, 231, .30);
}
.btn-primary:active { box-shadow: 0 0 0 var(--primary-shade), 0 4px 12px rgba(108, 92, 231, .25); }

.btn-secondary {
  background: var(--secondary); color: #063a39;
  box-shadow: 0 4px 0 var(--secondary-shade), 0 10px 24px rgba(0, 206, 201, .25);
}
.btn-secondary:active { box-shadow: 0 0 0 var(--secondary-shade); }

.btn-outline {
  background: var(--surface); color: var(--text);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border);
}
.btn-outline:active { box-shadow: 0 0 0 var(--border); }

.btn-large { padding: 18px 36px; font-size: 18px; min-height: 56px; border-radius: 18px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--sp-5); max-width: var(--max-width); margin: 0 auto; gap: var(--sp-4); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s ease; }
.brand:hover .brand-mark img { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 2px; }
.nav-links .btn { padding: 10px 20px; font-size: 14px; min-height: 44px; }
.nav-right { display: flex; align-items: center; gap: var(--sp-3); }
.theme-toggle, .nav-toggle {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: transform .15s ease, background .2s ease;
}
.theme-toggle:hover, .nav-toggle:hover { transform: scale(1.06); }
.theme-toggle .icon-sun, html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.nav-toggle { display: none; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  /* A backdrop-filter creates a containing block for fixed descendants.
     Without this override, the viewport-wide menu below is constrained to
     the 68px-high sticky header and its links overlap the hero. Keep the
     mobile header opaque instead; the navigation overlay can then reliably
     fill the remaining viewport on iOS and Android browsers. */
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.js .nav-links {
    position: fixed; top: 68px; right: 0; bottom: 0; left: 0;
    min-height: calc(100dvh - 68px);
    overflow-y: auto;
    background: var(--bg);
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    padding: var(--sp-6) var(--sp-5); gap: var(--sp-4);
    transform: translateX(100%); transition: transform .25s ease; z-index: 90;
  }
  .nav-links[hidden] { display: none !important; }
  html.js .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; padding: 12px 4px; display: block; text-align: center; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--sp-8) 0 80px; overflow: hidden; position: relative; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .32; z-index: -1; }
.blob-1 { width: 480px; height: 480px; background: var(--primary); top: -180px; left: -120px; animation: float1 16s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: var(--secondary); top: 60px; right: -140px; animation: float2 18s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: var(--tertiary); bottom: -160px; left: 30%; animation: float1 20s ease-in-out infinite reverse; opacity: .2; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,40px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,20px) scale(1.05); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(108, 92, 231, .12); color: var(--primary);
  font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
html[data-theme="dark"] .eyebrow { color: #b3a9ff; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 19px; color: var(--text-muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin: var(--sp-6) 0 var(--sp-5); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); color: var(--text-muted); font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }

/* Phone + Abby im Hero */
.phone-frame {
  position: relative; width: 240px; border-radius: 38px;
  border: 8px solid #14151c; background: #14151c; box-shadow: var(--shadow); overflow: hidden;
}
.phone-frame img { display: block; width: 100%; height: auto; }
.phone-frame::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #14151c; border-radius: 0 0 14px 14px; z-index: 2;
}
.hero-phone-wrap { position: relative; display: flex; justify-content: center; }
.hero-phone-wrap .phone-frame { width: 280px; }
.hero-abby {
  position: absolute; bottom: -14px; left: calc(50% - 265px); width: 150px; z-index: 3;
  animation: bob 5s ease-in-out infinite; transition: transform .3s ease;
  filter: drop-shadow(0 10px 18px rgba(28, 20, 80, .25));
}
.hero-abby:hover { transform: rotate(-5deg) scale(1.05); }
.floating-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m); padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: var(--sp-2);
  animation: bob 5s ease-in-out infinite; z-index: 4;
}
.floating-card.fc-1 { top: 6%; left: 0; animation-delay: .2s; }
.floating-card.fc-2 { bottom: 12%; right: 0; animation-delay: 1s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
section { padding: var(--sp-9) 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto var(--sp-7); }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--text-muted); font-size: 17px; }
.bg-variant { background: var(--surface-variant); }

/* ---------- Features (interaktive Liste + Display) ---------- */
.feature-interactive { display: grid; grid-template-columns: 360px 1fr; gap: var(--sp-6); align-items: stretch; }
.feature-interactive[hidden] { display: none; }
.feature-list { display: flex; flex-direction: column; gap: var(--sp-1); }
.feature-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; min-height: 56px; border: none; border-radius: var(--radius-m); background: transparent;
  cursor: pointer; position: relative; overflow: hidden; font-family: inherit; color: var(--text);
  transition: background .2s ease, transform .15s ease;
}
.feature-item:hover { background: rgba(108, 92, 231, .07); transform: translateX(4px); }
.feature-item.active { background: var(--surface); box-shadow: var(--shadow-soft); }
.feature-item-icon {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius-s); font-size: 20px;
  display: flex; align-items: center; justify-content: center; background: rgba(108, 92, 231, .12);
}
.feature-item-text { font-weight: 700; font-size: 15px; }
.feature-item-progress { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; opacity: 0; }
.feature-item.active .feature-item-progress { opacity: 1; }
.feature-item-progress-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 3px; }
.feature-item.active .feature-item-progress-bar { animation: featureProgress 6s linear forwards; }
@keyframes featureProgress { from { width: 0; } to { width: 100%; } }
.feature-display {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: var(--sp-7); display: grid; grid-template-columns: 190px 1fr; gap: var(--sp-6);
  align-items: center; min-height: 300px; transition: opacity .18s ease;
}
.feature-display.fade { opacity: 0; }
.feature-display-title { font-size: 25px; margin-bottom: 12px; }
.feature-display-desc { color: var(--text-muted); font-size: 16px; line-height: 1.7; max-width: 480px; }

/* ---------- Feature-Phone-Mockup ---------- */
.feature-phone { display: flex; justify-content: center; width: 100%; min-width: 0; }
.feature-phone-frame {
  position: relative; width: 100%; max-width: 190px; aspect-ratio: 480 / 1011;
  border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #14121f, #0a0912);
  border: 3px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28), 0 2px 0 rgba(255, 255, 255, .04) inset;
}
.feature-phone-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .3s ease;
}
.feature-phone-img.loaded { opacity: 1; }
.feature-phone-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 46px; background: linear-gradient(160deg, rgba(108, 92, 231, .35), rgba(0, 206, 201, .22));
  transition: opacity .2s ease;
}
.feature-phone-frame.has-shot .feature-phone-fallback { opacity: 0; visibility: hidden; }
.feature-info { min-width: 0; }

/* ---------- Funktionen: Bestehend / Demnächst Tabs ---------- */
.feature-tabs {
  display: inline-flex; gap: 4px; padding: 5px; margin: 0 auto var(--sp-6);
  background: var(--surface-variant); border-radius: 999px; border: 1px solid var(--border);
}
.feature-tab {
  font-family: inherit; font-weight: 700; font-size: 14.5px; color: var(--text-muted);
  background: transparent; border: none; border-radius: 999px; padding: 10px 20px;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.feature-tab:hover { color: var(--text); }
.feature-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.section-head + .feature-tabs { display: flex; justify-content: center; }

.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: var(--sp-5) 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* ---------- Showcase (Screenshots) ---------- */
.showcase-grid { display: flex; justify-content: center; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-top: 20px; }
.showcase-item { text-align: center; }
.showcase-item .phone-frame { width: 220px; transition: transform .3s ease; }
.showcase-item:nth-child(1) .phone-frame { transform: rotate(-5deg) translateY(10px); }
.showcase-item:nth-child(2) .phone-frame { transform: translateY(-16px); width: 236px; }
.showcase-item:nth-child(3) .phone-frame { transform: rotate(5deg) translateY(10px); }
.showcase-item:hover .phone-frame { transform: translateY(-10px) rotate(0deg) scale(1.03); }
.showcase-caption { margin-top: 20px; font-weight: 700; font-size: 15px; }
.showcase-caption span { display: block; font-weight: 400; color: var(--text-muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- Coach Abby ---------- */
.abby-wrap { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-7); align-items: start; }
.abby-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 20px; position: sticky; top: 100px; }
.abby-avatar {
  width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ede9ff, var(--surface-variant));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); animation: bob 4.5s ease-in-out infinite;
}
.abby-avatar img { width: 180px; height: auto; transition: transform .3s ease; }
.abby-avatar:hover img { transform: rotate(4deg) scale(1.06); }
.abby-traits { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }
.abby-trait { font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgba(108,92,231,.1); color: var(--primary); }
html[data-theme="dark"] .abby-trait { color: #b3a9ff; }
.abby-quotes { display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--sp-5); }
.abby-quote {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: 16px 20px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
}
.abby-quote:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow); }
.abby-quote-img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.abby-quote-badge { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
html[data-theme="dark"] .abby-quote-badge { color: #b3a9ff; }
.abby-quote p { margin: 0; font-size: 15px; font-style: italic; }
.abby-age-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: var(--sp-4); }
.abby-age-card { background: var(--surface-variant); border-radius: var(--radius-m); padding: 16px 18px; }
.abby-age-label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--secondary-shade); margin-bottom: 6px; }
html[data-theme="dark"] .abby-age-label { color: var(--secondary); }
.abby-age-card p { margin: 0; font-size: 14px; }
.abby-note { color: var(--text-muted); font-size: 13.5px; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: var(--sp-4);
  box-shadow: 0 3px 0 var(--primary-shade);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 780px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-l);
  padding: var(--sp-6); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-card-highlight { border-color: var(--primary); box-shadow: var(--shadow); }
.pricing-badge {
  display: inline-flex; align-self: flex-start; background: rgba(108,92,231,.12); color: var(--primary);
  font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: var(--sp-4);
}
html[data-theme="dark"] .pricing-badge { color: #b3a9ff; }
.pricing-badge-highlight { background: var(--primary); color: #fff !important; }
.pricing-amount { font-family: var(--font-head); font-size: 38px; font-weight: 800; margin-bottom: 4px; }
.pricing-amount span { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--text-muted); }
.pricing-alt { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-3); }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.pricing-note { text-align: center; max-width: 680px; margin: 40px auto 0; color: var(--text-muted); font-size: 14.5px; }
.check-badge {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(46, 204, 113, .15); color: var(--success);
  display: flex; align-items: center; justify-content: center;
}
.check-badge .icon { width: 14px; height: 14px; stroke-width: 3; }

/* ---------- Trust / Sicherheit ---------- */
.trust-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.trust-list { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-4); }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--text-muted); }
.trust-list li strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: var(--sp-3); }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: var(--primary); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; font-size: 16px; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; transition: transform .25s ease; color: var(--primary); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; }

/* ---------- Beta / Formular ---------- */
.beta-section { background: linear-gradient(180deg, var(--bg), var(--surface-variant)); }
.beta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--sp-7); align-items: flex-start; }
.beta-form-wrap { position: relative; }
.beta-abby {
  position: absolute; top: -74px; right: 18px; width: 110px; z-index: 2;
  animation: bob 4s ease-in-out infinite; transition: transform .3s ease;
  filter: drop-shadow(0 8px 14px rgba(28, 20, 80, .2));
}
.beta-abby:hover { transform: rotate(6deg) scale(1.08); }
.beta-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: var(--sp-6); box-shadow: var(--shadow); position: relative; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: var(--sp-2); }
.form-row input[type="text"], .form-row input[type="number"], .form-row input[type="email"], .form-row select {
  width: 100%; padding: 13px 14px; min-height: 48px; border-radius: var(--radius-m);
  border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 15px; font-family: inherit;
}
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,.18); }
.radio-group { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.radio-pill { flex: 1; min-width: 140px; position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill label {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2); cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--radius-m); padding: 13px 14px; min-height: 48px;
  font-weight: 700; font-size: 14.5px; margin: 0; transition: all .15s ease;
}
.radio-pill input:checked + label { border-color: var(--primary); background: rgba(108,92,231,.1); color: var(--primary); box-shadow: 0 2px 0 var(--primary-shade); }
html[data-theme="dark"] .radio-pill input:checked + label { color: #b3a9ff; }
.radio-pill input:focus-visible + label { outline: 3px solid var(--secondary); outline-offset: 2px; }
.beta-note { font-size: 13px; color: var(--text-muted); margin: var(--sp-3) 0 0; }
.beta-banner { border-radius: var(--radius-m); padding: 16px 20px; margin-bottom: 20px; font-weight: 600; font-size: 15px; }
.beta-banner.success { background: rgba(0, 206, 201, .12); border: 1.5px solid var(--secondary); }
.beta-banner.error { background: rgba(255, 159, 67, .12); border: 1.5px solid var(--tertiary); }
.beta-perks { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: 18px; }
.beta-perks li { display: flex; gap: 14px; align-items: flex-start; }
.beta-perks .num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(108,92,231,.14); color: var(--primary);
  font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
html[data-theme="dark"] .beta-perks .num { color: #b3a9ff; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-l); padding: var(--sp-8) var(--sp-7); text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.88); max-width: 480px; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 4px 0 rgba(0,0,0,.22); }
.cta-band .btn-primary:active { box-shadow: 0 0 0 rgba(0,0,0,.22); }

/* ---------- Footer ---------- */
.site-footer { padding: var(--sp-7) 0 var(--sp-6); border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14.5px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); list-style: none; padding: 0; margin: var(--sp-3) 0 0; }
.footer-links a { color: var(--text-muted); }
.footer-abby { width: 96px; height: auto; transition: transform .3s ease; }
.footer-abby:hover { transform: rotate(-8deg) translateY(-6px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: var(--sp-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: var(--sp-7) 0 var(--sp-9); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 21px; margin-top: 40px; }
.legal h3 { font-size: 17px; margin-top: 24px; }
.legal p, .legal li { color: var(--text-muted); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.placeholder { background: rgba(255, 159, 67, .15); border: 1px dashed var(--tertiary); border-radius: var(--radius-s); padding: 2px 8px; color: #b26a15; font-weight: 600; font-style: normal; }
html[data-theme="dark"] .placeholder { color: #ffb866; }
.notice-box { background: rgba(255, 159, 67, .1); border: 1px solid rgba(255, 159, 67, .35); border-radius: var(--radius-m); padding: 18px 20px; margin-bottom: var(--sp-6); font-size: 14.5px; color: #b26a15; }
html[data-theme="dark"] .notice-box { color: #ffb866; }

/* ---------- Konfetti ---------- */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 999; }

/* ==========================================================================
   Responsive: 1024px / 640px
   ========================================================================== */
@media (max-width: 1023px) {
  section { padding: var(--sp-8) 0; }
  .hero { padding: var(--sp-7) 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: var(--sp-7); }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .feature-interactive { grid-template-columns: 1fr; }
  .abby-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .abby-avatar-col { position: static; }
  .trust-grid { grid-template-columns: 1fr; }
  .beta-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-abby { left: calc(50% - 240px); width: 120px; }
}
@media (max-width: 639px) {
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .floating-card { display: none; }
  .hero-abby { position: static; width: 130px; margin: -8px auto 0; order: 2; }
  .hero-phone-wrap { flex-direction: column; align-items: center; gap: var(--sp-3); }
  .feature-display { padding: var(--sp-5); min-height: 0; grid-template-columns: 1fr; text-align: center; }
  .feature-phone-frame { max-width: 150px; width: 150px; margin: 0 auto; }
  .feature-display-desc { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .abby-age-compare { grid-template-columns: 1fr; }
  .abby-quote { flex-direction: column; text-align: center; }
  .cta-band { padding: var(--sp-7) var(--sp-5); }
  .beta-abby { top: -60px; right: 8px; width: 88px; }
}
