/* ==========================================================================
   Unforget — unforget-app.de
   Bildsprache: Boarding-Pass. Perforation, gestrichelte Kanten, Mono-Ziffern,
   grüner Countdown-Ring. Harte Wechsel zwischen schwarzer Bühne und Papier.
   Keine Webfonts, keine Fremdrequests.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* --- Schriften ------------------------------------------------------------
   Selbst gehostet, kein Fremdrequest. Gabarito für Headlines (geometrisch,
   freundlich), Atkinson Hyperlegible für Lesetext — die ist vom Braille
   Institute ausdrücklich auf Lesbarkeit hin entworfen und damit die richtige
   Wahl für ein Produkt, das Menschen beim Lesen entlasten soll.
   Kein Inter, kein Space Grotesk. */
@font-face {
  font-family: "Gabarito"; src: url("/assets/fonts/gabarito.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/atkinson.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --green-lm: #3ec00f;   /* Grün auf hellem Grund */
  --green-dm: #44ff00;   /* Grün auf dunklem Grund */
  --green-deep: #2e9a0b;

  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Gabarito", "Atkinson Hyperlegible", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --wrap: 1180px;
  --sec-y: clamp(4.5rem, 9vw, 8rem);

  --r-card: 16px;
  --r-pill: 999px;

  /* Standard = Papier */
  --bg: #fff;
  --fg: #000;
  --muted: #57605a;
  --accent: var(--green-lm);
  --line: rgba(0, 0, 0, 0.14);
  --surface: #f5f5f5;
  --notch: #fff;
}

.stage {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.66);
  --accent: var(--green-dm);
  --line: rgba(255, 255, 255, 0.18);
  --surface: #0e100e;
  --notch: #000;
  background: var(--bg);
  color: var(--fg);
}
.paper {
  --bg: #fff; --fg: #000; --muted: #57605a; --accent: var(--green-lm);
  --line: rgba(0,0,0,.14); --surface: #f5f5f5; --notch: #fff;
  background: var(--bg); color: var(--fg);
}
.paper--grey { --bg: #f5f5f5; --surface: #fff; --notch: #f5f5f5; background: var(--bg); }

body {
  font-family: var(--font);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.62;
  background: #000;
  color: #fff;
}

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sec-y); }
.stack > * + * { margin-top: 1.1rem; }

