/* ========================================================================== */
/* 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;
  --max: 1180px;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-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: 108px;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}

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

/* Größe des Logos im Header. */
.brand-logo {
  width: 62px;
  height: 62px;
  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;
}

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

.site-header nav a {
  padding: 41px 0;
  border-bottom: 3px solid transparent;
}

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

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

.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: 100%;
  max-width: 320px;
  margin: 0;
  object-fit: contain;
}

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

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

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  border-top: 1px solid var(--line);
}

.intro > div p {
  max-width: 720px;
  font-size: 1.12rem;
}

.memory {
  max-width: var(--max);
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
}

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

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

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

.memory article + article {
  padding-left: 35px;
  border-left: 1px solid #ffffff55;
}

.memory b {
  opacity: 0.65;
}

.memory h3 {
  margin: 55px 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;
}

.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(--ink);
  color: var(--white);
}

.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;
  background: var(--ink);
  color: var(--white);
}

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

.price {
  margin: 28px 0 10px;
  color: var(--red);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}

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


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


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

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


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

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

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

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

  .site-header nav {
    position: absolute;
    top: 82px;
    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;
  }

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

  .site-header nav a {
    padding: 14px 0;
  }

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

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

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

  .intro,
  .contact-layout,
  .club-layout {
    grid-template-columns: 1fr;
  }

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

  .memory article + article {
    padding-left: 0;
    border-top: 1px solid #ffffff55;
    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;
  }
}


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

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