/* =========================================================================
   Formie – Stylesheet
   Mobile first · System-Schriften · keine externen Ressourcen
   (Aufbau wie PureCards: Scroll-Driven Animations mit --p je Sektion)
   ========================================================================= */

/* ---------- Design-Tokens ---------- */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  /* Farbsystem – abgeleitet aus dem App-Icon (Violett, Sonnengelb, Weiß) und den App-Hintergründen */
  --ink: #120a24;            /* tiefes Pflaumen-Schwarz */
  --ink-2: #1b1135;
  --ink-3: #0b0618;
  --paper: #f6f3fb;
  --paper-2: #ffffff;
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(40, 20, 80, .1);

  --plum: #452185;           /* Icon-Hintergrund unten */
  --plum-2: #614097;         /* Icon-Hintergrund oben */
  --violet: #a58bff;         /* Akzent auf Dunkel */
  --violet-strong: #5a2fc2;  /* Akzent auf Hell (Kontrast mit Weiß ≥ 4.5:1) */
  --sun: #ffc74e;            /* Ring im Icon */
  --sun-soft: #ffe3a1;
  --sun-deep: #8a5a00;       /* Gelb-Ton auf Hell (Kontrast) */
  --sky: #73d9ff;            /* Akzent „Aurora“ in der App */

  --text-on-dark: #f6f2ff;
  --muted-on-dark: #b3a9cc;
  --text-on-light: #170c2e;
  --muted-on-light: #5d5476;

  --grad: linear-gradient(100deg, #ffe7a6 0%, var(--sun) 32%, #ff9fb0 62%, #b49bff 100%);
  --grad-deep: linear-gradient(135deg, var(--plum-2) 0%, var(--plum) 100%);
  --grad-aurora: linear-gradient(135deg, rgb(82 26 140) 0%, rgb(26 115 217) 55%, rgb(13 179 191) 100%);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;

  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 5vw, 40px);
  --max: 1200px;
  --nav-h: 64px;
  --pm: 1; /* Parallax-Stärke, auf Mobilgeräten reduziert */

  color-scheme: dark;
}
@media (max-width: 767px) { :root { --pm: .45; } }

