/*
 * Öffentliche Seite im System „Geprägte Einladung“
 * ================================================
 * Tokens, Schriften und Material stehen in praegung.css (wird vorher geladen). Diese Datei ordnet nur an:
 * Abschnitte in der Reihenfolge der Seite, jeder mit eigenem Kopfkommentar.
 *
 *  Kopf ........ fixierte, erhabene Leiste: Logo frei stehend, Menü, Warenkorb, Kauf-Knopf
 *  Start ....... blindgeprägte „2027“, Motto, Titel, Einladungskarte
 *  Der Abend ... Hallenfoto im Duoton (Mulde), drei Zeitkarten
 *  Zahlen, Für wen, Warum, Programm (Heft, das beim Scrollen aufklappt)
 *  Tickets ..... vier Karten, Kombi als Magenta-Karte, Mengenregler, Warenkorb-Leiste
 *  Galerie, Location, Fragen, Partner
 *  Fuß ......... Abschiedsgruß, Hallenbild aus dem Papier, Glasfläche
 *  Kasse und Nebenseiten
 *
 * Admin und Scanner nutzen tokens.css/admin.css/scanner.css und sind hiervon nicht betroffen.
 */

/* Höhe der Kopfleiste samt Abstand oben (für Startbereich und Menü-Blatt). */
:root { --kopf-h: 82px; }
@media (max-width: 900px) { :root { --kopf-h: 74px; } }
@media (max-width: 480px) { :root { --kopf-h: 70px; } }

/* ======================================================================
   Kopf: schwebende Glas-Kapsel, schlank und symmetrisch wie bei Apple. Logo links, das Menü genau in der
   Mitte als eingeprägtes Segment-Feld (der aktuelle Abschnitt ist eine erhabene Pille, die mit der Feder
   mitgleitet), rechts Warenkorb und „Tickets“ mit kleinem Ticket. Immer sichtbar, ohne Schrumpfen.
   Handy: Logo, Tickets, Warenkorb, Menü. Das Menü öffnet ein Blatt unter der Kapsel: große Einträge mit
   Pfeil, darunter der Abend auf einen Blick mit Kauf-Knopf, ganz unten Instagram.
   ====================================================================== */

.kopf-leiste {
  position: sticky;
  top: 0;
  z-index: var(--z-kopf);
  padding: 14px var(--rand) 0;
  pointer-events: none;
}
.kopf-leiste > * { pointer-events: auto; }

.kopf {
  position: relative;
  view-transition-name: kopf;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  max-width: var(--breite);
  margin: 0 auto;
  min-height: 68px;
  padding: 8px 8px 8px 22px;
  border-radius: var(--r-rund);
}
/* Glas: der Inhalt läuft gedämpft darunter durch; feine Kante, Lichtkante oben, weicher Schatten nach unten. */
.kopf.erhaben {
  background-color: var(--glas);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 0 0 1px rgba(var(--mag-tief), .08), 0 1px 2px rgba(var(--mag-tief), .06),
    0 16px 36px -18px rgba(var(--mag-tief), .45), var(--kante);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .kopf.erhaben { background-color: var(--flaeche); }
}
/* Über dem laufenden Film müsste das Glas jedes Bild neu weichzeichnen: zu teuer fürs iPhone. Dann fast deckend. */
body.film-im-bild .kopf.erhaben {
  background-color: rgba(247, 240, 243, .94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
@media (prefers-reduced-transparency: reduce) {
  .kopf.erhaben { background-color: var(--flaeche); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Ganz oben liegt die Leiste frei auf der Seite, ohne Glas und Schatten. Mit den ersten 80 px Scrollen
   materialisiert sich das Glas – Fläche, Weichzeichner, Kante und Schatten zusammen, an den Scrollstand gebunden
   (wie apple.com). Ohne diese Technik ist das Glas von Anfang an da; bei offenem Handy-Menü immer.
   Nur der Anfang steht in den Keyframes, das Ende ist der normale Stand (auch über dem Film und bei
   reduzierter Transparenz). Die Schattenliste hat dieselbe Form wie oben, damit sie stufenlos überblendet. */
@supports (animation-timeline: scroll()) {
  .kopf.erhaben {
    animation: glas-an linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 80px;
  }
  .kopf-leiste.menue-offen .kopf.erhaben { animation: none; }
}
@keyframes glas-an {
  from {
    background-color: rgba(247, 240, 243, 0);
    box-shadow: 0 0 0 1px rgba(var(--mag-tief), 0), 0 1px 2px rgba(var(--mag-tief), 0),
      0 16px 36px -18px rgba(var(--mag-tief), 0), inset 0 1px 0 rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: saturate(100%) blur(0px);
    backdrop-filter: saturate(100%) blur(0px);
  }
}

.marke {
  display: block;
  justify-self: start;
  flex: none;
  border-radius: 10px;
  transition: transform .66s var(--feder);
}
.marke:active { transform: scale(.96); transition: transform .08s ease-out; }
.marke-logo {
  display: block;
  width: auto;
  height: 46px;
}

/* Menü als Segment-Feld: eine flache Mulde, darin die Einträge; die erhabene Pille (nav.js setzt --x und --b)
   zeigt den Abschnitt, in dem man gerade ist. */
.menue {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-rund);
  list-style: none;
  background: rgba(var(--mag-tief), .05);
  box-shadow: inset 0 1px 2px rgba(var(--mag-tief), .09), 0 1px 0 rgba(255, 255, 255, .6);
}
.menue-marker {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: -1;
  width: var(--b, 0);
  height: 40px;
  margin-top: -20px;
  border-radius: var(--r-rund);
  background: var(--flaeche);
  box-shadow: 0 0 0 1px rgba(var(--mag-tief), .05), 0 1px 2px rgba(var(--mag-tief), .12),
    0 6px 14px -8px rgba(var(--mag-tief), .4), var(--kante);
  opacity: 0;
  transform: translateX(var(--x, 0));
  transition: transform .66s var(--feder), width .66s var(--feder), opacity .25s var(--kurve);
  pointer-events: none;
}
.menue-marker.ist-da { opacity: 1; }
.menue a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-rund);
  color: rgba(43, 11, 32, .72);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s var(--kurve), background-color .18s var(--kurve), transform .66s var(--feder);
}
.menue a[aria-current] { color: var(--ink); }
/* Überfahren: kräftiger Text und eine zarte Fläche, die einfach erscheint – die Pille bleibt, wo man ist.
   Drücken: gibt sofort nach und federt beim Loslassen zurück. */
@media (hover: hover) {
  .menue a:hover { color: var(--ink); background-color: rgba(var(--mag-tief), .06); }
  .menue a[aria-current]:hover { background-color: transparent; }
}
.menue a:active { transform: scale(.96); transition: transform .08s ease-out; }

.kopf-aktionen {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  flex: none;
}

/* Warenkorb und Menü-Knopf: ruhige Symbole ohne eigene Fläche, Treffer 44 px. */
.korb,
.menue-knopf {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-rund);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: transform .66s var(--feder), background-color .18s var(--kurve);
}
.korb:hover,
.menue-knopf:hover { background-color: rgba(var(--mag-tief), .06); }
.korb:active,
.menue-knopf:active { transform: scale(.9); transition: transform .08s ease-out; }
.korb-zahl {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--r-rund);
  color: #fff;
  background-image: var(--magenta-verlauf);
  box-shadow: 0 0 0 2px var(--flaeche);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.korb-zahl--neu { animation: plopp .6s var(--feder); }
@keyframes plopp {
  30% { transform: scale(1.4); }
}

.kopf-cta { flex: none; gap: 8px; min-height: 48px; padding: 0 20px 0 16px; font-size: 15px; }
.ticket-zeichen { flex: none; }
/* Preis im Knopf (Startseite, solange online verkauft wird); schmaler fällt er weg, damit nichts ins Menü läuft. */
.kopf-cta-preis { margin-left: -4px; font-weight: 500; opacity: .9; }
@media (max-width: 1180px) {
  .kopf-cta-preis { display: none; }
}
/* Feste Spalten der Kapsel: auch ohne Menü (Kasse) stehen Logo links und die Aktionen rechts. */
.kopf .marke { grid-column: 1; }
.kopf .menue { grid-column: 2; }
.kopf .kopf-aktionen { grid-column: 3; }
/* Kasse: geschlossene Leiste – rechts nur „Sichere Bestellung“ mit Schloss; das Logo bleibt der Weg nach Hause. */
.kopf-sicher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  color: var(--mut);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.kopf-sicher-zeichen { flex: none; color: var(--mag-lo); }

/* Handy-Menü: <details>, funktioniert ohne JavaScript. */
.menue-mobil { display: none; }
.menue-knopf { list-style: none; cursor: pointer; }
.menue-knopf::-webkit-details-marker { display: none; }
/* Zwei Striche, die sich beim Öffnen mit einer Feder zum X drehen. */
.burger { position: relative; display: block; width: 20px; height: 12px; }
.burger > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .66s var(--feder);
}
.burger > span:first-child { top: 0; }
.burger > span:last-child { bottom: 0; }
.menue-mobil[open]:not([data-zustand="schliesst"]) .burger > span:first-child { transform: translateY(5px) rotate(45deg); }
.menue-mobil[open]:not([data-zustand="schliesst"]) .burger > span:last-child { transform: translateY(-5px) rotate(-45deg); }
.menue-mobil[open]:not([data-zustand="schliesst"]) > .menue-knopf { background-color: rgba(var(--mag-tief), .08); }

/* Schirm hinter dem offenen Menü: dämpft die Seite, ein Tipp darauf schließt (nav.js). */
.kopf-leiste > .menue-schirm {
  position: fixed;
  inset: 0;
  background: rgba(43, 11, 32, .28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--kurve);
}
.kopf-leiste.menue-offen > .menue-schirm { opacity: 1; pointer-events: auto; }

/* Das Blatt: so breit wie die Kapsel, poppt aus dem Menü-Knopf (nav.js). Geschlossen ganz aus dem Layout,
   sonst zählt es in Chrome zur Seitenbreite. Passt es nicht auf kleine Bildschirme, scrollt es in sich. */
.menue-mobil:not([open]) .menue-blatt { display: none; }
.menue-blatt {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: calc(100svh - var(--kopf-h) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 8px 8px;
  border-radius: 28px;
  background: var(--flaeche);
  box-shadow: var(--erhaben-stark);
  transform-origin: calc(100% - 28px) 0;
}
.menue-links { list-style: none; padding: 0 6px; }
.menue-links li + li { border-top: 1px solid rgba(var(--mag-tief), .1); }
.menue-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  margin: 0 -6px;
  padding: 0 14px 0 12px;
  border-radius: 16px;
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .66s var(--feder), background-color .18s var(--kurve);
}
.menue-links a:active { background: var(--mulde); transform: scale(.98); transition: transform .08s ease-out; }
.menue-pfeil { flex: none; color: rgba(var(--mag-tief), .45); }

/* Der Abend auf einen Blick: eingeprägte Karte mit Datum, Ort und Kauf-Knopf. */
.menue-anlass {
  margin-top: 8px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: var(--mulde);
  box-shadow: var(--gepraegt-s);
}
.menue-anlass-titel {
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.menue-anlass-text { margin-top: 6px; color: var(--mut); font-size: 15px; line-height: 1.45; }
.menue-cta { gap: 8px; min-height: 52px; margin-top: 14px; }
.menue-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 4px;
  border-radius: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.menue-insta:active { background: var(--mulde); }

@media (max-width: 1080px) {
  .kopf { gap: 12px; }
  .menue a { padding: 0 12px; }
}

@media (max-width: 900px) {
  .kopf { display: flex; gap: 6px; min-height: 60px; padding: 6px 6px 6px 16px; }
  .menue { display: none; }
  .kopf-aktionen { margin-left: auto; gap: 2px; }
  .menue-mobil { display: block; }
  .marke-logo { height: 40px; }
  /* „Tickets“ vor die Symbole: Warenkorb und Menü stehen zusammen am Rand. */
  .kopf-cta { order: -1; min-height: 40px; margin-right: 4px; padding: 0 14px 0 11px; font-size: 14.5px; }
  .kopf-cta .ticket-zeichen { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
  .kopf-leiste { padding: 10px 10px 0; }
  .marke-logo { height: 38px; }
}

/* ======================================================================
   Fuß: der Abend klingt aus. Oben auf dem Papier der Abschiedsgruß mit Kauf-Knopf, darunter die Bühne:
   Das Hallenbild taucht weich aus dem Papier auf (eine Maske, kein Verlauf darüber – dahinter liegt echtes
   Papier, darum gibt es keine Farbkante), und die Seite endet auf dem Boden der Halle. Darauf liegt eine
   Glasfläche aus demselben Material wie die Kopfleiste: oben und unten dieselbe Klammer.
   Ohne Bild (.fuss--bild fehlt) ist die Fläche eine erhabene Karte auf dem Papier.
   ====================================================================== */

.fuss {
  position: relative;
  isolation: isolate;
  padding-top: var(--abschnitt);
}
.fuss-schluss {
  position: relative;
  z-index: 1;
  padding: 0 var(--rand);
  text-align: center;
}
.fuss-gruss {
  max-width: 14ch;
  margin: 0 auto;
  font-family: var(--schrift-titel);
  font-size: clamp(54px, 8.4vw, 132px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.fuss-wann {
  margin-top: 20px;
  color: var(--mut);
  font-size: clamp(16px, 1.4vw, 19px);
}
.fuss-wann > span { white-space: nowrap; }
.fuss-aktion { margin-top: 28px; }

.fuss-buehne {
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--rand) clamp(16px, 2.4vw, 32px);
}
/* Mit Bild: Morgen über der Alb. Das Bild steht in voller Breite in seinem Seitenverhältnis (Desktop 2752×1536,
   Handy 1536×2752; sehr breite Schirme gedeckelt) und blendet oben und unten ins Papier aus – wie das Startbild.
   Mindesthöhe, damit auf Laptops Hügel und Nebeltal über der Glasfläche frei bleiben (dann wird seitlich beschnitten).
   Der Himmel beginnt schon hinter dem Knopf, die Hügel stehen frei darüber, die Glasfläche liegt ab 64 % der
   Bildhöhe auf der Raureif-Wiese. */
.fuss { --fuss-bild-h: clamp(860px, 55.8vw, 1100px); }
.fuss--bild .fuss-buehne {
  margin-top: calc(-.22 * var(--fuss-bild-h));
  padding-top: calc(.64 * var(--fuss-bild-h));
}
.fuss-bild {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  display: block;
  height: var(--fuss-bild-h);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 86%, transparent);
}
.fuss-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}
@media (max-width: 760px) {
  .fuss { --fuss-bild-h: 179.2vw; }
}

.fuss-flaeche {
  position: relative;
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 44px) clamp(22px, 3.4vw, 48px) 0;
  border-radius: var(--r-l);
  background-color: var(--flaeche);
  box-shadow: var(--erhaben);
  color: var(--mut);
  font-size: 15.5px;
  line-height: 1.6;
}
/* Glas über dem Bild: dicker als die Kopfleiste (große Fläche), also mehr Weichzeichner und tieferer Schatten.
   Deckkraft so gewählt, dass „Mut“-Text auch über dunklen Bildstellen 4,5:1 hält. */
.fuss--bild .fuss-flaeche {
  background-color: rgba(247, 240, 243, .8);
  -webkit-backdrop-filter: saturate(160%) blur(26px);
  backdrop-filter: saturate(160%) blur(26px);
  box-shadow: 0 0 0 1px rgba(var(--mag-tief), .08), 0 2px 4px rgba(var(--mag-tief), .08),
    0 28px 60px -24px rgba(var(--mag-tief), .55), var(--kante);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fuss--bild .fuss-flaeche { background-color: var(--flaeche); }
}
@media (prefers-reduced-transparency: reduce) {
  .fuss--bild .fuss-flaeche { background-color: var(--flaeche); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .fuss-flaeche, .fuss--bild .fuss-flaeche { background-color: var(--flaeche); box-shadow: 0 0 0 1px var(--ink); }
}

.fuss-spalten {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr;
  gap: 32px 56px;
}
.fuss-verein {
  display: grid;
  align-content: start;
  gap: 16px;
}
.fuss-verein strong { color: var(--ink); font-weight: 600; }
.fuss-logo {
  width: 96px;
  height: auto;
}
.fuss-titel {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .005em;
}
.fuss-liste { list-style: none; display: grid; gap: 0; }
.fuss-liste a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-flaeche a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(var(--mag-tief), .3);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color .18s var(--kurve);
}
.fuss-flaeche a:hover { text-decoration-color: var(--mag); }
/* Instagram: dasselbe Zeichen wie beim Knopf unter den Zahlen (.insta-zeichen), davor statt des Worts „Instagram:“. */
.fuss-insta { gap: 8px; }