/* --- Typografie ----------------------------------------------------------- */
.display {
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.85rem, 2.9vw, 2.75rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.35rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.label {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
}
.accent { color: var(--accent); }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 0.9rem; }
.sec-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.sec-head .label { display: block; margin-bottom: 0.9rem; }
.sec-head p { margin-top: 1.1rem; color: var(--muted); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.4rem; border-radius: var(--r-pill);
  font-weight: 650; text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--green { background: var(--accent); color: #04140a; border-color: var(--accent); font-weight: 700; }
.btn--green:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

/* Mac-App-Store-Badge (nach Apples Layout nachgebaut) */
.btn--store {
  background: #000; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1.35rem 0.65rem; gap: 0.75rem; border-radius: 12px;
}
.paper .btn--store, .paper--grey .btn--store { border-color: #000; }
.btn--store:hover { background: #1a1a1a; }
.btn--store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.btn__lines { display: grid; text-align: left; line-height: 1.12; }
.btn__small { font-size: 0.66rem; letter-spacing: 0.02em; opacity: 0.85; }
.btn__big { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.btn--store.is-big { transform: scale(1.08); transform-origin: left center; }
.btn--store.is-big:hover { transform: scale(1.08) translateY(-2px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; align-items: center; }
.specs { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }

/* --- Header --------------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green-dm); color: #000; padding: 0.8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.site-header.is-stuck { border-bottom-color: rgba(255, 255, 255, 0.14); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 1.12rem; }
.brand svg { width: 24px; height: 24px; flex: none; }
.brand-mark-ring { fill: none; stroke: var(--green-dm); stroke-width: 2.5; }
.header-nav { display: flex; align-items: center; gap: 1.6rem; }
.header-nav a { text-decoration: none; font-size: 0.94rem; color: rgba(255, 255, 255, 0.72); }
.header-nav a:hover { color: var(--green-dm); }
.site-header .btn--store { opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; padding: 0.4rem 1rem 0.45rem; }
.site-header .btn--store svg { width: 20px; height: 20px; }
.site-header .btn__big { font-size: 0.95rem; }
.site-header .btn__small { font-size: 0.6rem; }
.site-header.is-stuck .btn--store { opacity: 1; transform: none; pointer-events: auto; }
/* Sprachwahl im Kopf: echtes Aufklapp-Menü aus <details>, damit es auch ohne
   JavaScript funktioniert. Bewusst in der Lesetext-Schrift und in normaler
   Schreibweise — keine gesperrten Mono-Versalien. */
.lang-drop { position: relative; flex: none; }
.lang-drop summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; color: rgba(255,255,255,.72); padding: 0.3rem 0.1rem;
}
.lang-drop summary::-webkit-details-marker { display: none; }
.lang-drop summary::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform 0.18s ease;
}
.lang-drop[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.lang-drop summary:hover { color: var(--green-dm); }
.lang-drop__menu {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 60; min-width: 9.5rem;
  display: grid; padding: 0.3rem; border-radius: 10px;
  background: #0c0f0c; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 34px rgba(0,0,0,.55);
}
.lang-drop__menu a {
  text-decoration: none; font-size: 0.9rem; color: rgba(255,255,255,.75);
  padding: 0.45rem 0.7rem; border-radius: 6px;
}
.lang-drop__menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-drop__menu a[aria-current] { color: var(--green-dm); }
.calm .lang-drop summary::after { transition: none; }

/* Sieben Punkte plus Sprachwahl brauchen Platz: erst enger setzen, dann ganz weglassen.
   Unter 1020 px führt der Fuß durch die Seite, die Sprachwahl bleibt. */
@media (max-width: 1160px) { .header-nav { gap: 1.05rem; } .header-nav a { font-size: 0.88rem; } }
@media (max-width: 1020px) { .header-nav a { display: none; } }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 5vw, 4.5rem); }
/* Der grüne Schein hinter der Headline. Wichtig: Die Ellipse muss INNERHALB
   der Fläche vollständig auf transparent laufen — sonst schneidet die Kante
   des Elements den Verlauf sichtbar ab (war bei 620 px Höhe der Fall).
   Zwei Stufen: ein enger Kern und ein weiter, sehr flacher Ausklang. */
.hero::before {
  content: ""; position: absolute; inset: -42% -8% auto -28%; height: 1180px;
  background:
    radial-gradient(ellipse 42% 32% at 34% 30%, rgba(68, 255, 0, 0.20), transparent 72%),
    radial-gradient(ellipse 72% 54% at 30% 33%, rgba(68, 255, 0, 0.10), rgba(68, 255, 0, 0.03) 55%, transparent 80%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); } }
.hero .display { margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: 1.9rem; max-width: 34ch; }
.hero .cta-row { margin-bottom: 1.1rem; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-dm); box-shadow: 0 0 12px var(--green-dm); }

/* --- Mac-Fenster (Simulator) ---------------------------------------------- */
.macwin {
  border-radius: 14px; overflow: hidden; background: #101310;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
}
.macwin__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.85rem; height: 30px; background: #1b1f1b; border-bottom: 1px solid rgba(255,255,255,.08); }
.macwin__dots { display: flex; gap: 6px; }
.macwin__dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a403a; }
.macwin__menu { margin-left: auto; display: flex; align-items: center; gap: 0.85rem; font-family: var(--mono); font-size: 0.68rem; color: rgba(255,255,255,.5); }
.macwin__menu .bolt { color: var(--green-dm); font-size: 0.8rem; }
.macwin__desk { position: relative; aspect-ratio: 16 / 10.5; background: linear-gradient(160deg, #14181a 0%, #0b0d0c 55%, #0f1410 100%); overflow: hidden; }

.fakewin { position: absolute; border-radius: 9px; background: #191d1b; border: 1px solid rgba(255,255,255,.09); padding: 0.7rem; box-shadow: 0 18px 34px -14px rgba(0,0,0,.8); }
.fakewin--code { inset: 9% 32% 20% 5%; }
.fakewin--browser { inset: 34% 6% 8% 40%; background: #1d211f; }
.fakewin__bar { display: flex; gap: 4px; margin-bottom: 0.6rem; }
.fakewin__bar i { width: 7px; height: 7px; border-radius: 50%; background: #333a35; }
.codeline { height: 6px; border-radius: 3px; background: rgba(255,255,255,.11); margin-bottom: 7px; }
.codeline.g { background: rgba(68,255,0,.22); }
.codeline.w60 { width: 60%; } .codeline.w80 { width: 80%; } .codeline.w40 { width: 40%; }
.codeline.w70 { width: 70%; } .codeline.w90 { width: 90%; } .codeline.w50 { width: 50%; }
.desk-hint {
  position: absolute; left: 4%; bottom: 4%; font-family: var(--mono); font-size: 0.68rem;
  color: rgba(255,255,255,.38); background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08);
  padding: 0.3rem 0.6rem; border-radius: 6px; backdrop-filter: blur(4px);
}

/* Der Alarm selbst */
.alarm {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 4%;
  background: radial-gradient(circle at 50% 0%, rgba(46, 154, 11, 0.28), #000 62%), #000;
  opacity: 0; visibility: hidden; transition: opacity 0.32s ease;
}
.alarm.is-on { opacity: 1; visibility: visible; }
.macwin.is-alarm .macwin__desk > .fakewin, .macwin.is-alarm .desk-hint { filter: blur(2px); opacity: 0.35; }

.alarm__in { width: min(100%, 560px); text-align: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.85rem;
  border-radius: var(--r-pill); border: 1px solid rgba(68,255,0,.45); background: rgba(68,255,0,.1);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; color: var(--green-dm);
  text-transform: uppercase;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-dm); }

/* --- Ticket (Boarding-Pass) ----------------------------------------------- */
.ticket {
  position: relative; margin-top: 1rem; border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(68,255,0,.28); overflow: hidden; text-align: center;
}
.ticket__top { padding: clamp(0.9rem, 2.2vw, 1.5rem) clamp(1rem, 3vw, 2rem); }
.ticket__msg { font-style: italic; color: rgba(255,255,255,.82); font-size: clamp(0.82rem, 1.5vw, 1rem); min-height: 1.5em; }
.ticket__title { font-size: clamp(1.15rem, 3.1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 0.4rem; }
.ticket__chip {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.7rem;
  padding: 0.28rem 0.8rem; border-radius: var(--r-pill); background: rgba(255,255,255,.1);
  font-size: clamp(0.66rem, 1.2vw, 0.8rem); color: rgba(255,255,255,.85);
}
.ticket__notes { margin-top: 0.55rem; font-size: clamp(0.66rem, 1.2vw, 0.8rem); color: rgba(255,255,255,.45); }

.perf { position: relative; border-top: 1px dashed rgba(255,255,255,.3); }
.perf::before, .perf::after {
  content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--notch, #000);
}
.perf::before { left: -12px; } .perf::after { right: -12px; }

.ticket__bottom {
  display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 2.5rem);
  padding: clamp(0.9rem, 2.4vw, 1.6rem) clamp(1rem, 3vw, 2rem);
}
.ring { position: relative; width: clamp(92px, 15vw, 132px); aspect-ratio: 1; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .track { stroke: rgba(255,255,255,.14); }
.ring .prog { stroke: var(--green-dm); transition: stroke-dashoffset 0.95s linear; filter: drop-shadow(0 0 6px rgba(68,255,0,.5)); }
.ring__num {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-family: var(--mono); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  color: var(--green-dm); letter-spacing: -0.02em;
}
.ring__num small { display: block; font-family: var(--font); font-size: 0.5rem; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: 0; margin-top: 2px; }
.ticket__facts { text-align: left; display: grid; gap: 0.6rem; }
.ticket__facts .label { font-size: 0.58rem; color: rgba(255,255,255,.42); }
.ticket__facts b { display: block; font-size: clamp(0.9rem, 1.9vw, 1.15rem); font-weight: 700; }

.alarm__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.alarm__actions .btn { padding: 0.5rem 1rem; font-size: clamp(0.72rem, 1.4vw, 0.9rem); }
.alarm__foot { margin-top: 0.8rem; font-size: 0.66rem; color: rgba(255,255,255,.28); }

/* Simulator-Steuerung */
.sim-controls { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; margin-top: 1.2rem; }
.ctl { display: flex; align-items: center; gap: 0.6rem; }
.ctl > .label { font-size: 0.63rem; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; gap: 2px; background: rgba(255,255,255,.03); }
.segmented button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 0.32rem 0.75rem; border-radius: var(--r-pill); font-size: 0.82rem; transition: background 0.15s, color 0.15s;
}
.segmented button:hover { color: var(--fg); }
.segmented button[aria-pressed="true"] { background: var(--accent); color: #04140a; font-weight: 700; }
.sim-note { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 0.9rem; min-height: 1.2em; }

/* --- USP-Leiste ----------------------------------------------------------- */
.usps { border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.usps__grid { display: grid; gap: 0; }
@media (min-width: 760px) { .usps__grid { grid-template-columns: repeat(4, 1fr); } }
.usp { padding: 1.6rem clamp(1rem, 2vw, 1.8rem); border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; display: block; transition: background 0.18s ease; }
.usp:hover { background: rgba(68,255,0,.06); }
@media (min-width: 760px) {
  .usp { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.1); }
  .usp:last-child { border-right: 0; }
}
.usp__num { font-family: var(--mono); font-size: 0.68rem; color: var(--green-dm); letter-spacing: 0.14em; }
.usp b { display: block; margin-top: 0.5rem; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.usp span { display: block; margin-top: 0.3rem; font-size: 0.86rem; color: rgba(255,255,255,.6); line-height: 1.45; }

/* --- Banner-Blindheit ----------------------------------------------------- */
.blind__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 940px) { .blind__grid { grid-template-columns: 1fr 0.95fr; } }
.banner-stack { position: relative; display: grid; gap: 0.7rem; }
.banner {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(0,0,0,.08);
  border-radius: 13px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5);
  backdrop-filter: blur(8px); transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}
.banner__icon { width: 30px; height: 30px; border-radius: 7px; background: #d9dde0; display: grid; place-items: center; font-size: 0.9rem; flex: none; }
.banner__txt { text-align: left; font-size: 0.84rem; line-height: 1.35; }
.banner__txt b { display: block; font-size: 0.78rem; }
.banner__txt span { color: #5b6167; }
.banner__time { margin-left: auto; font-size: 0.7rem; color: #7c8288; font-family: var(--mono); }
.banner.is-gone { opacity: 0.12; transform: translateX(26px) scale(0.97); filter: grayscale(1); }
.blind__counter { margin-top: 1.6rem; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.blind__counter b { color: var(--fg); font-size: 1.6rem; display: block; letter-spacing: -0.02em; }
.blind__punch { margin-top: 2rem; font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }

/* --- Timeline ------------------------------------------------------------- */
.tl__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.4rem; margin-bottom: 2.4rem; }
.tl__track::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--line); }
.tl__btn { position: relative; background: transparent; border: 0; cursor: pointer; padding-top: 0; text-align: center; color: var(--muted); }
.tl__btn i { display: block; width: 16px; height: 16px; margin: 14px auto 0.7rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); position: relative; z-index: 1; transition: all 0.2s ease; }
.tl__btn span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; display: block; }
.tl__btn:hover i { border-color: var(--accent); }
.tl__btn[aria-selected="true"] { color: var(--fg); }
.tl__btn[aria-selected="true"] i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(68,255,0,.14); }
.tl__panel { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .tl__panel { grid-template-columns: 0.9fr 1.1fr; } }
.tl__vis {
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface);
  padding: 1.4rem; min-height: 210px; display: grid; place-items: center; text-align: center;
}
.tl__vis .mini-ring { width: 92px; }
.tl__vis p { font-size: 0.86rem; color: var(--muted); margin-top: 0.8rem; }
.tl__vis strong { font-size: 1.05rem; }
.tl__copy h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.tl__copy p { color: var(--muted); max-width: 46ch; }
.tl__copy .label { display: block; margin-bottom: 0.7rem; }

/* --- Features als Boarding-Pässe ------------------------------------------ */
.feat-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
  overflow: hidden; transition: border-color 0.18s ease, transform 0.18s ease;
}
.feat:hover { border-color: var(--accent); transform: translateY(-3px); }
.feat[open] { border-color: var(--accent); }
.feat > summary { cursor: pointer; list-style: none; padding: 1.25rem 1.3rem; display: grid; gap: 0.45rem; }
.feat > summary::-webkit-details-marker { display: none; }
.feat__no { font-family: var(--mono); font-size: 0.66rem; color: var(--accent); letter-spacing: 0.14em; display: flex; justify-content: space-between; align-items: center; }
.feat__no::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--muted); }
.feat[open] .feat__no::after { content: "–"; }
.feat h3 { font-size: 1.08rem; }
.feat__body { padding: 0 1.3rem 1.3rem; }
.feat__body p { font-size: 0.92rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 0.85rem; }
.feat--wide { grid-column: span 1; }
@media (min-width: 1040px) { .feat--wide { grid-column: span 2; } }

