/* =========================================================
   Sumbird Website
   Hell, mutig, mit Augenzwinkern. Creme, Koralle, Anthrazit aus dem
   CI-Paket, große Schrift, dunkle Bühnen für die wichtigen Momente.
   Bewegung nach Apple-Vorbild, Werte aus main.js als Variablen.
   Grundwerte nach der Skill „landing-page-design“ (Schriftstufen,
   Abstände, Radien); Display-Stufen auf Martins Wunsch nach mehr Wirkung.
   ========================================================= */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben aus dem CI-Paket (Stand 16.11.2026) */
  --creme: #FDF4EC;
  --koralle: #F64827;
  --anthrazit: #2A1A17;
  --weiss: #FFFFFF;

  --bg: var(--creme);
  --paper: var(--weiss);
  --ink: var(--anthrazit);
  --ink-2: #6B5752;           /* Nebentext, 6:1 auf Creme */
  --coral-ink: #C2361A;       /* Koralle für kleinen Text auf Hell */
  --coral-hover: #E73D1C;
  --coral-soft: #FCE3D8;
  --night: #1E1210;           /* dunkle Bühne, aus Anthrazit abgeleitet */
  --night-2: #2E1E1A;
  --on-coral: var(--anthrazit);   /* Schrift auf Koralle bleibt immer dunkel */
  --nav-bg: rgba(255, 255, 255, 0.72);
  --menu-bg: rgba(253, 244, 236, 0.94);
  --on-night: rgba(253, 244, 236, 0.72);
  --line: rgba(42, 26, 23, 0.10);
  --shadow-card: 0 1px 2px rgba(42, 26, 23, 0.06), 0 24px 48px -16px rgba(42, 26, 23, 0.22);
  --shot-shadow: drop-shadow(0 30px 40px rgba(42, 26, 23, 0.18)) drop-shadow(0 2px 6px rgba(42, 26, 23, 0.08));

  --sp-25: 2px; --sp-50: 4px; --sp-75: 8px; --sp-100: 12px; --sp-200: 16px; --sp-300: 24px;
  --sp-400: 32px; --sp-500: 40px; --sp-600: 48px; --sp-700: 64px; --sp-800: 80px; --sp-900: 96px;
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-4xl: 32px; --r-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --apple: cubic-bezier(0.28, 0.11, 0.32, 1);
  --container: 1200px;
  color-scheme: light;
}

/* ---------- Dunkles Erscheinungsbild ----------
   Gewählt über den Umschalter (data-theme), sonst wie das System.
   Grundfarben aus der Skill: #131209 als Fläche, #1F1F1F für Karten, #000000 für Bühnen. */
:root[data-theme="dark"] {
  --bg: #131209;
  --paper: #1F1F1F;
  --ink: #FDF4EC;
  --ink-2: rgba(253, 244, 236, 0.66);
  --coral-ink: #FF7A5C;
  --coral-hover: #FF5A3A;
  --coral-soft: rgba(246, 72, 39, 0.14);
  --night: #000000;
  --night-2: #181818;
  --line: rgba(253, 244, 236, 0.12);
  --nav-bg: rgba(31, 31, 31, 0.72);
  --menu-bg: rgba(19, 18, 9, 0.94);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
  --shot-shadow: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #131209; --paper: #1F1F1F; --ink: #FDF4EC; --ink-2: rgba(253, 244, 236, 0.66);
    --coral-ink: #FF7A5C; --coral-hover: #FF5A3A; --coral-soft: rgba(246, 72, 39, 0.14);
    --night: #000000; --night-2: #181818; --line: rgba(253, 244, 236, 0.12);
    --nav-bg: rgba(31, 31, 31, 0.72); --menu-bg: rgba(19, 18, 9, 0.94);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--sp-900); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Textstile ---------- */
.display-1 { font-size: 6rem; line-height: 1; font-weight: 600; letter-spacing: -0.045em; }          /* text-8xl */
.display-2 { font-size: 4.5rem; line-height: 1; font-weight: 600; letter-spacing: -0.035em; }        /* text-7xl */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.015em; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.body-7 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }

h1, h2, h3, .display-2 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.text-2 { color: var(--ink-2); }
.text-link { color: var(--coral-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 300ms var(--ease); }
.text-link:hover { color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.container { width: 100%; max-width: 2200px; margin: 0 auto; padding: 0 clamp(var(--sp-200), 4vw, var(--sp-900)); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r-lg); }
.kicker { color: var(--coral-ink); text-transform: uppercase; letter-spacing: 0.1em; }
.kicker-light { color: var(--koralle); }

.skip-link { position: fixed; left: var(--sp-200); top: var(--sp-200); z-index: 100; padding: var(--sp-75) var(--sp-100); border-radius: var(--r-full); background: var(--anthrazit); color: var(--creme); text-decoration: none; transform: translateY(-200%); transition: transform 300ms var(--ease); }
.skip-link:focus { transform: none; }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-75); padding: var(--sp-75) var(--sp-200); border: 0; border-radius: var(--r-full); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--koralle); color: var(--on-coral); box-shadow: 0 8px 20px -8px rgba(246, 72, 39, 0.7); }
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(246, 72, 39, 0.85); }
.btn-dark { background: var(--anthrazit); color: var(--creme); }
.btn-dark:hover { background: #3d2824; transform: translateY(-1px); }
.btn[disabled] { cursor: progress; }

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; top: var(--sp-200); left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--sp-200); pointer-events: none; }
.nav { pointer-events: auto; position: relative; display: flex; align-items: center; gap: var(--sp-300); padding: var(--sp-75) var(--sp-75) var(--sp-75) var(--sp-200); border-radius: var(--r-full); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgba(42, 26, 23, 0.25); }
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 28px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .logo-light { display: none; } :root:not([data-theme]) .logo-dark { display: block; } }

