/* ============================================================================
   Abiball — Designsystem
   ----------------------------------------------------------------------------
   Bildidee "Der Abriss": Die Buchungskarte ist ein echtes Eintrittsticket.
   Weisser Karton auf kuehlem Kreidegrund, Perforation, Abriss mit Seriennummer.
   Die Seriennummer ist leer, bis gebucht wurde — dann reisst das Ticket.

   Farbe:   kuehler Kreidegrund + warmes Messing. Die Spannung zwischen kaltem
            Grund und warmem Akzent traegt die Seite; deshalb genau ein Akzent.
   Schrift: Fraunces (Anlass, sparsam) + IBM Plex Sans (Bedienung)
            + IBM Plex Mono (Nummern). Ein Ticket ist ein amtliches Papier
            fuer einen festlichen Abend — Plex und Fraunces sind genau das.
   Bewegung: dient der Handlung, nie der Dekoration. Der Riss ist der Hoehepunkt.
   ========================================================================== */

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Token ───────────────────────────────────────────────────────────────── */
:root {
  /* Grund und Papier */
  --ground:      #edeff3;
  --ground-deep: #e2e6ed;
  --card:        #ffffff;

  /* Tinte */
  --ink:    #171a26;
  --ink-2:  #4a5163;
  --ink-3:  #7c8397;
  --line:   #dee2ea;
  --line-2: #eef0f4;

  /* Messing — der einzige Akzent */
  --brass:      #a2762a;
  --brass-deep: #7d5a19;
  --brass-wash: #f8f1e1;
  --brass-line: #e6d5ae;

  /* Zustaende */
  --green:      #14724e;
  --green-wash: #e6f4ed;
  --green-line: #b9dfcd;
  --red:        #a32a35;
  --red-wash:   #fbebec;
  --red-line:   #f0c9cc;
  --blue:       #1c5480;
  --blue-wash:  #e8f1f8;
  --blue-line:  #c3dcee;

  /* Schrift */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:    'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Bewegung — ruhig, nie huepfend */
  --ease:   cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --snap:   cubic-bezier(.34, 1.4, .64, 1);

  /* Mass */
  --r-card: 14px;
  --r-in:   10px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(23, 26, 38, .05), 0 12px 32px -12px rgba(23, 26, 38, .16);
  --shadow-pop:  0 24px 60px -18px rgba(23, 26, 38, .3);
}

/* ── Grundlage ───────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ruhiges Licht im Raum. Statisch — die Bewegung gehoert der Handlung,
   nicht dem Hintergrund. Genau das trennt die Seite von Verlaufs-Blobs. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 70% at 50% -10%, #fff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(90% 60% at 85% 8%, var(--brass-wash) 0%, rgba(248,241,225,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,0) 55%, var(--ground-deep) 100%);
}

::selection { background: var(--brass-wash); color: var(--brass-deep); }

/* Sichtbarer Fokus ueberall — Tastaturbedienung ist kein Extra. */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typografie ──────────────────────────────────────────────────────────── */
.t-display {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 20, 'WONK' 1;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: .95;
  color: var(--ink);
}

.t-title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 60, 'SOFT' 20, 'WONK' 1;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.t-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.t-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.t-mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.t-muted { color: var(--ink-2); }

/* ── Icons ───────────────────────────────────────────────────────────────
   Eigener Satz aus public/icons/ (Preset clean, 24er-Raster, 1.5px).
   Sie erben die Textfarbe ueber currentColor und ersetzen die frueheren
   Emoji: die rendern auf jedem System anders und passten nicht zur Schrift.
   ---------------------------------------------------------------------- */
.i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  vertical-align: -2.5px;
  /* Muss hier stehen, nicht am Sprite: eine <use>-Instanz erbt die
     Praesentations-Attribute des Sprite-Wurzelelements NICHT. Ohne das
     faellt jedes Symbol auf fill:black zurueck und wird zum Klumpen. */
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i--lg { width: 17px; height: 17px; vertical-align: -3.5px; }

/* ── Ticket ──────────────────────────────────────────────────────────────── */
.ticket {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  position: relative;
  /* Traegt den Lichtreflex, der dem Zeiger folgt (siehe .ticket__sheen) */
  isolation: isolate;
  overflow: hidden;
}

/* Papier-Reflex: macht die Karte zu Material statt Flaeche.
   Position kommt per JS aus --mx/--my; ohne Zeiger bleibt er unsichtbar. */