/* Monitor-Umschalter */
.monitors { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .monitors { grid-template-columns: 0.75fr 1.25fr; } }
.mon-stage { display: flex; gap: 0.8rem; align-items: flex-end; justify-content: center; min-height: 150px; }
.mon {
  border: 2px solid var(--line); border-radius: 6px; background: var(--surface);
  aspect-ratio: 16/10; width: clamp(90px, 15vw, 150px); position: relative; overflow: hidden;
  display: grid; place-items: center; transition: all 0.25s ease;
}
.mon.is-alarm { background: #000; border-color: var(--green-lm); }
.mon .mon-ring { width: 34%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--green-lm); opacity: 0; transition: opacity 0.25s ease; }
.mon.is-alarm .mon-ring { opacity: 1; }
.mon::after { content: ""; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); width: 30%; height: 5px; background: var(--line); border-radius: 0 0 3px 3px; }

/* --- Galerie -------------------------------------------------------------- */
.gal { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .gal { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .gal { grid-template-columns: repeat(3, 1fr); } }
.shot { border: 0; padding: 0; background: transparent; cursor: zoom-in; text-align: left; display: grid; gap: 0.6rem; }
.shot img { border-radius: 10px; border: 1px solid rgba(255,255,255,.14); width: 100%; height: auto; transition: transform 0.2s ease, border-color 0.2s ease; }
.shot:hover img { transform: translateY(-4px); border-color: var(--accent); }
.shot figcaption { font-size: 0.85rem; color: var(--muted); }
.shot figcaption b { color: var(--fg); font-weight: 650; display: block; font-size: 0.9rem; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(4px); }
.lightbox img { border-radius: 12px; max-height: 82vh; width: auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 0.2rem; color: #fff; font-size: 0.9rem; }
.lightbox__bar button { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--r-pill); padding: 0.3rem 0.9rem; cursor: pointer; }
.lightbox__bar button:hover { border-color: var(--green-dm); color: var(--green-dm); }

/* --- Quick Start ---------------------------------------------------------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); padding: 1.5rem 1.5rem 1.4rem;
}
.step__no { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--accent); }
.step h3 { margin: 0.6rem 0 0.5rem; font-size: 1.12rem; }
.step p { font-size: 0.94rem; color: var(--muted); }
.step .ui { font-family: var(--mono); font-size: 0.85rem; background: rgba(0,0,0,.06); border: 1px solid var(--line); border-radius: 5px; padding: 0.05rem 0.35rem; white-space: nowrap; }
.stage .step .ui { background: rgba(255,255,255,.08); }
.steps__foot { margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); }

/* --- Privatsphäre --------------------------------------------------------- */
.privacy__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .privacy__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.priv-list { display: grid; gap: 0.9rem; }
.priv-list li { display: flex; gap: 0.8rem; align-items: flex-start; list-style: none; font-size: 0.98rem; }
.priv-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2.4; }
.priv-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem; background: var(--surface); }
.priv-card .label { display: block; margin-bottom: 0.8rem; }
.priv-card__big { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.priv-card p { margin-top: 0.8rem; color: var(--muted); font-size: 0.92rem; }

/* --- Preis & Haltung ------------------------------------------------------ */
.price__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 940px) { .price__grid { grid-template-columns: 0.85fr 1.15fr; } }
.price-box { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--surface); text-align: center; }
.price-box__val { font-size: clamp(3.2rem, 8vw, 5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price-box input[type="range"] { width: 100%; margin: 1.6rem 0 0.6rem; accent-color: var(--green-lm); }
.price-box__hint { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); min-height: 2.6em; }
.maker__sig { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.maker__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-weight: 800; letter-spacing: -0.02em; flex: none; }
.maker__sig b { display: block; font-size: 1rem; }
.maker__sig span { font-size: 0.85rem; color: var(--muted); }
.maker__sig a { color: var(--muted); }
.maker__sig a:hover { color: var(--accent); }
.maker blockquote { border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 1.4rem 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.bmc {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem;
  border: 1.5px dashed var(--line); border-radius: var(--r-pill); padding: 0.6rem 1.15rem;
  text-decoration: none; font-size: 0.92rem; font-weight: 600; transition: all 0.18s ease;
}
.bmc:hover { border-style: solid; border-color: var(--accent); color: var(--accent); }
.bmc small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--muted); }
.bmc:hover small { color: inherit; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 850px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 2.5rem 1.35rem 0; color: var(--muted); max-width: 68ch; }
.faq__a p + p { margin-top: 0.7rem; }

