/* ============ Demo-Agent Starter Pack — Orbit (hell/clean) ============ */
:root {
  --bg: #FBF9F5;
  --bg-tint: #F1ECE2;
  --surface: #FFFFFF;
  --ink: #1A1D23;
  --muted: #565C66;
  --line: #E4DDD0;
  --indigo: #E8622C;
  --cyan: #2E6E5B;
  --grad: #E8622C;
  --green: #2E6E5B;
  --red: #B23A2E;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(40, 32, 22, .07);
  --shadow-btn: 0 10px 26px rgba(196, 78, 30, .20);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --primary: #E8622C;
  --primary-d: #C44E1E;
  --accent: #2E6E5B;
  --ink-deep: #14171C;
  --gold: #C79A3E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Kein CSS scroll-behavior: smooth — Lenis übernimmt das Smoothing selbst;
   beides zusammen lässt Scroll-Ziele gegeneinander laufen (Sprünge, falsche Positionen). */
html.lenis, html.lenis body { height: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto ist Pflicht bei Bildern mit width/height-Attributen (CLS-Schutz) —
   ohne das bleibt die Höhe sonst am nativen Pixelwert hängen, während nur die
   Breite schrumpft: das Bild wird brutal in die Länge gezogen. */
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; text-align: center; }
h3 { font-size: 1.15rem; font-weight: 700; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1240px; }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--tint { background: var(--bg-tint); }
.section__sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-top: 12px; text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px; text-align: center;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 61;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: var(--grad); color: #fff;
  font-size: .88rem; font-weight: 500;
  padding: 9px 16px; text-align: center;
}
.topbar strong { font-weight: 700; }
.topbar__timer {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.18); border-radius: 999px; padding: 3px 12px;
  font-variant-numeric: tabular-nums; font-weight: 700;
}

/* ---------- Header ---------- */
.header {
  /* Nicht sticky — scrollt normal weg. Topbar bleibt sticky (Dringlichkeit),
     die Bottom-Bar übernimmt später den CTA, sobald der Header längst weg ist. */
  position: relative; z-index: 55;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 44px);
  background: rgba(247, 248, 251, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 232, 240, .7);
}
.header__brand { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.header__brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Header-CTA weicht der Bottom-Bar: sobald die unten sichtbar ist, blendet der
   obere CTA sanft aus — keine doppelten CTAs, aber ganz oben immer einer da. */
.header__cta { transition: opacity .25s ease, transform .25s ease; }
.bottombar-active .header__cta { opacity: 0; transform: scale(.9); pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(79, 70, 229, .42); }
.btn--lg { font-size: 1.1rem; padding: 17px 36px; }
.btn--sm { font-size: .88rem; padding: 10px 20px; box-shadow: 0 6px 16px rgba(79,70,229,.25); }
.btn--block { width: 100%; }
.btn span { transition: transform .18s ease; }
.btn:hover span { transform: translateX(3px); }

/* ---------- Trust badges ---------- */
.trust { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 6px; }
.trust--center { justify-content: center; margin-top: 16px; }

/* ---------- HERO ---------- */
.hero { position: relative; }
/* Höhe abzüglich Topbar+Header (immer sichtbar, sticky) — sonst zentriert sich
   der Hero-Inhalt in einer Box, deren oberer Teil hinter dem Chrome verschwindet,
   und wirkt "zu weit unten". --chrome-h kommt per JS, Fallback für den allerersten Paint. */
.hero__stage {
  position: relative; overflow: hidden;
  height: 100vh; height: calc(100svh - var(--chrome-h, 110px));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--bg-tint); }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(247,248,251,.55) 0%, rgba(247,248,251,.18) 45%, rgba(247,248,251,.42) 100%);
  pointer-events: none;
}
.hero__copy {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 24px;
}
.hero__copy h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 1000px;
  text-wrap: balance;
}
.hero__sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 660px; margin-top: 18px; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; }

