/* ogm.css – ALLE Gestaltung zentral. Design-Tokens in :root.
   Aufbau, Maße und Farben 1:1 nach der alten Elementor-Seite (quelle/alte-website/css),
   Schriften: Oswald (Überschriften, Zahlen) + Montserrat (Text).
   Keine neuen Farben oder Schriften außerhalb der Tokens. */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --blau: #004D9D;           /* Schalker Königsblau (ersetzt #1B4B88 der alten Seite, Wunsch 08.10.2026) */
  --petrol: #014360;         /* Akzentfarbe der alten Seite (Hover, Fußzeile) */
  --blau-tief: #142A6B;      /* dunklerer Hero-Verlauf (Wunsch 08.10.2026) */
  --nacht: #0A1638;
  --grau: #F7F7F7;           /* Flächen (Zahlen, Mitglied, Kontakt) */
  --weiss: #FFFFFF;
  --text: #000000;

  --schrift-text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-titel: "Oswald", "Arial Narrow", Impact, sans-serif;

  --inhalt: 1140px;          /* Inhaltsbreite der alten Seite */
  --rund: 50rem;             /* „Pillen“-Rundung der alten Seite */
}

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

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

/* Lenis (weiches Scrollen): empfohlenes CSS aus lenis/dist/lenis.css (MIT).
   Natives scroll-behavior abschalten, sonst kämpft es gegen Lenis. */
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Wie auf der alten Seite: Text nicht markierbar (Eingabefelder ausgenommen), siehe auch ogm.js */
:root { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--schrift-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  background: var(--weiss);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blau); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
p { margin: 0 0 .9rem; }
h1, h2, h3 { margin: 0; }

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: .5rem 1rem;
  background: var(--weiss);
  color: var(--blau);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.platzhalter {
  width: 100%;
  margin: 0 0 1.5rem;
  padding: .9rem 1.1rem;
  border: 2px dashed var(--blau);
  border-radius: 20px;
  background: var(--weiss);
  color: var(--blau);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
}

.box { max-width: var(--inhalt); margin-inline: auto; }

/* ==========================================================================
   Knöpfe
   ========================================================================== */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 0;
  border-radius: 20px;
  background: var(--blau);
  color: var(--weiss);
  font-family: var(--schrift-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .3s;
}
/* Hover dunkelt über den wandernden Verlauf ab (s. „Animierte Farbverläufe“), statt ihn zu ersetzen */
.knopf:hover { box-shadow: inset 0 0 0 100vmax rgb(10 22 56 / .3); color: var(--weiss); }
.knopf svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.knopf-breit { width: 100%; }

/* Scroll-Fortschritt als Ring-Knopf unten rechts (Entscheidung 08.10.2026), Klick = nach oben.
   --fortschritt (0…1) und die Klasse .sichtbar setzt ogm.js. */
.ring-knopf {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 81;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--weiss);
  box-shadow: 0 12px 30px rgb(10 22 56 / .3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility 0s .3s, transform .3s;
}
.ring-knopf.sichtbar { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.ring-knopf.sichtbar:hover { transform: translateY(-3px); }
.modal-offen .ring-knopf { opacity: 0; visibility: hidden; }
.ring-knopf svg { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); transform: rotate(-90deg); }
.ring-knopf circle { fill: none; stroke-width: 4.5; }
.ring-spur { stroke: #E3E9F3; }
.ring-fuellung { stroke: var(--blau); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fortschritt, 0)); }
.ring-knopf img { width: 30px; }
@media (max-width: 767px) {
  .ring-knopf { right: 16px; bottom: 16px; width: 62px; height: 62px; }
  .ring-knopf img { width: 24px; }
}

/* Dezenter Hintergrund: Fördergerüst der Zeche Consolidation, Schacht IX (Gelsenkirchen).
   Liegt fest hinter dem Inhalt und ist nur auf weißen Flächen zu sehen. */