.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--r-full); background: transparent; color: var(--ink-2); cursor: pointer; transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.theme-toggle:hover { color: var(--ink); background: var(--line); }
.theme-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform 500ms var(--apple), opacity 300ms var(--apple); }
.theme-toggle .tt-moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .tt-sun { opacity: 0; transform: rotate(60deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .tt-moon { opacity: 1; transform: none; }
/* Übergang beim Umschalten, nicht beim Laden */
.theme-anim, .theme-anim *, .theme-anim *::before { transition: background-color 500ms var(--apple), color 500ms var(--apple), border-color 500ms var(--apple), box-shadow 500ms var(--apple) !important; }
.nav-links { display: flex; gap: var(--sp-50); }
.nav-links a:not(.btn) { display: block; padding: var(--sp-75) var(--sp-100); border-radius: var(--r-full); text-decoration: none; color: var(--ink-2); transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.is-current { color: var(--ink); background: var(--line); }
.nav-cta-mobile, .nav-toggle { display: none; }

@media (max-width: 767px) {
  .nav { width: 100%; justify-content: space-between; gap: var(--sp-200); }
  .nav-cta { display: none; }
  .theme-toggle { margin-left: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 0 var(--sp-100); border: 0; border-radius: var(--r-full); background: var(--line); cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 500ms var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; z-index: -2; flex-direction: column; justify-content: center; gap: var(--sp-200); padding: var(--sp-900) var(--sp-400); background: var(--menu-bg); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
  .nav-links a:not(.btn) { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; color: var(--ink); padding: var(--sp-75) 0; }
  .nav-links li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .nav-cta-mobile { display: block; margin-top: var(--sp-300); }
  .nav-open .nav-links { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
  .nav-open .nav-links li { opacity: 1; transform: none; }
  .nav-open .nav-links li:nth-child(2) { transition-delay: 60ms; }
  .nav-open .nav-links li:nth-child(3) { transition-delay: 120ms; }
  .nav-open .nav-links li:nth-child(4) { transition-delay: 180ms; }
  .nav-open .nav-links li:nth-child(5) { transition-delay: 240ms; }
}

/* ---------- Einblendungen ---------- */
.enter { animation: enter 1000ms var(--apple) both; animation-delay: var(--d, 0ms); }
@keyframes enter { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1000ms var(--apple), transform 1000ms var(--apple); }
.reveal.is-in { opacity: 1; transform: none; }
.section-head.reveal > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 900ms var(--apple), transform 900ms var(--apple); }
.section-head.reveal.is-in > * { opacity: 1; transform: none; }
.section-head.reveal > :nth-child(2) { transition-delay: 90ms; }
.section-head.reveal > :nth-child(3) { transition-delay: 180ms; }
html:not(.js) .reveal, html:not(.js) .section-head.reveal > * { opacity: 1; transform: none; }

/* ---------- Abschnitte ---------- */
.section { padding: calc(var(--sp-900) + var(--sp-500)) 0; }
.section-paper { background: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: var(--sp-200); max-width: 760px; margin-bottom: var(--sp-700); }
.section-head-center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.ticks { display: flex; flex-direction: column; gap: var(--sp-100); }
.ticks li { display: flex; gap: var(--sp-100); align-items: flex-start; }
.ticks .icon { color: var(--coral-ink); }
.ticks-light { color: var(--creme); }
.ticks-light .icon { color: var(--koralle); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--sp-900) + var(--sp-700)) 0 var(--sp-900); isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 520px; width: 1400px; height: 900px; margin-left: -700px;
  background: radial-gradient(closest-side, rgba(246, 72, 39, 0.34), rgba(255, 184, 28, 0.16) 55%, rgba(253, 244, 236, 0) 100%);
  filter: blur(20px); pointer-events: none;
  animation: glow 14s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: translate3d(-4%, 0, 0) scale(1); } to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-300); }
.pill { display: inline-flex; align-items: center; gap: var(--sp-75); padding: var(--sp-75) var(--sp-200); border-radius: var(--r-full); background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--koralle); animation: pulse 2.4s var(--apple) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246, 72, 39, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(246, 72, 39, 0); } }
.hero-title { max-width: 980px; padding-bottom: 0.06em; }
/* Wörter steigen aus einer Maske auf */
.hero-title .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .wd > span { display: inline-block; transform: translate3d(0, 110%, 0); animation: rise 1100ms var(--apple) both; animation-delay: calc(120ms + var(--i) * 90ms); }
.hero-title .wd:last-child > span { color: var(--koralle); }
@keyframes rise { to { transform: none; } }

