/* ========================================================================== */
/* 0. LOKALE SCHRIFTART: ROBOTO SLAB                                          */
/* ========================================================================== */

/*
 * Alle Schriftschnitte liegen lokal in assets/font.
 * font-display: swap sorgt dafür, dass Text auch während des Ladens sichtbar
 * bleibt. Die Zahlen entsprechen den üblichen CSS-Schriftgewichten.
 */
@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../font/RobotoSlab-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ========================================================================== */
/* 1. ZENTRALE EINSTELLUNGEN                                                  */
/* ========================================================================== */

/* Farben und maximale Inhaltsbreite lassen sich hier zentral ändern. */
:root {
  --red: #e30511;
  --red-dark: #b9040d;
  --ink: #141519;
  --paper: #f4f1eb;
  /* Dezente Fläche der großen Seitenbox auf Desktop-Bildschirmen. */
  --page-surface: #f8f5f0;
  --white: #fff;
  --muted: #696a6f;
  --line: #d8d3cb;
  --sand: #e9e1d7;
  --stone: #ddd4c8;
  --cream: #eee8df;
  --max: 1180px;
  /* Einheitliche Größe aller Hauptüberschriften, ausgehend von der Startseite. */
  --main-title-size: clamp(3rem, 7vw, 5rem);
  /* Einheitliche Abstände für Überschriften und Inhaltsbereiche. */
  --eyebrow-title-gap: 18px;
  --section-space: clamp(56px, 5vw, 72px);
}


/* ========================================================================== */
/* 2. GRUNDEINSTELLUNGEN                                                      */
/* ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, serif;
  line-height: 1.65;
}

/*
 * Große gemeinsame Seitenbox
 * --------------------------
 * Auf kleinen Bildschirmen bleibt dieses Element bewusst neutral. Dadurch
 * stehen Smartphone und Tablet weiterhin die komplette Breite zur Verfügung.
 */
.site-shell {
  min-width: 0;
}