/* Netzwerke als kleine, flach eingeprägte Marken. */
.fuss-orte {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.fuss-orte li {
  padding: 6px 14px;
  border-radius: var(--r-rund);
  background-color: rgba(var(--mag-tief), .06);
  box-shadow: inset 0 1px 2px rgba(var(--mag-tief), .08), inset 0 0 0 1px rgba(var(--mag-tief), .06);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.35;
}

/* Unterste Zeile wie bei Apple: links Verein und Bildhinweis, rechts die Rechtstexte. */
.fuss-zeile {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 28px;
  margin-top: clamp(26px, 3vw, 38px);
  padding: 6px 0 8px;
  border-top: 1px solid rgba(var(--mag-tief), .12);
  font-size: 14px;
}
.fuss-klein { padding: 12px 0; }
.fuss-ki::before { content: '·'; margin: 0 .55em; }
.fuss-recht { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.fuss-recht a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 900px) {
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .fuss-verein { grid-column: 1 / -1; grid-template-columns: auto 1fr; gap: 18px; }
  .fuss-logo { width: 84px; margin-top: 2px; }
}
@media (max-width: 560px) {
  .fuss-wann > span { display: block; }
  .fuss-wann > .fuss-punkt { display: none; }
  .fuss-spalten { grid-template-columns: 1fr; gap: 26px; }
  .fuss-zeile { flex-direction: column; align-items: flex-start; }
  .fuss-klein { padding: 2px 0 6px; font-size: 13px; }
  .fuss-ki { display: block; }
  .fuss-ki::before { content: none; }
  .fuss--bild .fuss-buehne { padding-right: 12px; padding-left: 12px; }
}

/* ======================================================================
   Abschnitte: gemeinsame Breite und Abstände, Abschnittstitel, Listen
   ====================================================================== */

.abend, .zahlen, .wen, .warum, .programm, .tickets, .galerie, .ort, .fragen, .partner {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: var(--abschnitt) var(--rand) 0;
}

.abschnitt-titel {
  font-family: var(--schrift-titel);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.005em;
}

.liste { list-style: none; display: grid; gap: 10px; }
.liste li {
  position: relative;
  padding-left: 30px;
  max-width: var(--textmass);
}
/* Kleiner Haken in Magenta statt Aufzählungspunkt. */
.liste li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: .5em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--mag);
  border-bottom: 2.5px solid var(--mag);
  transform: rotate(-45deg);
}

.gruppe-titel {
  margin-bottom: 14px;
  font-family: var(--schrift-titel);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

/* ======================================================================
   Start: gesetzt wie eine Einladungskarte – mittig unter dem Logo-Siegel Motto, Titel,
   Datum und Kauf-Knopf; die blindgeprägte „2027“ liegt im Papier dahinter.
   Darunter die Bühne: die Halle im Duoton, die Einladung liegt vorne auf.
   ====================================================================== */

.start {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding-top: clamp(40px, 9vh, 104px);
  padding-bottom: 0;
  text-align: center;
}

/* Startbild: randlos, der rosa Dunst oben läuft hinter die Preiszeile und geht nahtlos ins Papier über;
   unten blendet es wieder ins Papier aus. Auf sehr breiten Bildschirmen höchstens 92 % der Höhe. */
.start-bild {
  position: relative;
  margin: calc(-1 * clamp(70px, 11vw, 180px)) 0 0;
}
/* Unter dem Text bleiben (die Regel für Kinder des Startbereichs hebt sonst alles auf Ebene 1). */
.start > figure.start-bild { z-index: 0; }
.start-bild img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: cover;
  object-position: 50% 70%;
}
.start-bild::before,
.start-bild::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.start-bild::before { top: 0; height: 42%; background: linear-gradient(var(--papier) 22%, rgba(235, 221, 227, 0)); }
.start-bild::after { bottom: 0; height: 14%; background: linear-gradient(rgba(235, 221, 227, 0), var(--papier)); }
.start-bild-ki {
  position: absolute;
  right: var(--rand);
  bottom: 16%;
  z-index: 1;
  color: rgba(255, 255, 255, .72);
  text-shadow: 0 1px 2px rgba(30, 6, 22, .45);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
}

/* Handy: Der Startbereich ist genau so hoch wie der kleinste sichtbare Bildschirm (Safari mit allen Leisten).
   Oben Motto, Titel, Datum; das Bild füllt den Rest; beide Knöpfe nebeneinander und der Preis liegen auf dem
   unteren, ins Papier ausgeblendeten Bildrand. So ist alles ohne Scrollen sichtbar, ohne Text über den Gesichtern. */
@media (max-width: 760px) {
  .start {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100svh - var(--kopf-h));
    min-height: 500px;
    padding: clamp(8px, 2vh, 24px) var(--rand) 0;
  }
  .start > .start-text { display: contents; }
  .start-text > .motto { order: 1; font-size: 32px; }
  .start-text > .start-titel { order: 2; }
  .start-text > .start-unter { order: 3; margin-top: 8px; font-size: 16px; }
  .start-bild { order: 4; flex: 1 1 0; min-height: 0; align-self: stretch; margin: 6px calc(-1 * var(--rand)) 0; }
  .start-bild picture { display: block; height: 100%; }
  .start-bild img { height: 100%; aspect-ratio: auto; max-height: none; object-position: 50% 74%; }
  .start-bild::before { height: 26%; background: linear-gradient(var(--papier) 10%, rgba(235, 221, 227, 0)); }
  .start-bild::after { height: 52%; background: linear-gradient(rgba(235, 221, 227, 0), rgba(235, 221, 227, .9) 58%, var(--papier)); }
  .start-bild-ki { top: 22%; bottom: auto; right: 12px; color: rgba(var(--mag-tief), .4); text-shadow: none; font-size: 9px; }
  .start-text > .start-aktionen {
    order: 5;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: -112px;
  }
  .start-aktionen .knopf-gross { min-height: 48px; padding: 0 18px; font-size: 15.5px; }
  .start-text > .start-preis { order: 6; position: relative; z-index: 1; margin: 8px 0 0; padding-bottom: 8px; }
  .start-ab { font-size: 15px; }
  .start-hinweis { font-size: 11px; line-height: 1.4; }
  .praegung { top: 0; transform: translateX(-50%); }
}
@media (max-width: 370px) {
  .start-aktionen .knopf-gross { padding: 0 13px; font-size: 14.5px; }
}
/* Nur Dekoration: Ziffern ins Papier geprägt, Licht fängt sich an der unteren Kante. */
.praegung {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  transform: translate(-50%, -58%);
  color: #E5D4DC;
  font-family: var(--schrift-titel);
  font-size: clamp(140px, 26vw, 360px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.02em;
  text-shadow: 1.5px 2px 0 rgba(255, 255, 255, .85), -1px -1.5px 0 rgba(var(--mag-tief), .1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
/* Wichtig: nicht `.start > *`, das würde die absolute Lage der Prägung überschreiben. */
.start > :not(.praegung) { position: relative; z-index: 1; }

.start-text {
  display: grid;
  justify-items: center;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand);
}
.motto {
  color: var(--mag-lo);
  font-family: var(--schrift-hand);
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.1;
}
.start-titel {
  margin-top: 2px;
  font-family: var(--schrift-titel);
  font-size: clamp(56px, 11vw, 148px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.start-unter {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--mut);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.4;
}
.start-aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.start-preis { margin-top: 18px; }
.start-ab {
  font-size: 16px;
  font-weight: 600;
}
.start-ab span { color: var(--mut); font-weight: 500; }
.start-hinweis {
  margin-top: 4px;
  color: var(--mut);
  font-size: 13px;
}

/* Das Ticket: Beispiel am Ende des Films, rein dekorativ. Wie ein echtes Eintrittsticket:
   Hauptteil auf Papier mit Feldern, Abrisslinie mit zwei ausgestanzten Löchern (Maske, der Grund scheint
   durch), Abschnitt in Magenta mit Code. Schmal hochkant (Abschnitt unten), ab 900 px quer (Abschnitt rechts).
   Der Schatten sitzt als drop-shadow auf dem Rahmen, damit er den Stanzlöchern folgt. */
.einladung {
  --stub: 118px;
  --loch: 13px;
  width: min(350px, 100%);
  text-align: left;
  filter: drop-shadow(0 1px 1px rgba(var(--mag-tief), .1)) drop-shadow(0 18px 26px rgba(var(--mag-tief), .24));
}
.ticket {
  --loch-mitte: calc(var(--loch) + .5px);
  position: relative;
  display: grid;
  grid-template-rows: auto var(--stub);
  overflow: hidden;
  border-radius: 22px;
  background: var(--flaeche);
  -webkit-mask:
    radial-gradient(circle at 0 calc(100% - var(--stub)), #0000 var(--loch), #000 var(--loch-mitte)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% calc(100% - var(--stub)), #0000 var(--loch), #000 var(--loch-mitte)) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 calc(100% - var(--stub)), #0000 var(--loch), #000 var(--loch-mitte)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% calc(100% - var(--stub)), #0000 var(--loch), #000 var(--loch-mitte)) 100% 0 / 51% 100% no-repeat;
}
.ticket-haupt {
  position: relative;
  isolation: isolate;
  padding: 24px 26px 20px;
  overflow: hidden;
}
/* Wasserzeichen im Papier. */
.ticket-haupt::after {
  content: '2027';
  position: absolute;
  right: -8px;
  bottom: -26px;
  z-index: -1;
  color: rgba(var(--mag-tief), .055);
  font-family: var(--schrift-titel);
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
}
.ticket-kopf {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--mut);
  font-size: 12.5px;
  font-weight: 500;
}
.ticket-titel {
  margin: 14px 0 2px;
  font-family: var(--schrift-titel);
  font-size: clamp(40px, 11.5vw, 50px);
  font-weight: 900;
  line-height: .86;
}
.ticket-fuer {
  color: var(--mag-lo);
  font-family: var(--schrift-hand);
  font-size: 30px;
  line-height: 1.15;
}
.ticket-felder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 14px 0 0;
  border-top: 1px solid rgba(var(--mag-tief), .12);
}
.ticket-felder > div {
  padding: 9px 0 8px;
  border-bottom: 1px solid rgba(var(--mag-tief), .12);
}
.ticket-felder > div:nth-child(odd) { padding-right: 12px; border-right: 1px solid rgba(var(--mag-tief), .12); }
.ticket-felder > div:nth-child(even) { padding-left: 14px; }
.ticket-felder > div:nth-last-child(-n + 2) { border-bottom: 0; }
.ticket-felder dt { color: var(--mut); font-size: 11.5px; line-height: 1.3; }
.ticket-felder dd {
  margin: 1px 0 0;
  font-family: var(--schrift-titel);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
}

/* Abschnitt: Magenta, Abrisslinie aus Papierpunkten an der Kante. */
.ticket-abriss {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 26px;
  color: #fff;
  background-image: var(--magenta-verlauf);
}
.ticket-abriss::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: calc(var(--loch) + 8px);
  right: calc(var(--loch) + 8px);
  border-top: 3px dotted var(--flaeche);
}
.ticket-hinweis { font-size: 15px; font-weight: 600; line-height: 1.35; }
.muster {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  flex: none;
  width: 78px;
  height: 78px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.muster span { border-radius: 2px; }
.muster .an { background: #fff; }

/* Quer: Abschnitt rechts, Löcher oben und unten. */
@media (min-width: 900px) {
  .einladung { --stub: 156px; width: min(600px, 100%); }
  .ticket {
    grid-template-rows: none;
    grid-template-columns: 1fr var(--stub);
    -webkit-mask:
      radial-gradient(circle at calc(100% - var(--stub)) 0, #0000 var(--loch), #000 var(--loch-mitte)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at calc(100% - var(--stub)) 100%, #0000 var(--loch), #000 var(--loch-mitte)) 0 100% / 100% 51% no-repeat;
    mask:
      radial-gradient(circle at calc(100% - var(--stub)) 0, #0000 var(--loch), #000 var(--loch-mitte)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at calc(100% - var(--stub)) 100%, #0000 var(--loch), #000 var(--loch-mitte)) 0 100% / 100% 51% no-repeat;
  }
  .ticket-haupt { padding: 28px 30px 24px; }
  .ticket-titel { font-size: 54px; }
  .ticket-felder { margin-top: 16px; }
  .ticket-felder dd { font-size: 21px; }
  .ticket-abriss {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 20px 16px;
    text-align: center;
  }
  .ticket-abriss::before {
    top: calc(var(--loch) + 8px);
    bottom: calc(var(--loch) + 8px);
    left: -1.5px;
    right: auto;
    border-top: 0;
    border-left: 3px dotted var(--flaeche);
  }
  .muster { width: 92px; height: 92px; padding: 11px; }
  .ticket-hinweis { font-size: 14px; }
}

/* Niedrige Handys (z. B. iPhone SE): kompakter, damit Ticket, Satz und Knopf in den Bildschirm passen. */
@media (max-width: 899px) and (max-height: 720px) {
  .einladung { --stub: 88px; width: min(320px, 100%); }
  .ticket-haupt { padding: 18px 20px 14px; }
  .ticket-titel { font-size: 36px; margin-top: 10px; }
  .ticket-fuer { font-size: 24px; }
  .ticket-felder dd { font-size: 17px; }
  .muster { width: 60px; height: 60px; padding: 7px; gap: 2px; }
}



/* ======================================================================
   Fotos: Duoton Pflaume nach Rosé in einer eingeprägten Fläche, Nachweis darunter.
   ====================================================================== */

.foto {
  margin: 0;
  padding: 14px;
  border-radius: var(--r-l);
}
.foto-bild {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1600 / 1066;
  border-radius: var(--r-m);
  background: #5c1745;
}
.foto-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) contrast(1.08) brightness(1.05);
}
.foto-bild::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #5c1745 0%, #a8457f 55%, #f0c2d6 100%);
  mix-blend-mode: multiply;
  opacity: .92;
  pointer-events: none;
}
.foto-bild--echt { background: var(--papier); }
.foto-bild--echt img { filter: none; }
.foto-bild--echt::after { content: none; }
.foto figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 8px 2px;
}
.foto-text {
  font-family: var(--schrift-titel);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.foto-credit {
  margin-left: auto;
  color: var(--mut);
  font-size: 12.5px;
}

/* ======================================================================
   Der Abend als Scroll-Film (film.js). Ohne JavaScript oder bei reduzierter Bewegung:
   drei Standbilder mit den Kapiteltexten und darunter die Einladung. Mit JavaScript
   (.film--aktiv): eine stehende Bühne, das Hallenbild wächst zur vollen Größe, der
   Scrollweg spielt den Film, die Kapitel blenden ein, am Ende blendet alles ins Papier
   und die Einladung mit „Sei dabei“ erscheint (--wachsen, --ende von film.js).
   ====================================================================== */

.film {
  --wachsen: 0;
  --ende: 0;
  position: relative;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: var(--abschnitt) var(--rand) 0;
}
.film-rahmen { display: none; }
.film-ki {
  margin: 10px 0 0;
  color: var(--mut);
  font-size: 13px;
}
.film-kapitel {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.kapitel-bild {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-m);
  box-shadow: 0 18px 40px -22px rgba(var(--mag-tief), .55);
}
.kapitel-text { display: grid; gap: 2px; margin-top: 16px; }
.kapitel-uhr {
  font-family: var(--schrift-titel);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 900;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.kapitel-was { margin-top: 6px; font-size: 18px; font-weight: 600; }
.kapitel-bis { color: var(--mut); font-size: 15px; }
.kapitel-zeile { margin-top: 6px; }
.film-ende {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 56px;
  margin-top: clamp(48px, 6vw, 80px);
}
.film-ende-titel {
  font-family: var(--schrift-titel);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: .9;
}
.film-ende-aktion { margin-top: 22px; }

@media (max-width: 860px) {
  .film-kapitel { grid-template-columns: 1fr; }
  .film-ende { flex-direction: column; text-align: center; }
}

/* ---------- aktiv: stehende Bühne über die ganze Breite ---------- */

.film--aktiv {
  /* Auf dem iPhone ist die Bühne so hoch wie der Bildschirm ohne Adressleiste (lvh), damit unten nie eine
     Lücke entsteht. Texte halten Abstand um die Höhe der Leiste (--leiste-unten), damit sie sichtbar bleiben. */
  --leiste-unten: 0px;
  --ueberhang: 0px;
  max-width: none;
  height: 520vh;
  margin-top: 0;
  padding: 0;
}
@supports (height: 100lvh) {
  .film--aktiv { --leiste-unten: calc(100lvh - 100svh); }
}
.film--aktiv .film-titel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* Die Bühne ragt um --ueberhang unter den Bildschirmrand: In Safari auf iOS 26 schwebt die untere Leiste
   durchsichtig über der Seite, ohne dass die Viewport-Einheiten sie mitzählen. Sonst scheint dort Papier durch. */
.film--aktiv .film-buehne {
  position: sticky;
  top: 0;
  height: 100vh;
  height: calc(100lvh + var(--ueberhang));
  overflow: hidden;
}
/* Das Fenster: klein und rund, solange der Abschnitt hereinkommt, dann Vollbild (--wachsen von film.js).
   Der Radius ist auf die Verkleinerung umgerechnet, damit er klein etwa 28 px wirkt. */
.film--aktiv .film-rahmen {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 64px;
  background: #2B0B20 url('/film/d/000.webp') center / cover no-repeat;
  transform: scale(.38);
  transform-origin: 50% 50%;
  box-shadow: 0 30px 60px -30px rgba(var(--mag-tief), .5);
  will-change: transform;
}
/* Wo der Browser Scroll-Animationen kann (Safari ab iOS 26, Chrome), wächst das Fenster per CSS: Die
   Grafikeinheit rechnet es direkt aus der Scrollposition, bildgenau auch beim Schwung-Scrollen. Bereich: vom
   Hereinkommen am unteren Rand bis 8 % des stehenden Wegs (wie die Skript-Lösung für ältere Browser). */
@supports (animation-timeline: view()) {
  .film--aktiv { view-timeline: --film block; }
  .film--aktiv .film-rahmen {
    animation: film-wachsen linear both;
    animation-timeline: --film;
    animation-range: entry 0% contain 8%;
  }
}
@keyframes film-wachsen {
  from { transform: scale(.38); }
  to { transform: scale(1.12); }
}
/* Kleine Blase „KI“ im Fenster; der ausgeschriebene Hinweis steht für Screenreader im Text (.film-ki). */
.film--aktiv .film-rahmen::before {
  content: 'KI';
  position: absolute;
  right: calc(var(--rand) + 5.5%);
  top: calc(var(--kopf-h) + 8px + 5.5%);
  z-index: 1;
  padding: 2px 7px;
  border-radius: var(--r-rund);
  color: rgba(255, 255, 255, .9);
  background: rgba(30, 6, 22, .38);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.5;
}
.film-leinwand { display: block; width: 100%; height: 100%; }
/* Dunkler Verlauf unten links, damit die Kapitel weiß gut lesbar sind. */
.film--aktiv .film-rahmen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(30, 6, 22, .72) 0%, rgba(30, 6, 22, .35) 35%, transparent 62%);
  pointer-events: none;
}
/* Der Text-Hinweis bleibt für Screenreader im Dokument; sichtbar ist er im Fenster (::before). */
.film--aktiv .film-ki {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.film--aktiv .film-kapitel {
  position: absolute;
  left: var(--rand);
  bottom: calc(var(--ueberhang) + var(--leiste-unten) + clamp(40px, 9vh, 104px));
  z-index: 2;
  display: block;
  width: min(620px, calc(100% - 2 * var(--rand)));
  height: 220px;
  margin: 0;
}
.film--aktiv .kapitel {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--kurve), transform .66s var(--feder);
}
.film--aktiv .kapitel[data-aktiv] { opacity: 1; transform: none; }
.film--aktiv .kapitel-bild { display: none; }
.film--aktiv .kapitel-uhr { font-size: clamp(64px, 8vw, 120px); }
.film--aktiv .kapitel-was { font-size: clamp(20px, 2vw, 26px); }
.film--aktiv .kapitel-bis { color: rgba(255, 255, 255, .82); }
.film--aktiv .kapitel-zeile { font-size: 18px; color: rgba(255, 255, 255, .92); }

/* Ende: das Papier legt sich über den Film, Einladung und „Sei dabei“ erscheinen. */
.film--aktiv .film-ende {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 120px var(--rand) 40px;
  pointer-events: none;
}
.film--aktiv .film-ende::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--papier);
  opacity: var(--ende);
}
.film--aktiv .film-ende > * {
  opacity: var(--ende);
  transform: translateY(calc((1 - var(--ende)) * 28px)) scale(calc(.97 + .03 * var(--ende)));
}
.film--aktiv.film--ende .film-ende { pointer-events: auto; }

