/* ================================================================
   STRUCTURE.CSS — Layout, Typografie-Skalierung, Spacing
   Theme-unabhaengig. Verwendet semantische Variablen aus themes/*.css.
   Wird zusammen mit einer Theme-Datei geladen.
   ================================================================ */

/* --- 1. Strukturelle Variablen (theme-unabhaengig) -------------- */

:root {
  /* Schriftgroessen */
  --fs-h1:        clamp(2.25rem, 7vw, 4.5rem);
  --fs-h2:        clamp(1.75rem, 4.5vw, 2.5rem);
  --fs-h3:        clamp(1.25rem, 3vw, 1.75rem);
  --fs-body:      clamp(1rem, 1.5vw, 1.125rem);
  --fs-body-lg:   clamp(1.125rem, 1.8vw, 1.375rem);
  --fs-small:     0.875rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max:    1100px;
  --container-narrow: 720px;
  --radius-sm: 6px;
  --radius-md: 12px;

  /* Header — Hoehe der oberen Leiste. Dieser Wert gilt MOBIL; der groessere
     WEB-Wert steht in der Media-Query "@media (min-width: 768px)" (Abschnitt 4). */
  --header-height: 52px;   /* <<< HEADER-HOEHE (MOBIL) */

  /* Transitions */
  --t-fast:   150ms ease;
  --t-medium: 250ms ease;
}

/* --- 2. Reset und Basis ---------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  /* Scrollbar-Platz immer reservieren: verhindert, dass beim Oeffnen/Schliessen von
     Inhalt (Hoehenwechsel durch Klick) die Scrollbar erscheint/verschwindet und die
     ganze Seite horizontal "zuckt". Wirkt auf Geraeten mit klassischen Scrollbars;
     auf macOS-Overlay-Scrollbars ohne Effekt (dort gibt es das Zucken ohnehin nicht). */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--body-line-height, 1.6);
  color: var(--text-base);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background var(--t-medium), color var(--t-medium);
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--text-link, var(--accent));
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast);
}

a:hover,
a:focus-visible { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* GLOBALE UEBERSCHRIFTEN (gilt fuer ALLE h1-h4, also AUCH die Hero-Headline "Was wäre wenn …").
   Hier liegen FARBE + SCHRIFTART der Headline; die Hero-spezifische GROESSE steht weiter
   unten in der Media-Query (.section--hero__headline). */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--text-headline);                            /* <<< HEADLINE FARBE (alle Ueberschriften; --text-headline = Schwarz, in themes/brechtisch.css) */
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  font-weight: var(--headline-weight, 600);
  letter-spacing: var(--headline-letter-spacing, -0.01em);
  text-transform: var(--headline-text-transform, none);
}

h1 { font-size: var(--fs-h1); }   /* <<< HEADLINE SCHRIFTGROESSE (mobil/Basis; auf Desktop ueberschrieben in der Hero-Media-Query) */
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25rem; }
strong { font-weight: 600; color: var(--text-headline); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; color: var(--text-on-dark); }

/* --- 3. Layout-Container --------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

@media (min-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* --- 4. Sticky Header ------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-base) 95%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--t-medium), background var(--t-medium);
}

.site-header.is-scrolled { box-shadow: 0 2px 12px var(--shadow); }

.site-header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
}

@media (min-width: 768px) {
  .site-header__inner { padding: 0 var(--space-lg); gap: var(--space-sm); }
}

.site-header__left,
.site-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-header__brand {
  font-family: var(--font-headline);
  font-size: 1.15rem;   /* <<< LOGO "Theater fuer ALLE" SCHRIFTGROESSE (MOBIL) — auf Pillen-/Box-Hoehe (~40px, 2 Zeilen) abgestimmt */
  line-height: 1.1;
  color: var(--text-headline);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  font-weight: var(--headline-weight, 600);
  margin-left: var(--space-xs);
}

.site-header__brand-line-1 { font-style: var(--subtitle-style, italic); }
.site-header__brand-line-2 { font-size: 0.8em; color: var(--accent); }

/* "für" und "ALLE" auf einer Zeile (statt dritter Zeile), Farben bleiben */
.site-header__brand-zeile2 { display: flex; gap: 0.3em; align-items: baseline; }

@media (min-width: 768px) {
  .site-header__brand { font-size: calc(var(--header-height) * 0.281); flex-direction: row; gap: 0.4em; }
  .site-header__brand-line-2 { font-size: inherit; }
}

.site-header__cta {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .site-header__cta { font-size: calc(var(--header-height) * 0.25); padding: calc(var(--header-height) * 0.15) calc(var(--header-height) * 0.325); }
}

/* === Frühbucher-Countdown ============================================
   - Schmal (<1080px): __inner = Grid "logo nav" / "cd cd"
     -> Countdown ist die volle 2. Reihe (eigene Zeile, nie Overlap).
   - Breit (>=1080px): __inner = Flex. Countdown haengt per margin-left:auto
     rechts an den Knoepfen (fester Abstand) und wandert mit ihnen nach links,
     wenn der Schirm schmaler wird; bei <1080px bricht er in die eigene Reihe
     um. Paul-Idee 2026-06-23: Platz nutzen statt bildmittig fixieren.
   ==================================================================== */
.site-header--countdown { height: auto; }

.site-header--countdown .site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo nav"
    "cd   cd";
  row-gap: 0.3rem;
  align-items: center;
  padding-top: 0.4rem;
  padding-bottom: 0.45rem;
}
.site-header--countdown .site-header__left  { grid-area: logo; justify-self: start; }
.site-header--countdown .site-header__right { grid-area: nav;  justify-self: end; }