.zeche {
  position: fixed;
  bottom: 0;
  left: 3vw;
  z-index: -1;
  height: 72vh;
  color: var(--blau);
  opacity: .08;
  pointer-events: none;
}
.zeche svg { width: auto; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zeche .seil { stroke-width: 1; }
.zeche .foerderkorb { fill: currentColor; fill-opacity: .45; animation: korb-fahren 10s ease-in-out infinite alternate; }
.zeche .seilscheibe { transform-box: fill-box; transform-origin: center; animation: scheibe-drehen 10s ease-in-out infinite alternate; }
.zeche .seilscheibe-gegen { animation-name: scheibe-drehen-gegen; }
@keyframes korb-fahren { to { transform: translateY(56px); } }
@keyframes scheibe-drehen { to { transform: rotate(540deg); } }
@keyframes scheibe-drehen-gegen { to { transform: rotate(-540deg); } }
@media (max-width: 767px) { .zeche { left: -8vw; height: 55vh; opacity: .06; } }

/* ==========================================================================
   Seiten-Vorhang beim Laden (wie die alte Seite: Blauverlauf + weißes Symbol)
   ========================================================================== */
.vorhang { display: none; }
.js .vorhang {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--blau-tief) 0%, var(--nacht) 100%);
  /* Sicherheitsnetz, falls ogm.js nicht lädt */
  animation: vorhang-weg .5s ease 3s forwards;
}
.vorhang img { width: 120px; animation: vorhang-puls 1s ease-in-out infinite alternate; }
.js .vorhang.weg { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
@keyframes vorhang-weg { to { opacity: 0; visibility: hidden; } }
@keyframes vorhang-puls { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.05); opacity: 1; } }

/* ==========================================================================
   Hero: Blauverlauf, Foto in großer Rundung, „Glück Auf!“ auf der Kante
   ========================================================================== */
/* Übergang zum Hauptteil (Entscheidung 08.10.2026): gerade Unterkante, das Hero schiebt sich
   beim Scrollen nur leicht nach oben (translate in ganzen Pixeln setzt ogm.js). */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blau-tief) 0%, var(--nacht) 100%);
  will-change: translate;
}
.hero-flaeche {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  margin-left: 20%;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 3;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 2px solid rgb(255 255 255 / .75);
  border-radius: 14px;
  opacity: calc(1 - var(--hp, 0) * 4);
}
.hero-scroll::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--weiss);
  animation: scrollen 1.8s infinite;
}
@keyframes scrollen {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}
.hero-foto {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--rund) 0 0 var(--rund);
  background: var(--blau);
}
/* Langsamer Zoom (scale) + Parallax beim Scrollen (translate, gesetzt in ogm.js) */
.hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  animation: zoom 20s ease-in-out infinite alternate;
  will-change: scale, translate;
}
.hero-foto::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(180deg, rgb(10 22 56 / .2) 0%, rgb(10 22 56 / .6) 50%, rgb(10 22 56 / .92) 100%);
}
@keyframes zoom { from { scale: 1; } to { scale: 1.15; } }
.hero-inhalt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  width: 50%;
  margin-left: -25%;
  /* Beim Scrollen nach oben weggleiten und ausblenden (--hp setzt ogm.js) */
  translate: 0 calc(var(--hp, 0) * -140px);
  opacity: calc(1 - var(--hp, 0) * 1.3);
}
.hero-icon { width: 150px; transition: transform .3s; }
.hero-icon:hover { transform: scale(1.2); }
.hero-titel {
  margin: 0;
  color: var(--weiss);
  font-family: var(--schrift-titel);
  font-size: min(13vw, 200px);
  font-weight: 700;
  line-height: .9;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgb(0 0 0 / .35);
}
.hero-titel span { display: block; color: transparent; -webkit-text-stroke: 5px var(--weiss); text-shadow: none; }

@media (max-width: 1024px) {
  .hero-flaeche { width: 100%; margin-left: 0; }
  .hero-inhalt { width: 100%; margin-left: 0; }
}
@media (max-width: 767px) {
  .hero-foto { border-radius: 0; }
  .hero-inhalt { gap: 24px; }
  .hero-icon { width: 110px; }
  .hero-titel { font-size: 27vw; }
  .hero-titel span { -webkit-text-stroke-width: 3px; }
}