/* Handy: Vollbild wie am Computer, mit der Hochformat-Bildfolge (9:16); Kapitel unten auf dunklem Verlauf. */
@media (max-width: 760px) {
  .film--aktiv { --ueberhang: 140px; height: 440vh; }
  .film--aktiv .film-rahmen { background-image: url('/film/m/000.jpg'); border-radius: 56px; box-shadow: 0 16px 34px -18px rgba(var(--mag-tief), .5); }
  .film--aktiv .film-rahmen::before { right: calc(14px + 5.5%); top: calc(var(--kopf-h) + 6px + 5.5%); }
  .film--aktiv .film-rahmen::after {
    background: linear-gradient(0deg, rgba(30, 6, 22, .8) 0%, rgba(30, 6, 22, .35) 34%, transparent 58%);
  }
  .film--aktiv .film-kapitel {
    left: 20px;
    right: 20px;
    bottom: calc(var(--ueberhang) + var(--leiste-unten) + max(28px, env(safe-area-inset-bottom)));
    width: auto;
    height: 200px;
  }
  .film--aktiv .kapitel { right: 0; }
  .film--aktiv .kapitel-uhr { font-size: 68px; }
  .film--aktiv .kapitel-was { font-size: 19px; }
  .film--aktiv .kapitel-zeile { font-size: 16px; }
  /* Ende: im kleinsten sichtbaren Bildschirm (100svh) zentriert, so steht nichts unter der Navbar oder den Leisten. */
  .film--aktiv .film-ende {
    inset: 0 0 auto 0;
    height: 100svh;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    padding: calc(var(--kopf-h) + 8px) var(--rand) 12px;
  }
  .film--aktiv .film-ende::before { bottom: -60vh; }
  .film--aktiv .film-ende .einladung { --stub: 80px; width: min(300px, 100%); }
  .film--aktiv .film-ende .ticket-haupt { padding: 16px 18px 12px; }
  .film--aktiv .film-ende .ticket-titel { margin-top: 10px; font-size: 34px; }
  .film--aktiv .film-ende .ticket-fuer { font-size: 22px; }
  .film--aktiv .film-ende .ticket-felder { margin-top: 10px; }
  .film--aktiv .film-ende .ticket-felder > div { padding-top: 6px; padding-bottom: 6px; }
  .film--aktiv .film-ende .ticket-felder dd { font-size: 16px; }
  .film--aktiv .film-ende .muster { width: 54px; height: 54px; padding: 6px; gap: 2px; }
  .film--aktiv .film-ende-titel { font-size: 40px; }
  .film--aktiv .film-ende-aktion { margin-top: 10px; }
}


/* ======================================================================
   Zahlen: ein helles Band über die ganze Breite. Die Zahlen sind ins Papier geprägt (Licht unten, Schatten
   oben) und rollen beim ersten Hinsehen wie ein mechanisches Zählwerk auf ihren Wert (zahlen.js). Haarlinien
   trennen die vier Werte; die Follower führen mit einem Knopf zu Instagram.
   ====================================================================== */

