/* Nooky — Produktseite. Aufbau nach ai.meta.com/muse, Farben und Glas aus der App (Theme.swift, CalmBackdrop).
   Keine Web-Fonts, keine Anfragen an Dritte: auf Apple-Geräten SF über die Systemschrift. */

:root {
  --bg: #ffffff;
  --bg-calm: #f1f1f5;            /* CalmBackdrop unten */
  --surface: #f5f5f7;            /* Karten */
  --surface-2: #ffffff;          /* Fenster in Karten */
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #8e8e93;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #2563eb;             /* Theme.accent hell */
  --accent-hover: #1d4ed8;
  --user-bubble: #dbe8fd;        /* Theme.userBubble */
  --reply-bubble: #ececf0;
  --attention: #c2410c;          /* Theme.attention */
  --clean: #3f7a54;              /* Theme.clean */
  --dirty: #b4700f;              /* Theme.dirty */
  --run: #28a745;                /* Grün nur für Run */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.6);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
  --finale-a: #eef2ff;
  --finale-b: #f5f0ff;

  --radius-xl: 28px;
  --radius-l: 24px;
  --radius-m: 16px;
  --gutter: 24px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161618;
    --bg-calm: #1c1c1e;
    --surface: #1f1f22;
    --surface-2: #2a2a2e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #7c7c80;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --user-bubble: rgba(59, 130, 246, 0.3);
    --reply-bubble: rgba(255, 255, 255, 0.08);
    --attention: #ea580c;
    --clean: #6fa97f;
    --dirty: #d79a3e;
    --run: #30d158;
    --glass: rgba(30, 30, 32, 0.68);
    --glass-edge: rgba(255, 255, 255, 0.08);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --finale-a: #1b1f33;
    --finale-b: #231d33;
  }
}
:root[data-theme="dark"] {
  --bg: #161618;
  --bg-calm: #1c1c1e;
  --surface: #1f1f22;
  --surface-2: #2a2a2e;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #7c7c80;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --user-bubble: rgba(59, 130, 246, 0.3);
  --reply-bubble: rgba(255, 255, 255, 0.08);
  --attention: #ea580c;
  --clean: #6fa97f;
  --dirty: #d79a3e;
  --run: #30d158;
  --glass: rgba(30, 30, 32, 0.68);
  --glass-edge: rgba(255, 255, 255, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  --finale-a: #1b1f33;
  --finale-b: #231d33;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--bg); padding: 8px 14px; border-radius: 10px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.mono { font-family: var(--mono); font-size: 0.9em; }

/* Kleine blaue Zeile über Überschriften — wie Muse, aber in Normalschreibung (Designregel der App) */
.eyebrow {
  display: flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 15px; font-weight: 500; margin-bottom: 10px;
}
.eyebrow .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.eyebrow-light { color: rgba(255, 255, 255, 0.8); justify-content: center; }
.lead { color: var(--text-2); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; margin-top: 12px; max-width: 640px; }

/* Knöpfe: Blau nur für die Hauptaktion, Pille wie Muse */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 16px/1 var(--font); text-decoration: none;
  cursor: pointer; transition: background-color 0.2s, transform 0.2s;
}
.button:hover { background: var(--accent-hover); }
.button:active { transform: scale(0.98); }
.button:focus-visible, .acc-head:focus-visible, summary:focus-visible, .stage-pause:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
.button-small { min-height: 36px; padding: 0 18px; font-size: 14px; }
.button-glass {
  background: rgba(255, 255, 255, 0.16); color: #fff;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.button-glass:hover { background: rgba(255, 255, 255, 0.26); }
.button-quiet { background: var(--surface); color: var(--text); }
.button-quiet:hover { background: var(--line); }

/* ---------- Navigation: Glasleiste wie die Toolbar der App ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.nav[data-over-hero] { background: transparent; box-shadow: none; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-inner {
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-right: auto; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: 0.8; }
.nav-links a:hover { opacity: 1; }
.nav .button-small { margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 210vh; background: #111; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  transform: scale(calc(1 + var(--p, 0) * 0.06));
  transform-origin: 50% 40%;
}
/* Sofort sichtbar: bis der Film läuft, zeigt das Poster sein erstes Bild — nichts anderes dahinter. */
.hero-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  transition: object-position 0.8s; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(60% 45% at 50% 45%, rgba(0, 0, 0, 0.38), transparent 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.45));
}

