/* Hallmark · genre: playful · macrostructure: Split hero + Narrative Workflow · design-system: custom (getnebra-Familie)
 * theme: custom · vibe: "Werkstatt, Bühnenlicht, ruhig, exakt" · paper oklch(97.2% 0.003 100) · accent oklch(36% 0.09 255) navy
 * light: oklch(76% 0.07 80) gold (nur Spottis Licht + Unterstreichung) · display: Roboto 700 · body: Roboto 400 · mono: Roboto Mono
 * nav: N9 edge-aligned · footer: Ft5 statement · enrichment: Tier C Maskottchen (Spotti) + echte Standbilder
 * axes: light / rounded-sans / cool
 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 */

:root {
  /* Farben */
  --color-paper:     oklch(100% 0 0);
  --color-paper-2:   oklch(97.5% 0 0);
  --color-card:      oklch(100% 0 0);
  /* Weiß mit grauer Körnung: feine Körnung + leichte, größere Kräuselung (SVG-Rauschen, keine Bilddatei) */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .45  0 0 0 0 .45  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23k)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='.012 .03' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23w)'/></svg>");
  --color-ink:       oklch(21% 0.02 245);
  --color-ink-2:     oklch(45% 0.02 245);
  --color-rule:      oklch(89.5% 0.012 95);
  --color-rule-2:    oklch(83% 0.018 95);
  --color-accent:    oklch(36% 0.09 255);
  --color-accent-2:  oklch(30% 0.08 255);
  --color-accent-soft: oklch(94% 0.02 255);
  --color-on-accent: oklch(99% 0 0);
  --color-light:     oklch(76% 0.07 80);
  --color-light-hover: oklch(80% 0.07 80);
  --color-light-deep: oklch(55% 0.08 75);
  --color-light-soft: oklch(95.5% 0.025 85);
  --color-script:    oklch(57% 0.13 240);
  --color-ok:        oklch(52% 0.11 155);
  --color-ok-soft:   oklch(95% 0.03 155);
  --color-err:       oklch(50% 0.17 27);
  --color-err-soft:  oklch(95% 0.03 27);
  --color-focus:     oklch(55% 0.15 255);
  --color-scrim:     oklch(21% 0.02 245 / .62);
  --color-scrim-soft: oklch(21% 0.02 245 / .35);
  --color-shadow-2:  oklch(21% 0.02 245 / .16);

  /* Schrift */
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Roboto Mono', ui-monospace, Menlo, monospace;
  --text-xs: .8125rem; --text-sm: .9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5rem;
  --text-2xl: 2rem; --text-3xl: clamp(2rem, 3.6vw, 3rem); --text-display: clamp(3.2rem, 7vw, 5em);

  /* Abstände (4-pt) */
  --space-3xs: .25rem; --space-2xs: .5rem; --space-xs: .75rem; --space-sm: 1rem; --space-md: 1.5rem;
  --space-lg: 2rem; --space-xl: 3rem; --space-2xl: 4.5rem; --space-3xl: 7rem;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --shadow-card: 0 1px 0 var(--color-rule), 0 18px 40px -22px var(--color-shadow-2);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-short: 180ms; --dur-mid: 320ms;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { background: var(--grain), var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--space-md); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* Kopfzeile: Wortmarke ganz links, Links ganz rechts */
header.top { position: sticky; top: 0; z-index: 20; background: var(--grain), var(--color-paper); border-bottom: 1px solid var(--color-rule); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: none; padding: 0 var(--space-lg); }
.logo { display: inline-flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; text-decoration: none; color: var(--color-ink); white-space: nowrap; }
.logo .spotti { width: 36px; height: 36px; }
header nav { display: flex; gap: var(--space-lg); align-items: center; }
header nav a { text-decoration: none; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
header nav a:hover { color: var(--color-ink); }

/* Buttons: ruhig, flach, Navy */
.btn { appearance: none; border: 0; cursor: pointer; background: var(--color-accent); color: var(--color-on-accent); font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); padding: 14px 22px; border-radius: var(--radius-sm); white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--color-rule-2); color: var(--color-ink-2); cursor: default; transform: none; }
.btn.ghost { background: var(--color-card); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--color-ink); }
.btn.small { font-size: var(--text-sm); padding: 8px 14px; }
.linkbtn { appearance: none; border: 0; background: none; font: inherit; font-size: inherit; font-weight: 500; color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0 2px; }