/* ==========================================================================
   Intro: Logo, Text in zwei Spalten, Zahlen, nächstes Spiel
   ========================================================================== */
/* Das Logo rückt auf den weißen Bogen am Hero-Ende */
.intro { position: relative; z-index: 3; margin-bottom: 10em; }
/* Bild-Box = Logo-Box, damit der Farbverlauf (::after, s. „Animierte Farbverläufe“) genau aufs Logo passt */
.intro-logo { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto 54px; }
.intro-text {
  columns: 2;
  column-gap: 60px;
  text-align: justify;
}
.intro-text h1 {
  margin: 0 0 .9rem;
  font-family: var(--schrift-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

/* Clubzahlen als drei Karten mit Icon im blauen Kreis (Variante D, gewählt 16.10.2026, ersetzt die blaue Pille).
   Am Handy flache Karten untereinander. Icons: zahl-icons.njk, Verläufe: s. „Animierte Farbverläufe“.
   Im HTML steht der Titel vor der Zahl (Screenreader: „Gegründet 1999“), angezeigt wird Icon – Zahl – Titel. */
.zahlen {
  display: flex;
  gap: 28px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}
.zahlen li {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 34px;
  border-radius: 30px;
  background: var(--weiss);
  box-shadow: 0 14px 40px rgb(10 22 56 / .12);
  text-align: center;
}
.zahl-icon {
  display: grid;
  order: 0;
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  padding: 21px;
  border-radius: 50%;
  background: var(--blau);
  color: var(--weiss);
  place-items: center;
}
.zahl {
  order: 1;
  color: var(--blau);
  font-family: var(--schrift-titel);
  font-size: 72px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}
.zahl-titel {
  order: 2;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Animierte Linien-Icons: jede Linie zeichnet sich beim Einblenden selbst (--zi = Versatz je Zahl,
   --zs = Versatz je Linie), danach dezente Dauerbewegung. „Bewegung reduzieren“ beendet alles sofort (s. unten). */
.zi { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.zi g { transform-box: view-box; }
.zi-strich { stroke-dasharray: 1; }
.js [data-anim] .zi-strich { stroke-dashoffset: 1; }
.js [data-anim].los .zi-strich {
  animation: zi-zeichnen 1.3s cubic-bezier(.65, 0, .25, 1) forwards;
  animation-delay: calc(var(--zi, 0ms) + var(--zs, 0ms) + 200ms);
}
@keyframes zi-zeichnen { to { stroke-dashoffset: 0; } }

/* Herz schlägt, Schlägel und Eisen schlagen aneinander, die Köpfe nicken nacheinander */
.los .zi-herz { transform-origin: 24px 24px; animation: zi-herzschlag 2.6s ease-in-out 2.4s infinite; }
.los .zi-schlaegel, .los .zi-eisen { transform-origin: 24px 26px; animation: zi-schlag-l 4s ease-in-out 2.2s infinite; }
.los .zi-eisen { animation-name: zi-schlag-r; }
.los .zi-kopf { animation: zi-nicken 3.6s ease-in-out 2.2s infinite; }
.los .zi-kopf-links { animation-delay: 2.45s; }
.los .zi-kopf-rechts { animation-delay: 2.7s; }
@keyframes zi-herzschlag { 0%, 45%, 100% { transform: scale(1); } 10% { transform: scale(1.12); } 22% { transform: scale(1); } 32% { transform: scale(1.07); } }
@keyframes zi-schlag-l { 0%, 20%, 100% { transform: none; } 8% { transform: rotate(-9deg); } 13% { transform: rotate(2deg); } }
@keyframes zi-schlag-r { 0%, 20%, 100% { transform: none; } 8% { transform: rotate(9deg); } 13% { transform: rotate(-2deg); } }
@keyframes zi-nicken { 0%, 20%, 100% { transform: none; } 8% { transform: translateY(-2.5px); } }

@media (max-width: 1024px) {
  .intro { margin-bottom: 4em; padding-inline: 1em; }
  .zahlen { gap: 18px; }
  .zahlen li { padding: 30px 14px 26px; }
  .zahl-icon { width: 76px; height: 76px; padding: 17px; }
  .zahl { font-size: 56px; }
  .zahl-titel { font-size: 15px; letter-spacing: 2px; }
}
@media (max-width: 767px) {
  .intro { margin-bottom: 2rem; padding-inline: 1rem; }
  .intro-logo { margin: 0 0 2rem -3rem; }
  .intro-text { columns: 1; text-align: start; }
  /* Handy: flache Karten untereinander, Icon-Kreis links, Zahl und Titel rechts (Variante D, 16.10.2026) */
  .zahlen { flex-direction: column; gap: 14px; margin-top: 40px; }
  .zahlen li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: center; padding: 16px 20px; border-radius: 22px; text-align: left; }
  .zahl-icon { grid-area: 1 / 1 / 3 / 2; width: 64px; height: 64px; margin: 0; padding: 15px; }
  .zahl { grid-area: 1 / 2; font-size: 46px; }
  .zahl-titel { grid-area: 2 / 2; margin-top: 2px; font-size: 13px; letter-spacing: 2px; }
}

/* ==========================================================================
   Nächstes Spiel: volle Breite mit Stadionfoto (Variante 4, gewählt 08.10.2026).
   Heimverein links, Gast rechts, beide gleich groß; Schalke weiß, Gegner leicht durchsichtig.
   ========================================================================== */
.spiel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 1rem;
  color: var(--weiss);
  text-align: center;
}
/* Foto deutlich höher als das Band, damit es beim Parallax (ogm.js, −150 px) nie Lücken zeigt */
.spiel-foto {
  position: absolute;
  top: -25%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 150%;
  object-fit: cover;
  filter: grayscale(.2) blur(2px);
  transform: scale(1.1);
}
.spiel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 22 56 / .92), rgb(20 42 107 / .82) 50%, rgb(10 22 56 / .95));
}
.spiel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--schrift-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.4;
  text-transform: uppercase;
}
.spiel-label::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--weiss);
  animation: puls 2s infinite;
}
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .6); }
  70%, 100% { box-shadow: 0 0 0 10px rgb(255 255 255 / 0); }
}
/* Beide Vereine immer in einer Zeile; bei langen Namen verkleinert ogm.js die Schrift ([data-einzeilig]) */
.spiel-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  max-width: 1320px;
  margin: 0 auto 18px;
  font-family: var(--schrift-titel);
  font-size: min(4.4vw, 66px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.spiel-teams > span { white-space: nowrap; }
.spiel-teams > :first-child { text-align: right; }
.spiel-teams > :last-child { text-align: left; }
.spiel-wir { color: var(--weiss); }
.spiel-gegner { color: rgb(255 255 255 / .5); }
.spiel-vs {
  padding: .35em .9em;
  border: 2px solid rgb(255 255 255 / .5);
  border-radius: 999px;
  font-family: var(--schrift-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
}
.spiel-termin { margin: 0 0 44px; color: rgb(255 255 255 / .85); }
.spiel-zeit { display: inline-flex; }
.spiel-zeit div {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(14px, 3vw, 40px);
  border-left: 1px solid rgb(255 255 255 / .25);
}
.spiel-zeit div:first-child { border-left: 0; }
.spiel-zeit span {
  font-family: var(--schrift-titel);
  font-size: min(14vw, 110px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}
.spiel-zeit small {
  margin-top: 8px;
  color: rgb(255 255 255 / .65);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .spiel { padding: 80px 1rem; }
  .spiel-label { display: block; letter-spacing: 2px; }
  .spiel-label::before { display: inline-block; margin-right: 8px; vertical-align: 1px; }
  .spiel-teams { grid-template-columns: minmax(0, 1fr); gap: 10px; font-size: 10vw; }
  .spiel-teams > :first-child, .spiel-teams > :last-child { text-align: center; }
  .spiel-vs { justify-self: center; font-size: 13px; }
  .spiel-zeit div { padding: 0 12px; }
  .spiel-zeit small { font-size: 10px; letter-spacing: 1px; }
}

/* ==========================================================================
   Reihen „Mitglied werden“ und „Kontakt“: rundes Bild + graue Fläche
   ========================================================================== */
.reihe { display: flex; margin: 10em 0; }
.rund-bild {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: var(--blau);
}
/* Bild ist höher als die Maske, damit es beim Parallax (ogm.js, ±60 px) nie Lücken zeigt */
.rund-bild img {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: calc(100% + 140px);
  object-fit: cover;
  object-position: top center;
}
.grau-box { background: var(--grau); }

.reihe-mitglied .rund-bild { flex: 0 0 calc(40% - 60px); margin-right: 60px; border-radius: 0 var(--rund) var(--rund) 0; }
.reihe-mitglied .grau-box { flex: 1 1 60%; padding: 100px 120px 100px 150px; border-radius: var(--rund) 0 0 var(--rund); }

.reihe-kontakt .grau-box { flex: 1 1 60%; margin-right: 80px; padding: 100px 200px 100px 150px; border-radius: 0 var(--rund) var(--rund) 0; }
.reihe-kontakt .rund-bild { flex: 0 0 calc(40% - 80px); border-radius: var(--rund) 0 0 var(--rund); }

/* Überschriften (Entscheidung 08.10.2026): zweites Wort untereinander, gleiche Schrift und Farbe,
   keine Trennlinie – nur Abstand zum Text */
.titel {
  margin-bottom: 36px;
  color: var(--blau);
  font-family: var(--schrift-titel);
  font-size: 74px;
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}
.titel span { display: block; }

@media (max-width: 1024px) {
  .reihe { flex-direction: column; margin: 4em 0; }
  .reihe .rund-bild { flex: none; width: 100%; min-height: 600px; margin: 0; }
  .reihe-mitglied .grau-box { margin-top: 2rem; padding: 100px 40px 100px 150px; }
  .reihe-kontakt .grau-box { order: 0; margin: 0; padding: 100px 60px 100px 20px; }
}
@media (max-width: 767px) {
  .reihe .rund-bild { min-height: 300px; }
  .reihe-mitglied .rund-bild { margin-bottom: 40px; }
  .reihe-mitglied .grau-box { margin-top: 0; padding: 3rem 1rem; border-radius: 14rem 0 0 14rem; }
  .reihe-kontakt .grau-box { padding: 6em 1em; border-radius: 0 20rem 20rem 0; }
  .reihe-kontakt .rund-bild { margin-top: 40px; }
  .titel { margin-bottom: 26px; font-size: 48px; }
}

/* ==========================================================================
   Kontaktformular
   ========================================================================== */
.formular { display: flex; flex-wrap: wrap; gap: 14px; }
.feld { flex: 1 1 100%; }
.feld-halb { flex: 1 1 calc(50% - 7px); }
.formular input[type="text"],
.formular input[type="email"],
.formular textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 20px;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 15px;
  line-height: 1.5;
}
.formular textarea { min-height: 116px; resize: vertical; }
.formular ::placeholder { color: #6B6B6B; }
.feld-check { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.5; }
.feld-check input { margin: 2px 0 0; accent-color: var(--blau); }
.formular [type="submit"]:disabled { opacity: .6; cursor: progress; }

/* Spamschutz: Feld für Bots, für Menschen unsichtbar */
.feld-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Meldungen nach dem Senden: .zeigen setzt ogm.js, ohne JavaScript greift :target nach der Weiterleitung */
.formular-meldungen { flex: 1 1 100%; }
.formular-meldung {
  display: none;
  margin: 0;
  padding: .9rem 1.1rem;
  border-radius: 20px;
  background: var(--blau);
  color: var(--weiss);
  font-weight: 600;
  line-height: 1.5;
}
.formular-meldung:target, .formular-meldung.zeigen { display: block; }
.formular-meldung-fehler { border: 2px solid var(--blau); background: var(--weiss); color: var(--blau); }
.formular-meldung a { color: inherit; }

/* ==========================================================================
   Fußzeile
   ========================================================================== */
.fuss {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--inhalt);
  margin: 0 auto;
  padding-inline: 1rem;
  text-align: center;
}
.fuss-icon { width: 54px; margin-bottom: 20px; transition: transform .3s; }
.fuss-icon:hover { transform: translateY(-4px) scale(1.2); }
.fuss-copyright { margin: 0; font-size: 14px; font-weight: 300; }
.fuss-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; margin-top: 10px; }
.fuss-nav a {
  padding: 4px 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  transition: color .3s;
}
.fuss-nav a:hover { color: var(--petrol); }
.nach-oben {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 94px 0;
  color: var(--petrol);
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}
.nach-oben svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Pop-ups (Impressum, Datenschutz) über :target – funktionieren auch ohne JavaScript
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 2rem 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, .8);
}
.modal:target { display: flex; animation: einblenden .4s ease; }
.modal-box {
  position: relative;
  width: min(800px, 100%);
  margin: auto;
  background: var(--weiss);
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
}
.modal-box:focus { outline: none; }
.modal-zu {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  color: var(--blau);
  transition: color .3s;
}
.modal-zu:hover { color: var(--petrol); }
.modal-zu svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.modal-offen { overflow: hidden; }

