/* Webseite FSV Ramsdorf (v2) – mobile first. Farben aus dem Vereinswappen (siehe PLAN.md, Abschnitt 7a). */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --fsv-schwarz: #111111;
  --fsv-gelb: #FEED01;
  --fsv-rot: #E60003;
  --fsv-rot-dunkel: #B30015;
  --flaeche: #FFFFFF;
  --flaeche-2: #F5F5F2;
  --linie: #E2E2DC;
  --text: #111111;
  --text-2: #4A4A45;
  --gruen: #1B7F3B;
  --whatsapp: #25D366;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  --breite: 72rem;
  --streifen: repeating-linear-gradient(-28deg, var(--fsv-rot) 0 10px, var(--fsv-gelb) 10px 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--flaeche-2); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fsv-rot-dunkel); text-underline-offset: .15em; }
a:hover { color: var(--fsv-rot); }
:focus-visible { outline: 3px solid var(--fsv-rot); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--schrift-titel); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.breite { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 1rem; }
.klein { font-size: .875rem; color: var(--text-2); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--fsv-gelb); color: #000; padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }

/* ── Kopf ─────────────────────────────────────────────────────── */
.kopf { background: var(--fsv-schwarz); color: #fff; position: sticky; top: 0; z-index: 50; }
.kopf-innen { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.marke { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; margin-right: auto; padding: .4rem 0; }
.marke:hover { color: #fff; }
.marke img { width: 42px; height: 55px; }
.marke-name { display: block; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: .02em; }
.marke-zusatz { display: block; font-size: .78rem; color: var(--fsv-gelb); letter-spacing: .04em; }
.streifen { height: 6px; background: var(--streifen); }
.menue-knopf { display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); border-radius: 8px; padding: .45rem .7rem; font: inherit; font-weight: 600; cursor: pointer; }
.menue-knopf[aria-expanded="true"] { border-color: var(--fsv-gelb); color: var(--fsv-gelb); }
.hauptmenue { display: none; }
.hauptmenue.offen { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--fsv-schwarz); border-top: 1px solid #333; max-height: calc(100vh - 4.25rem); overflow-y: auto; padding: .5rem 0 1rem; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; }
.hauptmenue a { display: block; color: #fff; text-decoration: none; padding: .7rem 1.25rem; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.3rem; letter-spacing: .02em; }
.hauptmenue a:hover, .hauptmenue a[aria-current="page"] { color: var(--fsv-gelb); }
.hauptmenue .untermenue a { padding-left: 2.25rem; font-size: 1.15rem; color: #ddd; }

@media (min-width: 68rem) {
  .menue-knopf { display: none; }
  .hauptmenue, .hauptmenue.offen { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; }
  .hauptmenue > ul { display: flex; gap: .1rem; }
  .hauptmenue > ul > li { position: relative; }
  .hauptmenue a { font-size: 1.12rem; padding: .55rem .6rem; border-radius: 6px; }
  .hauptmenue > ul > li > a[aria-current="page"], .hauptmenue > ul > li.aktiv-kind > a { box-shadow: inset 0 -3px 0 var(--fsv-gelb); border-radius: 0; }
  .hauptmenue .untermenue { display: none; position: absolute; left: 0; top: 100%; min-width: 15rem; background: var(--fsv-schwarz); padding: .4rem 0; border-top: 3px solid var(--fsv-gelb); box-shadow: 0 12px 24px rgba(0,0,0,.35); }
  .hauptmenue li:hover > .untermenue, .hauptmenue li:focus-within > .untermenue { display: block; }
  .hauptmenue .untermenue a { padding: .5rem 1rem; color: #fff; }
}

/* ── Inhalt ───────────────────────────────────────────────────── */
main { display: block; min-height: 50vh; }
.abschnitt { padding: 2.25rem 0; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf h2::after { content: ""; display: block; width: 3rem; height: 5px; background: var(--streifen); margin-top: .35rem; border-radius: 2px; }
.seitenkopf { background: var(--fsv-schwarz); color: #fff; padding: 2rem 0 1.75rem; position: relative; overflow: hidden; }
.seitenkopf::after { content: ""; position: absolute; right: -4rem; top: 0; bottom: 0; width: 14rem; background: var(--streifen); transform: skewX(-20deg); opacity: .9; }
.seitenkopf .breite { position: relative; z-index: 1; }
.seitenkopf h1 { margin: 0; max-width: 85%; }
.seitenkopf p { margin: .5rem 0 0; color: #ddd; max-width: 40rem; }
.seitenkopf .oberzeile { color: var(--fsv-gelb); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .4rem; }
.karte { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.25rem; }
.raster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.inhalt-text { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.25rem; max-width: 50rem; }
@media (min-width: 40rem) { .inhalt-text { padding: 2rem 2.25rem; } }
.inhalt-text h2 { font-size: 1.7rem; margin-top: 1.4em; }
.inhalt-text h3 { margin-top: 1.2em; }
.inhalt-text figure { margin: 1.25rem 0; }
.inhalt-text figure img { border-radius: 8px; }
.inhalt-text figcaption { font-size: .875rem; color: var(--text-2); margin-top: .4rem; }
.inhalt-text blockquote { margin: 1.25rem 0; padding: .75rem 1.25rem; border-left: 5px solid var(--fsv-gelb); background: var(--flaeche-2); }
.inhalt-text hr { border: 0; height: 5px; background: var(--streifen); width: 4rem; margin: 2rem auto; border-radius: 2px; }
.tabelle-scroll { overflow-x: auto; margin: 1rem 0; }
.tabelle-scroll table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.tabelle-scroll td, .tabelle-scroll th { border-bottom: 1px solid var(--linie); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.tabelle-scroll th { background: var(--fsv-schwarz); color: #fff; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .5rem; margin: 1rem 0; }
.galerie figure { margin: 0; }
.galerie img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 6px; }
.spalten { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .spalten { grid-template-columns: 1fr 1fr; } }

/* ── Knöpfe und Marken ───────────────────────────────────────── */
.knopf { display: inline-flex; align-items: center; gap: .45rem; background: var(--fsv-rot); color: #fff; border: 2px solid var(--fsv-rot); border-radius: 999px; padding: .6rem 1.2rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; }
.knopf:hover { background: var(--fsv-rot-dunkel); border-color: var(--fsv-rot-dunkel); color: #fff; }
.knopf-zweit { background: transparent; color: var(--text); border-color: var(--text); }
.knopf-zweit:hover { background: var(--text); color: #fff; border-color: var(--text); }
.knopf-gelb { background: var(--fsv-gelb); color: #000; border-color: var(--fsv-gelb); }
.knopf-gelb:hover { background: #fff; color: #000; border-color: #fff; }
.marke-chip { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; background: var(--flaeche-2); color: var(--text-2); }
.marke-chip.live { background: var(--fsv-rot); color: #fff; animation: puls 1.6s ease-in-out infinite; }
.marke-chip.heim { background: var(--fsv-gelb); color: #000; }
.marke-chip.abgesagt { background: #000; color: #fff; }
@keyframes puls { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .marke-chip.live { animation: none; } }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.chips a, .chips button { display: inline-block; padding: .35rem .85rem; border-radius: 999px; border: 2px solid var(--linie); background: var(--flaeche); color: var(--text); text-decoration: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chips [aria-pressed="true"], .chips [aria-current="true"] { background: var(--fsv-schwarz); border-color: var(--fsv-schwarz); color: var(--fsv-gelb); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { background: var(--fsv-schwarz); color: #fff; position: relative; overflow: hidden; }
/* Streifen nur als Keil am rechten Rand – nicht hinter dem Text */
.hero::before { content: ""; position: absolute; top: -20%; bottom: -20%; right: -2.25rem; width: 3.5rem; background: var(--streifen); transform: skewX(-18deg); opacity: .9; }
.hero-innen { position: relative; z-index: 1; display: grid; gap: 1rem; padding: 1.25rem 2.25rem 1.5rem 1rem; }
.hero .knopf { padding: .55rem 1rem; font-size: .95rem; }
.hero .oberzeile { color: var(--fsv-gelb); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .8rem; margin: 0 0 .4rem; }
.hero h1 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 5vw, 2.3rem); }
/* Paarung nur so breit wie nötig – sonst rutscht „vs“ am PC weit auseinander */
.hero-paarung { display: grid; grid-template-columns: auto auto auto; width: fit-content; max-width: 100%; align-items: center; gap: .6rem 1.25rem; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: .6rem .85rem; }
.hero-paarung .team { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(1.05rem, 3.8vw, 1.5rem); line-height: 1.05; overflow-wrap: break-word; }
.hero-paarung .team:last-child { text-align: right; }
.hero-paarung .mitte { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(1.3rem, 4.5vw, 1.9rem); color: var(--fsv-gelb); text-align: center; }
.hero-info { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: #eee; margin: .6rem 0 .85rem; font-size: .95rem; }
.hero-info span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-wappen { display: none; }
@media (min-width: 52rem) {
  .hero-innen { grid-template-columns: 1fr 8rem; align-items: center; gap: 2rem; padding: 1.75rem 6rem 2rem 1rem; }
  .hero-wappen { display: block; width: 8rem; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
  .hero::before { width: 9rem; right: -2rem; }
}

/* ── Spielkarten ──────────────────────────────────────────────── */
.spielliste { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.spielkarte { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: .9rem 1rem; border-left: 5px solid var(--linie); }
.spielkarte.sieg { border-left-color: var(--gruen); }
.spielkarte.niederlage { border-left-color: var(--fsv-rot); }
.spielkarte.remis { border-left-color: #8a8a80; }
.spielkarte.live { border-left-color: var(--fsv-rot); box-shadow: 0 0 0 2px var(--fsv-rot), var(--schatten); }
.spielkarte.abgesagt { opacity: .75; }
.sk-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-size: .85rem; color: var(--text-2); margin-bottom: .55rem; }
.sk-kopf a { color: var(--text); font-weight: 700; text-decoration: none; }
.sk-kopf a:hover { text-decoration: underline; }
.sk-kopf .marke-chip { margin-left: auto; }
.sk-paarung { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; }
.sk-team { overflow-wrap: anywhere; min-width: 0; font-weight: 600; line-height: 1.25; font-size: .98rem; }
.sk-team.gast { text-align: right; }
.sk-team.wir { font-weight: 800; }
.sk-ergebnis { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.7rem; min-width: 4.2rem; text-align: center; background: var(--fsv-schwarz); color: #fff; border-radius: 6px; padding: .05rem .5rem; font-variant-numeric: tabular-nums; }
.sk-ergebnis.offen { background: var(--flaeche-2); color: var(--text); font-size: 1.15rem; padding: .35rem .5rem; }
.sk-fuss { font-size: .82rem; color: var(--text-2); margin-top: .55rem; display: flex; gap: .3rem; align-items: center; }
.sk-titel { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.3rem; margin: 0 0 .3rem; }
.sk-bilanz { display: flex; gap: .4rem; flex-wrap: wrap; margin: .3rem 0 .4rem; }
.sk-bilanz span { font-size: .8rem; font-weight: 700; padding: .1rem .45rem; border-radius: 4px; background: var(--flaeche-2); }
.sk-bilanz .s { background: #DDF1E3; color: #0E5A28; }
.sk-bilanz .n { background: #FBE0E0; color: #8A0010; }
.turnier-spiele { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .92rem; }
.turnier-spiele li { display: flex; justify-content: space-between; gap: .75rem; padding: .3rem 0; border-top: 1px solid var(--linie); }
.turnier-spiele .erg { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.turnier-spiele .erg.sieg { color: var(--gruen); }
.turnier-spiele .erg.niederlage { color: var(--fsv-rot-dunkel); }
details.turnier summary { cursor: pointer; padding: .7rem 0; margin-bottom: -.4rem; font-size: .9rem; font-weight: 600; color: var(--fsv-rot-dunkel); margin-top: .3rem; }
.leer { color: var(--text-2); background: var(--flaeche); border-radius: var(--radius); padding: 1rem 1.25rem; border: 2px dashed var(--linie); }
.stand { font-size: .8rem; color: var(--text-2); margin-top: .6rem; }

/* ── Beitragskarten ───────────────────────────────────────────── */
.beitragskarte { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.beitragskarte .bild { aspect-ratio: 16/9; background: var(--fsv-schwarz); overflow: hidden; }
.beitragskarte .bild img { width: 100%; height: 100%; object-fit: cover; }
.beitragskarte .bild.leer-bild { display: grid; place-items: center; background: var(--fsv-schwarz) var(--streifen); }
.beitragskarte .bild.leer-bild img { width: 4rem; height: auto; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.beitragskarte .text { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.beitragskarte h3 { margin: 0; font-size: 1.35rem; }
.beitragskarte h3 a { color: var(--text); text-decoration: none; }
.beitragskarte h3 a::after { content: ""; position: absolute; inset: 0; }
.beitragskarte:hover h3 a { color: var(--fsv-rot-dunkel); }
.beitragskarte p { margin: 0; color: var(--text-2); font-size: .95rem; }
.beitragskarte .meta { font-size: .8rem; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ── Abteilungen, Mannschaften ────────────────────────────────── */
.kachel { background: var(--fsv-schwarz); color: #fff; border-radius: var(--radius); padding: 1.25rem; text-decoration: none; display: flex; flex-direction: column; gap: .4rem; position: relative; overflow: hidden; min-height: 9rem; }
.kachel::after { content: ""; position: absolute; right: -2.5rem; top: -1rem; bottom: -1rem; width: 4.5rem; background: var(--streifen); transform: skewX(-18deg); transition: right .2s; }
.kachel:hover { color: #fff; }
.kachel:hover::after { right: -1.5rem; }
.kachel h3 { color: var(--fsv-gelb); margin: 0; font-size: 1.6rem; position: relative; z-index: 1; max-width: 80%; }
.kachel p { margin: 0; color: #ddd; font-size: .95rem; position: relative; z-index: 1; max-width: 85%; }
.mannschaftskarte { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.mannschaftskarte:hover { color: var(--text); box-shadow: 0 0 0 3px var(--fsv-gelb), var(--schatten); }
.mannschaftskarte .bild { aspect-ratio: 4/3; background: var(--fsv-schwarz); display: grid; place-items: center; overflow: hidden; }
.mannschaftskarte .bild img { width: 100%; height: 100%; object-fit: cover; }
.mannschaftskarte .bild .wappen { width: 5rem; height: auto; object-fit: contain; }
.mannschaftskarte .text { padding: 1rem 1.1rem; }
.mannschaftskarte h3 { margin: 0 0 .2rem; font-size: 1.5rem; }
.infoliste { list-style: none; margin: 0; padding: 0; }
.infoliste li { display: flex; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--linie); }
.infoliste li:first-child { border-top: 0; }
.zweispaltig { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .zweispaltig { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; } }

/* ── Fremdinhalte (2-Klick) ───────────────────────────────────── */
.extern-inhalt { background: var(--flaeche); border: 2px dashed var(--linie); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.extern-inhalt p { margin: 0; }
.extern-inhalt.geladen { border: 0; padding: 0; background: none; display: block; }
.extern-inhalt iframe { width: 100%; min-height: 420px; border: 0; background: #fff; border-radius: var(--radius); }

/* ── Terminvorschau ───────────────────────────────────────────── */
.monat { margin-bottom: 2rem; }
.monat h2 { font-size: 1.6rem; position: sticky; top: 4.6rem; background: var(--flaeche-2); padding: .4rem 0; z-index: 2; }
.termin { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: .9rem 1rem; margin-bottom: .6rem; }
.termin .tag { background: var(--fsv-schwarz); color: #fff; border-radius: 8px; text-align: center; padding: .4rem .2rem; font-family: var(--schrift-titel); line-height: 1.05; align-self: start; }
.termin .tag b { display: block; font-size: 1.8rem; color: var(--fsv-gelb); }
.termin .tag span { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.termin h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.termin .meta { font-size: .88rem; color: var(--text-2); display: flex; flex-wrap: wrap; gap: .2rem .9rem; }
.termin .meta span { display: inline-flex; gap: .3rem; align-items: center; }
.termin.abgesagt h3 { text-decoration: line-through; }

/* ── Sponsoren ────────────────────────────────────────────────── */
.sponsoren-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.sponsor { background: #fff; border-radius: 8px; box-shadow: var(--schatten); padding: .75rem; display: grid; place-items: center; aspect-ratio: 3/2; text-decoration: none; color: var(--text); text-align: center; font-weight: 700; }
.sponsor img { max-height: 100%; width: auto; object-fit: contain; }
a.sponsor:hover { box-shadow: 0 0 0 3px var(--fsv-gelb), var(--schatten); }
.sponsorenleiste { background: #fff; border-top: 1px solid var(--linie); padding: 1.5rem 0; }

/* ── Fuß ──────────────────────────────────────────────────────── */
.fuss { background: var(--fsv-schwarz); color: #ddd; margin-top: 3rem; font-size: .95rem; }
.fuss .streifen { height: 8px; }
.fuss-innen { display: grid; gap: 2rem; padding: 2.5rem 1rem 6rem; }
@media (min-width: 48rem) { .fuss-innen { grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 3rem; } }
.fuss h2 { color: var(--fsv-gelb); font-size: 1.3rem; margin-bottom: .7rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--fsv-gelb); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fuss .unterzeile { border-top: 1px solid #2a2a2a; padding: 1rem; font-size: .8rem; color: #999; text-align: center; }
.fuss-marke { display: flex; gap: .9rem; align-items: center; margin-bottom: .8rem; }
.fuss-marke img { width: 56px; height: auto; }
.kontakt-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
.knopf-wa, .fuss .knopf-wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #062A12; }
.knopf-wa:hover, .fuss .knopf-wa:hover { background: #1DA851; border-color: #1DA851; color: #000; }
.knopf-fb, .fuss .knopf-fb { background: #fff; border-color: #fff; color: #111; }
.knopf-fb:hover, .fuss .knopf-fb:hover { background: var(--fsv-gelb); border-color: var(--fsv-gelb); color: #000; }

/* Schwebender WhatsApp-Knopf */

/* ── Seitennavigation, Formulare, Hinweise ───────────────────── */
.blaettern { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.formular { display: grid; gap: 1rem; max-width: 26rem; }
.formular label { font-weight: 700; display: grid; gap: .3rem; }
.formular input { font: inherit; padding: .65rem .8rem; border: 2px solid #8a8a80; border-radius: 8px; background: #fff; }
.formular input:focus { border-color: var(--fsv-schwarz); outline: 3px solid var(--fsv-gelb); }
.formular .hilfe { font-weight: 400; font-size: .85rem; color: var(--text-2); }
.hinweis { border-radius: 8px; padding: .8rem 1rem; margin-bottom: 1rem; background: #FFF8C5; border-left: 5px solid var(--fsv-gelb); }
.hinweis.fehler { background: #FDE8E8; border-left-color: var(--fsv-rot); }
.hinweis.ok { background: #E3F4E8; border-left-color: var(--gruen); }
.vorschau-band { background: var(--fsv-gelb); color: #000; text-align: center; padding: .5rem; font-weight: 700; }
.zahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .75rem; }
.zahl { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1rem; }
.zahl b { display: block; font-family: var(--schrift-titel); font-size: 2.2rem; line-height: 1; }
.aktionen { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.knopf[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Startseite: Schnellzugriff (Sprung zu den Bausteinen) */
.schnellzugriff { background: var(--flaeche); border-bottom: 1px solid var(--linie); padding: .65rem 0; }
.schnellzugriff .breite { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; }
.schnellzugriff .chips { margin: 0; }
.schnellzugriff .chips a { font-size: 1rem; padding: .5rem 1rem; }
.schnellzugriff .chips a:hover, .schnellzugriff .chips a:focus-visible { background: var(--fsv-schwarz); border-color: var(--fsv-schwarz); color: var(--fsv-gelb); }
.schnellzugriff-titel { font-weight: 700; font-size: .95rem; color: var(--text-2); }
[id^="start-"] { scroll-margin-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Knopf „Bearbeiten“ für angemeldete Redakteure */
.bearbeiten-knopf { position: fixed; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: .4rem; background: var(--fsv-schwarz); color: var(--fsv-gelb); font-weight: 700; text-decoration: none; padding: .7rem 1.15rem; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.3); border: 2px solid var(--fsv-gelb); }
.bearbeiten-knopf:hover, .bearbeiten-knopf:focus-visible { background: var(--fsv-gelb); color: var(--fsv-schwarz); }
@media print { .bearbeiten-knopf { display: none; } }

/* Tippflächen mindestens 44 px (docs/UX-REGELN.md) */
.knopf { min-height: 2.75rem; }
.chips a, .chips button { min-height: 2.75rem; display: inline-flex; align-items: center; }
label:has(> [data-merken]) { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .5rem; }
/* Platz unter der letzten Zeile, damit die schwebenden Knöpfe (WhatsApp, Bearbeiten) nichts verdecken */
.fuss .unterzeile { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }

/* Leiste für Angemeldete (über dem Kopf, scrollt mit weg) */
.angemeldet-leiste { background: var(--fsv-gelb); color: #000; font-size: .95rem; }
.angemeldet-leiste .breite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.angemeldet-wer { overflow-wrap: anywhere; min-width: 0; }
.angemeldet-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
.angemeldet-leiste .knopf { padding: .45rem 1rem; }
.knopf-schwarz { background: var(--fsv-schwarz); color: var(--fsv-gelb); border-color: var(--fsv-schwarz); }
.knopf-schwarz:hover { background: #333; color: var(--fsv-gelb); border-color: #333; }
.angemeldet-leiste .knopf-zweit { color: #000; border-color: #000; }
.angemeldet-leiste .knopf-zweit:hover { background: #000; color: var(--fsv-gelb); }
.abmelden-form { display: inline; margin: 0; }
.link-knopf { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.link-knopf:hover, .link-knopf:focus-visible { color: var(--fsv-gelb); }

/* Ort mit Kartenlink (Termine, Training, großer Kasten) */
.ort-link { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