.chip { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: 5px 12px; border-radius: var(--radius-pill); background: var(--color-light-soft); color: var(--color-light-deep); font-weight: 600; font-size: var(--text-sm); }
.chip.ok { background: var(--color-ok-soft); color: var(--color-ok); }
.chip.err { background: var(--color-err-soft); color: var(--color-err); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip:not(.ok):not(.err) .dot { animation: blink 1.4s var(--ease-in-out) infinite; }
@keyframes blink { 50% { opacity: .25; } }

h1.display { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; line-height: .98; font-size: var(--text-display); margin: 0 0 var(--space-md); overflow-wrap: anywhere; min-width: 0; }
h1.display .o { color: var(--color-accent); position: relative; white-space: nowrap; }
/* Spottis Licht als Unterstreichung */
h1.display .o::after { content: ''; position: absolute; left: 0; right: .14em; bottom: .03em; height: .11em; border-radius: .06em; background: var(--color-light); transform-origin: 0 50%; animation: underline 900ms 300ms var(--ease-out) both; }
@keyframes underline { from { transform: scaleX(0); } }
.lead { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 34em; margin: 0 0 var(--space-lg); }
.hint { margin: var(--space-sm) 0 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.hint b { color: var(--color-ink); }
.hint small { font-size: var(--text-xs); }
.formerr { color: var(--color-err); font-size: var(--text-sm); margin-top: var(--space-2xs); }
.formerr:empty { display: none; }

/* Adressfeld: ein Feld, zwei Schritte */
.urlform { display: flex; gap: var(--space-2xs); background: var(--color-card); border-radius: var(--radius-md); padding: 6px; box-shadow: inset 0 0 0 1.5px var(--color-ink); max-width: 560px; }
.urlform:focus-within { box-shadow: inset 0 0 0 2px var(--color-accent), 0 0 0 4px var(--color-accent-soft); }
.urlform input { flex: 1; min-width: 0; border: 0; outline: 0; font-family: var(--font-mono); font-size: var(--text-md); padding: 0 var(--space-sm); background: transparent; color: var(--color-ink); }
.urlform input::placeholder { color: var(--color-ink-2); opacity: .6; }
.urlform[data-step="email"] input:not([hidden]) { animation: swap var(--dur-mid) var(--ease-out) both; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* Startseite · Hero: links Inhalt, rechts der Spot */
.hero { padding: var(--space-2xl) 0 var(--space-3xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--space-2xl); align-items: center; }
.hero-visual { margin: 0; }
.stage { position: relative; display: flex; justify-content: flex-end; }
.device { position: relative; z-index: 1; width: min(400px, 100%); aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-card); box-shadow: var(--shadow-card); }
.device video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-spotti { position: absolute; z-index: 2; left: -8%; bottom: -4%; width: 44%; aspect-ratio: 1; pointer-events: none; }
.hero-visual figcaption { margin-top: var(--space-md); text-align: right; color: var(--color-ink-2); font-size: var(--text-sm); }

/* Ablauf: drei Phasen, jeweils Text gegenüber echtem Zwischenstand */
.flow { padding: var(--space-3xl) 0; background: var(--grain), var(--color-paper-2); border-block: 1px solid var(--color-rule); }
h2.sec { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: var(--text-3xl); line-height: 1.05; margin: 0 0 var(--space-xl); max-width: 18em; overflow-wrap: anywhere; }
.phase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; padding: var(--space-xl) 0; border-top: 1px solid var(--color-rule-2); }
.phase.flip .phase-text { order: 2; }
.phase-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: var(--space-sm); }
.phase h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 var(--space-xs); }
.phase p { margin: 0; color: var(--color-ink-2); max-width: 32em; }
.phase-proof { margin: 0; }
.found { display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-template-rows: auto 1fr; gap: var(--space-md); background: var(--color-card); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-card); }
.found-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.found-logo { height: 30px; width: auto; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); align-content: start; }
.swatches li { display: flex; align-items: center; gap: var(--space-xs); font-family: var(--font-mono); font-size: var(--text-xs); }
.swatches i { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--color-rule-2); flex: none; }
.found-phone { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: 260px; object-fit: cover; object-position: top; border-radius: var(--radius-md); border: 1px solid var(--color-rule); }
.script { list-style: none; margin: 0; padding: var(--space-lg); background: var(--color-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: grid; gap: var(--space-sm); counter-reset: line; }
.script li { counter-increment: line; display: flex; flex-wrap: wrap; gap: 0 .35em; align-items: baseline; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.2; letter-spacing: -0.01em; }
.script li::before { content: counter(line); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 400; color: var(--color-ink-2); width: 1.6em; }
.script u { text-decoration: none; color: var(--color-script); box-shadow: inset 0 -.12em 0 var(--color-script); }
.formats { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.2fr); gap: var(--space-sm); align-items: end; }
.formats figure { margin: 0; }
.formats img { width: 100%; display: block; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.formats figcaption { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2); margin-top: var(--space-2xs); }