.modal-impressum { display: flex; min-height: 480px; }
.impressum-bild {
  flex: 0 0 49%;
  align-self: center;
  height: 500px;
  overflow: hidden;
  border-radius: 0 25rem 25rem 0;
}
.impressum-bild img { width: 100%; height: 100%; object-fit: cover; }
.modal-impressum .modal-inhalt { flex: 1; padding: 40px 30px 40px 2%; }
.modal-datenschutz .modal-inhalt { padding: 7% 6% 7% 5%; }

.modal-titel {
  margin-bottom: 28px;
  color: var(--blau);
  font-family: var(--schrift-titel);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.modal-inhalt p { font-weight: 300; line-height: 1.5; }
.modal-inhalt strong { font-weight: 500; }
.modal-inhalt h3 {
  margin: 1rem 0 .6rem;
  color: var(--blau);
  font-family: var(--schrift-titel);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.siegel { width: 300px; margin-bottom: 25px; }
.abstand-oben { margin-top: 1.75rem; }

@media (max-width: 767px) {
  .modal-impressum { flex-direction: column; }
  .impressum-bild { flex: none; align-self: stretch; width: 90%; height: 300px; }
  .modal-impressum .modal-inhalt { padding: 2rem 1.5rem; }
  .modal-datenschutz .modal-inhalt { padding: 4rem 1.5rem 2rem; }
  .siegel { width: 240px; }
}

@keyframes einblenden { from { opacity: 0; } }

/* ==========================================================================
   404
   ========================================================================== */
.seite-404 { display: grid; place-content: center; min-height: 60vh; padding: 4rem 1rem; text-align: center; }
.seite-404 h1 { margin-bottom: 1rem; }
.seite-404 .knopf { justify-self: center; }

/* ==========================================================================
   Eigener Mauszeiger (wie die alte Seite: Ring + Punkt in Blau, nur mit Maus)
   ========================================================================== */
.cursor { opacity: 0; transition: opacity .2s; }
.cursor.aktiv { opacity: 1; }
.cursor.eingabe { opacity: 0; }
.cursor-ring, .cursor-punkt {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  border-radius: 50%;
  pointer-events: none;
}
.cursor-ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1.2px solid var(--blau);
  transition: transform .2s ease-out, width .2s ease-out, height .2s ease-out, margin .2s ease-out, opacity .2s ease-out;
}
.cursor-punkt {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--blau);
  transition: width .2s ease-out, height .2s ease-out, margin .2s ease-out, opacity .2s ease-out;
}
.cursor.link .cursor-ring { width: 20px; height: 20px; margin: -10px 0 0 -10px; opacity: 0; }
.cursor.link .cursor-punkt { width: 30px; height: 30px; margin: -15px 0 0 -15px; opacity: .3; }