/* Die sichtbare Box wird ausschließlich im Desktop-Layout eingeschaltet. */
@media (min-width: 1181px) {
  body {
    padding: 24px;
    background: #eae5da;
  }

  .site-shell {
    /* 1180 px Inhalt plus ein dezenter Rahmenraum links und rechts. */
    width: min(100%, 1240px);
    min-height: calc(100vh - 48px);
    margin-inline: auto;
    overflow: hidden;
    background: var(--page-surface);
    border-radius: 10px;
    box-shadow: 0 12px 38px rgba(20, 21, 25, 0.045);
  }
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: var(--main-title-size);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

/* Allgemeine Inhaltssektion: Breite und vertikaler Abstand. */
.section {
  max-width: var(--max);
  margin: auto;
  padding: var(--section-space) 28px;
}


/* ========================================================================== */
/* 3. BARRIEREFREIHEIT                                                        */
/* ========================================================================== */

/* Blendet Text visuell aus, lässt ihn aber für Screenreader verfügbar. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: visible;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 99;
  padding: 0.75rem 1rem;
  background: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.menu:focus-visible,
a:focus-visible {
  outline: 3px solid #1674d1;
  outline-offset: 4px;
}


/* ========================================================================== */
/* 4. HEADER, LOGO UND HAUPTNAVIGATION                                        */
/* ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 132px;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
}

/* Gemeinsamer Stil für Logo und Fanclubname im Header und Footer. */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Die beiden Namenszeilen lassen sich unabhängig voneinander justieren. */
.brand-name--header {
  display: flex;
  flex-direction: column;
}

.brand-name__club {
  font-weight: 500;
}

.brand-name__place {
  font-weight: 800;
}

.brand-name--header .brand-name__club {
  font-size: 1em;
}

.brand-name--header .brand-name__place {
  font-size: 1em;
}

.brand-name--footer {
  display: inline;
  white-space: nowrap;
}

/* Größe des Logos im Header. */
.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

/* Reserve-Stil für ein einfaches rundes Buchstabenlogo. */
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.site-header nav,
footer nav {
  display: flex;
  gap: 22px;
}

/* Die graue Grundlinie liegt ausschließlich unter dem Hauptmenü. */
.site-header nav {
  align-self: center;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.site-header nav a,
footer a {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: auto;
  padding: 11px 0 8px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

/*
 * Die SVG-Dateien werden als Masken eingesetzt. Dadurch übernehmen sie immer
 * exakt die aktuelle Textfarbe – auch bei Mouseover und aktivem Menüpunkt.
 */
.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.nav-icon--start {
  --nav-icon: url("../svg/start.svg");
}

.nav-icon--fanclub {
  --nav-icon: url("../svg/fanclub.svg");
}

.nav-icon--verein {
  --nav-icon: url("../svg/verein.svg");
}

.nav-icon--mitgliedschaft {
  --nav-icon: url("../svg/mitgliedschaft.svg");
}

.nav-icon--bilder {
  --nav-icon: url("../svg/bilder.svg");
}

.nav-icon--kontakt {
  --nav-icon: url("../svg/kontakt.svg");
}

.nav-icon--termine {
  --nav-icon: url("../svg/termine.svg");
}

.nav-icon--bus {
  --nav-icon: url("../svg/bus.svg");
}

.site-header nav a:hover,
.site-header nav a.active-trail,
.site-header nav a[aria-current="page"] {
  border-color: var(--red);
  color: var(--red);
}

/* -------------------------------------------------------------------------- */
/* Optionales Untermenü                                                       */
/* -------------------------------------------------------------------------- */

/*
 * Diese Klassen sind vorbereitet und beeinflussen das aktuelle Menü nicht.
 * Ein späterer Menüpunkt kann mit .has-submenu und einer .submenu-Liste
 * erweitert werden. Mouseover, Tastaturfokus und Klick werden unterstützt.
 */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  align-self: center;
}

.nav-item > a {
  flex: 1 1 auto;
}

.submenu-toggle {
  align-self: center;
  padding: 8px 3px 8px 7px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.submenu {
  position: absolute;
  /* Ohne Zwischenraum bleibt das Menü beim Weg mit der Maus geöffnet. */
  top: 100%;
  right: auto;
  left: 0;
  z-index: 10;
  display: none;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 35px rgba(20, 21, 25, 0.12);
}

.submenu a {
  width: 100%;
  height: auto;
  padding: 11px 12px;
  border: 0;
  border-radius: 6px;
  margin: 0;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(227, 5, 17, 0.08);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.open > .submenu {
  display: block;
}

/* Mobiler Menüknopf; wird erst in der Mobilansicht eingeblendet. */
.menu {
  display: none;
  padding: 10px;
  border: 0;
  background: none;
}

.menu > span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}


/* ========================================================================== */
/* 5. STARTSEITE: EINSTIEGSBEREICH                                            */
/* ========================================================================== */

.hero {
  min-height: 690px;
  max-width: var(--max);
  margin: auto;
  padding: 70px 28px 60px;
}

/* Zweispaltiger Bild-/Überschriftsbereich wie im Referenz-Screenshot. */
.hero-main {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 40px;
  margin-top: 0;
}

.hero h1 {
  margin: 0;
  font-size: var(--main-title-size);
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.lead {
  max-width: 680px;
  color: #4f5054;
  font-size: 1.2rem;
}

/* Der Hero-Text nutzt unter Bild und Überschrift die gesamte Breite. */
.hero-lead {
  max-width: none;
  margin-top: 42px;
}

.eyebrow {
  margin-bottom: 0;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Fester Abstand zwischen roter Kategoriezeile und nachfolgender Überschrift. */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 {
  margin-top: var(--eyebrow-title-gap);
}

.light {
  color: var(--white);
  opacity: 0.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: transparent;
  color: var(--red);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.button:hover,
.button:active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.text-link {
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  margin-left: 7px;
  color: var(--red);
}

/* Teufelskopf links neben der Hauptüberschrift. */
.hero-ball {
  margin: 0;
  text-align: left;
}

.hero-ball img {
  display: block;
  width: auto;
  height: clamp(330px, 32vw, 430px);
  max-width: 100%;
  margin: 0;
  object-fit: contain;
}

/* Nicht mehr genutzte Alternative zur Fußballgrafik; ebenfalls ohne Schwarz. */
.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: 32px;
  overflow: hidden;
  background: var(--stone);
  color: var(--ink);
}

.hero-art::before {
  position: absolute;
  top: 80px;
  right: -120px;
  width: 280px;
  height: 280px;
  border: 55px solid var(--red);
  border-radius: 50%;
  content: "";
}

.hero-art .year {
  position: relative;
  font-size: 3rem;
  font-weight: 900;
}

.hero-art .year span {
  color: var(--red);
}

.hero-art p {
  position: relative;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


/* ========================================================================== */
/* 6. STARTSEITE: INHALTSBEREICHE                                             */
/* ========================================================================== */

.memory {
  max-width: var(--max);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #e7e1d9;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(20, 21, 25, 0.06);
}

/* Zitatkarte auf der Startseite. Der Inhalt wird aus data/zitate.json geladen. */
.memory--quote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(42px, 5.5vw, 70px) clamp(24px, 5vw, 60px);
  border: 1px solid var(--line);
  box-shadow: none;
  text-align: center;
}

.quote-section {
  margin-bottom: clamp(110px, 12vw, 170px);
  padding-top: 0;
  padding-bottom: 0;
}

.memory--quote > * {
  position: relative;
}

.memory--quote blockquote {
  width: 100%;
  max-width: 1080px;
  margin: 20px auto 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 4.35vw, 4.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-align: center;
}

.quote-part--black {
  color: var(--ink);
}

.quote-part--red {
  color: var(--red);
}

.quote-author {
  width: 100%;
  margin: 24px auto 0;
  color: var(--red);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Rote Akzente statt einer vollflächig knallroten Karte. */
.memory .eyebrow.light {
  color: var(--red);
  opacity: 1;
}

.memory > div {
  max-width: 1124px;
  margin: auto;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--line);
}

.memory article {
  padding: 35px 35px 10px 0;
}

.memory article + article {
  padding-left: 35px;
  border-left: 1px solid var(--line);
}

.memory b {
  color: var(--red);
  opacity: 1;
}

.memory h3 {
  margin: 8px 0 12px;
  font-size: 1.55rem;
}

/* -------------------------------------------------------------------------- */
/* Zusätzliche Informationsbereiche der Startseite                            */
/* -------------------------------------------------------------------------- */

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.travel-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.travel-prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mini-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mini-price > span {
  font-weight: 700;
}

.mini-price strong {
  margin: 12px 0;
  color: var(--red);
  /* Etwas kompakter, damit Preis und ausgeschriebenes EUR einzeilig bleiben. */
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1;
  white-space: nowrap;
}

.mini-price small {
  color: var(--muted);
}

.paypal-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--stone);
  color: var(--ink);
}

.paypal-card img {
  display: block;
  width: 100%;
  height: 74px;
  object-fit: contain;
}

.paypal-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.paypal-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* -------------------------------------------------------------------------- */
/* Fahrteninfo: Fahrplanauswahl, Ablauf, Hinweise und direkte Kontaktwege     */
/* -------------------------------------------------------------------------- */

.trip-schedules {
  /* Die Abstände gliedern die Seite bereits ausreichend – ohne Trennlinie. */
}

.trip-schedules-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
}

.trip-schedules-heading h2 {
  margin-bottom: 0;
}

.trip-schedules-heading > p:last-child {
  margin-bottom: 0;
}

.trip-schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trip-schedule-card {
  display: flex;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  flex-direction: column;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trip-schedule-card:nth-child(2) { background: var(--sand); }
.trip-schedule-card:nth-child(3) { background: var(--stone); }

.trip-schedule-card:hover,
.trip-schedule-card:focus-visible {
  border-color: var(--red);
  box-shadow: 0 15px 32px #241b1214;
  transform: translateY(-4px);
}

.trip-schedule-card > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trip-schedule-card strong {
  margin: auto 0 20px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1;
  white-space: nowrap;
}

.trip-schedule-card small {
  font-weight: 800;
}

.trip-schedule-card small span {
  color: var(--red);
}

.trip-schedule-actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.trip-process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.trip-process li {
  min-height: 280px;
  padding: 32px;
  background: var(--cream);
}

.trip-process li:nth-child(2) { background: var(--sand); }
.trip-process li:nth-child(3) { background: var(--stone); }

.trip-process li > span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.trip-process h3 {
  margin: 58px 0 14px;
  font-size: 1.4rem;
}

.trip-process p {
  margin-bottom: 0;
  color: var(--muted);
}

.trip-information,
.trip-contact {
  display: flex;
  gap: 26px;
  min-width: 0;
  padding: 46px;
  border-radius: 8px;
  flex-direction: column;
}

.trip-information {
  background: var(--cream);
}

.trip-information ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trip-information li {
  position: relative;
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--line);
}

.trip-information li:last-child {
  border-bottom: 0;
}

.trip-information li::before {
  position: absolute;
  top: 27px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.trip-contact {
  background: var(--sand);
}

.trip-contact h2 {
  margin-bottom: 20px;
}

.trip-contact > div:first-child > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.trip-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
}

/* Gemeinsamer Rahmen für die beiden kompakten Abschlussboxen. */
.trip-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.trip-bottom-grid h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.benefit-grid article {
  padding: 38px;
  background: var(--paper);
}

/* Dezente Wechsel sorgen für mehr Struktur ohne harte Kontraste. */
.benefit-grid--four article:nth-child(1),
.benefit-grid--four article:nth-child(4) {
  background: var(--cream);
}

.benefit-grid--four article:nth-child(2) {
  background: var(--sand);
}

.benefit-grid--four article:nth-child(3) {
  background: var(--stone);
}

.benefit-grid span,
.calendar-tag {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefit-grid h3 {
  margin: 38px 0 12px;
  font-size: 1.55rem;
}

.benefit-grid--four {
  grid-template-columns: repeat(2, 1fr);
}

.membership-benefits-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.membership-benefits-intro > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.membership-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 28px;
  padding: 34px 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--stone);
  color: var(--ink);
}

.membership-cta h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.membership-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.membership-cta .button {
  flex: 0 0 auto;
  border-color: var(--red);
  color: var(--red);
}

.membership-cta .button:hover,
.membership-cta .button:active {
  background: var(--red);
  color: var(--white);
}

/* Kurzer Hinweis direkt unter den beiden Beitragskarten. */
.membership-contact-note {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: var(--cream);
  color: var(--muted);
}

.membership-contact-note strong {
  color: var(--ink);
}

/* Drei leicht verständliche Schritte vom Erstkontakt bis zum Beitritt. */
.membership-process {
  margin-top: 90px;
}

.membership-process-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.membership-process ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.membership-process li {
  min-height: 250px;
  padding: 34px;
  background: var(--cream);
}

.membership-process li:nth-child(2) {
  background: var(--sand);
}

.membership-process li:nth-child(3) {
  background: var(--stone);
}

.membership-process li > span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.membership-process h3 {
  margin: 48px 0 12px;
  font-size: 1.45rem;
}

.membership-process p {
  margin-bottom: 0;
}

.membership-contact-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.calendar-entry {
  display: grid;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.calendar-entry time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
}

.calendar-entry time span {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
}

.calendar-entry > div {
  padding: 32px 38px;
}

.calendar-list {
  display: grid;
  gap: 20px;
}

.empty-state {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.calendar-entry h3 {
  margin: 9px 0 10px;
  font-size: 1.7rem;
}

.outline {
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
}

.outline:hover,
.outline:active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}


/* ========================================================================== */
/* 7. UNTERSEITEN: KOPFBEREICH UND FANCLUB-CHRONIK                            */
/* ========================================================================== */

.page-hero {
  max-width: var(--max);
  margin: auto;
  padding: 100px 28px 80px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1050px;
  margin: var(--eyebrow-title-gap) 0 0.2em;
  font-size: var(--main-title-size);
}

.page-hero > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.2rem;
}