/* Preise: drei Stufen, der Doppelspot ist hervorgehoben */
.price { padding: var(--space-3xl) 0 var(--space-2xl); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--color-card); box-shadow: var(--shadow-card); }
.plan h3 { margin: 0; font-size: var(--text-xl); font-weight: 700; }
.plan .amount { margin: var(--space-md) 0 var(--space-3xs); font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.plan .amount small { font-size: var(--text-md); font-weight: 500; letter-spacing: 0; color: var(--color-ink-2); }
.plan-sub { margin: 0 0 var(--space-md); color: var(--color-ink-2); }
.plan ul { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-2xs); flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 1.6em; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--color-light-deep); font-weight: 700; }
.plan .btn { width: 100%; }
.plan.best { background: var(--color-accent); color: var(--color-on-accent); }
.plan.best .amount small, .plan.best .plan-sub { color: oklch(85% 0.03 255); }
.plan.best li::before { color: var(--color-light); }
.plan.best .btn { background: var(--color-light); color: var(--color-ink); }
.plan.best .btn:hover { background: var(--color-light-hover); }
.plan-tag { position: absolute; top: var(--space-md); right: var(--space-md); font-size: var(--text-xs); font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--color-light); color: var(--color-ink); }
.price-note { margin: var(--space-md) 0 0; color: var(--color-ink-2); font-size: var(--text-sm); }

/* Galerie */
.spots { padding: var(--space-2xl) 0 var(--space-3xl); }
.spots h2.sec { margin-bottom: var(--space-md); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: var(--space-md); }
.gitem { background: var(--color-card); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; display: block; box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out); }
.gitem:hover { transform: translateY(-2px); }
.gitem video, .gitem .gph { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: var(--color-paper-2); }
.gitem .gph { display: grid; place-items: center; color: var(--color-ink-2); font-family: var(--font-mono); font-size: var(--text-xs); }
.gitem .meta { padding: var(--space-xs) var(--space-sm); display: flex; justify-content: space-between; gap: var(--space-2xs); font-size: var(--text-sm); }
.gitem .meta span:last-child { color: var(--color-ink-2); font-family: var(--font-mono); font-size: var(--text-xs); }

/* Abschluss: ein Satz, ein Button */
footer.close { background: var(--color-accent); color: var(--color-on-accent); padding: var(--space-2xl) 0 var(--space-lg); text-align: center; }
.close-spotti { display: block; width: 150px; height: 150px; margin: 0 auto; }
.close-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.05; margin: var(--space-sm) 0 var(--space-lg); }
footer.close .btn { background: var(--color-light); color: var(--color-ink); }
footer.close .btn:hover { background: var(--color-light-hover); }
.close-meta { margin: var(--space-2xl) 0 0; font-size: var(--text-xs); opacity: .7; }