.fb-countdown {
  grid-area: cd;
  display: flex;
  align-items: baseline;                  /* -60€, NOCH, Ziffern + Doppelpunkte auf EINER Grundlinie */
  justify-content: center;
  gap: 0.5em;
  padding-top: 0.4rem;
  padding-bottom: 0.15rem;
  border-top: 3px solid var(--accent);    /* Brechtisch-Kante zur Leiste */
  font-family: var(--font-headline);      /* IBM Plex Mono (Brechtisch) — NICHT --font-body (= Inter) */
  white-space: nowrap;
}
.fb-countdown__lead {
  font-weight: 700;                        /* fett wie die Ziffern */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.2rem, 5.8vw, 1.5rem); /* selbe Groesse wie .fb-seg__num */
  line-height: 0.95;
  color: var(--text-headline);
}
.fb-countdown[hidden] { display: none; }

.fb-countdown__label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-headline);
}
/* Atomuhr-Uhrwerk: schwarze, fette Mono-Ziffern mit Mini-Labels + blinkende
   Doppelpunkte (brecht-cursor-blink = derselbe Blink wie der Typewriter-Cursor
   -> Atomuhr-Look, der zum Tipp-Effekt passt). Geldbetrag rot + dünn. */
.fb-countdown__clock {
  display: inline-flex;
  align-items: baseline;                   /* Doppelpunkte + Ziffern auf gleicher Grundlinie */
  gap: 0.12em;
  letter-spacing: -0.04em;                 /* eng -> technischer Atomuhr-Look */
}
.fb-seg {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.fb-seg__num {
  font-weight: 700;                         /* fett */
  color: var(--text-headline);             /* SCHWARZ */
  font-size: clamp(1.2rem, 5.8vw, 1.5rem);  /* mobil skalierend (passt ab 320px); Desktop fix 1.45 (unten) */
  font-variant-numeric: tabular-nums;       /* feste Ziffernbreite -> kein Layout-Shift */
  line-height: 0.95;
}
.fb-seg__unit {
  font-style: normal;
  font-size: 0.46rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted, #555);
  margin-top: 0.3em;
}
.fb-sep {
  font-weight: 700;
  color: var(--text-headline);             /* SCHWARZ */
  font-size: clamp(1.05rem, 5vw, 1.3rem);
  line-height: 0.95;
  animation: fb-sep-blink 1.1s steps(1) infinite;   /* Atomuhr-Blink im Sekundentakt, aber nie ganz weg -> lesbar */
}
@keyframes fb-sep-blink {
  0%, 55%   { opacity: 1; }
  56%, 100% { opacity: 0.3; }
}
.fb-countdown__deal {
  font-weight: 700;                         /* fett (rot bleibt) */
  color: var(--accent);                    /* Plakat-Rot */
  font-size: clamp(1.2rem, 5.8vw, 1.5rem);  /* selbe Groesse wie .fb-seg__num */
  line-height: 0.95;
  white-space: nowrap;
}

/* DESKTOP ab 1024px: eine Zeile, Countdown = eigene mittige Spalte (kein Overlap).
   768-1024px = zu wenig Platz (Logo+Countdown+Knöpfe) -> Countdown bleibt im
   Reihen-Modus wie mobil. */
@media (min-width: 1080px) {
  .site-header--countdown { height: var(--header-height); }
  .site-header--countdown .site-header__inner {
    display: flex;                         /* Countdown laeuft im Fluss mit, statt mittiger Grid-Spalte */
    flex-wrap: nowrap;
    align-items: center;
    height: var(--header-height);
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-header--countdown .site-header__left,
  .site-header--countdown .site-header__right { flex: 0 0 auto; }
  .fb-countdown {
    flex: 0 0 auto;
    margin-left: auto;                     /* heftet Countdown+Knoepfe nach rechts; freier Raum links zum Logo. Schrumpft der Schirm, wandert der Countdown mit den Knoepfen nach links (bis <1080px -> eigene Reihe). */
    margin-right: 2rem;                    /* fester Abstand zu den Knoepfen */
    border-top: none;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0.45em;
  }
  .fb-countdown__lead { font-size: calc(var(--header-height) * 0.3625); }
  .fb-seg__num { font-size: calc(var(--header-height) * 0.3625); }   /* 64px->23.2px, 80px->29px */
  .fb-sep { font-size: calc(var(--header-height) * 0.325); }
  .fb-seg__unit { font-size: calc(var(--header-height) * 0.1); }
  .fb-countdown__deal { font-size: calc(var(--header-height) * 0.3625); }
}

@media (prefers-reduced-motion: reduce) {
  .fb-countdown .typewriter-caret,
  .fb-sep { animation: none; }
}

/* --- 5. Theme-Switcher und Sprach-Switcher --------------------- */

.theme-switcher,
.lang-switcher {
  position: relative;
}

.theme-switcher__button,
.lang-switcher__button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-base);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--t-fast);
  padding: 0;
}

.theme-switcher__button:hover,
.lang-switcher__button:hover,
.theme-switcher__button:focus-visible,
.lang-switcher__button:focus-visible {
  background: var(--bg-alt);
  border-color: var(--accent);
  color: var(--accent);
}

.theme-switcher__button svg,
.lang-switcher__button svg {
  width: 20px;
  height: 20px;
}

.theme-switcher__menu,
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px var(--shadow);
  padding: 0.5rem;
  min-width: 200px;
  display: none;
  z-index: 200;
  /* Bei 10 Themes kann das Menue hoch werden — scrollbar statt ueberlaufend */
  max-height: min(70vh, 460px);
  overflow-y: auto;
}

.theme-switcher__menu { left: 0; }
.lang-switcher__menu { right: 0; }

.theme-switcher--open .theme-switcher__menu,
.lang-switcher--open .lang-switcher__menu {
  display: block;
}

.theme-switcher__option,
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-base);
  text-align: left;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--t-fast);
}

.theme-switcher__option:hover,
.lang-switcher__option:hover,
.theme-switcher__option:focus-visible,
.lang-switcher__option:focus-visible {
  background: var(--bg-alt);
}

