/* ============================================================
   RETOV – shared building blocks (24.10.2026)

   Owner: "können wir die retov seite besser machen und benutzer auch alles
   freundlicher machen" -- preview approved. Loaded AFTER site.css and uses
   its tokens (--ink, --paper, --edge, --bone, --mute, --violet = the RETOV
   orange). What lives here:

     * ONE header for every page, with a menu on phones. Before, every page
       had its own set of links, and below 820 px the subpages had none at
       all (site.css hid .bar-nav without a replacement).
     * The blocks of the start page, the team page and the account page.

   The phone menu is a <details> element: it opens without a line of
   JavaScript -- the start page loads no script (tests/websitetest.mjs).
   ============================================================ */

:root { --text-hell: #ecdbe6; --gut: #5FBF7F; --warn: #E0B341; --rot: #F2624F; }

/* hidden MEANS hidden -- also on elements that set their own display
   (buttons, grids). Without this, konto.js hid "Link neu schicken" and it
   stayed on screen. */
[hidden] { display: none !important; }

/* ── header ──────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,9,31,.86); border-bottom: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding-inline: var(--gutter);
}
/* the start page: the header lies on the picture */
.start .kopf { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.kopf-innen { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 24px; height: 64px; }
.marke {
  display: flex; align-items: center; gap: 0;
  font: 700 25px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--bone);
}
.marke span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { font-size: 14.5px; font-weight: 500; color: #f1dde8; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.menue { display: none; margin-left: auto; }
.menue > summary {
  list-style: none; cursor: pointer; user-select: none;
  border: 1px solid var(--edge); border-radius: 10px; padding: 8px 14px;
  font: 600 14px var(--body); color: var(--bone);
}
.menue > summary::-webkit-details-marker { display: none; }
.menue[open] > summary { border-color: var(--violet); }
.menue nav {
  position: absolute; left: 0; right: 0; top: 64px;
  display: flex; flex-direction: column; background: var(--ink);
  border-bottom: 1px solid var(--edge); padding: 6px var(--gutter) 18px;
}
.menue nav a { padding: 13px 0; border-bottom: 1px solid var(--edge); color: var(--bone); font-size: 16px; }
.menue nav .knopf { margin-top: 14px; justify-content: center; border-bottom: 0; }
/* dark on the glow -- `.menue nav a` would make it light (measured 2.3:1 on the live page) */
.menue nav .knopf-voll { color: #1e0716; }
@media (max-width: 860px) { .kopf .nav { display: none; } .menue { display: block; } }

/* ── buttons ─────────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 13.5px/1.1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.knopf-voll { background: var(--grad); color: #1e0716; box-shadow: 0 10px 28px -10px rgba(255,61,139,.75); }
.knopf-voll:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255,61,139,.9); }
.knopf-rand { border-color: rgba(255,242,232,.5); color: var(--bone); background: rgba(18,9,31,.25); }
.knopf-rand:hover { border-color: var(--bone); }
.knopf:disabled { opacity: .5; cursor: default; }
.nav .knopf { color: #1e0716; padding: 11px 18px; font-size: 12.5px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

/* ── page frame and type ─────────────────────────────────────── */
.seite { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--violet-lite); }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 34px; height: 2px;
  margin-right: 12px; background: var(--grad); }
.seite h1, .seite h2, .seite h3 { font-family: var(--display); font-weight: 700; letter-spacing: .005em; text-wrap: balance;
  text-transform: uppercase; }
/* the page title in the evening sky: gold above, magenta below */
.seite h1 { font-size: clamp(40px, 7vw, 84px); line-height: .95;
  background: var(--sonne); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seite h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1; }
.seite h3 { font-size: 22px; line-height: 1.15; }
.leise { color: var(--mute); }
.abschnitt { padding-block: 60px; border-top: 1px solid var(--edge); }
.abschnitt-kopf { display: grid; gap: 10px; max-width: 660px; margin-bottom: 30px; }

.held { padding-block: 72px 52px; display: grid; gap: 22px; }
.held .lead { font-size: 19px; max-width: 58ch; color: var(--text-hell); }
.held h1 em { font-style: normal; color: inherit; }
.sprung { font-size: 15px; color: var(--mute); }
.sprung a { color: var(--violet-lite); }

/* the two ways in */
.wege { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 14px; }
.weg { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; padding: 30px;
  background: var(--paper); border: 1px solid var(--edge); border-radius: 22px; }
.weg > * { position: relative; }
.weg-spieler { border-color: rgba(255,61,139,.45);
  background: linear-gradient(160deg, #3a1440 0%, var(--paper) 58%); }
/* a sun going down behind the player's card */
.weg-spieler::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -150px;
  border-radius: 50%; background: var(--sonne); opacity: .33; filter: blur(6px); }
.seite .weg h3 { font-size: clamp(28px, 3vw, 38px); line-height: .98; }
.weg ul { list-style: none; padding: 0; color: var(--text-hell); font-size: 15.5px; display: grid; gap: 7px; }
.weg li { position: relative; padding-left: 22px; }
.weg li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--grad); }
.weg .knopf { justify-self: start; margin-top: 6px; }
@media (max-width: 760px) { .wege { grid-template-columns: 1fr; } }