/* Zweifarbige Seitenüberschriften, passend zur Überschrift der Startseite. */
.page-hero h1 em {
  color: var(--red);
  font-style: normal;
}

.fanclub-hero > p:last-child {
  max-width: 880px;
}

/* Die wichtigsten bestätigten Eckdaten des Fanclubs. */
.fanclub-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fanclub-facts article {
  display: flex;
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  flex-direction: column;
  justify-content: flex-end;
}

.fanclub-facts article:nth-child(2) { background: var(--sand); }
.fanclub-facts article:nth-child(3) { background: var(--stone); }

.fanclub-facts strong {
  color: var(--red);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.fanclub-facts span {
  max-width: 270px;
  margin-top: 12px;
  font-weight: 700;
}

.fanclub-story-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 56px;
  margin-bottom: 72px;
}

.fanclub-story-heading .eyebrow { grid-row: 1 / 3; }
.fanclub-story-heading h2 { margin-bottom: 20px; }

.fanclub-story-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Rote Zeitachse mit abwechselnden beigefarbenen Inhaltskarten. */
.fanclub-timeline {
  position: relative;
  display: grid;
  gap: 30px;
}

.fanclub-timeline::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 34px;
  width: 2px;
  background: var(--red);
  content: "";
}

.fanclub-milestone {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.fanclub-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  place-items: center;
}

