/* ========================================================================== */
/* 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;
  --white: #fff;
  --muted: #696a6f;
  --line: #d8d3cb;
  --sand: #e9e1d7;
  --stone: #ddd4c8;
  --cream: #eee8df;
  --max: 1180px;
}


/* ========================================================================== */
/* 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;
}

a {
  color: inherit;
}

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

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

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  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: 110px 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: hidden;
  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: clamp(3rem, 7vw, 5rem);
}

.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 {
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.actions {
  display: flex;
  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);
}

/* Bleibt als gestaltete Hülle für den noch ausstehenden neuen Inhalt stehen. */
.memory--reserved {
  min-height: 300px;
}

/* 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;
}

.quote {
  text-align: center;
}

.quote blockquote {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.quote-note {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* -------------------------------------------------------------------------- */
/* 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);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.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);
}

.benefits {
  border-top: 1px solid var(--line);
}

.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);
}

.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);
}

.dates {
  padding-top: 40px;
}

.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 RÜCKBLICK                                  */
/* ========================================================================== */

.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: 0.2em 0;
  font-size: clamp(3rem, 7vw, 6rem);
}

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

.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;
  border-top: 1px solid var(--line);
}

.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-top: 6px solid var(--red);
  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 {
  padding-top: 55px;
}

.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);
}


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

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

.legal h1 {
  font-size: clamp(3rem, 7vw, 5rem);
}

.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   */
/* -------------------------------------------------------------------------- */

.page-hero--compact {
  padding-bottom: 60px;
}

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

.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;
  border-top: 1px solid var(--line);
  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;
  }

  .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;
  }

  .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;
  }

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

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

  .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) {
  .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;
  }
}