.hero-phase {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 80px var(--gutter) 40px;
}
.hero-intro {
  opacity: clamp(0, calc(1 - (var(--p, 0) - 0.12) * 4), 1);
  transform: translateY(calc(max(var(--p, 0) - 0.12, 0) * -120px));
}
.hero-intro h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.05; letter-spacing: -0.03em; }
.struck { color: rgba(255, 255, 255, 0.55); text-decoration: line-through; text-decoration-thickness: 0.06em; font-weight: 500; }
.hero-sub { margin-top: 20px; font-size: clamp(18px, 1.8vw, 22px); color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

.hero-rotator {
  opacity: clamp(0, calc((var(--p, 0) - 0.4) * 4), 1);
  transform: translateY(calc(clamp(0, 0.7 - var(--p, 0), 1) * 60px));
  pointer-events: none;
}
.rot-line { font: 600 clamp(34px, 5.2vw, 64px)/1.15 var(--font-display); letter-spacing: -0.025em; }
.rot-slot { height: 1.2em; overflow: hidden; position: relative; width: 100%; }
.rot-slot span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.25em;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s;
}
.rot-slot span.in { transform: translateY(0); opacity: 1; }
.rot-slot span.out { transform: translateY(-100%); opacity: 0; }
.rot-slot span.next { transform: translateY(100%); opacity: 0; transition: none; }
.rot-slot .icon { width: 0.85em; height: 0.85em; stroke-width: 1.8; }
.rot-muted { color: rgba(255, 255, 255, 0.7); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--surface); }
.section-head { margin-bottom: 48px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.head-cta { flex: none; }

/* Features: Liste links, Bühne rechts */
.features { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 0; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left;
  font: 500 clamp(19px, 1.8vw, 23px)/1.3 var(--font-display); letter-spacing: -0.01em;
}
.acc-sign { color: var(--text-2); transition: transform 0.3s; }
.acc-head[aria-expanded="true"] .acc-sign { transform: rotate(45deg); }
.acc-body { padding: 0 48px 28px 0; color: var(--text-2); }
.acc-body[hidden] { display: none; }

.feature-stage {
  position: sticky; top: 90px;
  aspect-ratio: 5 / 4; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-calm), var(--surface));
  overflow: hidden;
}
.screen {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 7%;
  opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.45s, transform 0.45s;
  pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; }

