/* Lora wird nie durch eine Ersatzschrift vertreten (kein Springen beim Laden); Inter darf kurz tauschen, die Metriken von SF/System sind fast gleich */
@font-face { font-family: "Lora"; src: url("fonts/Lora.woff") format("woff"); font-weight: 400 700; font-display: block; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --paper: #F8F8F6; --card: #FFFFFF; --ink: #111114; --muted: #64646a; --line: #e6e6e1;
  --plan: #6E56CF; --spark: #2F6FDE; --pause: #6F8F72; --pause-text: #4E6A51; --spark-text: #2B69D8;
  --accent: var(--ink);
  --dark: #111114; --dark-ink: #f4f4f2; --dark-muted: #a2a2a8;
  --maxw: 1120px;
  --nav-h: 56px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #111113; --card: #1b1b1e; --ink: #f4f4f2; --muted: #a2a2a8; --line: #2c2c30;
          --plan: #9B87F5; --spark: #5E94FF; --pause: #9DBA9F; --pause-text: #9DBA9F; --spark-text: #5E94FF; --dark: #000000; }
}
body.app-plan  { --accent: var(--plan); }
body.app-spark { --accent: var(--spark-text); }
body.app-pause { --accent: var(--pause); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.55 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
picture { display: contents; }
picture > source { display: none; } /* sonst zählt <source> in Flex-Zeilen als Element mit Abstand (Symbol eingerückt) */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.serif { font-family: "Lora", Georgia, serif; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* ---------- Navigation ---------- */
header.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
header.nav.scrolled { border-bottom-color: var(--line); }
header.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--plan); }
.dots i:nth-child(2) { background: var(--spark); }
.dots i:nth-child(3) { background: var(--pause); }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main > a { white-space: nowrap; }
nav.main > a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
nav.main > a:hover, nav.main > a[aria-current] { color: var(--ink); }
nav.main > a.app-link::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; transform: translateY(-2px); background: var(--c); opacity: .9; }
nav.main > a.plan { --c: var(--plan); }
nav.main > a.spark { --c: var(--spark); }
nav.main > a.pause { --c: var(--pause); }
nav.main > a[aria-current] { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) {
  nav.main { gap: 0; }
  nav.main > a { padding: 8px 8px; }
  nav.main .pre { display: none; }
}
@media (max-width: 419px) { nav.main > a.sup { display: none; } }
@media (max-width: 359px) {
  nav.main > a { padding: 8px 5px; font-size: 13px; }
  .brand { gap: 7px; font-size: 17px; }
  .list-links a span { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; font-size: 16px; border: 0; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.link { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 17px; }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }
.note { font-size: 14px; color: var(--muted); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* ---------- Home: Hero ---------- */
.home-hero { padding: 96px 0 72px; text-align: center; }
.home-hero h1 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(44px, 7.5vw, 88px); line-height: 1.02; letter-spacing: -.025em; }
.home-hero p { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 30em; margin: 24px auto 0; }
.home-hero .dots { margin-bottom: 28px; }
.home-hero .dots i { width: 12px; height: 12px; }

/* ---------- Home: App-Kacheln ---------- */
.tiles { display: grid; gap: 14px; padding: 0 14px 14px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line);
  height: min(780px, calc(100vh - var(--nav-h) - 28px)); height: min(780px, calc(100svh - var(--nav-h) - 28px)); min-height: 560px; padding: clamp(32px, 5.5vh, 60px) 24px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tile.dark { background: var(--dark); color: var(--dark-ink); box-shadow: none; }
.tile.dark .tile-sub { color: var(--dark-muted); }
.tile .app-icon { width: clamp(48px, 7vh, 64px); height: clamp(48px, 7vh, 64px); border-radius: 15px; box-shadow: 0 0 0 1px rgba(127,127,127,.25); }
.tile h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, min(6vw, 7vh), 64px); line-height: 1.05; letter-spacing: -.02em; margin-top: 14px; }
.tile .tile-sub { font-size: clamp(19px, 2.3vw, 24px); color: var(--muted); margin-top: 10px; max-width: 26em; }
.tile .tile-links { display: flex; gap: 28px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.tile .tile-links .link { color: var(--accent); }
.tile.plan { --accent: var(--plan); }
.tile.spark { --accent: var(--spark-text); }
.tile.pause { --accent: var(--pause); }
.tile.dark.spark { --accent: #7FA8FF; }
.tile .phones { flex: 1; min-height: 0; padding-top: clamp(20px, 4vh, 44px); display: flex; gap: 26px; justify-content: center; align-items: flex-start; }
.tile .phones > img { width: clamp(200px, 33vh, 320px); height: auto; display: block; flex: none; }
.tile .phones > .side { width: clamp(170px, 27vh, 260px); margin-top: 9vh; }
.tile.pause .badge-soon, .tile.pause .link { color: var(--pause-text); }
.badge-soon { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.badge-live { background: var(--accent); color: var(--paper); }
.tile.dark .badge-live { color: var(--dark); }

/* Pause ist noch nicht da: kleine, ruhige Kachel statt einer leeren Bildschirmhöhe */
.tile.pause { height: auto; min-height: 0; padding-bottom: clamp(36px, 6vh, 64px); }
.tile.pause h2 { font-size: clamp(30px, 4.4vw, 44px); }
.tile .phones.soon-icon { align-items: center; padding-top: 0; }
.tile .phones.soon-icon img { width: clamp(150px, 24vh, 220px); height: auto; flex: none; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0,0,0,.12); margin-bottom: 3vh; }
.soon-hero { padding: 120px 0 60px; }

/* ---------- Keynote-Teaser (Todai Plan Update) ---------- */
.teaser-wrap { padding: 0 14px 14px; }
.teaser { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: #000; color: #f5f5f7;
  text-align: center; padding: clamp(48px, 8vh, 88px) 24px clamp(56px, 9vh, 96px); }
.teaser-glow { position: absolute; inset: -20%; z-index: -1; opacity: .55;
  background: radial-gradient(40% 38% at 50% 38%, rgba(139,118,232,.55), transparent 70%),
              radial-gradient(30% 30% at 62% 52%, rgba(94,148,255,.35), transparent 70%),
              radial-gradient(28% 26% at 40% 56%, rgba(229,139,211,.28), transparent 70%);
  animation: t-breathe 7s ease-in-out infinite alternate; }
.teaser-mark { width: min(340px, 78%); height: auto; display: block; margin: 0 auto; overflow: visible; }
.teaser-mark .t-axis, .teaser-mark .t-bar { transform-box: fill-box; }
.teaser-mark .t-axis { transform-origin: 50% 0; animation: t-draw-y 1.4s cubic-bezier(.2,.8,.2,1) both; }
.teaser-mark .t-bar { transform-origin: 0 50%; animation: t-draw-x 1.1s cubic-bezier(.2,.8,.2,1) both; }
.teaser-mark .t-b1 { animation-delay: .6s; } .teaser-mark .t-b2 { animation-delay: .8s; } .teaser-mark .t-b3 { animation-delay: 1s; }
.teaser-mark .t-glow { opacity: .9; }
.teaser-mark .t-dot, .teaser-mark .t-dot-glow { animation: t-travel 6s cubic-bezier(.45,0,.55,1) 1.4s infinite both; }
.teaser-mark .t-dot-glow { animation-name: t-travel, t-pulse; animation-duration: 6s, 2s; animation-iteration-count: infinite, infinite; animation-direction: normal, alternate; }
.teaser-eyebrow { margin-top: 26px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: #a1a1a6; }
.teaser-title { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(48px, 8vw, 96px); line-height: 1.12; letter-spacing: -.03em; margin-top: 2px; padding: 0 .06em .14em;
  background: linear-gradient(90deg, #B9A9FF, #7FA8FF, #F0A6DD, #B9A9FF); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: t-shimmer 8s linear infinite; }
.teaser-sub { margin-top: 2px; font-size: clamp(19px, 2.2vw, 24px); color: #a1a1a6; }
.t-cta { display: inline-block; margin-top: 24px; padding: 12px 24px; border-radius: 999px; background: #f5f5f7; color: #0a0a0c;
  text-decoration: none; font-weight: 600; font-size: 16px; transition: background .25s ease, transform .25s ease; }
.t-cta:hover { background: #fff; transform: translateY(-1px); }
.t-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes t-draw-y { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes t-draw-x { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes t-travel { 0%, 100% { transform: translateY(-62px); } 50% { transform: translateY(62px); } }
@keyframes t-pulse { from { opacity: .6; } to { opacity: 1; } }
@keyframes t-shimmer { to { background-position: 300% 0; } }
@keyframes t-breathe { from { transform: scale(1) translateY(0); opacity: .45; } to { transform: scale(1.08) translateY(-2%); opacity: .7; } }
/* Szenen-Wechsel (Spark <-> Plan) */
.t-stage { display: grid; }
.t-scene { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(10px);
  transition: opacity .55s cubic-bezier(.4,0,.6,1), transform .55s ease-in, visibility 0s linear .55s; }
.t-scene.on { visibility: visible; opacity: 1; transform: none;
  transition: opacity 1.2s cubic-bezier(.3,0,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.t-scene { transform: translateY(10px); }
.t-scene.leaving { transform: translateY(-8px); }
html:not(.js) .t-scene { visibility: visible; opacity: 1; grid-area: auto; margin-bottom: 40px; }
html:not(.js) .t-stage { display: block; }
.t-scene:not(.on):not(.leaving) * { animation: none !important; }
html:not(.js) .t-scene:not(.on):not(.leaving) * { animation: revert !important; }
html:not(.js) .t-scene { transform: none; transition: none; }
.gw { position: absolute; inset: 0; z-index: -1; transition: opacity 1.4s ease; }
.gw-spark { opacity: 0; } .teaser[data-scene="spark"] .gw-spark { opacity: 1; } .teaser[data-scene="spark"] .gw-plan { opacity: 0; }
html:not(.js) .gw-spark { display: none; }
.gw .teaser-glow { z-index: auto; }
.teaser-glow.tg-spark { background: radial-gradient(40% 38% at 50% 38%, rgba(79,134,240,.6), transparent 70%),
  radial-gradient(30% 30% at 38% 52%, rgba(143,208,255,.32), transparent 70%),
  radial-gradient(28% 26% at 62% 56%, rgba(155,135,245,.26), transparent 70%); }
.teaser-title.spark { background-image: linear-gradient(90deg, #8FB8FF, #A9E0FF, #B9A9FF, #8FB8FF); background-size: 300% 100%; }
.t-sbar { transform-box: fill-box; transform-origin: 0 50%; animation: t-draw-x 1.2s cubic-bezier(.2,.8,.2,1) .3s both; }
.t-sdot, .t-ring { transform-box: fill-box; transform-origin: 50% 50%; }
.t-sdot { animation: t-pop .7s cubic-bezier(.3,1.6,.5,1) 1.3s both; }
.t-ring { animation: t-ring 3s ease-out 1.9s infinite both; }
@keyframes t-pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes t-ring { 0% { transform: scale(1); opacity: 0; } 8% { opacity: .85; } 100% { transform: scale(4.2); opacity: 0; } }
.t-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 2px; z-index: 4; }
html:not(.js) .t-dots { display: none; }
.t-pill { appearance: none; border: 0; background: none; padding: 0; width: 28px; height: 28px; position: relative; cursor: pointer;
  transition: width .7s cubic-bezier(.3,.8,.3,1); -webkit-tap-highlight-color: transparent; }
.t-pill::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 4px; background: rgba(255,255,255,.32);
  transition: width .7s cubic-bezier(.3,.8,.3,1), margin .7s cubic-bezier(.3,.8,.3,1), background .6s; }
.t-pill:hover::before { background: rgba(255,255,255,.55); }
.t-pill.on { width: 64px; }
.t-pill.on::before { width: 44px; margin-left: -22px; background: rgba(255,255,255,.9); }
.t-pill:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 14px; }
.teaser { padding-bottom: clamp(72px, 11vh, 112px); }
@media (prefers-reduced-motion: reduce) {
  .teaser *, .teaser-glow, .teaser-title { animation: none !important; }
  .t-sdot, .t-sbar { opacity: 1; transform: none; }
  .t-ring { opacity: 0; }
}

/* ---------- Home: Familie ---------- */
.family { padding: 110px 0 100px; }
.family h2, .family .fam-intro { text-align: center; }
.family .fam-intro { margin-left: auto; margin-right: auto; text-wrap: balance; }
.family h2, h2.sec { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.015em; }
.family .fam-intro { color: var(--muted); font-size: 19px; margin-top: 14px; max-width: 34em; }
.family ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.family li { display: flex; }
.family li a { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); border-top: 3px solid var(--c); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.family li a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(0,0,0,.08); }
.family li a:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.family .fam-app { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-size: 15px; font-weight: 600; }
.family .fam-app::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .25s ease; }
.family li a:hover .fam-app::after { transform: translateX(3px); }
.family .fam-app img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); display: block; }
@media (prefers-reduced-motion: reduce) { .family li a, .family .fam-app::after { transition: none; } .family li a:hover { transform: none; } }
.family li b { display: block; font-size: 14px; font-weight: 600; color: var(--ct, var(--c)); letter-spacing: .02em; }
.family li h3 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: 26px; margin-top: 6px; }
.family li p { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* ---------- App-Seite: Hero ---------- */
.app-hero { padding: 72px 0 40px; text-align: center; }
.app-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(0,0,0,.08); }
.app-hero .name { margin-top: 22px; font-weight: 600; font-size: 20px; }
.app-hero h1 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(44px, 7vw, 80px); line-height: 1.03; letter-spacing: -.025em; margin-top: 10px; }
.app-hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 32em; margin: 22px auto 0; }
.app-hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.app-hero .note { margin-top: 14px; }

/* ---------- App-Seite: Einstieg + Bühne als eine festgepinnte Sequenz (wie bei Apple) ---------- */
/* Die Seite beginnt hell mit großem Titel; das iPhone schaut von unten herein. Beim Scrollen hebt der Text ab,
   die Fläche wird dunkel und das iPhone steigt an seinen Platz. Danach wechseln die Szenen am Scrollrad. */
.stage { position: relative; color: #f5f5f7; background: #0B0B11; }
.app-spark .stage { --sg: #2A62C8; }
.app-plan .stage { --sg: #5A44B4; }
.stage-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: clip; isolation: isolate; background: var(--paper); }
@supports (height: 100svh) { .stage-pin { height: calc(100svh - var(--nav-h)); } }
.stage-dark { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 50% at 50% 0%, rgba(255,255,255,.07), transparent 62%),
              linear-gradient(180deg, #12121A 0%, #0B0B11 55%, #0D0D14 100%); }
.stage-glow { position: absolute; inset: -10% -6%; z-index: 1; pointer-events: none; animation: glow-breathe 9s ease-in-out infinite alternate; }
.stage-glow i { position: absolute; inset: 0; opacity: 0; background: radial-gradient(30% 42% at 30% 52%, var(--c, var(--sg, #2A62C8)), transparent 70%); }
.stage-glow i:first-child { opacity: 1; }
@keyframes glow-breathe { from { transform: scale(1); } to { transform: scale(1.08) translateY(-2%); } }
.stage-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stage-phone { height: 100%; display: flex; align-items: center; justify-content: center; padding: 5vh 0; will-change: transform; transform-origin: 50% 0; }
.stage-track > i { display: block; height: 28vh; }
.stage-track > i.seg-intro { height: 100vh; }

/* Einstieg */
.intro { position: absolute; left: 0; right: 0; top: 0; z-index: 3; text-align: center; color: var(--ink);
  padding: clamp(26px, 6.5vh, 70px) 24px 0; will-change: transform, opacity; }
.intro .app-icon { width: clamp(56px, 9vh, 88px); height: auto; border-radius: 22%; box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(0,0,0,.08); }
.intro .name { margin-top: 1.7vh; font-weight: 600; font-size: clamp(16px, 2.2vh, 20px); }
.intro h1 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(38px, min(7vw, 8.4vh), 88px); line-height: 1.03; letter-spacing: -.025em; margin-top: .8vh; }
.intro .lead { font-size: clamp(16px, min(1.8vw, 2.4vh), 21px); color: var(--muted); max-width: 32em; margin: 2.2vh auto 0; }
.intro .cta { margin-top: 2.8vh; display: flex; flex-direction: column; align-items: center; gap: 1.4vh; }
.intro .note { font-size: 13.5px; color: var(--muted); }
/* flache Fenster: Einstieg kompakter, damit das iPhone von Anfang an zu sehen ist */
@media (min-width: 821px) and (max-height: 760px) {
  .intro { padding-top: clamp(18px, 4.5vh, 40px); }
  .intro .app-icon { width: clamp(40px, 7.5vh, 64px); }
  .intro h1 br { display: none; }
  .intro h1 { font-size: clamp(34px, min(5.4vw, 9vh), 64px); }
  .intro .lead { max-width: 44em; margin-top: 1.6vh; }
  .intro .cta { flex-direction: row; justify-content: center; gap: 18px; margin-top: 2.2vh; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .intro .app-icon { width: 44px; }
  .intro .name { margin-top: 1vh; }
  .intro .lead { font-size: 14.5px; margin-top: 1.4vh; }
  .intro .cta { margin-top: 1.8vh; gap: 1vh; }
}
/* Startzustand, bevor das Skript die erste Position setzt (verhindert ein Springen beim Laden) */
/* das Dunkel ist ein Kreis (600 px), den das Skript verschiebt und skaliert */
.js .stage-dark { -webkit-clip-path: circle(0px at 50% 100%); clip-path: circle(0px at 50% 100%); }
.js .app-spark .stage-dark { -webkit-clip-path: none; clip-path: none; inset: auto; left: 0; top: 0; width: 600px; height: 600px; border-radius: 50%; transform: scale(0);
  transform-origin: 50% 50%; will-change: transform; background: #0D0D14; }
.js .stage-glow { opacity: 0; }
.js .stage-texts { opacity: 0; }
.js .stage-phone { transform: translateY(46%) scale(1.06); }
@media (min-width: 821px) { .js .stage-phone { transform: translate(calc((min(1120px, 100vw) - 48px) / 4 + 16px), 46%) scale(1.06); } }
/* Auftritt beim Laden: Titel steigt auf, iPhone fährt von unten herein */
@media (prefers-reduced-motion: no-preference) {
  .js .intro > * { animation: intro-rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .js .intro > :nth-child(2) { animation-delay: .07s; }
  .js .intro > :nth-child(3) { animation-delay: .13s; }
  .js .intro > :nth-child(4) { animation-delay: .22s; }
  .js .intro > :nth-child(5) { animation-delay: .3s; }
  .js .stage-phone .device { animation: dev-rise 1.5s cubic-bezier(.16,.8,.2,1) .25s both; }
}
@keyframes intro-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes dev-rise { from { opacity: 0; transform: translateY(26%); } to { opacity: 1; transform: none; } }

/* Gerät: Bildschirme liegen unter einer festen Rahmen-Auflage, nur der Inhalt wechselt */
.device { position: relative; height: min(100%, 780px); aspect-ratio: 720 / 1484; max-width: 100%;
  }
.device-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.device .stack { position: absolute; left: 4.3643%; top: 1.8416%; width: 91.2713%; height: 96.3168%;
  overflow: hidden; border-radius: 12.5% / 5.75%; background: #0B0B11; z-index: 1; }
.device .stack > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; backface-visibility: hidden; will-change: transform, opacity; }
.js .stage .device .stack > * { opacity: 0; }
.js .stage .device .stack > :first-child { opacity: 1; }

/* Texte der Szenen liegen übereinander, das Skript blendet sie am Scrollrad */
.stage-texts { position: relative; height: 100%; }
.step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.js .step { opacity: 0; }
.js .step:first-of-type { opacity: 1; }
.step > * { will-change: transform; }
.step .kicker { color: #8FB8FF; font-size: 14px; letter-spacing: .1em; }
.app-plan .step .kicker { color: #B9A9FF; }
.step h3 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin-top: 12px; color: #f5f5f7; }
.step p { color: #a1a1a6; font-size: clamp(18px, 1.5vw, 21px); margin-top: 16px; max-width: 23em; }
.step .inline-shot { display: none; }
/* Ton-Auswahl, die mit dem Scrollrad wandert */
.tone-pills { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.tone-pills span { padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #a1a1a6;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.tone-pills span.on { background: #f5f5f7; color: #0B0B11; box-shadow: none; }
/* Hintergrund-Schrift, die hinter dem iPhone vorbeizieht */
.bg-type { position: absolute; left: 0; top: 50%; z-index: 1; display: flex; gap: .6em; white-space: nowrap; pointer-events: none;
  margin-top: -.55em; font: 500 clamp(80px, 15vh, 190px)/1.1 "Lora", Georgia, serif; letter-spacing: -.03em;
  color: rgba(255,255,255,.07); opacity: 0; will-change: transform, opacity; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .scrub .scrub-text { animation: txt-in linear both; animation-timeline: --scrub; animation-range: entry 20% entry 80%; }
  }
}
@keyframes txt-in { from { opacity: 0; translate: 0 44px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Scrub: das Video hängt am Scrollrad ---------- */
.scrub { position: relative; view-timeline: --scrub block; }
.scrub-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }
@supports (height: 100svh) { .scrub-pin { height: calc(100svh - var(--nav-h)); } }
.scrub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; width: 100%; height: 100%; }
.scrub-text h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, 5vw, 62px); line-height: 1.06; letter-spacing: -.025em; margin-top: 14px; }
.scrub-text > p:last-child { margin-top: 20px; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); max-width: 26em; }
.scrub-phone { height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 5vh 0; }
.scrub .device { --sh: .2; }
.scrub-track { height: 120vh; }

/* Aussage: Wörter leuchten nacheinander auf */
.js .statement .w { opacity: .16; }

/* ---------- Funktionen: jede in ihrem eigenen Abschnitt, hell und dunkel im Wechsel ---------- */
.feat { position: relative; }
.feat--dark { background: #0B0B11; color: #f5f5f7; }
.feat-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: clip; isolation: isolate; display: flex; }
@supports (height: 100svh) { .feat-pin { height: calc(100svh - var(--nav-h)); } }
.feat--dark .feat-pin { background: radial-gradient(90% 50% at 50% 0%, rgba(255,255,255,.06), transparent 62%),
  linear-gradient(180deg, #12121A 0%, #0B0B11 55%, #0D0D14 100%); }
.feat--light .feat-pin { background: var(--paper); }
.feat-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background: radial-gradient(32% 44% at var(--gx, 72%) 52%, var(--c, #2A62C8), transparent 70%); }
.feat--light .feat-glow { opacity: .28; }
.feat--left .feat-glow { --gx: 28%; }
.feat--center .feat-glow { --gx: 50%; }
.feat-grid { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat--left .feat-phone { order: -1; }
.feat-phone { height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 7vh 0; will-change: transform; }
.feat-text .kicker { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.feat--dark .feat-text .kicker { color: #8FB8FF; }
.feat--light .feat-text .kicker { color: var(--accent); }
.feat-text h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin-top: 12px; }
.feat-lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); max-width: 26em; }
.feat--dark .feat-lead { color: #a1a1a6; }
.feat--light .feat-lead { color: var(--muted); }
.feat--center .feat-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 2vh; text-align: center; padding-top: 6vh; }
.feat--center .feat-lead { margin-left: auto; margin-right: auto; }
.feat--center .feat-phone { padding: 0 0 4vh; }
.feat-track { height: 120vh; }
.feat .device .stack > :not(:first-child) { opacity: 0; }
.feat--light .device { --sh: .18; }
@media (prefers-reduced-motion: no-preference) { .js .feat-text { opacity: 0; } .js .feat-glow { opacity: 0; } }
/* Ton-Auswahl, die mit dem Scrollrad wandert */
.pick { display: grid; gap: 10px; margin-top: 28px; max-width: 30em; }
.pick > div { padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.pick b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pick span { display: block; margin-top: 4px; font-family: "Lora", Georgia, serif; font-size: clamp(17px, 1.6vw, 21px); }
.pick > div.on { box-shadow: inset 0 0 0 2px var(--accent), 0 12px 30px rgba(0,0,0,.06); transform: translateX(8px); }
.pick > div.on b { color: var(--accent); }

/* ---------- App-Seite: Zitat / Karten / CTA ---------- */
.quote { padding: 60px 0 90px; text-align: center; }
.quote blockquote { font-family: "Lora", Georgia, serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.22; max-width: 20em; margin: 0 auto; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 15px; color: var(--muted); font-weight: 500; }
.features { padding: 0 0 100px; }
.features h2.sec { margin-bottom: 32px; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: 0 0 0 1px var(--line); }
.card .dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 18px; }
.card h3 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: 24px; line-height: 1.2; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.closer { padding: 0 14px 14px; }
.closer .inner { border-radius: 28px; color: #f5f5f7; text-align: center; padding: 88px 24px;
  background: radial-gradient(80% 90% at 50% 0%, rgba(255,255,255,.07), transparent 65%), linear-gradient(180deg, #13131B, #0C0C12); }
.closer h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.closer p { color: var(--dark-muted); font-size: 19px; margin-top: 14px; }
.closer .btn { background: #f5f5f7; color: #0C0C12; margin-top: 28px; }
.closer p { color: #a1a1a6; }
.siblings { padding: 90px 0 100px; }
.siblings .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.siblings a.card { display: flex; gap: 18px; align-items: center; text-decoration: none; }
.siblings a.card:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.siblings img { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.siblings b { font-weight: 600; font-size: 18px; display: block; }
.siblings span { color: var(--muted); font-size: 15px; }

/* ---------- Text- und Rechtsseiten ---------- */
/* große Überschriften: nie mitten im Wort trennen, Zeilen ausgeglichen umbrechen */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
/* Rechtstexte mit langen Wörtern dürfen trennen */
.page h1, .page h2, .page h3, .legal { hyphens: auto; -webkit-hyphens: auto; }
.page { padding: 56px 0 100px; }
/* 404: Fußzeile steht unten, auch wenn die Seite kurz ist */
body.err { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.err main { flex: 1; display: flex; align-items: center; }
body.err main .wrap { width: 100%; }
.page .err-links { margin-top: 26px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 15px; }
.page .err-links a { color: var(--muted); }
.page .err-links a:hover { color: var(--ink); }
.page .wrap { max-width: 780px; }
.page h1 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(30px, 8.5vw, 52px); line-height: 1.1; letter-spacing: -.015em; margin: 14px 0 8px; }
.page .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.page h2 { font-size: 21px; font-weight: 600; margin: 40px 0 8px; letter-spacing: -.005em; }
.page h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
.page p, .page li { margin-top: 10px; }
.page ul { padding-left: 22px; }
.page a { color: var(--accent); }
body:not([class*="app-"]) .page a { color: var(--spark-text); }
.legal { font-size: 16px; }
.legal ul.index { columns: 2; column-gap: 32px; padding-left: 18px; }
.legal ul.index li { margin: 0 0 6px; break-inside: avoid; }
.legal ul.glossary li, .legal ul.m-elements li { color: var(--muted); }
.legal ul.glossary li strong, .legal ul.m-elements li strong { color: var(--ink); }
.legal .seal { margin-top: 40px; font-size: 13px; color: var(--muted); }
.legal a { overflow-wrap: anywhere; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 30px; }
.tabs a { font-size: 14px; text-decoration: none; padding: 7px 14px; border-radius: 999px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tabs a[aria-current] { background: var(--ink); color: var(--paper) !important; box-shadow: none; }
.page .tabs a:not([aria-current]) { color: var(--muted) !important; }
.list-links { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin-top: 24px; }
.list-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink) !important; font-weight: 500; }
.list-links a:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.list-links a span { color: var(--muted); font-weight: 400; font-size: 14px; }
.callout { background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--line); margin-top: 20px; }
.faq-group { margin-top: 44px; }
.faq-group h2 { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.faq-group h2 img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
details.q { background: var(--card); border-radius: 16px; padding: 16px 20px; margin-top: 10px; box-shadow: 0 0 0 1px var(--line); }
details.q summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
details.q[open] summary::after { transform: translateY(2px) rotate(-135deg); }
details.q summary:focus-visible { outline: 2px solid var(--spark-text); outline-offset: 4px; border-radius: 6px; }
details.q p { color: var(--muted); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 14px; color: var(--muted); margin-top: 0; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer.site h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 10px; }
footer.site ul { list-style: none; }
footer.site li { margin-top: 6px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .brand { color: var(--ink); }
footer.site .about { margin-top: 12px; max-width: 22em; }
footer.site .legalline { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; }

/* ---------- Produktvorstellung: Aussage, Karten, Nahaufnahmen ---------- */
.lead-sm { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 32em; margin-top: 10px; }
.eyebrow { font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.statement { padding: clamp(70px, 11vh, 130px) 0 clamp(60px, 9vh, 110px); }
.statement h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06; letter-spacing: -.025em; margin-top: 16px; }
.statement p { margin-top: 22px; font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 32em; }
.tones { padding: 0 0 clamp(60px, 9vh, 110px); }
.tones .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.tone { background: var(--card); border-radius: 24px; padding: 30px 28px 34px; box-shadow: 0 0 0 1px var(--line); }
.tone b { font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.tone q { display: block; margin-top: 16px; font-family: "Lora", Georgia, serif; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.3; }
.details { padding: 0 0 clamp(60px, 9vh, 110px); }
.details .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.shot-card { background: var(--card); border-radius: 28px; box-shadow: 0 0 0 1px var(--line); padding: 24px; margin: 0; }
.shot-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; }
.shot-card img { width: 100%; height: auto; display: block; border-radius: 18px; }
.shot-card figcaption { padding: 22px 6px 6px; }
.shot-card.wide figcaption { padding: 6px 12px 6px 0; }
.shot-card h3 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(21px, 2vw, 27px); line-height: 1.15; }
.shot-card p { color: var(--muted); margin-top: 10px; }
.authors { margin: 0 14px; border-radius: 28px; color: #f5f5f7; text-align: center; padding: clamp(70px, 10vh, 120px) 0;
  background: radial-gradient(70% 70% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%),
              linear-gradient(180deg, #13131B, #0B0B11 60%, #0E0E16); }
.authors h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.authors .names { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; margin-top: 34px;
  font-family: "Lora", Georgia, serif; font-size: clamp(20px, 2.4vw, 31px); color: #b8b8c2; }
.authors blockquote { margin: clamp(44px, 6vh, 70px) auto 0; max-width: 19em; font-family: "Lora", Georgia, serif;
  font-size: clamp(22px, 2.3vw, 31px); line-height: 1.25; }
.authors cite { display: block; margin-top: 16px; font-style: normal; font-size: 15px; color: #a1a1a6; font-family: "Inter", sans-serif; }
.privacy { margin: 0 14px; border-radius: 28px; padding: clamp(66px, 9vh, 110px) 0;
  background: radial-gradient(70% 90% at 18% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--card);
  box-shadow: 0 0 0 1px var(--line); }
.privacy h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.privacy > .wrap > p { margin-top: 16px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; }
.privacy .facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.privacy .fact { background: var(--paper); border-radius: 999px; padding: 9px 18px; font-weight: 500; font-size: 15.5px; box-shadow: 0 0 0 1px var(--line); }
.privacy .more { margin-top: 26px; }
.specs { padding: clamp(50px, 7vh, 80px) 0 clamp(70px, 10vh, 110px); }
.specs .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.specs b { display: block; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.specs span { display: block; margin-top: 7px; font-size: 16.5px; }

/* ---------- Bewegung ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; }
  .stage-glow { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
    .home-hero { padding: 64px 0 48px; }
  .tile { min-height: 520px; }
  .tile .phones > img { width: clamp(190px, 30vh, 250px); }
  .tile .phones .side { display: none; }
  .family ol, .features .grid, .siblings .row { grid-template-columns: 1fr; }
  /* schmale Geräte: dieselbe Sequenz, iPhone oben, Text darunter, beides steht */
  .stage-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 0; }
  .stage-phone { padding: 2.5vh 0 1.5vh; min-height: 0; }
  .stage-texts { height: clamp(190px, 32vh, 270px); text-align: center; }
  .step { justify-content: flex-start; align-items: center; padding-top: 1.2vh; }
  .step h3 { font-size: clamp(26px, 7.4vw, 36px); margin-top: 8px; }
  .step p { font-size: clamp(15px, 4.2vw, 17px); margin-top: 10px; max-width: 26em; }
  .tone-pills { justify-content: center; margin-top: 14px; }
  .tone-pills span { font-size: 13.5px; padding: 6px 12px; }
  .bg-type { top: 30%; font-size: clamp(56px, 10vh, 96px); }
  .stage-glow i { background: radial-gradient(60% 34% at 50% 34%, var(--c, var(--sg, #2A62C8)), transparent 70%); }
  .intro { padding-top: clamp(20px, 4.5vh, 48px); }
  .intro h1 { font-size: clamp(34px, min(10vw, 6.4vh), 52px); }
  .intro .lead { font-size: clamp(15px, min(4vw, 2.2vh), 18px); }
  .scrub-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 2vh; text-align: center; padding-top: 4vh; }
  .feat-grid, .feat--center .feat-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 1.5vh; text-align: center; padding-top: 3.5vh; }
  .feat--left .feat-phone { order: 0; }
  .feat-text h2 { font-size: clamp(28px, 7.6vw, 38px); margin-top: 8px; }
  .feat-lead { font-size: 15.5px; margin: 10px auto 0; }
  .feat-phone { padding: 0 0 3vh; }
  .feat-glow { --gx: 50% !important; }
  .pick { grid-auto-flow: column; justify-content: center; margin: 14px auto 0; gap: 6px; }
  .pick > div { padding: 7px 12px; border-radius: 999px; }
  .pick b { font-size: 12px; }
  .pick span { display: none; }
  .pick > div.on { transform: none; }
  .scrub-text h2 { font-size: clamp(30px, 8vw, 42px); }
  .scrub-text > p:last-child { margin: 12px auto 0; font-size: 16px; }
  .scrub-phone { padding: 0 0 3vh; }
  .tones .grid, .details .grid, .specs .row { grid-template-columns: 1fr; }
  .shot-card.wide { grid-template-columns: 1fr; gap: 0; }
  .shot-card.wide figcaption { padding: 22px 6px 6px; }
  .authors, .privacy { margin: 0 8px; }
  .privacy .fact { font-size: 15px; }
  .step p { margin-left: auto; margin-right: auto; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > div:first-child { grid-column: 1 / -1; }
  .legal ul.index { columns: 1; }
}

/* ohne JavaScript: Einstieg oben, darunter alle Szenen mit Bild, nichts festgepinnt */
html:not(.js) .stage-pin { position: static; height: auto; overflow: visible; }
html:not(.js) .intro { position: static; padding-bottom: 8vh; background: var(--paper); }
html:not(.js) .stage-dark, html:not(.js) .stage-glow, html:not(.js) .stage-phone, html:not(.js) .stage-track { display: none; }
html:not(.js) .stage-grid { display: block; height: auto; background: #0B0B11; }
html:not(.js) .stage-texts { height: auto; padding: 6vh 0 8vh; }
html:not(.js) .step { position: static; padding: 5vh 0; }
html:not(.js) .step .inline-shot { display: block; width: min(240px, 60vw); height: auto; margin: 0 0 28px; }
html:not(.js) .scrub-pin { position: static; height: auto; padding: 9vh 0; }
html:not(.js) .scrub-track { display: none; }
html:not(.js) .feat-pin { position: static; height: auto; padding: 8vh 0; }
html:not(.js) .feat-track { display: none; }
html:not(.js) .feat-phone { height: 70vh; }

/* ---------- Fließende Seitenfarbe: Abschnitte ohne eigene Fläche, die Seite färbt sich um ---------- */
.tone-js .feat--dark, .tone-js .feat-pin, .tone-js .feat--dark .feat-pin { background: transparent; }
/* ruhige Abschnitte (Todai Plan): Text und iPhone, nichts rastet ein */
.feat[data-static] .feat-track { display: none; }
/* längere Wege für die Spark-Abschnitte mit mehreren Bewegungen */
.app-spark .feat-track { height: var(--t, 130vh); }
.feat[data-enter="headline"] .feat-text h2 { transform-origin: 50% 0; will-change: transform; }
/* Themen, die um das iPhone auftauchen */
.chips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.chips span { position: absolute; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap;
  color: #f5f5f7; background: rgba(40,40,52,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: no-preference) { .js .chips span { opacity: 0; } }
.chips span:nth-child(1) { right: 92%; top: 16%; }
.chips span:nth-child(2) { left: 94%; top: 27%; }
.chips span:nth-child(3) { right: 96%; top: 43%; }
.chips span:nth-child(4) { left: 90%; top: 56%; }
.chips span:nth-child(5) { right: 90%; top: 70%; }
.chips span:nth-child(6) { left: 95%; top: 82%; }
/* Autorennamen gut sichtbar hinter dem iPhone */
.app-spark .bg-type { color: rgba(255,255,255,.13); }

@media (max-width: 820px) {
  .app-spark .feat-track { height: calc(var(--t, 130vh) * 1.35); }
  .chips span { font-size: 13px; padding: 7px 12px; }
  .chips span:nth-child(odd) { right: auto; left: -2%; }
  .chips span:nth-child(even) { left: auto; right: -2%; }
  /* Ton-Auswahl: Stile als Pillen, darunter gut lesbar der Satz im gewählten Ton */
  .pick { display: grid; grid-template-columns: repeat(3, auto); grid-auto-flow: row; justify-content: center; gap: 6px; margin: 16px auto 0; max-width: none; }
  .pick > div { display: contents; }
  .pick b { grid-row: 1; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card);
    transition: box-shadow .3s ease, color .3s ease; }
  .pick > div.on b { box-shadow: inset 0 0 0 2px var(--accent); }
  .pick span { display: block; grid-row: 2; grid-column: 1 / -1; margin-top: 10px; text-align: center; font-size: 19px; line-height: 1.3;
    opacity: 0; transition: opacity .35s ease; min-height: 2.6em; }
  .pick > div.on span { opacity: 1; }
  /* ruhige Abschnitte auf dem iPhone: Text, darunter ein großes iPhone, normal weiterscrollen */
  .feat[data-static] .feat-pin { position: relative; top: auto; height: auto; padding: 7vh 0 5vh; }
  .feat[data-static] .feat-grid { height: auto; }
  .feat[data-static] .feat-phone { height: min(74svh, 640px); padding: 0; }
}
/* Navigation passt sich an, wenn die Seite dunkel ist */
.nav-dark header.nav { --paper: #0B0B11; --ink: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.1); color: var(--ink); transition: background-color .3s ease, border-color .2s; }
/* Autorennamen laufen unter dem Text durch, nicht durch die Überschrift */
.app-spark .bg-type { top: 84%; }
@media (max-width: 820px) { .app-spark .bg-type { top: 90%; font-size: clamp(48px, 8vh, 80px); } }
.tone-js .stage { background: transparent; }
.tone-js .stage-pin { background: transparent; }
.tone-js .stage-texts, .tone-js .stage-glow { filter: opacity(var(--exit, 1)); }
/* beim Übergang übernimmt die Seitenfarbe das Dunkel der Bühne */
.tone-js .stage-dark { opacity: var(--exitd, 1); }
.tone-anim .tone-layer { transition: opacity .6s ease; }
@media (max-width: 380px) { .chips span { font-size: 10.5px; padding: 5px 9px; } }
/* niedrige Fenster: Ton-Karten kompakter, damit alle drei Platz haben */
@media (min-width: 821px) and (max-height: 640px) {
  .pick { gap: 6px; margin-top: 16px; }
  .pick > div { padding: 8px 14px; border-radius: 12px; }
  .pick b { font-size: 11.5px; }
  .pick span { font-size: 15px; margin-top: 2px; }
  .feat-lead { margin-top: 12px; font-size: 16px; }
}
/* Themen-Pillen wachsen proportional zum iPhone, egal wie groß es gerade ist */
.feat .device { container-type: inline-size; }
.chips span, .chips span:is(*) { font-size: clamp(8px, 4.6cqi, 15px); padding: .55em 1.05em; }
.chips span, .chips span:is(*) { font-size: clamp(10px, 6.2cqi, 15px); }
@media (max-width: 820px) { .chips span, .chips span:is(*) { font-size: clamp(5px, 3.9cqi, 13px); } }

/* Seitenfarbe: feste Ebene, deren Deckkraft sich ändert */
.tone-layer { position: fixed; inset: 0; z-index: -1; background: #0B0B11; opacity: 0; pointer-events: none; will-change: opacity; }
/* Schatten des iPhones als einfache Fläche statt teurem Filter, damit Scrollen in Safari flüssig bleibt */
.device::before { content: ""; position: absolute; left: 3%; right: 3%; top: 2%; bottom: 1%; border-radius: 15% / 7.5%; pointer-events: none;
  box-shadow: 0 34px 70px rgba(0,0,0,var(--sh, .45)); opacity: var(--exit, 1); }
/* Abschnitte schneiden nur seitlich ab: Schatten und iPhone laufen unten weich in den nächsten Abschnitt */
.tone-js .feat-pin { overflow: clip visible; }
.tone-js .feat-pin { overflow-clip-margin: 0; }

/* ---------- Fakten: große Zeilen, die beim Scrollen aufleuchten ---------- */
.facts { color: #f5f5f7; padding: 22vh 0 26vh; }
.facts .fact-group + .fact-group { margin-top: 9vh; }
.facts .kicker { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #8FB8FF; margin-bottom: 3vh; }
.fl { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(40px, 6.4vw, 92px); line-height: 1.08; letter-spacing: -.025em;
  padding: 1.6vh 0; will-change: opacity; }
.fl small { display: block; font-family: "Inter", system-ui, sans-serif; font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600; color: #a1a1a6; margin-bottom: .5vh; }
.js .fl { opacity: .16; }
@media (prefers-reduced-motion: reduce) { .js .fl { opacity: 1; } }
html:not(.tone-js) .facts { background: #0B0B11; }
@media (max-width: 820px) {
  .facts { padding: 16vh 0 20vh; }
  .fl { font-size: clamp(32px, 9.4vw, 46px); padding: 1.4vh 0; }
}
.tone-js .facts ~ .closer .inner { box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.feat[data-swipe] .device .stack { background: #fff; }
/* Auf einen Blick: Karten statt Zeilen, damit sich die beiden Blöcke klar unterscheiden */
.fc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1vh; }
.fc { padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); will-change: transform, opacity; }
.fc small { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #a1a1a6; }
.fc span { display: block; margin-top: 12px; font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -.015em; }
@media (prefers-reduced-motion: no-preference) { .js .fc { opacity: 0; } }
@media (max-width: 820px) { .fc-grid { grid-template-columns: 1fr; gap: 12px; } .fc { border-radius: 22px; } }
.app-spark .feat-track { height: 60vh; }

/* ---------- Spark: große Schrift hinter dem iPhone, das sich in 3D aufrichtet ---------- */
.bt-type { position: absolute; inset: 0 0 10% 0; z-index: 1; display: flex; align-items: center; justify-content: center; white-space: nowrap; pointer-events: none;
  will-change: transform, opacity; }
.bt-type span { font: 500 clamp(120px, 25vw, 420px)/1 "Lora", Georgia, serif; letter-spacing: -.045em; padding: 0 .05em .12em;
  background: linear-gradient(100deg, var(--ink) 20%, var(--spark) 55%, #8C4A86 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:not(.js) .bt-type { display: none; }
/* ---------- iPhone 17 Pro: offizieller Rahmen, Display exakt 1206 × 2622 wie die Aufnahmen, echter Schatten ---------- */
.device.p17 { aspect-ratio: 1318 / 2717; }
.device.p17::before { display: none; }
/* Display: die genaue Form schneidet der Rahmen aus (gleichmäßiger Innenrand); die Rundung hier liegt
   knapp außerhalb davon, unter dem schwarzen Rand, damit nichts über das Gerät hinausragt */
.p17 .stack, .p17 .screen-dim { left: 4.0212%; top: 1.6194%; width: 92.0334%; height: 96.7611%; border-radius: 15.66% / 7.23%; }
.p17 .stack { background: #000; }
.p17 .device-frame { z-index: 3; }
.p17 .dev-shadow { position: absolute; left: -2.58%; top: -.957%; width: 130.58%; height: 114.58%; max-width: none; z-index: 0;
  pointer-events: none; will-change: opacity; }
/* auf dunklen Flächen fällt kaum Schatten auf, dafür ein feiner Lichtsaum um das Gerät */
.feat--dark .p17 .dev-shadow, .stage .p17 .dev-shadow { opacity: .55; }
/* Zoom-out: Drehpunkt liegt auf dem Satz im Display */
.rise { will-change: transform; transform: scale(2.15); transform-origin: 50% 36%; }
@media (max-width: 820px) { .rise { transform: scale(1.55); } }
@media (prefers-reduced-motion: reduce) { .rise { transform: none; } }
html:not(.js) .rise { transform: none; }
@media (max-width: 820px) { .bt-type { inset: 18% 0 0 0; } .bt-type span { font-size: 30vw; } }

/* ---------- Spark: Mitteilung schwebt aus dem iPhone nach vorn ---------- */
.device .pop { position: absolute; z-index: 5; left: 7.15%; top: 75.46%; width: 85.77%; height: auto; opacity: 0;
  border-radius: 6.4% / 30.4%; pointer-events: none; will-change: transform, opacity; transform-origin: 50% 60%; }
.device .screen-dim { position: absolute; left: 4.2489%; top: 1.7299%; width: 91.5023%; height: 96.5035%; border-radius: 13.267% / 6.102%;
  background: #000; opacity: 0; z-index: 2; pointer-events: none; }

/* ---------- Spark: Schluss, „Morgen.“ als Fenster in den Morgenhimmel ---------- */
.morgen { position: relative; color: #f5f5f7; }
.mg-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: clip; isolation: isolate; background: #0B0B11; }
@supports (height: 100svh) { .mg-pin { height: calc(100svh - var(--nav-h)); } }
.mg-track { height: 140vh; }
/* Morgenhimmel: ersetzt später ein Foto (assets/img/spark-morgen.webp), siehe --morgen-bild */
.mg-img { position: absolute; inset: -4%; z-index: 0; will-change: transform; --morgen-bild: url("img/spark-morgen.webp"); transform-origin: 50% 8%;
  background: var(--morgen-bild, none) center / cover no-repeat,
    radial-gradient(42% 30% at 50% 88%, rgba(255,214,150,.95), rgba(255,170,110,.55) 45%, transparent 75%),
    radial-gradient(80% 50% at 50% 100%, #f39a5a, transparent 70%),
    linear-gradient(180deg, #0c1230 0%, #23285e 30%, #5a3f86 52%, #c2607a 72%, #f0935a 90%, #ffc27a 100%); }
.mg-mask { position: absolute; inset: 0; z-index: 1; background: #0B0B11; mix-blend-mode: multiply;
  display: flex; align-items: center; justify-content: center; will-change: opacity; }
.mg-mask span { color: #fff; font: 600 clamp(110px, 24vw, 400px)/1 "Lora", Georgia, serif; letter-spacing: -.04em; white-space: nowrap;
  transform-origin: 50% 55%; will-change: transform; }
.mg-end { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px 12vh; }
/* Text unten über den dunklen Bergen, darüber ein weicher Schatten für die Lesbarkeit */
.mg-end { justify-content: flex-end; padding-bottom: 11vh;
  background: linear-gradient(180deg, transparent 45%, rgba(12,6,4,.55) 100%); }
@media (max-width: 820px) { .mg-img { --morgen-bild: url("img/spark-morgen-hoch.webp"); } }
.mg-end h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(10,12,40,.35); }
.mg-end p { margin-top: 14px; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.86); }
.mg-end .btn { margin-top: 28px; background: #f5f5f7; color: #0C0C12; }
.js .mg-end { opacity: 0; }
html:not(.js) .mg-pin { position: static; height: 80vh; }
html:not(.js) .mg-track, html:not(.js) .mg-mask { display: none; }
@media (prefers-reduced-motion: reduce) { .mg-mask { display: none; } .js .mg-end { opacity: 1; } }
/* Überschriften liegen vor dem wandernden iPhone (auf schmalen Geräten bleibt das iPhone vorn) */
@media (min-width: 821px) { .app-spark .feat--center .feat-text { position: relative; z-index: 3; } }

/* Leuchtflächen und große Schrift als eigene Ebenen: Deckkraft und Lage ändern sich ohne Neuzeichnen */
.feat-glow, .stage-glow i, .bg-type, .bt-type { will-change: opacity, transform; }
/* Ende der Bühne: das iPhone blendet mit dem Dunkel aus, statt als Block nach oben wegzuschieben */
.tone-js .stage-phone { opacity: var(--exit, 1); }
/* Mitteilung: Sperrbildschirm ohne Banner liegt unter der schwebenden Kopie, damit nichts doppelt erscheint */
.device .pop-patch { position: absolute; z-index: 2; left: 5.471%; top: 74.65%; width: 89.13%; height: auto; opacity: 0; pointer-events: none; }
.facts { position: relative; isolation: isolate; }

/* ---------- Spark-Opener: Flug in den Sonnenaufgang ---------- */
.opener { position: relative; }
.op-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; isolation: isolate; background: #1a1410; }
@supports (height: 100svh) { .op-pin { height: calc(100svh - var(--nav-h)); } }
.op-track { height: 130vh; }
.op-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 69% 33%; } /* ohne will-change: Safari friert das Bild sonst ein und tauscht es beim Vergrößern sichtbar aus */
@media (max-width: 820px) { .op-img { object-position: 59.5% 33%; } }
/* oben etwas dunkler, damit die Schrift auf dem hellen Himmel lesbar bleibt */
.op-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,14,30,.55) 0%, rgba(10,14,30,.18) 38%, transparent 60%); }
.op-sun { position: absolute; left: 0; top: 0; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle, #fffaf0 0%, rgba(255,240,205,.95) 14%, rgba(255,214,150,.6) 32%, rgba(255,180,100,.22) 52%, transparent 70%);
  mix-blend-mode: screen; transform: translate(-1000px, -1000px); }
.op-fill { position: absolute; inset: 0; background: var(--paper); opacity: 0; pointer-events: none; }
.op-text { position: absolute; left: 0; right: 0; top: clamp(40px, 11vh, 120px); text-align: center; color: #fff; padding: 0 24px; will-change: transform, opacity; }
.op-kicker { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.op-line { margin-top: 14px; font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, 5.4vw, 76px); line-height: 1.06; letter-spacing: -.02em;
  text-shadow: 0 2px 40px rgba(10,14,30,.35); text-wrap: balance; }
.op-hint { position: absolute; left: 50%; bottom: 5vh; width: 26px; height: 42px; margin-left: -13px; border-radius: 13px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.op-hint i { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: op-wheel 1.8s ease-in-out infinite; }
@keyframes op-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .op-hint i { animation: none; } }
html:not(.js) .op-pin { position: relative; } html:not(.js) .op-track { display: none; }

/* ---------- Spark-Finale: fünf iPhones in einer Reihe ---------- */
.lineup { position: relative; color: #f5f5f7; }
.lu-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: clip; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5vh; }
@supports (height: 100svh) { .lu-pin { height: calc(100svh - var(--nav-h)); } }
.lu-track { height: 150vh; }
.lu-row { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.2vw, 36px); height: 56vh; }
.lu-row .device { height: 100%; will-change: transform, opacity; }
.lu-row .device:nth-child(2), .lu-row .device:nth-child(4) { height: 92%; }
.lu-row .device:nth-child(1), .lu-row .device:nth-child(5) { height: 84%; }
.lu-title { text-align: center; padding: 0 24px; will-change: transform, opacity; }
.lu-title .kicker { color: #8FB8FF; font-size: 14px; letter-spacing: .1em; }
.lu-title h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; }
.js .lu-title { opacity: 0; }
@media (max-width: 820px) {
  .lu-row { height: 30vh; gap: 10px; } .lu-row .device:nth-child(1), .lu-row .device:nth-child(5) { display: none; }
}
html:not(.js) .lu-pin { position: relative; height: auto; padding: 10vh 0; } html:not(.js) .lu-track { display: none; }

/* ---------- Lichtschein hinter dem iPhone folgt der Maus (Werte --mx/--my kommen aus dem Skript) ---------- */
.feat--dark .feat-glow { translate: calc(var(--mx, 0) * 70px) calc(var(--my, 0) * 45px); }

/* ---------- Übergaben: feste Ebene für das wandernde iPhone (scrollt nicht mit) ---------- */
.shuttle { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.shuttle .device { max-width: none; container-type: inline-size; will-change: translate, scale, transform; }
.shuttle .device.in-dark .dev-shadow { opacity: .55; }
/* Lichtreflex, der beim Bildschirmwechsel über das Glas streicht */
.glare { position: absolute; z-index: 2; left: 4.0212%; top: 1.6194%; width: 92.0334%; height: 96.7611%; border-radius: 15.66% / 7.23%;
  overflow: hidden; pointer-events: none; opacity: 0; }
.glare i { position: absolute; top: -10%; left: 0; width: 55%; height: 120%; will-change: transform;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.75) 50%, rgba(255,255,255,.18) 70%, transparent 100%); }

/* ---------- helle Bühne: nach dem Flug in die Sonne geht es im Licht weiter ---------- */
.app-spark .stage .step .kicker { color: var(--accent); }
.app-spark .stage .step h3 { color: var(--ink); }
.app-spark .stage .step p { color: var(--muted); }
.app-spark .stage .bg-type { color: color-mix(in srgb, var(--ink) 8%, transparent); }
.app-spark .stage-glow { opacity: .3 !important; }
/* Übergabe: vom alten Gerät bleibt nur der Bildschirm sichtbar */
.device.ghost > .device-frame, .device.ghost > .dev-shadow { visibility: hidden; }
/* Opener -> Bühne: das Sonnenlicht geht in einen warmen Schein über statt in Grau oder Dunkel */
.op-fill { background: radial-gradient(70% 60% at 50% 30%, #fff7e6 0%, color-mix(in srgb, #ffe8c2 55%, var(--paper)) 45%, var(--paper) 100%); }
.app-spark .stage-pin::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--sun, 0);
  background: radial-gradient(70% 60% at 50% 30%, #fff7e6 0%, color-mix(in srgb, #ffe8c2 55%, var(--paper)) 45%, var(--paper) 100%); }
@media (prefers-color-scheme: dark) {
  /* auch im Dunkeln: der Blick in die Sonne wird gleichmäßig hell, danach blendet das Licht ins Dunkel aus */
  .op-fill { background: radial-gradient(130% 110% at 50% 35%, #fff7ea 0%, #ffecd0 55%, #f6dcb4 100%); }
  .app-spark .stage-pin::before { background: radial-gradient(90% 70% at 50% 25%, rgba(255,210,150,.16) 0%, rgba(255,190,120,.06) 45%, transparent 75%); }
}
.shuttle { overflow: hidden; }
/* breiter, weicher Lichtkegel für den ruhigen Übergang */
.glare.wide i { width: 120%; left: -10%; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 25%, rgba(255,255,255,.8) 50%, rgba(255,255,255,.2) 75%, transparent 100%); }
/* Opener überlappt die Bühne: in den letzten 60vh liegt die Bühne schon eingerastet darunter */
.opener { position: relative; z-index: 5; margin-bottom: calc(var(--nav-h) - 160vh); }
.op-track { height: 150vh; }
.app-spark .stage-track { padding-top: 60vh; }
html:not(.js) .opener { margin-bottom: 0; }
/* Auftritt beim Laden: das Bild kommt aus dem Dunkel, die Zeile steigt aus der Unschärfe */
@media (prefers-reduced-motion: no-preference) {
  .js .op-img { animation: op-in 2.2s cubic-bezier(.2,.7,.2,1) both; }
  .js .op-text > * { animation: op-text 1.6s cubic-bezier(.2,.7,.2,1) .5s both; }
  .js .op-text > :nth-child(2) { animation-delay: .75s; }
  .app-spark .js .intro > *, .js .app-spark .intro > * { animation: none; }
}
@keyframes op-in { from { opacity: 0; filter: brightness(.4); } to { opacity: 1; filter: none; } }
@keyframes op-text { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } } /* ohne Unschärfe: Safari zeichnet sonst kurz ein graues Rechteck */
/* Dynamic Island (Lage aus der Simulator-Aufnahme) */
.p17 .island { position: absolute; z-index: 2; left: 35.69%; top: 3.003%; width: 28.70%; height: 4.07%; border-radius: 999px; background: #000; pointer-events: none; }
/* Todai-Familie am Seitenende: ruhige Karten, nichts sticht hervor */
.app-spark .siblings a.card { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent); }
.app-spark .siblings a.card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
/* „Jeden Morgen“: der Abschnitt schneidet dauerhaft ab (nicht erst nach dem Zoom umschalten – sonst tauchen Schatten und Schein plötzlich auf) */
.app-spark .feat-pin:has(.rise) { overflow: clip; }
@media (prefers-reduced-motion: reduce) { .bt-type { display: none; } }
/* iPhone-Größe: kein Platz neben dem Gerät; die App zeigt die Themen ohnehin selbst */
@media (max-width: 820px) { .chips { display: none; } }
/* Bühne schneidet nur seitlich ab: Schatten und Schein des iPhones laufen unten weich in den nächsten Abschnitt aus */
.tone-js.app-spark .stage-pin, .tone-js .app-spark .stage-pin { overflow: clip visible; overflow-clip-margin: 0; }
/* Übergabe: der Behälter darf das festgepinnte iPhone nicht verschieben oder einschließen */
.feat-phone.handing { transform: none !important; will-change: auto !important; opacity: 1 !important; }

/* ---------- schmale Displays ---------- */
/* Wege in der kleinsten sichtbaren Höhe (svh), passend zum Skript: die Adressleiste auf dem iPhone verschiebt nichts */
@supports (height: 100svh) {
  .opener { margin-bottom: calc(var(--nav-h) - 160svh); }
  .op-track { height: 150svh; }
  .app-spark .stage-track { padding-top: 60svh; }
  .lu-track { height: 150svh; } .mg-track { height: 140svh; }
}
/* niedrige iPhones (z. B. SE): Erklärtexte weglassen, damit das iPhone groß genug bleibt */
@media (max-width: 820px) and (max-height: 760px) {
  .app-spark .feat-lead { display: none; }
  .app-spark .feat-text h2 { font-size: clamp(24px, 7vw, 30px); }
  .app-spark .pick span { font-size: 16px; min-height: 2.4em; }
  .op-line { font-size: clamp(30px, 9vw, 40px); }
}
/* auf Touch-Geräten keine Hover-Hervorhebung, die beim Tippen hängen bleibt */
@media (hover: none) { .app-spark .siblings a.card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent); } }

/* ---------- Schmale Displays: ein iPhone, das bleibt (statt der Funktionsabschnitte) ---------- */
.mstory { display: none; }
@media (max-width: 820px) {
  .app-spark .feat { display: none; }
  .mstory { display: block; position: relative; --dk: 0;
    color: color-mix(in srgb, #f5f5f7 calc(var(--dk) * 100%), var(--ink)); }
  .ms-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: clip;
    display: flex; flex-direction: column; align-items: center; padding: 2.4svh 20px 1.4svh; isolation: isolate; }
  /* Untertitel: alle liegen übereinander, der Platz richtet sich nach dem längsten */
  .ms-caps { display: grid; width: 100%; max-width: 30em; flex: none; text-align: center; position: relative; z-index: 2; }
  .ms-cap { grid-area: 1 / 1; opacity: 0; will-change: transform, opacity; }
  .ms-cap .kicker { font-size: 12.5px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase;
    color: color-mix(in srgb, #8FB8FF calc(var(--dk) * 100%), var(--accent)); }
  .ms-cap h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(25px, 7.2vw, 32px); line-height: 1.08; letter-spacing: -.015em; margin-top: 5px; text-wrap: balance; }
  .ms-lead { margin: 8px auto 0; max-width: 26em; font-size: clamp(13.5px, 3.7vw, 15px); line-height: 1.42; text-wrap: pretty;
    color: color-mix(in srgb, #a1a1a6 calc(var(--dk) * 100%), var(--muted)); }
  .ms-phone { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; padding: 1.8svh 0 1.2svh; position: relative; z-index: 1; }
  .ms-phone .device { height: 100%; will-change: transform; transform-origin: 50% 50%; }
  .ms-phone .device .stack > * { opacity: 0; }
  .ms-phone .device .stack > :first-child { opacity: 1; }
  /* Details unter dem iPhone */
  .ms-det { flex: none; position: relative; width: 100%; height: 62px; z-index: 2; }
  .ms-d { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; }
  .ms-authors { overflow: hidden; justify-content: center; }
  .ms-authors span { white-space: nowrap; font: 500 clamp(26px, 8vw, 34px)/1 "Lora", Georgia, serif; color: rgba(255,255,255,.22); will-change: transform; }
  .ms-pills { display: flex; gap: 6px; }
  .ms-pills b { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); color: var(--muted); transition: box-shadow .3s, color .3s; }
  .ms-pills b.on { box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent); }
  .ms-tone p { display: grid; margin-top: 7px; width: 100%; text-align: center; font-family: "Lora", Georgia, serif; font-size: 14.5px; }
  .ms-tone p span { grid-area: 1 / 1; transition: opacity .35s; }
  .ms-chips { flex-direction: row; flex-wrap: wrap; gap: 6px; align-content: center; }
  .ms-chips span { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #f5f5f7;
    background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
  /* großer Schriftzug hinter dem iPhone */
  .ms-big { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; opacity: 0; will-change: transform, opacity; }
  .ms-big span { font: 500 34vw/.92 "Lora", Georgia, serif; letter-spacing: -.045em;
    background: linear-gradient(100deg, var(--ink) 15%, var(--spark) 60%, #8C4A86 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  /* schwebende Mitteilung */
  .ms-pop { position: absolute; left: 0; top: 0; z-index: 6; height: auto; opacity: 0; transform-origin: 0 0; border-radius: 6.4% / 30.4%; pointer-events: none; will-change: transform, opacity; }
  .ms-phone .glare { z-index: 4; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .ms-cap h2 { font-size: 24px; }
  .ms-lead { font-size: 13px; line-height: 1.36; }
  .ms-det { height: 54px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .ms-big { display: none; } }
html:not(.js) .mstory { display: none; }
@media (max-width: 820px) { html:not(.js) .app-spark .feat { display: block; } }
/* schmal: Themen-Blasen rund um das feste iPhone, abwechselnd links und rechts, nur leicht über dem Rahmen */
@media (max-width: 820px) {
  .ms-phone .chips { display: block; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; }
  .ms-phone .chips span { position: absolute; font-size: 12px; padding: 6px 11px; white-space: nowrap; opacity: 0;
    color: #f5f5f7; background: rgba(40,40,52,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 8px 24px rgba(0,0,0,.35); border-radius: 999px; }
  .ms-phone .chips span:nth-child(odd) { left: auto; right: 93%; }
  .ms-phone .chips span:nth-child(even) { right: auto; left: 93%; }
  .ms-phone .chips span:nth-child(1) { top: 14%; } .ms-phone .chips span:nth-child(2) { top: 26%; }
  .ms-phone .chips span:nth-child(3) { top: 41%; } .ms-phone .chips span:nth-child(4) { top: 54%; }
  .ms-phone .chips span:nth-child(5) { top: 68%; } .ms-phone .chips span:nth-child(6) { top: 81%; }
}

/* schmal: keine großen leeren Strecken */
@media (max-width: 820px) {
  .op-track { height: 105svh; } /* Versatz zur Bühne bleibt nav − 160svh: dann rastet der Einstieg genau ein, wenn das Licht ausblendet */
  .statement { padding: 6svh 0 4svh; }
  .facts { padding: 10svh 0 6svh; }
  .facts .fact-group + .fact-group { margin-top: 6svh; }
}
/* Übergabe: Safari schneidet festgepinnte iPhones sonst am Rand des Abschnitts ab */
.app-spark .feat-pin.handing-pin, .tone-js .app-spark .feat-pin.handing-pin { overflow: visible !important; }

/* ---------- Ganze Displayhöhe: eingerastete Szenen reichen bis an den unteren Rand ----------
   Klappt Safari beim Scrollen die Leisten ein, wird das Fenster größer (lvh statt svh). Die Fläche der Szene
   wächst mit (Bild, Hintergrund, auftauchendes iPhone), der Inhalt bleibt in der kleinsten sichtbaren Höhe,
   damit ihn die ausgeklappte Leiste nie verdeckt. Ohne Leisten (Desktop) ist der Zuschlag 0. */
:root { --lvg: 0px; }
@supports (height: 100lvh) {
  :root { --lvg: calc(100lvh - 100svh); }
  .js .op-pin, .js .app-spark .stage-pin, .js .lu-pin, .js .mg-pin { height: calc(100lvh - var(--nav-h)); padding-bottom: var(--lvg); }
  .js .opener { margin-bottom: calc(var(--nav-h) - 160svh - var(--lvg)); }
  .mg-mask { padding-bottom: var(--lvg); }
  .mg-end { padding-bottom: calc(11vh + var(--lvg)); }
  @media (max-width: 820px) {
    .js .ms-pin { height: calc(100lvh - var(--nav-h)); padding-bottom: calc(1.4svh + var(--lvg)); }
    .ms-big { padding-bottom: var(--lvg); }
  }
}

/* Themen-Blasen ohne Hintergrund-Unschärfe: sechs unscharfe Flächen über dem laufenden Video bremsen Safari beim Scrollen */
@media (max-width: 820px) {
  .ms-phone .chips span { background: rgba(40,40,52,.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Fakten: eine eingerastete Szene; erst leuchten die Zeilen nacheinander auf, dann kommen die Karten einzeln ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .facts { padding: 0; height: calc(100vh - var(--nav-h) + 230vh); }
  .js .fx-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; }
  .js .fx-pin > .wrap { width: 100%; }
  .js .fx-stack { display: grid; }
  .js .fx-stack > .fact-group { grid-area: 1 / 1; align-self: center; will-change: opacity, transform; }
  .js .facts .fact-group + .fact-group { margin-top: 0; }
  .js .fact-cards { opacity: 0; visibility: hidden; }
  @supports (height: 100svh) {
    .js .facts { height: calc(100svh - var(--nav-h) + 230svh); }
    .js .fx-pin { height: calc(100svh - var(--nav-h)); }
  }
  /* Übergänge ohne leere Strecken: die Nachbarn schieben sich heran, während der vorige Inhalt ausblendet */
  .js .lineup + .facts { margin-top: -25vh; margin-top: -25svh; }
  .js .facts + .morgen { margin-top: -40vh; margin-top: -40svh; }
  .js .fl { will-change: opacity, transform; }
  @media (max-width: 820px) {
    /* Karten etwas kompakter, damit alle vier auch auf kleinen iPhones ganz zu sehen sind */
    .js .fc-grid { gap: 10px; }
    .js .fc { padding: 18px 20px; }
    .js .fc span { margin-top: 6px; font-size: clamp(21px, 6vw, 26px); }
    .js .facts .kicker { margin-bottom: 2.4svh; }
  }
}
/* schmal: die fünf iPhones der Finale-Reihe größer, die äußeren dürfen am Rand angeschnitten sein */
@media (max-width: 820px) {
  .lu-row { height: 44vh; height: 44svh; gap: 8px; }
  .lu-track { height: 165svh; }
}

/* ==========================================================================
   Spark auf schmalen Displays: ruhig wie ein Artikel. Keine eingerasteten Szenen,
   alles scrollt normal; jeder Block schwebt beim Erscheinen sanft von unten herein.
   (Die Klasse „simple“ setzt das Skript im Kopf der Seite statt „js“.)
   ========================================================================== */
html.simple .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
html.simple .reveal.in { opacity: 1; transform: none; }
html.simple .sr { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
html.simple .sr.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.simple .sr, html.simple .reveal { opacity: 1; transform: none; transition: none; } }

/* Opener: einfach ein großes Bild mit der Zeile */
html.simple .opener { margin-bottom: 0; }
html.simple .op-pin { position: relative; top: auto; height: 74vh; height: 74svh; }
html.simple .op-track, html.simple .op-sun, html.simple .op-fill { display: none; }
html.simple .op-shade { background: linear-gradient(180deg, rgba(10,14,30,.55) 0%, rgba(10,14,30,.15) 40%, transparent 60%, rgba(0,0,0,.0) 80%); }
html.simple .op-img { animation: op-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
html.simple .op-text > * { animation: op-text 1.2s cubic-bezier(.2,.7,.2,1) .3s both; }
html.simple .op-text > :nth-child(2) { animation-delay: .5s; }

/* Einstieg: Text, darunter das iPhone */
html.simple .stage { background: var(--paper); }
html.simple .stage-pin { position: static; height: auto; overflow: visible; background: var(--paper); padding: 9vh 0 4vh; padding: 9svh 0 4svh; }
html.simple .stage-dark, html.simple .stage-glow, html.simple .stage-track, html.simple .stage-texts, html.simple .app-spark .stage-pin::before, html.simple .stage-pin::before { display: none; }
html.simple .intro { position: static; padding: 0 20px; }
html.simple .stage-grid { display: block; height: auto; background: none; }
html.simple .stage-phone { height: min(64svh, 600px); padding: 6svh 0 0; transform: none; will-change: auto; }

/* Gedanke: alle Wörter gleich da */
html.simple .statement { padding: 8svh 0; }

/* Funktionen: Text, darunter das iPhone; alle Abschnitte hell, keine harten Farbwechsel */
html.simple .mstory { display: none; }
html.simple .app-spark .feat, html.simple .feat { display: block; background: var(--paper); color: var(--ink); }
html.simple .feat-pin { position: static; height: auto; overflow: visible; padding: 8svh 0 2svh; background: var(--paper); }
html.simple .feat-track, html.simple .bt-type, html.simple .bg-type, html.simple .feat-glow, html.simple .pop, html.simple .pop-patch, html.simple .screen-dim, html.simple .chips { display: none; }
html.simple .feat-grid, html.simple .feat--center .feat-grid { display: block; height: auto; padding: 0 24px; text-align: center; }
html.simple .feat-text h2 { font-size: clamp(28px, 7.6vw, 36px); }
html.simple .feat-text .kicker, html.simple .feat--dark .feat-text .kicker { color: var(--accent); }
html.simple .feat-lead, html.simple .app-spark .feat-lead { display: block; color: var(--muted); font-size: 16px; margin: 12px auto 0; max-width: 30em; }
html.simple .feat-phone { height: min(66svh, 620px); padding: 5svh 0 0; transform: none; will-change: auto; }
html.simple .rise { transform: none; }
html.simple .feat--dark .p17 .dev-shadow { opacity: 1; }
html.simple .pick { display: none; } /* Tonlagen zeigt das iPhone selbst; die Pillen sähen hier wie Knöpfe aus */

/* Finale, Fakten und Schluss: ein zusammenhängender dunkler Teil, weich aus dem Hellen heraus */
html.simple .lineup { background: #0B0B11; } /* klarer Wechsel statt grauem Verlauf */
html.simple .lu-pin { position: static; height: auto; overflow: visible; padding: 10svh 0 4svh; gap: 4svh; }
html.simple .lu-track { display: none; }
html.simple .lineup { overflow: hidden; }
html.simple .lu-row { height: min(36svh, 52vw * 2.06); gap: 10px; }
html.simple .lu-row .device { will-change: auto; }
html.simple .facts { background: #0B0B11; padding: 8svh 0 10svh; }
html.simple .facts .fact-group + .fact-group { margin-top: 7svh; }
html.simple .fl { font-size: clamp(32px, 9.4vw, 46px); padding: .6svh 0; will-change: auto; }
html.simple .fc { will-change: auto; }
html.simple .fc-grid { grid-template-columns: 1fr; gap: 10px; }
html.simple .morgen { background: #0B0B11; }
html.simple .mg-pin { position: relative; top: auto; height: 82vh; height: 82svh; }
html.simple .mg-track, html.simple .mg-mask { display: none; }
html.simple .mg-img { transform: none; will-change: auto; inset: 0; }
html.simple .stage-phone { display: flex; }
/* Opener-Zeile: „schon da.“ nicht allein umbrechen */
.op-line .nb { white-space: nowrap; }
/* Todai Plan schmal: die Szene unter dem iPhone steht als normaler Text darunter */
html.simple .app-plan:not(.app-spark) .stage-texts { display: block; height: auto; padding: 4svh 24px 0; text-align: center; }
html.simple .step { position: static; inset: auto; padding: 0; display: block; }
html.simple .step .inline-shot { display: none; }
html.simple .step .kicker { color: var(--accent); }
html.simple .step h3 { color: var(--ink); font-size: clamp(28px, 7.6vw, 36px); }
html.simple .step p { color: var(--muted); font-size: 16px; margin: 12px auto 0; max-width: 30em; }
html.simple .stage .device { --sh: .18; }
html.simple .features { padding: 6svh 0 8svh; }
html.simple .features .grid { gap: 12px; }
html.simple .feat-text .feat-lead { color: var(--muted); }
/* schmal: Bildschirme ohne eigene Grafikebenen, damit Safari beim Scrollen nicht flackert */
html.simple .device .stack > * { will-change: auto; backface-visibility: visible; }
/* Einschweben: jeder Block bleibt dauerhaft auf seiner eigenen Ebene. Sonst baut Safari die Ebene am Ende der Bewegung ab,
   zeichnet die Schrift neu und der Block „setzt sich“ sichtbar mit einem kleinen Ruck */
html.simple .sr { will-change: opacity, transform; transform: translate3d(0, 28px, 0); backface-visibility: hidden; }
html.simple .sr.in { transform: translate3d(0, 0, 0); }
/* „Der Satz kommt zu dir“: auch dieser Abschnitt schneidet den Schatten des iPhones nicht ab */
html.simple .app-spark .feat-pin:has(.rise), html.simple .app-spark .feat-pin { overflow: visible; }
/* schmal: Abschnitte ohne eigene Fläche, damit der Schatten unter einem iPhone nicht vom nächsten Abschnitt abgeschnitten wird */
html.simple .app-spark .feat, html.simple .feat, html.simple .feat-pin, html.simple .stage, html.simple .stage-pin { background: transparent; }
html.simple .feat-pin, html.simple .feat-phone, html.simple .stage-pin { overflow: visible; }
/* Spark schmal: kein iPhone im Einstieg – das nächste zeigt fast dasselbe („Der Satz kommt zu dir“) */
html.simple .app-spark .stage-phone { display: none; }
html.simple .app-spark .stage-pin { padding-bottom: 0; }


/* ==========================================================================
   Todai Plan: eigene Szenen. Ein Tag von 7:00 bis 21:30 statt der Spark-Abschnitte
   ========================================================================== */
body.app-plan { --accent: var(--plan); }
.pl-kicker { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Opener: Foto, das sich zur Karte zusammenzieht; daneben der Einstieg */
.pl-open { position: relative; }
.pl-open-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; isolation: isolate; }
.pl-open-track { height: 140vh; height: 140svh; }
.pl-card { position: absolute; inset: 0; overflow: hidden; z-index: 1; will-change: clip-path; }
.pl-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; transform-origin: 30% 40%; will-change: transform; }
.pl-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,6,.5) 0%, rgba(20,12,6,.1) 45%, transparent 65%); }
.pl-card-text { position: absolute; left: 0; right: 0; top: clamp(40px, 11vh, 120px); text-align: center; color: #fff; padding: 0 24px; }
.pl-card-text .pl-kicker { opacity: .85; }
.pl-line { margin-top: 14px; font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(34px, 5.2vw, 74px); line-height: 1.06; letter-spacing: -.02em; text-shadow: 0 2px 40px rgba(20,12,6,.35); text-wrap: balance; }
.pl-intro { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none; }
.pl-intro-in { width: 44%; pointer-events: auto; }
.pl-intro .app-icon { width: 72px; height: auto; border-radius: 22%; box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(0,0,0,.08); }
.pl-intro .name { margin-top: 14px; font-weight: 600; }
.pl-intro h1 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.03; letter-spacing: -.025em; margin-top: 6px; }
.pl-intro .lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 28em; }
.pl-intro .cta { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pl-intro .note { font-size: 13.5px; color: var(--muted); }
.js .pl-intro-in > * { opacity: 0; }
@keyframes pl-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .js .pl-card { animation: pl-in 1.6s cubic-bezier(.2,.7,.2,1) both; } }

/* Abschluss: der Abend */
.pl-end { position: relative; color: #f5f5f7; background: #0B0B11; }
.pl-end-pin { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; isolation: isolate; }
.pl-end-track { height: 70vh; }
.pl-end-img { position: absolute; inset: 0; background: url("img/plan-abend.webp") 70% 50% / cover no-repeat; transform-origin: 72% 60%; will-change: transform; }
.pl-end-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,17,.65) 0%, transparent 30%, transparent 50%, rgba(12,6,4,.6) 100%); }
.pl-end-text { position: absolute; left: 0; right: 0; bottom: 11vh; text-align: center; padding: 0 24px; }
.pl-end-text .pl-kicker { color: #FFD9A8; font-variant-numeric: tabular-nums; }
.pl-end-text h2 { margin-top: 12px; font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(10,12,40,.35); }
.pl-end-text p { margin-top: 14px; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.86); }
.pl-end-text .btn { margin-top: 28px; background: #f5f5f7; color: #0C0C12; }
.pl-end-text .btn:hover { background: #fff; }
.js .pl-end-text { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .pl-end-text, .js .pl-intro-in > * { opacity: 1; } }

/* Plan ohne Skript: alles untereinander */
html:not(.js):not(.simple) .pl-open-pin, html:not(.js):not(.simple) .pl-end-pin { position: relative; top: auto; }
html:not(.js):not(.simple) .pl-open-track, html:not(.js):not(.simple) .pl-end-track { display: none; }

/* ---------- Plan auf schmalen Displays (Klasse „simple“) ---------- */
html.simple .pl-open-pin { position: relative; top: auto; height: auto; overflow: visible; }
html.simple .pl-open-track { display: none; }
html.simple .pl-card { position: relative; height: 72vh; height: 72svh; animation: pl-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
html.simple .pl-photo { object-position: 45% 40%; }
html.simple .pl-line { font-size: clamp(30px, 9vw, 40px); }
html.simple .pl-intro { height: auto; padding-top: 9svh; padding-bottom: 2svh; text-align: center; justify-content: center; }
html.simple .pl-intro-in { width: auto; }
html.simple .pl-intro h1 { font-size: clamp(38px, 11vw, 52px); }
html.simple .pl-intro .lead { margin-left: auto; margin-right: auto; font-size: 16px; }
html.simple .pl-intro .cta { justify-content: center; flex-direction: column; gap: 10px; }
html.simple .pl-end-pin { position: relative; top: auto; height: 82vh; height: 82svh; }
html.simple .pl-end-track { display: none; }
html.simple .pl-end-img { background-image: url("img/plan-abend-hoch.webp"); background-position: 60% 50%; }
html.simple .pl-end-text { opacity: 1; }
/* Plan-Mitte in den Szenen von Spark (Klasse app-spark): Lila statt Blau */
.app-plan .feat--dark .feat-text .kicker, .app-plan .facts .kicker, .app-plan .lu-title .kicker { color: #B9A9FF; }
.app-plan .bt-type span { background-image: linear-gradient(100deg, var(--ink) 20%, var(--plan) 55%, #C46BA8 85%); }

/* ---------- Plan: Begleiter in der Textspalte, im Takt des Videos (wie die Ton-Auswahl bei Spark) ---------- */
.pl-comp { margin-top: 26px; max-width: 26em; --cb: var(--card); --cl: var(--line); --cm: var(--muted); }
.feat--dark .pl-comp { --cb: rgba(255,255,255,.06); --cl: rgba(255,255,255,.1); --cm: #a1a1a6; }
.feat--center .pl-comp { margin-left: auto; margin-right: auto; }
.pl-card-t { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: 20px; margin-bottom: 10px; }
.pl-rows { display: grid; gap: 8px; }
.pl-r { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--cb); box-shadow: inset 0 0 0 1px var(--cl);
  transition: box-shadow .35s, transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.pl-r span { flex: 1; font-size: 16px; transition: color .35s; }
.pl-r em { font-style: normal; font-size: 13px; color: var(--cm); font-variant-numeric: tabular-nums; }
.pl-ck { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 28%, transparent); position: relative; transition: background-color .3s, box-shadow .3s; }
.pl-ck::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) scale(.4); opacity: 0;
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
.pl-steps .pl-r.on .pl-ck { background: var(--plan); box-shadow: none; }
.pl-steps .pl-r.on .pl-ck::after { opacity: 1; transform: rotate(45deg) scale(1); }
.pl-steps .pl-r.on span { color: var(--cm); text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); }
.pl-steps .pl-r.on { transform: translateX(6px); }
.pl-done { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--plan); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.feat--dark .pl-done { color: #B9A9FF; }
.pl-done.on { opacity: 1; transform: none; }
.pl-one .pl-r { opacity: .5; }
.pl-one .pl-r.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--plan), 0 12px 30px rgba(0,0,0,.08); transform: translateX(8px); }
.feat--dark .pl-one .pl-r.on { box-shadow: inset 0 0 0 2px #9B87F5, 0 12px 30px rgba(0,0,0,.3); }
.pl-big { display: grid; }
.pl-big p { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .55s cubic-bezier(.2,.7,.2,1); }
.pl-big p.on { opacity: 1; transform: none; }
.pl-big small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--cm); }
.pl-big b { display: block; font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(48px, 5.6vw, 84px); line-height: 1.05; letter-spacing: -.03em; color: var(--plan); }
.feat--dark .pl-big b { color: #B9A9FF; }
.pl-count { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.pl-count b { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(56px, 6vw, 92px); line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: #B9A9FF; min-width: 1.4em; }
.pl-count span { font-size: 15px; color: var(--cm); line-height: 1.4; }
/* niedrige Fenster: Begleiter kompakter */
@media (min-width: 821px) and (max-height: 760px) { .pl-r { padding: 8px 14px; } .pl-r span { font-size: 15px; } .pl-comp { margin-top: 16px; } .pl-rows { gap: 6px; } }
/* schmal: ruhige Fassung ohne Begleiter */
html.simple .pl-comp { display: none; }
@media (prefers-reduced-motion: reduce) { .pl-r, .pl-big p, .pl-done { transition: none; } }

/* ---------- Hilfe: Übersicht und Anleitungen ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body .page a.btn, body:not([class*="app-"]) .page a.btn { color: var(--paper); }
.page.help .wrap { max-width: 1040px; }
.page.help-hub .wrap { max-width: 820px; }
.help-search { position: relative; margin: 4px 0 22px; }
.help-search input { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--card); border: 0; border-radius: 16px; padding: 16px 20px; box-shadow: 0 0 0 1px var(--line); -webkit-appearance: none; appearance: none; }
.help-search input::placeholder { color: var(--muted); }
.help-search input:focus { outline: 2px solid var(--spark-text); outline-offset: 2px; }
.help-results { list-style: none; padding: 6px !important; margin-top: 8px; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0,0,0,.08); }
.help-results li { margin: 0; }
.help-results a { display: block; padding: 11px 14px; border-radius: 11px; text-decoration: none; color: var(--ink) !important; }
.help-results a:hover, .help-results a:focus-visible { background: color-mix(in srgb, var(--ink) 6%, transparent); outline: none; }
.help-results b { display: block; font-weight: 600; }
.help-results span { display: block; font-size: 14px; color: var(--muted); margin-top: 1px; }
.help-results .none { padding: 12px 14px; color: var(--muted); }
.help-results .none a { display: inline; padding: 0; color: var(--spark-text) !important; text-decoration: underline; }

.help-app { margin-top: 28px; padding: 26px; background: var(--card); border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
.help-app > header { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.help-app > header img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); display: block; flex: none; }
.help-app > header > div { flex: 1; min-width: 12em; }
.help-app > header h2 { margin: 0; font-size: 22px; }
.help-app > header p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.help-app > header .btn { padding: 10px 18px; font-size: 15px; }
.help-app h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 26px 0 6px; }
.help-topics { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.help-topics li { margin: 0; border-bottom: 1px solid var(--line); }
.help-topics a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; text-decoration: none; color: var(--ink) !important; }
.help-topics a::after { content: "›"; color: var(--muted); }
.help-topics a:hover { color: var(--accent) !important; }
.help-app details.q { background: color-mix(in srgb, var(--ink) 3.5%, transparent); box-shadow: none; }
.help-app#todai-plan { --accent: var(--plan); }
.help-app#todai-spark { --accent: var(--spark-text); }

.help-contact { margin-top: 44px; }
.help-contact h2 { margin-top: 0; }
.help-contact .btn { margin-top: 8px; }
.help-contact-note { color: var(--muted); font-size: 15px; max-width: 40em; }

.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.crumb a { color: var(--muted) !important; text-decoration: none; }
.crumb a:hover { color: var(--ink) !important; }
.crumb i { font-style: normal; }
.help-head { display: flex; align-items: center; gap: 18px; }
.help-head img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); display: block; flex: none; }
.help-head h1 { margin: 0; }
.help-head .meta { margin: 4px 0 0; font-size: 17px; }
.help-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; margin-top: 44px; align-items: start; }
.help-toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; font-size: 15px; }
.help-toc summary { list-style: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 12px 8px; }
.help-toc summary::-webkit-details-marker { display: none; }
.help-toc ol { list-style: none; padding: 0; }
.help-toc li { margin: 0; }
.help-toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--muted) !important; text-decoration: none; }
.help-toc a:hover { color: var(--ink) !important; }
.help-toc a[aria-current] { color: var(--ink) !important; font-weight: 600; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.help-body { min-width: 0; max-width: 680px; }
.help-sec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.help-sec h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.help-sec .help-sub { color: var(--muted); margin: 6px 0 18px; }
.help-sec h3 { margin-top: 28px; }
.help-sec li { margin-top: 8px; }
.help-sec .steps { list-style: none; padding: 0; counter-reset: s; margin-top: 16px; }
.help-sec .steps li { counter-increment: s; position: relative; padding-left: 44px; margin-top: 14px; min-height: 28px; }
.help-sec .steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.help-sec .terms { margin-top: 14px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.help-sec .terms > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 13px 18px; }
.help-sec .terms > div + div { border-top: 1px solid var(--line); }
.help-sec .terms dt { font-weight: 600; }
.help-sec .terms dd { margin: 0; color: var(--muted); }
.help-sec .hint { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, transparent); }
.help-sec .hint > b:first-child { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 2px; }

.path b { font-weight: 600; }
.path i { font-style: normal; color: var(--muted); margin: 0 5px; }
.path i::after { content: "\200B"; }
.path { white-space: normal; }
b.ui { font-weight: 600; white-space: nowrap; }
.help-sec details.q p, .help-sec details.q li { color: var(--muted); }
@media (max-width: 900px) {
  .help-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .help-toc { position: static; max-height: none; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 4px 8px; }
  .help-toc summary { display: flex; justify-content: space-between; align-items: center; padding: 12px; cursor: pointer; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
  .help-toc summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
  .help-toc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .help-toc ol { padding-bottom: 6px; }
  .help-body { max-width: none; }
}
@media (max-width: 560px) {
  .help-app { padding: 20px 18px; border-radius: 20px; }
  .help-topics { grid-template-columns: 1fr; }
  .help-app > header .btn { width: 100%; justify-content: center; }
  .help-sec .terms > div { grid-template-columns: 1fr; gap: 2px; }
  .help-head img { width: 48px; height: 48px; }
}