.theme-switcher__option.is-active,
.lang-switcher__option.is-active {
  background: var(--accent);
  color: var(--text-on-dark);
}

.theme-swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 0 1px var(--border);
  flex-shrink: 0;
}

/* --- 5b. Header-Buttons: alle drei gleich, Brechtisch-Balken ----- */

/* ============================================================
   HEADER-BOXEN (Team / Infos / Buchen)
   >>> MOBIL <<< (schmale Screens, < 768px): bewusst klein gehalten, damit
   Logo + 3 Boxen + Profilpille nebeneinander passen. Die groesseren WEB-Werte
   stehen direkt darunter in "@media (min-width: 768px)".
   Hier MOBIL einstellen: -------------------------------------- */
.site-header__btn {
  font-family: var(--font-headline);
  font-size: 0.82rem;           /* <<< HEADER-BOX SCHRIFTGROESSE (MOBIL) */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;       /* <<< HEADER-BOX BUCHSTABENABSTAND (MOBIL) */
  text-decoration: none;
  white-space: nowrap;
  padding: 0 0.6rem;            /* <<< HEADER-BOX INNENABSTAND (MOBIL) — nur seitlich; Hoehe ueber min-height */
  border: 2px solid var(--text-base);   /* <<< HEADER-BOX RAHMEN (MOBIL) */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 40px;             /* <<< HEADER-BOX HOEHE (MOBIL) = Profilpille (40px), schliesst buendig ab */
  min-width: 0;                 /* <<< HEADER-BOX MINDESTBREITE (MOBIL): 0 = nur so breit wie noetig (Breite waechst nur mit der Schrift, nicht durch Padding) */
  text-align: center;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}

/* >>> WEB <<< (Desktop, ab 768px): groessere Header-Boxen + hoehere Leiste.
   Hier WEB einstellen: ---------------------------------------- */
@media (min-width: 768px) {
  :root { --header-height: clamp(64px, 5.8vw, 80px); }   /* HEADER-SKALA (WEB): stufenlos 64px (~1100px Schirm) -> 80px (~1380px+). Alle Header-Groessen haengen via calc() daran -> synchron, kein +25%-Sprung. */
  .site-header__btn {
    font-size: calc(var(--header-height) * 0.1875);   /* 64px->12px, 80px->15px */
    letter-spacing: 0.08em;
    padding: calc(var(--header-height) * 0.125) calc(var(--header-height) * 0.25);
    border-width: 3px;
    min-height: calc(var(--header-height) * 0.5625);  /* 64->36px, 80->45px */
    min-width: 125px;
  }
}

/* Der frueher hier stehende +25%-Sprung bei 1280px ist entfallen: alle Header-
   Groessen skalieren jetzt stufenlos ueber --header-height (clamp + calc, siehe
   768er-Query oben). Pillen-Skalierung steht weiter unten. (2026-06-23) */

/* Weisse Knoepfe: einfacher schwarzer Rahmen. Beim Hover wird nur die linke
   Kante rot (ein Balken, kein doppelter Rand) — Rot nur bei Hover. */
.site-header__btn--outline {
  background: #fff;
  color: var(--text-base);
}

.site-header__btn--outline:hover,
.site-header__btn--outline:focus-visible {
  color: var(--text-base);
  background: #fff;
  border-left-color: var(--accent);
}

/* Roter Knopf (Call-to-Action): einfacher Rahmen, beim Hover leichter Puls
   statt Balken (sanftes Vergroessern). */
.site-header__btn--primary {
  background: var(--accent);
  color: #fff;
}

.site-header__btn--primary:hover,
.site-header__btn--primary:focus-visible {
  color: #fff; /* Schrift bleibt weiss (sonst greift a:hover und macht sie unsichtbar) */
  animation: btn-pulse 0.9s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

/* --- 5c. Utility-Widget (bottom-left, Barrierefreiheit + Sprache) */

.utility-widget {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);          /* unten RECHTS (Pauls Wunsch) */
  z-index: 200;
  display: flex;
  flex-direction: row-reverse;     /* Rail am rechten Rand, Panel klappt nach links auf */
  align-items: flex-end;
  gap: 0.5rem;
}

/* Vertikale Bedien-Leiste: A (Barrierefreiheit) / DE (Sprache) / Ton */
.utility-rail { display: flex; flex-direction: column; }
.utility-rail__btn {
  font-family: var(--font-headline);
  font-size: 0.95rem;            /* ~1/3 groesser als vorher */
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  color: var(--text-base);
  border: 2px solid var(--text-headline);
  border-bottom-width: 0;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  border-radius: 0;
}
.utility-rail__btn:last-child { border-bottom-width: 2px; }
.utility-rail__btn:hover,
.utility-rail__btn:focus-visible { background: var(--accent); color: #fff; }
.utility-rail__btn[aria-expanded="true"] { background: var(--text-headline); color: #fff; }
.utility-rail__btn--on { color: var(--accent); }   /* Ton AUS = aktiv markiert */
.utility-rail__btn svg { width: 1.35rem; height: 1.35rem; display: block; }

/* Aufklapp-Panel (Barrierefreiheit bzw. Sprache) */
.utility-panel {
  align-self: flex-end;
  background: var(--bg-base);
  border: 2px solid var(--text-headline);
  min-width: 240px;
  box-shadow: 4px 4px 0 var(--text-headline);
  padding: 0.35rem 0;
}
.utility-panel[hidden] { display: none; }
.utility-panel__title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.55rem 0.9rem 0.3rem;
}
.utility-panel__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-base);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--t-fast);
  border-radius: 0;
}
.utility-panel__option:hover,
.utility-panel__option:focus-visible { background: var(--bg-alt); }
.utility-panel__option--active { color: var(--accent); }
/* AN/AUS-Status rechts am Schalter */
.utility-panel__state { font-size: 0.7rem; letter-spacing: 0.1em; opacity: 0.6; }
.utility-panel__option[aria-pressed="true"] { color: var(--accent); }
.utility-panel__option[aria-pressed="true"] .utility-panel__state { opacity: 1; }
.utility-panel__reset {
  margin: 0.3rem 0.9rem 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-base);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}