.zahlen {
  margin-top: var(--abschnitt);
  padding: clamp(56px, 7vw, 96px) var(--rand);
  background: var(--flaeche);
  box-shadow: 0 0 0 100vmax var(--flaeche);
  clip-path: inset(0 -100vmax);
}
.zahlen-kopf { max-width: 760px; margin: 0 auto clamp(40px, 5.5vw, 64px); text-align: center; }
.zahlen-lead { margin-top: 16px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.zahlen-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.zahlen-liste > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px clamp(10px, 2vw, 28px);
}
.zahlen-liste > li + li { border-left: 1px solid rgba(var(--mag-tief), .12); }
.zahl {
  display: block;
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: clamp(54px, 6.4vw, 100px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  /* Prägung: oben eine feine Schattenkante, unten Licht – die Ziffern liegen im Papier. */
  text-shadow: 0 -1px 0 rgba(var(--mag-tief), .28), 0 1.5px 0 rgba(255, 255, 255, .95);
}
.zahl-was {
  display: block;
  margin-top: 12px;
  color: var(--mut);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
}
.insta { gap: 8px; min-height: 44px; margin-top: 16px; padding: 0 16px 0 12px; font-size: 14.5px; }
.insta-zeichen { flex: none; color: var(--mag-lo); }
.insta-kurz { display: none; }

/* Zählwerk (zahlen.js): je Ziffer ein Fenster, darin ein Band mit 0–9 zweimal; das Band rollt nach oben. */
/* Jede Ziffer bekommt ein volles Geviert (1em) Luft, damit beim Runden kein Pixel der nächsten durchblitzt;
   der negative Rand hält das Zahlbild so hoch wie vorher (.9em). */
.zahl-werk { display: inline-flex; align-items: flex-start; margin-block: -.05em; }
.ziffer { display: inline-block; height: 1em; overflow: hidden; }
.ziffer-band { display: flex; flex-direction: column; }
.ziffer-band > span,
.zahl-werk > span:not(.ziffer) { display: block; height: 1em; line-height: 1; }

@media (max-width: 760px) {
  .zahlen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahlen-liste > li { padding: 22px 10px; }
  .zahlen-liste > li + li { border-left: 0; }
  .zahlen-liste > li:nth-child(even) { border-left: 1px solid rgba(var(--mag-tief), .12); }
  .zahlen-liste > li:nth-child(n + 3) { border-top: 1px solid rgba(var(--mag-tief), .12); }
  /* Halbe Spalte: kurz „Folgen“ statt des Namens (der bleibt für Screenreader der Name des Links). */
  .insta { padding: 0 16px 0 12px; }
  .insta-kurz { display: inline; }
  .insta-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* ======================================================================
   Für wen: mittig wie die Abschnitte davor und danach. Die Frage klein in Beere (wie „Warum dabei sein?“),
   darunter ein ruhiger Absatz in der Textschrift, halbfett und groß. Beim Scrollen leuchtet er in Leserichtung
   auf, von blass zu Tinte, mit weicher Kante, bis er in der Mitte des Bildschirms steht – an den Scrollstand
   gebunden, also so schnell, wie man liest. Ohne diese Technik oder bei reduzierter Bewegung steht er gleich
   in voller Farbe.
   ====================================================================== */

.wen { text-align: center; }
.wen-titel {
  margin-bottom: clamp(14px, 1.8vw, 22px);
  color: var(--mag-lo);
  font-family: var(--schrift-text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.wen-satz {
  max-width: 23ch;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--schrift-text);
  font-size: clamp(29px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.028em;
  text-wrap: balance;
  view-timeline: --wen-satz block;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Ein waagrechter Verlauf über die ganze Länge des Absatzes (über alle Zeilen hinweg): links Tinte, rechts
       blass, dazwischen eine weiche Kante von etwa einer Zeile. Er wandert nach links, so leuchtet Zeile für
       Zeile auf. Der blasse Ton bleibt lesbar, damit der Zwischenstand nicht wie ein Fehler aussieht. */
    .wen-satz > span {
      color: transparent;
      background: linear-gradient(90deg, var(--ink) 45%, rgba(var(--mag-tief), .26) 55%) 100% 0 / 250% 100% no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      animation: wen-fuellen linear both;
      animation-timeline: --wen-satz;
      animation-range: entry 45% cover 50%;
    }
  }
}
@keyframes wen-fuellen { to { background-position: 0 0; } }

/* ======================================================================
   Warum: links die Aussage und die drei Säulen des Vereins (vom Roll-up) mit ihren Punkten, rechts dasselbe
   als Bild: drei Kreise – Vernetzen, Inspirieren, Unterstützen –, die beim Scrollen zusammenrücken und sich
   überlappen. Wo alle drei sich treffen, sitzt das Siegel „Gemeinsam stärker“: Kooperation statt Konkurrenz.
   Liste und Kreise teilen sich die drei Magenta-Töne der Marke. Darunter das Motto groß.
   Schmal: Frage, Aussage, Kreise, Säulen, Motto untereinander.
   ====================================================================== */

.warum {
  --k1: 199, 90, 163; /* Magenta hell */
  --k2: 224, 86, 158; /* Rosé */
  --k3: 150, 47, 116; /* Beere */
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas:
    "text  kreise"
    "motto motto";
  gap: clamp(40px, 5vw, 72px) clamp(40px, 6vw, 96px);
  align-items: center;
  overflow-x: clip; /* die Kreise starten etwas außerhalb; nichts darf seitlich scrollen */
}
.warum-text { grid-area: text; }
.warum-frage {
  color: var(--mag-lo);
  font-family: var(--schrift-text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.statement {
  max-width: 13ch;
  margin-top: 14px;
  font-family: var(--schrift-titel);
  font-size: clamp(44px, 5.6vw, 84px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* Säulen als ruhige Liste mit Haarlinien; das Zeichen trägt die Farbe seines Kreises. */
.saeulen {
  list-style: none;
  grid-area: saeulen;
  margin-top: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid rgba(var(--mag-tief), .12);
}
.saeule {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(var(--mag-tief), .12);
}
.saeule--1 { --farbe: var(--k1); }
.saeule--2 { --farbe: var(--k2); }
.saeule--3 { --farbe: var(--k3); }
.saeule-zeichen {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: rgb(var(--farbe));
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .25), 0 8px 18px -8px rgba(var(--farbe), .9), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.saeule-zeichen svg { width: 26px; height: 26px; }
.saeule-name {
  align-self: center;
  font-family: var(--schrift-titel);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1;
}
.saeule .liste { gap: 6px; margin-top: 8px; font-size: 16px; line-height: 1.45; }

/* Die drei Kreise: durchscheinende Töne, die sich multiplizieren – wo zwei sich überlappen, wird es tiefer,
   wo alle drei sich treffen, am tiefsten. Mittelpunkte (50|32), (31|67), (69|67), Schwerpunkt (50|55). */
.kreise {
  position: relative;
  grid-area: kreise;
  justify-self: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
  isolation: isolate;
  view-timeline: --kreise block;
}
.kreis {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.kreis--1 {
  left: 19%;
  top: 1%;
  background: radial-gradient(circle at 50% 28%, rgba(var(--k1), .14), rgba(var(--k1), .32) 70%);
  box-shadow: inset 0 0 0 1px rgba(var(--k1), .3);
}
.kreis--2 {
  left: 0;
  top: 36%;
  background: radial-gradient(circle at 30% 70%, rgba(var(--k2), .14), rgba(var(--k2), .3) 70%);
  box-shadow: inset 0 0 0 1px rgba(var(--k2), .3);
}
.kreis--3 {
  left: 38%;
  top: 36%;
  background: radial-gradient(circle at 70% 70%, rgba(var(--k3), .12), rgba(var(--k3), .28) 70%);
  box-shadow: inset 0 0 0 1px rgba(var(--k3), .3);
}
.kreis-wort {
  position: absolute;
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.kreis--1 .kreis-wort { left: 50%; top: 25%; }
.kreis--2 .kreis-wort { left: 33%; top: 66%; }
.kreis--3 .kreis-wort { left: 67%; top: 66%; }

/* Siegel wie auf einer Einladung: Magenta, leicht schräg gestempelt, innen ein gepunkteter Ring. */
.siegel {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background-color: var(--mag);
  background-image: var(--magenta-verlauf);
  box-shadow: var(--magenta-schatten), 0 18px 34px -14px rgba(var(--mag-tief), .7);
  font-family: var(--schrift-titel);
  font-size: clamp(15px, 1.9vw, 24px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.siegel::before {
  content: '';
  position: absolute;
  inset: 8%;
  border: 1.5px dashed rgba(255, 255, 255, .55);
  border-radius: 50%;
}
.siegel > span { display: block; }

/* Zusammenrücken beim Scrollen: an den Scrollstand gebunden, also so schnell, wie man scrollt; das Siegel
   setzt auf, sobald die Kreise sich treffen. Ohne diese Technik oder bei reduzierter Bewegung stehen sie
   gleich zusammen. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .kreis--1 {
      animation: kreis-oben cubic-bezier(.22, 1, .36, 1) both;
      animation-timeline: --kreise;
      animation-range: entry 0% cover 42%;
    }
    .kreis--2 {
      animation: kreis-links cubic-bezier(.22, 1, .36, 1) both;
      animation-timeline: --kreise;
      animation-range: entry 0% cover 42%;
    }
    .kreis--3 {
      animation: kreis-rechts cubic-bezier(.22, 1, .36, 1) both;
      animation-timeline: --kreise;
      animation-range: entry 0% cover 42%;
    }
    .siegel {
      animation: siegel-auf cubic-bezier(.34, 1.45, .64, 1) both;
      animation-timeline: --kreise;
      animation-range: cover 30% cover 46%;
    }
  }
}
@keyframes kreis-oben { from { transform: translateY(-24%); } }
@keyframes kreis-links { from { transform: translate(-22%, 13%); } }
@keyframes kreis-rechts { from { transform: translate(22%, 13%); } }
@keyframes siegel-auf { from { opacity: 0; transform: translate(-50%, -50%) rotate(-40deg) scale(.4); } }

/* Motto als Abschluss: „Träume groß“ groß in Schreibschrift, darunter der Rest in der Titelschrift. */
.motto-zeile {
  grid-area: motto;
  margin-top: clamp(8px, 2vw, 24px);
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}
.motto-gross {
  display: block;
  margin-bottom: .04em;
  color: var(--mag-lo);
  font-family: var(--schrift-hand);
  font-size: clamp(64px, 9vw, 136px);
  font-weight: 400;
  line-height: 1.05;
}

@media (max-width: 900px) {
  .warum {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "frage"
      "statement"
      "kreise"
      "saeulen"
      "motto";
    row-gap: 0;
  }
  .warum-text { display: contents; }
  .warum-frage { grid-area: frage; }
  .statement { grid-area: statement; max-width: 14ch; }
  .kreise { width: min(92%, 440px); margin-top: clamp(28px, 7vw, 44px); }
  .motto-zeile { margin-top: clamp(40px, 9vw, 64px); }
}

/* ======================================================================
   Programm: das Programmheft. Ein geprägtes Heft statt einer Kachelwand: links das Programm, rechts die
   Highlights in der Folge des Tages, jedes mit seinem Zeichen in einer kleinen Mulde, Falz in der Mitte.
   Grundzustand (ohne Scroll-Technik, bei reduzierter Bewegung, sehr niedrigem Fenster): das Heft liegt offen,
   auf dem Handy die Seiten untereinander. Mit Technik siehe „Heft klappt auf“ darunter.
   ====================================================================== */

.heft {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-radius: var(--r-l);
  box-shadow: var(--erhaben);
}
.heft-deckel { display: contents; }
.heft-vorne { display: none; }
.heft-seite {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  background-color: var(--flaeche);
}
/* Falz: zur Mitte hin fällt das Papier leicht ab. */
.heft-links {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-l) 0 0 var(--r-l);
  background-image: linear-gradient(to left, rgba(var(--mag-tief), .075), rgba(var(--mag-tief), 0) 64px);
}
.heft-rechts {
  border-radius: 0 var(--r-l) var(--r-l) 0;
  background-image: linear-gradient(to right, rgba(var(--mag-tief), .075), rgba(var(--mag-tief), 0) 64px);
}
.heft-seite .gruppe-titel { margin-bottom: 20px; }
/* Linke Seite: wann das Programm läuft, die Punkte in derselben ruhigen Zeilenfolge wie die Highlights
   (Häkchen als Bild: per CSS gedrehte Häkchen blendet Safari auf der Rückseite des Deckels aus), unten der
   ganze Tag als Zeitstrahl. Der erste Halt ist gefüllt – um ihn geht es auf dieser Seite –, nach der Party
   läuft die Linie offen aus. */
.heft-unter { margin: -10px 0 16px; color: var(--mut); font-size: 15px; }
.heft-programm { list-style: none; display: grid; }
.heft-programm li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(var(--mag-tief), .1);
  font-size: 18px;
  line-height: 1.42;
}
.heft-programm li:first-child { border-top: 0; padding-top: 2px; }
.heft-haken { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--mag); }
.heft-ablauf {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding-top: 28px;
}
.heft-ablauf li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 24px 8px 0 0;
}
.heft-ablauf li::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  height: 1px;
  background-color: rgba(var(--mag-tief), .2);
}
.heft-ablauf li:last-child::before {
  background-color: transparent;
  background-image: linear-gradient(to right, rgba(var(--mag-tief), .2), rgba(var(--mag-tief), 0));
}
.heft-ablauf li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--flaeche);
  box-shadow: inset 0 0 0 2px var(--mag);
}
.heft-ablauf li:first-child::after { background-color: var(--mag); }
.heft-ablauf-zeit {
  font-family: var(--schrift-titel);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.heft-ablauf-was { color: var(--mut); font-size: 13.5px; line-height: 1.3; -webkit-hyphens: auto; hyphens: auto; }

.heft-highlights { list-style: none; display: grid; }
.heft-highlights li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(var(--mag-tief), .1);
  font-family: var(--schrift-titel);
  font-size: clamp(22px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.05;
}
.heft-highlights li:first-child { border-top: 0; padding-top: 0; }
.heft-zeichen {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--mag-lo);
  background-color: var(--mulde);
  box-shadow: var(--gepraegt-s);
}
.heft-zeichen svg { width: 22px; height: 22px; }

/* Deckel (nur mit Technik sichtbar): Logo, „Jahresauftakt Ball 2027“ blind geprägt, „Programm“ und Datum
   gedruckt. Im unteren Drittel ist das Heft zugebunden: ein Satinband quer über den Deckel, an der offenen
   Seite eine Schleife, daran ein Papier-Anhänger „für dich“. Alles bleibt innerhalb des Deckels.
   Gebundene Kante links, darum dort ohne Rundung. */
.heft-vorne {
  grid-template-rows: auto 1fr 34%;
  justify-items: center;
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: 0 var(--r-l) var(--r-l) 0;
  background-color: var(--flaeche);
  background-image: linear-gradient(to right, rgba(var(--mag-tief), .06), rgba(var(--mag-tief), 0) 22px);
  box-shadow: var(--erhaben-stark);
  text-align: center;
}
.heft-logo { width: 92px; height: auto; }
.heft-mitte { display: grid; align-content: center; justify-items: center; gap: 14px; }
.heft-praegung {
  color: #EFE5EA;
  font-family: var(--schrift-titel);
  font-size: clamp(46px, 4.6vw, 64px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.01em;
  text-shadow: 1.5px 2px 0 rgba(255, 255, 255, .95), -1px -1.5px 0 rgba(var(--mag-tief), .13);
}
.heft-titel {
  margin-top: 4px;
  font-family: var(--schrift-titel);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1;
}
.heft-datum { color: var(--mut); font-size: 15px; }

/* Band: Satin in Magenta mit Glanz oben und einer dunkleren Kante rechts, wo es um das Heft herumläuft. */
.heft-band {
  position: absolute;
  top: 76%;
  right: 0;
  left: 0;
  height: 22px;
  margin-top: -11px;
  background-color: var(--mag);
  background-image: linear-gradient(to bottom, var(--mag-hi), var(--mag) 46%, var(--mag-lo));
  box-shadow: 0 2px 4px rgba(var(--mag-tief), .28), inset 0 1px 0 rgba(255, 255, 255, .3),
    inset -8px 0 8px -6px rgba(var(--mag-tief), .45);
}
.heft-schleife {
  position: absolute;
  top: 76%;
  left: 70%;
  width: 150px;
  height: 120px;
  overflow: visible;
  transform: translate(-50%, -44%);
  filter: drop-shadow(0 3px 3px rgba(var(--mag-tief), .32));
}
.heft-schleife * { transform-box: view-box; transform-origin: 60px 42px; }
.schleife-ohr,
.schleife-ende { fill: url(#heft-satin); stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.schleife-falte { fill: none; stroke: rgba(var(--mag-tief), .38); stroke-width: 1.6; stroke-linecap: round; }
.schleife-knoten { fill: var(--mag-lo); }
/* Anhänger: hängt an einem Faden unter dem Knoten, leicht schräg. */
.heft-anhaenger {
  position: absolute;
  top: 76%;
  left: 70%;
  width: 0;
  height: 0;
  transform: rotate(9deg);
  transform-origin: 0 0;
}
.heft-anhaenger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -.75px;
  width: 1.5px;
  height: 36px;
  background-color: rgba(var(--mag-tief), .5);
}
.heft-anhaenger-karte {
  position: absolute;
  top: 34px;
  left: 0;
  display: block;
  min-width: 96px;
  padding: 17px 16px 10px;
  border-radius: 8px;
  color: var(--mag-lo);
  background-color: #FFFAFD;
  box-shadow: var(--erhaben-s);
  font-family: var(--schrift-hand);
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}
.heft-anhaenger-karte::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background-color: var(--flaeche);
  box-shadow: inset 0 1px 2px rgba(var(--mag-tief), .35);
}

@media (max-width: 760px) {
  .heft { grid-template-columns: 1fr; }
  .heft-ablauf-zeit { font-size: 22px; }
  .heft-ablauf-was { font-size: 12.5px; }
  .heft-links {
    border-radius: var(--r-l) var(--r-l) 0 0;
    background-image: linear-gradient(to top, rgba(var(--mag-tief), .075), rgba(var(--mag-tief), 0) 40px);
  }
  .heft-rechts {
    border-radius: 0 0 var(--r-l) var(--r-l);
    background-image: linear-gradient(to bottom, rgba(var(--mag-tief), .075), rgba(var(--mag-tief), 0) 40px);
  }
}

/* ----------------------------------------------------------------------
   Heft klappt auf. Der Abschnitt wird höher, die Bühne bleibt stehen, und der Scrollstand führt durch:
   1. Die Schleife geht auf: Schlaufen fallen in den Knoten, die Enden rutschen weg, der Anhänger fällt,
      das Band gleitet zur Seite.
   2. Der Deckel dreht sich um die gebundene Kante (–180°); seine Rückseite ist die linke Seite (Programm).
      Breit rückt das Heft dabei von „Deckel mittig“ zu „Doppelseite mittig“. Handy: Die Seiten liegen
      nebeneinander, das Fenster zeigt eine; nach dem Aufklappen steht das Programm da, dann gleitet die
      Ansicht zu den Highlights.
   Licht von oben vorn: Der Deckel dunkelt ab, während er sich wegdreht, seine Rückseite hellt beim Landen auf,
   und er wirft im Aufklappen Schatten auf die rechte Seite. Die Highlights erscheinen nacheinander.
   Alles hängt am Scrollstand und läuft beim Zurückscrollen rückwärts (die Schleife bindet sich wieder).
   Geführt (heft.js): --heft-halte nennt die Haltepunkte als Anteil des Wegs, auf dem die Bühne steht. Hört man
   dazwischen auf zu scrollen, gleitet die Seite zum nächsten Haltepunkt in Scrollrichtung. Die Bühne ist darum
   kurz und hat keine tote Strecke: Am letzten Haltepunkt ist alles fertig und die Bühne gibt frei.
   Ein Sprung zu #programm (Menü, „Programm ansehen“) landet über scroll-margin gleich beim offenen Heft.
   ---------------------------------------------------------------------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) and (min-height: 700px),
    (prefers-reduced-motion: no-preference) and (max-width: 760px) and (min-height: 620px) {
    .programm {
      --heft-halte: 0, 1;
      height: 190vh;
      padding-top: 0;
      view-timeline: --heft block;
      view-timeline-inset: 0px;
      scroll-margin-top: calc(-90vh - 120px);
    }
    .heft-buehne {
      position: sticky;
      top: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      padding-top: var(--kopf-h);
      perspective: 3200px;
    }
    .heft-buehne > .abschnitt-titel { text-align: center; }
    .heft {
      --seite-b: min(480px, calc((100vw - 2 * var(--rand)) / 2));
      --seite-h: clamp(440px, calc(100vh - var(--kopf-h) - 200px), 600px);
      position: relative;
      display: block;
      flex: none;
      width: calc(2 * var(--seite-b));
      height: var(--seite-h);
      margin-top: clamp(22px, 4vh, 40px);
      box-shadow: none;
      transform-style: preserve-3d;
      animation: heft-mittig linear both;
      animation-timeline: --heft;
      animation-range: contain 18% contain 72%;
    }
    .heft-seite,
    .heft-deckel {
      position: absolute;
      top: 0;
      width: var(--seite-b);
      height: 100%;
    }
    /* Rechte Seite einen Hauch hinter dem Deckel. Ihr Außenschatten liegt auf einer eigenen Fläche dahinter:
       Ein weicher Schatten vergrößert die Ebene, und Chrome sortiert sie dann teils vor den Deckel. */
    .heft-rechts { left: var(--seite-b); box-shadow: var(--kante); transform: translateZ(-2px); }
    .heft::before {
      content: '';
      position: absolute;
      top: 0;
      left: var(--seite-b);
      width: var(--seite-b);
      height: 100%;
      border-radius: 0 var(--r-l) var(--r-l) 0;
      box-shadow: 0 0 0 1px rgba(var(--mag-tief), .05), 0 1px 2px rgba(var(--mag-tief), .06),
        0 12px 32px -12px rgba(var(--mag-tief), .24);
      transform: translateZ(-4px);
    }
    .heft-deckel {
      display: block;
      left: var(--seite-b);
      transform-origin: 0 50%;
      transform-style: preserve-3d;
      animation: deckel-auf linear both;
      animation-timeline: --heft;
      animation-range: contain 18% contain 72%;
    }
    .heft-vorne,
    .heft-deckel > .heft-links {
      position: absolute;
      inset: 0;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
    }
    /* Was vom Deckel rutscht (Band, Anhänger), verschwindet an seiner Kante. */
    .heft-vorne { display: grid; overflow: hidden; }
    .heft-deckel > .heft-links { transform: rotateY(180deg); box-shadow: var(--erhaben); }

    /* 1. Schleife geht auf */
    .schleife-ohr--l,
    .schleife-ohr--r,
    .schleife-ende--l,
    .schleife-ende--r,
    .schleife-knoten,
    .schleife-falte,
    .heft-anhaenger,
    .heft-band { animation: linear both; animation-timeline: --heft; }
    .schleife-ohr--l { animation-name: ohr-l-auf; animation-range: contain 0% contain 10%; }
    .schleife-ohr--r { animation-name: ohr-r-auf; animation-range: contain 0% contain 10%; }
    .schleife-falte { animation-name: verblassen; animation-range: contain 0% contain 6%; }
    .schleife-ende--l { animation-name: ende-l-weg; animation-range: contain 3% contain 13%; }
    .schleife-ende--r { animation-name: ende-r-weg; animation-range: contain 3% contain 13%; }
    .schleife-knoten { animation-name: knoten-weg; animation-range: contain 5% contain 13%; }
    .heft-anhaenger { animation-name: anhaenger-faellt; animation-range: contain 1% contain 12%; }
    .heft-band { animation-name: band-weg; animation-range: contain 8% contain 18%; }

    /* 2. Licht beim Aufklappen */
    .heft-vorne::after,
    .heft-links::after,
    .heft-rechts::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      opacity: 0;
      pointer-events: none;
      animation: linear both;
      animation-timeline: --heft;
    }
    .heft-vorne::after { background: rgba(var(--mag-tief), .2); animation-name: licht-weg; animation-range: contain 18% contain 45%; }
    .heft-links::after { background: rgba(var(--mag-tief), .2); animation-name: licht-her; animation-range: contain 44% contain 72%; }
    .heft-rechts::after {
      background: linear-gradient(to right, rgba(var(--mag-tief), .26), rgba(var(--mag-tief), 0) 80%);
      animation-name: schlagschatten;
      animation-range: contain 18% contain 72%;
    }

    /* Highlights nacheinander, während der Deckel die rechte Seite freigibt */
    .heft-highlights li { animation: eintrag linear both; animation-timeline: --heft; }
    .heft-highlights li:nth-child(1) { animation-range: contain 40% contain 52%; }
    .heft-highlights li:nth-child(2) { animation-range: contain 48% contain 60%; }
    .heft-highlights li:nth-child(3) { animation-range: contain 56% contain 68%; }
    .heft-highlights li:nth-child(4) { animation-range: contain 64% contain 76%; }
    .heft-highlights li:nth-child(5) { animation-range: contain 72% contain 84%; }
    .heft-highlights li:nth-child(6) { animation-range: contain 80% contain 92%; }
  }

  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) and (min-height: 700px) and (max-height: 860px) {
    .heft-seite { padding: 30px 36px; }
    .heft-seite .gruppe-titel { margin-bottom: 14px; }
    .heft-unter { margin-bottom: 10px; }
    .heft-programm li { padding: 7px 0; font-size: 16.5px; }
    .heft-ablauf { padding-top: 16px; }
    .heft-ablauf-zeit { font-size: 22px; }
    .heft-highlights li { gap: 14px; padding: 6px 0; font-size: 22px; }
    .heft-zeichen { width: 36px; height: 36px; }
    .heft-zeichen svg { width: 19px; height: 19px; }
  }

  /* Handy: Seiten nebeneinander, das Fenster zeigt eine; nach dem Aufklappen gleitet es weiter.
     Beschnitten wird nur waagrecht am Abschnitt: Eine Bühne mit overflow schnitt auf dem iPhone den Heftschatten
     ab, sobald Safari die Leiste einklappt (die Bühne ist so hoch wie der kleinste Bildschirm). */
  @media (prefers-reduced-motion: no-preference) and (max-width: 760px) and (min-height: 620px) {
    .programm {
      --heft-halte: 0, .38, 1;
      height: 260svh;
      overflow-x: clip;
      scroll-margin-top: calc(-61svh - 120px);
    }
    .heft-buehne {
      height: 100svh;
      margin: 0 calc(-1 * var(--rand));
      padding: calc(var(--kopf-h) + 4px) var(--rand) 0;
      align-items: flex-start;
      perspective: 1600px;
    }
    .heft {
      --seite-b: calc(100vw - 2 * var(--rand));
      --seite-h: clamp(430px, calc(100svh - var(--kopf-h) - 160px), 560px);
      animation-name: heft-schwenk;
      animation-range: contain 0% contain 100%;
    }
    .heft-deckel { animation-range: contain 10% contain 34%; }
    .schleife-ohr--l,
    .schleife-ohr--r { animation-range: contain 0% contain 6%; }
    .schleife-falte { animation-range: contain 0% contain 4%; }
    .schleife-ende--l,
    .schleife-ende--r { animation-range: contain 2% contain 9%; }
    .schleife-knoten { animation-range: contain 3% contain 9%; }
    .heft-anhaenger { animation-range: contain 1% contain 8%; }
    .heft-band { animation-range: contain 5% contain 10%; }
    .heft-vorne::after { animation-range: contain 10% contain 22%; }
    .heft-links::after { animation-range: contain 22% contain 34%; }
    .heft-rechts::after { animation-range: contain 10% contain 34%; }
    .heft-seite { padding: 26px 24px; }
    .heft-links {
      border-radius: var(--r-l) 0 0 var(--r-l);
      background-image: linear-gradient(to left, rgba(var(--mag-tief), .075), rgba(var(--mag-tief), 0) 40px);
    }
    .heft-rechts {
      border-radius: 0 var(--r-l) var(--r-l) 0;
      background-image: linear-gradient(to right, rgba(var(--mag-tief), .075), rgba(var(--mag-tief), 0) 40px);
    }
    .heft-highlights li { gap: 14px; padding: 8px 0; font-size: 22px; }
    .heft-unter { margin: -12px 0 10px; font-size: 14px; }
    .heft-programm li { gap: 12px; padding: 8px 0; font-size: 16px; line-height: 1.38; }
    .heft-haken { width: 18px; height: 18px; margin-top: 2px; }
    .heft-ablauf { padding-top: 18px; }
    .heft-ablauf-zeit { font-size: 22px; }
    .heft-ablauf-was { font-size: 12.5px; }
    .heft-zeichen { width: 40px; height: 40px; }
    .heft-highlights li:nth-child(1) { animation-range: contain 64% contain 74%; }
    .heft-highlights li:nth-child(2) { animation-range: contain 69% contain 79%; }
    .heft-highlights li:nth-child(3) { animation-range: contain 74% contain 84%; }
    .heft-highlights li:nth-child(4) { animation-range: contain 79% contain 89%; }
    .heft-highlights li:nth-child(5) { animation-range: contain 84% contain 94%; }
    .heft-highlights li:nth-child(6) { animation-range: contain 88% contain 96%; }
  }
}
@keyframes heft-mittig { from { transform: translateX(calc(var(--seite-b) * -.5)); } to { transform: none; } }
/* Handy: zu, bis die Schleife offen ist (10 %), Deckel auf bis 34 %, Programm steht bis 42 % (Haltepunkt .38),
   dann gleitet die Ansicht bis 90 % zu den Highlights (Haltepunkt 1). */
@keyframes heft-schwenk {
  0%, 10% { transform: translateX(calc(-1 * var(--seite-b))); }
  34%, 42% { transform: none; }
  90%, 100% { transform: translateX(calc(-1 * var(--seite-b))); }
}
@keyframes deckel-auf { from { transform: rotateY(0deg); } to { transform: rotateY(-180deg); } }
@keyframes licht-weg { to { opacity: 1; } }
@keyframes licht-her { from { opacity: 1; } to { opacity: 0; } }
@keyframes schlagschatten { 0% { opacity: 0; } 18% { opacity: 1; } 55% { opacity: .55; } 100% { opacity: 0; } }
@keyframes eintrag { from { opacity: 0; transform: translateY(12px); } }
@keyframes ohr-l-auf { to { opacity: 0; transform: rotate(-38deg) scale(.15); } }
@keyframes ohr-r-auf { to { opacity: 0; transform: rotate(38deg) scale(.15); } }
@keyframes verblassen { to { opacity: 0; } }
@keyframes ende-l-weg { to { opacity: 0; transform: translate(-8px, 30px) rotate(16deg); } }
@keyframes ende-r-weg { to { opacity: 0; transform: translate(8px, 30px) rotate(-16deg); } }
@keyframes knoten-weg { to { opacity: 0; transform: scale(.2); } }
@keyframes anhaenger-faellt {
  from { transform: translateY(0) rotate(9deg); }
  to { opacity: 0; transform: translateY(70px) rotate(34deg); }
}
@keyframes band-weg { 70% { opacity: 1; } to { opacity: 0; transform: translateX(102%); } }

/* ======================================================================
   Tickets: vier echte Tickets wie die Einladung am Filmende. Hauptteil auf Papier, Abrisslinie mit zwei
   Stanzlöchern, Abschnitt mit Preis, Preistafel und Menge. Breit hochkant: sechs Zeilen per Subgrid, damit
   die Abrisslinien aller Tickets auf einer Höhe liegen. Handy quer, Abschnitt rechts. Kombi in Magenta.
   Die Löcher sind Papier-Halbkreise an der Kante (der Grund ist hier überall --papier), so bleibt jedes
   Ticket ein einfaches Grid und behält seinen Schatten.
   ====================================================================== */

.tickets-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 36px;
}
.tickets-titel { font-size: clamp(48px, 6vw, 80px); }
.tickets-unter { color: var(--mut); }