.hero-roll { display: inline-flex; gap: 0.28em; color: var(--ink); font-size: clamp(1.625rem, 2.6vw, 2.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.roll { position: relative; display: inline-block; height: 1.2em; overflow: hidden; color: var(--coral-ink); font-weight: 700; text-align: left; }
.roll-track { display: flex; flex-direction: column; animation: roll 10s var(--apple) infinite; }
.roll-track span { display: block; height: 1.2em; }
@keyframes roll {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-1.2em); }
  40%, 56% { transform: translateY(-2.4em); }
  60%, 76% { transform: translateY(-3.6em); }
  80%, 96% { transform: translateY(-4.8em); }
  100% { transform: translateY(-6em); }
}
.hero-sub { max-width: 640px; color: var(--ink-2); }
.hero-copy .waitlist { width: 100%; max-width: 520px; text-align: left; }

.hero-stage { margin-top: var(--sp-800); perspective: 1800px; }
.hero-window { margin: 0; transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--hs, 1)); will-change: transform; animation: window-in 1400ms var(--apple) 500ms both; }
.hero-window img { width: 100%; filter: drop-shadow(0 50px 60px rgba(42, 26, 23, 0.22)) drop-shadow(0 4px 10px rgba(42, 26, 23, 0.08)); }
@keyframes window-in { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
.shot-note { margin-top: var(--sp-200); text-align: right; color: var(--ink-2); opacity: 0.55; font-size: 0.6875rem; letter-spacing: 0.01em; }

/* ---------- Warteliste ---------- */
.waitlist { display: flex; flex-direction: column; gap: var(--sp-75); max-width: 520px; }
.waitlist-row { display: flex; gap: var(--sp-75); padding: var(--sp-50); border-radius: var(--r-full); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -16px rgba(42, 26, 23, 0.3); transition: box-shadow 300ms var(--ease); }
.waitlist-row:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 12px 32px -16px rgba(42, 26, 23, 0.3); }
.waitlist input { flex: 1; min-width: 0; padding: var(--sp-75) var(--sp-200); border: 0; background: transparent; font-size: 1rem; line-height: 1.5rem; outline: none; }
.waitlist input::placeholder { color: #9A8782; }
.has-error .waitlist-row { box-shadow: 0 0 0 2px #B42318; }
.waitlist-message { display: flex; align-items: center; gap: var(--sp-75); padding-left: var(--sp-200); }
.waitlist-message.is-error { color: #B42318; }
.waitlist-message.is-success { color: #146C2E; }
.waitlist-note { color: var(--ink-2); padding-left: var(--sp-200); }
.btn-loading { display: none; gap: 4px; }
.btn-loading i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dot 900ms var(--ease) infinite; }
.btn-loading i:nth-child(2) { animation-delay: 150ms; }
.btn-loading i:nth-child(3) { animation-delay: 300ms; }
.is-loading .btn-label { display: none; }
.is-loading .btn-loading { display: inline-flex; }
@keyframes dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Laufband ---------- */
.ticker { overflow: hidden; background: var(--night); color: var(--creme); padding: var(--sp-300) 0; }
.ticker-track { display: flex; align-items: center; gap: var(--sp-500); width: max-content; animation: ticker 48s linear infinite; }
.ticker span { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.ticker-bird { width: 36px; height: 27px; flex: none; color: var(--koralle); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Manifest ---------- */
.manifest { background: var(--night); color: var(--creme); padding: calc(var(--sp-900) * 2) 0; }
.manifest .kicker { margin-bottom: var(--sp-400); }
.manifest-text { max-width: 1100px; }
.manifest-text .w { color: rgba(253, 244, 236, 0.18); transition: color 700ms var(--apple); }
.manifest-text .w.on { color: var(--creme); }
.manifest-text .accent .w.on { color: var(--koralle); }
html:not(.js) .manifest-text .w { color: var(--creme); }

/* ---------- Showcase ---------- */
.showcase { padding: calc(var(--sp-900) + var(--sp-500)) 0 var(--sp-700); }
.sc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-700); align-items: start; }
.sc-steps { display: flex; flex-direction: column; }
.sc-step { min-height: clamp(420px, 54vh, 600px); display: flex; flex-direction: column; justify-content: center; gap: var(--sp-200); opacity: 0.28; transition: opacity 700ms var(--apple); }
.sc-step.is-on { opacity: 1; }
.sc-step .ticks { margin-top: var(--sp-100); }
.sc-num { color: var(--coral-ink); text-transform: uppercase; letter-spacing: 0.1em; }
.sc-inline { display: none; }
.sc-stage { position: sticky; top: max(112px, calc(50vh - 300px)); }
.sc-frame { position: relative; display: grid; padding: var(--sp-500); border-radius: var(--r-4xl); background: var(--coral-soft); }
.sc-frame img { grid-area: 1 / 1; align-self: center; width: 100%; filter: var(--shot-shadow); opacity: 0; transform: scale(0.97) translate3d(0, 16px, 0); transition: opacity 700ms var(--apple), transform 900ms var(--apple); }
.sc-frame img.is-on { opacity: 1; transform: none; }
.sc-dots { display: flex; justify-content: center; gap: var(--sp-75); margin-top: var(--sp-300); }
.sc-dots i { width: 8px; height: 8px; border-radius: var(--r-full); background: rgba(42, 26, 23, 0.18); transition: width 500ms var(--apple), background-color 500ms var(--apple); }
.sc-dots i.is-on { width: 28px; background: var(--koralle); }

/* ---------- Vergleich ---------- */
.versus { padding: var(--sp-900) 0 calc(var(--sp-900) + var(--sp-500)); }
.cs { position: relative; aspect-ratio: 2400 / 1506; user-select: none; -webkit-user-select: none; }
.cs-after { position: absolute; inset: 0; width: 100%; height: 100%; filter: var(--shot-shadow); }
.cs-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cs-legend { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-200); margin-bottom: var(--sp-300); }
.cs-label { display: inline-flex; align-items: center; gap: var(--sp-75); padding: var(--sp-75) var(--sp-200); border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.08em; }
.cs-label i { font-style: normal; }
.cs-label-l { background: #5d6066; color: #ffffff; }
.cs-label-r { background: var(--koralle); color: var(--on-coral); }
.cs-handle { position: absolute; top: -2%; bottom: -2%; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--koralle); border-radius: 3px; pointer-events: none; }
.cs-knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--koralle), 0 12px 24px -8px rgba(42, 26, 23, 0.4); display: flex; align-items: center; justify-content: center; gap: 10px; }
.cs-knob i { width: 9px; height: 9px; border-left: 3px solid var(--koralle); border-bottom: 3px solid var(--koralle); transform: rotate(45deg); }
.cs-knob i:last-child { transform: rotate(-135deg); }
.cs-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cs:has(.cs-range:focus-visible) .cs-knob { box-shadow: 0 0 0 3px var(--koralle), 0 0 0 7px var(--ink); }
.versus-note { margin-top: var(--sp-300); text-align: center; }