/* ---------- Job-Seite ---------- */
.job { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: var(--space-2xl); padding: var(--space-xl) 0 var(--space-2xl); align-items: start; }
.job h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(2.4rem, 5vw, 4.2rem); margin: var(--space-sm) 0 var(--space-xs); overflow-wrap: anywhere; min-width: 0; }
.job .lead { font-size: var(--text-lg); margin-bottom: var(--space-xl); }
.progress { --p: 0%; position: relative; max-width: 720px; height: 44px; border-radius: var(--radius-sm); background: var(--color-rule); overflow: hidden; }
.pfill { position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent) calc(100% - 60px), oklch(48% 0.09 255) 100%); }
.progress.err .pfill { background: var(--color-err); }
/* zwei Textebenen: dunkel auf der leeren Fläche, hell auf der gefüllten (per clip-path genau an der Füllkante getrennt) */
.ptext { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: 0 var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.ptext.on { color: var(--color-on-accent); clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ptext b { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.pstep { overflow: hidden; text-overflow: ellipsis; }
.pstep.swap { animation: stepIn 450ms var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(60%); } }
.metas { display: flex; gap: var(--space-md); flex-wrap: wrap; font-family: var(--font-mono); color: var(--color-ink-2); font-size: var(--text-xs); margin: var(--space-md) 0 var(--space-lg); }
.metas b { color: var(--color-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.feed { position: relative; overflow: hidden; transition: height 500ms var(--ease-out); }
/* ältere Einträge blenden oben weich aus, unten läuft die Liste sanft ins Papier */
.feed.more { -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / .18) 0, #000 40%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, rgb(0 0 0 / .18) 0, #000 40%, #000 88%, transparent 100%); }
.feed:not(.more) { -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, #000 88%, transparent 100%); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 var(--space-md); border-left: 2px solid var(--color-rule); margin-left: 6px; transition: transform 700ms var(--ease-out); }
.timeline li.new { animation: feedIn 500ms var(--ease-out) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(10px); } }
.timeline li { position: relative; padding: 0 0 var(--space-sm); }
.timeline li::before { content: ''; position: absolute; left: calc(-1 * var(--space-md) - 7px); top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); }
.timeline li.last::before { background: var(--color-light); box-shadow: 0 0 0 4px var(--color-light-soft); }
.timeline li.warn::before { background: var(--color-light-deep); }
.timeline li.error::before { background: var(--color-err); }
.timeline .t { font-size: var(--text-md); }
.timeline .ts { font-family: var(--font-mono); color: var(--color-ink-2); font-size: var(--text-xs); margin-top: 2px; }

.side { position: sticky; top: 88px; }
.player { background: var(--color-card); border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; aspect-ratio: 4/5; position: relative; box-shadow: var(--shadow-card); }
.player.f1x1 { aspect-ratio: 1/1; }
.player.f9x16 { aspect-ratio: 9/16; max-height: 74vh; margin: 0 auto; }
.player video, .player iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: var(--color-ink); }
.player .wait { text-align: center; padding: var(--space-lg); color: var(--color-ink-2); display: grid; justify-items: center; gap: var(--space-sm); max-width: 280px; }
.wait-spotti { width: 160px; height: 160px; }
.livebadge { position: absolute; top: var(--space-sm); left: var(--space-sm); background: var(--color-scrim); color: var(--color-on-accent); font-family: var(--font-mono); font-size: 11px; padding: 5px 9px; border-radius: 6px; z-index: 2; }
.tabs { display: flex; gap: var(--space-2xs); margin: var(--space-sm) 0 0; justify-content: center; }
.tabs button { appearance: none; border: 0; box-shadow: inset 0 0 0 1px var(--color-rule-2); background: var(--color-card); border-radius: var(--radius-pill); padding: 6px 14px; font-family: var(--font-mono); font-size: var(--text-xs); cursor: pointer; }
.tabs button.on { background: var(--color-accent); color: var(--color-on-accent); box-shadow: none; }
.buy { margin-top: var(--space-md); }
.buy .btn { width: 100%; padding: 17px; font-size: var(--text-lg); }
.downloads { display: grid; gap: var(--space-xs); margin-top: var(--space-md); }
.downloads .btn { width: 100%; padding: 15px; }
.downloads .note { text-align: center; color: var(--color-ink-2); font-size: var(--text-xs); }

.change, .paywall, .modalbox, .paytest .paybox, .studio { background: var(--color-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.change { margin-top: var(--space-lg); padding: var(--space-md); }
.change h3 { font-weight: 700; font-size: var(--text-xl); margin: 0 0 var(--space-2xs); }
.change p { margin: 0 0 var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); }
.change textarea { width: 100%; min-height: 110px; resize: vertical; border: 0; box-shadow: inset 0 0 0 1px var(--color-rule-2); border-radius: var(--radius-sm); padding: var(--space-sm); font: inherit; outline: none; }
.change textarea:focus { box-shadow: inset 0 0 0 2px var(--color-accent); }
.change .btn { width: 100%; margin-top: var(--space-sm); }

.toast { position: fixed; left: 50%; bottom: var(--space-md); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); color: var(--color-on-accent); font-weight: 500; z-index: 70; max-width: min(520px, 92vw); text-align: center; box-shadow: 0 16px 40px -12px var(--color-shadow-2); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.ok { background: var(--color-ok); }
.toast.err { background: var(--color-err); }
.toast.ink { background: var(--color-ink); }
.toast a { color: var(--color-light); font-weight: 700; }

/* Konto */
.account { display: inline-flex; align-items: center; gap: var(--space-xs); }
.account .who { font-size: var(--text-sm); color: var(--color-ink-2); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Anmeldefenster */
.modal { position: fixed; inset: 0; z-index: 60; background: var(--color-scrim-soft); display: grid; place-items: center; padding: var(--space-sm); }
.modal[hidden] { display: none; }
.modalbox { position: relative; width: min(460px, 100%); padding: var(--space-lg) var(--space-lg) var(--space-md); }
.modalbox h2 { font-weight: 700; font-size: var(--text-2xl); letter-spacing: -0.02em; margin: 0 0 var(--space-2xs); }
.mlead { color: var(--color-ink-2); margin: 0 0 var(--space-md); font-size: var(--text-sm); }
.mform label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: 6px; }
.mform input { width: 100%; border: 0; box-shadow: inset 0 0 0 1px var(--color-rule-2); border-radius: var(--radius-sm); padding: 13px; font: inherit; outline: none; }
.mform input:focus { box-shadow: inset 0 0 0 2px var(--color-accent); }
.mform .btn, .modalbox .btn { width: 100%; margin-top: var(--space-sm); }
.merr { color: var(--color-err); font-size: var(--text-sm); margin-top: var(--space-2xs); }
.merr:empty { display: none; }
.mclose { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--color-ink-2); padding: 6px 8px; }
.devlink { background: var(--color-light-soft); border-radius: var(--radius-sm); padding: var(--space-sm); font-size: var(--text-sm); display: grid; gap: 6px; margin: var(--space-3xs) 0 var(--space-sm); }
.devlink a { font-weight: 700; color: var(--color-accent); }

/* Gast-Box */
.paywall { margin-top: var(--space-md); padding: var(--space-md); }
.pwhead { display: flex; gap: var(--space-2xs); align-items: center; font-size: var(--text-xs); color: var(--color-ink-2); }
.pwtag { background: var(--color-light-soft); color: var(--color-light-deep); font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); }
.paywall h3 { font-weight: 700; font-size: var(--text-xl); line-height: 1.2; margin: var(--space-xs) 0 6px; }
.paywall .pwlead { color: var(--color-ink-2); font-size: var(--text-sm); margin: 0 0 var(--space-sm); }
.paywall .btn { width: 100%; }
.pwnote { margin: var(--space-2xs) 0 0; text-align: center; color: var(--color-ink-2); font-size: var(--text-xs); }

/* Testzahlung */
.paytest { padding-top: var(--space-lg); padding-bottom: var(--space-2xl); }
.paytest .paybox { max-width: 480px; margin: var(--space-xl) auto 0; padding: var(--space-lg); }
.paytest h1 { font-weight: 700; font-size: var(--text-2xl); margin: var(--space-sm) 0 var(--space-2xs); }
.paytest .lead { font-size: var(--text-md); margin-bottom: var(--space-md); }
.sum { width: 100%; border-collapse: collapse; margin-bottom: var(--space-md); font-variant-numeric: tabular-nums; }
.sum td, .sum th { padding: var(--space-2xs) 0; border-bottom: 1px solid var(--color-rule); text-align: left; }
.sum td:last-child, .sum th:last-child { text-align: right; }

/* Studio rechts während des Baus */
.studio { padding: var(--space-md); display: grid; gap: var(--space-md); }
.st-label { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2); margin-bottom: var(--space-xs); }
.st-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.st-sw { display: flex; gap: var(--space-2xs); }
.st-sw i { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--color-rule-2); animation: pop 450ms var(--d, 0ms) var(--ease-out) both; }
.st-sw i.ph, .st-vis .ph { background: var(--color-paper-2); animation: shimmer 1.4s var(--ease-in-out) infinite; }
@keyframes shimmer { 50% { opacity: .45; } }
.st-font { font-size: var(--text-sm); }
.st-vis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); margin-top: var(--space-sm); }
.st-vis img, .st-vis .ph { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; border-radius: var(--radius-sm); border: 1px solid var(--color-rule); animation: pop 500ms var(--d, 0ms) var(--ease-out) both; display: block; }
.st-found.compact .st-sw i { width: 28px; height: 28px; }
.st-found.compact .st-vis { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: var(--space-xs); }
.st-card { background: var(--bg); color: var(--fg); border-radius: var(--radius-md); aspect-ratio: 4/3; display: grid; place-content: center; text-align: center; padding: var(--space-lg); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.st-card.in .st-a { animation: lineIn 600ms var(--ease-out) both; }
.st-card.in .st-b { animation: lineIn 600ms 150ms var(--ease-out) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(12px); } }
.st-cap { margin: 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.studio { position: relative; }
.st-spotti { position: absolute; top: -54px; right: -18px; width: 110px; height: 110px; z-index: 2; pointer-events: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* Gäste: Vorschau endet nach ein paar Sekunden */
.teaserlock { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: var(--color-scrim); color: var(--color-on-accent); text-align: center; padding: var(--space-lg); animation: pop 350ms var(--ease-out) both; }
.teaserlock > div { display: grid; gap: var(--space-xs); justify-items: center; max-width: 320px; }
.teaserlock b { font-weight: 700; font-size: var(--text-2xl); letter-spacing: -0.02em; }
.teaserlock span { font-size: var(--text-md); opacity: .9; }
.teaserlock .btn { margin-top: var(--space-2xs); background: var(--color-light); color: var(--color-ink); }
.teaserlock .linkbtn { color: var(--color-on-accent); opacity: .8; }

/* ---------- Spotti ---------- */
.spotti { display: inline-block; flex: none; aspect-ratio: 1; }
.spotti .sp-body { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; user-select: none; }
/* Spotti steht ruhig – bewegt wird nur die Kamera (Filmspulen drehen sich) */
[data-spotti="sleep"] .sp-body { filter: grayscale(.8) brightness(.95); }
:where(.spotti) { position: relative; }
.spotti .reel { position: absolute; display: block; border-radius: 50%; animation: reel 1.4s linear infinite; pointer-events: none; }
@keyframes reel { to { transform: rotate(360deg); } }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .hero-grid, .job, .plans { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .plans { gap: var(--space-md); }
  .phase { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .phase.flip .phase-text { order: 0; }
  .stage { justify-content: center; }
  .hero-visual figcaption { text-align: center; }
  .side { position: static; }
  header.top .wrap { padding: 0 var(--space-md); }
}
@media (max-width: 560px) {
  .hero { padding-top: var(--space-xl); }
  .urlform { flex-direction: column; }
  .urlform input { padding: var(--space-xs); }
  header nav a { display: none; }
  .found { grid-template-columns: minmax(0, 1fr); }
  .found-phone { grid-column: 1; grid-row: auto; height: 200px; }
  .formats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .formats figure:last-child { grid-column: span 2; max-width: 50%; }
  .script li { font-size: var(--text-lg); }
  .hero-spotti { width: 34%; left: 0; }
}

/* Variantenwahl über dem Player */
.vtabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: var(--space-sm); border-radius: var(--radius-md); background: var(--color-paper-2); box-shadow: inset 0 0 0 1px var(--color-rule); }
.vtabs button { appearance: none; border: 0; background: transparent; border-radius: var(--radius-sm); padding: 9px 12px; cursor: pointer; text-align: left; display: grid; gap: 1px; font: inherit; color: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out); }
.vtabs button b { font-size: var(--text-sm); color: var(--color-ink); white-space: nowrap; }
.vtabs button span { font-size: var(--text-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtabs button:hover { background: var(--color-card); }
.vtabs button.on { background: var(--color-card); box-shadow: 0 1px 0 var(--color-rule), 0 6px 16px -10px var(--color-shadow-2); }
.vtabs button.paid b::after { content: ' ✓'; color: var(--color-ok); }

/* Pakete auf der Job-Seite */
.pkgs { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-sm); }
.pkg { position: relative; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm); border-radius: var(--radius-md); background: var(--color-card); box-shadow: inset 0 0 0 1px var(--color-rule-2); cursor: pointer; transition: box-shadow var(--dur-short) var(--ease-out); }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-rule-2); background: var(--color-card); }
.pkg.on { box-shadow: inset 0 0 0 2px var(--color-accent); }
.pkg.on::before { box-shadow: inset 0 0 0 5px var(--color-accent); }
.pkg:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pk-t { display: grid; flex: 1; min-width: 0; }
.pk-t b { font-size: var(--text-md); }
.pk-t em { position: absolute; top: -9px; right: var(--space-sm); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-light); color: var(--color-ink); }
.pk-t small { font-size: var(--text-xs); color: var(--color-ink-2); }
.pk-p { font-weight: 700; font-size: var(--text-lg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pkg.best { background: var(--color-accent-soft); }

/* Hinweis unter dem Eingabefeld: mittig zum Feld, etwas kleiner */
.urlform + .formerr + .hint { max-width: 560px; text-align: center; font-size: var(--text-xs); }

/* Bereiche nur für angemeldete Nutzer */
[data-nur-angemeldet][hidden] { display: none !important; }