.karten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.karte {
  --loch: 13px;
  --pt: 26px;
  --px: 24px;
  --pb: 22px;
  --stub-ton: rgba(var(--mag-tief), .055);
  --punkte: rgba(var(--mag-tief), .26);
  --loch-schatten: inset 0 2px 5px rgba(var(--mag-tief), .22);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
  min-width: 0;
  padding: var(--pt) var(--px) var(--pb);
  border-radius: var(--r-l);
}
.karte > * { grid-column: 1; }
.karte-kopf { grid-row: 1; }
.karte-umfang { grid-row: 2; }
.karte-einlass { grid-row: 3; }
.karte-preis { grid-row: 4; }
.karte-info { grid-row: 5; }
.karte-menge { grid-row: 6; }

/* Abschnitt: eine Spur dunkler getönt, vom Abriss bis zur Unterkante. */
.karte::before {
  content: '';
  grid-row: 4 / 7;
  grid-column: 1;
  z-index: -1;
  margin: 0 calc(-1 * var(--px)) calc(-1 * var(--pb));
  border-radius: 0 0 var(--r-l) var(--r-l);
  background: var(--stub-ton);
}
/* Abrisslinie: Punkte von Loch zu Loch. */
.karte::after {
  content: '';
  grid-row: 4;
  grid-column: 1;
  align-self: start;
  height: 0;
  margin: -1.5px calc(var(--loch) + 6px - var(--px)) 0;
  border-top: 3px dotted var(--punkte);
  pointer-events: none;
}
/* Stanzlöcher: Halbkreise aus Papier an beiden Kanten, oben mit dem Schatten der Papierkante. */
.karte-preis { position: relative; }
.karte-preis::before,
.karte-preis::after,
.karte-menge::before {
  position: absolute;
  width: calc(2 * var(--loch));
  height: calc(2 * var(--loch));
  border-radius: 50%;
  background: var(--papier);
  box-shadow: var(--loch-schatten);
  pointer-events: none;
}
.karte-preis::before,
.karte-preis::after { content: ''; top: calc(-1 * var(--loch)); }
.karte-preis::before { left: calc(-1 * var(--px) - var(--loch)); clip-path: inset(0 0 0 50%); }
.karte-preis::after { right: calc(-1 * var(--px) - var(--loch)); clip-path: inset(0 50% 0 0); }

/* Hauptteil */
.karte-kopf { display: grid; gap: 8px; align-content: start; }
/* Plakette auf der Oberkante: hebt das Kombi-Ticket hervor, ohne die Kopfzeile aller Tickets zu verlängern. */
.karte-empfehlung {
  position: absolute;
  top: -13px;
  left: var(--px);
  padding: 5px 13px;
  border-radius: var(--r-rund);
  color: var(--mag-lo);
  background: #fff;
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .2), 0 6px 14px -6px rgba(var(--mag-tief), .45);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.karte-name {
  font-family: var(--schrift-titel);
  font-size: 34px;
  font-weight: 800;
  line-height: .95;
}
.karte-text { font-size: 15px; line-height: 1.45; }

/* Umfang: was im Ticket steckt, wie ein Vergleich über alle Tickets (gleiche Zeilen, gleiche Höhe). */
.karte-umfang ul {
  list-style: none;
  display: grid;
  margin-top: 18px;
  border-top: 1px solid rgba(var(--mag-tief), .12);
}
.karte-umfang li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(var(--mag-tief), .12);
  font-size: 14.5px;
  line-height: 1.35;
}
.umfang-was { font-weight: 600; }
.umfang-zeit { color: var(--mut); font-variant-numeric: tabular-nums; }
.karte-umfang li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
}
.karte-umfang .drin::before {
  width: 11px;
  height: 6px;
  margin-top: -5px;
  border-left: 2.5px solid var(--mag);
  border-bottom: 2.5px solid var(--mag);
  transform: rotate(-45deg);
}
.karte-umfang .nicht { color: var(--mut); }
.karte-umfang .nicht .umfang-was { font-weight: 400; }
.karte-umfang .nicht::before {
  width: 10px;
  height: 2px;
  margin-top: -1px;
  background: rgba(var(--mag-tief), .35);
}
.karte-einlass {
  padding: 14px 0 24px;
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.45;
}

/* Abschnitt: Stufe mit Frist, Preis, Preistafel, Restmenge, Menge. */
.karte-preis { padding-top: 24px; }
.karte-stufe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 10px;
  color: var(--mag-lo);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.karte-phase {
  padding: 3px 10px;
  border-radius: var(--r-rund);
  color: #fff;
  background-color: var(--mag);
  background-image: var(--magenta-verlauf);
  font-size: 12.5px;
}
.karte-betrag { color: var(--mut); font-size: 14px; }
.karte-summe {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: 50px;
  font-weight: 800;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}
.karte-betrag--eingang {
  color: var(--ink);
  font-family: var(--schrift-titel);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
}
.karte-info { display: grid; gap: 10px; align-content: start; padding-top: 14px; }
.karte-staffel { margin: 0; }
.karte-staffel > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px dashed rgba(var(--mag-tief), .18);
  font-size: 14.5px;
  line-height: 1.35;
}
.karte-staffel > div:last-child { border-bottom: 1px dashed rgba(var(--mag-tief), .18); }
.karte-staffel dt { color: var(--mut); }
.karte-staffel dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.karte-bestand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mag-lo);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.karte-bestand::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.karte-spaeter { color: var(--mut); font-size: 14px; line-height: 1.45; }
.karte-menge { align-self: end; padding-top: 18px; }
.karte-menge > .knopf { width: 100%; }

/* Ohne Subgrid (alte Browser): Spalte, Abschnitt nach unten geschoben, Abriss als Punktlinie. */
@supports not (grid-template-rows: subgrid) {
  .karte { display: flex; flex-direction: column; }
  .karte::before, .karte::after { display: none; }
  .karte-preis { margin-top: auto; border-top: 3px dotted var(--punkte); }
}