.utility-panel__reset:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* --- Barrierefreiheits-Modi (Klassen auf <html>) --- */
.a11y-large-text { font-size: 118%; }
.a11y-reduce-motion *,
.a11y-reduce-motion *::before,
.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
.a11y-highlight-links a {
  text-decoration: underline !important;
  text-underline-offset: 2px;
  font-weight: 700;
}
.a11y-readable {
  letter-spacing: 0.03em;
  word-spacing: 0.12em;
  line-height: 1.9 !important;
}
/* Hoher Kontrast + Graustufen werden als kombinierter html.style.filter per script.js gesetzt
   (mehrere filter()-Werte lassen sich nicht ueber getrennte Klassen kombinieren). */

/* --- 6. Buttons ------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--btn-font-weight, 600);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--btn-radius, var(--radius-sm));
  border: var(--btn-border-width, 2px) solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  text-align: center;
  min-height: 44px;
  line-height: 1.2;
  text-transform: var(--btn-text-transform, none);
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-dark);
  border-color: var(--accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-on-dark);
  transform: translateY(-1px);
}

.btn--large {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-secondary {
  display: inline-block;
  color: var(--text-base);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.btn-secondary:hover,
.btn-secondary:focus-visible { color: var(--accent); }

/* --- 7. Sektionen — generelles Layout -------------------------- */

.section { padding: var(--space-xl) 0; }

@media (min-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
}

.section--problem,
.section--forumtheater,
.section--mehrwert,
.section--anmeldung,
.section--veranstaltungsort,
.section--faq { background: var(--bg-alt); }

.section--konzept,
.section--skepsis {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--konzept h1,
.section--konzept h2,
.section--konzept h3,
.section--skepsis h1,
.section--skepsis h2,
.section--skepsis h3 { color: var(--text-on-dark); }

.section--konzept strong,
.section--skepsis strong { color: var(--accent-soft); }

/* Prose */
.prose-large {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.prose-large--accent {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--accent);
  font-style: var(--subtitle-style, italic);
  margin-top: var(--space-lg);
}

.section--skepsis .prose-large--accent { color: var(--accent-soft); }

.prose-large--punchline {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  font-weight: var(--headline-weight, 600);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  color: var(--text-headline);
  border-left: 4px solid var(--accent);
  padding-left: var(--space-md);
}

/* --- 8. HERO --------------------------------------------------- */

.section--hero {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-alt) 100%);
  text-align: center;
}

/* ============================================================
   KICKER  "Forum. Theater. Storytelling."  (die rote Zeile ueber der Headline)
   Diese Regel gilt fuer MOBIL/schmal. Auf Desktop (breit) werden GROESSE +
   Buchstabenabstand weiter unten in der Media-Query "@media (min-width: 768px)"
   UEBERSCHRIEBEN -> dort steht der Wert, den du im Screenshot siehst.
   FARBE = Theme-Variable --accent (Plakat-Rot, in themes/brechtisch.css).
   ============================================================ */
.section--hero__subtitle {
  font-family: var(--font-headline);                       /* SCHRIFTART */
  font-style: var(--subtitle-style, italic);               /* KICKER STIL: kursiv/normal (Theme-Variable --subtitle-style) */
  font-size: clamp(1rem, 2vw, 1.25rem);                    /* <<< KICKER SCHRIFTGROESSE (mobil) */
  color: var(--accent);                                    /* <<< KICKER FARBE (rot; aendern via --accent in themes/brechtisch.css) */
  letter-spacing: var(--subtitle-letter-spacing, 0.05em);  /* <<< KICKER BUCHSTABENABSTAND (mobil) */
  margin-bottom: var(--space-sm);                          /* <<< KICKER ABSTAND NACH UNTEN (mobil) */
}

/* ============================================================
   HEADLINE  "Was wäre wenn …"  (grosse Schlagzeile; wird per Typewriter in script.js getippt)
   ACHTUNG, die GROESSE steht NICHT hier:
     - Desktop (sichtbarer Wert im Screenshot): Media-Query unten -> .section--hero__headline { font-size: ... }
     - Mobil/Basis: globale Regel oben in dieser Datei -> h1 { font-size: var(--fs-h1); }
   FARBE + SCHRIFTART: globale Regel h1,h2,h3,h4 (--text-headline = Schwarz).
   Hier stehen nur ABSTAND + Buchstabenabstand fuer MOBIL.
   ============================================================ */
.section--hero__headline {
  margin-bottom: var(--space-md);   /* <<< HEADLINE ABSTAND NACH UNTEN (mobil) */
  letter-spacing: -0.02em;          /* <<< HEADLINE BUCHSTABENABSTAND (mobil) */
}

.section--hero__claim {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--text-headline);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.005em;
}

.section--hero__lead {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-body-lg);
}

/* ============================================================
   DATUM  "5.–7. August 2026 · Theaterakademie Stuttgart"
   Diese Regel gilt fuer MOBIL. Auf Desktop werden GROESSE, der ROTE BALKEN links,
   Grossschreibung usw. in der Media-Query "@media (min-width: 768px)" gesetzt/ueberschrieben.
   ============================================================ */
.section--hero__facts {
  font-family: var(--font-headline);            /* SCHRIFTART */
  font-size: clamp(1.125rem, 2vw, 1.375rem);    /* <<< DATUM SCHRIFTGROESSE (mobil) */
  margin-bottom: var(--space-lg);               /* <<< DATUM ABSTAND NACH UNTEN (mobil) */
  color: var(--text-headline);                  /* <<< DATUM FARBE des normalen Texts (schwarz) */
}