.fanclub-marker span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fanclub-card {
  max-width: 870px;
  padding: 42px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.fanclub-milestone:nth-child(even) .fanclub-card {
  margin-left: auto;
  background: var(--sand);
}

.fanclub-milestone--today .fanclub-card { background: var(--stone); }

.fanclub-label {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.fanclub-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.fanclub-card p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

/* Besucherorientierter Abschluss anstelle interner Bearbeitungshinweise. */
.fanclub-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 100px;
  border-radius: 8px;
  background: var(--sand);
}

.fanclub-cta h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.fanclub-cta > div:first-child > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.fanclub-cta .actions {
  justify-content: flex-end;
  margin-top: 0;
}

.timeline article {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 55px 0;
  border-top: 1px solid var(--line);
}

.timeline article > span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline article > div {
  max-width: 720px;
}

.timeline h2 {
  font-size: 2rem;
}

.note,
.privacy-hint {
  background: #e7e1d9;
}

.note {
  margin-bottom: 100px;
}

.note p:last-child {
  max-width: 750px;
}


/* ========================================================================== */
/* 8. GALERIE                                                                 */
/* ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.gallery .wide {
  grid-column: span 2;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 560px;
  object-fit: cover;
}

.gallery .wide img {
  min-height: 430px;
}

.gallery figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Optionale Platzhalter für noch nicht vorhandene Galeriebilder. */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 28px;
  background: #d7d0c7;
}

.wide .photo-placeholder {
  min-height: 430px;
}

.photo-placeholder span {
  font-size: 0.75rem;
  font-weight: 800;
}