/* ---------- 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(--nav-h) + 12px); }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--ink); color: var(--text-on-dark);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.section--light :focus-visible, .subpage .prose :focus-visible { outline-color: var(--violet-strong); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-160%);
  padding: 10px 16px; border-radius: 12px; background: #fff; color: #000; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typografie ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 18px;
}
.eyebrow--dark { color: var(--violet-strong); }
.display { font-size: clamp(2.3rem, 1.2rem + 5vw, 4.9rem); letter-spacing: -.04em; line-height: 1.02; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted-on-dark); max-width: 36ch; line-height: 1.5; }
.muted { color: var(--muted-on-light); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .06em;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s var(--ease-out), color .25s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary {
  color: #1d0f3a; background: var(--sun);
  background-image: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 60%);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 30px -10px rgba(255,199,78,.7);
}
a.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 16px 40px -12px rgba(255,199,78,.9); }
.btn--soon { cursor: default; background-color: rgba(255,199,78,.9); }
.btn--ghost {
  color: var(--text-on-dark); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost .icon { transition: transform .35s var(--ease-out); }
.btn--ghost:hover .icon { transform: translateX(3px); }
.btn--dark { color: #fff; background: var(--plum); }
.btn--dark:hover { transform: translateY(-2px); background: #3a1a73; }
.btn--small { --h: 38px; padding: 0 16px; font-size: .9rem; }

/* ---------- Navigation (Liquid Glass) ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color .4s, box-shadow .4s, color .3s;
}
.nav__bar {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  height: var(--nav-h); display: flex; align-items: center; gap: 16px;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: rgba(22, 12, 42, .62);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.nav.is-scrolled::before, .no-js .nav::before { opacity: 1; }
.nav.on-light { color: var(--text-on-light); }
.nav.on-light::before { background: rgba(250, 248, 253, .72); border-bottom-color: var(--line-light); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav::before { background: rgba(22,12,42,.96); }
  .nav.on-light::before { background: rgba(250,248,253,.97); }
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.13rem; letter-spacing: -.02em; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 14px -4px rgba(97,64,151,.8); }

.nav__links ul { display: flex; gap: 4px; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: .94rem; text-decoration: none; opacity: .82; transition: opacity .2s, background-color .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(140,120,180,.16); }
.nav__menu-cta { display: none; }
.nav__lang { position: relative; }
.nav__lang > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; list-style: none;
  border: 1px solid rgba(140,120,180,.34); opacity: .88; transition: opacity .2s, background-color .2s;
}
.nav__lang > summary::-webkit-details-marker { display: none; }
.nav__lang > summary:hover, .nav__lang[open] > summary { opacity: 1; background: rgba(140,120,180,.16); }
.nav__lang > summary .icon { width: 17px; height: 17px; }
.nav__lang > summary > span { display: inline-flex; align-items: center; gap: 6px; }
.nav__lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 160px;
  padding: 6px; border-radius: 14px; border: 1px solid rgba(140,120,180,.3);
  background: rgba(22, 12, 42, .96); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
}
.nav.on-light .nav__lang-list { background: rgba(250, 248, 253, .98); }
.nav__lang-list li a { display: block; padding: 8px 12px; border-radius: 9px; font-size: .92rem; text-decoration: none; opacity: .88; transition: opacity .2s, background-color .2s; }
.nav__lang-list li a:hover { opacity: 1; background: rgba(140,120,180,.16); }
.nav__toggle { display: none; }

@media (max-width: 899px) {
  .nav__cta { display: none; }
  .js .nav__toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  }
  .nav__toggle .icon { width: 24px; height: 24px; }
  .nav__toggle-close, .nav.is-open .nav__toggle-open { display: none; }
  .nav.is-open .nav__toggle-close { display: block; }
  .js .nav__links {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top)) 0 auto; padding: 8px var(--gutter) 24px;
    background: rgba(22,12,42,.88); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s .4s;
  }
  .js .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav__links ul { flex-direction: column; gap: 0; }
  .js .nav__links a { min-height: 54px; font-size: 1.25rem; font-weight: 600; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); opacity: 1; width: 100%; }
  .js .nav__menu-cta { display: block; margin-top: 20px; }
  .js .nav.is-open::before { opacity: 1; background: rgba(22,12,42,.88); }
  .js .nav.is-open { color: var(--text-on-dark); }
  .no-js .nav__bar { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding-block: 10px; }
  .no-js .nav__links { order: 3; width: 100%; overflow-x: auto; }
  .no-js .nav__links a { padding: 0 10px; }
}

/* ---------- Gerätedarstellung ---------- */
.device {
  --w: 300px;
  position: relative; width: var(--w); max-width: 100%;
  padding: calc(var(--w) * .032);
  border-radius: calc(var(--w) * .165);
  background: linear-gradient(145deg, #3d3a4a 0%, #19171f 30%, #0c0b10 70%, #2e2b38 100%);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.9),
    inset 0 0 0 1.5px rgba(255,255,255,.16),
    inset 0 0 0 4px #0c0b0f,
    0 50px 100px -30px rgba(0,0,0,.65),
    0 30px 60px -40px rgba(97, 64, 151, .7);
}
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(#3d3a48, #1e1c25); }
.device::before { left: -2px; top: 22%; height: 6%; box-shadow: 0 calc(var(--w) * .12) 0 #28262f, 0 calc(var(--w) * .24) 0 #28262f; }
.device::after { right: -2px; top: 30%; height: 11%; }
.device__screen {
  position: relative; overflow: hidden; border-radius: calc(var(--w) * .135);
  aspect-ratio: 1260 / 2736; background: #000; container-type: inline-size;
}
.device__screen > img { width: 100%; height: 100%; object-fit: cover; }
.device--sm { --w: 250px; }

/* =========================================================================
   APP-BILDSCHIRME (HTML-Nachbau, skaliert über Container-Einheiten)
   Farben, Texte und Maße folgen dem SwiftUI-Code (Liquid-Glass-Look).
   ========================================================================= */
.as { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; color: #fff; font-family: var(--font); line-height: 1.2; letter-spacing: -.01em; user-select: none; }
.as__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(135deg, var(--t1), var(--t2) 55%, var(--t3)); }
.as__bg i { position: absolute; border-radius: 50%; opacity: .7; filter: blur(40px); }
.as__bg i:nth-child(1) { width: 90%; aspect-ratio: 1; left: -25%; top: 5%; background: var(--t1); }
.as__bg i:nth-child(2) { width: 95%; aspect-ratio: 1; right: -35%; bottom: 0; background: var(--t3); }
.as__bg i:nth-child(3) { width: 60%; aspect-ratio: 1; left: 10%; bottom: 8%; background: var(--ta); opacity: .55; }
.as__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, transparent 45%, rgba(0,0,0,.35) 110%); }
.as > :not(.as__bg) { position: relative; z-index: 1; }
.as .glass {
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2cqw 6cqw -3cqw rgba(0,0,0,.4);
}
.as .is-tint { background: linear-gradient(160deg, color-mix(in srgb, var(--ta) 85%, #fff 10%), color-mix(in srgb, var(--ta) 55%, transparent)); border-color: rgba(255,255,255,.5); }
.as .ai { width: 5cqw; height: 5cqw; }

.as__status { height: 12cqw; display: flex; align-items: center; justify-content: space-between; padding: 3cqw 9cqw 0; font-size: 3.6cqw; }
.as__status b { font-weight: 600; }
.as__status i { width: 7cqw; height: 3cqw; border-radius: 1cqw; border: .45cqw solid rgba(255,255,255,.9); position: relative; }
.as__status i::after { content: ""; position: absolute; inset: .5cqw; right: 1.5cqw; background: #fff; border-radius: .4cqw; }
.as__status::before { content: ""; position: absolute; left: 50%; top: 2.8cqw; translate: -50% 0; width: 28cqw; height: 8.2cqw; border-radius: 99px; background: #000; }

.as__body { flex: 1; padding: 2cqw 6cqw 30cqw; display: flex; flex-direction: column; }
.as__head { position: relative; border-radius: 7cqw; padding: 5cqw 6cqw; text-align: center; display: grid; gap: 1.6cqw; }
.as__head strong { font-size: 11cqw; letter-spacing: -.02em; text-shadow: 0 1cqw 3cqw rgba(0,0,0,.25); }
.as__head span { font-size: 3.7cqw; font-weight: 500; opacity: .88; }
.as__gear { position: absolute; top: 2cqw; right: 2cqw; width: 11cqw; height: 11cqw; border-radius: 50%; display: grid; place-items: center; }
.as__label { font-size: 2.9cqw; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; opacity: .72; margin: 6.5cqw 0 3.2cqw 1.6cqw; }
.as__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5cqw; }
.as__chip { min-height: 24cqw; border-radius: 6cqw; display: grid; place-items: center; align-content: center; gap: 1.8cqw; }
.as__chip .ai { width: 9cqw; height: 9cqw; stroke-width: 1.3; }
.as__chip em { font-style: normal; font-size: 3.4cqw; font-weight: 600; }
.as__chip.is-sel { background: linear-gradient(160deg, color-mix(in srgb, var(--ta) 70%, #fff 8%), color-mix(in srgb, var(--ta) 35%, transparent)); border-color: rgba(255,255,255,.65); transform: scale(1.04); }
.as__letters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.6cqw; }
.as__letters span { aspect-ratio: 1; border-radius: 4cqw; display: grid; place-items: center; font-size: 5.2cqw; font-weight: 600; }
.as__custom { margin-top: 6cqw; min-height: 13cqw; border-radius: 7cqw; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 3.6cqw; font-weight: 600; background: linear-gradient(160deg, color-mix(in srgb, var(--ta) 45%, transparent), rgba(255,255,255,.06)) !important; }
.as__start { position: absolute !important; left: 6cqw; right: 6cqw; bottom: 8cqw; min-height: 15cqw; border-radius: 8cqw; display: flex; align-items: center; justify-content: center; gap: 2.6cqw; font-size: 4.6cqw; font-weight: 600; }
.as__start .ai { width: 5.4cqw; height: 5.4cqw; }

.as__game { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 3cqw; padding: 2cqw 4.6cqw 7cqw; }
.as__top { display: flex; align-items: center; gap: 3.5cqw; }
.as__top > i { width: 11.5cqw; height: 11.5cqw; border-radius: 50%; display: grid; place-items: center; flex: none; }
.as__top > span { flex: 1; min-height: 11.5cqw; border-radius: 5.8cqw; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 4.1cqw; font-weight: 600; }
.as__top .ai { width: 5.2cqw; height: 5.2cqw; }
.as__glyph { font-size: 4.4cqw; }
.as__canvas { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.as__tpl { fill: none; stroke: var(--ta); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2.7 1.6; opacity: .5; filter: drop-shadow(0 0 1px var(--ta)); }
.is-scored .as__tpl { opacity: .92; filter: drop-shadow(0 0 2.5px var(--ta)); }
.as__ink { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--ta) 80%, transparent)); }
.as__finger { fill: rgba(255,255,255,.28); stroke: #fff; stroke-width: .6; }
.as__hint { border-radius: 7cqw; padding: 4.6cqw 5cqw; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 3.5cqw; font-weight: 500; text-align: left; }
.as__hint > span { flex: 1; min-width: 0; }
.as__hint em { flex-basis: 100%; font-style: normal; text-align: center; padding: 3cqw; border-radius: 5cqw; font-size: 3.6cqw; font-weight: 600; margin-top: 1cqw; }
.as__result { border-radius: 8cqw; padding: 5cqw 5.5cqw; text-align: center; display: grid; justify-items: center; gap: 3cqw; }
.as__score { display: flex; align-items: baseline; justify-content: center; gap: 1.2cqw; line-height: 1; }
.as__score b { font-size: 16cqw; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.as__score span { font-size: 7cqw; font-weight: 600; opacity: .85; }
.as__rating { display: inline-block; padding: 1.6cqw 3.8cqw; border-radius: 99px; font-size: 3.5cqw; font-weight: 600; background: color-mix(in srgb, var(--ta) 55%, rgba(255,255,255,.1)); border: 1px solid rgba(255,255,255,.35); }
.as__legend { display: flex; align-items: center; gap: 1.6cqw; font-size: 3cqw; font-weight: 500; opacity: .88; }
.as__legend i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #fff; }
.as__legend i.is-acc { background: var(--ta); margin-left: 2.4cqw; }
.as__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.as__btns span { min-height: 10.5cqw; border-radius: 5.5cqw; display: flex; align-items: center; justify-content: center; gap: 1.6cqw; font-size: 3.6cqw; font-weight: 600; }
.as__btns .ai { width: 4cqw; height: 4cqw; }

/* ---------- Atmosphäre ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.orb--violet { width: 60vmax; height: 60vmax; background: radial-gradient(circle, rgba(110,70,200,.95), rgba(110,70,200,0) 65%); }
.orb--sun { width: 34vmax; height: 34vmax; background: radial-gradient(circle, rgba(255,199,78,.5), rgba(255,199,78,0) 65%); }
.orb--sky { width: 40vmax; height: 40vmax; background: radial-gradient(circle, rgba(26,115,217,.6), rgba(26,115,217,0) 68%); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 32px) 0 72px;
  background: radial-gradient(120% 80% at 50% 0%, #2a1559 0%, var(--ink) 62%);
}
.hero__atmo { position: absolute; inset: 0; z-index: -1; transform: translate3d(0, calc(var(--p) * 140px * var(--pm)), 0); }
.hero .orb--violet { top: -22vmax; right: -18vmax; }
.hero .orb--sun { bottom: -10vmax; left: -10vmax; opacity: .4; }
.hero .orb--sky { top: 35%; left: 30%; opacity: .35; }
.hero__dots {
  position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__copy {
  text-align: center; display: grid; justify-items: center;
  transform: translate3d(0, calc(var(--p) * 90px * var(--pm)), 0); opacity: calc(1 - var(--p) * 1.4);
}
.hero__title { font-size: clamp(2.9rem, 1.4rem + 7.4vw, 6.4rem); letter-spacing: -.048em; line-height: 1; }
.ring { position: relative; display: inline-block; white-space: nowrap; }
.ring svg { position: absolute; left: -8%; top: -14%; width: 116%; max-width: none; height: 136%; overflow: visible; pointer-events: none; }
.ring path { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 4px 14px rgba(255,199,78,.45)); }
.hero__sub { margin-top: 26px; font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: var(--muted-on-dark); max-width: 36ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: grid; place-items: center; perspective: 1400px;
  min-height: 540px;
}
.hero__phone {
  position: relative; z-index: 2;
  transform: translate3d(0, calc(var(--p) * -70px * var(--pm)), 0) rotateX(var(--ry)) rotateY(var(--rx)) rotateZ(2deg);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
}
.hero__phone .device { --w: min(64vw, 290px); }
.hero__shine {
  position: absolute; inset: 0; border-radius: calc(min(64vw, 290px) * .165); pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.07) 100%);
  mix-blend-mode: screen;
}
.hero__back {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  margin: calc(min(52vw, 230px) * -1.07) 0 0 calc(min(64vw, 290px) * -.5 - min(52vw, 230px) * .52);
  transform: translate3d(0, calc(var(--p) * -150px * var(--pm)), 0) rotate(-9deg);
  opacity: .78; filter: saturate(.9) brightness(.85);
}
.hero__back .device { --w: min(52vw, 230px); }

.hero__shapes { position: absolute; inset: 0; z-index: 3; pointer-events: none; isolation: isolate; }
.shp { position: absolute; display: block; }
.shp--ring {
  width: clamp(80px, 19vw, 124px); right: -3%; top: -2%;
  filter: drop-shadow(0 18px 30px rgba(255,199,78,.35));
  transform: translate3d(0, calc(var(--p) * -260px * var(--pm)), 0) rotate(calc(var(--p) * 120deg));
}
.shp--ring path { fill: none; stroke: var(--sun); stroke-width: 14; stroke-linecap: round; }
.shp--square {
  z-index: -1; width: clamp(54px, 13vw, 80px); aspect-ratio: 1; left: -2%; top: -3%; border-radius: 10px;
  border: 3px dashed var(--sky); opacity: .85;
  transform: translate3d(0, calc(var(--p) * -320px * var(--pm)), 0) rotate(calc(-14deg + var(--p) * -60deg));
}
.shp--tri { width: clamp(64px, 15vw, 96px); left: 4%; bottom: 8%; transform: translate3d(0, calc(var(--p) * -180px * var(--pm)), 0) rotate(12deg); }
.shp--tri path { fill: none; stroke: var(--violet); stroke-width: 5; stroke-linejoin: round; }
.shp--a {
  right: 0; bottom: 14%; font: 800 clamp(3.6rem, 12vw, 5.6rem)/1 var(--round);
  color: transparent; -webkit-text-stroke: 2.5px rgba(255,255,255,.75);
  transform: translate3d(0, calc(var(--p) * -120px * var(--pm)), 0) rotate(8deg);
}
.shp--dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; left: 18%; top: 4%; box-shadow: 0 0 22px rgba(255,255,255,.8); transform: translate3d(0, calc(var(--p) * -380px * var(--pm)), 0); }

.hero__scroll {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.3);
  opacity: calc(1 - var(--p) * 4);
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Intro beim Laden – reine CSS, funktioniert ohne JS */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 1s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__stage { animation: stagein 1.4s var(--ease-out) .15s both; }
  .ring path { stroke-dashoffset: 1; animation: draw 1.3s var(--ease-out) .7s forwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes stagein { from { opacity: 0; transform: translateY(60px) scale(.96); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 24px; }
  .hero__copy { text-align: left; justify-items: start; }
  .hero__actions { justify-content: flex-start; }
  .hero__stage { min-height: 700px; }
  .hero__phone .device { --w: 320px; }
  .hero__shine { border-radius: calc(320px * .165); }
  .hero__back .device { --w: 250px; }
  .hero__back { margin: -270px 0 0 -300px; }
}

/* =========================================================================
   SEKTIONEN – allgemein
   ========================================================================= */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }
.section--light { background: var(--paper); color: var(--text-on-light); color-scheme: light; }
.section--light .lead { color: var(--muted-on-light); }
.section--dark { background: var(--ink); }
.section--ink { background: var(--ink-3); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Idee: Scroll zeichnet den Kreis ---------- */
.benefit { overflow: clip; }
.benefit .display { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.4rem); }
.benefit__inner { display: grid; gap: 56px; align-items: center; }
.benefit__visual { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; --t: clamp(0, var(--p) * 2 - .3, 1); }
.trace { width: 100%; height: 100%; overflow: visible; }
.trace__tpl { fill: none; stroke: var(--plum-2); stroke-width: 1.1; stroke-dasharray: 2.6 1.6; stroke-linecap: round; opacity: .45; }
.trace__ink { fill: none; stroke: var(--violet-strong); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t)); filter: drop-shadow(0 3px 6px rgba(90,47,194,.35)); }
.trace__score {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px;
  font-weight: 800; letter-spacing: -.05em; line-height: 1;
  opacity: clamp(0, (var(--t) - .9) * 10, 1); transform: scale(calc(.8 + clamp(0, (var(--t) - .9) * 10, 1) * .2));
}
.trace__score b { font-size: clamp(4.5rem, 3rem + 7vw, 7.5rem); background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trace__score span { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--plum-2); }

.points { display: grid; gap: 28px; margin-top: 48px; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.points .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; color: var(--violet-strong); background: #fff; box-shadow: 0 8px 24px -12px rgba(69,33,133,.35), inset 0 0 0 1px var(--line-light); }
.points h3 { font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: 4px; }
.points p { color: var(--muted-on-light); }
@media (min-width: 960px) {
  .benefit__inner { grid-template-columns: 1fr 1fr; gap: 80px; }
  .benefit__copy { order: -1; }
}

/* ---------- Ausprobieren (Demo) ---------- */
.playground { overflow: clip; isolation: isolate; }
.playground__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 50% at 75% 50%, rgba(26,115,217,.25), transparent 70%), radial-gradient(35% 40% at 15% 20%, rgba(255,199,78,.12), transparent 70%); }
.playground__inner { display: grid; gap: 48px; align-items: center; }
.playground .lead { margin-top: 24px; }
.picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.picker__item {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: .98rem; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--text-on-dark);
  transition: background-color .25s, border-color .25s, transform .35s var(--ease-out);
}
.picker__item:hover { background: rgba(255,255,255,.11); }
.picker__item[aria-checked="true"] { background: var(--sun); color: #1d0f3a; border-color: var(--sun); }
.picker__item .icon { width: 1.3em; height: 1.3em; }
.glyph { width: 1.3em; text-align: center; font: 800 1.15rem/1 var(--round); }
.playground__note { margin-top: 24px; color: var(--muted-on-dark); font-size: .95rem; max-width: 44ch; }

.demo { position: relative; isolation: isolate; overflow: hidden; width: min(100%, 520px); margin-inline: auto; border-radius: var(--radius-l); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 90px -40px rgba(0,0,0,.7), 0 30px 80px -50px rgba(26,115,217,.6); }
.demo > .as__bg { z-index: -1; }
.demo__canvas { display: block; width: 100%; aspect-ratio: 1; height: auto; touch-action: none; cursor: crosshair; }
.demo__noscript { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-weight: 600; }
.demo__bar, .demo__result { min-height: 96px; margin: 0 16px 16px; padding: 14px 18px; border-radius: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.demo__hint { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; }
.demo__hint .icon { width: 22px; height: 22px; flex: none; }
.demo__done, .demo__again {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 600;
  color: #fff; border: 1px solid rgba(255,255,255,.5); background: color-mix(in srgb, var(--ta) 60%, rgba(255,255,255,.1));
  transition: transform .3s var(--ease-out), background-color .2s;
}
.demo__done:hover, .demo__again:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--ta) 80%, rgba(255,255,255,.1)); }
.demo__done[hidden], .demo__result[hidden] { display: none; }
.demo.is-scored .demo__bar { display: none; }
.demo__result { justify-content: space-between; gap: 10px 16px; }
.demo__result .as__score { gap: 4px; }
.demo__result .as__score b { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); }
.demo__result .as__score span { font-size: 1.4rem; }
.demo__result .as__rating { font-size: .92rem; padding: 6px 14px; }
@media (min-width: 960px) {
  .playground__inner { grid-template-columns: .9fr 1.1fr; gap: 64px; }
}

/* ---------- Features (Bento) ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-l);
  background: var(--paper-2); box-shadow: 0 1px 0 var(--line-light), 0 24px 50px -36px rgba(40,16,90,.35);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line-light), 0 36px 60px -36px rgba(40,16,90,.45); }
.tile h3 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.03em; }
.tile p { margin-top: 10px; color: var(--muted-on-light); max-width: 36ch; }
.tile--dark { background: linear-gradient(160deg, #2a1559, #120a24); color: var(--text-on-dark); }
.tile--dark p { color: var(--muted-on-dark); }

.tile--shapes { display: grid; gap: 28px; align-content: space-between; background: linear-gradient(160deg, #fff 0%, #f0eaff 100%); }
.glyphs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.glyphs span { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font: 700 clamp(.95rem, .8rem + .6vw, 1.25rem)/1 var(--round); color: var(--plum);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-light), 0 6px 14px -10px rgba(69,33,133,.5); transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.glyphs span:nth-child(-n+3) { background: var(--sun); color: #1d0f3a; box-shadow: none; }
.glyphs .icon { width: 55%; height: 55%; stroke-width: 2; }
.tile--shapes:hover .glyphs span:nth-child(7n+4) { transform: translateY(-4px) rotate(-6deg); background: var(--plum); color: #fff; }

.tile--custom { background: linear-gradient(165deg, #fff 40%, #fff5dc 100%); }
.seg { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-light); }
.seg span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted-on-light); }
.seg .icon { width: 1.1em; height: 1.1em; }
.seg .is-on { background: #fff; color: var(--text-on-light); box-shadow: 0 4px 12px -6px rgba(40,16,90,.4); }
.custom-glyphs { display: flex; gap: 18px; margin-top: 22px; font: 800 clamp(3rem, 2rem + 3vw, 4.2rem)/1 var(--round); }
.custom-glyphs b { color: transparent; -webkit-text-stroke: 2px var(--violet-strong); }
.custom-glyphs b:nth-child(2) { -webkit-text-stroke-color: var(--sun-deep); }
.custom-glyphs b:nth-child(3) { -webkit-text-stroke-color: #1a73d9; }

.scale { display: grid; gap: 9px; margin-top: 24px; }
.scale li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted-on-dark); }
.scale i { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.scale i::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, rgba(165,139,255,.6), var(--violet)); }
.scale li:nth-child(1) i::after { width: 20%; } .scale li:nth-child(2) i::after { width: 40%; } .scale li:nth-child(3) i::after { width: 60%; }
.scale li:nth-child(4) i::after { width: 80%; } .scale li:nth-child(5) i::after { width: 100%; }
.scale li.is-on { color: #fff; font-weight: 600; }
.scale li.is-on i::after { background: linear-gradient(90deg, var(--sun-soft), var(--sun)); }

.countdown { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-weight: 700; font-size: 1.2rem; color: var(--plum); }
.countdown svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.countdown circle { fill: none; stroke: var(--line-light); stroke-width: 4; }
.countdown .countdown__arc { stroke: var(--violet-strong); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .3; }
@media (prefers-reduced-motion: no-preference) { .countdown__arc { animation: countdown 3s linear infinite; } }
@keyframes countdown { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }

.tile--themes { display: grid; gap: 24px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.swatches li { display: grid; gap: 8px; justify-items: center; font-size: .82rem; font-weight: 600; color: var(--muted-on-light); }
.swatches li::before { content: ""; width: 100%; aspect-ratio: .62; border-radius: 16px; background: radial-gradient(60% 40% at 30% 70%, color-mix(in srgb, var(--ta) 70%, transparent), transparent), linear-gradient(140deg, var(--t1), var(--t2) 55%, var(--t3));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 14px 24px -14px rgba(40,16,90,.6); transition: transform .5s var(--ease-out); }
.tile--themes:hover .swatches li::before { transform: translateY(-6px); }
.tile--themes:hover .swatches li:nth-child(even)::before { transform: translateY(-2px); }

.wave { display: flex; align-items: center; gap: 5px; margin-top: 24px; height: 48px; color: var(--violet-strong); }
.wave .icon { width: 30px; height: 30px; margin-right: 8px; }
.wave i { width: 5px; border-radius: 9px; background: var(--violet-strong); height: 30%; opacity: .75; }
.wave i:nth-child(3) { height: 70%; } .wave i:nth-child(4) { height: 100%; } .wave i:nth-child(5) { height: 55%; } .wave i:nth-child(6) { height: 80%; } .wave i:nth-child(7) { height: 40%; }
@media (prefers-reduced-motion: no-preference) { .wave i { animation: wave 1.4s var(--ease) infinite alternate; } .wave i:nth-child(odd) { animation-delay: -.7s; } }
@keyframes wave { to { transform: scaleY(.45); } }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--shapes, .tile--themes { grid-column: span 6; }
  .tile--custom, .tile--strict, .tile--multi, .tile--sound { grid-column: span 3; }
  .glyphs { grid-template-columns: repeat(10, 1fr); }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--shapes { grid-column: span 7; grid-row: span 2; }
  .tile--custom, .tile--strict { grid-column: span 5; }
  .tile--themes { grid-column: span 5; }
  .tile--multi { grid-column: span 4; }
  .tile--sound { grid-column: span 3; }
  .glyphs { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Showcase (Sticky-Story) ---------- */
.showcase { overflow: clip; }
.showcase__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 70% 40%, rgba(110,70,200,.28), transparent 70%), radial-gradient(40% 30% at 20% 80%, rgba(255,199,78,.08), transparent 70%); }
.steps { display: grid; gap: 96px; }
.step { display: grid; gap: 36px; justify-items: center; text-align: center; }
.step__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); }
.step__kicker span { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--sun); letter-spacing: 0; }
.step h3 { margin-top: 14px; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); letter-spacing: -.035em; }
.step__text p:last-child { margin-top: 14px; color: var(--muted-on-dark); font-size: 1.1rem; max-width: 34ch; margin-inline: auto; }
.step__media .device { --w: min(64vw, 280px); }
.showcase__sticky { display: none; }
.showcase__img { position: absolute; inset: 0; }