/* Das graue Beispielprogramm (frei erfunden) */
.gb { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.3%; background: #eceef1; box-shadow: inset 0 0 0 1px #c9ccd1; color: #4a4d52; font-family: Arial, Helvetica, sans-serif; font-size: clamp(6px, 0.78vw, 16px); line-height: 1.35; filter: saturate(0.6); }
.gb-bar { display: flex; align-items: center; gap: 0.6em; padding: 0.9em 1em 0; background: #dfe2e6; }
.gb-bar i { width: 0.9em; height: 0.9em; border-radius: 50%; background: #b9bdc3; }
.gb-tab { padding: 0.5em 1.2em; border-radius: 0.5em 0.5em 0 0; background: #eceef1; white-space: nowrap; }
.gb-tab-dim { background: transparent; color: #7b7f86; }
.gb-url { margin: 0.6em 1em; padding: 0.4em 0.9em; border-radius: 1em; background: #ffffff; color: #7b7f86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-body { flex: 1; display: grid; grid-template-columns: 15% 1fr; min-height: 0; }
.gb-side { display: flex; flex-direction: column; gap: 0.9em; padding: 1.4em 1em; background: #d9dce1; }
.gb-side b { display: block; height: 0.8em; border-radius: 0.2em; background: #b4b8bf; }
.gb-side b:nth-child(odd) { width: 70%; }
.gb-main { display: flex; flex-direction: column; gap: 0.9em; padding: 1.4em 1.6em; min-width: 0; }
.gb-title { font-size: 1.6em; color: #3d4045; }
.gb-title em { font-style: normal; color: #8a8e94; font-size: 0.7em; }
.gb-filters { display: flex; gap: 0.6em; flex-wrap: wrap; }
.gb-filters span { padding: 0.3em 0.9em; border: 1px solid #c3c7cd; border-radius: 0.2em; background: #f6f7f8; }
.gb-table { display: flex; flex-direction: column; border: 1px solid #c9ccd1; background: #ffffff; }
.gb-row { display: grid; grid-template-columns: 9% 11% 1fr 9% 9% 13%; gap: 0.6em; padding: 0.55em 0.9em; border-top: 1px solid #e3e5e8; white-space: nowrap; }
.gb-row:nth-child(even) { background: #f5f6f7; }
.gb-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.gb-head { border-top: 0; background: #e6e8eb; font-weight: 700; color: #55585d; }
.gb-banner { margin-top: auto; padding: 0.8em 1em; border-radius: 0.3em; background: #fff4bf; color: #6b5a00; border: 1px solid #e7d36a; }

/* ---------- Zahlen ---------- */
.stats { padding: 0 0 calc(var(--sp-900) + var(--sp-500)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-300); }
.stat { display: flex; flex-direction: column; gap: var(--sp-75); padding-top: var(--sp-300); border-top: 2px solid var(--ink); }
.stat-num { color: var(--koralle); font-variant-numeric: tabular-nums; }
.stats-grid .stat:nth-child(2) { transition-delay: 90ms; }
.stats-grid .stat:nth-child(3) { transition-delay: 180ms; }
.stats-grid .stat:nth-child(4) { transition-delay: 270ms; }

/* ---------- Assistent ---------- */
.ki { background: var(--night); color: var(--creme); padding: calc(var(--sp-900) * 1.5) 0; overflow: hidden; }
.ki-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-700); align-items: center; }
.ki-copy { display: flex; flex-direction: column; gap: var(--sp-300); }
.ki-sub, .ki-note { color: var(--on-night); }
.ki-demo { display: flex; flex-direction: column; gap: var(--sp-200); padding: var(--sp-500); border-radius: var(--r-4xl); background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(253, 244, 236, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.chat { max-width: 80%; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-3xl); font-size: 1rem; line-height: 1.5rem; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 600ms var(--apple), transform 600ms var(--apple); }
.chat-me { align-self: flex-end; background: var(--koralle); color: var(--on-coral); border-bottom-right-radius: var(--r-sm); font-weight: 500; }
.chat-bot { align-self: flex-start; display: flex; gap: var(--sp-75); align-items: flex-start; background: rgba(253, 244, 236, 0.08); color: var(--creme); border-bottom-left-radius: var(--r-sm); transition-delay: 1500ms; }
.chat-bot .icon { color: var(--koralle); margin-top: 4px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.15em; background: var(--on-coral); animation: blink 900ms steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ki-props { display: flex; flex-direction: column; gap: var(--sp-100); margin-top: var(--sp-100); }
.ki-props li { position: relative; opacity: 0; transform: translate3d(0, 20px, 0) scale(0.98); transition: opacity 700ms var(--apple), transform 700ms var(--apple); transition-delay: calc(1900ms + var(--i) * 160ms); }
.ki-props img { width: 100%; border-radius: var(--r-3xl); }
.ki-stamp { position: absolute; right: -8px; top: -12px; display: inline-flex; align-items: center; gap: var(--sp-50); padding: var(--sp-50) var(--sp-100); border-radius: var(--r-full); background: #1f9d55; color: #ffffff; text-transform: uppercase; letter-spacing: 0.06em; box-shadow: 0 10px 20px -8px rgba(31, 157, 85, 0.7); opacity: 0; transform: scale(0.6) rotate(-8deg); transition: opacity 400ms var(--apple) 3000ms, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1) 3000ms; }
.ki-demo.is-play .chat, .ki-demo.is-play .ki-props li { opacity: 1; transform: none; }
.ki-demo.is-play .ki-stamp { opacity: 1; transform: rotate(-4deg); }
html:not(.js) .ki-demo .chat, html:not(.js) .ki-demo .ki-props li, html:not(.js) .ki-stamp { opacity: 1; transform: none; }

/* ---------- Für Kreative gebaut ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-300); }
.bt { display: flex; flex-direction: column; gap: var(--sp-100); padding: var(--sp-400); border-radius: var(--r-4xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: transform 600ms var(--apple), box-shadow 600ms var(--apple); }
.bt:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.bt-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--sp-100); border-radius: var(--r-xl); background: var(--coral-soft); color: var(--coral-ink); }
.bt-wide { grid-column: span 2; grid-row: span 2; flex-direction: row; align-items: center; gap: var(--sp-500); background: var(--coral-soft); box-shadow: none; }
.bt-wide .bt-icon { background: var(--paper); }
.bt-copy { flex: 1; display: flex; flex-direction: column; gap: var(--sp-100); }
.bt-shot { width: 46%; max-width: 320px; filter: var(--shot-shadow); border-radius: var(--r-md); }
.bt-coral { background: var(--koralle); color: var(--on-coral); box-shadow: none; }
.bt-coral .bt-icon { background: rgba(255, 255, 255, 0.5); color: var(--on-coral); }

/* ---------- Galerie ---------- */
.gallery { display: flex; flex-direction: column; gap: var(--sp-400); }
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-100); }
.gallery-tab { padding: var(--sp-75) var(--sp-200); border-radius: var(--r-full); border: 0; background: var(--bg); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: color 300ms var(--apple), background-color 300ms var(--apple), transform 300ms var(--apple); }
.gallery-tab:hover { color: var(--ink); }
.gallery-tab:active { transform: scale(0.97); }
.gallery-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.gallery-stage { display: grid; margin: 0; padding: var(--sp-600); border-radius: var(--r-4xl); background: var(--koralle); }
.gallery-stage img { grid-area: 1 / 1; width: 100%; filter: var(--shot-shadow); }
.gallery-stage img.is-next { opacity: 0; transition: opacity 600ms var(--apple); }
.gallery-stage img.is-next.is-shown { opacity: 1; }

/* ---------- Geprüft ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-300); }
.proof-item { display: flex; flex-direction: column; gap: var(--sp-100); padding: var(--sp-400); border-radius: var(--r-4xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }

/* ---------- Fragen ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--sp-700); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--sp-900) + var(--sp-200)); }
.faq { display: flex; flex-direction: column; gap: var(--sp-100); }
.faq details { border-radius: var(--r-3xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 300ms var(--ease); }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-200); padding: var(--sp-200) var(--sp-300); cursor: pointer; list-style: none; border-radius: var(--r-3xl); }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--coral-soft); transition: transform 500ms var(--ease), background-color 300ms var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--coral-ink); }
.faq-plus::after { transform: rotate(90deg); transition: transform 500ms var(--ease); }
details[open] .faq-plus { transform: rotate(180deg); background: var(--koralle); }
details[open] .faq-plus::after { transform: rotate(0deg); }
.faq-answer { padding: 0 var(--sp-300) var(--sp-300); color: var(--ink-2); display: flex; flex-direction: column; gap: var(--sp-100); }

/* ---------- Abschluss ---------- */
.final { padding: 0 0 var(--sp-900); }
.final-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-300); padding: calc(var(--sp-900) * 1.5) var(--sp-400); border-radius: 48px; background: var(--koralle); color: var(--on-coral); }
.final-card::before { content: ""; position: absolute; right: -8%; bottom: -30%; width: 60%; aspect-ratio: 730 / 549; background: var(--creme); opacity: 0.12; -webkit-mask: url("img/brand/vogel.svg") center / contain no-repeat; mask: url("img/brand/vogel.svg") center / contain no-repeat; pointer-events: none; }
.final-sub { max-width: 560px; }
.final-bird { width: 96px; height: 72px; color: var(--creme); }
.final .waitlist { width: 100%; position: relative; }
.final .waitlist-row { box-shadow: 0 16px 40px -16px rgba(42, 26, 23, 0.45); }
.final .waitlist-note, .final .waitlist-message { color: var(--on-coral); text-align: left; }
.final .text-link { color: var(--on-coral); }

/* ---------- Fußzeile ---------- */
.footer { padding: var(--sp-600) 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-300); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-300); }
.footer-links a { color: var(--ink-2); text-decoration: none; transition: color 300ms var(--ease); }
.footer-links a:hover { color: var(--coral-ink); }

/* ---------- Unterseiten ---------- */
.page { padding: calc(var(--sp-900) + var(--sp-700)) 0 var(--sp-900); }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: var(--sp-200); }
.prose h2 { margin-top: var(--sp-300); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: var(--sp-300); }
.draft-note { padding: var(--sp-200) var(--sp-300); border-radius: var(--r-2xl); background: #FFF8DA; color: var(--anthrazit); }
.placeholder { background: #FFF1B8; color: var(--anthrazit); padding: 0 var(--sp-50); border-radius: var(--r-sm); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--sp-900) var(--sp-400); }
.notfound .final-bird { color: var(--koralle); margin: 0 auto var(--sp-300); }
.notfound p { color: var(--ink-2); margin: var(--sp-200) 0 var(--sp-400); }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .display-1 { font-size: 4.5rem; }
  .display-2 { font-size: 3.75rem; }
  .sc-grid, .ki-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .sc-stage { display: none; }
  .sc-step { min-height: 0; opacity: 1; padding-bottom: var(--sp-800); }
  .sc-inline { display: block; width: 100%; margin-top: var(--sp-300); padding: var(--sp-300); border-radius: var(--r-3xl); background: var(--coral-soft); }
  .faq-layout { gap: 0; }
  .faq-layout .section-head { position: static; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-500); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  .display-1 { font-size: 3rem; }
  .display-2 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.5rem; line-height: 2rem; }
  .hero { padding-top: calc(var(--sp-900) + var(--sp-400)); padding-bottom: var(--sp-700); }
  .hero-roll { flex-direction: column; align-items: center; gap: 0; }
  .hero-stage { margin-top: var(--sp-600); }
  .hero-glow { top: 640px; width: 900px; margin-left: -450px; }
  .waitlist-row { flex-direction: column; border-radius: var(--r-3xl); padding: var(--sp-75); }
  .waitlist input { padding: var(--sp-100) var(--sp-200); }
  .waitlist .btn { padding: var(--sp-100) var(--sp-200); }
  .ticker span { font-size: 1.5rem; line-height: 2rem; }
  .ticker-bird { width: 28px; height: 21px; }
  .manifest { padding: var(--sp-900) 0; }
  .section, .showcase, .versus { padding: var(--sp-800) 0; }
  .section-head { margin-bottom: var(--sp-500); }
  .cs-label { padding: var(--sp-50) var(--sp-100); font-size: 0.625rem; }
  .cs-label .lg { display: none; }
  .manifest-text { font-size: 1.875rem; line-height: 2.25rem; }
  .cs-knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; gap: 6px; }
  .cs-knob i { width: 7px; height: 7px; }
  .stats-grid { gap: var(--sp-200); }
  .ki { padding: var(--sp-800) 0; }
  .ki-demo { padding: var(--sp-200); border-radius: var(--r-3xl); }
  .chat { max-width: 92%; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bt-wide { grid-column: auto; grid-row: auto; flex-direction: column; align-items: flex-start; }
  .bt-shot { width: 70%; align-self: center; }
  .gallery-stage { padding: var(--sp-200); border-radius: var(--r-3xl); }
  .final-card { padding: var(--sp-800) var(--sp-200); border-radius: var(--r-4xl); }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter, .hero-window, .hero-glow, .pill-dot { animation: none !important; }
  .hero-title .wd > span { animation: none; transform: none; }
  .roll-track, .ticker-track { animation: none; }
  .hero-window { transform: none !important; }
  .reveal, .section-head.reveal > * { transform: none; transition: opacity 600ms linear; }
  .manifest-text .w { color: var(--creme); }
  .manifest-text .accent .w { color: var(--koralle); }
  .ki-demo .chat, .ki-demo .ki-props li, .ki-stamp { opacity: 1 !important; transform: none !important; transition: none !important; }
  .caret { display: none; }
  .sc-frame img { transition: opacity 300ms linear; transform: none; }
}

:root[data-theme="dark"] .hero-glow { background: radial-gradient(closest-side, rgba(246, 72, 39, 0.4), rgba(255, 184, 28, 0.12) 55%, rgba(19, 18, 9, 0) 100%); }
:root[data-theme="dark"] .bt-wide .bt-icon { background: var(--paper); }

/* ---------- Assistent als Herzstück (Martin, 16.11.2026: „Key Feature … mehr hervorheben“) ---------- */
.ki { position: relative; isolation: isolate; padding: calc(var(--sp-900) * 1.75) 0 calc(var(--sp-900) * 1.5); }
.ki-glow { position: absolute; z-index: -1; left: 50%; top: 18%; width: 1600px; height: 1100px; margin-left: -800px; background: radial-gradient(closest-side, rgba(246, 72, 39, 0.32), rgba(124, 92, 240, 0.14) 55%, rgba(0, 0, 0, 0) 100%); filter: blur(30px); pointer-events: none; animation: glow 16s ease-in-out infinite alternate; }
.pill-night { background: rgba(253, 244, 236, 0.08); color: var(--creme); box-shadow: inset 0 0 0 1px rgba(253, 244, 236, 0.16); }
.pill-night .icon { color: var(--koralle); }
.ki-head { max-width: 1100px; }
.ki-title { color: var(--creme); }
.ki-accent { background: linear-gradient(90deg, #F64827, #FFB81C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ki-lead { max-width: 640px; color: var(--on-night); }
.ki-shot { margin: 0; padding: var(--sp-200); border-radius: 36px; background: rgba(253, 244, 236, 0.05); box-shadow: inset 0 0 0 1px rgba(253, 244, 236, 0.12), 0 60px 120px -40px rgba(246, 72, 39, 0.45); }
.ki-shot img { width: 100%; border-radius: var(--r-3xl); }
.shot-note-night { color: var(--creme); }
.ki-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-300); margin: calc(var(--sp-900) + var(--sp-300)) 0 calc(var(--sp-900) + var(--sp-300)); }
.kc { display: flex; flex-direction: column; gap: var(--sp-100); padding: var(--sp-400); border-radius: var(--r-4xl); background: rgba(253, 244, 236, 0.05); box-shadow: inset 0 0 0 1px rgba(253, 244, 236, 0.1); color: var(--on-night); transition: transform 600ms var(--apple), background-color 600ms var(--apple); }
.kc:hover { transform: translateY(-4px); background: rgba(253, 244, 236, 0.08); }
.kc h3 { color: var(--creme); }
.kc-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--sp-100); border-radius: var(--r-xl); background: rgba(246, 72, 39, 0.16); color: var(--koralle); }
.ki-cards .kc:nth-child(3n+2) { transition-delay: 90ms; }
.ki-cards .kc:nth-child(3n) { transition-delay: 180ms; }
.ki-copy .heading-2 { color: var(--creme); }
@media (max-width: 1023px) { .ki-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ki { padding: var(--sp-900) 0; }
  .ki-cards { grid-template-columns: minmax(0, 1fr); margin: var(--sp-700) 0; }
  .ki-shot { padding: var(--sp-75); border-radius: var(--r-3xl); }
  .ki-shot img { border-radius: var(--r-2xl); }
  .ki-glow { width: 900px; margin-left: -450px; }
}
@media (prefers-reduced-motion: reduce) { .ki-glow { animation: none; } }

/* ---------- Hinweise im Startbild (Martin, 16.11.2026: Widgets orange umranden, Erklärung aufploppen,
   Dashboard anpassbar erwähnen). Positionen in Prozent des Bildes, gleich für hell und dunkel. ---------- */
.hero-window { position: relative; container-type: inline-size; }
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); pointer-events: auto; }
.hs-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: help;
  inset: -0.3cqw; width: auto; height: auto; border-radius: calc(var(--r, 1.4cqw) + 0.3cqw); background: transparent;
  box-shadow: 0 0 0 3px var(--koralle);
  opacity: 0; transform: scale(1.03); transition: opacity 500ms var(--apple), transform 600ms var(--apple);
}
.hs.is-on .hs-frame { opacity: 1; transform: none; }
.hs.is-on .hs-frame { box-shadow: 0 0 0 3px var(--koralle), 0 0 0 8px rgba(246, 72, 39, 0.18), 0 20px 50px -10px rgba(246, 72, 39, 0.45); animation: hs-pulse 2.4s var(--apple) infinite; }
.hs-frame:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--koralle), 0 0 0 7px var(--ink); }
@keyframes hs-pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--koralle), 0 0 0 8px rgba(246, 72, 39, 0.18), 0 20px 50px -10px rgba(246, 72, 39, 0.45); } 50% { box-shadow: 0 0 0 3px var(--koralle), 0 0 0 14px rgba(246, 72, 39, 0.08), 0 20px 50px -10px rgba(246, 72, 39, 0.45); } }