.photo-placeholder b {
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}

.photo-placeholder.dark {
  background: var(--stone);
  color: var(--ink);
}

.photo-placeholder.red {
  background: var(--red);
  color: var(--white);
}

.photo-placeholder.lines {
  background: repeating-linear-gradient(
    135deg,
    #e7e1d9,
    #e7e1d9 18px,
    #dcd5cc 18px,
    #dcd5cc 20px
  );
}

.privacy-hint {
  max-width: 1124px;
  margin: 0 auto 100px;
  padding: 30px;
}

.privacy-hint p {
  margin: 5px 0;
}


/* ========================================================================== */
/* 9. KONTAKT, VEREINSSEITE UND MITGLIEDSBEITRÄGE                             */
/* ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
}

.contact-layout > div > p {
  max-width: 650px;
  font-size: 1.15rem;
}

.signature {
  margin-top: 50px;
}

.contact-card {
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
  color: var(--ink);
}

/* Die schwarzen SVG-Symbole bleiben auf der hellen Kontaktkarte gut sichtbar. */
.contact-card .inline-icon {
  filter: none;
}

/* Kontaktformular ohne Serververarbeitung. */
.contact-form-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.form-intro {
  max-width: 430px;
}

.contact-form {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-form label:not(.consent):not(.honeypot) {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #aaa8a3;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  margin-top: 22px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(227, 5, 17, 0.18);
  border-color: var(--red);
}

.contact-form :user-invalid {
  border-color: var(--red);
}

.optional,
.form-note,
.character-count {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.character-count {
  margin-top: 5px;
  text-align: right;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 4px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.form-actions .button {
  cursor: pointer;
  font-family: inherit;
}

.form-status {
  min-height: 1.7em;
  margin: 16px 0 0;
  font-weight: 700;
}

/* Icons vor E-Mail-, Telefon-, Orts- und WhatsApp-Angaben. */
.inline-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

.info-line,
.contact-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 6px 0;
}

.contact-label {
  margin-bottom: 2px;
}

.placeholder {
  color: #ffb1be;
}

.club-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 70px;
}

.club-logo {
  display: block;
  width: min(100%, 320px);
  margin: auto;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
}

.price-card--stone {
  background: var(--stone);
}

.price-card h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  white-space: nowrap;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 28px 0 10px;
  color: var(--red);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-info {
  margin-top: auto;
}

/* -------------------------------------------------------------------------- */
/* Betzefahrt: vier zentral aus JSON gepflegte Fahrpläne                      */
/* -------------------------------------------------------------------------- */

.busplan-summary,
.bus-route {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.busplan-summary {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px 28px;
  padding: 28px 32px;
  margin-bottom: 28px;
}

.busplan-summary > span {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.busplan-summary > strong {
  font-size: 1.6rem;
}

.busplan-summary p {
  margin: 0;
  color: var(--muted);
}

.bus-route {
  overflow: hidden;
  margin-top: 28px;
}

.bus-route h2 {
  margin: 0;
  padding: 26px 30px;
  background: var(--stone);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.bus-stops {
  display: grid;
}

.bus-stop {
  display: grid;
  grid-template-columns: 130px minmax(250px, 1fr) minmax(280px, 1.4fr);
  gap: 24px;
  align-items: center;
  padding: 17px 30px;
  border-top: 1px solid var(--line);
}

.bus-stop:nth-child(odd):not(.bus-stop--head) {
  background: rgba(255, 255, 255, 0.28);
}

.bus-stop strong {
  color: var(--red);
  white-space: nowrap;
}

.bus-stop--head {
  border-top: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.busplan-note {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 5px solid var(--red);
  background: var(--sand);
}

/* ========================================================================== */
/* GEMEINSAME FAHRPLANSEITE                                                   */
/* ========================================================================== */

[hidden] { display: none !important; }

.schedule-hero h1 em { color: var(--red); font-style: normal; }
[data-schedule-page] .schedule-plan-tabs {
  display: flex;
  margin-top: 16px;
}
[data-schedule-page] .schedule-plan-tabs button {
  min-height: 44px;
  padding: 10px 14px;
}
[data-schedule-page] .schedule-plan-tabs strong { font-size: 1rem; }
.schedule-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.schedule-download h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.schedule-table-section { margin-top: 24px; }
.schedule-table-section h3 { margin-bottom: 8px; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.schedule-table th,
.schedule-table td {
  padding: 8px clamp(8px, 2vw, 16px);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.schedule-table thead { background: var(--sand); }
.schedule-table td:first-child {
  width: 1%;
  white-space: nowrap;
  color: var(--red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.schedule-table td:last-child { overflow-wrap: anywhere; }
.schedule-table small { display: block; color: var(--muted); }
.schedule-browser { padding-bottom: calc(var(--section-space) + 20px); }
.schedule-category-tabs,
.schedule-plan-tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.schedule-category-tabs { margin: 34px 0; }
.schedule-category-tabs button,
.schedule-plan-tabs button {
  border: 1px solid var(--line); border-radius: 8px; background: transparent;
  color: var(--ink); font: inherit; cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.schedule-category-tabs button { padding: 12px 20px; font-weight: 700; }
.schedule-category-tabs button:hover,
.schedule-category-tabs button:focus-visible,
.schedule-category-tabs button[aria-selected="true"] { border-color: var(--red); background: var(--red); color: var(--white); }
.schedule-category-tabs button:focus-visible,
.schedule-plan-tabs button:focus-visible { outline: 3px solid #1674d1; outline-offset: 4px; }

.schedule-plan-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; }
.schedule-plan-tabs button { min-height: 128px; padding: 22px; text-align: left; background: var(--cream); }
.schedule-plan-tabs button:nth-child(2n) { background: var(--sand); }
.schedule-plan-tabs button span {
  display: block; margin-bottom: 26px; color: var(--red); font-size: 0.72rem;
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.schedule-plan-tabs button strong { display: block; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.05; }
.schedule-plan-tabs button:hover,
.schedule-plan-tabs button:focus-visible { border-color: var(--red); transform: translateY(-2px); }
.schedule-plan-tabs button[aria-selected="true"] {
  border-color: var(--red); background: var(--stone); box-shadow: inset 0 -4px 0 var(--red);
}
.schedule-plan { margin-top: 28px; }
.schedule-plan__intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr);
  gap: 42px; padding: 38px; border-radius: 8px; background: var(--cream);
}
.schedule-plan__intro h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.schedule-plan__intro > div > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-weight: 600; }
.schedule-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); margin: 0;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper);
}
.schedule-facts div { padding: 18px; }
.schedule-facts div:nth-child(even) { border-left: 1px solid var(--line); }
.schedule-facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.schedule-facts dt { color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.schedule-facts dd { margin: 5px 0 0; color: var(--red); font-size: 1.3rem; font-weight: 800; }

.schedule-route {
  display: grid; grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 44px; margin-top: 28px; padding: 42px 38px; border-radius: 8px; background: var(--sand);
}
.schedule-route:nth-of-type(even) { background: var(--cream); }
.schedule-route__heading h3 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.schedule-timeline { margin: 0; padding: 0; list-style: none; }
.schedule-stop {
  --schedule-time-column: 92px;
  --schedule-marker-column: 22px;
  --schedule-column-gap: 16px;
  position: relative; display: grid;
  grid-template-columns: var(--schedule-time-column) var(--schedule-marker-column) minmax(0, 1fr);
  column-gap: var(--schedule-column-gap); min-height: 82px; padding-bottom: 16px;
}
.schedule-stop:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; bottom: -2px;
  left: calc(var(--schedule-time-column) + var(--schedule-column-gap) + (var(--schedule-marker-column) / 2) - 1px);
  width: 2px; background: #c9bfb3;
}
.schedule-stop time { padding-top: 1px; color: var(--red); font-weight: 800; white-space: nowrap; }
.schedule-stop__marker {
  position: relative; z-index: 1; box-sizing: border-box; justify-self: center;
  width: 14px; height: 14px; margin-top: 5px;
  border: 3px solid var(--sand); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--red);
}
.schedule-route:nth-of-type(even) .schedule-stop__marker { border-color: var(--cream); }
.schedule-stop--start .schedule-stop__marker,
.schedule-stop--destination .schedule-stop__marker {
  width: 18px; height: 18px; margin: 3px 0 0; background: var(--ink); box-shadow: 0 0 0 2px var(--ink);
}
.schedule-stop--pause .schedule-stop__marker { background: var(--white); }
.schedule-stop__card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  margin-top: -7px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 21, 25, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
}
.schedule-stop:nth-child(even) .schedule-stop__card { background: rgba(255, 255, 255, 0.62); }
.schedule-stop__number {
  display: flex; align-items: center; justify-content: center; align-self: start;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: var(--white); font-size: 0.72rem; font-weight: 800;
}
.schedule-stop--start .schedule-stop__card,
.schedule-stop--destination .schedule-stop__card { border-color: rgba(227, 5, 17, 0.28); }
.schedule-stop--start .schedule-stop__number,
.schedule-stop--destination .schedule-stop__number { background: var(--ink); }
.schedule-stop h4 { margin: 0 0 5px; font-size: 1.05rem; line-height: 1.3; }
.schedule-stop p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.schedule-notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; margin-top: 28px;
  padding: 24px 28px; border-left: 4px solid var(--red); border-radius: 0 8px 8px 0; background: var(--cream);
}
.schedule-notice strong { color: var(--red); }
.schedule-notice p { margin: 0; }
.schedule-contact {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  width: 100%; margin: 0; padding: clamp(32px, 4vw, 52px);
  border-radius: 8px; background: var(--stone);
}
.schedule-contact-section {
  margin-bottom: var(--section-space);
  padding-top: 0;
  padding-bottom: 0;
}
.schedule-contact h2 { margin-bottom: 14px; }
.schedule-contact p:last-child { max-width: 680px; margin-bottom: 0; color: var(--muted); font-weight: 600; }
.schedule-contact .actions { justify-content: flex-end; }


/* ========================================================================== */
/* 10. IMPRESSUM UND DATENSCHUTZ                                              */
/* ========================================================================== */

.legal {
  max-width: 820px;
  margin: auto;
  padding: 100px 28px;
}

.legal h1 {
  font-size: var(--main-title-size);
}

.legal h2 {
  margin-top: 45px;
  font-size: 1.5rem;
}

.legal-warning {
  margin: 45px 0;
  padding: 22px 25px;
  border-left: 5px solid var(--red);
  background: var(--white);
}

.legal-warning p {
  margin: 6px 0;
}

.legal-note {
  margin-top: 55px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/* Satzung: normaler Website-Header, danach Inhaltsverzeichnis und Wortlaut   */
/* -------------------------------------------------------------------------- */

.statutes {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.statutes-toc,
.statutes-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.statutes-toc {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.statutes-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
}

.statutes-toc ol {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
}

.statutes-toc li + li {
  margin-top: 5px;
}

.statutes-toc a {
  color: var(--muted);
  text-decoration: none;
}

.statutes-toc a:hover,
.statutes-toc a:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

.statutes-content {
  padding: 10px 34px 34px;
}

.satzung-sektion {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.satzung-sektion-kopf {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 18px;
}

.satzung-paragraph-nummer {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 800;
}

.satzung-sektion h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.satzung-sektion li + li {
  margin-top: 12px;
}

.satzung-hinweis {
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.86rem;
}


/* ========================================================================== */
/* 11. FOOTER                                                                 */
/* ========================================================================== */

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: auto;
  padding: 42px 28px;
  gap: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

.footer-legal {
  justify-self: center;
}

/* Trennstrich zwischen Impressum und Datenschutz. */
.footer-legal a + a {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

footer small {
  justify-self: end;
}

.brand.small {
  color: var(--ink);
  font-weight: 400;
}

/* Logo im Footer bewusst kleiner als im Header. */
.brand.small .brand-logo {
  width: 36px;
  height: 36px;
}

/* Zweite Footer-Zeile gemäß SVG-Zuordnung. */
.footer-credit {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  line-height: 1;
}

.footer-heart {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ========================================================================== */
/* 12. RESPONSIVE ANPASSUNGEN BIS 1180 PIXEL                                  */
/* ========================================================================== */

@media (max-width: 1180px) {
  /* Kompakter Header und mobiles Aufklappmenü. */
  .site-header {
    height: 100px;
  }

  .site-header .brand-logo {
    width: 64px;
    height: 64px;
  }

  .site-header .brand {
    font-size: 0.95rem;
  }

  .menu {
    z-index: 5;
    display: block;
  }

  .site-header nav {
    position: absolute;
    top: 100px;
    right: 0;
    left: 0;
    z-index: 4;
    display: none;
    flex-direction: column;
    padding: 18px 28px 30px;
    gap: 0;
    background: var(--paper);
    box-shadow: 0 12px 20px #0002;
    border-bottom: 1px solid var(--line);
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    width: 100%;
    height: auto;
    padding: 14px 0;
    margin: 0;
  }

  .nav-item {
    display: block;
    width: 100%;
  }

  .submenu {
    position: static;
    width: 100%;
    margin-bottom: 8px;
    box-shadow: none;
  }

  .submenu-toggle {
    position: absolute;
    top: 5px;
    right: 0;
    z-index: 2;
    padding: 14px;
  }

  /* Mehrspaltige Bereiche werden untereinander dargestellt. */
  .hero {
    padding-top: 55px;
  }

  .hero-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    aspect-ratio: 16 / 9;
  }

  .contact-layout,
  .club-layout,
  .travel-layout,
  .contact-form-section,
  .statutes {
    grid-template-columns: 1fr;
  }

  .trip-schedules-heading {
    grid-template-columns: 1fr;
  }

  .trip-bottom-grid {
    grid-template-columns: 1fr;
  }

  .trip-schedule-grid,
  .trip-process ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip-process li {
    min-height: 240px;
  }

  .trip-contact-actions {
    justify-content: flex-start;
  }

  .statutes-toc {
    position: static;
  }

  .hero-ball img {
    width: min(100%, 300px);
    height: auto;
  }

  .travel-prices,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .membership-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .membership-process ol {
    grid-template-columns: 1fr;
  }

  .membership-process li {
    min-height: 0;
  }

  .membership-process h3 {
    margin-top: 24px;
  }

  .membership-contact-actions {
    justify-content: flex-start;
  }

  .price-grid,
  .memory-grid {
    grid-template-columns: 1fr;
  }

  .price-card h2 {
    font-size: clamp(1.5rem, 5vw, 2.35rem);
  }

  .busplan-summary {
    grid-template-columns: auto 1fr;
  }

  .busplan-summary p {
    grid-column: 1 / -1;
  }

  .bus-stop {
    grid-template-columns: 110px minmax(190px, 1fr) 1.2fr;
  }

  .schedule-plan-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-plan__intro,
  .schedule-route,
  .schedule-contact { grid-template-columns: 1fr; }
  .schedule-contact .actions { justify-content: flex-start; }

  .memory article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Fanclub-Chronik auf Tablets und kleinen Bildschirmen. */
  .fanclub-story-heading,
  .fanclub-cta {
    grid-template-columns: 1fr;
  }

  .fanclub-story-heading {
    gap: 14px;
  }

  .fanclub-story-heading .eyebrow {
    grid-row: auto;
  }

  .fanclub-cta .actions {
    justify-content: flex-start;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery .wide {
    grid-column: auto;
  }

  .wide .photo-placeholder {
    min-height: 300px;
  }

  /* Footer-Inhalte stehen auf kleinen Bildschirmen untereinander. */
  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer nav {
    flex-wrap: wrap;
  }

  .footer-legal,
  footer small {
    justify-self: start;
  }

  .footer-credit {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .schedule-plan-tabs { grid-template-columns: 1fr; }
  .schedule-plan-tabs button { min-height: 0; }
  .schedule-plan-tabs button span { margin-bottom: 12px; }
  .schedule-plan__intro,
  .schedule-route,
  .schedule-contact { padding: 28px 22px; }
  .schedule-facts { grid-template-columns: 1fr; }
  .schedule-facts div:nth-child(even) { border-left: 0; }
  .schedule-facts div + div { border-top: 1px solid var(--line); }
  .schedule-stop {
    --schedule-time-column: 74px;
    --schedule-marker-column: 20px;
    --schedule-column-gap: 10px;
  }
  .schedule-stop__card {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }
  .schedule-stop__number { width: 26px; height: 26px; }
  .schedule-notice { grid-template-columns: 1fr; }
  .schedule-contact .actions { display: grid; grid-template-columns: 1fr; }
  .schedule-contact .button { text-align: center; }

  .trip-schedule-grid,
  .trip-process ol {
    grid-template-columns: 1fr;
  }

  .trip-schedule-card,
  .trip-process li {
    min-height: 0;
  }

  .trip-schedule-card strong {
    margin: 48px 0 20px;
  }

  .trip-process h3 {
    margin-top: 28px;
  }

  .trip-information,
  .trip-contact {
    padding: 34px 26px;
  }

  .fanclub-facts {
    grid-template-columns: 1fr;
  }

  .fanclub-facts article {
    min-height: 150px;
  }

  .fanclub-timeline::before {
    left: 24px;
  }

  .fanclub-milestone {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .fanclub-marker {
    width: 50px;
    height: 50px;
  }

  .fanclub-card {
    padding: 30px 24px;
  }

  .fanclub-milestone:nth-child(even) .fanclub-card {
    margin-left: 0;
  }

  .fanclub-cta {
    margin-bottom: 70px;
  }

  .quote-section { margin-bottom: 100px; }

  .memory--quote { padding: 42px 20px; }

  .memory--quote blockquote {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
    line-height: 1.2;
  }

  .statutes-content {
    padding: 4px 20px 24px;
  }

  .satzung-sektion-kopf {
    display: block;
  }

  .satzung-paragraph-nummer {
    display: block;
    margin-bottom: 6px;
  }
  .price-card {
    padding: 28px 22px;
  }

  .price-card h2 {
    font-size: clamp(1.2rem, 6.4vw, 1.65rem);
  }

  .price {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .busplan-summary {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .busplan-summary p {
    grid-column: auto;
  }

  .bus-stop--head {
    display: none;
  }

  .bus-stop {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 22px;
  }

  .bus-stop span:last-child {
    margin-top: 6px;
    color: var(--muted);
  }
  .travel-prices,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .paypal-card,
  .calendar-entry {
    grid-template-columns: 1fr;
  }

  .paypal-card img {
    width: 130px;
  }

  .calendar-entry time {
    align-items: flex-start;
  }

  .contact-form {
    padding: 26px 20px;
  }

}


/* ========================================================================== */
/* 13. WENIGER BEWEGUNG BEI ENTSPRECHENDER GERÄTEEINSTELLUNG                  */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
