/* ============================================================================
   Roots of Albania — Design und Layout
   ----------------------------------------------------------------------------
   Übernahme der WordPress-Seite (Elementor). Inhalte, Schrift und Bilder sind
   die des Originals; tools/abgleich.py prüft, dass keiner fehlt.

   **Struktur vom System, Marke vom Original.** Die Klassen sind die des
   Systems (.huelle, .abschnitt*, .kopfzeile, .knopf*, .karte*, .form/.feld,
   .fuss*), technische Vorlage ist nastyvibes-hp.

   Plakatfassung (Betreiber 07.11.2026): Grund #0d0d0d, NEXA in großen
   Versalien, eckig, Flaggenrot #ff1f2b mit schwarzer Schrift.

   Keine Inline-Styles. Die Content-Security-Policy führt style-src 'self'
   ohne unsafe-inline; was aus der API kommt, wird als <img> oder
   textContent gesetzt, nie als style-Attribut.
   ========================================================================== */

/* ------------------------------------------------------------- Schriften -- */

/* **Dieselben Dateien und dieselbe Zuordnung wie im Original**
   (assets/fonts/LIZENZEN.md). Fett ist dort die Black-Fassung. */
@font-face {
  font-family: 'NEXA';
  src: url('../fonts/nexa-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NEXA';
  src: url('../fonts/nexa-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NEXA';
  src: url('../fonts/nexa-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- Token -- */

:root {
  /* Flächen — gemessen (referenz/*.json, Elementor-Kit). */
  --nacht:        #0d0d0d;   /* Seitengrund */
  --kopf:         #0d0d0d;   /* Kopfleiste */
  --karte:        #181818;   /* Eventkarte */
  --karte-bild:   #0d0d0d;   /* Fläche hinter dem Flyer */
  --fuss:         #000000;   /* Fußbereich */

  --schrift-grund:   'NEXA', sans-serif;
  --schrift-display: 'NEXA', sans-serif;

  --tinte:        #ffffff;
  --tinte-rgb:    255 255 255;
  --tinte-still:  #a8a8a8;   /* Etiketten */

  /* **Flaggenrot statt des dunklen Originalrots** (Betreiber 07.11.2026).
     Auf #0d0d0d 5,1:1, Schwarz darauf ebenso: Das Rot trägt schwarze Schrift
     und gilt auch für kleine Texte auf dem Grund. */
  --akzent:       #ff1f2b;
  --akzent-rgb:   255 31 43;
  --akzent-tinte: #0d0d0d;
  --akzent-text:  var(--akzent);
  --akzent-flaeche: var(--akzent);
  --akzent-hell:  var(--akzent);

  /* Hülle: Breite und Seitenrand. */
  --breite:       1280px;
  --gutter:       clamp(20px, 4vw, 40px);

  --kurve:        cubic-bezier(0.32, 0.72, 0, 1);

  --ausruf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M7 2h2v7H7zM7 11h2v2H7z'/%3E%3C/svg%3E");
  --haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.6l3.1 3.1 6.5-6.9'/%3E%3C/svg%3E");
  /* Pfeil der Knöpfe — Pfad des Originals (Font Awesome „long-arrow-alt-right"). */
  --pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z'/%3E%3C/svg%3E");

  /* Kopfleiste; Hero und Ankersprung rechnen damit. */
  --kopf-hoehe:   84px;
  --laufband:     56px;
}
@media (max-width: 767px)  { :root { --kopf-hoehe: 72px; } }

/* --------------------------------------------------------------- Grundlage -- */

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

/* Sicherheitsnetz gegen seitliches Verschieben. `clip`, nicht `hidden`:
   `overflow: hidden` an einem Vorfahren setzt `position: sticky` außer
   Kraft, und die Kopfzeile klebt nicht mehr. */
html, body { overflow-x: clip; }

/* `hidden` muss gewinnen. Der Browser setzt dafür nur `display: none` mit
   schwacher Spezifität — jede eigene display-Regel schlägt es. Genau das
   ist passiert: `.knopf { display: inline-flex }` hat ein `hidden` am
   Lounge-Knopf überstimmt, und der stand auf jeder Eventseite. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  /* Anker sollen nicht unter der festen Kopfzeile landen. */
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}

/* Wer Bewegung abbestellt hat, bekommt auch kein sanftes Scrollen. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--nacht);
  color: var(--tinte);
  font-family: var(--schrift-grund);
  /* 16px/24px — gemessen an jedem Container des Originals. */
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Menü offen: der Hintergrund darf nicht mitscrollen. */
html.menu-offen { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 3px;
}

/* Überschriften: NEXA 700, Versalien. Größe und Zeilenhöhe setzt jede
   Stelle selbst. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--schrift-display);
  font-weight: 700;
  text-transform: uppercase;
}

/* Fließtext: NEXA 16px/24px. Abstand 0,9rem wie Elementor — in rem, nicht
   em: bei 14px-Text wären es sonst 12,6 statt 14,4px. */
p {
  margin: 0 0 0.9rem;
  font-family: var(--schrift-grund);
  font-size: 16px;
  line-height: 1.5;
}
p:last-child { margin-bottom: 0; }

/* Nur für Lesegeräte — etwa die H1 der Startseite. */
.nur-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprung {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--akzent-flaeche);
  color: var(--akzent-tinte);
  font-weight: 700;
}
.sprung:focus { left: 1rem; top: 1rem; }

.icon { flex: none; }

/* ---------------------------------------------------------------- Raster -- */

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.abschnitt { position: relative; padding-block: clamp(64px, 9vw, 120px); isolation: isolate; }

/* Plakatzeile: die große Überschrift der Seite. */
.plakat {
  margin-bottom: clamp(28px, 4vw, 56px);
  font-size: clamp(54px, 11vw, 156px);
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.dach {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--akzent);
}

.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Knoepfe -- */

/* **`line-height` nach `font: inherit`.** Die Kurzschrift setzt die
   Zeilenhöhe zurück. Eckig, Schwarz auf Rot. */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border: 0;
  border-radius: 0;
  background: var(--akzent-flaeche);
  color: var(--akzent-tinte);
  font: inherit;
  font-family: var(--schrift-display);
  line-height: 1;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--kurve);
}
.knopf:hover { background: var(--tinte); color: var(--akzent-tinte); }
.knopf:active { transform: scale(0.98); }
.knopf[disabled] { opacity: 0.5; cursor: not-allowed; }
.knopf-leer { background: var(--tinte); color: var(--akzent-tinte); }
.knopf-leer:hover { background: var(--akzent); }
.knopf-gross { padding: 20px 34px; font-size: clamp(16px, 1.7vw, 22px); }