@media (min-width: 960px) {
  .js .showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .js .steps { gap: 0; }
  .js .step { min-height: 88vh; align-content: center; justify-items: start; text-align: left; }
  .js .step__text { opacity: .28; transition: opacity .6s var(--ease); }
  .js .step.is-active .step__text { opacity: 1; }
  .js .step__text p:last-child { margin-inline: 0; }
  .js .step__media { display: none; }
  .js .showcase__sticky { display: grid; justify-items: center; align-content: center; gap: 28px; position: sticky; top: 0; height: 100vh; }
  .showcase__phone .device { --w: 320px; }
  .showcase__img { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1s var(--ease-out); }
  .showcase__img.is-active { opacity: 1; transform: none; }
  .showcase__dots { display: flex; gap: 8px; }
  .showcase__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .5s var(--ease-out), background-color .3s; }
  .showcase__dots i.is-active { width: 26px; background: var(--sun); }
  .no-js .step { grid-template-columns: 1fr 1fr; text-align: left; justify-items: start; align-items: center; }
}

/* ---------- Für wen ---------- */
.audience { overflow: clip; background: radial-gradient(60% 50% at 50% 0%, rgba(110,70,200,.25), transparent 70%), var(--ink-3); }
.audience__grid { display: grid; gap: 18px; }
.who {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: start; gap: 12px;
  padding: clamp(26px, 4vw, 36px); border-radius: var(--radius-l); min-height: 300px;
  background: linear-gradient(150deg, var(--t1), var(--t2) 60%, var(--t3));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 40px 70px -40px rgba(0,0,0,.8);
  transform: translate3d(0, calc((var(--p) - .5) * var(--d, 0px) * var(--pm)), 0);
}
.who::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--ta); opacity: .35; filter: blur(50px); z-index: -1; }
.who:nth-child(1) { --d: 40px; } .who:nth-child(2) { --d: -30px; } .who:nth-child(3) { --d: 60px; }
.who__icon .icon { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.who__level { justify-self: start; margin-top: 18px; padding: 5px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.22); }
.who h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -.03em; }
.who p:last-child { color: rgba(255,255,255,.88); }
.th-mint.who { color: #08251f; } .th-mint.who p:last-child { color: rgba(8,37,31,.82); } .th-mint .who__level { background: rgba(255,255,255,.45); }
.th-mint .who__icon .icon { background: rgba(255,255,255,.5); }
@media (min-width: 900px) { .audience__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Datenschutz ---------- */
.privacy { padding-bottom: clamp(60px, 8vw, 100px); }
.privacy__inner { display: grid; justify-items: center; text-align: center; }
.privacy__mark .icon { width: 72px; height: 72px; padding: 18px; border-radius: 22px; color: #fff; background: var(--grad-deep); box-shadow: 0 20px 40px -18px rgba(69,33,133,.8); margin-bottom: 28px; }
.privacy .lead { margin: 24px auto 0; max-width: 44ch; }
.facts { width: 100%; max-width: 760px; margin-top: 44px; display: grid; gap: 12px; text-align: left; }
.facts div { padding: 20px 22px; border-radius: var(--radius-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line-light); }
.facts dt { font-weight: 700; }
.facts dd { margin: 4px 0 0; color: var(--muted-on-light); }
@media (min-width: 720px) { dl.facts { grid-template-columns: 1fr 1fr; } }
.facts--site { padding: 26px; border-radius: var(--radius-l); background: #fff; box-shadow: inset 0 0 0 1px var(--line-light), 0 24px 50px -40px rgba(40,16,90,.4); margin-bottom: 36px; }
.facts--site h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 14px; }
.facts--site ul { display: grid; gap: 12px; }
.facts--site li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.facts--site .icon { color: var(--violet-strong); }
@media (min-width: 720px) { .facts--site ul { grid-template-columns: repeat(3, 1fr); } .facts--site li { align-items: flex-start; } }

/* ---------- FAQ ---------- */
.faq { padding-top: clamp(60px, 8vw, 100px); }
.faq__inner { max-width: 860px; }
.faq__list { border-top: 1px solid var(--line-light); }
.qa { border-bottom: 1px solid var(--line-light); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: 24px 4px; min-height: 64px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; }
.qa__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; flex: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line-light); transition: transform .5s var(--ease-out), background-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(180deg); background: var(--plum); color: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa summary:hover h3 { color: var(--violet-strong); }
.qa__body { padding: 0 4px 26px; color: var(--muted-on-light); max-width: 64ch; }
.qa__body a { color: var(--violet-strong); }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- CTA ---------- */
.cta { overflow: clip; isolation: isolate; text-align: center; background: radial-gradient(80% 70% at 50% 100%, #3b1b7a 0%, #1a0d38 55%, var(--ink) 100%); }
.cta__atmo { position: absolute; inset: 0; z-index: -1; transform: translate3d(0, calc((var(--p) - .5) * -120px * var(--pm)), 0); }
.cta .orb--violet { left: 50%; bottom: -40vmax; translate: -50% 0; }
.cta .orb--sun { right: -10vmax; top: -10vmax; opacity: .3; }
.cta__inner { display: grid; justify-items: center; }
.cta__icon { width: 112px; height: 112px; border-radius: 26px; margin-bottom: 36px; box-shadow: 0 30px 60px -20px rgba(110,70,200,.9), 0 0 0 1px rgba(255,255,255,.12);
  transform: translate3d(0, calc((var(--p) - .5) * 60px * var(--pm)), 0) rotate(calc((var(--p) - .5) * -10deg)); }
.cta .lead { margin: 20px auto 36px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-3); color: var(--muted-on-dark); padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); font-size: .95rem; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .brand { color: var(--text-on-dark); }
.footer__brand p { margin-top: 14px; max-width: 34ch; }
.footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark); margin-bottom: 14px; }
.footer li + li { margin-top: 6px; }
.footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer__base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: .82rem; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__base { grid-template-columns: auto 1fr; gap: 24px; }
  .footer__base p:last-child { text-align: right; }
}