/* ==========================================================================
   Animierte Farbverläufe (Wunsch 08.10.2026): Überschriften, Clubzahlen (Icon-Kreise, Zahlen), Knöpfe, Logo.
   Nur Farben aus den Tokens. Langsam und ruhig; „Bewegung reduzieren“ hält alles an (s. unten).
   ========================================================================== */
@keyframes verlauf-wandern { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Icon-Kreise der Clubzahlen und Knöpfe (z. B. „Nachricht senden“): wandernder Verlauf nur in Blau
   (ohne Petrol – wirkte grünlich, AG 08.10.2026) */
.zahl-icon, .knopf {
  background: linear-gradient(120deg, var(--blau), var(--blau-tief), var(--blau));
  background-size: 300% 300%;
  animation: verlauf-wandern 10s ease-in-out infinite;
}

/* Logo: ein Farbverlauf zieht über die blauen Flächen (soft-light lässt Weiß weiß), nur in der Logo-Form (Maske) */
.intro-logo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--blau-tief) 20%, var(--weiss) 45%, var(--petrol) 70%, var(--blau-tief) 90%);
  background-size: 300% 100%;
  mix-blend-mode: soft-light;
  pointer-events: none;
  -webkit-mask: url("/assets/logo/ogm-logo.png") center / 100% 100% no-repeat;
  mask: url("/assets/logo/ogm-logo.png") center / 100% 100% no-repeat;
  animation: verlauf-wandern 10s ease-in-out infinite;
  content: "";
}
@media (max-width: 767px) {
  .intro-logo::after {
    -webkit-mask-image: url("/assets/logo/ogm-logo-mobil.png");
    mask-image: url("/assets/logo/ogm-logo-mobil.png");
  }
}