.hs-tip {
  position: absolute; z-index: 5; width: max-content; max-width: min(300px, 70vw);
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--sp-100); row-gap: var(--sp-25); align-items: start;
  padding: var(--sp-200); border-radius: var(--r-2xl);
  background: var(--paper); color: var(--ink); text-align: left;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgba(42, 26, 23, 0.4);
  opacity: 0; visibility: hidden; transform: translate3d(0, 8px, 0) scale(0.97);
  transition: opacity 400ms var(--apple), transform 500ms var(--apple), visibility 0s linear 500ms;
  pointer-events: none;
}
.hs-tip p { grid-column: 2; margin: 0; }
.hs-tip .body-6 { color: var(--ink-2); }
.hs-num { grid-row: 1 / span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--koralle); color: var(--on-coral); }
.hs.is-on .hs-tip { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--apple), transform 500ms var(--apple); }
.hs[data-pos="bottom"] .hs-tip { top: calc(100% + 14px); left: 0; }
.hs[data-pos="bottom-end"] .hs-tip { top: calc(100% + 14px); right: 0; }
.hs[data-pos="right"] .hs-tip { top: 12%; left: calc(100% + 14px); }
.hs[data-pos="left"] .hs-tip { top: 12%; right: calc(100% + 14px); }

.hero-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-200); margin-top: var(--sp-300); }
.hero-hint .body-6 { display: inline-flex; align-items: center; gap: var(--sp-75); color: var(--ink-2); }
.hero-hint .body-6 strong { color: var(--ink); font-weight: 600; }
.hero-hint .icon { color: var(--coral-ink); }
.hero-hint .shot-note { margin: 0; }