.ticket__sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 0%),
    rgba(162, 118, 42, .07),
    rgba(162, 118, 42, 0) 65%
  );
}
.ticket:hover .ticket__sheen { opacity: 1; }

.ticket > *:not(.ticket__sheen) { position: relative; z-index: 1; }

/* Abriss — Kopf des Tickets */
.stub {
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, #fffdf8, var(--card));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.stub__event {
  font-family: var(--display);
  font-variation-settings: 'opsz' 40, 'SOFT' 20, 'WONK' 1;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-top: 2px;
}
.stub__meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.stub__serial { text-align: right; flex-shrink: 0; }
.stub__serial-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* Leer, bis gebucht wurde. Das Ticket ist bis dahin unausgefuellt. */
.stub__serial-value {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--line);
  margin-top: 1px;
  transition: color .4s var(--ease);
}
.stub__serial-value.is-filled { color: var(--brass-deep); }

/* Dezente Aktionszeile "Angaben anpassen? Buchung bearbeiten →" — ruhige
   Einladung statt kastiger Notiz-Box, mit sanftem Pfeil-Nudge beim Hover. */
.edit-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.edit-hint .i { color: var(--ink-3); }
.edit-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brass-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease);
}
.edit-link:hover { border-bottom-color: currentColor; }
.edit-link__arrow { transition: transform .2s var(--ease); }
.edit-link:hover .edit-link__arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .edit-link__arrow { transition: none; } }
/* Solange die Buchungsnr. noch offen ist, laeuft eine dezente Welle durch die
   Punkte: jeder hebt sich kurz aus dem Grau und sinkt zurueck. Ganz leise. */
.ph-dot { animation: ph-dot 1.5s ease-in-out infinite; }
@keyframes ph-dot {
  0%, 100% { color: var(--line); }        /* Ruhe: das helle Grau des leeren Tickets */
  50%      { color: #a9b1c0; }            /* Peak: nur etwas dunkler — weit vor --ink-3 */
}
.ph-dot:nth-child(1) { animation-delay: 0s; }
.ph-dot:nth-child(2) { animation-delay: .13s; }
.ph-dot:nth-child(3) { animation-delay: .26s; }
.ph-dot:nth-child(4) { animation-delay: .39s; }
.ph-dot:nth-child(5) { animation-delay: .52s; }
.ph-dot:nth-child(6) { animation-delay: .65s; }
@media (prefers-reduced-motion: reduce) { .ph-dot { animation: none; } }

/* ── Wartungs-Vorwarnung (Kulanz-Fenster, gesteuert in index.html) ──────────
   Gleitet oben ein, sobald der Wartungsmodus aktiviert wurde und der Server
   noch ein paar Sekunden Kulanz gibt, damit offene Buchungen fertig werden.
   Hell und ruhig — eine Info, kein Alarm. */
.maint-warn {
  position: fixed; inset: 0 0 auto 0;
  z-index: 200;
  display: flex; justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(180deg, #fdf6e6, #fbf1d9);
  border-bottom: 1px solid var(--brass-line);
  box-shadow: 0 8px 22px -12px rgba(122, 90, 25, .45);
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.maint-warn.is-shown { transform: none; }
.maint-warn__inner { display: flex; align-items: center; gap: 11px; max-width: 640px; }
.maint-warn .i { width: 22px; height: 22px; color: var(--brass-deep); }
.maint-warn__text { display: flex; flex-direction: column; line-height: 1.35; }
.maint-warn__text strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.maint-warn__text > span { font-size: 12.5px; color: var(--ink-2); }
.maint-warn__secs { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .maint-warn { transition: none; } }

/* Perforation mit echten Randkerben */
.perf {
  position: relative;
  height: 1px;
  margin: 0 14px;
  background-image: linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
  background-repeat: repeat-x;
}
.perf::before,
.perf::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ground);
  border: 1px solid var(--line);
}
.perf::before { left: -23px; clip-path: inset(0 0 0 50%); }
.perf::after  { right: -23px; clip-path: inset(0 50% 0 0); }

/* position: relative — Bezugsrahmen fuer Ebenen, die sich waehrend eines
   Wechsels kurz aus dem Fluss nehmen (siehe .post.is-leaving in index.html). */
.ticket__body { padding: 24px 22px 22px; position: relative; }

/* ── Formular ────────────────────────────────────────────────────────────── */
.field + .field { margin-top: 16px; }

.field__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: var(--r-in);
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.input::placeholder { color: #b9bfcd; }
.input:hover { border-color: #cdd3de; }
.input:focus {
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(162, 118, 42, .13);
}
.input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(163, 42, 53, .1);
}

/* Info-Schalter */
.info-btn {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--brass-line);
  border-radius: 50%;
  background: var(--brass-wash);
  color: var(--brass-deep);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--snap);
}
.info-btn:hover { background: var(--brass-line); }
.info-btn[aria-expanded="true"] { background: var(--brass); border-color: var(--brass); color: #fff; }

.info-tip {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease), margin .3s var(--ease);
  margin-bottom: 0;
}
.info-tip.is-open { grid-template-rows: 1fr; margin-bottom: 8px; }
.info-tip > div { overflow: hidden; }
.info-tip p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--brass-wash);
  border: 1px solid var(--brass-line);
  border-radius: 8px;
  padding: 9px 11px;
}

