/* StageQuest – Website
   Farben und Schriftgrößen stammen aus dem Figma-Entwurf (Collection »Color«, Textstile »Web/…«).
   Kein Build-Schritt: Diese Datei wird so ausgeliefert, wie sie hier steht. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0c;
  --bg-soft: #111115;
  --surface: #17171c;
  --surface-alt: #1f1f26;
  --line: #2a2a33;
  --line-strong: #3b3b47;
  --text: #f5f5f7;
  --text-soft: #a9a9b4;
  --text-muted: #8a8a96;
  --primary: #7c3aed;
  --primary-hover: #8b5cf6;
  --primary-soft: #2b1f47;
  --primary-text: #a78bfa;
  --violet-300: #c4b5fd;
  --success: #34d399;
  --success-soft: #10291f;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.53;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(100% - (2 * var(--gutter)), var(--container)); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 600; }
.skip-link:focus { top: 16px; }
.text-link { color: var(--primary-text); text-decoration: underline; text-decoration-color: rgba(167, 139, 250, .4); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.text-link:hover { color: var(--violet-300); text-decoration-color: currentColor; }

/* ---------- Schrift ---------- */
.eyebrow { font-size: .8125rem; line-height: 1.23; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-text); }
.h2 { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); line-height: 1.125; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.h4 { font-size: 1.375rem; line-height: 1.27; font-weight: 700; }
.lead { font-size: clamp(1.0625rem, .98rem + .5vw, 1.25rem); line-height: 1.5; color: var(--text-soft); text-wrap: pretty; }
.small { font-size: .875rem; line-height: 1.43; font-weight: 500; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; line-height: 1.2; font-weight: 600; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px -10px rgba(124, 58, 237, .8); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: var(--surface-alt); border-color: var(--line-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--text-muted); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); opacity: 0; transition: opacity .2s; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(10, 10, 12, .74); border-bottom-color: var(--line); }
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.nav__logo { flex: none; }
.nav__logo img { width: 150px; height: 28px; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a { display: block; padding: 8px 0; font-size: .9375rem; line-height: 1.33; font-weight: 600; color: var(--text-soft); transition: color .15s; }
.nav__menu a:hover { color: var(--text); }
.nav__menu-cta { display: none; }
.nav__side { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.25rem; }
.nav__toggle .icon--close, .nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 900px) {
  .js .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px;
    min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h));
    background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav__menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__menu a { padding: 16px 0; font-size: 1.125rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__menu .nav__menu-cta { display: block; margin-top: 20px; }
  .nav__menu .nav__menu-cta a { display: flex; padding: 0 26px; border-bottom: 0; color: #fff; font-size: 1rem; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 88px); text-align: center; overflow-x: clip; }
.hero__glow {
  position: absolute; left: 50%; top: 34%; z-index: 0; pointer-events: none;
  width: min(1100px, 120vw); aspect-ratio: 1.7; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .5), rgba(124, 58, 237, .16) 55%, rgba(124, 58, 237, 0) 100%);
  filter: blur(24px);
  animation: breathe 8s ease-in-out infinite;
}
.hero > .container { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 16px;
  border-radius: 999px; border: 1px solid rgba(167, 139, 250, .28); background: var(--primary-soft);
  color: var(--violet-300); font-size: .8125rem; line-height: 1.3; font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2.4s ease-out infinite; }