/* Empfehlung: Magenta-Material, Abschnitt dunkler, alle Texte weiß (mindestens 5,3:1 über dem Verlauf). */
.karte--empfehlung {
  --stub-ton: rgba(var(--mag-tief), .3);
  --punkte: rgba(255, 255, 255, .55);
  --loch-schatten: inset 0 2px 4px rgba(var(--mag-tief), .4);
}
.karte--empfehlung,
.karte--empfehlung .karte-einlass,
.karte--empfehlung .karte-stufe,
.karte--empfehlung .karte-betrag,
.karte--empfehlung .karte-summe,
.karte--empfehlung .karte-bestand,
.karte--empfehlung .karte-spaeter,
.karte--empfehlung .karte-staffel dt,
.karte--empfehlung .umfang-zeit { color: #fff; }
.karte--empfehlung .karte-umfang ul,
.karte--empfehlung .karte-umfang li { border-color: rgba(255, 255, 255, .24); }
.karte--empfehlung .karte-staffel > div { border-color: rgba(255, 255, 255, .3); }
.karte--empfehlung .karte-umfang .drin::before { border-color: #fff; }
.karte--empfehlung .karte-phase { color: var(--mag-lo); background: #fff; }
.karte--empfehlung .karte-knopf--hell {
  color: var(--mag-lo);
  background: var(--flaeche);
  box-shadow: -4px -4px 9px rgba(255, 255, 255, .16), 5px 5px 12px rgba(var(--mag-tief), .55);
}
.karte--empfehlung .karte-knopf--hell:active { box-shadow: var(--gepraegt-s); background: var(--mulde); }
/* Fokusring auf Magenta in Weiß, sonst verschwindet er im Material. */
.karte--empfehlung :focus-visible { outline-color: #fff; }

/* Gruppenpreis (Kombi): ab 4 Tickets in einer Bestellung günstiger je Ticket. */
.karte-gruppe {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--r-s);
  background: rgba(var(--mag-tief), .06);
  box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .1);
  font-size: 14px;
  line-height: 1.4;
}
.karte-gruppe-zeichen { margin-top: 1px; color: var(--mag-lo); }
.karte-gruppe-titel { display: block; font-weight: 700; }
.karte--empfehlung .karte-gruppe { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.karte--empfehlung .karte-gruppe-zeichen { color: #fff; }

/* ======================================================================
   VIP: die schwarze Einladung mit Goldprägung, in der Mitte der Tickets. Die Goldfolie fängt beim Scrollen
   das Licht: Der Glanz wandert mit, wie wenn man eine geprägte Karte kippt. Knappheit nur aus dem echten
   Bestand: „Limitiert auf 30 Plätze“, dann „Noch 18 von 30“ mit Balken, zuletzt „Nur noch 4“ mit Puls.
   ====================================================================== */
.karte--vip,
.posten--vip {
  --gold: #D9B45A;
  --gold-hell: #F6E3A6;
  --gold-tief: #9C772B;
  --gold-folie: linear-gradient(100deg, var(--gold-tief) 0%, var(--gold) 18%, var(--gold-hell) 32%, var(--gold) 46%,
    var(--gold-tief) 60%, var(--gold) 76%, var(--gold-hell) 88%, var(--gold) 100%);
  --elfenbein: #F1EADC;
  --elfenbein-mut: #BFB4A2;
  --schwarz-karte: radial-gradient(130% 75% at 50% 0%, #2A2129 0%, #161117 46%, #0D0A0E 100%);
}
.karte--vip {
  --stub-ton: rgba(217, 180, 90, .07);
  --punkte: rgba(217, 180, 90, .5);
  --loch-schatten: inset 0 2px 5px rgba(0, 0, 0, .55);
  color: var(--elfenbein);
  background: var(--schwarz-karte);
  box-shadow: inset 0 0 0 1px rgba(217, 180, 90, .42), 0 2px 4px rgba(20, 8, 16, .3), 0 28px 56px -28px rgba(20, 8, 16, .85);
}
.karte--vip .karte-name,
.karte--vip .karte-summe,
.posten--vip .posten-name,
.posten--vip .posten-preis {
  color: var(--gold);
  background-image: var(--gold-folie);
  background-size: 240% 100%;
  background-position: 70% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .karte--vip .karte-name,
    .karte--vip .karte-summe {
      animation: folie-licht linear both;
      animation-timeline: view();
    }
  }
}
@keyframes folie-licht {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}
.karte--vip .karte-limitiert,
.posten--vip .posten-limitiert {
  color: #1A1408;
  background: linear-gradient(100deg, var(--gold-tief), var(--gold-hell) 45%, var(--gold) 70%, var(--gold-tief));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 18px -8px rgba(156, 119, 43, .75);
}
.karte--vip .karte-einlass,
.karte--vip .karte-betrag,
.karte--vip .karte-spaeter,
.karte--vip .umfang-zeit { color: var(--elfenbein-mut); }
.karte--vip .karte-umfang ul,
.karte--vip .karte-umfang li { border-color: rgba(217, 180, 90, .2); }
.karte--vip .karte-umfang .drin::before { border-color: var(--gold); }
.karte--vip.karte--gewaehlt {
  box-shadow: inset 0 0 0 2px var(--gold), 0 2px 4px rgba(20, 8, 16, .3), 0 28px 56px -28px rgba(20, 8, 16, .85);
}
.karte--vip :focus-visible,
.posten--vip :focus-visible { outline-color: var(--gold-hell); }

/* Knappheit: Punkt (bei „Nur noch …“ ein ruhiger Puls), Satz, Balken (vergebener Anteil), eine Zeile darunter. */
.kontingent { display: grid; gap: 9px; }
.kontingent-text {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-hell);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.kontingent-text::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.kontingent--knapp .kontingent-text::before { animation: knapp-puls 1.8s ease-out infinite; }
@keyframes knapp-puls {
  0% { box-shadow: 0 0 0 0 rgba(217, 180, 90, .6); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(217, 180, 90, 0); }
}
.kontingent-balken {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  -webkit-appearance: none;
  appearance: none;
}
.kontingent-balken::-webkit-meter-bar { height: 6px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.kontingent-balken::-webkit-meter-optimum-value,
.kontingent-balken::-webkit-meter-suboptimum-value,
.kontingent-balken::-webkit-meter-even-less-good-value { border-radius: 99px; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); }
.kontingent-balken::-moz-meter-bar { border-radius: 99px; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); }
.kontingent-unter { color: var(--elfenbein-mut); font-size: 13.5px; line-height: 1.4; }

/* Knopf ohne JavaScript und Mengenregler: Gold auf Schwarz. */
.karte-knopf--gold {
  color: #1A1408;
  background: linear-gradient(100deg, var(--gold-tief), var(--gold) 30%, var(--gold-hell) 55%, var(--gold) 80%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -10px rgba(156, 119, 43, .8);
}
.karte--vip .menge,
.posten--vip .menge {
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(217, 180, 90, .22);
}
.karte--vip .menge-knopf,
.posten--vip .menge-knopf {
  color: #1A1408;
  background: linear-gradient(160deg, var(--gold-hell), var(--gold) 55%, var(--gold-tief));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.karte--vip .menge-knopf:disabled,
.posten--vip .menge-knopf:disabled { color: rgba(217, 180, 90, .4); background: transparent; box-shadow: none; }
.karte--vip .menge-zahl,
.posten--vip .menge-zahl { color: var(--gold-hell); }

@media (max-width: 1100px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Handy: Tickets quer wie eine Liste im Apple Store („Modell wählen“). Links Name, Tag/Ball/Party, Einlass,
   Preistafel; Abrisslinie senkrecht mit Löchern oben und unten; rechts im Abschnitt Preis und Menge.
   So stehen alle vier Tickets fast auf einem Bildschirm. */
@media (max-width: 600px) {
  .karten { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .karte {
    --loch: 10px;
    --pt: 16px;
    --pb: 14px;
    --pl: 16px;
    --stub: 132px;
    grid-row: auto;
    /* Der Preis läuft über drei Zeilen; ist er höher als Name, Marken und Einlass, wächst nur die
       Einlass-Zeile (1fr), damit unter dem Namen keine Lücke entsteht. */
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: minmax(0, 1fr) var(--stub);
    grid-template-areas:
      "kopf    preis"
      "umfang  preis"
      "einlass preis"
      "info    menge";
    column-gap: 0;
    row-gap: 8px;
    padding: var(--pt) 0 var(--pb) var(--pl);
    border-radius: 22px;
  }
  .karte::before {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: calc(-1 * var(--pt)) 0 calc(-1 * var(--pb));
    border-radius: 0 22px 22px 0;
  }
  .karte::after {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: stretch;
    justify-self: start;
    width: 0;
    height: auto;
    margin: calc(var(--loch) + 5px - var(--pt)) 0 calc(var(--loch) + 5px - var(--pb)) -1.5px;
    border-top: 0;
    border-left: 3px dotted var(--punkte);
  }
  .karte-kopf { grid-area: kopf; gap: 2px; padding-right: 14px; }
  .karte-umfang { grid-area: umfang; padding-right: 14px; }
  .karte-einlass { grid-area: einlass; padding: 0 14px 0 0; font-size: 12.5px; line-height: 1.35; }
  .karte-info { grid-area: info; gap: 3px; padding: 0 14px 0 0; }
  .karte-preis { grid-area: preis; align-self: start; padding: 0 12px 0 16px; }
  .karte-menge { grid-area: menge; position: relative; align-self: end; padding: 10px 10px 0 12px; }

  /* Löcher oben und unten an der senkrechten Abrisslinie. */
  .karte-preis::before { top: calc(-1 * var(--pt) - var(--loch)); left: calc(-1 * var(--loch)); clip-path: inset(50% 0 0 0); }
  .karte-preis::after { display: none; }
  .karte-menge::before {
    content: '';
    bottom: calc(-1 * var(--pb) - var(--loch));
    left: calc(-1 * var(--loch));
    clip-path: inset(0 0 50% 0);
  }

  .karte-empfehlung { top: -11px; left: var(--pl); padding: 3px 10px; font-size: 11.5px; }
  .karte--empfehlung { --pt: 22px; }
  .karte-name { font-size: 27px; }
  .karte-text { display: none; }
  .karte-umfang ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; border: 0; }
  .karte-umfang li {
    display: inline-flex;
    padding: 4px 9px 4px 22px;
    border: 0;
    border-radius: var(--r-rund);
    background: rgba(var(--mag-tief), .07);
    font-size: 12.5px;
  }
  .karte-umfang li::before { left: 8px; }
  .karte-umfang .umfang-zeit { display: none; }
  /* Langer Name bleibt für Screenreader, sichtbar ist die kurze Marke. */
  .karte-umfang .umfang-was {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .karte-umfang .nicht { opacity: .55; background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .14); }
  .karte--empfehlung .karte-umfang li { background: rgba(255, 255, 255, .16); }
  .karte--empfehlung .karte-umfang .nicht { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

  /* Preistafel kurz untereinander: „danach 49 €“, „am Eingang 59 €“. */
  .karte-staffel > div,
  .karte-staffel > div:last-child { justify-content: flex-start; gap: 4px; padding: 0; border: 0; font-size: 12.5px; }
  .karte-bestand, .karte-spaeter { gap: 6px; font-size: 12.5px; }
  .karte-bestand::before { width: 6px; height: 6px; }

  .karte-stufe { gap: 3px 6px; margin-bottom: 6px; font-size: 11.5px; }
  .karte-phase { padding: 2px 8px; font-size: 11px; }
  .karte-summe { font-size: 32px; }
  .karte-betrag { font-size: 11.5px; }
  .karte-betrag--eingang { font-size: 19px; }
  .karte-menge .menge { width: 100%; min-height: 46px; gap: 2px; padding: 4px; }
  .karte-menge .menge-knopf { width: 38px; height: 38px; font-size: 22px; }
  .karte-menge .menge-zahl { font-size: 22px; }
  .karte-menge > .knopf { min-height: 44px; padding: 0 10px; font-size: 15px; }
}
@media (max-width: 370px) {
  .karte { --stub: 128px; --pl: 14px; }
  .karte-name { font-size: 25px; }
}
.umfang-kurz { display: none; }
@media (max-width: 600px) {
  .karte-umfang .umfang-kurz { display: inline; font-weight: 600; }
}

/* Fünf Tickets (mit VIP). Breit: nebeneinander, VIP in der Mitte; etwas enger, Tag/Ball/Party als kurze Marken. */
@media (min-width: 1240px) {
  .karten:has(> .karte:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .karten:has(> .karte:nth-child(5)) .karte { --px: 20px; }
  .karten:has(> .karte:nth-child(5)) .karte-name { font-size: 30px; }
  .karten:has(> .karte:nth-child(5)) .karte-summe { font-size: 44px; }
  .karten:has(> .karte:nth-child(5)) .karte-umfang .umfang-was {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .karten:has(> .karte:nth-child(5)) .karte-umfang .umfang-kurz { display: inline; font-weight: 600; }
}
/* Tablet: zwei Spalten, VIP quer über beide in der Mitte – links der Hauptteil, rechts der Abschnitt mit Preis,
   Knappheit und Menge, die Abrisslinie senkrecht mit Löchern oben und unten (wie die Tickets am Handy). */
@media (min-width: 601px) and (max-width: 1239px) {
  .karten:has(> .karte:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .karte--vip {
    --stub: 300px;
    --pl: 28px;
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-rows: auto auto 1fr;
    grid-template-columns: minmax(0, 1fr) var(--stub);
    grid-template-areas:
      "kopf    preis"
      "umfang  info"
      "einlass menge";
    padding: var(--pt) 0 var(--pb) var(--pl);
  }
  .karte--vip::before {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: calc(-1 * var(--pt)) 0 calc(-1 * var(--pb));
    border-radius: 0 var(--r-l) var(--r-l) 0;
  }
  .karte--vip::after {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: stretch;
    justify-self: start;
    width: 0;
    height: auto;
    margin: calc(var(--loch) + 6px - var(--pt)) 0 calc(var(--loch) + 6px - var(--pb)) -1.5px;
    border-top: 0;
    border-left: 3px dotted var(--punkte);
  }
  .karte--vip .karte-kopf { grid-area: kopf; padding-right: 32px; }
  .karte--vip .karte-umfang { grid-area: umfang; padding-right: 32px; }
  .karte--vip .karte-einlass { grid-area: einlass; padding: 14px 32px 0 0; }
  .karte--vip .karte-preis { grid-area: preis; padding: 0 24px 0 28px; }
  .karte--vip .karte-info { grid-area: info; padding: 14px 24px 0 28px; }
  .karte--vip .karte-menge { grid-area: menge; position: relative; padding: 18px 24px 0 28px; }
  .karte--vip .karte-preis::before { top: calc(-1 * var(--pt) - var(--loch)); left: calc(-1 * var(--loch)); clip-path: inset(50% 0 0 0); }
  .karte--vip .karte-preis::after { display: none; }
  .karte--vip .karte-menge::before {
    content: '';
    bottom: calc(-1 * var(--pb) - var(--loch));
    left: calc(-1 * var(--loch));
    clip-path: inset(0 0 50% 0);
  }
}
/* Handy: VIP wie die anderen quer, aber die Lounge bleibt zu lesen (sonst nur Name und Marken). */
@media (max-width: 600px) {
  .karte--vip { --pt: 22px; }
  .karte--vip .karte-text { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; }
  .karte--vip .karte-umfang li { color: var(--gold-hell); background: rgba(217, 180, 90, .13); }
  .kontingent { gap: 6px; }
  .kontingent-text { gap: 7px; font-size: 13px; }
  .kontingent-unter { font-size: 12px; }
  .karte-gruppe { padding: 8px 10px; gap: 8px; font-size: 12.5px; }
}

/* ----------------------------------------------------------------------
   Unter den Tickets: „Sicher bezahlen“ mit Logos und drei Zusagen (eingeprägte Fläche, nah am Kauf),
   dann „Gut zu wissen“ mit Marke, Titel und einem Satz, zuletzt das Kleingedruckte zum Endpreis.
   ---------------------------------------------------------------------- */

.tickets-fuss { display: grid; gap: 48px; margin-top: 40px; }

.sicher {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 3fr);
  gap: 24px 48px;
  align-items: start;
  padding: 28px 32px;
  border-radius: var(--r-l);
}
.sicher-zahlung { display: grid; gap: 12px; align-content: start; }
.sicher-titel {
  font-family: var(--schrift-titel);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.zahlung-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
/* Logos so, wie sie geliefert werden: eigene Kante und Rundung, kein Schatten, kein Zuschnitt (Apple verbietet
   Effekte am Apple-Pay-Zeichen; ein eigener Radius schneidet dessen schwarze Kante an). */
.zahlung-logos img {
  display: block;
  width: 48px;
  height: auto;
}
.sicher-text { color: var(--mut); font-size: 14px; line-height: 1.45; }
.vorteile {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
}
.vorteile li {
  position: relative;
  padding-left: 32px;
  color: var(--mut);
  font-size: 15px;
  line-height: 1.5;
}
/* Haken in einem kleinen Magenta-Kreis. */
.vorteile li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--mag);
  background-image: var(--magenta-verlauf);
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .25);
}
.vorteile li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.vorteil-titel {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
}

.wissen .gruppe-titel { margin-bottom: 22px; }
.wissen-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
.wissen-liste li {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.wissen-marke {
  color: var(--mag-lo);
  font-family: var(--schrift-titel);
  font-size: 36px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.wissen-titel {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.wissen-liste p:not(.wissen-titel) { color: var(--mut); font-size: 15.5px; line-height: 1.5; }
.tickets-steuer { margin-top: -16px; color: var(--mut); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 1100px) {
  .sicher { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .vorteile, .wissen-liste { grid-template-columns: minmax(0, 1fr); }
  .wissen-liste { gap: 22px; }
  .wissen-liste p:not(.wissen-titel) { max-width: var(--textmass); }
}
@media (max-width: 600px) {
  .tickets-fuss { gap: 40px; margin-top: 28px; }
  .sicher { gap: 22px; padding: 22px 20px; border-radius: var(--r-m); }
  .zahlung-logos img { width: 46px; }
  .vorteile { gap: 16px; }
  .wissen-liste li { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 12px; }
  .wissen-marke { font-size: 31px; }
}

/* ======================================================================
   Galerie (nur mit Fotos des Vereins), Location
   ====================================================================== */

.galerie-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.ort {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 32px 48px;
  align-items: center;
}
.ort-lead { max-width: 52ch; margin-top: 18px; font-size: 18px; }
.ort-adresse { margin-top: 16px; }
.ort-adresse strong { font-weight: 600; }
.ort-aktionen { margin-top: 20px; }
.ort-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ort-fotos .foto { padding: 10px; }
@media (max-width: 560px) { .ort-fotos { grid-template-columns: 1fr; } }
.ort-logo {
  width: 190px;
  margin-top: 32px;
  mix-blend-mode: multiply;
}
@media (max-width: 900px) {
  .ort { grid-template-columns: 1fr; }
}

/* ======================================================================
   Fragen: eingeprägte Zeilen, Plus wird zu Minus.
   ====================================================================== */

.fragen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 48px;
  align-items: start;
}
.fragen-liste {
  border-radius: var(--r-l);
  background: var(--flaeche);
  box-shadow: var(--erhaben);
  overflow: hidden;
}
.frage + .frage { border-top: 1px solid rgba(var(--mag-tief), .1); }
.frage > summary {
  position: relative;
  min-height: 60px;
  padding: 17px 60px 17px 22px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: background-color .2s var(--kurve);
}
.frage > summary:hover { background-color: rgba(var(--mag-tief), .03); }
.frage > summary::-webkit-details-marker { display: none; }
.frage > summary::before,
.frage > summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--mag-lo);
  transition: transform .66s var(--feder);
}
.frage > summary::after { transform: rotate(90deg); }
.frage[open]:not([data-zustand="schliesst"]) > summary::after { transform: rotate(0deg); }
.frage > summary:active { background-color: rgba(var(--mag-tief), .05); }
.frage[data-zustand="oeffnet"] .frage-antwort,
.frage[data-zustand="schliesst"] .frage-antwort { overflow: hidden; }
.frage-antwort {
  display: grid;
  gap: 10px;
  padding: 0 22px 20px;
}
.frage-antwort p { max-width: var(--textmass); }
.frage-antwort a { color: var(--mag-lo); text-underline-offset: 3px; }
@media (max-width: 800px) {
  .fragen { grid-template-columns: 1fr; }
}

/* ======================================================================
   Partner: erhabene Papierkarte mit Mail-Knopf.
   ====================================================================== */

.partner-karte {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-l);
}
.partner-text { font-size: 18px; }
.partner-aktionen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
}
.partner-mail { color: var(--mut); font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .partner-karte { grid-template-columns: 1fr; }
}

/* ======================================================================
   Warenkorb: Mengenregler (Startseite und Kasse), schwebende Leiste.
   ====================================================================== */

.menge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 6px;
  border-radius: var(--r-rund);
  background: var(--mulde);
  box-shadow: var(--gepraegt-s);
}
.menge-knopf {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--flaeche);
  box-shadow: var(--erhaben-s);
  transition: transform .66s var(--feder);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.menge-knopf:active:not(:disabled) { transform: scale(.88); transition: transform .08s ease-out; }
.menge-knopf:disabled {
  color: rgba(var(--mag-tief), .3);
  background: transparent;
  box-shadow: none;
  cursor: default;
}
.menge-zahl {
  display: inline-block;
  min-width: 2ch;
  font-family: var(--schrift-titel);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Auf der Magenta-Karte: Mulde und Knöpfe aus Magenta-Material. */
.karte--empfehlung .menge {
  background: rgba(var(--mag-tief), .28);
  box-shadow: inset 0 1px 3px rgba(var(--mag-tief), .45);
}
.karte--empfehlung .menge-knopf {
  color: #fff;
  background: var(--magenta-verlauf);
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.karte--empfehlung .menge-knopf:active:not(:disabled) { transform: scale(.9); }
.karte--empfehlung .menge-knopf:disabled {
  color: rgba(255, 255, 255, .5);
  background: transparent;
  box-shadow: none;
}
.karte--empfehlung .menge-zahl { color: #fff; }

/* Gewählte Karte: leicht eingedrückt, damit man sieht, was im Korb liegt. */
.karte--gewaehlt.erhaben { box-shadow: var(--erhaben-s), inset 0 0 0 2px rgba(177, 61, 139, .35); }

.kasse {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-kasse);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(560px, calc(100% - 2 * var(--rand)));
  margin: 0 auto;
  padding: 10px 10px 10px 26px;
  border-radius: var(--r-l);
  background-color: var(--glas);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 0 0 1px rgba(var(--mag-tief), .08), 0 18px 44px -16px rgba(var(--mag-tief), .45), var(--kante);
  animation: auftauchen .66s var(--feder);
}
.kasse--geht { animation: abtauchen .22s cubic-bezier(.4, 0, 1, 1) forwards; }
/* Tipp zum Gruppenpreis über der Leiste (z. B. bei 3 Kombi: „Mit dem 4. Kombi-Ticket zahlt ihr 99 € statt 117 €.“):
   eine kleine Kapsel, die aus der Leiste aufsteigt. */
.kasse-tipp {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: calc(100% - 16px);
  padding: 8px 14px;
  border-radius: var(--r-rund);
  color: var(--mag-lo);
  background: #fff;
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .15), 0 10px 24px -10px rgba(var(--mag-tief), .45);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: tipp-auf .55s var(--feder) both;
}
@keyframes tipp-auf {
  from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.94); }
}
@keyframes abtauchen {
  to { opacity: 0; transform: translateY(26px) scale(.97); }
}
.kasse-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
}
.kasse-anzahl {
  font-family: var(--schrift-titel);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.kasse-summe { color: var(--mut); font-size: 15px; font-weight: 500; }
.kasse .knopf { flex: none; min-height: 52px; }
@keyframes auftauchen {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
}
.kasse-anzahl { display: inline-block; }

/* Zahlen rollen wie ein Zählwerk: mehr kommt von unten, weniger von oben. */
.rollt-rauf { animation: rollen-rauf .5s var(--feder); }
.rollt-runter { animation: rollen-runter .5s var(--feder); }
@keyframes rollen-rauf { from { opacity: 0; transform: translateY(60%); } }
@keyframes rollen-runter { from { opacity: 0; transform: translateY(-60%); } }

/* Flugpunkt vom „+“ zum Warenkorb (cart.js): außen die waagrechte, innen die senkrechte Bewegung. */
.flug { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; }
.flug-innen {
  display: block;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background-image: var(--magenta-verlauf);
  box-shadow: 0 3px 10px rgba(150, 47, 116, .5);
}
body.mit-kasse { padding-bottom: 110px; }

@media (max-width: 600px) {
  .kasse {
    width: calc(100% - 20px);
    bottom: max(10px, env(safe-area-inset-bottom));
    padding-left: 20px;
  }
  .kasse-anzahl { font-size: 22px; }
}

/* ======================================================================
   Bewegung: „2027“ prägt sich beim Laden ein (700 ms, nur Deckkraft). Der große Moment ist der
   Scroll-Film (siehe „Der Abend“); die Einladung erscheint an seinem Ende.
   Reduzierte Bewegung: keine Bewegung.
   ====================================================================== */

.praegung { animation: einpraegen .7s var(--kurve) both; }

@keyframes einpraegen {
  from { opacity: 0; }
}


@media (prefers-reduced-motion: reduce) {
  .praegung { animation: none !important; }
}

/* ======================================================================
   Kasse (/bestellen) wie bei Apple: drei nummerierte Schritte. Breit links Tickets und Angaben, rechts
   „Prüfen und bestellen“ mit dem kompletten Pflichtblock vor dem Knopf. Handy untereinander: kompakte
   Ticket-Zeilen, Felder mit gleitender Beschriftung, eine schwebende Leiste mit Summe und „Weiter“.
   Fehler in Rot (nur hier): Sie brauchen eine Farbe, die sich vom Magenta der Knöpfe unterscheidet.
   Kontrast --fehler #B3261E auf Fläche 6,0:1, auf Papier 5,2:1.
   ====================================================================== */

.bestellung {
  --fehler: #B3261E;
  --fehler-grund: rgba(179, 38, 30, .045);
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: clamp(16px, 3vw, 36px) var(--rand) 0;
}
.bestellung-kopf { margin-bottom: 28px; }
.bestellung-kopf h1 {
  font-family: var(--schrift-titel);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: .92;
}
.bestellung-intro { margin-top: 8px; color: var(--mut); font-size: 17px; }
/* Weg zurück aus der geschlossenen Kasse: ruhiger Link über dem Titel. In den Handy-Schritten 2 und 3 übernimmt
   „Zurück“ der Schritt-Leiste, damit nicht zwei Zurück-Wege nebeneinanderstehen. */
.bestellung-zurueck {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: -8px 0 6px;
  color: var(--mag-lo);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bestellung-zurueck::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.bestellung-zurueck:hover { text-decoration: underline; text-underline-offset: 3px; }
.bestellung-zurueck:active { opacity: .6; }
.bestellung:has(.bestellung-formular.schritte:not([data-schritt="1"])) .bestellung-zurueck { display: none; }

.hinweis,
.form-errors {
  position: relative;
  margin-bottom: 24px;
  padding: 16px 20px 16px 26px;
  border-radius: var(--r-m);
  background: var(--flaeche);
  box-shadow: var(--erhaben-s);
  font-weight: 500;
}
.hinweis::before,
.form-errors::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 4px;
  background: var(--magenta-verlauf);
}
.form-errors ul { list-style: none; display: grid; gap: 6px; }
.form-errors { color: var(--fehler); font-weight: 600; }
.form-errors::before { background: var(--fehler); }

/* Die Übersicht läuft über drei Zeilen; ist sie höher als links Tickets und Angaben, wächst nur die leere
   dritte Zeile (1fr), damit zwischen Schritt 1 und 2 keine Lücke entsteht. */
.bestellung-formular {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  grid-template-rows: auto auto 1fr;
  gap: 28px;
  align-items: start;
}
.bestellung-tickets, .bestellung-angaben { grid-column: 1; }
.bestellung-uebersicht {
  grid-column: 2;
  grid-row: 1 / span 3;
}
/* Die Übersicht klebt nur, wenn sie samt Knopf ganz ins Fenster passt. */
@media (min-width: 901px) and (min-height: 1280px) {
  .bestellung-uebersicht { position: sticky; top: 124px; }
}

.bestellung-tickets,
.bestellung-angaben,
.bestellung-uebersicht {
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 0;
  border-radius: var(--r-l);
}
/* Schritt-Titel: Nummer im Magenta-Kreis, dann der Name. Legend schwebt, damit sie im Fluss steht. */
.bestellung-titel {
  float: left;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  font-family: var(--schrift-titel);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.bestellung-titel + * { clear: both; }
h2.bestellung-titel { float: none; }
.schritt {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background-color: var(--mag);
  background-image: var(--magenta-verlauf);
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .3), inset 0 1px 0 rgba(255, 255, 255, .25);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

/* Frist, die für alle Tickets gilt: einmal über der Liste, eingeprägt wie ein Stempel. */
.tickets-frist {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: var(--r-s);
  background: var(--mulde);
  box-shadow: var(--gepraegt-s);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
}
.tickets-frist-zeichen { flex: none; color: var(--mag-lo); }

/* Tickets als ruhige Kacheln: oben was und wie viel, darunter was drin ist, Einlass und spätere Preise; unten
   rechts die Menge. Gewählte Tickets heben sich hell ab und bekommen einen Magenta-Rand. */
.posten-liste { display: grid; gap: 10px; }
.posten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "kopf    betrag"
    "umfang  menge"
    "zusatz  menge"
    "hinweis menge"
    "anker   menge"
    "gruppe  menge"
    "bestand menge";
  column-gap: 20px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .13);
  transition: box-shadow .3s var(--kurve), background-color .3s var(--kurve);
}
.posten--gewaehlt {
  background-color: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 0 2px var(--mag), 0 10px 24px -16px rgba(var(--mag-tief), .5);
}
.posten-kopf { grid-area: kopf; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.posten-name {
  font-family: var(--schrift-titel);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
}
/* Empfehlung: kleine Plakette direkt am Namen. */
.posten-empfehlung {
  padding: 3px 10px;
  border-radius: var(--r-rund);
  color: #fff;
  background-color: var(--mag);
  background-image: var(--magenta-verlauf);
  box-shadow: 0 1px 2px rgba(var(--mag-tief), .25), inset 0 1px 0 rgba(255, 255, 255, .25);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.posten-betrag { grid-area: betrag; text-align: right; }
.posten-preis {
  font-family: var(--schrift-titel);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color .2s var(--kurve);
}
.posten--gewaehlt .posten-preis { color: var(--mag-lo); }
.posten-endpreis { margin-top: 3px; color: var(--mut); font-size: 12.5px; }
.posten-preis--eingang { max-width: 15ch; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.35; white-space: normal; }

/* Was drin ist: Tag, Ball und Party nebeneinander wie ein Zeitstrahl; enthaltene Teile gefüllt,
   fehlende nur gestrichelt umrandet. */
.posten-umfang {
  grid-area: umfang;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  max-width: 420px;
  margin-top: 12px;
}
.posten-umfang li {
  display: grid;
  gap: 1px;
  padding: 6px 10px 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  line-height: 1.2;
}
.posten-umfang .umfang-kurz { display: block; font-size: 14px; font-weight: 700; }
.posten-umfang .umfang-zeit { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.posten-umfang .drin {
  color: var(--mag-lo);
  background: color-mix(in srgb, var(--mag) 15%, transparent);
  border-color: color-mix(in srgb, var(--mag) 28%, transparent);
}
.posten-umfang .nicht { color: var(--mut); border: 1px dashed rgba(var(--mag-tief), .26); }
.posten-umfang .nicht .umfang-kurz { font-weight: 500; }
.posten-text { grid-area: umfang; margin-top: 8px; font-size: 14.5px; line-height: 1.45; }
.posten-hinweis { grid-area: hinweis; margin-top: 10px; color: var(--mut); font-size: 13.5px; line-height: 1.45; }
/* Spätere Preise (nichts durchgestrichen – es sind künftige Preise). */
.posten-anker { grid-area: anker; margin-top: 2px; color: var(--mut); font-size: 13.5px; line-height: 1.4; }
.posten-frist { color: var(--mag-lo); font-weight: 600; }
/* „Danach 49,00 €“ und „am Eingang 59,00 €“ brechen nur als Ganzes um. */
.anker-teil { white-space: nowrap; }
.posten-bestand { grid-area: bestand; margin-top: 4px; color: var(--mag-lo); font-size: 13.5px; font-weight: 600; }
.posten-menge { grid-area: menge; align-self: end; }
.posten--aus { box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .08); }
/* Zusatz beim VIP-Ticket (Lounge mit Bar, Snacks und Getränke inklusive), unter Tag, Ball und Party. */
.posten-zusatz { grid-area: zusatz; margin-top: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
/* Gruppenpreis am Ticket: was gilt, darunter der Satz zur gewählten Menge (order.js). */
.posten-gruppe {
  grid-area: gruppe;
  display: grid;
  gap: 4px;
  justify-self: start;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: var(--r-s);
  background: rgba(var(--mag-tief), .05);
  box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .1);
  font-size: 13.5px;
  line-height: 1.4;
}
.posten-gruppe-text { display: flex; align-items: flex-start; gap: 8px; }
.posten-gruppe-zeichen { flex: none; margin-top: 1px; color: var(--mag-lo); }
.posten-gruppe-titel { font-weight: 700; }
.posten-gruppe-hinweis { padding-left: 26px; color: var(--mag-lo); font-weight: 600; }

/* VIP in der Kasse: dieselbe schwarze Karte mit Gold wie auf der Startseite, gewählt mit Goldrand. */
.posten--vip {
  color: var(--elfenbein);
  background: var(--schwarz-karte);
  box-shadow: inset 0 0 0 1px rgba(217, 180, 90, .4);
}
.posten--vip.posten--gewaehlt {
  background: var(--schwarz-karte);
  box-shadow: inset 0 0 0 2px var(--gold), 0 10px 24px -14px rgba(20, 8, 16, .6);
}
.posten--vip .posten-endpreis,
.posten--vip .posten-hinweis,
.posten--vip .posten-anker { color: var(--elfenbein-mut); }
.posten--vip .posten-zusatz,
.posten--vip .posten-kontingent { color: var(--gold-hell); }
.posten--vip .posten-umfang .drin {
  color: var(--gold-hell);
  background: rgba(217, 180, 90, .14);
  border-color: rgba(217, 180, 90, .35);
}
.posten--vip .posten-umfang .umfang-zeit { color: var(--elfenbein-mut); }
.posten-kontingent { display: flex; align-items: center; gap: 8px; }
.posten-kontingent::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.posten-kontingent--knapp::before { animation: knapp-puls 1.8s ease-out infinite; }
.posten--aus .posten-name,
.posten--aus .posten-preis { color: var(--mut); }
.posten-menge .menge { width: 140px; min-height: 50px; padding: 4px; }
.posten-menge .menge-knopf { width: 42px; height: 42px; font-size: 23px; }
.posten-menge .menge-zahl { font-size: 24px; }

/* Felder: Beschriftung im Feld, gleitet beim Tippen nach oben (das Label steht hinter dem Eingabefeld). */
.pflicht-hinweis { margin: -4px 0 14px; color: var(--mut); font-size: 13.5px; }
.pflicht { margin-left: 2px; color: var(--mag-lo); font-weight: 600; }
.optional { color: var(--mut); font-weight: 400; }

.feld { position: relative; display: grid; gap: 6px; margin-bottom: 14px; }
.feld:last-child { margin-bottom: 0; }
.bestellung .feld > input,
.bestellung .feld > textarea {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 25px 16px 7px;
  border: 0;
  border-radius: var(--r-s);
  color: var(--ink);
  background-color: var(--flaeche);
  box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .2);
  font: inherit;
  font-size: 17px;
  line-height: 26px;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow .2s var(--kurve), background-color .2s var(--kurve);
}
.bestellung .feld > textarea { min-height: 116px; padding-top: 27px; resize: vertical; }
.feld > label {
  position: absolute;
  top: 16px;
  left: 17px;
  right: 17px;
  overflow: hidden;
  color: var(--mut);
  font-size: 17px;
  line-height: 26px;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .22s var(--kurve), color .22s var(--kurve);
}
.feld > :focus + label,
.feld > :not(:placeholder-shown) + label { transform: translateY(-9px) scale(.74); }
.feld > input:-webkit-autofill + label { transform: translateY(-9px) scale(.74); }
.bestellung .feld > input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .2), inset 0 0 0 100px var(--flaeche);
  -webkit-text-fill-color: var(--ink);
}
/* Fokus: Rahmen in Magenta statt Umriss, das Feld wird hell. */
.bestellung .feld > :focus {
  outline: none;
  background-color: #fff;
  box-shadow: inset 0 0 0 2px var(--mag);
}
.feld > :focus + label { color: var(--mag-lo); }
/* Fehler: roter Rahmen, Hauch Rot im Feld, Beschriftung rot. */
.bestellung .feld > [aria-invalid="true"] {
  background-color: var(--fehler-grund);
  box-shadow: inset 0 0 0 1.5px var(--fehler);
}
.bestellung .feld > [aria-invalid="true"]:focus { background-color: #fff; box-shadow: inset 0 0 0 2px var(--fehler); }
.feld > [aria-invalid="true"] + label { color: var(--fehler); }

.field-error,
.field-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 0 4px;
  font-size: 14px;
  line-height: 1.4;
}
.field-hint { color: var(--mut); }
/* Wie bei Apple: Steht eine Meldung da, tritt der Hilfetext zurück. */
.feld:has(.field-error:not([hidden])) .field-hint:not(.field-error) { display: none; }
.field-error { color: var(--fehler); font-weight: 500; animation: meldung-herein .28s var(--kurve) both; }
.field-error::before {
  content: '!';
  display: grid;
  place-items: center;
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--fehler);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}
@keyframes meldung-herein { from { opacity: 0; transform: translateY(-4px); } }

/* Firma und Rechnungsadresse: eingeklappt, die meisten kaufen privat. Plus dreht sich zum Kreuz. */
.rechnung > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 2px;
  color: var(--mag-lo);
  font-size: 15.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rechnung > summary::-webkit-details-marker { display: none; }
.rechnung > summary::before {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat,
    rgba(var(--mag-tief), .08);
  transition: transform .35s var(--feder);
}
/* Beim Schließen bleibt <details> offen, bis der Inhalt eingeklappt ist (order.js); das Kreuz dreht sofort zurück. */
.rechnung[open]:not(.schliesst) > summary::before { transform: rotate(45deg); }
.rechnung > summary:active { opacity: .7; }
.rechnung-felder { padding-top: 8px; }
/* Während des Auf- und Zuklappens (order.js) ragt nichts über den Rand. */
.klappt { overflow: hidden; }
/* Der Hinweis zur Rechnungsadresse (ab 250 €) blendet weich ein. */
#address-hint:not([hidden]) { animation: meldung-herein .28s var(--kurve) both; }

/* Honigtopf für Bots: außerhalb des Bildschirms, nicht per Tab erreichbar (tabindex im HTML). */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Ohne JavaScript: Auswahlfeld für die Menge. */
.bestellung select {
  min-width: 96px;
  min-height: 50px;
  padding: 12px 40px 12px 16px;
  border: 0;
  border-radius: var(--r-s);
  background-color: var(--flaeche);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .2);
  font-size: 17px;
  -webkit-appearance: none;
  appearance: none;
}
.bestellung select:focus-visible { outline-offset: 2px; }