/* "5.–7. August 2026" steht im <strong> und ist deshalb rot: */
.section--hero__facts strong { color: var(--accent); }  /* <<< DATUM FARBE des FETTEN Teils (rot; --accent) */

.section--hero__cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .section--hero__cta-block { flex-direction: row; justify-content: center; }
}

/* --- 9. KONZEPT — Hammer ---------------------------------------- */

.section--konzept { text-align: center; }

.konzept__hammer {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: var(--headline-weight, 600);
  line-height: 1.2;
  color: var(--text-on-dark);
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.konzept__hammer span { display: block; }
.konzept__hammer span:nth-child(2) { color: var(--accent-soft); }

@media (min-width: 768px) {
  .konzept__hammer { flex-direction: row; justify-content: center; gap: 0.5em; }
}

.konzept__trainerliste {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: var(--fs-body-lg);
  display: inline-block;
  text-align: left;
}

.konzept__trainerliste li { margin-bottom: var(--space-xs); }

/* --- 10. PROGRAMM — Track-Karten ------------------------------- */

.section--programm__intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.track-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .track-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
}

.track-card {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--card-radius, var(--radius-md));
  border-top: 4px solid var(--accent);
  border: var(--card-border, none);
  border-top: 4px solid var(--accent);
  box-shadow: var(--card-shadow, 0 2px 8px var(--shadow));
  display: flex;
  flex-direction: column;
  transition: transform var(--t-medium), box-shadow var(--t-medium);
}

.track-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow);
}

/* Drei gleichwertige Karten: Standard-Oberkante schwarz */
.track-card--1,
.track-card--2,
.track-card--3 { border-top-color: #000; }

/* Roter Balken markiert die aktive Karte; Hover gewinnt */
.track-card:hover,
.track-card.is-active { border-top-color: var(--accent); }

.track-card__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #000;
  margin-bottom: var(--space-sm);
}

/* Label folgt dem roten Balken: aktiv/hover rot */
.track-card:hover .track-card__label,
.track-card.is-active .track-card__label { color: var(--accent); }

.track-card__title {
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  margin-bottom: var(--space-sm);
}

.track-card__leader {
  font-size: 0.95rem;
  color: var(--text-base);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.track-card__body { margin-bottom: 0; font-size: 1rem; line-height: 1.6; }
/* Langer Popup-Text: nur Datenquelle fuer das Method-Popup, in der Box unsichtbar. */
.track-card__detail { display: none; }

.finale-block {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-lg);
  border-radius: var(--card-radius, var(--radius-md));
  text-align: center;
  border-left: 6px solid var(--accent);
}

@media (min-width: 768px) {
  .finale-block { padding: var(--space-xl) var(--space-lg); }
}

.finale-block__kicker {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.finale-block__title {
  color: var(--text-on-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

.finale-block__body {
  font-size: var(--fs-body-lg);
  max-width: 640px;
  margin: 0 auto var(--space-md);
  line-height: 1.65;
}

.finale-block__credits {
  font-size: 0.95rem;
  color: var(--accent-soft);
  font-style: italic;
}

/* --- 10b. BILD-BAND (gemeinsames Bild) ------------------------- */

.section--bild {
  padding: 0;
}

.bild-band {
  margin: 0;
  width: 100%;
  position: relative;
}

.bild-band__placeholder {
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 220px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      color-mix(in srgb, var(--accent) 7%, transparent) 18px,
      color-mix(in srgb, var(--accent) 7%, transparent) 36px
    ),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-headline);
  font-style: var(--subtitle-style, italic);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.05em;
  text-align: center;
  padding: var(--space-md);
}

.bild-band img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
  display: block;
}

.bild-band__caption {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  background: var(--bg-base);
  margin: 0;
}

/* Wald-Blaetter: standardmaessig versteckt, nur das Wald-Theme zeigt sie */
.wald-leaves { display: none; }

/* --- 11. MEHRWERT-LISTE ---------------------------------------- */

.mehrwert-list { list-style: none; padding: 0; margin: var(--space-lg) 0; }

.mehrwert-list li {
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  padding: var(--space-md) 0 var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.mehrwert-list li:last-child { border-bottom: none; }

.mehrwert-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: var(--space-md);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.25em;
}

/* --- 12. TRAINER-KARTEN ---------------------------------------- */

.trainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .trainer-grid { grid-template-columns: repeat(3, 1fr); }
}

.trainer-card { text-align: center; }

.trainer-card__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-card__photo--placeholder {
  color: var(--text-base);
  font-style: italic;
  font-size: 0.875rem;
  border: 2px dashed var(--border);
}

.trainer-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* gleicher Farb-Filter wie Hero-/Bild-Band-Foto */
  filter: saturate(0.65) contrast(1.12) grayscale(0.15);
}

.trainer-card__name { font-size: 1.5rem; margin-bottom: var(--space-xs); }

.trainer-card__field {
  font-family: var(--font-headline);
  font-style: var(--subtitle-style, italic);
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.trainer-card__bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-base);
}

/* --- 13. INFOS-LISTE ------------------------------------------- */

.infos-list { margin: var(--space-lg) 0; border-top: 1px solid var(--border); }

.infos-list__row {
  display: flex;
  flex-direction: column;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  gap: var(--space-xs);
}

@media (min-width: 600px) {
  .infos-list__row { flex-direction: row; gap: var(--space-md); }
}

.infos-list dt {
  font-weight: 600;
  color: var(--text-headline);
  font-family: var(--font-headline);
  font-size: 1.05rem;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .infos-list dt { width: 200px; }
}

.infos-list dd { margin: 0; font-size: var(--fs-body); line-height: 1.5; }

.infos-list__hint {
  margin-top: var(--space-md);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-base);
}

/* --- 14. SKEPSIS ------------------------------------------------ */

.section--skepsis { text-align: center; }
.section--skepsis__cta { margin-top: var(--space-lg); }

/* --- 15. ANMELDEFORMULAR --------------------------------------- */