/* Auf dem Handy wären die Hinweise zu klein: dort nur der Satz unter dem Bild */
@media (max-width: 767px) { .hotspots { display: none; } .hero-hint { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .hs.is-on .hs-frame { animation: none; } .hs-tip { transition: opacity 200ms linear; transform: none; } }

/* ---------- Bilder passen immer ganz ins Fenster (Martin, 16.11.2026: „Inhaltsgrößen so ausrichten,
   dass alles sichtbar ist“). Breite = höchstens, was die Fensterhöhe erlaubt (Seitenverhältnis 1,594).
   Ränder abgezogen: Navigation oben, etwas Luft unten, plus Polster der jeweiligen Fläche. ---------- */
:root { --win: 1.594; }
.hero-window { width: min(100%, calc((100svh - 150px) * var(--win))); margin-left: auto; margin-right: auto; }
.hero-hint { width: min(100%, calc((100svh - 150px) * var(--win))); margin-left: auto; margin-right: auto; }
.ki-shot { width: min(100%, calc(var(--fit, calc(100svh - 170px)) * var(--win) + 32px)); margin-left: auto; margin-right: auto; }
.ki .shot-note-night { width: min(100%, calc(var(--fit, calc(100svh - 170px)) * var(--win) + 32px)); margin-left: auto; margin-right: auto; }
.cs, .cs-legend { width: min(100%, calc((100svh - 220px) * var(--win))); margin-left: auto; margin-right: auto; }
.gallery-stage { width: min(100%, calc(var(--fit, calc(100svh - 230px)) * var(--win) + 96px)); margin-left: auto; margin-right: auto; }
/* Showcase: das stehende Fenster muss samt Fläche und Punkten in die Höhe passen */
.sc-stage { width: 100%; max-width: calc((100svh - 300px) * var(--win) + 80px); justify-self: end; top: max(104px, calc(50vh - ((100svh - 300px) / 2) - 60px)); }
@media (max-width: 767px) {
  .gallery-stage { width: 100%; }
}

/* Startbild als Scroll-Szene: Fenster richtet sich auf, bleibt stehen, Scrollen schaltet die Hinweise */
.hero-track { position: relative; }
.js .hero-track.is-scene .hero-stage { position: sticky; top: var(--stick, 88px); }
@media (max-width: 767px), (prefers-reduced-motion: reduce) { .js .hero-track.is-scene .hero-stage { position: static; } }

/* Beim Privatmodus und beim Anpassen blendet das Startbild in die passende Ansicht über */
.hw-alt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 700ms var(--apple); pointer-events: none; filter: drop-shadow(0 50px 60px rgba(42, 26, 23, 0.22)); }
.hw-alt.is-on { opacity: 1; }
@media (max-width: 767px) { .hw-alt { display: none; } }