.hero__cap {
  position: absolute; z-index: 5; left: 50%; bottom: 12vh; transform: translateX(-50%);
  text-align: center; font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600; color: var(--ink); opacity: 0; width: min(90vw, 700px);
  text-shadow: 0 1px 24px rgba(247,248,251,.9);
}
.hero__cap strong { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__hint {
  position: absolute; z-index: 5; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hero__hint span { animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card--soft { padding: 36px; font-size: 1.08rem; margin-top: 32px; text-align: center; }
.card--soft p + p { margin-top: 16px; }

.card--pain { display: flex; gap: 18px; align-items: flex-start; font-size: 1.05rem; }
.card__num {
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; flex-shrink: 0;
}

/* ---------- Statement ---------- */
.statement { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg); }
.statement__text {
  font-family: var(--font-display); text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.7rem); font-weight: 700; line-height: 1.25;
  max-width: 900px; margin: 0 auto;
}

/* ---------- Bundle ---------- */
.bundle { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; margin-top: 48px; }
.bundle__visual { position: sticky; top: 110px; }
.bundle__visual img { border-radius: var(--radius); box-shadow: var(--shadow); }

.stack { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.stack li {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px;
}
.stack li strong { display: block; font-size: 1rem; }
.stack li span { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.stack li b { font-family: var(--font-display); font-weight: 700; color: var(--indigo); white-space: nowrap; }

.stack__total { margin-top: 24px; text-align: center; }
.stack__total p { font-size: 1.15rem; margin-bottom: 16px; }
.stack__total s { color: var(--muted); }
.stack__total strong { font-family: var(--font-display); font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Compare ---------- */
.compare { align-items: stretch; }
.compare__col ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.compare__col li { padding-left: 30px; position: relative; }
.compare__col--hard { background: #FBFBFD; }
.compare__col--hard h3 { color: var(--muted); }
.compare__col--hard li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.compare__col--pack { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.compare__col--pack li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.compare__col--pack .btn { margin-top: 24px; }

/* ---------- Echt ---------- */
.echt-panels {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 48px;
}
.echt-panel { flex: 0 0 auto; }
.echt-panel img {
  display: block; height: clamp(260px, 34vw, 380px); width: auto; max-width: 100%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.echt-arrow { flex: 0 0 auto; color: var(--indigo); opacity: .55; display: flex; }

.echt-dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.echt-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line);
  transition: background .2s ease, transform .2s ease;
}
.echt-dots span.is-active { background: var(--indigo); transform: scale(1.3); }

.echt-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line);
}
.echt-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.echt-stat svg { flex-shrink: 0; color: var(--indigo); }
.echt-stat strong { display: block; font-size: .95rem; }
.echt-stat span { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }

@media (max-width: 900px) {
  .echt-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .echt-panels {
    justify-content: flex-start; align-items: stretch;
    /* hidden statt auto: die Panels werden per Scroll-Pin (JS) über scrollLeft
       gesteuert, nicht per direktem Finger-Swipe — das würde sich sonst beißen. */
    overflow-x: hidden; scrollbar-width: none;
    margin-left: -24px; margin-right: -24px; padding: 0 24px 6px;
  }
  .echt-panels::-webkit-scrollbar { display: none; }
  .echt-panel { flex: 0 0 82%; display: flex; align-items: center; }
  .echt-panel img { height: auto; width: 100%; }
  .echt-arrow { display: none; }
  .echt-dots { display: flex; }
}

@media (max-width: 480px) {
  .echt-stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: start; }
.founder__avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #A5B4FC 0%, #4F46E5 48%, #22D3EE 100%);
  box-shadow: var(--shadow);
}
.founder p + p, .founder h2 + p { margin-top: 14px; }

/* ---------- Reviews ---------- */
.card--review { display: flex; flex-direction: column; gap: 14px; }
.stars { color: #F5A623; letter-spacing: 3px; font-size: 1.05rem; }
.card--review blockquote { font-size: .98rem; }
.card__attr { color: var(--muted); font-size: .82rem; font-style: italic; margin-top: auto; }

/* ---------- Fit ---------- */
.fit ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.fit li { padding-left: 30px; position: relative; }
.fit--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.fit--no li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.fit--no { background: #FBFBFD; }
.fit--no h3 { color: var(--muted); }

/* ---------- Offer ---------- */
.offer {
  /* minmax(0, ...) statt bloßem fr — sonst nimmt die Spur die inhaltsbasierte
     Default-Mindestbreite an und die Karte überläuft den Viewport auf Mobile. */
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; margin-top: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); overflow: hidden;
}
/* min-width:0 überschreibt den Flex-/Grid-Default "min-width:auto", der hier sonst
   die Zeile am Text-Mindestinhalt aufspreizt und den Preis über den Viewport-Rand schiebt. */
.offer__list { list-style: none; padding: 36px; display: flex; flex-direction: column; gap: 0; min-width: 0; }
.offer__list li {
  display: flex; justify-content: space-between; gap: 16px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: .96rem;
}
.offer__list li:last-child { border-bottom: none; }
.offer__list li span { min-width: 0; overflow-wrap: anywhere; }
.offer__list b { font-family: var(--font-display); color: var(--indigo); white-space: nowrap; }
.offer__price {
  background: var(--bg-tint); padding: 36px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
}
.offer__badge {
  display: inline-block; margin: 0 auto 16px;
  background: var(--grad); color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.offer__was { color: var(--muted); }
.offer__now {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 6vw, 4.4rem);
  line-height: 1; margin: 6px 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer__note { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }

/* ---------- Guarantee ---------- */
.guarantee {
  display: grid; grid-template-columns: 80px 1fr; gap: 26px; align-items: start;
  background: #F0FAF5; border: 1px solid #CBEBDB; border-radius: 24px; padding: 36px;
}
.guarantee__icon {
  width: 80px; height: 80px; border-radius: 50%; background: #fff; color: var(--green);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #CBEBDB;
}
.guarantee h2 { font-size: 1.5rem; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 0 24px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: 20px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--indigo); border-radius: 2px;
  transition: transform .25s ease;
}
.faq__icon::before { width: 18px; height: 2.5px; top: 7.75px; }
.faq__icon::after { width: 2.5px; height: 18px; left: 7.75px; }
.faq details[open] .faq__icon::after { transform: scaleY(0); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 660px; }

/* ---------- Final ---------- */
.final {
  padding: clamp(90px, 12vw, 150px) 0; text-align: center;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(79, 70, 229, .14) 0%, rgba(34, 211, 238, .07) 45%, transparent 100%),
    var(--bg-tint);
}
.final h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.final .section__sub { margin: 18px auto 0; }
.final .btn { margin-top: 8px; }
.final__note { color: var(--muted); font-size: .88rem; margin-top: 20px; }

.countdown { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 36px 0 28px; }
.countdown > div:not(.countdown__sep) {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  min-width: 92px; padding: 16px 10px; box-shadow: var(--shadow);
}
.countdown b {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.countdown__sep { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--muted); }

/* ---------- Sticky CTA ---------- */
.sticky {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 130%); z-index: 70;
  display: flex; align-items: center; gap: 22px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 12px 10px 24px;
  box-shadow: 0 16px 44px rgba(18, 20, 26, .16);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.sticky.is-visible { transform: translate(-50%, 0); }
.sticky__price { display: flex; align-items: baseline; gap: 8px; }
.sticky__price b { font-family: var(--font-display); font-size: 1.3rem; }
.sticky__price s { color: var(--muted); font-size: .9rem; }
.sticky__price span { color: var(--muted); font-size: .78rem; }
.sticky .btn { padding: 11px 24px; font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { padding: 60px 24px 120px; text-align: center; background: var(--bg); border-top: 1px solid var(--line); }
.footer__links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 22px; }
.footer__links a { color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; }
.footer__links a:hover { color: var(--indigo); }
.footer__legal { color: var(--muted); font-size: .76rem; max-width: 720px; margin: 0 auto 14px; }
.footer__copy { color: var(--muted); font-size: .8rem; }

/* ---------- Reveal (JS setzt Initialzustand) ---------- */
.reveal { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; }
  .bundle__visual { position: static; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer__price { border-left: none; border-top: 1px solid var(--line); }
  .founder { grid-template-columns: 1fr; }
  .founder__avatar { width: 88px; height: 88px; margin: 0 auto; }
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee__icon { margin: 0 auto; }
  .sticky { width: calc(100vw - 24px); justify-content: space-between; }
  .sticky__price span { display: none; }
}
@media (max-width: 560px) {
  .hero__copy h1 { font-size: 1.65rem; }
  .countdown > div:not(.countdown__sep) { min-width: 72px; }
  .countdown b { font-size: 1.8rem; }
  .topbar { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hint span { animation: none; }
  html { scroll-behavior: auto; }
}