.hero h1 {
  max-width: 12.7em; margin: 24px auto 0;
  font-size: clamp(2.375rem, 1.1rem + 5.6vw, 4.5rem); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; text-wrap: balance;
}
.hero .lead { max-width: 33em; margin: 24px auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero__hint { margin-top: 20px; }
.hero__devices {
  position: relative; margin-top: clamp(40px, 6vw, 72px);
  -webkit-mask-image: linear-gradient(#000 74%, transparent 99%); mask-image: linear-gradient(#000 74%, transparent 99%);
}
.hero__devices .device--ipad { width: 76.8%; margin-left: 11.6%; transform: translateY(calc(var(--py, 0) * -14px)); }
.hero__devices .device--phone { position: absolute; left: 75.7%; top: 17%; width: 21.2%; transform: translateY(calc(var(--py, 0) * -44px)); }

.enter { animation: enter .6s var(--ease) both; }
.enter--2 { animation-delay: 80ms; }
.enter--3 { animation-delay: 160ms; }
.enter--4 { animation-delay: 240ms; }
.enter--5 { animation-delay: 320ms; }
.enter--devices { animation: enter-devices .9s var(--ease) .3s both; }

/* ---------- Geräte ---------- */
.device { container-type: inline-size; }
.device__frame {
  padding: 1.25cqw; border-radius: 3.3cqw; background: #1b1b22; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.device__frame img { width: 100%; border-radius: 2.2cqw; }
.device--phone .device__frame { padding: 2.8cqw; border-radius: 15cqw; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.device--phone .device__frame img { border-radius: 12.4cqw; }

/* ---------- Kennzahlen ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: clamp(-104px, -7vw, -28px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 32px 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.stat .stat__value { margin-top: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.19; font-weight: 700; letter-spacing: -.01em; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.stat p { margin-top: 6px; color: var(--text-soft); font-size: .9375rem; line-height: 1.5; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.section-head--left { margin-inline: 0; text-align: left; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .6); }
.card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); font-size: 1.125rem; }
.card .h4 { margin-top: 20px; }
.card p { margin-top: 8px; color: var(--text-soft); }

/* Text und Bild */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--reverse .split__media { order: -1; }
.split__text .h2 { margin-top: 14px; }
.split__text .lead { margin-top: 18px; }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .check { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); font-size: .6875rem; flex: none; }
.checks .check--info { background: var(--surface-alt); color: var(--text-muted); font-size: .8125rem; }
.note { display: flex; gap: 12px; align-items: center; margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text-soft); font-size: .9375rem; line-height: 1.45; }
.note .icon { color: var(--text-muted); font-size: 1rem; }

.shot {
  position: relative; aspect-ratio: 584 / 480; overflow: hidden; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(90% 80% at 12% 62%, rgba(124, 58, 237, .38), rgba(124, 58, 237, 0) 62%), var(--surface);
}
.shot .device { position: absolute; }
.shot .device--ipad { left: 9%; top: 12%; width: 132%; }
.shot--crop .device--ipad { left: -24%; }
.shot .device--phone { right: 5%; top: 30%; width: 33%; }
.js .shot .device--phone { opacity: 0; transform: translateY(48px); transition: opacity .6s var(--ease) .35s, transform .7s var(--ease) .35s; }
.js .shot.is-visible .device--phone { opacity: 1; transform: none; }

/* Bühnenmodus */
.section--stage {
  --bg: #000; --bg-soft: #0a0a0c; --surface: #111115; --surface-alt: #17171c; --line: #1f1f26; --line-strong: #2a2a33; --text: #fff; --primary-text: #c4b5fd;
  background: #000; color: #fff;
}
.stage-tabs { display: none; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 5vw, 72px); align-items: end; max-width: 960px; margin-inline: auto; }
.phone-fig { text-align: center; }
.phone-fig .device { width: 84%; margin-inline: auto; }
.phone-fig--main .device { width: 100%; }
.phone-fig figcaption { margin-top: 24px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--violet-300); font-size: .8125rem; line-height: 1.3; font-weight: 600; }
.tag--muted { background: var(--surface-alt); color: var(--text-soft); }
.phone-fig .tag { display: flex; width: max-content; margin: 0 auto 8px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
.tile { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tile .icon { color: var(--primary-text); font-size: 1.125rem; }
.tile h3 { margin-top: 16px; font-size: 1.0625rem; line-height: 1.53; font-weight: 600; }
.tile p { margin-top: 6px; }

/* Schritte */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: -20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(124, 58, 237, 0), var(--primary) 12%, var(--primary-text) 88%, rgba(167, 139, 250, 0)); transform-origin: left; }
.js .steps::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .steps.is-visible::before { transform: none; }
.step { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.step .step__num { margin-top: 0; font-size: 3.5rem; line-height: 1.07; font-weight: 800; letter-spacing: -.02em; color: var(--primary-text); }
.step .h4 { margin-top: 16px; }
.step p { margin-top: 8px; color: var(--text-soft); }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 1070px; margin-inline: auto; align-items: start; }
.price { padding: clamp(28px, 3.4vw, 40px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.price--premium { border-color: var(--primary-hover); background: linear-gradient(180deg, #1c1730, var(--surface) 70%); animation: premium-glow 4s ease-in-out infinite; }
.price__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price__name { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.19; font-weight: 700; letter-spacing: -.01em; }
.price__value { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: clamp(2.75rem, 2rem + 3vw, 3.5rem); line-height: 1.07; font-weight: 800; letter-spacing: -.02em; }
.price__value .tag { font-size: .8125rem; letter-spacing: 0; transform: translateY(-.6em); }
.price__sub { margin-top: 8px; color: var(--text-soft); }
.price .checks { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.after-test { display: flex; gap: 20px; align-items: flex-start; max-width: 1070px; margin: 30px auto 0; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.after-test__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--success-soft); color: var(--success); font-size: 1.125rem; flex: none; }
.after-test p { margin-top: 6px; color: var(--text-soft); }

/* Laufband */
.marquee { display: grid; gap: 12px; 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__row { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee__row--b { animation-duration: 68s; animation-direction: reverse; }
.marquee:hover .marquee__row, .marquee:focus-within .marquee__row { animation-play-state: paused; }
.marquee__group { display: flex; gap: 12px; padding-right: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-soft); font-size: .9375rem; line-height: 1.3; font-weight: 500; white-space: nowrap; }
.roadmap-note { margin-top: 40px; text-align: center; }

/* Fragen */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; text-align: left; font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); line-height: 1.27; font-weight: 700; }
.faq-q:hover { color: var(--violet-300); }
.faq-q__sign { position: relative; width: 16px; height: 16px; flex: none; color: var(--text-soft); }
.faq-q__sign::before, .faq-q__sign::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq-q__sign::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q__sign::after, html:not(.js) .faq-q__sign::after { transform: none; }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .25s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 40px 24px 0; color: var(--text-soft); }
.js .faq-item:not(.is-open) .faq-a { grid-template-rows: 0fr; }
.js .faq-item:not(.is-open) .faq-a > div { visibility: hidden; transition: visibility 0s .25s; }

/* Abschluss */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.cta__glow { position: absolute; left: 50%; top: -55%; width: 90%; aspect-ratio: 2; translate: -50% 0; pointer-events: none; background: radial-gradient(closest-side, rgba(124, 58, 237, .5), rgba(124, 58, 237, 0)); animation: wander 12s ease-in-out infinite; }
.cta > :not(.cta__glow) { position: relative; }
.cta__icon { width: 88px; height: 88px; margin: 0 auto; border-radius: 22px; box-shadow: 0 20px 48px -16px rgba(124, 58, 237, .9); }
.cta .h2 { margin-top: 28px; }
.cta .lead { max-width: 30em; margin: 16px auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta .small { margin-top: 20px; }

/* Fuß */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { width: 150px; height: 28px; }
.footer__brand p { max-width: 24em; margin-top: 16px; }
.footer__col h2 { font-size: .75rem; line-height: 1.33; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.footer__col ul { display: grid; gap: 10px; margin-top: 16px; }
.footer__col a { color: var(--text-soft); font-size: .9375rem; transition: color .15s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__bottom a:hover { color: var(--text-soft); }

/* Rechtstexte */
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.legal h2 { margin-top: 56px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.19; font-weight: 700; letter-spacing: -.01em; }
.legal h1, .legal h2, .legal h3 { overflow-wrap: break-word; hyphens: auto; }
.legal h3 { margin-top: 32px; font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.legal p, .legal ul, .legal address { margin-top: 14px; color: var(--text-soft); font-style: normal; }
.legal ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .stand { margin-top: 56px; }
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 96px var(--gutter); }
.notfound .lead { margin-top: 16px; }
.notfound .btn { margin-top: 32px; justify-self: center; }

/* ---------- Einblenden ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible { transition: opacity .5s var(--ease) var(--d, 0ms), transform .25s var(--ease), border-color .25s; }

@keyframes enter { from { opacity: 0; transform: translateY(24px); } }
@keyframes enter-devices { from { opacity: 0; transform: translateY(40px); } }
@keyframes breathe { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes premium-glow { 0%, 100% { box-shadow: 0 0 44px -18px rgba(124, 58, 237, .5); } 50% { box-shadow: 0 0 72px -12px rgba(124, 58, 237, .85); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wander { 0%, 100% { translate: -62% 0; } 50% { translate: -38% 0; } }

/* ---------- Kleinere Breiten ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .split, .split--reverse, .faq { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 620px; width: 100%; margin-inline: auto; }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .after-test { max-width: 560px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { display: none; }
  .faq .section-head { margin-bottom: 8px; }
}
@media (max-width: 700px) {
  .hero__devices .device--ipad { width: 94%; margin-left: 0; }
  .hero__devices .device--phone { left: 68%; top: 12%; width: 30%; }
  .stats-wrap { margin-top: -20px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 24px; }
  .stat { padding: 20px 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .shot { border-radius: 24px; }

  .js .stage-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
  .stage-tabs button { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--text-soft); transition: background-color .2s, color .2s; }
  .stage-tabs button[aria-pressed="true"] { background: var(--primary); color: #fff; }
  .phones { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 280px; }
  .phone-fig .device, .phone-fig--main .device { width: 100%; }
  .js .phone-fig { display: none; }
  .js .phone-fig.is-active { display: block; animation: enter .25s var(--ease) both; }
  .js .phone-fig .tag { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .after-test { flex-direction: column; }
  .faq-a p { padding-right: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow, .cta__glow, .pill__dot, .price--premium { animation: none; }
  .enter, .enter--devices, .js .phone-fig.is-active { animation-name: fade; }
  .js [data-reveal], .js .shot .device--phone { transform: none; }
  .hero__devices .device--ipad, .hero__devices .device--phone { transform: none; }
  .btn:hover, .card:hover { transform: none; }
  .js .steps::before { transform: none; transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__row { width: auto; flex-wrap: wrap; justify-content: center; gap: 12px; animation: none; }
  .marquee__group { display: contents; }
  .marquee__group[aria-hidden="true"] { display: none; }
}
@keyframes fade { from { opacity: 0; } }