/* ---------- Titel und Bild zusammen im Fenster (Martin, 16.11.2026: „weitestgehend komplett sichtbar“) ----------
   main.js misst den Kopf über dem Bild und setzt --fit (verfügbare Bildhöhe) am Abschnitt. */
.ki-head { max-width: none; gap: var(--sp-100); margin-bottom: var(--sp-500); }
.ki-title { font-size: clamp(3rem, 4.9vw, 6.5rem); text-wrap: balance; }
.section-head-wide { max-width: none; }
#bereiche .section-head { margin-bottom: var(--sp-400); gap: var(--sp-100); }
#bereiche .gallery { gap: var(--sp-300); }

/* Abschluss: großer Vogel liegt hinter der Schrift und rückt aus dem Textbereich (Martin, 16.11.2026) */
.final-card { isolation: isolate; }
.final-card::before { z-index: -1; right: -10%; bottom: -36%; width: 46%; }
.final-card > * { position: relative; }
@media (max-width: 767px) { .final-card::before { right: -30%; bottom: -20%; width: 90%; opacity: 0.08; } }

/* Warteliste: Rückmeldeseite, Abschnitt per Sprungmarke (#bestaetigt, #abgemeldet, #ungueltig) */
.wl-box { display: none; flex-direction: column; gap: var(--sp-200); }
.wl-box:target { display: flex; }
.wl-status:not(:has(.wl-box:target)) .wl-default { display: flex; }
.wl-box .final-bird { color: var(--koralle); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