.anmeldung-form {
  margin-top: var(--space-lg);
  background: var(--bg-card);
  /* Mobil: schlankes Innen-Padding, damit die Felder die Kartenbreite nutzen
     (vorher var(--space-lg) = 40px allseitig -> Felder zu schmal). Desktop
     bekommt unten via min-width:768 wieder das grosszuegige var(--space-xl). */
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--card-radius, var(--radius-md));
  box-shadow: var(--card-shadow, 0 2px 8px var(--shadow));
}

@media (min-width: 768px) {
  .anmeldung-form { padding: var(--space-xl); }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (min-width: 600px) {
  .form-row--double { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-field label {
  font-weight: 600;
  color: var(--text-headline);
  font-size: 0.95rem;
}

.form-field label span[aria-hidden="true"] {
  color: var(--accent);
  margin-left: 0.2em;
}

.form-field input[type="text"],
.form-field input[type="password"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;          /* alle Felder (auch select) exakt volle Spaltenbreite */
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-base);
  min-height: 44px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

/* Select auf gleiche Hoehe wie die Inputs: das native Box-Rendering ignoriert
   padding/min-height teilweise (v.a. iOS/Safari -> Feld wirkt niedriger).
   appearance:none schaltet es ab, ein eigener SVG-Pfeil ersetzt den nativen. */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23222' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-base));
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-field--checkbox input[type="checkbox"] {
  margin-top: 0.25em;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-field--checkbox label {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-error {
  color: var(--accent-hover);
  font-size: 0.875rem;
  margin-top: 0.25em;
}

.form-hint {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-base);
  font-style: italic;
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  min-height: 1em;
}

.form-status.is-success {
  background: color-mix(in srgb, #4caf50 10%, transparent);
  border-left: 4px solid #4caf50;
  padding: var(--space-md);
}

.form-status.is-error {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-left: 4px solid var(--accent);
  padding: var(--space-md);
}

/* --- 16. FAQ-Accordion ------------------------------------------ */

.faq-list { margin-top: var(--space-lg); }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: var(--headline-weight, 600);
  color: var(--text-headline);
  cursor: pointer;
  padding: var(--space-xs) 0;
  position: relative;
  padding-right: 2rem;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--t-medium);
  line-height: 1;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item summary:hover,
.faq-item summary:focus-visible { color: var(--accent); }

.faq-item__body { padding: var(--space-sm) 0 var(--space-xs); }
.faq-item__body p { margin: 0; line-height: 1.6; }

/* --- 17. BULLET-LIST -------------------------------------------- */

.bullet-list { list-style: none; padding: 0; margin: var(--space-md) 0; }

.bullet-list li {
  padding-left: var(--space-md);
  position: relative;
  margin-bottom: var(--space-xs);
  font-size: var(--fs-body);
}

.bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* --- 18. FOOTER ------------------------------------------------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--bg-alt);
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 0.95rem;
}

.site-footer a { color: var(--accent-soft); }

/* Veranstalter-Logos im Footer: weisse Box mit der Wortmarke wie im Header
   ("Theater" / "für ALLE", ALLE in Akzentrot). Optional ein zweites Logo (TAS) daneben. */
.veranstalter-logos {
  display: flex;
  align-items: stretch;       /* beide Boxen gleich hoch */
  gap: var(--space-sm);
  flex-wrap: nowrap;          /* nebeneinander erzwingen */
  margin-bottom: var(--space-sm);
}
.veranstalter-logo--tfa {
  background: #fff;
  color: #000;
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  font-size: 0.95rem;
}
.veranstalter-logo__zeile2 { display: flex; gap: 0.3em; align-items: baseline; }
.veranstalter-logo__line2 { color: var(--accent); }   /* "ALLE" in Plakat-Rot */

/* TAS-Logo (Theaterakademie Stuttgart) als zweite weisse Box daneben */
.veranstalter-logo--tas {
  background: #fff;
  padding: 0.4rem 0.55rem;
  display: flex;
  align-items: center;
}
.veranstalter-logo--tas img { height: 1.9rem; width: auto; display: block; }

.site-footer a:hover,
.site-footer a:focus-visible { color: var(--text-on-dark); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 600px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer__heading {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-on-dark);
}

.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: var(--space-xs); }

.site-footer__copy {
  border-top: 1px solid color-mix(in srgb, var(--text-on-dark) 10%, transparent);
  padding-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--border);
  text-align: center;
  margin: 0;
}

/* --- 19. Reduzierte Bewegung ----------------------------------- */

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

/* --- 20. Print -------------------------------------------------- */