/* --- Final CTA & Footer --------------------------------------------------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: auto -25% -70% -25%; height: 760px;
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(68,255,0,.18), rgba(68,255,0,.05) 45%, transparent 76%);
}
.final .wrap { position: relative; }
.final h2 { margin-bottom: 1.1rem; }
.final .cta-row { justify-content: center; margin: 2rem 0 1.2rem; }
.final .lead { margin-inline: auto; max-width: 46ch; }

.site-footer { border-top: 1px solid rgba(255,255,255,.14); padding-block: 3rem 2.5rem; font-size: 0.9rem; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer p { color: rgba(255,255,255,.6); max-width: 40ch; }
.site-footer h4 { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--green-dm); }
.footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 0.82rem; }
/* Sprachwahl: die aktive Sprache trägt die Akzentfarbe, die anderen sind Links. */
.lang-switch { display: inline-flex; gap: 0.9rem; }
.lang-switch a { text-decoration: none; }
.lang-switch a:hover { color: var(--green-dm); text-decoration: underline; }
.lang-switch a[aria-current] { color: var(--green-dm); font-weight: 600; }

/* --- Reduzierte Bewegung -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .btn:hover, .feat:hover, .shot:hover img { transform: none; }
}

/* --- Unterseiten (Support, Datenschutz, Impressum) ------------------------ */
.doc { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); }
.doc__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.doc__head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 0.9rem; }
.doc__head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.doc__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .doc__grid { grid-template-columns: 250px minmax(0, 1fr); } }
.toc { position: sticky; top: 88px; border-left: 2px solid var(--line); padding-left: 1.1rem; }
.toc h2 { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; margin-bottom: 0.9rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.toc a { text-decoration: none; font-size: 0.88rem; color: var(--muted); }
.toc a:hover { color: var(--accent); }
@media (max-width: 939px) { .toc { position: static; } }

.doc__body { max-width: 74ch; }
.doc__body section { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.doc__body section:first-of-type { border-top: 0; padding-top: 0; }
.doc__body h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.doc__body h3 { margin: 1.4rem 0 0.5rem; font-size: 1.05rem; }
.doc__body p, .doc__body li { color: var(--muted); }
.doc__body p + p, .doc__body ul, .doc__body ol { margin-top: 0.8rem; }
.doc__body ul, .doc__body ol { padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.doc__body strong { color: var(--fg); }
.doc__body a { color: var(--accent); text-underline-offset: 3px; }
.doc__body dl { margin-top: 0.9rem; }
.doc__body dt { font-weight: 700; color: var(--fg); margin-top: 0.7rem; }
.doc__body dd { margin: 0.15rem 0 0; color: var(--muted); }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 1.1rem 1.2rem; background: var(--surface); margin-top: 1.2rem; }
.callout p { color: var(--fg); }
.doc__meta { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); margin-top: 2.5rem; }

/* ==========================================================================
   Stile — acht Grafik-Stile, überall über Tokens gesteuert.
   Jeder Stil liefert: Markenfarbe (hell/dunkel), Schrift, Radius, Alarm-Bühne.
   Eine eigene Akzentfarbe (--user-accent) sticht die Markenfarbe.
   ========================================================================== */
:root {
  --brand-dark: #44ff00;      /* Akzent auf dunklem Grund */
  --brand-light: #3ec00f;     /* Akzent auf hellem Grund */
  --brand-deep: #2e9a0b;
  --font-display: var(--font-head);
  --alarm-bg: radial-gradient(circle at 50% 0%, rgba(46,154,11,.28), #000 62%), #000;
  --ticket-bg: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  --ticket-border: rgba(68,255,0,.28);
  --ticket-radius: 16px;
  --ticket-weight: 800;
  --alarm-deco: none;
  --style-name: "Modern";
}
.stage { --accent: var(--user-accent, var(--brand-dark)); }
.paper, .paper--grey { --accent: var(--user-accent, var(--brand-light)); }
.display, h2, h3, .ticket__title, .price-box__val, .doc__head h1 { font-family: var(--font-display); }

/* 2 — Business Casual: gedeckt, seriös, Serifen-Display */
[data-theme="business"] {
  --brand-dark: #8fb4ff; --brand-light: #2f5fd0; --brand-deep: #1f4099;
  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --alarm-bg: linear-gradient(180deg, #0d1526, #060a12 70%);
  --ticket-bg: rgba(255,255,255,.05);
  --ticket-border: rgba(143,180,255,.32);
  --ticket-radius: 6px; --ticket-weight: 700;
  --r-card: 8px; --style-name: "Business Casual";
}
/* 3 — Verspielt: rund, warm, mit Schwung */
[data-theme="playful"] {
  --brand-dark: #ffd23f; --brand-light: #c98a00; --brand-deep: #a06f00;
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --alarm-bg: radial-gradient(circle at 30% 10%, rgba(255,80,160,.35), transparent 55%), radial-gradient(circle at 75% 80%, rgba(255,210,63,.3), transparent 60%), #1b1035;
  --ticket-bg: rgba(255,255,255,.09);
  --ticket-border: rgba(255,210,63,.45);
  --ticket-radius: 26px; --r-card: 24px; --r-pill: 999px;
  --style-name: "Verspielt";
}
/* 4 — For Kids: dicke Konturen, knallige Farben, große Flächen */
[data-theme="kids"] {
  --brand-dark: #37e5ff; --brand-light: #0083a3; --brand-deep: #006c86;
  --font-display: ui-rounded, "SF Pro Rounded", "Comic Sans MS", system-ui, sans-serif;
  --font: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --alarm-bg: radial-gradient(circle at 20% 15%, rgba(255,110,199,.4), transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,214,0,.35), transparent 50%), radial-gradient(circle at 50% 90%, rgba(55,229,255,.35), transparent 55%), #101d4a;
  --ticket-bg: rgba(255,255,255,.12);
  --ticket-border: rgba(255,214,0,.75);
  --ticket-radius: 30px; --r-card: 26px; --ticket-weight: 900;
  --style-name: "For Kids";
}
[data-theme="kids"] .ticket { border-width: 3px; }
[data-theme="kids"] .btn { border-width: 2.5px; }
/* 5 — Pink: satt, weich, mit Leuchten */
[data-theme="pink"] {
  --brand-dark: #ff6fd8; --brand-light: #c4108f; --brand-deep: #99086f;
  --alarm-bg: radial-gradient(circle at 50% 0%, rgba(255,111,216,.32), transparent 60%), linear-gradient(180deg, #1d0619, #0a0209 75%);
  --ticket-bg: linear-gradient(180deg, rgba(255,111,216,.12), rgba(255,255,255,.03));
  --ticket-border: rgba(255,111,216,.4);
  --ticket-radius: 22px; --r-card: 20px;
  --style-name: "Pink";
}
/* 6 — Mono: Schwarz-Weiß, Schweizer Strenge, kein Schnickschnack */
[data-theme="mono"] {
  --brand-dark: #ffffff; --brand-light: #000000; --brand-deep: #333333;
  --alarm-bg: #000;
  --ticket-bg: transparent;
  --ticket-border: rgba(255,255,255,.5);
  --ticket-radius: 0px; --r-card: 0px; --r-pill: 0px;
  --style-name: "Mono";
}
[data-theme="mono"] .ring .prog { filter: none; }
/* 7 — Retro Terminal: Phosphor, Monospace, Rasterzeilen */
[data-theme="terminal"] {
  --brand-dark: #4dff88; --brand-light: #0f7a34; --brand-deep: #0a5a26;
  --font-display: var(--mono); --font: var(--mono);
  --alarm-bg: linear-gradient(180deg, #06140c, #020805 80%);
  --ticket-bg: rgba(77,255,136,.06);
  --ticket-border: rgba(77,255,136,.5);
  --ticket-radius: 2px; --r-card: 3px; --r-pill: 3px;
  --alarm-deco: repeating-linear-gradient(180deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
  --style-name: "Retro Terminal";
}
/* 8 — Sunset: warm, weich, augenfreundlich am Abend */
[data-theme="sunset"] {
  --brand-dark: #ffb26b; --brand-light: #b45c07; --brand-deep: #8f4805;
  --alarm-bg: radial-gradient(circle at 50% 5%, rgba(255,140,50,.3), transparent 62%), linear-gradient(180deg, #1d0f06, #0a0603 78%);
  --ticket-bg: linear-gradient(180deg, rgba(255,178,107,.1), rgba(255,255,255,.03));
  --ticket-border: rgba(255,178,107,.36);
  --ticket-radius: 18px; --style-name: "Sunset";
}

/* Stil-Tokens auf die bestehenden Bausteine anwenden */
.brand-mark-ring { stroke: var(--brand-dark); }
.hero::before {
  background:
    radial-gradient(ellipse 42% 32% at 34% 30%, color-mix(in srgb, var(--brand-dark) 20%, transparent), transparent 72%),
    radial-gradient(ellipse 72% 54% at 30% 33%, color-mix(in srgb, var(--brand-dark) 10%, transparent), color-mix(in srgb, var(--brand-dark) 3%, transparent) 55%, transparent 80%);
}
.final::before { background: radial-gradient(ellipse 80% 70% at 50% 100%, color-mix(in srgb, var(--brand-dark) 18%, transparent), color-mix(in srgb, var(--brand-dark) 5%, transparent) 45%, transparent 76%); }
.hero__eyebrow .dot { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.alarm { background: var(--alarm-deco), var(--alarm-bg); }
.ticket { background: var(--ticket-bg); border-color: var(--ticket-border); border-radius: var(--ticket-radius); }
.ticket__title { font-weight: var(--ticket-weight); }
.status-pill { border-color: color-mix(in srgb, var(--brand-dark) 45%, transparent); background: color-mix(in srgb, var(--brand-dark) 10%, transparent); color: var(--brand-dark); }
.status-pill .dot { background: var(--brand-dark); }
.ring .prog { stroke: var(--accent); }
.ring__num { color: var(--accent); }
.btn--green { background: var(--accent); border-color: var(--accent); color: #04140a; }
[data-theme="mono"] .btn--green { color: #000; }
.mon.is-alarm { border-color: var(--accent); }
.mon .mon-ring { border-color: var(--accent); }
.usp__num, .feat__no, .step__no { color: var(--accent); }

/* --- Stil-Wähler ---------------------------------------------------------- */
.styler__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 980px) { .styler__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.style-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.style-chip {
  display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer;
  border: 1.5px solid var(--line); background: transparent; color: var(--fg);
  border-radius: var(--r-pill); padding: 0.45rem 0.95rem 0.45rem 0.55rem; font-size: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.style-chip:hover { border-color: var(--accent); }
.style-chip[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-weight: 650; }
.style-chip i { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.25); }
.styler__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-bottom: 1.1rem; }
.styler__row .label { flex: none; }
.color-field { display: inline-flex; align-items: center; gap: 0.5rem; }
.color-field input[type="color"] { width: 44px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 0.85rem; padding: 0; }
.linkish:hover { color: var(--accent); }
.file-field { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.file-field input[type="file"] { max-width: 235px; font-size: 0.82rem; color: var(--muted); }
.file-field input[type="file"]::file-selector-button {
  border: 1.5px solid var(--line); background: transparent; color: var(--fg);
  border-radius: var(--r-pill); padding: 0.3rem 0.8rem; margin-right: 0.6rem; cursor: pointer; font-size: 0.82rem;
}
.file-field input[type="file"]::file-selector-button:hover { border-color: var(--accent); }
.styler__hint { font-size: 0.86rem; color: var(--muted); margin-top: 0.8rem; max-width: 52ch; }
.preview-frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.preview-frame .alarm { position: relative; opacity: 1; visibility: visible; padding: clamp(1.2rem, 3vw, 2rem); }
.ticket__logo { max-height: 40px; max-width: 160px; margin: 0 auto 0.7rem; object-fit: contain; }

/* ==========================================================================
   Lesbarkeit für ADHS-Gehirne
   Belegt durch Praxisleitfäden zu kognitiver Barrierefreiheit: kurze Häppchen
   statt Fließtext, sichtbare Kernaussage pro Block, Zusammenfassung vorweg,
   ruhige Flächen, Nutzerkontrolle über Bewegung.
   ========================================================================== */

/* Kernaussage optisch markieren — sparsam einsetzen */
mark.hl {
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  color: inherit; padding: 0.05em 0.25em; border-radius: 4px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.stage mark.hl { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* „Kurz gesagt“ — Zusammenfassung vor dem Detail */
.tldr {
  display: grid; gap: 0.5rem; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--r-card); padding: 1.15rem 1.3rem; background: var(--surface); margin-bottom: 1.8rem;
}
.tldr .label { color: var(--accent); }
.tldr p { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); line-height: 1.45; }

/* Fakt-Karten statt Absatzwüste */
.keypoints { display: grid; gap: 0.9rem; }
@media (min-width: 620px) { .keypoints--2 { grid-template-columns: repeat(2, 1fr); } }
.keypoint {
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.2rem 1.3rem;
  background: var(--surface); display: grid; gap: 0.5rem; align-content: start;
}
.keypoint__no { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--accent); }
.keypoint h4 { font-size: 1.05rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.3; }
.keypoint p { font-size: 0.95rem; line-height: 1.55; color: var(--muted); }
.keypoint p + p { margin-top: 0.5rem; }

/* Fließtext generell luftiger und schmaler */
.prose { max-width: 58ch; line-height: 1.7; }
.prose p { margin-bottom: 0.9rem; }

/* Bewegungsschalter */
.toggle-row { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.92rem; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i {
  width: 42px; height: 24px; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; position: relative; transition: border-color 0.15s ease, background 0.15s ease; flex: none;
}
.switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--muted); transition: transform 0.18s ease, background 0.18s ease;
}
.switch input:checked + i { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--accent); }
.switch input:focus-visible + i { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Nutzergesteuerte Ruhe: schaltet jede Bewegung ab */
:root.calm *, :root.calm *::before, :root.calm *::after {
  animation-duration: 0.001ms !important; transition-duration: 0.001ms !important;
}
:root.calm .btn:hover, :root.calm .feat:hover, :root.calm .shot:hover img { transform: none; }

/* ==========================================================================
   Überarbeitung nach Durchsicht: Slop raus, Eigenheiten rein
   ========================================================================== */

/* 1 — Der Simulator ist EIN Gerät, nicht Fenster plus lose Knöpfe darunter */
.rig { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.rig .macwin { border-radius: 0; box-shadow: none; border: 0; }
.rig__panel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem;
  padding: 0.9rem 1.1rem; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.rig__trigger {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: #08110a; border: 0; border-radius: 6px;
  padding: 0.62rem 1.1rem; cursor: pointer; font-weight: 700;
  transition: background 0.18s ease;
}
.rig__trigger::before { content: "▶ "; }
.rig__trigger:hover { background: color-mix(in oklab, var(--accent) 80%, #000); }
.sim-controls { margin-top: 0; }

/* Der Kalender liegt offen im Hintergrund. Genau das ist ja das Problem. */
.fakewin--cal { inset: 30% 5% 9% 41%; }
.fakewin--cal .fakewin__bar span { margin-left: auto; font-family: var(--mono); font-size: 0.58rem; color: rgba(255,255,255,.38); }
.calgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.calgrid span { height: clamp(9px, 1.6vw, 15px); border-radius: 2px; background: rgba(255,255,255,.05); }
.calgrid .ev { background: rgba(255,255,255,.13); }
.calgrid .ev--a { background: color-mix(in srgb, var(--accent) 26%, transparent); }
.calgrid .ev--now { background: var(--accent); }

/* 2 — „Kurz gesagt“ ohne Kasten und ohne farbigen Seitenstreifen */
.tldr { border: 0; background: none; border-radius: 0; padding: 0; margin-bottom: 2.4rem; display: block; }
.tldr .label { display: block; margin-bottom: 0.9rem; color: var(--muted); }
.tldr p {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15; color: var(--fg); max-width: 22ch;
}

/* 3 — Ziffern nicht mehr in Mono-Grün */
.keypoint__no, .feat__no, .step__no, .usp__num {
  font-family: var(--font); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.keypoint__no { font-size: 0.76rem; }
.feat__no::after { color: var(--muted); }

/* 4 — Fragen zweispaltig, links bleibt der Kontakt stehen */
.faq-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 940px) { .faq-layout { grid-template-columns: 0.72fr 1.28fr; } }
.faq-aside .label { display: block; margin-bottom: 0.9rem; }
.faq-aside h2 { margin-bottom: 2rem; }
@media (min-width: 940px) { .faq-aside { position: sticky; top: 96px; } }
.faq-ask { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.faq-ask p { font-weight: 700; font-size: 1.02rem; }
.faq-ask a { display: inline-block; margin: 0.4rem 0 0.7rem; color: var(--accent); text-underline-offset: 3px; }
.faq-ask span { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.55; max-width: 34ch; }
.faq { max-width: none; }

/* 5 — Zitat ohne Seitenstreifen: Größe trägt die Aussage */
.maker blockquote {
  border-left: 0; padding-left: 0; margin: 2rem 0;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.25; max-width: 24ch;
}
.maker blockquote::before { content: ""; display: block; width: 46px; height: 3px; background: var(--accent); margin-bottom: 1.1rem; }

/* 6 — Porträt statt Initialen */
.maker__avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.maker__sig { gap: 1.2rem; }

/* 7 — Bildschirm-Vergleich: Banner gegen Übernahme, nicht ein Zähler für Monitore */
.desks { margin-top: clamp(3rem, 6vw, 5rem); }
.desks__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 860px) { .desks__head { grid-template-columns: 1fr auto; align-items: end; } }
.desks__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; }

.desk-row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(0.6rem, 1.6vw, 1.4rem); padding-bottom: 1.4rem; }
.scr { display: grid; justify-items: center; }
.scr__glass {
  position: relative; overflow: hidden; background: #0d100e;
  border: 1px solid var(--line); border-radius: 6px;
  display: grid; place-items: center;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
}
.scr--side .scr__glass { width: clamp(96px, 15vw, 210px); aspect-ratio: 16/10; }
.scr--main .scr__glass { width: clamp(150px, 26vw, 360px); aspect-ratio: 16/9; }
.scr--laptop .scr__glass { width: clamp(110px, 17vw, 240px); aspect-ratio: 16/10.5; border-radius: 8px 8px 3px 3px; }
.scr__foot { width: 22%; height: 12px; background: var(--line); border-radius: 0 0 3px 3px; }
.scr__foot--wide { width: 30%; height: 16px; }
/* Der Laptop-Fuß ragt bewusst über das Display hinaus. Auf Telefonen schob er
   die Seite dabei um 2 px auf — dort bündig setzen. */
.scr__base { width: 118%; height: 7px; background: var(--line); border-radius: 0 0 7px 7px; }
@media (max-width: 560px) { .scr__base { width: 100%; } }

/* Zustand „Systembenachrichtigung“: winziges Banner, nur auf einem Schirm */
.scr__toast {
  position: absolute; top: 7%; right: 5%; max-width: 62%;
  background: rgba(245,245,245,.94); color: #14170f;
  font-size: clamp(0.42rem, 0.85vw, 0.6rem); line-height: 1.25;
  padding: 0.3em 0.5em; border-radius: 4px;
  opacity: 1; transition: opacity 0.35s var(--ease);
}
.scr__ring {
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid var(--accent); border-right-color: transparent;
  opacity: 0; transform: rotate(-35deg); transition: opacity 0.45s var(--ease);
}
/* Zustand „Unforget“: alle Flächen kippen gleichzeitig */
.desks[data-mode="unforget"] .scr__glass { background: #05070500; border-color: var(--accent); }
.desks[data-mode="unforget"] .scr__glass { background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%), #060806; }
.desks[data-mode="unforget"] .scr__ring { opacity: 1; }
.desks[data-mode="unforget"] .scr__toast { opacity: 0; }
.desks__hint { color: var(--muted); max-width: 56ch; font-size: 0.98rem; line-height: 1.6; }

/* 8 — Preis ohne Spielerei: die Zahl steht für sich */
.price-box { border: 0; background: none; padding: 0; text-align: left; }
.price-box .label { display: block; margin-bottom: 0.8rem; }
.price-box__val { font-size: clamp(4.5rem, 11vw, 8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--fg); }
.price-box__sub { margin-top: 1.4rem; color: var(--muted); max-width: 34ch; line-height: 1.6; }

/* 9 — Statt Fake-Desktop: die Tagesansicht, in der der Termin näherrückt */
.agenda { position: absolute; inset: 5% 5% 16%; display: flex; flex-direction: column; gap: 0; font-family: var(--mono); }
.agenda__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: clamp(0.52rem, 0.9vw, 0.68rem); color: rgba(255,255,255,.42);
  padding-bottom: 0.5rem; margin-bottom: 0.35rem; border-bottom: 1px solid rgba(255,255,255,.1);
  letter-spacing: 0.06em;
}
.agenda__row { display: grid; grid-template-columns: 3.2rem 1fr; align-items: center; gap: 0.7rem; flex: 1; min-height: 0; }
.agenda__time { font-size: clamp(0.48rem, 0.85vw, 0.62rem); color: rgba(255,255,255,.3); }
.agenda__slot { height: 100%; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.055); }
.agenda__busy { height: 42%; min-height: 6px; border-radius: 2px; background: rgba(255,255,255,.07); }
.agenda__row--event .agenda__slot { border-top-color: transparent; }
.agenda__event {
  display: flex; align-items: center; width: 78%; height: 76%; min-height: 18px;
  padding: 0 0.6rem; border-radius: 3px; font-size: clamp(0.5rem, 0.95vw, 0.68rem); font-weight: 700;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border-left: 3px solid var(--accent); color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.agenda__marker { position: absolute; left: 3.2rem; right: 0; top: var(--pos, 57%); height: 1px; background: var(--accent); }
.agenda__marker::before { content: ""; position: absolute; left: -4px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.macwin.is-alarm .agenda { opacity: 0.2; }
.agenda { transition: opacity 0.35s ease; }

/* 10 — hidden muss hidden bleiben: der Reset setzt img auf display:block und
   überstimmt sonst das hidden-Attribut (das Logo-Bild blitzte als Bruchsymbol auf) */
[hidden] { display: none !important; }

/* 11 — Der Alarm muss vollständig in die Fensterfläche passen, nichts abschneiden */
.macwin__desk { aspect-ratio: 16 / 11.2; }
#alarm .alarm__in { width: min(100%, 520px); }
#alarm .ticket__top { padding-block: clamp(0.55rem, 1.5vw, 1rem); }
#alarm .ticket__msg { font-size: clamp(0.7rem, 1.1vw, 0.86rem); }
#alarm .ticket__title { font-size: clamp(1rem, 2.3vw, 1.55rem); margin-top: 0.3rem; }
#alarm .ticket__chip { margin-top: 0.5rem; padding: 0.2rem 0.7rem; font-size: clamp(0.58rem, 0.95vw, 0.7rem); }
#alarm .ticket__notes { margin-top: 0.35rem; font-size: clamp(0.56rem, 0.9vw, 0.68rem); }
#alarm .ticket__bottom { padding-block: clamp(0.55rem, 1.4vw, 0.95rem); gap: clamp(0.8rem, 3vw, 2rem); }
#alarm .ring { width: clamp(68px, 9.5vw, 98px); }
#alarm .ring__num { font-size: clamp(0.85rem, 1.7vw, 1.2rem); }
#alarm .alarm__actions { margin-top: 0.7rem; gap: 0.4rem; }
#alarm .alarm__actions .btn { padding: 0.38rem 0.8rem; font-size: clamp(0.64rem, 1.05vw, 0.78rem); }
#alarm .alarm__foot { margin-top: 0.55rem; font-size: 0.58rem; }
#alarm .status-pill { font-size: 0.55rem; padding: 0.24rem 0.7rem; }
#alarm .ticket__logo { max-height: 26px; margin-bottom: 0.45rem; }


/* 12 — Stil-Vorschau ist ein eigener Geltungsbereich: Die Auswahl im
   Stil-Abschnitt färbt nur die Vorschau, nicht die ganze Seite. */
[data-theme] { --accent: var(--user-accent, var(--brand-dark)); }

/* 13 — Kein nachgebautes Mac-Fenster mehr. Die Simulation zeigt sich als das,
   was sie ist: eine Messfläche mit technischer Kopf- und Fußzeile. Ohne festes
   Seitenverhältnis kann nichts mehr abgeschnitten werden, weil die Fläche mit
   dem Inhalt wächst (Agenda und Alarm teilen sich dieselbe Rasterzelle). */
.sim { position: relative; }
.sim__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); padding: 0.65rem 0.95rem; border-bottom: 1px solid var(--line);
}
.sim__stage { position: relative; display: grid; background: #0a0c0a; overflow: hidden; }
.sim__stage > .agenda, .sim__stage > .alarm { grid-area: 1 / 1; }

/* Agenda liegt jetzt im Fluss statt absolut */
.sim .agenda { position: relative; inset: auto; padding: clamp(0.9rem, 2vw, 1.4rem); min-height: clamp(300px, 30vw, 430px); }
.sim .agenda__marker { left: calc(3.2rem + clamp(0.9rem, 2vw, 1.4rem)); right: clamp(0.9rem, 2vw, 1.4rem); }

/* Alarm bestimmt die Höhe mit, wird aber nur bei Bedarf sichtbar */
.sim .alarm { position: relative; inset: auto; padding: clamp(1rem, 2.4vw, 1.8rem); align-content: center; }
.sim .alarm:not(.is-on) { pointer-events: none; }
#alarm .alarm__in { width: min(100%, 540px); }
.sim .desk-hint { position: absolute; left: clamp(0.9rem, 2vw, 1.4rem); bottom: clamp(0.9rem, 2vw, 1.4rem); }

/* 14 — Eine Warnung muss man sehen: eigener Zustand statt grauer Hinweiszeile */
.styler__hint.is-warn {
  color: #ffd34d; font-weight: 700; border: 1px solid #ffd34d; border-radius: 8px;
  padding: 0.7rem 0.9rem; display: flex; gap: 0.55rem; align-items: flex-start;
  background: rgba(255, 211, 77, 0.08);
}
.styler__hint.is-warn::before { content: "!"; font-family: var(--mono); font-weight: 700; flex: none; }

/* 15 — Lightbox: Der Reset (* { margin: 0 }) hat das margin:auto des Browsers
   überschrieben, dadurch klebte der Dialog in der Ecke. Außerdem gehört die
   Bedienleiste unter das Bild, nicht darüber. */
dialog.lightbox { margin: auto; padding: 0; border: 0; }
dialog.lightbox[open] { display: flex; flex-direction: column; gap: 0.2rem; }
.lightbox img { order: 1; max-height: 80vh; max-width: 94vw; width: auto; height: auto; margin-inline: auto; }
.lightbox__bar { order: 2; padding: 0.9rem 0.4rem 0.2rem; }
.lightbox__bar span:first-child { font-weight: 650; }