/* steps -- .step / .step-num are what tests/websitetest.mjs counts */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; }
.step { padding: 22px 0 0; border-top: 2px solid var(--edge); display: grid; gap: 10px; align-content: start; }
.step-num { font: 700 104px/.82 var(--display); background: var(--sonne); -webkit-background-clip: text; background-clip: text;
  color: transparent; justify-self: start; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.step p { color: var(--text-hell); font-size: 15.5px; }
.step code, .code { font: 500 14px var(--mono); background: rgba(63,224,208,.08); border: 1px solid rgba(63,224,208,.25);
  padding: 1px 6px; border-radius: 6px; color: var(--aqua); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--edge);
  border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; }
.fakt { background: var(--paper); padding: 26px 24px; display: grid; gap: 6px; }
.fakt b { font: 700 clamp(40px, 5.4vw, 60px)/.95 var(--display); color: var(--gold); white-space: nowrap;
  text-shadow: 0 0 26px rgba(255,154,60,.45); }
.fakt span { font-size: 13.5px; color: var(--mute); }
@media (max-width: 760px) { .fakten { grid-template-columns: repeat(2, 1fr); } }

.fragen { display: grid; gap: 8px; max-width: 780px; }
.fragen details { background: var(--paper); border: 1px solid var(--edge); border-radius: 16px; padding: 18px 22px; }
.fragen summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font: 700 22px/1 var(--display); color: var(--violet-lite); }
.fragen details[open] summary::after { content: "–"; }
.fragen p { margin-top: 10px; color: var(--text-hell); font-size: 15.5px; }
.fragen a { color: var(--violet-lite); }