@media print {
  .site-header,
  .site-header__cta,
  .skip-link,
  .anmeldung-form,
  .section--skepsis__cta,
  .theme-switcher,
  .lang-switcher,
  .wald-leaves { display: none; }

  body { color: #000; background: #fff; }
  .section { page-break-inside: avoid; padding: 1rem 0; }
}

/* ====================================================================
   NEUES LAYOUT — Zeitung / Konstruktivismus
   Brecht trifft politisches Druckbild. Weimar-Ästhetik als Web-Layout.
   ==================================================================== */

/* Foto-Harmonisierung: stärkere Entsättigung, Richtung Duotone */
.bild-band img,
.hero-zeitung__bild img {
  filter: saturate(0.65) contrast(1.12) grayscale(0.15);
}

/* Hero: Zeitungs-Zweispalter */
.section--hero {
  padding: 0;
  background: var(--bg-base);
}

.hero-zeitung {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-zeitung__text {
  padding: var(--space-xl) var(--space-lg);
  text-align: left;
}

.hero-zeitung__bild {
  overflow: hidden;
  background: #0A0A0A;
  max-height: 55vw;
}

.hero-zeitung__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Zoom-out beim Laden: Bild startet herangezoomt und faehrt einmalig zurueck */
  transform-origin: center;
  animation: hero-bild-zoomout 1.8s ease-out 0s 1 both;
}

@keyframes hero-bild-zoomout {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

/* Kein section--hero__lead im Zeitungs-Hero auf Desktop */
@media (min-width: 768px) {
  :root { --container-max: 1400px; }

  .section--hero { text-align: left; }

  .hero-zeitung__text {
    padding: var(--space-2xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* HEADLINE "Was wäre wenn …" — DESKTOP (das ist der Wert, den du im Screenshot siehst) */
  .section--hero__headline {
    font-size: clamp(3.75rem, 8vw, 8rem);   /* <<< HEADLINE SCHRIFTGROESSE (Desktop): min 3.75rem | skaliert 8vw | max 8rem (2026-06-22 etwas verkleinert, nur Desktop) */
    letter-spacing: -0.02em;             /* <<< HEADLINE BUCHSTABENABSTAND (Desktop) */
    line-height: 1;                      /* <<< HEADLINE ZEILENHOEHE (Desktop) */
    margin-bottom: var(--space-md);      /* <<< HEADLINE ABSTAND NACH UNTEN (Desktop) */
  }

  /* KICKER "Forum. Theater. Storytelling." — DESKTOP (sichtbarer Wert; Farbe bleibt --accent aus der Basis-Regel) */
  .section--hero__subtitle {
    font-size: 1.875rem;              /* <<< KICKER SCHRIFTGROESSE (Desktop) */
    letter-spacing: 0.25em;           /* <<< KICKER BUCHSTABENABSTAND (Desktop) */
    margin-bottom: var(--space-lg);   /* <<< KICKER ABSTAND NACH UNTEN (Desktop) */
  }

  .section--hero__claim {
    font-size: clamp(1.125rem, 2vw, 1.75rem);
    margin-bottom: var(--space-lg);
  }

  .section--hero__lead {
    display: none;
  }

  /* DATUM "5.–7. August 2026 · …" — DESKTOP (sichtbarer Wert; HIER ist der ROTE BALKEN links) */
  .section--hero__facts {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 1.2vw, 1.125rem);   /* <<< DATUM SCHRIFTGROESSE (Desktop) */
    text-transform: uppercase;                   /* <<< DATUM GROSS-/KLEINSCHREIBUNG (uppercase = alles GROSS) */
    letter-spacing: 0.12em;                      /* <<< DATUM BUCHSTABENABSTAND (Desktop) */
    border-left: 4px solid var(--accent);        /* <<< DATUM ROTER BALKEN LINKS (Dicke 4px, Farbe --accent) */
    padding-left: var(--space-md);               /* <<< DATUM ABSTAND BALKEN -> TEXT */
    margin-bottom: var(--space-xl);              /* <<< DATUM ABSTAND NACH UNTEN (Desktop) */
    line-height: 1.8;                            /* <<< DATUM ZEILENHOEHE (Desktop) */
  }

  .section--hero__cta-block {
    justify-content: flex-start;
  }

  /* Bild-Band: auf Desktop ausblenden (Foto ist im Hero) */
  .section--bild {
    display: none;
  }
}

/* Zeitungs-Zweispalter (Bild neben Text) erst auf grossen Screens.
   Darunter wird das Bild beim Zusammenschieben unter den Text geschoben. */
@media (min-width: 1200px) {
  .hero-zeitung {
    grid-template-columns: 1fr 1fr;
    min-height: 88vh;
    border-bottom: 3px solid #0A0A0A;
  }

  .hero-zeitung__text {
    border-right: 3px solid #0A0A0A;
  }

  .hero-zeitung__bild {
    max-height: none;
  }
}

/* HEADLINE "Was wäre wenn …" auf Desktop nochmal 10% kleiner (nur ab 1024px;
   Mobil + Tablet unveraendert). Steht NACH der 768er-Hero-Query (8rem),
   damit es ab 1024px gewinnt. (2026-06-23) */
@media (min-width: 1024px) {
  .section--hero__headline {
    font-size: clamp(3.375rem, 7.2vw, 7.2rem);   /* 3.75 / 8vw / 8rem x0.9 */
  }
}

/* ====================================================================
   TRACK-KARTEN: klickbar, Hover-Pfeil zum Finale, Methoden-Popup
   ==================================================================== */

/* Karte als klickbares Element */
.track-card {
  position: relative;
  cursor: pointer;
}

.track-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Hover-Pfeil: unter der Karte, zeigt zum gemeinsamen Finale */
/* Hover-Pfeil: nur sichtbar, wenn die Maus ueber einer Karte ist.
   Abstand nach unten um 6px vergroessert. */
.track-card__arrow {
  position: absolute;
  left: 50%;
  bottom: calc(-1 * var(--space-md) - 6px);
  transform: translate(-50%, 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

/* Pfeil nur beim Hover ueber der Karte (bzw. wenn der Pfeil-Link selbst Fokus hat) */
.track-card:hover .track-card__arrow,
.track-card__arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.track-card__arrow-icon {
  display: block;
  animation: track-arrow-bounce 1.2s ease-in-out infinite;
}

@keyframes track-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* --- Methoden-Popup (Karteikarte) ---------------------------------- */

.method-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  perspective: 1600px;
}

.method-popup[hidden] { display: none; }

.method-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  opacity: 0;
  transition: opacity var(--t-medium);
}

.method-popup.is-open .method-popup__backdrop { opacity: 1; }

/* Popup-Karte: gleicher visueller Rahmen wie die Track-Karte (kein Karteikarten-Look).
   2px-3D-Kante + Schweben. Beim Oeffnen: dreht sich, rueckt in die Mitte, vergroessert sich. */
.method-popup__card {
  position: relative;
  width: min(960px, 90vw);
  min-height: 62vh;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  color: #0A0A0A;
  border: 2px solid #0A0A0A;
  border-top: 6px solid var(--accent);
  border-radius: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  transform-origin: center center;
  transform-style: preserve-3d;
  /* 3D-Kante (2px Dicke) + Schweben */
  box-shadow:
    2px 2px 0 #0A0A0A,
    0 28px 60px rgba(10, 10, 10, 0.45);
  /* Ausgangszustand (geschlossen) */
  transform: rotateY(-180deg) rotateX(12deg) scale(0.35) translateY(40px);
  opacity: 0;
}

.method-popup.is-open .method-popup__card {
  animation: method-card-open 0.85s cubic-bezier(0.34, 0.4, 0.2, 1) both;
}

.method-popup.is-closing .method-popup__card {
  animation: method-card-close 0.42s ease both;
}

@keyframes method-card-open {
  0%   { transform: rotateY(-180deg) rotateX(12deg) scale(0.35) translateY(40px);  opacity: 0; }
  55%  { transform: rotateY(-20deg)  rotateX(8deg)  scale(1.06) translateY(-14px); opacity: 1; }
  100% { transform: rotateY(0deg)    rotateX(0deg)  scale(1)    translateY(0);      opacity: 1; }
}

@keyframes method-card-close {
  0%   { transform: rotateY(0deg)    rotateX(0deg) scale(1)   translateY(0);   opacity: 1; }
  100% { transform: rotateY(-110deg) rotateX(8deg) scale(0.5) translateY(24px); opacity: 0; }
}

.method-popup__close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #0A0A0A;
  padding: 0.2rem 0.4rem;
}

.method-popup__close:hover,
.method-popup__close:focus-visible { color: var(--accent); }

.method-popup__label {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.method-popup__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 var(--space-xs);
  color: #0A0A0A;
}

.method-popup__leader {
  font-weight: 600;
  margin: 0 0 var(--space-md);
  color: #0A0A0A;
}

.method-popup__body {
  font-size: 1.05rem;
  line-height: 2.1rem;
  min-height: 4rem;
  color: #0A0A0A;
}

/* Popup-Typewriter-Cursor (eigener, damit unabhaengig vom Theme sichtbar) */
.method-popup__body .typewriter-caret {
  display: inline-block;
  color: var(--accent);
  transform: translateY(0.08em);
  animation: brecht-cursor-blink 1s steps(1) infinite;
}

/* ====================================================================
   BUCHEN-SEITE: Gast / Registrieren + Footer-Login
   ==================================================================== */

.buchen-optionen {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

/* Bestelluebersicht: die per JS erzeugten .buchen-option-Karten brauchen Abstand,
   sonst kleben sie Rahmen an Rahmen (eine Bestellung direkt an der naechsten). */
#orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .buchen-optionen { grid-template-columns: 1fr 1fr; }
}

/* Single-Option-Seiten (Login, Registrieren): eine Spalte statt halber Grid-Spalte,
   damit das Formular die volle Container-Breite nutzt (Desktop). Mobil ohnehin 1fr. */
.buchen-optionen--single { grid-template-columns: 1fr; }

.buchen-option {
  border: 3px solid #000;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.buchen-option__titel {
  font-size: 1.375rem;
  margin: 0 0 var(--space-sm);
}

.buchen-option__text {
  margin: 0 0 var(--space-lg);
  flex: 1 1 auto;
}

/* Registrieren-Knopf: weiss mit schwarzem Rahmen (Gegenstueck zum roten Gast-Knopf) */
.buchen-option__register {
  background: #fff;
  color: var(--text-base);
  border: 3px solid #000;
  text-decoration: none;
  text-align: center;
}

.buchen-option__register:hover,
.buchen-option__register:focus-visible {
  border-left-color: var(--accent);
  color: var(--text-base);
}

/* Login-Schalter im Footer (neben Impressum) */
.site-footer__login {
  font-weight: 700;
}

/* Profil-Pille im Header (rund, neben dem Buchen-Knopf; nur eingeloggt) */
.profil-pille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  border: 3px solid #000;
  background: #fff;
  color: var(--text-base);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast);
  background-size: cover;
  background-position: center;
}

