/* Vereinsring Mainz-Bretzenheim – 1275 Jahre
   Farben aus Jubiläumslogo und Bretzenheimer Wappen. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("../schriften/cormorant-garamond-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url("../schriften/cormorant-garamond-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../schriften/source-sans-3-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../schriften/source-sans-3-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../schriften/source-sans-3-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("../schriften/source-sans-3-700-normal.woff2") format("woff2"); }

:root {
  --blau: #204196;
  --blau-dunkel: #172f6e;
  --gelb: #ffde18;
  --gelb-hell: #fff6c2;
  --graublau: #adb4c6;
  --graublau-hell: #e6e9f1;
  --grund: #fbfaf6;
  --flaeche: #ffffff;
  --text: #1d2233;
  --text-leise: #535a6e;
  --linie: #d9dde8;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 72rem;
  --rund: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: .15em; }
a:hover { color: var(--blau-dunkel); }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--blau); line-height: 1.1; margin: 0 0 .5em; font-variant-numeric: lining-nums; }
.datum, .hoehepunkt .wann { font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .huelle { padding: 0 2rem; } }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--gelb); color: var(--blau); padding: .5rem 1rem; z-index: 10; }
.sprung:focus { left: 1rem; }

/* Entwurf */
.entwurf-leiste { background: var(--text); color: #fff; font-size: .9rem; text-align: center; padding: .4rem 1rem; }
.entwurf-leiste strong { color: var(--gelb); }
mark.offen { background: var(--gelb-hell); color: var(--text); border: 1px dashed #c9a800; border-radius: 4px; padding: 0 .3em; }
.entwurf-hinweis { background: var(--gelb-hell); border: 1px dashed #c9a800; border-radius: var(--rund); padding: 1rem 1.25rem; font-size: 1rem; color: var(--text); }

.entwurf-leiste a { color: var(--gelb); margin-left: .5rem; }

/* Passwortseite (nur Entwurf) */
.pw-seite { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.pw-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 2rem 1.5rem; max-width: 26rem; width: 100%; text-align: center; }
.pw-karte img { margin: 0 auto 1rem; }
.pw-karte h1 { font-size: 2rem; }
.pw-karte form { display: grid; gap: .8rem; margin-top: 1rem; }
.pw-karte input[type="password"] { font: inherit; padding: .7rem 1rem; border: 2px solid var(--graublau); border-radius: 10px; text-align: center; letter-spacing: .08em; }
.pw-karte input[type="password"]:focus { border-color: var(--blau); outline: none; }
.pw-karte button { font: inherit; font-weight: 700; cursor: pointer; }
.pw-fehler { color: #a3121b; font-weight: 600; margin: 0; }

/* Kopf */
.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 5; }
.kopf .huelle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--blau); }
.marke img { width: 34px; }
.marke span { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.05; }
.marke small { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); }
.menue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.menue a { display: block; padding: .45rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--text); font-size: 1rem; }
.menue a:hover { background: var(--graublau-hell); color: var(--blau); }
.menue a[aria-current="page"] { background: var(--blau); color: #fff; }
@media (max-width: 40rem) {
  .kopf { position: static; }
  .menue { width: 100%; }
  .menue ul { justify-content: space-between; flex-wrap: nowrap; gap: 0; overflow-x: auto; }
  .menue a { padding: .35rem .4rem; font-size: .86rem; white-space: nowrap; }
}

/* Abschnitte */
.abschnitt { padding: 3.5rem 0; }
.abschnitt--flaeche { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.abschnitt--blau { background: var(--blau); color: #fff; }
.abschnitt--blau h2, .abschnitt--blau h3 { color: #fff; }
.abschnitt--blau a { color: var(--gelb); }
.dachzeile { font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-leise); margin-bottom: .6rem; }
.abschnitt--blau .dachzeile { color: var(--graublau); }
.text { max-width: 42rem; }
.text--weit { max-width: 52rem; }
.kopfzeile-abschnitt { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.kopfzeile-abschnitt h2 { margin: 0; }

/* Knöpfe */
.knopf { display: inline-block; background: var(--gelb); color: var(--blau-dunkel); font-weight: 700; text-decoration: none; padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid var(--gelb); }
.knopf:hover { background: #ffe94f; color: var(--blau-dunkel); }
.knopf--rand { background: transparent; color: var(--blau); border-color: var(--blau); }
.knopf--rand:hover { background: var(--blau); color: #fff; }

/* Startseite: Bühne */
.buehne { padding: 2.5rem 0 3rem; background: radial-gradient(ellipse at 75% 45%, #fff 0%, var(--grund) 65%); }
.buehne .huelle { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .buehne .huelle { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .buehne { padding: 4rem 0 4.5rem; } }
.buehne h1 { margin-bottom: .3em; }
.buehne h1 .jahr { display: block; font-size: 1.35em; letter-spacing: .01em; }
.leitsatz { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; color: var(--text); line-height: 1.25; margin-bottom: 1.5rem; }
.buehne-logo { max-width: 30rem; margin: 0 auto; width: 100%; }
.buehne .knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.zaehler { margin-top: 1.5rem; color: var(--text-leise); font-size: 1rem; }
.zaehler strong { color: var(--blau); font-size: 1.15rem; }

.einleitung p:first-child { font-size: 1.3rem; line-height: 1.45; }

/* Höhepunkte */
.hoehepunkte { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.5rem; }
.hoehepunkt { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: var(--rund); padding: 1.4rem 1.5rem; }
.hoehepunkt .wann { color: var(--gelb); font-weight: 700; letter-spacing: .04em; }
.hoehepunkt h3 { margin: .2rem 0 .3rem; font-size: 1.8rem; }
.hoehepunkt p { margin: 0; color: var(--graublau-hell); font-size: 1rem; }

/* Termine */
.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.termin { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; align-items: start; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: .9rem 1rem; }
.termin--hervor { border-color: var(--blau); box-shadow: inset 4px 0 0 var(--gelb); }
.datum { text-align: center; border-radius: 10px; background: var(--blau); color: #fff; padding: .4rem .2rem .45rem; line-height: 1.05; }
.datum .tag { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.9rem; }
.datum .monat { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.datum .wtag { display: block; font-size: .78rem; color: var(--gelb); margin-top: .15rem; }
.termin h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; color: var(--text); margin: .1rem 0 .2rem; line-height: 1.3; }
.termin .meta { color: var(--text-leise); font-size: .98rem; margin: 0; }
.termin .meta span + span::before { content: " · "; }
.termin .zusatz { font-size: .95rem; margin: .35rem 0 0; }
.termin .kuerzel { display: inline-block; margin-top: .4rem; font-size: .82rem; background: var(--gelb-hell); border: 1px dashed #c9a800; border-radius: 4px; padding: 0 .4em; color: var(--text); }
.termin[hidden] { display: none; }
.keine-termine { color: var(--text-leise); }

.monatsleiste { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.monatsleiste a { display: block; min-width: 3.2rem; text-align: center; padding: .35rem .6rem; border: 1px solid var(--linie); background: var(--flaeche); border-radius: 8px; text-decoration: none; font-weight: 600; }
.monatsleiste a:hover { border-color: var(--blau); }
.monat-block { margin-bottom: 2.5rem; scroll-margin-top: 6rem; }
.monat-block h2 { border-bottom: 2px solid var(--gelb); padding-bottom: .2rem; display: inline-block; }
.vergangen-schalter { margin: 0 0 1.5rem; font-size: 1rem; color: var(--text-leise); }

/* Unterstützen */
.zweispaltig { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .zweispaltig { grid-template-columns: 1fr 1fr; } }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.6rem 1.6rem 1.4rem; }
.karte h3 { margin-bottom: .4rem; }
.konto { margin: 1rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: 1rem; }
.konto dt { color: var(--text-leise); }
.konto dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Logos und Vereine */
.logoband { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin: 1.5rem 0; }
.logoband img { height: 56px; width: auto; max-width: 140px; object-fit: contain; }
.vereine { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
@media (min-width: 48rem) { .vereine { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); } }
.verein { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.verein .logo { height: 7rem; display: flex; align-items: center; justify-content: center; }
.verein .logo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.verein .logo--leer { background: var(--graublau-hell); border-radius: 10px; }
.verein .logo--leer img { height: 3.4rem; opacity: .35; }
.verein .name { font-weight: 600; font-size: .98rem; line-height: 1.3; margin: 0; }
.verein a { text-decoration: none; }

/* Vorstand */
.vorstand { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.person { text-align: center; }
.person .bild { width: 8.5rem; height: 8.5rem; margin: 0 auto .7rem; border-radius: 50%; overflow: hidden; background: var(--graublau-hell); display: flex; align-items: center; justify-content: center; border: 3px solid var(--flaeche); box-shadow: 0 0 0 2px var(--graublau); }
.person .bild img { width: 100%; height: 100%; object-fit: cover; }
.person .initialen { font-family: var(--serif); font-weight: 700; font-size: 2.6rem; color: var(--blau); opacity: .55; }
.person .name { font-weight: 700; margin: 0; }
.person .amt { color: var(--text-leise); margin: 0; font-size: 1rem; }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.6rem; margin-top: 2rem; }
.rechtstext dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .3rem 1.25rem; }
.rechtstext dd { margin: 0; }
@media (max-width: 30rem) { .rechtstext dl { grid-template-columns: 1fr; } .rechtstext dd { margin-bottom: .5rem; } }

/* Fuß */
.fuss { background: var(--blau-dunkel); color: var(--graublau-hell); padding: 2.5rem 0 2rem; font-size: 1rem; }
.fuss a { color: #fff; }
.fuss .huelle { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .fuss .huelle { grid-template-columns: 2fr 1fr 1fr; } }
.fuss strong { color: #fff; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .3rem; }
.fuss .klein { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; font-size: .9rem; color: var(--graublau); }

/* Seitenkopf Unterseiten */
.seitenkopf { padding: 2.5rem 0 1.5rem; }
.seitenkopf p { color: var(--text-leise); font-size: 1.2rem; max-width: 42rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .kopf, .fuss, .entwurf-leiste, .monatsleiste { display: none; } body { background: #fff; } }
