/* ==========================================================================
   SV Weiherhof e.V. – Stylesheet
   Farben: Vereinsgelb + Schwarz
   Schrift: Barlow / Barlow Condensed (lokal gehostet, DSGVO-konform)
   ========================================================================== */

/* ---------- Schriften (Dateien in /assets/fonts ablegen, siehe ANLEITUNG) --- */
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap;
  src: local("Barlow Condensed ExtraBold"), url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Barlow Condensed SemiBold"), url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Barlow Regular"), url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Barlow SemiBold"), url("../fonts/barlow-600.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --gelb: #FFCC00;          /* Vereinsgelb */
  --gelb-tief: #E6B400;     /* Hover auf Gelb */
  --wald: #141414;          /* Vereinsschwarz */
  --wald-2: #2A2A2A;
  --weiss: #FFFFFF;
  --kalk: #F3F3EF;          /* helles Neutralgrau für Flächen */
  --grau: #555555;          /* Sekundärtext, 7:1 auf Weiß */
  --linie: #D6D6D2;

  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Liberation Sans Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sektion: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--weiss); color: var(--wald);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gelb-tief); }
:focus-visible { outline: 3px solid var(--wald); outline-offset: 3px; border-radius: 2px; }
.dunkel :focus-visible, .site-footer :focus-visible { outline-color: var(--gelb); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sektion { padding-block: var(--sektion); }
.sektion-kopf { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sektion-kopf p { color: var(--grau); font-size: 1.15rem; margin: 0; }
@media (min-width: 860px) {
  .sektion-kopf { grid-template-columns: 5fr 6fr; align-items: end; }
}

.skip { position: absolute; left: -999px; top: 0; background: var(--gelb); padding: .75rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Platzhalter – im Entwurf sichtbar markiert, damit nichts vergessen wird */
.ph { background: repeating-linear-gradient(-45deg, #FFF3B0 0 6px, #FFE680 6px 12px); padding: 0 .3em; border-radius: 2px; font-style: normal; }
.beispiel { display: inline-block; font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border: 1px dashed currentColor; border-radius: 2px; opacity: .7; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem; border-radius: var(--radius);
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid var(--wald); cursor: pointer; transition: background-color .15s, color .15s;
}
.btn-voll { background: var(--wald); color: var(--gelb); }
.btn-voll:hover { background: var(--wald-2); }
.btn-rand { background: transparent; color: var(--wald); }
.btn-rand:hover { background: var(--wald); color: var(--gelb); }
.btn-gelb { background: var(--gelb); color: var(--wald); border-color: var(--gelb); }
.btn-gelb:hover { background: var(--gelb-tief); border-color: var(--gelb-tief); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.marke img { width: auto; height: 48px; }
.marke span { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.marke small { display: block; font-family: var(--text); font-weight: 400; font-size: .8rem; color: var(--grau); margin-top: .15rem; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a { display: block; padding: .5rem .6rem; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.nav a:hover { background: var(--kalk); }
.nav .btn { margin-left: .5rem; min-height: 2.6rem; padding: .4rem 1.1rem; font-size: 1.1rem; }
.nav .btn:hover { background: var(--gelb-tief); }
.nav-toggle { display: none; }

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; background: none; border: 2px solid var(--wald);
    border-radius: var(--radius); padding: .45rem .9rem; font: 600 1rem var(--text); color: var(--wald); cursor: pointer;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 1px solid var(--linie); display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--pad) 1.25rem; gap: 0; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--kalk); border-radius: 0; font-size: 1.1rem; }
  .nav .btn { margin: 1rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--gelb); overflow: hidden; }
.hero-inner { display: grid; }
.hero-text { padding: clamp(3rem, 9vw, 5rem) var(--pad) 2.75rem; }
.hero h1 {
  font-size: clamp(3rem, 12.5vw, 8.75rem); line-height: .82; text-transform: uppercase; letter-spacing: -.02em;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero h1 span { display: block; }
.hero-text p { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; max-width: 30ch; margin-bottom: 1.75rem; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-rechts { position: relative; }
.hero-bild { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wald); }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; }

/* Duoton: färbt jedes Foto in Vereinsgelb/Tannenschwarz ein */
.duoton { background: var(--gelb); isolation: isolate; }
.duoton img { filter: grayscale(1) contrast(1.12) brightness(1.04); mix-blend-mode: multiply; }
.duoton::after { content: ""; position: absolute; inset: 0; background: var(--wald); mix-blend-mode: lighten; pointer-events: none; }

/* "Als Nächstes" – Terminvorschau */
.naechstes {
  position: relative; z-index: 2; background: var(--wald); color: var(--weiss);
  padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--radius);
  margin: -3.5rem var(--pad) 2.5rem;
  box-shadow: 0 18px 40px -18px rgba(20,20,20, .55);
}
.naechstes h2 { font-size: 1.6rem; font-weight: 600; color: var(--gelb); margin-bottom: .75rem; }
.naechstes ol { list-style: none; margin: 0; padding: 0; }
.naechstes li { display: grid; grid-template-columns: 4.25rem 1fr; gap: .75rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.naechstes time { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; color: var(--gelb); }
.naechstes strong { display: block; font-weight: 600; line-height: 1.3; }
.naechstes .meta { font-size: .9rem; color: rgba(255,255,255,.72); }
.naechstes > a { display: inline-block; margin-top: .75rem; color: var(--gelb); font-weight: 600; }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: min(86vh, 820px); }
  .hero-text {
    align-self: center;
    padding: 4rem 3rem 5rem max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  }
  .hero h1 { font-size: clamp(4rem, 6.9vw, 8.75rem); }
  .hero-bild { position: absolute; inset: 0; aspect-ratio: auto; }
  .naechstes { position: absolute; left: -3.5rem; bottom: 2.5rem; width: min(400px, calc(100% - 1rem)); margin: 0; }
}

/* ---------- Platz buchen (eBuSy) ---------- */
.buchen { display: grid; gap: 2rem; }
@media (min-width: 900px) { .buchen { grid-template-columns: 4fr 7fr; align-items: start; } }
.buchen-wege p { margin-top: 1.25rem; color: var(--grau); }
.buchen-rahmen { background: var(--weiss); border-radius: var(--radius); border: 2px solid var(--wald); min-height: 280px; overflow: hidden; }
.buchen-rahmen iframe { display: block; width: 100%; height: 780px; border: 0; }
.buchen-platzhalter { padding: 2rem; display: grid; gap: .75rem; justify-items: start; }
.buchen-platzhalter p { color: var(--grau); margin: 0; }
.buchen-platzhalter .btn { margin-top: .5rem; }

/* ---------- Cookie-Hinweis (nur aktiv, wenn Google-Tag eingetragen ist) ---------- */
.consent {
  position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px;
  background: var(--weiss); color: var(--wald); border: 2px solid var(--wald); border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45);
}
.consent h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.consent p { font-size: .95rem; margin-bottom: 1rem; }
.consent-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-knoepfe .btn { flex: 1 1 10rem; min-height: 2.75rem; font-size: 1.1rem; }

/* ---------- Sportarten (Startseite) ---------- */
.sparten { border-bottom: 2px solid var(--wald); }
.sparte { border-top: 2px solid var(--wald); padding-bottom: 1.25rem; }
.sparte-kopf {
  display: grid; gap: .35rem 2rem; align-items: center; grid-template-columns: 1fr auto;
  padding: 1.35rem 0 .9rem; text-decoration: none; color: inherit;
}
.sparte-name { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
a.sparte-kopf:hover .sparte-name { text-decoration: underline; text-decoration-color: var(--gelb-tief); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.sparte-kurz { grid-column: 1 / -1; color: var(--grau); margin: 0; max-width: 60ch; }
.sparte-plus { grid-column: 2; grid-row: 1; width: 2.75rem; height: 2.75rem; border: 2px solid var(--wald); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, transform .2s; }
.sparte-plus svg { width: 16px; height: 16px; }
a.sparte-kopf:hover .sparte-plus { background: var(--gelb); transform: translateX(3px); }
@media (min-width: 860px) {
  .sparte-kopf { grid-template-columns: minmax(14rem, 4fr) 6fr auto; }
  .sparte-kurz { grid-column: auto; }
  .sparte-plus { grid-column: 3; }
}
.sparte-ohne-link { padding-bottom: 0; }
.gruppen { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.gruppen li { font-size: .85rem; font-weight: 600; padding: .15rem .6rem; background: var(--kalk); border-radius: 99px; }
.gruppen-links li { padding: 0; background: none; }
.gruppen-links a {
  display: inline-block; font-size: .9rem; font-weight: 600; padding: .3rem .8rem; border-radius: 99px;
  background: var(--kalk); text-decoration: none;
}
.gruppen-links a:hover { background: var(--gelb); }

.zeiten { width: 100%; border-collapse: collapse; font-size: .98rem; }
.zeiten th, .zeiten td { text-align: left; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 600; }
.zeiten .ort { color: var(--grau); font-size: .9rem; }
.kontaktkarte { background: var(--kalk); padding: 1.25rem; border-radius: var(--radius); align-self: start; }
.kalk .kontaktkarte { background: var(--weiss); }
.kontaktkarte p { margin-bottom: .5rem; }
.kontaktkarte h3 { font-size: 1.35rem; margin-bottom: .6rem; }

/* ---------- Abteilungsseiten ---------- */
.abt-kopf { background: var(--gelb); padding-block: clamp(2.5rem, 7vw, 5rem) 0; }
.zurueck { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: 1.5rem; text-decoration: none; }
.zurueck::before { content: ""; width: .55rem; height: .55rem; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.zurueck:hover { text-decoration: underline; }
.abt-kopf h1 { font-size: clamp(2.6rem, 11vw, 10rem); overflow-wrap: anywhere; line-height: .82; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.abt-intro { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; max-width: 44ch; margin-bottom: 1.75rem; }
.absprung { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 2px solid var(--wald); }
.absprung ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.absprung li { flex: 1 1 auto; }
.absprung a {
  display: block; padding: 1rem 1.25rem 1.1rem 0; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); text-decoration: none; white-space: nowrap;
}
.absprung a::after { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-left: .5rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-.25rem) rotate(45deg); }
.absprung a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

.einheit { padding-block: clamp(3rem, 7vw, 5rem); scroll-margin-top: 4.5rem; }
.einheit-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 1.5rem; margin-bottom: 1.75rem; }
.einheit-kopf h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.einheit-raster { display: grid; gap: 2rem; }
@media (min-width: 860px) { .einheit-raster { grid-template-columns: 5fr 4fr 3fr; } }
.einheit-raster h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.einheit-text { font-size: 1.1rem; }
.einheit-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.einheit-news { margin-top: 2.25rem; border-top: 6px solid var(--gelb); padding-top: 1rem; max-width: 760px; }
.einheit-news h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.einheit-news ul { list-style: none; margin: 0; padding: 0; }
.einheit-news li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: .45rem 0; }
.einheit-news time { color: var(--grau); font-weight: 600; }

.tabelle-wrap { overflow-x: auto; }
.zeiten-gesamt { width: 100%; min-width: 560px; border-collapse: collapse; }
.zeiten-gesamt th, .zeiten-gesamt td { text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--linie); }
.zeiten-gesamt thead th { border-bottom: 2px solid var(--wald); font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.zeiten-gesamt td:first-child a { font-weight: 600; }

.personen { list-style: none; margin: 0; padding: 0; }
.person { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 1rem !important; align-items: center; }
.person > div { display: grid; gap: .1rem; }
.person-bild { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block; }
.person-leer { display: grid; place-items: center; background: var(--wald-2); color: var(--gelb); font-family: var(--display); font-weight: 800; font-size: 1.5rem; border: 2px dashed rgba(255,204,0,.5); }
.kontaktkarte .person-bild { width: 64px; height: 64px; }
.kontaktkarte .person-leer, .personen-hell .person-leer { background: var(--weiss); color: var(--wald); border-color: var(--linie); }
.kalk .kontaktkarte .person-leer { background: var(--kalk); }
.kontakt-kopf { display: flex; gap: .9rem; align-items: center; margin-bottom: .5rem; }
.kontakt-kopf p { margin: 0; }
.vorstand-titel { font-size: 1.5rem; margin: 2rem 0 .25rem; }
.personen-hell li { border-top: 1px solid var(--linie) !important; }
.personen-hell .rolle { color: var(--grau) !important; }
.personen-hell a { color: var(--wald) !important; }
.personen li { display: grid; gap: .1rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.personen .rolle { font-size: .9rem; color: rgba(255,255,255,.7); }
.personen strong { font-size: 1.15rem; font-weight: 600; }
.personen a { color: var(--weiss); }
.dunkel .ph { color: var(--wald); }
.abt-cta p { color: rgba(255,255,255,.85); }

/* ---------- News ---------- */
.news-tag { display: inline-block; font-size: .8rem; font-weight: 600; background: var(--gelb); color: var(--wald); padding: .1rem .55rem; border-radius: 2px; margin-right: .6rem; }
.news .leer { grid-column: 1 / -1; color: var(--grau); }
.mehr { margin: 2.5rem 0 0; }
.seite-kopf .news-tag { background: var(--wald); color: var(--gelb); }
.artikel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.seite-kopf h1.artikel-titel { font-size: clamp(2.4rem, 6vw, 4.5rem); text-transform: none; line-height: 1; max-width: 22ch; }
.artikel-text { padding-block: 3rem 5rem; }
.artikel-text > * { max-width: 68ch; }
.artikel-text img { border-radius: var(--radius); margin-bottom: .5rem; }
.bildtext { font-size: .9rem; color: var(--grau); }
.teaser { font-size: 1.3rem; line-height: 1.45; font-weight: 600; }
.hinweis code { background: rgba(0,0,0,.06); padding: .05rem .3rem; }

/* ---------- Gelände (dunkel) ---------- */
.dunkel { background: var(--wald); color: var(--weiss); }
.dunkel .sektion-kopf p { color: rgba(255,255,255,.75); }
.gelaende { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .gelaende { grid-template-columns: 6fr 5fr; align-items: start; } }
.foto {
  aspect-ratio: 4 / 3; border-radius: var(--radius); position: relative; overflow: hidden;
  background: url("../img/gelaende.jpg") center / cover, var(--wald-2);
}
.foto::after { /* Fallback-Motiv, falls noch kein Foto hinterlegt ist – wird vom Foto überdeckt */
  content: ""; position: absolute; inset: 12%; border: 2px solid rgba(255,204,0,.35); border-radius: 2px;
  background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,204,0,.35) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  z-index: 0;
}
.foto img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.foto figcaption { position: absolute; left: 1rem; bottom: .75rem; z-index: 2; font-size: .85rem; color: rgba(255,255,255,.8); }
.fakten { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.fakten div { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.fakten dt { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--gelb); }
.fakten dd { margin: .3rem 0 0; font-size: .98rem; color: rgba(255,255,255,.85); }
.gelaende-text p { color: rgba(255,255,255,.88); }

/* ---------- Termine ---------- */
.kalk { background: var(--kalk); }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter button {
  font: 600 .95rem var(--text); padding: .45rem 1rem; border-radius: 99px; cursor: pointer;
  border: 2px solid var(--wald); background: transparent; color: var(--wald);
}
.filter button[aria-pressed="true"] { background: var(--wald); color: var(--gelb); }
.terminliste { list-style: none; margin: 0; padding: 0; }
.termin { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; padding: 1.25rem 0; border-top: 2px solid var(--wald); align-items: start; }
.termin:last-child { border-bottom: 2px solid var(--wald); }
.termin-datum { font-family: var(--display); line-height: .95; }
.termin-datum b { display: block; font-weight: 800; font-size: 2.6rem; }
.termin-datum span { display: block; font-weight: 600; font-size: 1.1rem; }
.termin-datum small { font-family: var(--text); font-size: .85rem; color: var(--grau); }
.termin h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.termin p { margin: 0; color: var(--grau); }
.termin .sparte-tag { display: inline-block; font-size: .8rem; font-weight: 600; background: var(--gelb); padding: .1rem .55rem; border-radius: 2px; margin-right: .4rem; color: var(--wald); }
.leer { padding: 2rem 0; border-top: 2px solid var(--wald); color: var(--grau); }
@media (min-width: 760px) { .termin { grid-template-columns: 7rem 1fr auto; } }

/* ---------- Neuigkeiten ---------- */
.news { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .news { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.news article { border-top: 6px solid var(--gelb); padding-top: 1.1rem; }
.news .datum { font-size: .9rem; color: var(--grau); margin-bottom: .5rem; display: block; }
.news h3 { margin-bottom: .6rem; }
.news h3 a { text-decoration: none; }
.news h3 a:hover { text-decoration: underline; text-decoration-color: var(--gelb-tief); }

/* ---------- Mitglied werden (gelb) ---------- */
.gelb { background: var(--gelb); }
.gelb .sektion-kopf p { color: var(--wald); }
.schritte { list-style: none; margin: 0 0 3.5rem; padding: 0; display: grid; gap: 2rem; counter-reset: schritt; }
@media (min-width: 860px) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritte li { counter-increment: schritt; border-top: 2px solid var(--wald); padding-top: 1rem; }
.schritte li::before { content: counter(schritt); font-family: var(--display); font-weight: 800; font-size: 3.5rem; line-height: 1; display: block; margin-bottom: .5rem; }
.schritte h3 { margin-bottom: .5rem; }
.beitraege-wrap { overflow-x: auto; background: var(--weiss); border-radius: var(--radius); padding: .5rem 1.5rem 1rem; }
.beitraege { width: 100%; border-collapse: collapse; min-width: 520px; }
.beitraege caption { text-align: left; font-family: var(--display); font-weight: 600; font-size: 1.6rem; padding: 1rem 0 .5rem; }
.beitraege th, .beitraege td { text-align: left; padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--linie); }
.beitraege td:last-child, .beitraege th:last-child { text-align: right; }

/* ---------- Unterstützen: betterplace-Projekte + Gooding ---------- */
.unterstuetzen { display: grid; gap: 3rem; }
@media (min-width: 900px) { .unterstuetzen { grid-template-columns: 7fr 4fr; align-items: start; } }
.unterstuetzen-titel { font-size: 1.6rem; color: var(--gelb); margin-bottom: 1rem; }
.projekte { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .projekte { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.projekt { border-top: 6px solid var(--gelb); padding-top: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.projekt-meta { display: flex; align-items: center; gap: .25rem; min-height: 1.4rem; }
.projekt h3 { margin: .35rem 0 .4rem; }
.projekt p { margin-bottom: .75rem; }
.dunkel .projekt p { color: rgba(255,255,255,.85); }
.projekt .btn { margin-top: auto; }
.fortschritt { width: 100%; height: .75rem; border-radius: 99px; background: var(--wald-2); overflow: hidden; margin: .25rem 0 .4rem; }
.projekte-hell .fortschritt { background: var(--linie); }
.fortschritt span { display: block; height: 100%; background: var(--gelb); border-radius: inherit; }
.projekte-hell .fortschritt span { background: var(--wald); }
.stand { font-size: .95rem; }
.stand span { opacity: .7; }
.dunkel .projekte .leer { color: rgba(255,255,255,.75); }
.hinweis-klein { font-size: .9rem; margin-top: 1.5rem; }
.dunkel .hinweis-klein { color: rgba(255,255,255,.65); }
.gooding { background: var(--gelb); color: var(--wald); border-radius: var(--radius); padding: 1.75rem; }
.gooding h3 { font-size: 1.9rem; margin-bottom: .75rem; }
.gooding-vorteile { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.gooding-vorteile li { padding: .5rem 0 .5rem 1.6rem; border-top: 1px solid rgba(20,20,20,.2); position: relative; font-weight: 600; }
.gooding-vorteile li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: .7rem; height: .35rem; border-left: 2.5px solid var(--wald); border-bottom: 2.5px solid var(--wald); transform: rotate(-45deg); }
.dunkel .gooding :focus-visible { outline-color: var(--wald); }
.seitenspalte { display: grid; gap: 1.25rem; align-content: start; }
.shop { border: 2px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.shop h3 { font-size: 1.6rem; color: var(--gelb); margin-bottom: .5rem; }
.shop p { color: rgba(255,255,255,.85); }

.freunde { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.freunde-kopf p { color: rgba(255,255,255,.85); max-width: 60ch; }
.freunde-liste { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.freund { background: var(--weiss); color: var(--wald); border-radius: var(--radius); height: 104px; padding: 24px 12px 12px; display: grid; place-items: center; text-align: center; position: relative; font-weight: 600; line-height: 1.25; }
.freund img { max-width: 100%; max-height: 64px; object-fit: contain; }
.freund .beispiel { position: absolute; top: 6px; right: 6px; font-size: .65rem; }
.freund-leer { grid-column: 1 / -1; background: transparent; color: rgba(255,255,255,.75); border: 2px dashed rgba(255,255,255,.3); }
.freunde-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.stufen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.stufen li { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.stufen .ph { color: var(--wald); font-weight: 400; }
.medaille { width: 22px; height: 22px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 3px rgba(255,255,255,.4); }
.medaille.bronze { background: #B5794A; } .medaille.silber { background: #A9AFB4; } .medaille.gold { background: #D4A72C; }

/* ---------- Vereinsheim & Kontakt ---------- */
.zweispaltig { display: grid; gap: 3rem; }
@media (min-width: 900px) { .zweispaltig { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.zweispaltig h2 { margin-bottom: 1.25rem; }
.liste-plain { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.liste-plain li { padding: .6rem 0; border-bottom: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 1rem; }
.kontakt-daten { font-size: 1.15rem; font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.vorstand { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.vorstand li { padding: .5rem 0; border-top: 1px solid var(--linie); }
.vorstand span:first-child { color: var(--grau); display: block; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wald); color: rgba(255,255,255,.85); padding-block: 3.5rem 2rem; font-size: .98rem; }
.footer-raster { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-raster { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.3rem; font-weight: 600; color: var(--gelb); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer a { color: var(--weiss); }
.footer-unten { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-wortmarke { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 10vw, 6.5rem); line-height: .85; color: var(--gelb); text-transform: uppercase; margin-bottom: 1rem; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.seite-kopf { background: var(--gelb); padding-block: clamp(3rem, 7vw, 5rem); }
.seite-kopf h1 { font-size: clamp(3rem, 9vw, 6rem); text-transform: uppercase; line-height: .9; }
.rechtstext { padding-block: 3rem 5rem; }
.rechtstext h2 { font-size: 1.9rem; margin: 2.5rem 0 .75rem; }
.rechtstext h3 { font-size: 1.35rem; margin: 1.75rem 0 .5rem; }
.hinweis { background: var(--kalk); border-left: 6px solid var(--gelb); padding: 1rem 1.25rem; margin-bottom: 2rem; max-width: 64ch; }

@media print {
  .site-header, .nav-toggle, .filter, .consent, .hero-bild { display: none !important; }
  .hero, .gelb, .dunkel, .kalk { background: none !important; color: #000 !important; }
}


/* ==========================================================================
   Ergänzungen Nov 2026: News-Slider, Projekte, Unterstützen, Training, Dokumente
   ========================================================================== */
.btn-rand-hell { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,.6); }
.btn-rand-hell:hover { background: var(--weiss); color: var(--wald); border-color: var(--weiss); }
.btn-klein { min-height: 2.4rem; padding: .3rem 1rem; font-size: 1.05rem; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.kicker::before { content: ""; width: 28px; height: 6px; background: var(--gelb); display: block; }
.seite-intro { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; max-width: 46ch; margin: 1.25rem 0 0; }
.pfeil-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; margin-top: 1rem; }
.pfeil-link::after { content: "→"; }

/* --- News-Karten mit Bild --- */
.news-karte { border-top: 0 !important; padding-top: 0 !important; display: flex; flex-direction: column; }
.news-bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; background: var(--wald); border-bottom: 6px solid var(--gelb); }
.news-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-karte:hover .news-bild img { transform: scale(1.04); }
.news-bild-leer { width: 100%; height: 100%; display: grid; place-items: center; background: var(--gelb); color: var(--wald);
  font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: -.01em;
  background-image: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(20,20,20,.07) 22px 44px); }
.dunkel .news-bild { border-bottom-color: var(--gelb); }

/* --- Slider --- */
.slider { margin-bottom: 3rem; }
.slider-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--wald); padding-bottom: .6rem; }
.slider-kopf h3 { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
.slider-pfeile { display: flex; gap: .5rem; }
.slider-pfeile button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--wald); background: var(--wald); color: var(--gelb);
  font: 800 1.6rem/1 var(--display); cursor: pointer; display: grid; place-items: center; padding-bottom: .15rem; }
.slider-pfeile button:disabled { background: transparent; color: var(--wald); opacity: .35; cursor: default; }
.slider-spur { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 1.5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .75rem; scrollbar-width: thin; scrollbar-color: var(--wald) transparent; }
.slider-spur > * { scroll-snap-align: start; }
@media (min-width: 900px) { .slider-spur { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); } }
.slider .news-karte h3 { font-size: 1.45rem; }
.slider .news-karte p { font-size: 1rem; }

/* --- Projektkarten --- */
.projekt-bild { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); margin-bottom: .75rem; }
.projekt-bild img { width: 100%; height: 100%; object-fit: cover; }
.projekt:has(.projekt-bild) { border-top: 0; padding-top: 0; }
.projekt h3 a { text-decoration: none; color: inherit; }
.projekt-summe { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--gelb); margin: 0 0 .5rem !important; }
.projekte-hell .projekt-summe { color: var(--wald); }
.projekt-summe span { display: block; font-family: var(--text); font-weight: 400; font-size: .9rem; color: rgba(255,255,255,.7); margin-top: .3rem; }
.projekte-hell .projekt-summe span { color: var(--grau); }
.projekt-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.unterstuetzen-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }

/* --- Unterstützen-Seite --- */
.hero-klein { padding-block: clamp(3rem, 8vw, 6rem); }
.hero-klein h1 { font-size: clamp(3rem, 10vw, 7.5rem); line-height: .85; text-transform: uppercase; letter-spacing: -.02em; }
.kennzahlen { display: grid; gap: 1rem; margin: 2.5rem 0; max-width: 900px; }
@media (min-width: 700px) { .kennzahlen { grid-template-columns: repeat(3, 1fr); } }
.kennzahlen div { border-top: 3px solid var(--wald); padding-top: .75rem; }
.kennzahlen b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.kennzahlen span { font-size: .98rem; }
.projekt-detail { padding-block: var(--sektion); scroll-margin-top: 4rem; }
.projekt-detail-raster { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .projekt-detail-raster { grid-template-columns: 6fr 5fr; align-items: start; gap: 4rem; }
  .projekt-detail.kalk .projekt-foto { order: 2; } }
.projekt-foto { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--wald); border-bottom: 10px solid var(--gelb); }
.projekt-foto img { width: 100%; height: 100%; object-fit: cover; }
.projekt-detail h2 { font-size: clamp(2.8rem, 7vw, 5rem); text-transform: uppercase; margin-bottom: 1rem; }
.projekt-detail h3 { font-size: 1.5rem; margin: 1.5rem 0 .5rem; }
.projekt-intro { font-size: 1.2rem; }
.haken { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.haken li { padding: .55rem 0 .55rem 1.8rem; border-top: 1px solid var(--linie); position: relative; }
.haken li::before { content: ""; position: absolute; left: .15rem; top: 1rem; width: .75rem; height: .38rem; border-left: 2.5px solid var(--wald); border-bottom: 2.5px solid var(--wald); transform: rotate(-45deg); }
.summenbox { background: var(--gelb); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }
.summenbox p { margin: 0; }
.summenbox .summe { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; margin: .2rem 0 .3rem; }
.summenbox .fortschritt { background: var(--weiss); border: 1.5px solid var(--wald); margin-top: 1rem; }
.summenbox .fortschritt span { background: var(--wald); }
.summenbox .status { margin-top: .75rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.summenbox .status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--wald); }
.ueberweisung { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ueberweisung { grid-template-columns: 5fr 6fr; gap: 4rem; } }
.bankdaten { margin: 0; background: var(--weiss); color: var(--wald); border-radius: var(--radius); padding: 1.5rem 1.75rem; border-top: 10px solid var(--gelb); }
.bankdaten div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.bankdaten div:last-child { border-bottom: 0; }
.bankdaten dt { color: var(--grau); }
.bankdaten dd { margin: 0; font-weight: 600; }
.bankdaten .iban { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .03em; }
.zweck-box h3 { color: var(--gelb); margin-bottom: 1rem; }
.filter-hell button { border-color: rgba(255,255,255,.5); color: var(--weiss); }
.filter-hell button[aria-pressed="true"] { background: var(--gelb); border-color: var(--gelb); color: var(--wald); }
.zweck { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--wald-2); border-left: 6px solid var(--gelb);
  padding: 1rem 1.25rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; max-width: none; }
.wege { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .wege { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wege { grid-template-columns: repeat(4, 1fr); } }
.weg { border: 2px solid var(--wald); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.weg h3 { margin-bottom: .5rem; }
.weg .btn { margin-top: auto; }
.weg .stufen { margin: .25rem 0 1.25rem; flex-direction: column; gap: .4rem; }
.weg-gelb { background: var(--gelb); border-color: var(--gelb); }
.freunde-hell { border-top-color: var(--linie); }
.freunde-hell h3 { font-size: 1.6rem; }
.freunde-hell .freund { background: var(--kalk); }
.freunde-hell .freund-leer { color: var(--grau); border-color: var(--linie); }

/* --- Trainingszeiten (Wochenplan) --- */
.wochenplan { display: grid; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 700px) { .wochenplan { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wochenplan { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; } }
.tag { background: var(--kalk); border-radius: var(--radius); padding: 1rem; border-top: 8px solid var(--wald); }
.tag h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.tag-leer { opacity: .55; }
.tag ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.training { background: var(--weiss); border-radius: var(--radius); padding: .7rem .75rem; border-left: 5px solid var(--gelb); display: grid; gap: .15rem; }
.training-zeit { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.training a { text-decoration: none; display: grid; gap: .2rem; justify-items: start; }
.training a strong { line-height: 1.2; }
.training a:hover strong { text-decoration: underline; text-decoration-color: var(--gelb-tief); }
.training .news-tag { font-size: .72rem; margin: 0; }
.training-ort { font-size: .85rem; color: var(--grau); }
.tag .leer { font-size: .9rem; color: var(--grau); margin: 0; }

/* --- Dokumente --- */
.dokumente { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.dokument a { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: center; padding: .9rem 1rem; border: 2px solid var(--wald);
  border-radius: var(--radius); text-decoration: none; background: var(--weiss); color: var(--wald); transition: background .15s; }
.dokument a:hover { background: var(--gelb); }
.dokument-icon { width: 3.25rem; height: 3.9rem; background: var(--wald); color: var(--gelb); font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: end center; padding-bottom: .5rem; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.dokument-text { display: grid; gap: .15rem; }
.dokument-text strong { font-size: 1.08rem; }
.dokument-text span { font-size: .92rem; color: var(--grau); }
.dokument a:hover .dokument-text span { color: var(--wald); }
.dokumente-kurz { margin-top: 3rem; background: var(--weiss); border-radius: var(--radius); padding: 1.75rem; max-width: 760px; }
.dokumente-kurz h3 { margin-bottom: 1rem; }
.dok-gruppe { margin-bottom: 3rem; }
.dok-gruppe h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.25rem; }
@media (min-width: 900px) { .dok-gruppe .dokumente { grid-template-columns: repeat(2, 1fr); } }
.gelaende .foto img { position: relative; z-index: 1; }
.news-karte h3 { margin-bottom: .6rem; }
.news-karte h3 a { text-decoration: none; }
.news-karte h3 a:hover { text-decoration: underline; text-decoration-color: var(--gelb-tief); }
.dunkel .projekt .projekt-summe { color: var(--gelb); }
.weg-gelb .kicker::before { background: var(--wald); }
.news-bild { text-decoration: none; }
.aussserdem { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .5rem; color: var(--grau); }
.aussserdem a, .aussserdem strong { color: var(--wald); font-weight: 600; }

/* --- Animation im Kopf der Abteilungsseiten --- */
.abt-kopf-raster { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .abt-kopf-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; } }
.abt-anim { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; background: var(--wald); aspect-ratio: 520 / 480;
  box-shadow: 0 18px 40px -18px rgba(20,20,20,.55); border-bottom: 8px solid var(--wald); max-width: 520px; }
.abt-anim img, .abt-anim video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px) { .abt-anim { max-width: 420px; } }
.abt-kopf-raster h1 { font-size: clamp(2.6rem, 6.2vw, 6.5rem); overflow-wrap: normal; hyphens: manual; }
.beitrag-hinweise { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .5rem; max-width: 70ch; font-size: .98rem; }
.beitrag-hinweise li { padding-left: 1.1rem; position: relative; }
.beitrag-hinweise li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; background: var(--wald); }
.beitraege td:last-child, .beitraege th:last-child { white-space: nowrap; text-align: right; }
.gewerke-titel { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.gewerke { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.gewerke li { background: var(--weiss); border: 1.5px solid var(--wald); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .95rem; }
.bankdaten .iban { white-space: nowrap; font-size: .95rem; }
@media (max-width: 420px) { .bankdaten .iban { white-space: normal; } }

/* Startseite: Schriftzug "SV WEIHERHOF" passt sich der Textspalte an und läuft nie unter das Bild –
   auch wenn die Barlow-Schrift (noch) fehlt und der Browser eine breitere Ersatzschrift nimmt. */
.hero-text { container-type: inline-size; }
.hero h1 { font-size: clamp(3rem, 15cqi, 8.75rem); }
.hero-rechts { z-index: 0; }