/* Übersicht wie ein Beleg: Veranstaltung, Positionen links und Preise rechts, Gesamt groß. */
.summary-event { display: grid; gap: 1px; color: var(--mut); font-size: 15px; }
.summary-event-name { color: var(--ink); font-weight: 600; }
/* Ablauf wie in Schritt 1 (Tag, Ball, Party), hier ohne Auswahl: drei ruhige Felder in einer Zeile. */
.summary-ablauf {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
}
.summary-ablauf li {
  display: grid;
  gap: 1px;
  padding: 5px 9px 6px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(var(--mag-tief), .13);
  color: var(--mut);
  line-height: 1.2;
}
.summary-ablauf .umfang-kurz { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.summary-ablauf .umfang-zeit { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Abstand der Positionen als Innenabstand jeder Zeile (nicht gap, nicht vom Nachbarn abhängig): So klappt er
   beim Hinzufügen und Entfernen mit, und nichts springt, wenn eine Zeile die andere ersetzt. */
.summary-lines {
  list-style: none;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(var(--mag-tief), .12);
  font-size: 15.5px;
  line-height: 1.35;
}
.summary-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 4px 0; }
.zeile-preis { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.zeile-leer { color: var(--mut); }
.summary-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--mag-tief), .12);
}
.summary-total-was { margin-right: auto; font-size: 17px; font-weight: 600; }
.summary-summe {
  font-family: var(--schrift-titel);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.summary-endpreis { flex-basis: 100%; margin-top: 2px; color: var(--mut); font-size: 13px; text-align: right; }

/* Direkt über dem Knopf, kurz und eingeprägt: kein Widerrufsrecht, AGB, und die Antwort auf „Und wenn ich
   nicht kann?“. Die Begründung und der Rest stehen unter dem Knopf. */
.summary-vorkauf {
  display: grid;
  gap: 6px;
  margin: 16px 0 14px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: var(--mulde);
  box-shadow: var(--gepraegt-s);
  color: var(--mut);
  font-size: 13.5px;
  line-height: 1.45;
}
.summary-vorkauf a { color: var(--ink); text-underline-offset: 2px; }
.summary-trost { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; color: var(--ink); }

/* Gut zu wissen, ganz unten: ruhiges Kleingedrucktes, Stichwort fett, der Text darunter. */
.summary-notes {
  display: grid;
  margin-top: 10px;
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.45;
}
.summary-notes > div {
  display: grid;
  gap: 1px;
  padding: 8px 2px;
  border-top: 1px solid rgba(var(--mag-tief), .08);
}
.summary-notes > div:first-child { border-top: 0; }
.summary-notes dt { color: var(--ink); font-weight: 600; }
.summary-notes dd { margin: 0; }
.summary-notes a { color: var(--ink); text-underline-offset: 2px; }
.summary-weiter { margin-top: 12px; color: var(--mut); font-size: 13.5px; line-height: 1.4; text-align: center; }
/* Unter dem Knopf: die Zahlungsarten als Logos, mittig unter „Danach geht es …“. */
.summary-payment { display: grid; justify-items: center; margin-top: 10px; }
.summary-payment .zahlung-logos { justify-content: center; gap: 6px; }
.summary-payment .zahlung-logos img { width: 40px; }
.summary-zahlarten { color: var(--mut); font-size: 13px; line-height: 1.4; text-align: center; }
/* Anker unter der Summe: was die Auswahl online günstiger ist als am Eingang (order.js rechnet mit). */
.summary-ersparnis { margin-top: 6px; color: var(--mag-lo); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: right; text-wrap: balance; }
.summary-ersparnis-betrag { display: inline-block; font-variant-numeric: tabular-nums; }
.haken { margin-top: 2px; color: var(--mag); }
/* Unter dem Knopf: der Beleg, dass andere schon dabei waren, abgesetzt vom Bezahlen. */
.summary-beweis {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 16px 2px 0;
  border-top: 1px solid rgba(var(--mag-tief), .1);
  color: var(--mut);
  font-size: 14px;
  line-height: 1.4;
}
.summary-beweis-zeichen { flex: none; color: var(--mag-lo); }
.noscript-note { margin-bottom: 12px; color: var(--fehler); font-weight: 600; font-size: 14.5px; }
.knopf-voll { width: 100%; }
.knopf:disabled {
  color: var(--mut);
  background: var(--mulde);
  box-shadow: var(--gepraegt-s);
  cursor: not-allowed;
}
.knopf:disabled::before { opacity: 0 !important; }

/* Handy: ein Schritt pro Bildschirm (order.js setzt .schritte bis 900 px). Oben „Zurück“ und der Stand, darunter
   drei Balken, die sich mit der ruhigen Feder von links füllen; erledigte Schritte lassen sich antippen. */
.schritte-nav { margin: -8px 0 16px; }
/* In Schritten trägt jeder Schritt seinen eigenen Titel: die Seitenüberschrift tritt zurück. */
.bestellung:has(.bestellung-formular.schritte) .bestellung-kopf { margin-bottom: 18px; }
.bestellung:has(.bestellung-formular.schritte) .bestellung-kopf h1 { font-size: 34px; }
.bestellung:has(.bestellung-formular.schritte) .bestellung-intro { margin-top: 4px; font-size: 14.5px; }
/* Ab Schritt 2 zeigt die Schritt-Leiste, wo man ist: Die Überschrift tritt ganz zurück (Screenreader hören sie
   weiter), damit Formular und Bestellknopf gleich im Bild stehen. */
.bestellung:has(.bestellung-formular.schritte:not([data-schritt="1"])) .bestellung-kopf {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.schritte-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.schritte-zurueck {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: -6px;
  padding: 0 10px 0 6px;
  border: 0;
  border-radius: var(--r-s);
  color: var(--mag-lo);
  background: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.schritte-zurueck::before {
  content: '';
  width: 9px;
  height: 9px;
  margin-left: 4px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
}
.schritte-zurueck:active { opacity: .6; }
.schritte-zurueck:disabled { visibility: hidden; }
.schritte-stand { color: var(--mut); font-size: 14px; text-align: right; }
.schritte-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}
.schritte-punkt {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 14px 0 6px;
  border: 0;
  color: var(--mut);
  background: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.schritte-punkt::before,
.schritte-punkt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
}
.schritte-punkt::before { background: rgba(var(--mag-tief), .13); }
.schritte-punkt::after {
  background-image: var(--magenta-verlauf);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--feder-ruhig);
}
.schritte-punkt[aria-current="step"] { color: var(--ink); }
.schritte-punkt.erledigt { color: var(--mag-lo); }
.schritte-punkt[aria-current="step"]::after,
.schritte-punkt.erledigt::after { transform: scaleX(1); }
.schritte-punkt.erledigt:active { opacity: .6; }
.schritte-punkt:disabled { cursor: default; }

.bestellung-formular.schritte > .bestellung-tickets:not(.aktiv),
.bestellung-formular.schritte > .bestellung-angaben:not(.aktiv),
.bestellung-formular.schritte > .bestellung-uebersicht:not(.aktiv) { display: none; }
/* Der Schritt bekommt beim Wechsel den Fokus (für Screenreader), ohne Rahmen. */
.bestellung-formular > [tabindex="-1"]:focus { outline: none; }

/* Rückblick auf den vorigen Schritt mit „Ändern“, nur in Schritten (sonst steht alles nebeneinander). */
.bestellung-formular:not(.schritte) .rueckblick { display: none; }
.rueckblick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 6px 12px 16px;
  border-radius: var(--r-m);
  color: var(--mut);
  background: var(--mulde);
  box-shadow: var(--gepraegt-s);
  font-size: 14.5px;
  line-height: 1.4;
}
#rueckblick-angaben { margin: 16px 0 0; }
.rueckblick-text { min-width: 0; }
.rueckblick-titel { color: var(--ink); font-weight: 600; }
.rueckblick-summe { margin-top: 2px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.rueckblick-zeilen { white-space: pre-line; overflow-wrap: anywhere; }
.rueckblick-aendern {
  flex: none;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-s);
  color: var(--mag-lo);
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rueckblick-aendern:active { opacity: .6; }

/* Schwebende Leiste: nur auf dem Handy und Tablet hochkant (breit steht die Übersicht daneben). */
@media (min-width: 901px) {
  .kasse--bestellung { display: none !important; }
}
@media (max-width: 900px) {
  .bestellung-formular { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  .bestellung-tickets, .bestellung-angaben, .bestellung-uebersicht { grid-column: 1; grid-row: auto; }
  body.mit-leiste { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .bestellung-kopf { margin-bottom: 20px; }
  .bestellung-intro { font-size: 15.5px; }
  .bestellung-tickets,
  .bestellung-angaben,
  .bestellung-uebersicht { padding: 20px 18px; border-radius: 24px; }
  .bestellung-titel { gap: 10px; margin-bottom: 12px; font-size: 26px; }
  .schritt { width: 27px; height: 27px; font-size: 15px; }
  /* Handy: Tag, Ball, Party und Einlass über die volle Breite; die Menge steht neben den späteren Preisen. */
  .posten {
    grid-template-areas:
      "kopf    betrag"
      "umfang  umfang"
      "zusatz  zusatz"
      "hinweis hinweis"
      "anker   menge"
      "gruppe  gruppe"
      "bestand bestand";
    column-gap: 12px;
    padding: 14px;
  }
  .posten-name { font-size: 21px; }
  .posten-preis { font-size: 23px; }
  .posten-umfang { max-width: none; }
  .posten-umfang li { padding: 6px 8px 7px; }
  .posten-umfang .umfang-kurz { font-size: 13.5px; }
  .posten-umfang .umfang-zeit { font-size: 11.5px; }
  .posten-hinweis { margin-top: 8px; font-size: 13px; }
  .posten-anker { align-self: center; margin-top: 10px; font-size: 13px; }
  .posten-menge { align-self: center; margin-top: 10px; }
  .posten-text { font-size: 14px; }
  .tickets-frist { font-size: 14px; }
  .posten-menge .menge { width: 118px; min-height: 44px; gap: 2px; padding: 3px; }
  .posten-menge .menge-knopf { width: 38px; height: 38px; font-size: 21px; }
  .posten-menge .menge-zahl { font-size: 21px; }
  .summary-summe { font-size: 32px; }
  .summary-event { font-size: 14.5px; }
  .summary-ablauf li { padding: 5px 7px 6px; }
  .summary-ablauf .umfang-kurz { font-size: 13px; }
  .summary-ablauf .umfang-zeit { font-size: 11.5px; }
  .summary-vorkauf { margin-top: 14px; padding: 11px 13px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .field-error,
  .rechnung > summary::before,
  .feld > label,
  .schritte-punkt::after { animation: none; transition: none; }
}

/* ======================================================================
   Blatt: Danke, Abbruch, Meldungen, 404, 500. Rechtstexte als lange Papierkarte.
   ====================================================================== */

.blatt {
  width: min(680px, calc(100% - 2 * var(--rand)));
  margin: clamp(24px, 6vw, 72px) auto 0;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--r-l);
}
.blatt h1 {
  font-family: var(--schrift-titel);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  line-height: .95;
}
.blatt p { margin-top: 14px; max-width: var(--textmass); font-size: 18px; }
.thanks-status { font-weight: 500; }
.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px !important;
}

.legal {
  width: min(900px, calc(100% - 2 * var(--rand)));
  margin: clamp(16px, 3vw, 36px) auto 0;
  padding: clamp(26px, 5vw, 64px);
  border-radius: var(--r-l);
}
.legal-head h1 {
  font-family: var(--schrift-titel);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  line-height: .92;
  overflow-wrap: anywhere;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 12px;
  color: var(--mut);
  font-size: 14.5px;
}
.legal-pdf { color: var(--mag-lo); font-weight: 600; text-underline-offset: 3px; }
.legal-body { margin-top: 28px; }
.legal-body h2 {
  margin: 40px 0 10px;
  font-family: var(--schrift-titel);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.05;
}
.legal-body h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.legal-body p,
.legal-body li { max-width: 68ch; }
.legal-body p { margin: 10px 0; }
.legal-body ul,
.legal-body ol { margin: 10px 0; padding-left: 22px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--mag-lo); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.legal-body th,
.legal-body td {
  padding: 10px 12px;
  border-bottom: 2px dotted rgba(var(--mag-tief), .2);
  text-align: left;
  vertical-align: top;
}
.legal-body th { font-weight: 600; }
.legal-body .table-wrap,
.legal-body table { display: block; overflow-x: auto; }

/* ======================================================================
   Bewegung im Ganzen
   - Seitenwechsel: Der Inhalt blendet weich über, die Glasleiste bleibt stehen (View Transitions,
     ohne JavaScript; Browser ohne Unterstützung wechseln wie bisher).
   - Startbereich: Motto, Titel, Datum und Knöpfe bauen sich beim Laden nacheinander auf.
   - Kasse: Hinweise fallen sanft ein, Fehler schütteln sich kurz (wie die Anmeldung am Mac),
     der Bestellknopf zeigt nach dem Abschicken, dass es weitergeht.
   Reduzierte Bewegung: nichts davon.
   ====================================================================== */

@view-transition {
  navigation: auto;
}
/* Erst geht die alte Seite (kurz), dann kommt die neue – nicht beide übereinander. */
::view-transition-old(root) { animation: seite-weg .18s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: seite-her .45s var(--feder-ruhig) .1s both; }
::view-transition-group(kopf) { animation-duration: .45s; }
@keyframes seite-weg { to { opacity: 0; transform: scale(.985); } }
@keyframes seite-her { from { opacity: 0; transform: translateY(10px); } }

.start-text > * { animation: herein .8s var(--feder-ruhig) both; }
.start-text > .motto { animation-delay: .04s; }
.start-text > .start-titel { animation-name: titel-herein; animation-duration: .95s; animation-delay: .1s; }
.start-text > .start-unter { animation-delay: .22s; }
.start-text > .start-aktionen { animation-delay: .3s; }
.start-text > .start-preis { animation-delay: .36s; }
@keyframes herein { from { opacity: 0; transform: translateY(16px); } }
@keyframes titel-herein { from { opacity: 0; transform: translateY(26px) scale(.98); filter: blur(8px); } }

/* Kasse baut sich auf: erst Zurück-Link, Überschrift und Datum, dann die Schritte und darin die Tickets,
   nacheinander wie Karten, die auf den Tisch gelegt werden. „auftritt“ steht im HTML und fällt nach dem Aufbau
   weg (order.js), damit beim Wechseln der Schritte auf dem Handy nichts noch einmal hereinschwebt. */
.auftritt .bestellung-kopf > *,
.auftritt .schritte-nav,
.auftritt .bestellung-formular > fieldset,
.auftritt .bestellung-formular > aside,
.auftritt .posten { animation: kasse-herein .7s var(--feder-ruhig) both; }
.auftritt .bestellung-kopf > :nth-child(2) { animation-delay: .04s; }
.auftritt .bestellung-kopf > :nth-child(3) { animation-delay: .08s; }
.auftritt .schritte-nav { animation-delay: .1s; }
.auftritt .bestellung-formular > .bestellung-tickets { animation-delay: .12s; }
.auftritt .bestellung-formular > .bestellung-uebersicht { animation-delay: .2s; }
.auftritt .bestellung-formular > .bestellung-angaben { animation-delay: .28s; }
.auftritt .bestellung-formular.schritte > .aktiv { animation-delay: .14s; }
.auftritt .posten { animation-duration: .6s; animation-delay: .22s; }
.auftritt .posten:nth-child(2) { animation-delay: .27s; }
.auftritt .posten:nth-child(3) { animation-delay: .32s; }
.auftritt .posten:nth-child(n + 4) { animation-delay: .37s; }
@keyframes kasse-herein { from { opacity: 0; transform: translateY(18px); } }
/* Seiten mit einer Botschaft (Danke, Abbruch, Hinweise, Fehler): Die Karte kommt herein wie in der Kasse – auch
   wenn man von Stripe zurückkommt, wo es keinen weichen Seitenwechsel gibt. */
.message { animation: kasse-herein .7s var(--feder-ruhig) .05s both; }

.hinweis { animation: einfallen .66s var(--feder) both; }
@keyframes einfallen { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
.form-errors { animation: schuetteln .5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes schuetteln {
  15%, 85% { transform: translateX(-2px); }
  30%, 70% { transform: translateX(6px); }
  45%, 55% { transform: translateX(-8px); }
}

/* Bestellknopf nach dem Abschicken: bleibt Magenta und dreht einen kleinen Ring. */
.knopf.magenta.knopf--laedt:disabled {
  color: #fff;
  background-image: var(--magenta-verlauf);
  box-shadow: var(--magenta-schatten);
  cursor: progress;
}
.knopf--laedt::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: drehen .8s linear infinite;
}
@keyframes drehen { to { transform: rotate(1turn); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  .start-text > *,
  .auftritt .bestellung-kopf > *,
  .auftritt .schritte-nav,
  .auftritt .bestellung-formular > fieldset,
  .auftritt .bestellung-formular > aside,
  .auftritt .posten,
  .message,
  .kasse-tipp,
  .kontingent--knapp .kontingent-text::before,
  .posten-kontingent--knapp::before,
  .hinweis,
  .form-errors,
  .rollt-rauf,
  .rollt-runter,
  .kasse,
  .kasse--geht,
  .korb-zahl--neu { animation: none !important; }
}