/* Nachgebaute App-Fenster */
.window {
  width: 100%; background: var(--surface-2); border-radius: 18px; box-shadow: var(--shadow);
  padding: 14px; font-size: 13px;
}
.window-bar { display: flex; gap: 7px; padding: 2px 2px 12px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.plus { color: var(--clean); }
.minus { color: var(--dirty); }

/* Home der App im Kleinen, minimal (Alpay 2026-09-30): Leiste, Nook, Begrüßung, Eingabefeld, Chips, eine Reihe Projekte */
.screen-wide { padding: 4.5%; }
.window-home { display: grid; grid-template-columns: 54px minmax(0, 1fr); padding: 0; overflow: hidden; font-size: 12px; height: 100%; }
.wh-rail {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 12px;
  background: var(--bg-calm); box-shadow: inset -1px 0 0 var(--line);
}
.wh-rail .window-bar { padding: 2px 0 12px; gap: 5px; }
.wh-rail .window-bar i { width: 9px; height: 9px; }
.wh-nav { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); }
.wh-nav .icon { width: 16px; height: 16px; }
.wh-nav.is-on { background: var(--line); color: var(--text); }
.wh-avatar {
  margin-top: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #6d6fe0; color: #fff; font-size: 11px; font-weight: 600;
}
.wh-main { display: flex; flex-direction: column; align-items: center; padding: 10px 7% 14px; min-width: 0; }
.wh-toolbar { align-self: stretch; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wh-energy, .wh-search {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--surface); color: var(--text-2); white-space: nowrap; font-size: 10.5px;
}
.wh-energy { grid-column: 2; color: var(--text); font-weight: 600; }
.wh-energy small { color: var(--text-2); font-weight: 400; font-size: 10.5px; }
.wh-energy i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--text); }
.wh-search { grid-column: 3; justify-self: end; color: var(--text-3); }
.wh-search .icon { width: 12px; height: 12px; }
.wh-hello { display: grid; justify-items: center; gap: 2px; margin: auto 0 14px; padding-top: 14px; }
.wh-hello img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 6px; }
.wh-hello strong { font: 600 clamp(16px, 1.8vw, 21px)/1.2 var(--font-display); letter-spacing: -0.01em; }
.wh-hello span { color: var(--text-2); font-size: 11.5px; }
.wh-field {
  width: 100%; max-width: 420px; padding: 11px 12px 8px 14px; border-radius: 16px; background: var(--surface);
  color: var(--text-3); text-align: left; font-size: 11.5px;
}
.wh-field-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-2); }
.wh-field-row .icon { width: 14px; height: 14px; }
.wh-agent { margin-left: auto; font-size: 10.5px; }
.wh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 12px 0 auto; color: var(--text-2); font-size: 10.5px; }
.wh-chips span { display: inline-flex; align-items: center; gap: 4px; }
.wh-chips .icon { width: 12px; height: 12px; }
.wh-head { align-self: stretch; margin: 14px 0 8px; }
.wh-head strong { font-weight: 600; font-size: 12px; }
.wh-projects { align-self: stretch; display: flex; justify-content: space-between; gap: 6px; }
.hp { display: grid; justify-items: center; text-align: center; gap: 1px; min-width: 0; flex: 1; }
.hp b {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 5px;
  font-size: 16px; font-weight: 700;
}
.hp strong { font-weight: 600; font-size: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Platzhalter-Icon wie in der App: hellgraues Quadrat mit grauem Symbol */
.pi-plain { background: var(--surface); color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); }
.pi-plain .icon { width: 18px; height: 18px; stroke-width: 1.6; }
.pi-art { color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
.pi-cafe { background: linear-gradient(160deg, #f0a35e, #b0582a); font-family: Georgia, "Times New Roman", serif; }
.pi-quiz { background: linear-gradient(160deg, #6aa8ff, #5b4fd6); }
.pi-game { background: #1d1d1f; font-size: 13px; }

.window-chat { display: grid; gap: 10px; padding: 18px; font-size: 14px; }
.chat-head { display: flex; align-items: center; gap: 8px; font-weight: 600; justify-self: center; flex-direction: column; margin-bottom: 4px; }
.chat-head img, .st-head img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: var(--surface); padding: 4px; }
.bubble { padding: 10px 14px; border-radius: 18px; max-width: 82%; line-height: 1.4; }
.bubble-user { background: var(--user-bubble); justify-self: end; }
.bubble-nook { background: var(--reply-bubble); justify-self: start; }
.composer {
  display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 8px 8px 14px;
  border-radius: 999px; background: var(--surface); color: var(--text-3);
}
.composer .icon { width: 18px; height: 18px; }
.composer span { flex: 1; }
.composer b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }

.window-list { display: grid; gap: 4px; padding: 10px; font-size: 14px; }
.row small { color: var(--text-2); font-size: 12px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.row:nth-child(2) { background: var(--surface); }
.row div { flex: 1; display: grid; }
.row strong { font-weight: 600; }
.row em { font-style: normal; font-size: 12px; color: var(--text-2); }
.row em.needs { color: var(--attention); font-weight: 600; }
.status { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.status-working { border: 2px dotted var(--text-2); animation: spin 3s linear infinite; }
.status-needs { border: 2px solid var(--attention); color: var(--attention); font-size: 12px; font-weight: 700; }
.status-done { color: var(--text-2); }
.status-done .icon { width: 20px; height: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

.window-run { display: grid; gap: 12px; }
.run-head { display: flex; align-items: center; gap: 12px; }
.run-head div { flex: 1; display: grid; }
.run-head small { color: var(--text-2); }
.run-button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--run); color: #fff; }
.run-button .icon { width: 16px; height: 16px; fill: currentColor; }
.run-open { padding: 6px 14px; border-radius: 999px; background: var(--surface); font-weight: 500; }
.browser { border-radius: 12px; overflow: hidden; background: #fffaf3; color: #3b2a1d; box-shadow: 0 0 0 1px var(--line); }
.browser-bar { padding: 7px 12px; background: #f1ebe2; color: #7a6a5c; font-size: 12px; text-align: center; }
.cafe { padding: 22px 20px 20px; text-align: center; background: linear-gradient(180deg, #fbe9d4, #fffaf3); }
.cafe-name { font: 700 26px/1.1 Georgia, "Times New Roman", serif; letter-spacing: -0.01em; }
.cafe-line { font-size: 13px; color: #8a6a4f; margin-top: 4px; }
.cafe-menu { display: grid; gap: 6px; margin: 16px auto 0; max-width: 260px; font-size: 13px; }
.cafe-menu span { display: flex; justify-content: space-between; padding-bottom: 4px; border-bottom: 1px solid #ecdcc8; }

/* Rundgang: großes Video mit Play-Knopf wie bei Muse */
.tour { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); }
.tour-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(30, 30, 35, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: transform 0.2s, background-color 0.2s;
}
.tour-play:hover { transform: scale(1.05); background: rgba(30, 30, 35, 0.5); }
.tour-play .icon { width: 32px; height: 32px; fill: currentColor; margin-left: 4px; }
.tour.playing .tour-play { display: none; }

.credit { margin-top: 10px; color: var(--text-3); font-size: 12px; }

/* Sicherheit */
.cards-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card p { color: var(--text-2); }
.icon-lead { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.8; }

/* Nook bei der Arbeit */
.stage {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-calm), var(--surface));
  min-height: clamp(520px, 52vw, 640px);
}
.stage-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  width: min(620px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 40px 0 72px; font-size: 16px;
}
.st { transition: opacity 0.5s, transform 0.5s, max-height 0.5s, margin 0.5s; }
.stage:not(.step-1):not(.step-2):not(.step-3):not(.step-4):not(.step-5) .st-user,
.stage:not(.step-2):not(.step-3):not(.step-4):not(.step-5) .st-reply,
.stage:not(.step-3):not(.step-4):not(.step-5) .st-tools,
.stage:not(.step-4) .st-approval,
.stage:not(.step-5) .st-result { opacity: 0; transform: translateY(20px); }
.stage:not(.step-4) .st-approval, .stage:not(.step-5) .st-result { max-height: 0; margin: -6px 0; overflow: hidden; }
.st-approval, .st-result { max-height: 420px; }
.stage.step-5 .st-user, .stage.step-5 .st-reply, .stage.step-5 .st-tools, .stage.step-5 .st-head { opacity: 0; max-height: 0; margin: -6px 0; overflow: hidden; }
.st-head, .st-user, .st-reply, .st-tools { max-height: 200px; }
.st-head { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; margin-bottom: auto; }
.st-head img { width: 64px; height: 64px; }
.stage .bubble { max-width: 80%; }
.st-user { align-self: flex-end; }
.st-reply { align-self: flex-start; }
.st-tools { align-self: flex-start; display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; padding-left: 4px; }
.st-tools .icon { width: 17px; height: 17px; }
.st-approval {
  align-self: stretch; padding: 22px; border-radius: 22px; background: var(--glass); box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.ap-title { font-weight: 600; font-size: 18px; }
.ap-why { color: var(--text-2); margin-top: 4px; }
.ap-cmd { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface); }
.ap-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ap-buttons span { display: grid; place-items: center; height: 52px; border-radius: 999px; font-weight: 600; font-size: 18px; background: var(--reply-bubble); }
.ap-buttons .ap-allow { background: var(--accent); color: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.stage.pressing .ap-allow { transform: scale(0.95); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }
.st-result { display: grid; gap: 12px; }
.st-result .browser { box-shadow: var(--shadow); }
.st-result .cafe { padding: 40px 24px 36px; }
.st-result .cafe-name { font-size: 40px; }
.stage-pause {
  position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(60, 60, 67, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stage-pause .icon-play, .stage.paused .stage-pause .icon-pause { display: none; }
.stage.paused .stage-pause .icon-play { display: block; }

/* Büro und Stadt */
.world { display: grid; grid-template-columns: minmax(260px, 4fr) minmax(0, 9fr); gap: 40px; align-items: center; }
.world-text .lead { margin-bottom: 28px; }
.world-cards {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none;
}
.world-cards::-webkit-scrollbar { display: none; }
.world-card { flex: 0 0 clamp(240px, 26vw, 300px); margin: 0; scroll-snap-align: start; }
.world-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-l); overflow: hidden; background: var(--bg-calm); }
.world-media img, .world-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.world-card figcaption { margin-top: 14px; color: var(--text-2); font-size: 15px; }
.world-card figcaption b { color: var(--text); font-weight: 600; }

/* Download */
.download { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.desktop {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius-xl); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 20% 10%, #7aa2ff 0%, #3a5bd9 45%, #1d2b8f 100%);
}
.desk-shot { width: 88%; height: auto; } /* Schatten bringt der Fenster-Screenshot selbst mit */
.download-text .lead { margin-bottom: 28px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.touch-only { display: none; }
.touch-note { width: 100%; color: var(--text-2); }
.requirements { margin-top: 18px; color: var(--text-3); font-size: 14px; }
@media (hover: none) and (pointer: coarse) {
  .desktop-only { display: none; }
  .touch-only { display: flex; }
}

/* Abschluss mit schwebenden Dingen */
.finale {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(120% 120% at 50% 0%, var(--finale-a), var(--finale-b));
  min-height: clamp(420px, 40vw, 520px); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter);
}
.finale-text { position: relative; z-index: 2; display: grid; justify-items: center; }
.finale-icon { border-radius: 16px; margin-bottom: 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); }
.finale-text .eyebrow { justify-content: center; }
.finale-text h2 { max-width: 620px; margin-bottom: 28px; }
.float { position: absolute; width: clamp(64px, 8vw, 116px); animation: float 7s ease-in-out infinite; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.15)); }
.f1 { left: 6%; top: 10%; animation-delay: -1s; }
.f2 { left: 14%; bottom: 10%; animation-delay: -3s; }
.f3 { right: 7%; top: 12%; animation-delay: -2s; }
.f4 { right: 18%; bottom: 14%; width: clamp(48px, 5vw, 72px); animation-delay: -4s; }
.f5 { left: 26%; top: 6%; width: clamp(44px, 5vw, 70px); animation-delay: -5s; }
.f6 { right: 28%; top: 5%; width: clamp(48px, 5vw, 76px); animation-delay: -2.5s; }
.f7 { right: 4%; bottom: 8%; animation-delay: -6s; }
.f8 { left: 30%; bottom: 6%; width: clamp(44px, 5vw, 70px); animation-delay: -3.5s; }
.nook-float { left: 3%; top: 36%; width: clamp(96px, 12vw, 170px); animation-duration: 6s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }

/* Fragen */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 0; font: 500 clamp(19px, 2vw, 26px)/1.3 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-2); transition: transform 0.3s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 56px 28px 0; color: var(--text-2); max-width: 820px; }

/* Fußzeile */
.footer { padding: 40px 0 56px; color: var(--text-3); font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand { color: var(--text); font-size: 15px; }
.footer .brand img { border-radius: 5px; }
.footer .brand em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--surface); padding: 2px 8px; border-radius: 999px; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }

/* ---------- Schmal ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .features, .download, .world { grid-template-columns: 1fr; }
  .feature-stage { position: relative; top: 0; order: -1; aspect-ratio: 1 / 1.1; }
  .cards-two { grid-template-columns: 1fr; }
  .world-text { max-width: 560px; }
  .head-cta { display: none; }
  /* = nookAt[0] in main.js: schon beim ersten Bild dort, sonst gleitet das Poster beim Laden hinüber */
  .hero-video { object-position: 68% 50%; }
  .hero-phase { justify-content: flex-start; padding-top: 18vh; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .window { padding: 10px; font-size: 12px; }
  .window-home { padding: 0; grid-template-columns: 42px minmax(0, 1fr); }
  .wh-main { padding: 8px 12px 12px; }
  .wh-energy small, .wh-search { display: none; }
  .wh-chips span:nth-child(n + 4) { display: none; }
  .wh-projects .hp:nth-child(5) { display: none; }
  .acc-body { padding-right: 0; }
  .faq details p { padding-right: 0; }
  .stage-inner { font-size: 15px; padding-bottom: 76px; }
  .st-result .cafe-name { font-size: 30px; }
  .float { opacity: 0.55; }
  .f3, .f5, .f6, .f8 { display: none; }
  .finale { padding-bottom: 130px; }
  .nook-float { top: auto; bottom: 18px; left: 50%; margin-left: -48px; width: 96px; opacity: 1; }
  .f2 { left: 6%; bottom: 6%; }
  .f7 { right: 6%; bottom: 6%; }
  .stage { min-height: 600px; }
  .stage.step-4 .st-head { opacity: 0; max-height: 0; margin: -6px 0; overflow: hidden; }
  .footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-sticky { position: relative; }
  .hero-intro { opacity: 1; transform: none; }
  .hero-rotator { display: none; }
}

/* Rechtliche Seiten */
.legal { padding-top: 140px; min-height: 70vh; }
.legal-updated { color: var(--text-3); font-size: 15px; margin-top: 12px; }
.legal-body { max-width: 720px; margin-top: 8px; padding-bottom: 96px; }
.legal-body h3 { margin: 44px 0 12px; }
.legal-body h4 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-left: 20px; }
.legal-body li + li { margin-top: 6px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--accent-hover); }
.legal-body address { font-style: normal; color: var(--text); font-size: 16px; line-height: 1.6; margin-top: 12px; }
.legal-body address + p { margin-top: 12px; }