/* ---------------------------------------------------------------- Kopf --- */

/* Kopfleiste: Logo links, Menü, Sprachwahl und Ticketknopf rechts. */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--kopf);
  isolation: isolate;
  transition: background 0.25s ease;
}
/* Über Hero und Bildband durchsichtig, deckend ab dem Scrollen (ui.js). */
body:has(.hero, .seitenkopf) .kopf:not([data-fest='ja']):not([data-offen='ja']) { background: transparent; }

.kopf-innen {
  --breite: 1360px;
  display: flex;
  align-items: center;
  min-height: var(--kopf-hoehe);
}

.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; }
@media (max-width: 767px)  { .logo img { height: 48px; } }

.kopf-rechts { display: flex; align-items: center; gap: 18px; margin-left: 28px; }
@media (max-width: 1024px) { .kopf-rechts { margin-left: auto; } }
@media (max-width: 767px) { .kopf-rechts { gap: 10px; } }
.kopf-tickets { padding: 12px 18px; font-size: 14px; }
@media (max-width: 767px) { .kopf-tickets { padding: 11px 12px; font-size: 13px; } }

/* Sprachwahl. */
.sprachwahl { display: flex; gap: 4px; font-size: 14px; font-weight: 700; line-height: 1; }
.sprachwahl a { padding: 5px 6px; }
.sprachwahl a:hover { color: var(--akzent); }
.sprachwahl a[aria-current='true'] { color: var(--akzent-tinte); background: var(--tinte); }

.menu-knopf {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-knopf span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--akzent);
  transition: transform 0.28s var(--kurve), opacity 0.2s ease;
}
/* 8px = halbe Balkenhöhe plus Abstand — so treffen sich beide in der Mitte. */
.kopf[data-offen='ja'] .menu-knopf span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.kopf[data-offen='ja'] .menu-knopf span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.kopf[data-offen='ja'] .menu-knopf span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu { margin-left: auto; }
.menu ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1025px) { .menu li { display: flex; align-items: center; } }

.menu a {
  padding-block: 5px;
  font-family: var(--schrift-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.15s ease;
}
.menu a:hover { color: var(--akzent); }
/* Der aktive Punkt bleibt weiß und bekommt eine rote Linie: Als rote Schrift
   war er über Video und Bildband nicht sicher lesbar (1,56:1). */
@media (min-width: 1025px) {
  .menu a[aria-current='page'] { position: relative; }
  .menu a[aria-current='page']::after {
    content: '';
    position: absolute;
    inset: auto 0 -5px;
    height: 3px;
    background: var(--akzent);
  }
}

/* Der Menüfuß gehört nur ins aufgeklappte Menü auf schmalen Geräten. */
.menu-fuss { display: none; }

/* Schmale Geräte: das Menü füllt den Bildschirm, Punkte groß und mittig,
   darunter Anschrift, E-Mail und Symbole. Aufblenden statt Einschieben. */
@media (max-width: 1024px) {
  .kopf[data-offen='ja'] { background: var(--kopf); }

  .menu {
    position: fixed;
    inset: var(--kopf-hoehe) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem clamp(1rem, 4vw, 2.5rem) 3rem;
    overflow-y: auto;
    background: var(--kopf);
    opacity: 0;
    transform: scale(1.03);
    /* Geschlossen auch für Tastatur und Lesegerät weg. */
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.35s var(--kurve), visibility 0.28s ease;
  }
  .kopf[data-offen='ja'] .menu { opacity: 1; transform: none; visibility: visible; }

  .menu ul { flex: none; flex-direction: column; align-items: center; gap: 0.25rem; }
  .menu li { display: block; text-align: center; }
  .menu a { font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1.1; letter-spacing: 0; }

  .menu-fuss {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    margin-top: 2.5rem;
    text-align: center;
  }
  .menu-fuss p { margin: 0; font-size: 14px; color: var(--tinte-still); }
  /* Auf schwarzem Grund trägt das Rot auch hier. Die Linie der Kopfleiste
     schnitte im großen Menü durch den nächsten Punkt. */
  .menu a[aria-current='page'] { color: var(--akzent); }
  .menu-fuss a { font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; color: #cfcfcf; }
  .menu-fuss .fuss-social { justify-content: center; margin-top: 0.75rem; }

  /* Die Punkte laufen nacheinander ein. Die Verzögerung steht je Position
     im CSS, weil ein Inline-Style unter `style-src 'self'` nicht erlaubt ist. */
  .menu li { opacity: 0; transform: translateY(14px); transition: opacity 0.3s ease, transform 0.4s var(--kurve); }
  .kopf[data-offen='ja'] .menu li { opacity: 1; transform: none; }
  .kopf[data-offen='ja'] .menu li:nth-child(1) { transition-delay: 0.08s; }
  .kopf[data-offen='ja'] .menu li:nth-child(2) { transition-delay: 0.13s; }
  .kopf[data-offen='ja'] .menu li:nth-child(3) { transition-delay: 0.18s; }
  .kopf[data-offen='ja'] .menu li:nth-child(4) { transition-delay: 0.23s; }

  @media (prefers-reduced-motion: reduce) {
    .menu li { opacity: 1; transform: none; transition: none; }
    .menu { transition: visibility 0.01s; transform: none; }
  }
}
@media (min-width: 1025px) { .menu-knopf { display: none; } }

/* ----------------------------------------------------------------- Hero -- */

/* Video über die volle Breite, unten links der Titel in Blöcken. Die Höhe
   lässt das Laufband noch im ersten Bild stehen. */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(560px, min(calc(100svh - var(--laufband)), 900px));
  margin-top: calc(var(--kopf-hoehe) * -1);
  overflow: hidden;
  background: var(--nacht);
}
.hero-medium {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/hero-quer.webp') center / cover no-repeat;
}
.hero-medium video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 180px;
  background: linear-gradient(180deg, rgb(0 0 0 / 78%), transparent);
}
.hero-video-hoch { display: none; }
@media (max-width: 1024px) {
  .hero-medium { background-image: url('../img/hero-hoch.webp'); }
  .hero-video-quer { display: none; }
  .hero-video-hoch { display: block; }
}

.hero-text { position: relative; z-index: 2; padding-block: 48px; }
.hero-dach {
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 12px;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1;
  color: var(--akzent-tinte);
  background: var(--tinte);
}
.hero-titel { margin-bottom: 18px; font-size: clamp(44px, 9vw, 128px); line-height: 1; }
.hero-titel span {
  display: block;
  width: fit-content;
  padding: 0.06em 0.16em 0.02em;
  background: var(--nacht);
}
.hero-titel .hero-rot { color: var(--akzent-tinte); background: var(--akzent); }

/* Laufband: die nächsten Termine. Die Bewegung hängt an `html.anim`, ohne sie
   steht die Spur still. */
.laufband {
  display: flex;
  align-items: center;
  height: var(--laufband);
  overflow: hidden;
  background: var(--akzent);
  color: var(--akzent-tinte);
}
.laufband-spur { display: flex; flex: none; font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap; text-transform: uppercase; }
.laufband-spur span { padding-inline: 22px; }
.laufband-spur span::after { content: '/'; margin-left: 44px; }
@keyframes laufband { to { transform: translateX(-50%); } }
html.anim .laufband-spur { animation: laufband 40s linear infinite; }

/* ------------------------------------------------------------- Ueber uns -- */

#ueber { padding-top: 0; overflow: hidden; }
#ueber .plakat { max-width: 11em; font-size: clamp(46px, 9vw, 128px); }

/* Gekippte Abzüge, abwechselnd nach links und rechts. Auf schmalen Geräten
   läuft die Reihe seitlich. */
.abzuege {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 22px);
  padding: 22px clamp(20px, 3vw, 40px) 40px;
}
.abzuege figure {
  flex: 1 1 0;
  min-width: 0;
  max-width: 300px;
  margin: 0;
  padding: 10px 10px 30px;
  background: var(--tinte);
  transform: rotate(-3deg);
}
.abzuege figure:nth-child(even) { transform: rotate(2.5deg) translateY(16px); }
.abzuege figure:nth-child(3n) { transform: rotate(-1.5deg) translateY(-6px); }
.abzuege img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 1024px) {
  .abzuege { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .abzuege figure { flex: 0 0 min(62vw, 280px); scroll-snap-align: center; }
}

.ueber { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); margin-top: clamp(32px, 5vw, 64px); }
@media (max-width: 767px) { .ueber { grid-template-columns: 1fr; } }
.ueber p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; text-align: justify; hyphens: auto; }
.am-stueck { white-space: nowrap; }
.ueber strong { font-weight: 700; }
.ueber .knopf-reihe { margin-top: 26px; }
/* Auf dem Telefon schließen die Knöpfe bündig mit dem Blocksatz ab. */
@media (max-width: 767px) { .ueber .knopf { flex: 1 1 100%; } }

/* Newsletter: das eine große rote Band der Seite (Betreiber 07.11.2026). */
.newsletter-band { padding-block: clamp(56px, 7vw, 96px); background: var(--akzent); color: var(--akzent-tinte); }
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 28px 48px; align-items: center; }
@media (max-width: 1024px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter .plakat { margin-bottom: 10px; font-size: clamp(44px, 6vw, 84px); overflow-wrap: normal; }
@media (max-width: 1024px) { .newsletter .plakat { font-size: clamp(42px, 11vw, 96px); } }
.newsletter p { margin: 0; font-size: 17px; }

/* --------------------------------------------------------------- Karten -- */

/* Eventkarte: Flyer, Titel, Ort, unten Termin und Ticketweg. */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.karte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--karte);
  color: var(--tinte);
}
.karte-bild { aspect-ratio: 16 / 9; background: var(--karte-bild); }
.karte-bild img { width: 100%; height: auto; }

.karte-text { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; flex: 1; }
.karte-text p { margin: 0; }
.karte-titel { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; overflow-wrap: anywhere; }
.karte-ort { font-size: 15px; line-height: 1.4; color: var(--tinte-still); }
.karte-abriss { display: flex; margin: 0; font-weight: 700; line-height: 1; }
.karte-termin { flex: 1; padding: 18px 22px; font-size: 16px; background: #000000; }
.karte-infos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  font-size: 15px;
  text-transform: uppercase;
  background: var(--akzent);
  color: var(--akzent-tinte);
}

/* Leerzustand (keine Termine, Formular aus). */
.leer { margin: 0; padding: 20px 0; color: var(--tinte); }
.leer a { color: var(--akzent); text-decoration: underline; }

/* ---------------------------------------------------------------- Bühne -- */

/* Unterseiten: Bildband mit Titel in der Mitte, die Kopfleiste liegt darüber.
   Der Inhalt steht darunter auf ruhigem Grund. */
.seitenkopf {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 37vw, 540px);
  margin-top: calc(var(--kopf-hoehe) * -1);
  padding: calc(var(--kopf-hoehe) + 16px) var(--gutter) 16px;
  background: var(--nacht) center / cover no-repeat;
  text-align: center;
}
.seitenkopf::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 72%) 0, rgb(0 0 0 / 40%) 34%, rgb(0 0 0 / 40%) 100%);
}
.seitenkopf h1 { font-size: clamp(46px, 9vw, 128px); line-height: 1; overflow-wrap: anywhere; }
.seitenkopf--events { background-image: url('../img/grund/events-quer.webp'); }
.seitenkopf--hall { background-image: url('../img/grund/hall-of-fame-quer.webp'); }
.seitenkopf--kontakt { background-image: url('../img/grund/kontakt-quer.webp'); }
@media (max-width: 767px) {
  .seitenkopf--events { background-image: url('../img/grund/events-hoch.webp'); }
  .seitenkopf--kontakt { background-image: url('../img/grund/kontakt-hoch.webp'); }
}

/* Hall of Fame: Bild über roter Namensleiste. */
.hall-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hall-karte img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hall-karte h2 { padding: 14px 12px 11px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; color: var(--akzent-tinte); background: var(--akzent); }

/* Kontakt: links Zeile und Symbole, rechts das Formular. */
.kontakt-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
@media (max-width: 1024px) { .kontakt-raster { grid-template-columns: 1fr; } }
.kontakt-satz { font-size: clamp(26px, 3.4vw, 46px); font-weight: 700; line-height: 1.15; }
.fuss-social--gross { margin-top: 20px; }
.fuss-social.fuss-social--gross a { font-size: 30px; }

/* ------------------------------------------------------------ Formulare -- */

.form { display: grid; gap: 22px; }
.feld { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; border: 0; }
.feld > span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
/* Pflichtstern wie im Original als ::after: Er zählt nicht zum Text. */
.feld:has([required]) > span::after { content: ' *'; color: var(--akzent-text); }

/* `line-height` nach `font: inherit` — die Kurzschrift setzt sie zurück. */
.feld input,
.feld textarea {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 0;
  background: #242424;
  color: var(--tinte);
  font: inherit;
  font-size: 15px;
  line-height: 22px;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; }
.feld ::placeholder { color: rgb(var(--tinte-rgb) / 70%); }

.zustimmung {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.4;
}
.zustimmung input { flex: none; margin: 3px 0 0; accent-color: var(--akzent); }
.zustimmung a { color: var(--akzent-text); text-decoration: underline; }

#kontaktformular .knopf-reihe .knopf { width: 100%; padding-block: 18px; font-size: 16px; }

/* Honigtopf. Für Menschen unsichtbar, für Skripte verlockend. */
.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* **Die Rückmeldung ist ein Kasten, keine Textzeile.** Rot ist hier die
   Markenfarbe, deshalb trägt der Fehlerfall ein Zeichen und einen Rahmen. */
.rueckmeldung { margin: 0; font-size: 14px; }
.rueckmeldung:empty { display: none; }
.rueckmeldung[data-state='ok'],
.rueckmeldung[data-state='fehler'] {
  padding: 12px 14px;
  border: 1px solid;
  background: rgb(13 13 13 / 80%);
}
.rueckmeldung[data-state='ok'] { border-color: #2fb56a; color: #7fe0a8; }
.rueckmeldung[data-state='fehler'] { border-color: var(--akzent-text); color: var(--tinte); }
.rueckmeldung[data-state='laeuft'] { color: var(--tinte-still); }

/* ------------------------------------------------------------- Eventseite -- */

/* Rücklink, Plakattitel, Termin, Ticketknopf, Flyer, darunter Text und
   Ortskasten nebeneinander. */
.seite-event .abschnitt { padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 110px); }
.event { --breite: 1120px; }

.zurueck { display: inline-block; font-size: 15px; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--akzent); }
.zurueck:hover { color: var(--tinte); }
.event h1 { margin-top: 22px; font-size: clamp(36px, 6.4vw, 84px); line-height: 1; overflow-wrap: anywhere; }
.event-datum { margin: 16px 0 0; font-size: clamp(16px, 1.7vw, 21px); font-weight: 700; line-height: 1.3; color: var(--akzent); }
.event .knopf-reihe { margin-top: 22px; }
.event .knopf { font-size: 18px; padding: 18px 30px; }
.event .knopf .icon { width: 16px; height: 16px; }
.event-flyer { width: 100%; height: auto; margin-top: 32px; }

.event-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 1024px) { .event-raster { grid-template-columns: 1fr; } }
.event-info h2 { margin-bottom: 18px; font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.event-text { font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.event-text .emoji { display: inline-block; vertical-align: -0.1em; }
.event-text a { color: var(--akzent); text-decoration: underline; }

.ort-kasten { padding: 26px; background: var(--karte); }
.ort-kasten h2 { margin-bottom: 14px; font-size: 26px; line-height: 1.1; }
.ort-kasten p { font-size: 16px; line-height: 1.5; }
.ort-etikett { margin-bottom: 2px; font-weight: 700; }
.ort-anschrift a { color: var(--akzent); text-decoration: underline; }

/* ------------------------------------------------------------ Rechtstext -- */

/* Grundform des Rechtstexts: Fließtext in der Systemhülle (1140px), 50px
   unter dem Kopf; Absätze mit 0,9rem Abstand, Verweise in Akzentfarbe. */
.seite-recht .abschnitt { padding: 50px 0 49px; }
@media (max-width: 1024px) { .rechtstext { --gutter: 20px; } }
.rechtstext h1 {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--akzent);
}
/* Trennlinie wie der Elementor-Divider des Originals: 1px Akzent über 30 %
   der Spalte, 15px Polster und 20px Abstand je Seite (71px Text zu Text,
   gemessen). Der Absatz davor endet ohne Rand. */
.rechtstext hr {
  width: 30%;
  margin: 35px 0;
  border: 0;
  border-top: 1px solid var(--akzent);
}
.rechtstext p:has(+ hr) { margin-bottom: 0; }
.rechtstext h3,
.rechtstext h4,
.rechtstext h5 {
  margin: 8px 0 16px;
  font-family: var(--schrift-grund);
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
}
.rechtstext h3 { font-size: 28px; }
.rechtstext h4 { font-size: 24px; }
.rechtstext h5 { font-size: 20px; }
.rechtstext p,
.rechtstext li {
  font-family: var(--schrift-grund);
  font-size: 15px;
  line-height: 1.5;
}
/* **Variante: Blocksatz** wie im Original — die ganze Datenschutzerklärung
   (82 von 83 Absätzen, auch die Überschriften), im Impressum nur der
   Fließtext unter der Trennlinie; die Adressblöcke darüber stehen
   linksbündig. */
.rechtstext--blocksatz :is(p, li, h3, h4, h5),
.rechtstext hr ~ p { text-align: justify; }
.rechtstext ul { margin: 0; padding-left: 40px; }
.rechtstext strong, .rechtstext u { font-weight: 700; }
.rechtstext a { color: var(--akzent-text); }
.rechtstext a:hover { text-decoration: underline; }

/* **Zwei Spalten** — Variante des Rechtstexts aus sundayfunday-hp
   (`.rechtstext--zweispaltig`). Das Impressum des Originals steht ab 768px
   in zwei gleich breiten Spalten, 20px Abstand (gemessen: 550 + 20 + 550
   bei 1440, 354 + 20 + 354 bei 768). Hülle 1160 mit 20px Rand, 70px über
   und 35px unter dem Text. `max-width` der Hülle, nicht `none`: beide
   Klassen sitzen am selben Element. */
.rechtstext--zweispaltig {
  display: grid;
  gap: 34px 20px;
  align-items: start;
  max-width: var(--breite);
}
@media (min-width: 768px) {
  .rechtstext--zweispaltig { grid-template-columns: 1fr 1fr; }
}
/* Fläche wie der Elementor-Container des Originals: Grund #000,
   Polster 50px oben, Schriftfarbe #333 (gemessen an der Linienfarbe);
   der Text setzt seine Farbe selbst. 20px und 35px am Text. */
.seite-recht .abschnitt:has(.rechtstext--zweispaltig) { padding: 50px 0 0; color: #333333; background: var(--nacht); }
.rechtstext--zweispaltig { padding-block: 20px 35px; color: var(--tinte); }
.rechtstext--zweispaltig p { font-size: 16px; text-align: justify; }
.rechtstext--zweispaltig p:last-child { margin-bottom: 0; }
/* Pflichtangaben: Zeilenhöhe 1,6 wie im Original (`section.impressum`). */
.rechtstext-angaben { font-size: 16px; line-height: 1.6; }
.rechtstext-angaben a { color: var(--akzent-text); }
@media (max-width: 767px) {
  .rechtstext--zweispaltig p,
  .rechtstext-angaben { font-size: 15px; }
}

/* **Schmale Spalte** — Variante des Rechtstexts für die
   Datenschutzerklärung des Originals (`section` mit 900px, Zeilenhöhe
   1,6, gemessen an referenz/datenschutz-*.json): 900px mittig, unter
   1025px 10 % Rand, unter 768px 18px. Überschriften NEXA in
   Satzschrift (22/18/16px), Abstände wie das Hello-Theme (h: 0,5rem oben,
   1rem unten; Absatz 0,9rem). Inhaltsverzeichnis 14px/1,4. Fläche wie im
   Impressum: Grund #000 ohne Polster, Schriftfarbe #333; 50px über und
   unter dem Text, unter 768px 68px. */
.seite-recht .abschnitt:has(.rechtstext--schmal) { padding: 0; color: #333333; background: var(--nacht); }
.rechtstext--schmal {
  --breite: 900px;
  --gutter: 0px;
  padding-block: 50px;
  color: var(--tinte);
}
@media (max-width: 1024px) { .rechtstext--schmal { --breite: none; padding-inline: 10%; } }
@media (max-width: 767px)  { .rechtstext--schmal { padding: 68px 18px; } }
.rechtstext--schmal :is(p, li, address) { font-size: 16px; line-height: 1.6; }
.rechtstext--schmal p:last-child { margin-bottom: 0.9rem; }
.rechtstext--schmal :is(h1, h2, h3) {
  margin: 0.5rem 0 1rem;
  font-family: var(--schrift-grund);
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
}
.rechtstext--schmal h1 { margin-bottom: 0.5em; font-size: 22px; color: inherit; }
.rechtstext--schmal h2 { margin-top: 1.5em; font-size: 18px; }
.rechtstext--schmal h3 { margin-top: 1em; font-size: 16px; }
.rechtstext--schmal address { font-style: normal; }
.rechtstext-inhalt { margin: 1rem 0 2rem; }
.rechtstext-inhalt ol { margin: 0; padding-left: 40px; }
.rechtstext--schmal .rechtstext-inhalt li { font-size: 14px; line-height: 1.4; }
.rechtstext--schmal ul { margin: 0 0 0.9rem; }

/* ------------------------------------------------------------- Newsletter -- */

/* Feld und Knopf als eine Zeile, darunter die Einwilligung. Auf Rot trägt das
   Band Schwarz und Weiß. */
.newsletter .form { display: block; }
.newsletter-zeile { display: flex; height: 56px; background: var(--tinte); }
.newsletter-zeile input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--akzent-tinte);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.newsletter-zeile input::placeholder { color: #555555; }
.newsletter-zeile input:focus { outline: none; }
.newsletter-zeile:focus-within { outline: 2px solid var(--akzent-tinte); outline-offset: 2px; }
.newsletter-zeile .knopf { padding: 0 24px; background: var(--akzent-tinte); color: var(--tinte); }
.newsletter-zeile .knopf:hover { background: #333333; color: var(--tinte); }
.newsletter .zustimmung { margin-top: 12px; font-size: 13px; }
.newsletter .zustimmung input { accent-color: var(--akzent-tinte); }
.newsletter .rueckmeldung { margin-top: 12px; color: var(--tinte); }

/* ------------------------------------------------------------------ Fuss -- */

/* Schwarz, links Logo und Kurztext, rechts Rechtliches und Symbole. */
.fuss { background: var(--fuss); }
.fuss p { margin: 0; }
.fuss-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  max-width: var(--breite);
  margin-inline: auto;
  padding: 48px var(--gutter) 28px;
}
.fuss-marke { display: flex; align-items: center; gap: 24px; }
.fuss-logo { flex: none; width: 150px; }
.fuss-logo img { width: 100%; height: auto; }
.fuss-marke > p { max-width: 400px; font-size: 15px; line-height: 1.5; color: #cfcfcf; }

.fuss-links { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fuss-recht { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.fuss-recht a { font-size: 15px; line-height: 1.5; }
.fuss-recht a:hover { color: var(--akzent); }

.fuss-social { display: flex; gap: 4px; }
.fuss-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  font-size: 22px;
  line-height: 1;
}
.fuss-social svg { width: 1em; height: 1em; color: var(--tinte); transition: color 0.15s ease; }
.fuss-social a:hover svg { color: var(--akzent); }

/* „powered by Clubinio" wie auf den Clubseiten. */
.clubinio { display: block; width: 130px; margin-top: 6px; }
.clubinio img { width: 100%; height: auto; }

.fuss-zeile { padding: 0 var(--gutter) 28px; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; color: var(--tinte-still); }

@media (max-width: 767px) {
  .fuss-raster { grid-template-columns: 1fr; }
  .fuss-marke { flex-direction: column; align-items: flex-start; }
  .fuss-links { align-items: flex-start; }
  .fuss-recht { justify-content: flex-start; }
}

/* ------------------------------------------------------------- Bewegung -- */

/* **Alles hängt an `html.anim`.** Diese Klasse setzt assets/js/anim.js,
   und zwar nur, wenn das Modul wirklich läuft und `prefers-reduced-motion`
   nicht gesetzt ist. Fällt das Skript aus, bleibt die Klasse weg — und
   damit jede Regel, die etwas unsichtbar macht.

   Bewegt wird ausschließlich `transform` und `opacity`: beides läuft im
   Compositor, alles andere ruckelt auf dem Telefon. */
html.anim [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.75s var(--kurve);
}
html.anim [data-reveal][data-sichtbar='ja'] {
  opacity: 1;
  transform: none;
}

/* Karten laufen versetzt ein. Die Verzögerung steht je Position im CSS,
   weil ein Inline-Style unter `style-src 'self'` nicht erlaubt wäre. */
html.anim .karten [data-reveal]:nth-child(2) { transition-delay: 0.09s; }
html.anim .karten [data-reveal]:nth-child(3) { transition-delay: 0.18s; }
html.anim .karten [data-reveal]:nth-child(4) { transition-delay: 0.27s; }
html.anim .karten [data-reveal]:nth-child(5) { transition-delay: 0.36s; }
html.anim .karten [data-reveal]:nth-child(6) { transition-delay: 0.45s; }

/* Eventkarte beim Überfahren: Flyer zoomt, Pfeil läuft. */
.karte-bild { overflow: hidden; }
.karte-bild img { transition: transform 0.55s var(--kurve); }
.karte:hover .karte-bild img { transform: scale(1.04); }
.karte-infos svg { transition: transform 0.3s var(--kurve); }
.karte:hover .karte-infos svg { transform: translateX(4px); }

/* Der Hero läuft beim Laden auf: Dachzeile, Blöcke, Knopf nacheinander. */
@keyframes hero-auf {
  from { opacity: 0; transform: translateY(-26px); }
  to   { opacity: 1; transform: none; }
}
html.anim .hero-dach,
html.anim .hero-titel span,
html.anim .hero-text .knopf {
  animation: hero-auf 0.9s var(--kurve) both;
}
html.anim .hero-dach                     { animation-delay: 0.05s; }
html.anim .hero-titel span:nth-child(1)  { animation-delay: 0.14s; }
html.anim .hero-titel span:nth-child(2)  { animation-delay: 0.23s; }
html.anim .hero-titel span:nth-child(3)  { animation-delay: 0.32s; }
html.anim .hero-text .knopf              { animation-delay: 0.45s; }

/* ---------------------------------------------------------------- Fehler -- */

/* 404: Kennzahl in Akzentfarbe, Zeile, Satz, zwei Knöpfe — mittig. */
.fehlerseite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 60svh;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.fehlerseite .kennzahl {
  margin: 0;
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 700;
  line-height: 1;
  color: var(--akzent);
}
.fehlerseite h1 { font-size: clamp(28px, 5vw, 50px); line-height: 1;  }
.fehlerseite p { margin: 0; }
.fehlerseite .knopf-reihe { justify-content: center; gap: 14px; }