/* Schrift mit Verlauf: nur wo background-clip: text geht, sonst bleibt die normale Farbe */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .titel, .modal-titel {
    background-image: linear-gradient(90deg, var(--blau-tief), var(--blau) 35%, var(--blau) 65%, var(--petrol));
    /* deutlicher (Wunsch 08.10.2026): ein heller Streifen aus Königsblau + Weiß zieht durch.
       Hellste Stelle auf Grau noch 3,7 : 1 (große Schrift). Ohne color-mix() gilt die Zeile darüber. */
    background-image: linear-gradient(90deg, var(--blau-tief), var(--blau) 35%, color-mix(in srgb, var(--blau) 70%, var(--weiss)) 50%, var(--blau) 65%, var(--petrol));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: verlauf-wandern 7s ease-in-out infinite;
  }
  /* Überschriften mit Einblenden: beide Animationen zusammen, sonst überschreibt das Einblenden den Verlauf */
  .js .titel[data-anim].los {
    animation: sanft-einblenden .9s cubic-bezier(.2, .7, .2, 1) both, verlauf-wandern 7s ease-in-out infinite;
    animation-delay: var(--verz, 0ms), 0s;
  }

  /* Clubzahlen: derselbe helle Streifen wie in den Überschriften, nur in Blau */
  .zahl {
    background-image: linear-gradient(90deg, var(--blau-tief), var(--blau) 35%, var(--blau) 65%, var(--blau-tief));
    background-image: linear-gradient(90deg, var(--blau-tief), var(--blau) 35%, color-mix(in srgb, var(--blau) 70%, var(--weiss)) 50%, var(--blau) 65%, var(--blau-tief));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: verlauf-wandern 7s ease-in-out infinite;
  }
}

/* ==========================================================================
   Einblenden beim Scrollen (Entscheidung 08.10.2026): leichtes Fade-in, kaum Bewegung
   ========================================================================== */
.js [data-anim] {
  visibility: hidden;
  /* Sicherheitsnetz, falls ogm.js nicht lädt */
  animation: sichtbar-machen 0s 4s forwards;
}
.js [data-anim].los {
  visibility: visible;
  animation: sanft-einblenden .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: var(--verz, 0ms);
}

@keyframes sichtbar-machen { to { visibility: visible; } }
@keyframes sanft-einblenden { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-anim] { visibility: visible; }
  .js .vorhang { display: none; }
}