/* Fehler */
.err {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s var(--ease);
  font-size: 12.5px;
  color: var(--red);
  font-weight: 500;
}
.err.is-shown { grid-template-rows: 1fr; margin-top: 6px; }
.err > span { overflow: hidden; }

/* ── Mengenwahl ──────────────────────────────────────────────────────────── */
.stepper {
  display: flex;
  align-items: center;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: var(--r-in);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.stepper:focus-within {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(162, 118, 42, .13);
}
.stepper__btn {
  width: 50px;
  height: 48px;
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--ink-3);
  font-size: 20px;
  font-family: var(--sans);
  cursor: pointer;
  transition: color .15s, background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper__btn:hover:not(:disabled) { color: var(--brass-deep); background: var(--brass-wash); }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; }

.stepper__value {
  flex: 1;
  height: 48px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
/* Die Zahl rollt in Laufrichtung — sie zaehlt, sie blendet nicht um. */
.stepper__num {
  position: absolute;
  inset: 0;
  text-align: center;
  line-height: 48px;            /* = .stepper__value Hoehe → deterministische vertikale Mitte,
                                   unabhaengig von Form-Control-Rendering (kein flex auf <input>) */
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
@keyframes num-in-up   { from { transform: translateY(100%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes num-out-up  { from { transform: none; opacity: 1 } to { transform: translateY(-100%); opacity: 0 } }
@keyframes num-in-down { from { transform: translateY(-100%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes num-out-down{ from { transform: none; opacity: 1 } to { transform: translateY(100%); opacity: 0 } }
.stepper__num.in-up    { animation: num-in-up   .28s var(--ease) both; }
.stepper__num.out-up   { animation: num-out-up  .28s var(--ease) both; }
.stepper__num.in-down  { animation: num-in-down .28s var(--ease) both; }
.stepper__num.out-down { animation: num-out-down .28s var(--ease) both; }

/* ── Betrag ──────────────────────────────────────────────────────────────── */
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.total__label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.total__value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .3s var(--ease);
}
.total__value.is-changing { color: var(--brass-deep); }

/* ── Zustimmung ──────────────────────────────────────────────────────────── */
.consent {
  border: 1px solid var(--line);
  border-radius: var(--r-in);
  background: #fbfcfd;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.consent.is-checked { border-color: var(--brass-line); background: var(--brass-wash); }
.consent.is-invalid { border-color: var(--red); }

.consent__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  cursor: pointer;
}
/* Die echte Checkbox bleibt bedienbar und fokussierbar, nur unsichtbar —
   der Fokus muss deshalb auf dem sichtbaren Ersatz landen, sonst tappt
   man bei Tastaturbedienung im Dunkeln. */
.consent__box { position: absolute; opacity: 0; width: 0; height: 0; }
.consent__box:focus-visible + .consent__mark {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.consent__mark {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1.5px solid #c3cad6;
  border-radius: 5px;
  background: #fff;
  display: grid;
  place-items: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.consent.is-checked .consent__mark { background: var(--brass); border-color: var(--brass); }
.consent__mark svg { width: 11px; height: 11px; }
/* Der Haken wird gezeichnet, nicht eingeblendet. */
.consent__mark path {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset .28s var(--ease);
}
.consent.is-checked .consent__mark path { stroke-dashoffset: 0; }

.consent__text { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.consent__text a {
  color: var(--brass-deep);
  font-weight: 500;
  text-underline-offset: 2px;
  cursor: pointer;
}
.consent__text a:hover { color: var(--brass); }

.consent__more {
  border: none;
  background: none;
  padding: 0;
  margin-left: 6px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
}
.consent__more:hover { color: var(--brass-deep); }

.consent__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.consent__detail.is-open { grid-template-rows: 1fr; }
.consent__detail > div { overflow: hidden; }
.consent__detail p {
  padding: 0 14px 13px 44px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.consent__detail strong { color: var(--ink); font-weight: 600; }

/* ── Schaltflaechen ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--r-in);
  cursor: pointer;
  transition: transform .15s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: .55; }

/* Tinte traegt die Hauptaktion. Messing bleibt Akzent — sonst waere der
   Akzent kein Akzent mehr. */
.btn--primary {
  width: 100%;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(23,26,38,.2), 0 8px 20px -8px rgba(23,26,38,.5);
}
.btn--primary:hover:not(:disabled) {
  background: #232839;
  box-shadow: 0 1px 2px rgba(23,26,38,.2), 0 12px 26px -8px rgba(23,26,38,.55);
}

.btn--ghost {
  width: 100%;
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}
.btn--ghost:hover:not(:disabled) { border-color: var(--ink-3); color: var(--ink); background: #fbfcfd; }

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ── Hinweiskaesten ──────────────────────────────────────────────────────── */
.note {
  border-radius: var(--r-in);
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.6;
}
.note strong { font-weight: 600; }
.note--brass { background: var(--brass-wash); border: 1px solid var(--brass-line); color: var(--brass-deep); }
.note--green { background: var(--green-wash); border: 1px solid var(--green-line); color: var(--green); }
.note--blue  { background: var(--blue-wash);  border: 1px solid var(--blue-line);  color: var(--blue); }
.note--plain { background: #fbfcfd; border: 1px solid var(--line); color: var(--ink-2); }
.note a { color: inherit; font-weight: 600; text-underline-offset: 2px; }

/* ── Datenzeilen ─────────────────────────────────────────────────────────── */
.rows {
  border: 1px solid var(--line);
  border-radius: var(--r-in);
  overflow: hidden;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px;
  font-size: 13px;
}
.row + .row { border-top: 1px solid var(--line-2); }
.row__k { color: var(--ink-3); flex-shrink: 0; }
.row__v { font-weight: 500; text-align: right; word-break: break-word; }

/* ── Rechtstexte im Overlay ──────────────────────────────────────────────── */
.sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(23, 26, 38, .32);
  backdrop-filter: blur(3px);
}
.sheet-bg.is-open { display: flex; animation: fade-in .2s var(--ease) both; }
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }

.sheet {
  background: var(--card);
  border-radius: var(--r-card);
  width: 100%;
  max-width: 660px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pop);
  animation: sheet-up .34s var(--ease) both;
}
@keyframes sheet-up { from { transform: translateY(28px); opacity: 0 } to { transform: none; opacity: 1 } }

.sheet__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.sheet__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .16s, border-color .16s, color .16s;
}
.sheet__close:hover { background: var(--ground); border-color: var(--ink-3); color: var(--ink); }

.sheet__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 22px 26px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.sheet__body h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 22px 0 7px;
}
.sheet__body h3:first-child { margin-top: 0; }
.sheet__body p { margin-bottom: 10px; }
.sheet__body ul { padding-left: 17px; margin-bottom: 10px; }
.sheet__body li { margin-bottom: 5px; }
.sheet__body strong { color: var(--ink); font-weight: 600; }
.sheet__body a { color: var(--brass-deep); font-weight: 500; cursor: pointer; text-underline-offset: 2px; }
.sheet__lead {
  background: var(--brass-wash);
  border: 1px solid var(--brass-line);
  border-radius: var(--r-in);
  padding: 13px 15px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--brass-deep);
}

/* ── Ausklapper ──────────────────────────────────────────────────────────── */
.disclose { border: 1px solid var(--line); border-radius: var(--r-in); background: #fbfcfd; }
.disclose__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: none;
  background: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
}
.disclose__btn:hover { color: var(--ink); }
.disclose__btn svg { flex-shrink: 0; transition: transform .28s var(--ease); }
.disclose__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.disclose__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.disclose__panel.is-open { grid-template-rows: 1fr; }
.disclose__panel > div { overflow: hidden; }
.disclose__panel p {
  padding: 0 14px 13px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.disclose__panel strong { color: var(--ink); font-weight: 600; }

/* ── Auftritt beim Laden ─────────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.rise { animation: rise .6s var(--ease) both; }
.rise-1 { animation-delay: .04s } .rise-2 { animation-delay: .1s }
.rise-3 { animation-delay: .16s } .rise-4 { animation-delay: .22s }
.rise-5 { animation-delay: .3s }

/* ── Zurueckhaltung respektieren ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ticket__sheen { display: none; }
}