.profil-pille:hover,
.profil-pille:focus-visible {
  background: var(--accent);
  color: #fff;
}

/* Profil-Dropdown (Hamburger-Menue an der Pille, nur eingeloggt) */
.profil-menu {
  position: relative;
  display: inline-flex;
}
.profil-menu .profil-pille {
  padding: 0;
  cursor: pointer;
}

/* Login-Pille skaliert stufenlos mit der Header-Hoehe (wie der restliche Balken).
   Selektor .site-header .profil-pille (0,2,0) schlaegt die Basis-Regel und steht
   dahinter -> gewinnt sicher. 2026-06-23 */
@media (min-width: 768px) {
  .site-header .profil-pille {
    width: calc(var(--header-height) * 0.625);
    height: calc(var(--header-height) * 0.625);
    flex: 0 0 calc(var(--header-height) * 0.625);
    font-size: calc(var(--header-height) * 0.25);
  }
}
.profil-menu__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 250px;
  background: #fff;
  border: 3px solid var(--text-base);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.profil-menu__panel[hidden] { display: none; }
.profil-menu__item {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-base);
  text-decoration: none;
  background: #fff;
  padding: 0.65rem 1rem;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--text-base);
  text-align: left;
  cursor: pointer;
  line-height: 1.25;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.profil-menu__item:last-child { border-bottom: 0; }
.profil-menu__item:hover,
.profil-menu__item:focus-visible {
  border-left-color: var(--accent);
  background: #f4f4f4;
}
.profil-menu__item--logout {
  color: var(--accent);
  font-weight: 700;
}

/* Profilseite: Karte + grosser Avatar */
.profil-karte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  border: 3px solid #000;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

@media (min-width: 600px) {
  .profil-karte { flex-direction: row; align-items: flex-start; }
  .profil-karte .infos-list { flex: 1; }
}

.profil-avatar {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #000;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--text-base);
  overflow: hidden;
}