/* =========================================================================
   UNTERSEITEN
   ========================================================================= */
.legal { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--nav-h) + env(safe-area-inset-top) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 10vw, 120px); }
.legal__atmo { position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; }
.legal__atmo .orb--violet { top: -30vmax; right: -20vmax; opacity: .5; }
.legal__atmo .orb--sun { top: -10vmax; left: -12vmax; opacity: .2; }
.legal__wrap { max-width: 820px; }
.legal__head h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.2rem); letter-spacing: -.045em; }
.legal__head .lead { margin-top: 18px; }
.legal--center { min-height: 80vh; display: grid; align-items: center; text-align: center; }
.legal--center .lead { margin: 18px auto 0; }
.legal--center h1 { font-size: clamp(2.2rem, 1.4rem + 4vw, 4rem); letter-spacing: -.04em; }
.legal__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

.draft { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-m); background: rgba(255, 199, 78, .12); border: 1px solid rgba(255, 199, 78, .45); color: #ffe7a6; }
.ph { background: #ffd84d; color: #1a1400; padding: .05em .35em; border-radius: 5px; font-weight: 600; font-size: .92em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.prose { margin-top: 48px; padding: clamp(24px, 5vw, 56px); border-radius: var(--radius-l); background: var(--paper-2); color: var(--text-on-light); color-scheme: light; box-shadow: 0 40px 80px -50px rgba(0,0,0,.8); }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); letter-spacing: -.025em; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #352c4c; }
.prose p + p { margin-top: .9em; }
.prose a { color: var(--violet-strong); text-underline-offset: 3px; }
.prose .small { margin-top: 1.4em; font-size: .92rem; color: var(--muted-on-light); }
.prose .btn--primary { color: #1d0f3a; margin-top: 4px; }
.toc { padding: 20px 24px; border-radius: var(--radius-m); background: var(--paper); margin-bottom: 2.4em; }
.toc ol { list-style: decimal; padding-left: 1.3em; columns: 2 220px; column-gap: 32px; }
.toc li { padding: 3px 0; break-inside: avoid; }
.app-privacy { display: grid; gap: 10px; margin: 1.2em 0; }
.app-privacy div { padding: 14px 18px; border-radius: 14px; background: var(--paper); }
.app-privacy dt { font-weight: 700; }
.app-privacy dd { margin: 4px 0 0; color: #352c4c; }
.help { display: grid; gap: 14px; margin: 1em 0 1.6em; }
.help li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius-m); background: var(--paper); }
.help .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--violet-strong); box-shadow: inset 0 0 0 1px var(--line-light); }
.help h3 { font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -.01em; }
.help p { color: #352c4c; }

/* =========================================================================
   SCROLL-DRIVEN ANIMATIONS (CSS) – Fortschritt --p je Sektion
   JS-Fallback (animations.js) setzt --p, wenn der Browser das nicht unterstützt.
   ========================================================================= */
@keyframes progress { from { --p: 0; } to { --p: 1; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-progress="exit"] { animation: progress linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    [data-progress="cover"] { animation: progress linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
/* Ohne JS & ohne SDA: Kreis in der Idee-Sektion fertig gezeichnet zeigen */
@supports not (animation-timeline: view()) { .no-js .benefit { --p: .7; } }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-progress] { --p: 0 !important; }
  .benefit { --p: .7 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__phone { transform: rotateZ(2deg) !important; }
}

/* Drucken */
@media print {
  .nav, .hero__atmo, .legal__atmo, .footer__grid { display: none; }
  body, .prose { background: #fff; color: #000; box-shadow: none; }
}

/* ---------- iPhone & iPad ---------- */
.tablet { overflow: clip; background: radial-gradient(50% 50% at 75% 50%, rgba(26,115,217,.22), transparent 70%), var(--ink); }
.tablet__inner { display: grid; gap: 56px; align-items: center; }
.tablet .lead { margin-top: 24px; }
.tablet .platform__devices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.platform__devices li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: .92rem; font-weight: 500; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.platform__devices .icon { width: 1.2em; height: 1.2em; color: var(--violet); }
.tablet__stage { position: relative; padding: 0 0 40px; }
.ipad {
  --w: min(100%, 560px);
  width: var(--w); margin-inline: auto; padding: 14px; border-radius: 34px;
  background: linear-gradient(145deg, #3d3a4a 0%, #19171f 30%, #0c0b10 70%, #2e2b38 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.9), inset 0 0 0 1.5px rgba(255,255,255,.16), 0 60px 110px -40px rgba(0,0,0,.75), 0 30px 80px -50px rgba(26,115,217,.6);
  transform: translate3d(0, calc((var(--p) - .5) * -40px * var(--pm)), 0);
}
.ipad img { width: 100%; height: auto; aspect-ratio: 2064 / 2752; border-radius: 22px; object-fit: cover; }
.ipad .as { position: relative; aspect-ratio: 2064 / 2752; border-radius: 22px; }
.tablet__phone { position: absolute; right: -2%; bottom: 0; transform: translate3d(0, calc((var(--p) - .5) * -120px * var(--pm)), 0) rotate(6deg); }
.tablet__phone .device { --w: clamp(120px, 30vw, 190px); }
@media (min-width: 960px) { .tablet__inner { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

/* App-Hintergründe (generiert aus src/screens.mjs) */
.th-aurora{--t1:rgb(82 26 140);--t2:rgb(26 115 217);--t3:rgb(13 179 191);--ta:rgb(115 217 255)}
.th-sunset{--t1:rgb(242 89 115);--t2:rgb(242 140 64);--t3:rgb(140 51 140);--ta:rgb(255 199 115)}
.th-ocean{--t1:rgb(10 46 107);--t2:rgb(13 115 179);--t3:rgb(26 191 217);--ta:rgb(140 242 255)}
.th-midnight{--t1:rgb(10 13 41);--t2:rgb(26 26 77);--t3:rgb(64 26 115);--ta:rgb(204 153 255)}
.th-mint{--t1:rgb(26 115 102);--t2:rgb(89 204 166);--t3:rgb(217 242 204);--ta:rgb(153 255 217)}