/* ── team page ───────────────────────────────────────────────── */
.bereiche { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bereich { background: var(--paper); border: 1px solid var(--edge); border-radius: 14px; padding: 20px;
  display: grid; gap: 8px; align-content: start; }
.bereich p { font-size: 15px; color: var(--text-hell); }
.bereich .stunden { font: 500 12px var(--mono); color: var(--mute); }
@media (max-width: 900px) { .bereiche { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bereiche { grid-template-columns: 1fr; } }

.formular { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
@media (max-width: 880px) { .formular { grid-template-columns: 1fr; } }
.karte-form { display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--edge);
  border-radius: 16px; padding: 24px; }
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .zeile { grid-template-columns: 1fr; } }
.karte-form label, .feld { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.karte-form small, .hinweis { font-weight: 400; font-size: 13px; color: var(--mute); }
.karte-form input, .karte-form select, .karte-form textarea {
  font: 15px var(--body); color: var(--bone); background: var(--ink);
  border: 1px solid var(--edge); border-radius: 10px; padding: 11px 12px; width: 100%;
}
.karte-form input:focus, .karte-form select:focus, .karte-form textarea:focus { outline: none; border-color: var(--violet); }
.karte-form textarea { min-height: 110px; resize: vertical; }
.karte-form .falsch { border-color: var(--rot) !important; }
.karte-form fieldset { border: 0; display: grid; gap: 8px; }
.karte-form legend { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; font-weight: 400 !important; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; width: 100%; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--edge); border-radius: 999px; font-size: 14px; }
.chip input:checked + span { border-color: var(--violet); color: var(--violet-lite); background: rgba(255,61,139,.08); }
.chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.haken { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; color: var(--text-hell); }
.haken input { width: auto !important; margin-top: 4px; accent-color: var(--violet); }
.zaehler { font: 12px var(--mono); color: var(--mute); justify-self: end; margin-top: -10px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ablauf { display: grid; gap: 14px; }
.ablauf ol { padding-left: 20px; display: grid; gap: 10px; color: var(--text-hell); font-size: 15.5px; }
.ablauf b { color: var(--bone); }
.meldung { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.meldung[hidden] { display: none; }
.meldung-gut { background: rgba(95,191,127,.12); border: 1px solid rgba(95,191,127,.4); color: #a9e3bd; }
.meldung-schlecht { background: rgba(242,98,79,.12); border: 1px solid rgba(242,98,79,.4); color: #ffb4a8; }

/* ── account page ────────────────────────────────────────────── */
.konto-raster { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; padding-bottom: 60px; }
@media (max-width: 880px) { .konto-raster { grid-template-columns: 1fr; } }
.weg-liste { display: grid; gap: 10px; }
.station { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center;
  background: var(--paper); border: 1px solid var(--edge); border-radius: 14px; padding: 16px 18px; }
.station .punkt { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 600 14px var(--mono); border: 1px solid var(--edge); color: var(--mute); }
.station[data-zustand="erledigt"] .punkt { background: var(--gut); border-color: var(--gut); color: #0b1f12; }
.station[data-zustand="jetzt"] { border-color: rgba(255,61,139,.5); }
.station[data-zustand="jetzt"] .punkt { border-color: var(--violet); color: var(--violet-lite); }
.station[data-zustand="gesperrt"] .punkt { border-color: var(--rot); color: var(--rot); }
.station p { margin-top: 2px; font-size: 14px; color: var(--mute); }
.status { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px;
  border-radius: 999px; border: 1px solid var(--edge); color: var(--mute); white-space: nowrap; }
.status-gut { color: var(--gut); border-color: rgba(95,191,127,.45); }
.status-offen { color: var(--warn); border-color: rgba(224,179,65,.45); }
.status-schlecht { color: var(--rot); border-color: rgba(242,98,79,.45); }
@media (max-width: 560px) {
  .station { grid-template-columns: 34px 1fr; }
  .station > :last-child { grid-column: 2; justify-self: start; }
}
.seitenkarte { background: var(--paper); border: 1px solid var(--edge); border-radius: 14px; padding: 20px; display: grid; gap: 12px; }
.seitenkarte dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14.5px; }
.seitenkarte dt { color: var(--mute); }
.eingang-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; padding-bottom: 60px; }
@media (max-width: 820px) { .eingang-raster { grid-template-columns: 1fr; } }
.karte-unter { display: grid; gap: 12px; }
.textknopf { background: none; border: 0; color: var(--violet-lite); font: 500 14px var(--body); cursor: pointer; padding: 0; justify-self: start; }

/* ── footer ──────────────────────────────────────────────────── */
.fuss { margin-top: 40px; padding: 44px var(--gutter) 52px; border-top: 1px solid var(--edge);
  display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--mute);
  background: linear-gradient(180deg, var(--ink), #2a0f33 60%, #4a1338); }
.fuss a { color: var(--mute); }
.fuss a:hover { color: var(--bone); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── account page, second edition (24.10.2026) ──────────────────
   Owner: "kannst du das benutzerkonto schöner machen und benutzerfreundlich?"
   -- the approved preview: a progress track of three steps, cards for the
   quiz (with the lock clock), tickets (a conversation), team application,
   the in-game login hint and the account itself. */
.begruessung { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; justify-content: space-between; padding-block: 48px 22px; }
.begruessung h1 { font-size: clamp(34px, 5vw, 54px) !important; }
.pille { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px var(--mono); letter-spacing: .05em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--edge); color: var(--mute); white-space: nowrap; }
.pille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-gut { color: var(--gut); border-color: rgba(95,191,127,.4); }
.p-warn { color: var(--warn); border-color: rgba(224,179,65,.4); }
.p-blau { color: #5b9dff; border-color: rgba(91,157,255,.4); }
.p-rot { color: var(--rot); border-color: rgba(242,98,79,.4); }

.weg-leiste { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--edge); border-radius: 16px;
  overflow: hidden; margin-bottom: 20px; background: var(--paper); }
.etappe { padding: 18px 20px 20px; display: grid; gap: 4px; position: relative; border-right: 1px solid var(--edge); }
.etappe:last-child { border-right: 0; }
.etappe .nr { font: 500 12px var(--mono); color: var(--mute); }
.etappe h3 { font-size: 18px !important; }
.etappe p { font-size: 13.5px; color: var(--mute); }
.etappe::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--edge); }
.etappe[data-zustand="erledigt"] .nr { color: var(--gut); }
.etappe[data-zustand="erledigt"]::after { background: var(--gut); }
.etappe[data-zustand="jetzt"] { background: linear-gradient(160deg, rgba(255,61,139,.13), transparent 70%); }
.etappe[data-zustand="jetzt"] .nr { color: var(--violet-lite); }
.etappe[data-zustand="jetzt"]::after { background: var(--violet); }
.etappe[data-zustand="gesperrt"] .nr { color: var(--warn); }
.etappe[data-zustand="gesperrt"]::after { background: var(--warn); }
@media (max-width: 720px) { .weg-leiste { grid-template-columns: 1fr; } .etappe { border-right: 0; border-bottom: 1px solid var(--edge); } }

.k-raster { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; padding-bottom: 60px; }
@media (max-width: 920px) { .k-raster { grid-template-columns: 1fr; } }
.k-spalte { display: grid; gap: 18px; }
.k-karte { background: var(--paper); border: 1px solid var(--edge); border-radius: 16px; padding: 20px; display: grid; gap: 14px; }
.k-kopf { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.k-karte h2 { font-size: 22px !important; }
.k-reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.knopf.klein { padding: 8px 13px; font-size: 13.5px; }
.sperre-box { display: flex; gap: 16px; align-items: center; background: rgba(224,179,65,.08); border: 1px solid rgba(224,179,65,.3);
  border-radius: 12px; padding: 14px 16px; }
.sperre-box .uhr { font: 600 28px var(--display); color: var(--warn); font-variant-numeric: tabular-nums; min-width: 96px; }
.sperre-box p { font-size: 14px; color: var(--text-hell); }
.versuche { display: flex; gap: 6px; }
.versuche span { width: 28px; height: 6px; border-radius: 3px; background: var(--edge); }
.versuche span.weg { background: var(--rot); }

.ticket-liste { display: grid; gap: 8px; }
.ticket-zeile { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--edge);
  border-radius: 12px; cursor: pointer; background: var(--ink); text-align: left; color: inherit; font: inherit; width: 100%; }
.ticket-zeile:hover, .ticket-zeile[aria-current="true"] { border-color: var(--mute); }
.ticket-zeile b { font-weight: 600; }
.ticket-zeile small { grid-column: 1; color: var(--mute); font-size: 12.5px; }
.ticket-zeile .pille { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.ticket-zeile.neu b::after { content: " · neue Antwort"; color: var(--violet-lite); font-weight: 500; font-size: 13px; }
.verlauf { display: grid; gap: 12px; max-height: 380px; overflow: auto; padding-right: 4px; }
.nachricht { display: grid; gap: 4px; max-width: 88%; }
.nachricht .blase { padding: 10px 14px; border-radius: 14px; font-size: 14.5px; background: var(--ink); border: 1px solid var(--edge); white-space: pre-wrap; }
.nachricht.team { justify-self: start; }
.nachricht.team .blase { border-color: rgba(255,61,139,.35); background: rgba(255,61,139,.07); }
.nachricht.ich { justify-self: end; }
.nachricht .wer { font: 500 11.5px var(--mono); color: var(--mute); }
.nachricht.ich .wer { text-align: right; }
.k-daten { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.k-daten dt { color: var(--mute); }
.k-daten dd { margin: 0; overflow-wrap: anywhere; }
.spiel-hinweis { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(120deg, rgba(91,157,255,.12), transparent); border: 1px solid rgba(91,157,255,.3); font-size: 14.5px; }
.spiel-hinweis img { width: 40px; height: 40px; object-fit: contain; flex: none; }

/* "Mit Vovado anmelden" (24.10.2026): a link styled as a button, crest left. */
.knopf-vovado { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.knopf-vovado img { width: 22px; height: 22px; object-fit: contain; }

/* ════════════════════════════════════════════════════════════════════════
   LOS SANTOS IM ABENDLICHT (27.11.2026)
   Owner, after the preview: "genau so, kannst du das umsetzen?" Every page
   takes the colours from site.css; the start page gets the picture hero and
   the postcards. The pictures are the server's own (assets/bg-*.webp): a
   daylight shot becomes a sunset by a multiply gradient, not by a new file.
   ════════════════════════════════════════════════════════════════════════ */

/* film grain over every page, faint -- absolute, so it covers the whole page
   and not only the first screen (a fixed layer ended mid-page in a full-page
   capture) */
body { position: relative; }
body::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 60; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* the picture hero of the start page */
.held-bild { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: min(100vh, 940px); padding: 120px var(--gutter) clamp(56px, 9vh, 110px); }
.held-bild .held-foto { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -3;
  filter: saturate(1.15) contrast(1.05); }
.held-bild::before { content: ""; position: absolute; inset: 0; z-index: -2; mix-blend-mode: multiply;
  background: linear-gradient(180deg, #3a1a6e 0%, #b2367a 38%, #ff7a59 64%, #ffb067 100%); }
.held-bild::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 78% 18%, rgba(255,209,102,.38), transparent 60%),
              linear-gradient(180deg, rgba(18,9,31,.15) 0%, rgba(18,9,31,0) 40%, rgba(18,9,31,.75) 82%, var(--ink) 100%); }
.held-inhalt { width: 100%; max-width: 1160px; margin: 0 auto; display: grid; gap: 22px; }
.held-inhalt .eyebrow { color: #ffe1cf; }
.held-inhalt h1 { margin: 0; font: 700 clamp(34px, 11.2vw, 160px)/.86 var(--display); text-transform: uppercase;
  background: var(--sonne); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(255,61,139,.35)); }
.held-inhalt .lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: #ffe9dc; }
.held-inhalt .knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.held-inhalt .sprung { color: #f3d9cf; }
.held-inhalt .sprung a { color: #ffd2b8; }

/* greetings from Los Santos: postcards */
.postkarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.postkarte { margin: 0; background: #fff2e8; padding: 12px 12px 0; border-radius: 4px;
  box-shadow: 0 26px 60px -20px rgba(0,0,0,.7); transform: rotate(var(--dreh, 0deg)); transition: transform .25s; }
.postkarte:hover { transform: rotate(0) translateY(-6px); }
.postkarte .bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.postkarte img { width: 100%; height: 100%; object-fit: cover; }
.postkarte .bild::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .75;
  background: linear-gradient(180deg, #4a2a8a 0%, #d4507e 55%, #ffb067 100%); }
.postkarte figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 12px 4px 14px; color: #2a1030; }
.postkarte b { font: 700 22px var(--display); text-transform: uppercase; letter-spacing: .02em; }
.postkarte span { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #7a3a5c; }
.abschnitt-kopf.breit { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 14px 40px; }
.abschnitt-kopf.breit > p { max-width: 420px; color: var(--text-hell); }
@media (max-width: 860px) {
  .postkarten { grid-template-columns: 1fr; }
  .postkarte { transform: none; }
  .abschnitt-kopf.breit { grid-template-columns: 1fr; }
  .step-num { font-size: 84px; }
}
@media (prefers-reduced-motion: reduce) { .postkarte, .knopf { transition: none; } }

/* ════════════════════════════════════════════════════════════════════════
   MOVEMENT (27.11.2026). Owner: "kannst du bei der webseite animationen
   reinmachen? und bei anmelden auch animationen reinmachen?"
   All CSS -- the start page needs no script for it. Positions move with the
   single properties `translate`/`rotate`/`scale`, never `transform`: the
   postcards and buttons keep their own transform for tilt and hover.
   Whoever asked the system for less motion gets none (end of this block).
   ════════════════════════════════════════════════════════════════════════ */
@keyframes aufsteigen  { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes einblenden  { from { opacity: 0; } to { opacity: 1; } }
@keyframes heranzoomen { from { scale: 1.12; } to { scale: 1; } }
@keyframes sonnenlauf  { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }
@keyframes gluehen {
  0%, 100% { box-shadow: 0 10px 28px -10px rgba(255,61,139,.75); }
  50%      { box-shadow: 0 14px 42px -6px rgba(255,61,139,.95), 0 0 0 5px rgba(255,61,139,.13); }
}
@keyframes postkarteFliegt { from { opacity: 0; translate: 0 70px; rotate: -7deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes zahlWaechst { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
@keyframes nachtDrift  { from { scale: 1.16; translate: 0 -3%; } to { scale: 1.03; translate: 0 3%; } }

/* the start page arrives: the picture settles into place, the words rise one after another */
.held-bild .held-foto { animation: heranzoomen 14s cubic-bezier(.2,.7,.2,1) both; }
.held-inhalt > * { animation: aufsteigen .9s cubic-bezier(.16,1,.3,1) both; }
.held-inhalt > :nth-child(1) { animation-delay: .15s; }
.held-inhalt > :nth-child(3) { animation-delay: .55s; }
.held-inhalt > :nth-child(4) { animation-delay: .7s; }
.held-inhalt > :nth-child(5) { animation-delay: .85s; }
/* the title rises, then its sunset keeps drifting -- slowly */
.held-bild .held-inhalt h1 { background-size: 100% 170%;
  animation: aufsteigen .9s cubic-bezier(.16,1,.3,1) .3s both, sonnenlauf 9s ease-in-out 1.4s infinite alternate; }
.start .kopf { animation: einblenden 1s ease .1s both; }
/* the way in breathes */
.held-inhalt .knopf-voll, .weg-spieler .knopf-voll { animation: gluehen 3.4s ease-in-out 1.8s infinite; }

/* further down: things come in as they come into view (where the browser can
   tie an animation to scrolling -- elsewhere they simply stand there).
   Every range ENDS AT `entry 100%`, the moment the thing is wholly on screen.
   The first version ran on into `cover 26%`: near the bottom of a page that
   cannot scroll any further, text then stayed half transparent for good
   (webdesign.mjs, "nichts bleibt halb durchsichtig"). */
@supports (animation-timeline: view()) {
  .abschnitt-kopf, .weg, .step, .fakt, .fragen details, .k-karte, .bereich, .nachtbild, .schluss-inhalt {
    animation: aufsteigen linear both; animation-timeline: view(); animation-range: entry 0% entry 100%;
  }
  .postkarte { animation: postkarteFliegt linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  .step-num { animation: zahlWaechst linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
  /* the night pictures drift in their frames while the page scrolls (wide
     screens only: on phones they sit in a sideways strip, whose own scrolling
     would take the timeline) */
  @media (min-width: 901px) {
    .nachtbild img, .nacht-schluss .schluss-foto {
      animation: nachtDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%;
    }
  }
}

/* signing in (/konto): the two forms rise into place, the field you type in glows */
.eingang-raster .karte-form, #neuForm { animation: aufsteigen .8s cubic-bezier(.16,1,.3,1) .1s both; }
.eingang-raster .karte-form + .karte-form { animation-delay: .22s; }
.karte-form input, .karte-form select, .karte-form textarea { transition: border-color .2s, box-shadow .25s; }
.karte-form input:focus, .karte-form select:focus, .karte-form textarea:focus { box-shadow: 0 0 0 4px rgba(255,61,139,.18); }
.karte-form .knopf-voll { background-size: 200% 100%; transition: background-position .6s ease, transform .2s, box-shadow .2s; }
.karte-form .knopf-voll:hover { background-position: 100% 0; }

/* ── the night pictures (27.11.2026, the owner's own screenshots) ──
   A mosaic on wide screens: the city at dusk large, the towers upright beside
   it (the one picture that is nearly square), three small ones in a row. */
.nachtbilder { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 12vw, 150px); gap: 14px; }
.nachtbild { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: #1b0f2e;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.9); }
.nachtbild img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nachtbild::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,9,31,0) 50%, rgba(18,9,31,.9) 100%); }
.nachtbild figcaption { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.nachtbild b { font: 700 clamp(17px, 1.7vw, 22px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff2e8; }
.nachtbild span { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #ffd2b8; }
.nb-gross { grid-column: span 8; grid-row: span 2; }
.nb-hoch  { grid-column: span 4; grid-row: span 2; }
.nb-halb  { grid-column: span 6; grid-row: span 2; }
.nb-klein { grid-column: span 4; }
.nb-breit { grid-column: span 7; grid-row: span 2; }
.nb-rest  { grid-column: span 5; grid-row: span 2; }
@media (max-width: 900px) {
  /* phones and small tablets: a strip to swipe through, the next picture peeking in */
  .nachtbilder { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: thin; }
  .nachtbild { flex: 0 0 min(86%, 560px); aspect-ratio: 16 / 10; scroll-snap-align: start; }
}

/* ── the last picture: the moon over the hills, and the way in ── */
.nacht-schluss { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: end center;
  min-height: clamp(460px, 74vh, 720px); padding: 120px var(--gutter) clamp(56px, 9vh, 96px); text-align: center; }
/* the picture reaches a third above the band: the moon sits at 45 % of its
   height, and inside the band it stood right behind the title (screenshot,
   27.11.2026) -- lifted like this it stands clear above the words */
.nacht-schluss .schluss-foto { position: absolute; left: 0; top: -32%; width: 100%; height: 132%; max-width: none;
  object-fit: cover; object-position: 50% 50%; z-index: -2; }
.nacht-schluss::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(18,9,31,0) 24%, rgba(18,9,31,.08) 52%, rgba(18,9,31,.84) 86%, var(--ink) 100%); }
.schluss-inhalt { display: grid; gap: 18px; justify-items: center; max-width: 780px; }
.nacht-schluss h2 { margin: 0; font: 700 clamp(34px, 6.4vw, 88px)/.92 var(--display); text-transform: uppercase; text-wrap: balance;
  background: var(--sonne); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(255,61,139,.3)); }
.nacht-schluss p { color: #ffe9dc; font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; }
.nacht-schluss .knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── the cookie notice ── */
.keks { position: fixed; left: 50%; bottom: 18px; z-index: 70; width: min(760px, calc(100% - 28px));
  display: flex; gap: 14px 22px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 16px 18px 16px 22px; border-radius: 18px; background: rgba(28,15,46,.96); border: 1px solid var(--edge);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,61,139,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; translate: -50% 24px; transition: opacity .35s ease, translate .45s cubic-bezier(.16,1,.3,1); }
.keks.da { opacity: 1; translate: -50% 0; }
.keks p { flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: var(--text-hell); }
.keks p b { color: var(--bone); }
.keks a { color: var(--violet-lite); text-decoration: underline; }
/* decline and accept look the same: neither is the "right" answer here */
.keks-knoepfe { display: flex; gap: 10px; flex: 0 0 auto; }
.keks-knoepfe .knopf { padding: 12px 20px; min-width: 132px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .held-bild .held-foto, .held-inhalt > *, .held-bild .held-inhalt h1, .start .kopf,
  .held-inhalt .knopf-voll, .weg-spieler .knopf-voll, .abschnitt-kopf, .weg, .step, .fakt, .fragen details,
  .k-karte, .bereich, .postkarte, .step-num, .nachtbild, .nachtbild img, .schluss-inhalt, .nacht-schluss .schluss-foto,
  .eingang-raster .karte-form, #neuForm { animation: none !important; }
  .keks { transition: none; }
}

/* ============================================================
   JETZT LIVE (28.11.2026)

   Besitzer: "können wir auf der webseite einen live einrichten wenn jemand in
   seinen stream [RETOV] mackiert". Der Abschnitt steht im Markup als `hidden`
   und wird von assets/live.js nur gezeigt, wenn wirklich jemand sendet.

   Der rote Punkt und die Zuschauerzahl liegen AUF dem Bild, nicht darunter:
   man erkennt eine laufende Übertragung an genau diesen zwei Zeichen, und sie
   gehören dorthin, wo das Auge zuerst hinsieht. Rot ist hier bewusst ein
   eigenes Rot (--rot) und nicht der Seitenakzent (Neonpink) -- "live" ist eine
   Tatsache, keine Werbung, und darf nicht wie ein Knopf aussehen.
   ============================================================ */
.live-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.live-karte { background: var(--paper); border: 1px solid var(--edge); border-radius: 16px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; }
.live-buehne { position: relative; aspect-ratio: 16 / 9; background: #0d0618; }
.live-buehne img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Der Startknopf liegt über dem ganzen Bild -- das Bild IST der Knopf. Ein
   kleiner Pfeil in einer Ecke wäre ein Ziel, das man auf dem Telefon
   dreimal verfehlt. */
.live-start { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(13,6,24,.25); border: 0; padding: 0; transition: background .15s ease; }
.live-start:hover, .live-start:focus-visible { background: rgba(13,6,24,.05); }
.live-pfeil { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,242,232,.92);
  display: block; position: relative; box-shadow: 0 8px 26px -8px rgba(0,0,0,.8); }
.live-pfeil::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #1e0716; }
.live-karte.spielt .live-start, .live-karte.spielt .live-punkt, .live-karte.spielt .live-zuschauer { display: none; }
.live-player { width: 100%; height: 100%; border: 0; display: block; }

.live-punkt { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--rot); color: #1e0716; border-radius: 6px; padding: 3px 8px;
  font: 700 11px/1 var(--mono); letter-spacing: .14em; }
.live-punkt::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1e0716; }
.live-zuschauer { position: absolute; bottom: 10px; right: 10px; background: rgba(13,6,24,.82);
  color: var(--bone); border-radius: 6px; padding: 3px 8px; font: 500 12px/1 var(--mono); }

.live-text { padding: 14px 16px 16px; display: grid; gap: 5px; align-content: start; }
.live-wer { font: 600 16px/1.2 var(--display); color: var(--bone); }
.live-wer:hover { color: #fff; }
/* Der Titel kommt von Twitch und ist beliebig lang -- zwei Zeilen, dann Schluss.
   Ohne die Begrenzung schiebt ein Streamer mit einem Roman im Titel die ganze
   Reihe auseinander. */
.live-titel { color: var(--text-hell); font-size: 14.5px; line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-seit { color: var(--mute); font: 500 12.5px var(--mono); margin: 0; }
.live-fuss { color: var(--mute); font-size: 14px; margin-top: 18px; }

/* Die Nachfrage vor dem Player -- IN der Karte, an der Stelle, auf die
   geklickt wurde. */
.live-frage { position: absolute; inset: 0; background: rgba(13,6,24,.94); display: grid; align-content: center;
  gap: 12px; padding: 16px; text-align: center; }
.live-frage p { color: var(--text-hell); font-size: 13.5px; line-height: 1.45; margin: 0; }
.live-frage-knoepfe { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.live-frage .knopf { padding: 9px 14px; font-size: 11.5px; }

@media (max-width: 980px) { .live-liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .live-liste { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .live-start { transition: none; } }
/* Der Verweis in der Nachfrage erbt sonst die Textfarbe und sieht aus wie
   gewöhnlicher Text -- und genau dieser Verweis ist der, den jemand anklicken
   KÖNNEN muss, bevor er eine Einwilligung gibt. */
.live-frage p a { color: var(--violet-lite); text-decoration: underline; text-underline-offset: 3px; }
.live-frage p a:hover { color: var(--bone); }

/* ── Das Live-Zeichen im Titelbild (28.11.2026) ──────────────────────────
   Es steht ÜBER der Augenbraue, also als Allererstes — „gerade läuft etwas"
   ist die Nachricht mit dem kürzesten Verfallsdatum auf dieser Seite, und
   was verfällt, gehört nach oben.

   Eigenes Rot (--rot), nicht der Seitenakzent: dasselbe wie beim LIVE-Schild
   auf den Karten. „Live" ist eine Tatsache, keine Werbung. */
/* `justify-self`, NICHT `align-self`: .held-inhalt ist ein Raster (display:grid),
   und dort regelt align-self die Blockachse -- das Zeichen zog sich damit über
   die ganze Breite des Titelbilds. Gemessen am 28.11.2026 im Abzug.
   Kein eigener margin-bottom: das Raster hat gap:22px, ein Rand käme obendrauf. */
.held-live { display: inline-flex; align-items: center; gap: 9px;
  justify-self: start; align-self: start; width: fit-content;
  background: rgba(242,98,79,.14); border: 1px solid rgba(242,98,79,.5); color: var(--bone);
  border-radius: 999px; padding: 6px 14px 6px 11px;
  font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.held-live:hover { background: rgba(242,98,79,.24); border-color: var(--rot); }
.held-live-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--rot);
  box-shadow: 0 0 0 0 rgba(242,98,79,.7); animation: live-puls 2s ease-out infinite; }
@keyframes live-puls {
  0%   { box-shadow: 0 0 0 0 rgba(242,98,79,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(242,98,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,98,79,0); }
}
/* Wer Bewegung abbestellt hat, bekommt den Punkt ohne Puls -- die Aussage
   steht in der Farbe und im Text, nicht im Blinken. */
@media (prefers-reduced-motion: reduce) { .held-live-punkt { animation: none; } }
/* Das Twitch-Zeichen im Live-Schild -- selbst gezeichnet (assets/live.js),
   kein Bild von Twitchs Servern. */
.held-live-logo { display: inline-flex; width: 14px; height: 14px; }
.held-live-logo svg { width: 100%; height: 100%; display: block; }

/* Wer da spielt, unter dem Stream. Der Charaktername steht immer da (der
   Kanal ist selbst verbunden), Fraktion und Rang nur im Dienst -- die werden
   darum auch sichtbar abgesetzt und nicht einfach angehängt. */
.live-rolle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 0; }
.live-figur { font: 600 13px/1.2 var(--display); color: var(--bone); }
.live-dienst { display: inline-flex; align-items: center; gap: 5px;
  background: rgba(63,224,208,.10); border: 1px solid rgba(63,224,208,.3); color: var(--aqua);
  border-radius: 6px; padding: 2px 7px; font: 500 11px/1.3 var(--mono); letter-spacing: .05em; }
.live-dienst::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }
