/* ============================================================
   1. Radler-Club Heidingsfeld von 1899 e.V. – Stylesheet
   Mobile-first · Barlow/Barlow Condensed · WCAG-AA
   ============================================================ */

/* ---------- Design-Tokens (Farben aus der Vereinsnadel) ---------- */
:root {
  --rot: #bc2a26;        /* Vereinsrot   – Weiß drauf: 6.0:1 */
  --rot-tief: #a32e28;   /* Rot für kleinen Text auf Papier: 6.65:1 */
  --gold: #fbb25f;       /* Gold – Ink drauf: 8.6:1, auf Dunkel: 9.5:1 */
  --gold-hell: #ffd87b;
  --papier: #fbf8f3;     /* Papierweiß */
  --papier-2: #f3ecdf;   /* abgesetzte Fläche (Tische/Slots) */
  --ink: #2a2320;        /* Text – auf Papier: 14.6:1 */
  --dunkel: #211a16;     /* dunkles Band – Weiß drauf: 17.2:1 */
  --dunkel-2: #2b211b;   /* dunkle Fläche, eine Stufe heller */
  --muted: #6b6257;      /* Sekundärtext auf Papier: 5.65:1 */
  --sand: #c9a17a;       /* Sekundärtext auf Dunkel: 7.2:1 */
  --oliv: #596239;       /* Mikro-Akzent/Erfolg */
  --linie: #e5ddd0;
  --linie-dunkel: #3d3128;
  --weiss: #ffffff;

  --ff-text: "Barlow", system-ui, sans-serif;
  --ff-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --fs-base: 1.0625rem;
  --lh: 1.65;
  --container: 68rem;
  --pad: clamp(3.25rem, 9vw, 6.5rem);
  --radius: 6px;
  --header-h: 4.25rem;

  --ease: cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */
  --shadow: 0 10px 30px rgba(33, 26, 22, 0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-text);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--papier);
}

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

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0 0 0.6em;
  color: inherit;
}
h1 { font-size: clamp(2.75rem, 9vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 4vw, 1.7rem); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--rot-tief); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

strong { font-weight: 600; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
  border-radius: 2px;
}
.dunkler-bereich :focus-visible,
.cta-band :focus-visible { outline-color: var(--gold); }

/* Skip-Link */
.skip {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  background: var(--dunkel);
  color: var(--weiss);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 0; }

/* ---------- Layout-Helfer ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.sektion { padding-block: var(--pad); }

.dunkler-bereich {
  background: var(--dunkel);
  color: var(--weiss);
}
.dunkler-bereich a { color: var(--gold-hell); }
.dunkler-bereich a:hover { color: var(--gold); }
.dunkler-bereich p { color: #efe7da; }

.rotbereich { background: var(--rot); color: var(--weiss); }
.rotbereich a { color: var(--gold-hell); }

.sektionskopf { margin-bottom: clamp(1.75rem, 5vw, 3rem); }
.sektionskopf p { max-width: 62ch; }

.leit-text {
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  line-height: 1.55;
  max-width: 60ch;
}

/* Große Jahreszahl als Deko-Motiv */
.ziffern-wand {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 0.82;
  font-size: clamp(7rem, 26vw, 15rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--linie-dunkel);
  user-select: none;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease),
              color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primar {
  background: var(--rot);
  color: var(--weiss);
}
.btn-primar:hover { background: var(--dunkel); color: var(--weiss); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-hell); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--weiss);
  border-color: var(--sand);
}
.btn-ghost:hover { border-color: var(--gold-hell); color: var(--gold-hell); }

.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-ink:hover { background: var(--ink); color: var(--papier); }

.btn-block { width: 100%; }

/* ---------- Header & Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
  transition: box-shadow 0.25s var(--ease);
}
.header.ist-gescrollt { box-shadow: 0 6px 24px rgba(33, 26, 22, 0.10); }

.header-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo { width: 2.6rem; height: auto; flex: none; }
.brand-text {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.brand-text small {
  display: block;
  font-family: var(--ff-text);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Desktop-Navigation (ab 62em) */
.hauptnav { display: none; }
.hauptnav-liste {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hauptnav-liste a,
.hauptnav-liste button,
.hauptnav-liste summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: none;
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.hauptnav-liste a:hover,
.hauptnav-liste summary:hover { color: var(--rot-tief); background: var(--papier-2); }
.hauptnav-liste a[aria-current="page"] { color: var(--rot-tief); font-weight: 600; }

/* Summary: eigenes Marker-Element (SVG-Chevron), natives Dreieck ausblenden */
.hauptnav-liste summary { list-style: none; }
.hauptnav-liste summary::-webkit-details-marker { display: none; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 13rem;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
}
.dropdown-panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--papier-2); }
.dropdown details[open] .dropdown-pfeil { transform: rotate(180deg); }
.dropdown-pfeil {
  width: 0.72em;
  height: 0.72em;
  transition: transform 0.2s var(--ease);
}

.header-cta { display: none; }

/* Burger-Button */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 3rem;
  height: 3rem;
  padding: 0.55rem;
  background: none;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  cursor: pointer;
}
.burger-box { position: relative; display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.15s; }
.burger-box::before,
.burger-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.burger-box::before { top: -7px; }
.burger-box::after { top: 7px; }
.burger[aria-expanded="true"] .burger-box { background: transparent; }
.burger[aria-expanded="true"] .burger-box::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-box::after { top: 0; transform: rotate(-45deg); }

/* Mobiles Panel */
.mobilenav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--dunkel);
  color: var(--weiss);
  padding: calc(var(--header-h) + 1rem) 1.25rem 1.5rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.mobilenav.ist-offen {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.mobilenav-gruppe { border-bottom: 1px solid var(--linie-dunkel); }
.mobilenav-gruppe > a,
.mobilenav-gruppe > .mobilenav-label {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--weiss);
  text-decoration: none;
  padding: 0.85rem 0.25rem;
  line-height: 1.1;
}
.mobilenav-label { color: var(--gold); font-size: 1.1rem; padding-block: 1.1rem 0.35rem; font-family: var(--ff-text); font-weight: 500; letter-spacing: 0.12em; }
.mobilenav-gruppe ul { list-style: none; margin: 0; padding: 0 0 0.9rem; }
.mobilenav-gruppe ul a {
  display: block;
  color: #efe7da;
  text-decoration: none;
  font-size: 1.15rem;
  padding: 0.5rem 0.25rem;
}
.mobilenav-gruppe ul a:hover, .mobilenav-gruppe > a:hover { color: var(--gold-hell); }
.mobilenav-gruppe > a[aria-current="page"] { color: var(--gold-hell); }
.mobilenav-fuss { padding-top: 1.25rem; display: grid; gap: 0.75rem; }

@media (min-width: 62em) {
  .burger, .mobilenav { display: none; }
  .hauptnav { display: block; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--dunkel);
  color: var(--weiss);
  overflow: hidden;
}
.hero-bild {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.hero-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33, 26, 22, 0.92) 0%, rgba(33, 26, 22, 0.45) 60%, rgba(33, 26, 22, 0.35) 100%);
}
.hero-innen {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(84svh, 46rem);
  padding-block: clamp(4rem, 12vw, 7rem) clamp(3.5rem, 9vw, 6rem);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero-kicker::before {
  content: "";
  width: 2.6rem;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.hero-claim {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  line-height: 1.25;
  color: var(--gold-hell);
  max-width: 34ch;
  text-wrap: balance;
}
.hero h1 { max-width: 15ch; }
.hero-text { max-width: 52ch; color: #efe7da; font-size: 1.12rem; }
.hero-aktions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Erscheinungs-Animation (nur ohne prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-schild { animation: hero-rein 0.6s var(--ease) both 0.1s; }
  @keyframes hero-rein {
    from { opacity: 0; transform: translateY(1.2rem); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Bild-Teaser (Sport/Saal/Tanz) ---------- */
.teaser {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}
.teaser:last-child { margin-bottom: 0; }
.teaser-bild {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.teaser-bild img { width: 100%; }
.teaser-bild .btn-bildhinweis { position: absolute; inset: 0; }
.teaser-inhalt .btn { margin-top: 0.5rem; }

@media (min-width: 48em) {
  .teaser { grid-template-columns: 1.15fr 1fr; }
  .teaser.umdrehen .teaser-bild { order: 2; }
  .teaser.umdrehen .teaser-inhalt { order: 1; }
}

/* Bildraster (Start-Vorschau) */
.bildraster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.bildraster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.bildraster img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* ---------- Verbands-/Mitgliedschafts-Streifen ---------- */
.verband-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(2rem, 6vw, 3.25rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--linie);
}
.verband-strip img {
  width: clamp(150px, 32vw, 200px);
  height: auto;
  flex: none;
}
.verband-strip p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Zahlen-/Fakten-Streifen ---------- */
.fakten {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  padding: 0;
  margin: 0;
}
.fakten li { list-style: none; }
.fakten-wert {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--gold-hell);
}
.fakten-label { color: var(--sand); font-size: 0.98rem; }
@media (min-width: 40em) {
  .fakten { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Facts-Grid (Saal-Technik) ---------- */
.tech-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--linie);
}
.tech-zeile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem 1.5rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--linie);
}
@media (min-width: 40em) {
  .tech-zeile { grid-template-columns: minmax(10rem, 15rem) 1fr; padding-block: 0.7rem; }
}
.tech-label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--rot-tief);
}
.tech-wert { color: var(--muted); }
.tech-wert strong { color: var(--ink); }

/* Maße-Tabelle */
.masse-tabelle { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.masse-tabelle th, .masse-tabelle td {
  text-align: left;
  padding: 0.45rem 0.75rem 0.45rem 0;
  border-bottom: 1px solid var(--linie);
  font-weight: 400;
}
.masse-tabelle th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.masse-tabelle td { font-variant-numeric: tabular-nums; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  background: var(--dunkel);
  color: var(--weiss);
  overflow: hidden;
}
.cta-band .ziffern-wand {
  position: absolute;
  right: -0.06em;
  bottom: -0.12em;
  font-size: clamp(8rem, 30vw, 18rem);
  opacity: 0.55;
}
.cta-band-inhalt {
  position: relative;
  padding-block: clamp(3.5rem, 10vw, 7rem);
  max-width: 46rem;
}
.cta-band h2 { color: var(--gold-hell); }
.cta-band p { color: #efe7da; font-size: 1.1rem; max-width: 56ch; }
.cta-band-aktions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }

/* ---------- Formulare ---------- */
.formular {
  display: grid;
  gap: 1.15rem;
}
.feld { display: grid; gap: 0.3rem; }
.feld-label { font-weight: 600; }
.feld-hinweis { color: var(--muted); font-size: 0.9rem; }
.pflicht-mark { color: var(--rot-tief); }

.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld input[type="date"],
.feld input[type="number"],
.feld select,
.feld textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--weiss);
  border: 2px solid var(--linie);
  border-radius: var(--radius);
  transition: border-color 0.15s var(--ease);
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: #cfc4b2; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.feld.hat-fehler input,
.feld.hat-fehler select,
.feld.hat-fehler textarea { border-color: var(--rot-tief); }

.fehler-text {
  display: none;
  color: var(--rot-tief);
  font-size: 0.92rem;
  font-weight: 500;
}
.feld.hat-fehler .fehler-text { display: block; }

.formular-hinweis { font-size: 0.92rem; color: var(--muted); }
.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Checkbox */
.checkbox-feld {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.6rem;
  align-items: start;
}
.checkbox-feld input {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.15rem;
  accent-color: var(--rot);
}

/* Status-Panel */
.status-panel {
  display: none;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  border: 2px solid transparent;
}
.status-panel.ist-sichtbar { display: block; }
.status-panel.ist-erfolg { background: #eef0e2; border-color: var(--oliv); }
.status-panel.ist-fehler { background: #f8e6e4; border-color: var(--rot-tief); }
.status-panel h3 { margin-bottom: 0.25rem; font-size: 1.3rem; }
.status-panel.ist-erfolg h3 { color: var(--oliv); }
.status-panel.ist-fehler h3 { color: var(--rot-tief); }

@media (min-width: 40em) {
  .formular-zweispaltig { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.15rem; }
}

/* ---------- Galerie ---------- */
.galerie-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
}
.galerie-karte {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  padding: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.galerie-karte:hover, .galerie-karte:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.galerie-karte > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.galerie-karte-inhalt { padding: 0.95rem 1.1rem 1.1rem; display: block; }
.galerie-karte-titel {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
  color: inherit;
  margin-bottom: 0.15rem;
}
.galerie-karte-text { display: block; color: var(--muted); font-size: 0.95rem; }
.galerie-karte-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--dunkel);
  color: var(--gold-hell);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 99px;
}
.galerie-karte-badge.gesperrt {
  background: var(--gold);
  color: var(--ink);
}

/* Bild-Kachel-Raster auf Detailseiten */
.kachel-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(45%, 12rem), 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kachel-raster button {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
}
.kachel-raster img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.kachel-raster button:hover img, .kachel-raster button:focus-visible img { transform: scale(1.04); opacity: 0.92; }

/* ---------- Slideshow (Vollbild-Viewer) ---------- */
.slideshow {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(21, 16, 13, 0.96);
  display: none;
  flex-direction: column;
  color: var(--weiss);
}
.slideshow.ist-offen { display: flex; }

.slideshow-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--linie-dunkel);
}
.slideshow-titel {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slideshow-zaehler {
  font-variant-numeric: tabular-nums;
  color: var(--sand);
  font-size: 0.95rem;
  flex: none;
}
.slideshow-schliessen {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
  color: var(--weiss);
  background: var(--dunkel-2);
  border: 1px solid var(--linie-dunkel);
  border-radius: var(--radius);
  cursor: pointer;
  flex: none;
}
.slideshow-schliessen:hover { border-color: var(--gold); color: var(--gold-hell); }

.slideshow-buehne {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1rem;
}
.slideshow-bild {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.slideshow-bild.ist-geladen { opacity: 1; }

/* Video in der Slideshow-Bühne */
.slideshow-video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  background: #000;
}
.slideshow-thumbs button.slideshow-thumb-video {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--dunkel-2);
  color: var(--gold);
  font-size: 1.05rem;
}
.galerie-karte-videoflaeche {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: var(--dunkel-2);
  color: var(--gold);
  font-size: 2rem;
}
.slideshow-bild.ist-geladen { opacity: 1; }

.slideshow-pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--weiss);
  background: rgba(33, 26, 22, 0.75);
  border: 1px solid var(--linie-dunkel);
  border-radius: 50%;
  cursor: pointer;
}
.slideshow-pfeil:hover { background: var(--rot); color: var(--weiss); border-color: var(--rot); }
.slideshow-pfeil[data-richtung="zurueck"] { left: 0.85rem; }
.slideshow-pfeil[data-richtung="vor"] { right: 0.85rem; }
.slideshow-pfeil:disabled { opacity: 0.35; cursor: default; }
.slideshow-pfeil:disabled:hover { background: rgba(33, 26, 22, 0.75); border-color: var(--linie-dunkel); }

.slideshow-thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem 1rem;
  overflow-x: auto;
  border-top: 1px solid var(--linie-dunkel);
  scrollbar-width: thin;
}
.slideshow-thumbs button {
  flex: none;
  width: 3.6rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.6;
}
.slideshow-thumbs button.ist-aktiv { border-color: var(--gold); opacity: 1; }
.slideshow-thumbs img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Termine ---------- */
.termine-liste { display: grid; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.termin-eintrag {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.4rem 1.1rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  align-items: start;
}
.termin-datum {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1;
  color: var(--rot);
  text-align: center;
  padding-top: 0.2rem;
}
.termin-datum .tag { font-size: 1.9rem; display: block; }
.termin-datum .monat { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-top: 0.15rem; }
.termin-titel { font-weight: 600; font-size: 1.08rem; margin: 0; }
.termin-meta { color: var(--muted); font-size: 0.95rem; margin: 0.1rem 0 0; }
.termin-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; grid-column: 2; }
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.55rem;
  border-radius: 99px;
  border: 1.5px solid var(--rot);
  color: var(--rot-tief);
}
.badge.fest { background: var(--ink); border-color: var(--ink); color: var(--papier); }
@media (min-width: 48em) {
  .termin-eintrag { grid-template-columns: 5rem 1fr; padding: 1.1rem 1.25rem; }
}

.termine-hinweis {
  padding: 1rem 1.2rem;
  background: var(--papier-2);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--muted);
}

/* Trainingszeiten */
.trainings-tabelle { width: 100%; border-collapse: collapse; }
.trainings-tabelle th, .trainings-tabelle td {
  text-align: left;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--linie);
}
.trainings-tabelle th { font-weight: 600; color: var(--muted); font-size: 0.92rem; }
.trainings-tabelle tr td:first-child { font-weight: 600; }

/* ---------- Google-Kalender (2-Klick-Einbettung) ---------- */
.kalender-huelle {
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  overflow: hidden;
}
.kalender-platzhalter {
  display: grid;
  gap: 1rem;
  place-items: center;
  width: 100%;
  min-height: 20rem;
  padding: 2.5rem 1.25rem;
  background: var(--papier-2);
  border: none;
  cursor: pointer;
  font: inherit;
  text-align: center;
}
.kalender-platzhalter:hover .btn { background: var(--dunkel); }
.kalender-hinweis {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 46ch;
}
.kalender-hinweis a { text-decoration: underline; }
.kalender-huelle iframe {
  display: block;
  width: 100%;
  height: 30rem;
  border: 0;
}
@media (min-width: 48em) {
  .kalender-huelle iframe { height: 37.5rem; }
}

/* ---------- Kontakt-Info ---------- */
.kontakt-raster {
  display: grid;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kontakt-raster dt {
  font-weight: 600;
  margin-top: 1.1rem;
}
.kontakt-raster dt:first-child { margin-top: 0; }
.kontakt-raster dd { margin: 0; color: var(--muted); }
.kontakt-raster a { color: var(--rot-tief); font-weight: 500; text-decoration: none; }
.kontakt-raster a:hover { text-decoration: underline; }

@media (min-width: 48em) {
  .zwei-spalten { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
}

/* ---------- Vorstand ---------- */
.vorstand-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vorstand-liste li {
  background: var(--weiss);
  padding: 0.95rem 1.1rem;
}
.vorstand-rolle { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rot-tief); display: block; margin-bottom: 0.15rem; }
.vorstand-name { font-weight: 500; font-size: 1.05rem; }

/* Zeitleiste (Vereinsgeschichte) */
.zeitleiste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.zeitleiste li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--linie);
}
.zeitleiste .jahr {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--rot);
  line-height: 1.1;
}
@media (min-width: 40em) {
  .zeitleiste li { grid-template-columns: 7rem 1fr; }
}

/* ---------- Download-Liste ---------- */
.download-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.download-liste a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.download-liste a:hover { border-color: var(--rot); color: var(--rot-tief); }
.download-liste .format { color: var(--muted); font-weight: 500; font-size: 0.9rem; margin-left: auto; }

/* ---------- Mitgliederbereich ---------- */
.login-karte {
  max-width: 26rem;
  margin-inline: auto;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.25rem);
  box-shadow: var(--shadow);
}
.login-karte h2 { font-size: 1.9rem; }
.login-fehler { margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dunkel);
  color: var(--sand);
  padding-block: clamp(3rem, 8vw, 4.5rem) 2rem;
}
.footer-innen {
  display: grid;
  gap: 2.25rem;
}
.footer-marke { display: flex; align-items: center; gap: 0.7rem; color: var(--weiss); }
.footer-marke img { width: 2.4rem; }
.footer-marke .brand-text small { color: var(--sand); }
.footer-anschrift p { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--sand); }
.footer-anschrift a { color: var(--gold-hell); text-decoration: none; }
.footer-anschrift a:hover { text-decoration: underline; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.footer-nav h3 {
  font-family: var(--ff-text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-nav a { color: var(--sand); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-hell); text-decoration: underline; }
.footer-unten {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie-dunkel);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}
.footer-unten p { margin: 0; }
@media (min-width: 48em) {
  .footer-innen { grid-template-columns: 1.2fr 1fr 1.4fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf {
  background: var(--dunkel);
  color: var(--weiss);
  padding-block: clamp(2.75rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.seitenkopf .ziffern-wand {
  position: absolute;
  right: 0;
  bottom: -0.18em;
  font-size: clamp(6rem, 22vw, 12rem);
  opacity: 0.8;
}
.seitenkopf-inhalt { position: relative; }
.seitenkopf h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
.seitenkopf-brotkrume { margin-bottom: 0.6rem; font-size: 0.9rem; }
.seitenkopf-brotkrume a { color: var(--sand); text-decoration: none; }
.seitenkopf-brotkrume a:hover { color: var(--gold-hell); }

/* ---------- Utilities ---------- */
.text-spalte { max-width: 68ch; }
.meldung {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  background: var(--papier-2);
  margin-bottom: 1.25rem;
}
.meldung.info { border-left: 4px solid var(--gold); }
.meldung.warnung { border-left: 4px solid var(--rot); }

.abstand-oben { margin-top: clamp(1.5rem, 5vw, 3rem); }

/* Sichtbarkeits-Reveal */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(1.1rem);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    transition-delay: var(--reveal-verz, 0s);
  }
  [data-reveal].ist-sichtbar {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- Druck ---------- */
@media print {
  .header, .mobilenav, .footer, .slideshow, .cta-band, .hero-aktions { display: none !important; }
  body { background: #fff; color: #000; }
  .dunkler-bereich, .seitenkopf, .rotbereich { background: #fff; color: #000; }
}