/* SC Neuenheim 1902, Startseite Entwurf v2.
   Hausschrift und Hausfarben der bisherigen Seite (OceanWP-Einstellungen von www.scneuenheim.com):
   Roboto Slab, Königsblau #4169e1, Linkblau #1e73be. Dazu Tinte (dunkles Blau) und Papier (helles Grau).
   Schriftstufen: klein 15, text 18, gross, riesig. Gewichte 400, 600, 800. */
@font-face { font-family: "Roboto Slab"; src: url("fonts/roboto-slab-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --blau: #1e73be; --koenig: #4169e1; --tinte: #0c1636; --papier: #f2f4f9;
  --klein: .9375rem; --text: 1.125rem; --gross: clamp(1.875rem, 4.6vw, 3.25rem); --riesig: clamp(3rem, 10.5vw, 7.25rem);
  --tabs: 68px; --kurve: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Roboto Slab", Georgia, serif; font-size: var(--text); line-height: 1.6; color: var(--tinte); background: #fff; padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; }
h1 { font-size: var(--riesig); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: var(--gross); text-transform: uppercase; letter-spacing: -.01em; }
h3 { font-size: var(--text); line-height: 1.3; }
p { margin: 0 0 1em; }
strong, th { font-weight: 600; }
.breit { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--koenig); outline-offset: 3px; }

.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 10px; background: var(--koenig); color: #fff; border: 2px solid var(--koenig); font-weight: 800; text-decoration: none; transition: transform .15s var(--kurve), background-color .2s var(--kurve); }
.knopf:hover { background: var(--blau); border-color: var(--blau); }
.knopf:active { transform: scale(.97); }
.knopf-rand { background: rgba(255,255,255,.08); border-color: #fff; }
.knopf-rand:hover { background: #fff; color: var(--tinte); border-color: #fff; }
.knopf-hell { background: #fff; border-color: #fff; color: var(--blau); }
.mehr { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: var(--klein); text-decoration: none; }
.mehr::after { content: "→"; margin-left: .45em; transition: transform .2s var(--kurve); }
.mehr:hover::after { transform: translateX(3px); }

/* Kopf: auf dem Handy feste App-Leiste */
.kopf { position: sticky; top: 0; z-index: 40; background: var(--blau); color: #fff; padding-top: env(safe-area-inset-top); }
.kopf-innen { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; line-height: 1.1; margin-right: auto; text-transform: uppercase; }
.marke img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; }
.marke small { display: block; font-size: var(--klein); font-weight: 600; text-transform: none; opacity: .85; }
.sprache { display: flex; background: rgba(255,255,255,.15); border-radius: 10px; padding: 3px; }
.sprache a { min-width: 44px; min-height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-weight: 800; font-size: var(--klein); border-radius: 8px; }
.sprache a[aria-current] { background: #fff; color: var(--blau); }
.haupt, .kopf-knopf, .mega { display: none; }

/* Einstieg */
/* Handy: Bild oben ganz sichtbar, Text darunter, damit Gesichter frei bleiben */
.einstieg { position: relative; display: flex; flex-direction: column; color: #fff; background: var(--tinte); overflow: hidden; }
.einstieg-bild { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; animation: ruhig 1.2s var(--kurve) both; }
@keyframes ruhig { from { transform: scale(1.05); opacity: .6; } to { transform: none; opacity: 1; } }
.einstieg-schleier { display: none; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,54,.1) 20%, rgba(12,22,54,.35) 45%, rgba(12,22,54,.94) 92%); }
.einstieg-text { position: relative; padding-top: 22px; padding-bottom: 10px; }
.plakette { display: inline-block; background: #fff; color: var(--blau); font-weight: 800; font-size: var(--klein); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.claim { font-weight: 600; margin: 14px 0 0; max-width: 30em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.knoepfe .knopf { flex: 1 1 100%; }
.bildnachweis { position: relative; margin: 0; padding: 4px 20px 56px; font-size: var(--klein); color: rgba(255,255,255,.7); }

/* Wischreihen auf dem Handy */
.wisch { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; padding-bottom: 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.wisch::-webkit-scrollbar { display: none; }
.wisch > * { scroll-snap-align: start; }
.reihe-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.klein-titel { font-size: var(--text); letter-spacing: .04em; }

/* Spielzentrum */
.spielzentrum { position: relative; margin-top: -40px; z-index: 2; }
.spielzentrum .reihe-kopf { background: #fff; border-radius: 16px 16px 0 0; padding: 12px 16px 2px; margin: 0 -4px 0; }
.spielkarte { background: #fff; border-radius: 16px; padding: 16px 16px 6px; box-shadow: 0 8px 28px rgba(12,22,54,.14); display: flex; flex-direction: column; border: 1px solid #e4e8f2; }
.spielkarte.vorbei { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.spiel-kopf { font-size: var(--klein); font-weight: 800; color: var(--blau); margin-bottom: 10px; }
.vorbei .spiel-kopf { color: #9fb8ff; }
.heim .spiel-kopf::after { content: "  ●"; color: var(--koenig); }
.paarung { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
.mannschaft { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; font-size: var(--klein); line-height: 1.25; }
.mannschaft img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.mannschaft img.logo { padding: 6px; box-shadow: inset 0 0 0 1px #e4e8f2; }
.vorbei .mannschaft img.logo { box-shadow: none; }
.stand { display: flex; gap: 8px; font-size: var(--gross); font-weight: 800; line-height: 1; opacity: .55; }
.stand .sieg { opacity: 1; }
.vorbei .stand { opacity: 1; } .vorbei .stand span:first-child { opacity: .5; }
.stand.gegen { font-size: var(--klein); opacity: 1; color: #5a6380; }
.spiel-ort { font-size: var(--klein); text-align: center; margin: 12px 0 4px; color: #5a6380; }
.vorbei .spiel-ort { color: #c9d3ee; }
.spiel-ort svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-right: 4px; }
.karte-link { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 48px; border-top: 1px solid #e4e8f2; font-weight: 800; font-size: var(--klein); text-decoration: none; }
.vorbei .karte-link { color: #fff; border-color: rgba(255,255,255,.2); }

/* Abschnitte */
.abschnitt { padding: 44px 0; }
.grau { background: var(--papier); }
.dunkel { background: var(--tinte); color: #fff; }
.hinweis { font-size: var(--klein); color: #5a6380; margin-top: -6px; }

/* Nachrichten */
.nachricht { display: flex; flex-direction: column; background: #fff; border: 1px solid #e4e8f2; border-radius: 16px; overflow: hidden; color: var(--tinte); text-decoration: none; transition: transform .2s var(--kurve), box-shadow .2s var(--kurve); }
.nachricht:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(12,22,54,.12); }
.nachricht > img, .ohne-bild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 15%; }
.ohne-bild { display: flex; align-items: center; justify-content: center; background: var(--blau); }
.ohne-bild img { width: 34%; height: auto; }
.nachricht-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.meta { font-size: var(--klein); font-weight: 600; color: var(--blau); }
.titel { font-weight: 800; line-height: 1.3; }
.auszug { font-size: var(--klein); color: #3d4663; line-height: 1.55; }

/* Ergebnisse und Erfolge */
.saison { display: grid; gap: 40px; }
.saison h2 { margin-bottom: 10px; }
.saison-satz { color: #c9d3ee; }
.team { display: inline-flex; align-items: center; gap: 8px; }
.strich { color: #5a6380; }
.tab-logo { display: inline-block; width: 32px; height: 32px; object-fit: contain; flex: none; background: #fff; border-radius: 50%; padding: 2px; box-shadow: inset 0 0 0 1px #e4e8f2; }
.logo-dunkel, .mannschaft img.logo-dunkel { background: var(--tinte); box-shadow: none; }
.erfolge dl { margin: 0; display: grid; gap: 18px; }
.erfolge div { border-left: 4px solid var(--koenig); padding-left: 14px; }
.erfolge dt { font-size: var(--gross); font-weight: 800; line-height: 1; }
.erfolge dd { margin: 6px 0 0; color: #c9d3ee; }

/* Mannschaften */
.kachel { position: relative; display: block; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 5; background: var(--tinte); }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--kurve); }
.kachel:hover img { transform: scale(1.04); }
.kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,54,0) 45%, rgba(12,22,54,.9) 100%); }
.kachel-text { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; font-size: var(--klein); line-height: 1.4; }
.kachel-text strong { display: block; font-size: var(--gross); font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.abteilungen { margin: 14px auto 0; }

/* Training */
.training { display: grid; gap: 28px; }
.training h2 { margin-bottom: 12px; }
.zeiten { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.zeiten th, .zeiten td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e4e8f2; }
.zeiten th { color: var(--blau); white-space: nowrap; }
.kontakt { background: #fff; border-radius: 16px; padding: 22px; border-top: 5px solid var(--koenig); align-self: start; }
.kontakt h3 { margin-bottom: 8px; }
.adresse { font-weight: 600; }
.kontakt-zeilen { margin: 16px 0 0; line-height: 1.9; }
.kontakt-zeilen a { font-weight: 600; overflow-wrap: anywhere; }

/* Partner */
.partner { padding: 44px 0; }
/* Feedback F7–F9: Originallogos, Größe nach optischer Fläche (width/height aus partner.py), Premium größer, jede Kachel verlinkt */
.logos-titel { margin: 22px 0 10px; font-size: var(--klein); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5b6685; }
.logos { --n: 3; --abstand: 8px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--abstand); }
.logos-premium { --n: 2; --abstand: 10px; }
.logos li { margin: 0; min-width: 0; flex: 0 0 calc((100% - (var(--n) - 1) * var(--abstand)) / var(--n)); }
.logos li::marker { content: none; }
.logos a { display: flex; align-items: center; justify-content: center; height: 94px; padding: 12px; background: #fff; border: 1px solid #e4e8f2; border-radius: 12px; transition: transform .2s var(--kurve), box-shadow .2s var(--kurve), border-color .2s var(--kurve); }
.logos-premium a { height: 124px; padding: 14px; }
.logos-haupt { --n: 1; }
.logos-haupt a { height: 200px; }
.logos a:hover { transform: translateY(-2px); border-color: #c9d3ee; box-shadow: 0 8px 22px rgba(12, 22, 54, .10); }
.logos a:active { transform: translateY(0); }
.logos a:focus-visible { outline: 3px solid var(--koenig); outline-offset: 2px; }
.logos img { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; }
.inhalt .partner-logos { margin: 0 0 32px; }
@media (prefers-reduced-motion: reduce) { .logos a { transition: none; } .logos a:hover { transform: none; } }

/* Fuß */
.fuss { position: relative; overflow: hidden; background: var(--tinte); color: #fff; padding: 56px 0 8px; text-align: center; }
.fuss-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.fuss::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,54,.72) 0%, rgba(12,22,54,.9) 55%, var(--tinte) 100%); }
.fuss > :not(.fuss-bild):not(picture) { position: relative; z-index: 1; }
.fuss-innen { display: grid; gap: 32px; align-items: center; }
.fuss-mitte { order: -1; }
.fuss-mitte img { width: 104px; height: 104px; object-fit: contain; background: #fff; border-radius: 50%; padding: 12px; box-shadow: 0 0 0 6px rgba(255,255,255,.14); margin-inline: auto; }
.fuss-name { font-size: 1.625rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin: 16px 0 6px; }
.fuss-name small { display: block; font-size: var(--klein); font-weight: 600; text-transform: none; opacity: .85; margin-top: 4px; }
.fuss-satz { color: #c9d3ee; font-size: var(--klein); margin: 0; }
.fuss-titel { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: var(--klein); color: #9fb8ff; margin: 0 0 8px; }
.fuss-spalte p { margin: 0 0 8px; line-height: 1.9; }
.fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 8px; }
.sozial { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.sozial a { border: 1px solid rgba(255,255,255,.35); }
.fuss a { color: #fff; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 44px; }
.sozial a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s var(--kurve); }
.sozial a:hover, .sozial a:focus-visible { background: rgba(255,255,255,.12); }
.sozial svg { width: 22px; height: 22px; fill: #fff; }

/* Untere Tab-Leiste wie in einer App */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid #e4e8f2; padding-bottom: env(safe-area-inset-bottom); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--tabs); font-size: var(--klein); font-weight: 600; color: var(--tinte); text-decoration: none; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: var(--blau); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs a:active { background: var(--papier); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (min-width: 720px) {
  .breit { padding: 0 32px; }
  .wisch { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding-bottom: 0; }
  .spielkarten { grid-template-columns: repeat(2, 1fr); }
  .raster { grid-template-columns: repeat(2, 1fr); }
  .logos { --n: 3; }
  .logos-premium { --n: 3; }
  .fuss-innen { grid-template-columns: 1fr auto 1fr; gap: 56px; }
  .fuss-mitte { order: 0; }
  .fuss-spalte:first-child { text-align: right; }
  .fuss-spalte:last-child { text-align: left; }
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .weitere-reihe { grid-template-columns: 1fr 1fr; }
  .wisch.karussell { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 64px - 12px) / 2); overflow-x: auto; padding-bottom: 14px; scroll-padding: 0 32px; }
  .karussell-steuer { display: flex; }
}
@media (min-width: 1100px) {
  .kacheln { grid-template-columns: repeat(4, 1fr); }
  .kachel-text strong { font-size: 2.25rem; }
  .wisch.karussell { grid-auto-columns: calc((100% - 64px - 40px) / 3); gap: 20px; }
  body { padding-bottom: 0; }
  .tabs { display: none; }
  .kopf-innen { min-height: 80px; gap: 20px; }
  .marke img { width: 56px; height: 56px; }
  .haupt { display: flex; align-self: stretch; }
  .haupt .punkt { display: flex; }
  .haupt .punkt > a { display: flex; align-items: center; padding: 0 16px; color: #fff; text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: var(--klein); letter-spacing: .04em; }
  .haupt .punkt:hover > a, .haupt .punkt:focus-within > a { background: rgba(12,22,54,.25); box-shadow: inset 0 -4px 0 #fff; }
  .kopf-knopf { display: inline-flex; min-height: 46px; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--tinte); padding: 28px max(32px, calc((100vw - 1216px) / 2)); grid-template-columns: 1fr 1fr 1.3fr; gap: 32px; box-shadow: 0 24px 48px rgba(12,22,54,.22); animation: auf .2s var(--kurve); }
  @keyframes auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .punkt:hover .mega, .punkt:focus-within .mega { display: grid; }
  .mega a { display: block; padding: 6px 0; color: var(--tinte); text-decoration: none; font-weight: 600; }
  .mega a:hover { color: var(--blau); }
  .mega-titel { font-size: var(--klein); font-weight: 800; color: var(--blau); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
  .mega-bild img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; }
  .mega-bild span { display: block; padding-top: 8px; font-weight: 800; }
  .einstieg { min-height: 780px; justify-content: flex-end; }
  .einstieg-bild { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 50% 30%; }
  .einstieg-schleier { display: block; }
  .einstieg-text { padding-top: 0; }
  h1 { max-width: 6.4em; font-size: clamp(3rem, 7.4vw, 6.5rem); }
  .einstieg-schleier { background: linear-gradient(90deg, rgba(12,22,54,.9) 0%, rgba(12,22,54,.45) 45%, rgba(12,22,54,0) 70%), linear-gradient(180deg, rgba(12,22,54,0) 60%, rgba(12,22,54,.55) 100%); }
  .einstieg-text { padding-bottom: 150px; }
  .knoepfe .knopf { flex: 0 0 auto; }
  .bildnachweis { position: absolute; right: 32px; bottom: 112px; padding: 0; }
  .spielzentrum { margin-top: -96px; }
  .spielzentrum .reihe-kopf { background: none; color: #fff; padding: 0; margin: 0 0 12px; }
  .spielzentrum .reihe-kopf .mehr { color: #fff; }
  .spielkarten { grid-template-columns: repeat(4, 1fr); }
  .abschnitt { padding: 80px 0; }
  .raster { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .saison { grid-template-columns: 1.5fr 1fr; gap: 64px; }
  .training { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .logos { --n: 6; }
  .logos-premium { --n: 5; }
  .inhalt .logos { --n: 4; }
  .inhalt .logos-premium { --n: 3; }
}

/* v4: Ergebnisse am Handy – Datum und Ergebnis oben, beide Mannschaften in einer Zeile */
@media (max-width: 719px) {
  .team { gap: 6px; }
  .tab-logo { width: 28px; height: 28px; }
}

/* v4: Mannschaften – Rugby vorn, Quadball und Darts darunter */
.ueber { font-size: var(--klein); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blau); margin: 0 0 4px; }
.rugby-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; margin-bottom: 14px; }
.rugby-kopf h3 { margin: 0; font-size: var(--text); font-weight: 600; color: #3d4663; }
.sparte-marke { display: inline-block; background: var(--blau); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 12px; border-radius: 6px; margin-right: 8px; }
.kachel-oldies { background: linear-gradient(160deg, var(--blau) 0%, var(--tinte) 75%); }
.kachel-oldies::after { background: none; }
.oldies-zahl { position: absolute; z-index: 1; right: 14px; bottom: 96px; text-shadow: 0 2px 12px rgba(12,22,54,.4); font-size: clamp(4.5rem, 16vw, 7.5rem); font-weight: 800; line-height: 1; color: rgba(255,255,255,.16); letter-spacing: -.03em; }
.weitere { margin-top: 28px; }
.weitere-titel { display: flex; align-items: center; gap: 12px; font-size: var(--klein); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #5a6380; margin: 0 0 12px; }
.weitere-titel::after { content: ""; flex: 1; height: 1px; background: #dfe4ef; }
.weitere-reihe { display: grid; gap: 12px; }
.sparte { display: grid; grid-template-columns: 38% 1fr; min-height: 116px; background: var(--papier); border-radius: 14px; overflow: hidden; color: var(--tinte); text-decoration: none; transition: transform .2s var(--kurve), box-shadow .2s var(--kurve); }
.sparte:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12,22,54,.1); }
.sparte img { width: 100%; height: 100%; object-fit: cover; }
.sparte-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 16px; font-size: var(--klein); line-height: 1.4; color: #3d4663; }
.sparte-name { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blau); }
.sparte-text strong { font-size: var(--text); color: var(--tinte); line-height: 1.3; }

/* v4: Aktuelles als Karussell */
.karussell-steuer { display: none; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.pfeil { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfd8ee; background: #fff; color: var(--blau); font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s var(--kurve); }
.pfeil:hover { background: var(--papier); }

/* v4: Karte mit Klick zum Laden */
.karte { position: relative; aspect-ratio: 3 / 2; margin: 16px 0 14px; border-radius: 12px; overflow: hidden; background: var(--tinte); }
.karte > img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.karte-knopf { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; color: var(--tinte); font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.3); white-space: nowrap; transition: transform .2s var(--kurve); }
.karte-knopf:hover { transform: translate(-50%, -50%) scale(1.04); }
.karte-knopf svg { width: 20px; height: 20px; fill: var(--blau); }
.karte-hinweis { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 6px 12px; font-size: var(--klein); line-height: 1.4; text-align: center; color: #fff; background: rgba(12,22,54,.7); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* v4: Frage-Blase und Chatfenster */
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat { position: fixed; right: 16px; bottom: calc(var(--tabs) + 14px + env(safe-area-inset-bottom)); z-index: 60; }
.chat-blase { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 56px; min-height: 56px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--koenig); color: #fff; font: inherit; font-size: var(--klein); font-weight: 800; box-shadow: 0 10px 28px rgba(12,22,54,.32); cursor: pointer; transition: transform .2s var(--kurve), background .2s var(--kurve); }
.chat-blase:hover { background: var(--blau); transform: translateY(-2px); }
.chat-blase svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-blase span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat-fenster { position: fixed; right: 12px; left: 12px; bottom: calc(var(--tabs) + 12px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; max-height: calc(100dvh - var(--tabs) - 110px); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(12,22,54,.38); animation: chat-auf .22s var(--kurve); }
.chat-fenster[hidden] { display: none; }
@keyframes chat-auf { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-kopf { display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 14px; background: var(--blau); color: #fff; }
.chat-kopf img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.chat-kopf p { margin: 0; font-weight: 800; line-height: 1.2; }
.chat-kopf small { font-size: var(--klein); opacity: .85; }
.chat-zu { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.chat-zu:hover { background: rgba(255,255,255,.15); }
.chat-verlauf { flex: 1; min-height: 160px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--papier); overscroll-behavior: contain; }
.chat-bot, .chat-ich { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: var(--klein); line-height: 1.5; }
.chat-bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.chat-ich { align-self: flex-end; background: var(--koenig); color: #fff; border-bottom-right-radius: 4px; }
.chat-bot.tippt { color: #5a6380; }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 4px; border-top: 1px solid #e4e8f2; scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid #cfd8ee; border-radius: 999px; background: #fff; color: var(--blau); font: inherit; font-size: var(--klein); font-weight: 600; cursor: pointer; }
.chat-chips button:hover { background: var(--papier); }
.chat-eingabe { display: flex; gap: 8px; padding: 8px 14px 14px; }
.chat-eingabe input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid #cfd8ee; border-radius: 12px; font: inherit; font-size: 16px; color: var(--tinte); }
.chat-eingabe input:focus-visible { outline: 3px solid var(--koenig); outline-offset: 1px; }
.chat-eingabe button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--koenig); cursor: pointer; }
.chat-eingabe svg { width: 22px; height: 22px; fill: #fff; }
@media (min-width: 720px) {
  .chat-blase { padding: 0 20px 0 16px; }
  .chat-blase span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .chat-fenster { left: auto; width: 380px; max-height: min(600px, calc(100dvh - var(--tabs) - 110px)); }
}
@media (min-width: 1100px) { .chat { bottom: 24px; } .chat-fenster { bottom: 24px; max-height: min(600px, calc(100dvh - 120px)); } }
.chat-blase[hidden] { display: none; }
/* v4: Frage-Blase verdeckt die Rechtliches-Zeile nicht */
.fuss-links { padding-bottom: 88px; }
@media (min-width: 900px) { .fuss-links { padding-bottom: 0; padding-right: 0; } }

/* v5: Oldies-Foto ganz zeigen (4 Gesichter über die volle Breite), Text darunter auf Nachtblau */
.kachel-oldies { background: var(--tinte); }
.kachel-oldies img { position: absolute; top: 0; left: 0; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.kachel-oldies::after { background: linear-gradient(180deg, rgba(12,22,54,0) 42%, rgba(12,22,54,.85) 60%, var(--tinte) 66%); }
.kachel-oldies .oldies-zahl { color: rgba(255,255,255,.22); font-size: clamp(3rem, 10vw, 4.5rem); }

/* v5: englische Berichtsseiten */
.bericht { padding: 28px 0 64px; }
.bericht-innen { max-width: 760px; }
.bericht .zurueck { margin-bottom: 8px; }
.bericht .zurueck::after { content: none; }
.bericht .zurueck::before { content: "←"; margin-right: .45em; }
.bericht-meta { margin: 0 0 6px; font-size: var(--klein); font-weight: 600; color: var(--blau); }
.bericht h1 { font-size: var(--gross); line-height: 1.1; margin: 0 0 20px; }
.bericht-bild { width: 100%; height: auto; border-radius: 14px; margin-bottom: 20px; }
.bericht-text p { margin: 0 0 1em; }
.bericht-original { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e4e8f2; font-size: var(--klein); }
.bericht-figur { margin: 0 0 20px; }
.bericht-figur .bericht-bild { margin-bottom: 6px; }
.bericht-figur figcaption { font-size: .8125rem; color: #5a6380; }
/* B2: Antworten der Chat-API (Absätze) und Quellen */
.chat-bot.chat-api { white-space: pre-line; }
.chat-quellen { display: block; margin-top: 8px; font-size: .85em; color: #5a6380; white-space: normal; }
.chat-quellen a { color: var(--koenig); }
/* B2: bei langem Verlauf schrumpft nur der Verlauf, Kopf/Vorschläge/Eingabe behalten ihre Höhe */
.chat-kopf, .chat-chips, .chat-eingabe { flex-shrink: 0; }
.chat-verlauf { min-height: 0; }

/* v6: Ergebniskarte überall (Frederik 25.11.): Foto blau getönt, Liga-Zeile, Wappen, Ergebnis-Pille */
.ek { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 10px; aspect-ratio: 3 / 2; padding: 14px 10px 12px; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--blau) 0%, var(--tinte) 85%); }
.ek-foto { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.ek-kopf { text-align: center; font-size: var(--klein); font-weight: 800; color: #c9d7ff; line-height: 1.2; text-shadow: 0 1px 3px rgba(12,22,54,.6); }
.ek-paar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
.ek-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; font-size: var(--klein); font-weight: 700; line-height: 1.2; overflow-wrap: break-word; text-shadow: 0 1px 3px rgba(12,22,54,.7); }
.ek-logo { display: grid; place-items: center; width: 64px; height: 64px; padding: 8px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(12,22,54,.3); }
.ek-logo img { width: 100%; height: 100%; object-fit: contain; }
.ek-pille { display: inline-flex; align-items: center; gap: 3px; padding: 7px 12px; border-radius: 10px; background: rgba(12,22,54,.9); font-size: clamp(1.5rem, 6.4vw, 1.875rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ek-pille b { color: #d5dcf0; }
.ek-pille .ek-w { color: #fff; }
.ek-pille i { font-style: normal; opacity: .6; }
.ek-datum { text-align: center; font-size: .8125rem; line-height: 1.2; color: #d5dcf0; text-shadow: 0 1px 3px rgba(12,22,54,.7); }
.ek-liste { list-style: none; margin: 18px 0 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ek-liste::-webkit-scrollbar { display: none; }
.ek-liste li { scroll-snap-align: start; min-width: 0; }
.ek-link { display: block; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s var(--kurve), box-shadow .2s var(--kurve); }
.ek-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.32); }
.ek-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.spielkarte.ek-spiel { padding: 0 0 6px; overflow: hidden; }
.ek-spiel .ek { aspect-ratio: auto; min-height: 200px; }
.ek-spiel .spiel-ort, .ek-spiel .karte-link { margin-left: 16px; margin-right: 16px; }
.bericht-figur .ek { border-radius: 14px; margin-bottom: 6px; }
@media (min-width: 720px) {
  .ek-liste { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
  .ek-liste li:first-child { grid-column: span 2; }
  .ek-liste li:first-child .ek { aspect-ratio: 16 / 7; }
  .ek-logo { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) { .ek-link { transition: none; } .ek-link:hover { transform: none; } }

/* Phase C (25.11.2026): Unterseiten, Beiträge, Listen, Formulare, Spenden, Anrufknopf, Mikrofon */
.anruf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; background: rgba(255,255,255,.15); color: #fff; text-decoration: none; font-weight: 800; font-size: var(--klein); white-space: nowrap; transition: background .2s var(--kurve); }
.anruf:hover { background: rgba(255,255,255,.28); }
.anruf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.anruf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seite-kopf { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--blau) 0%, var(--tinte) 90%); }
.seite-kopf-bild { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.seite-kopf-text { padding-top: 26px; padding-bottom: 30px; }
.seite-kopf.mit-bild .seite-kopf-text { padding-top: 64px; padding-bottom: 34px; }
.seite-kopf h1 { font-size: clamp(2rem, 7vw, 3.75rem); line-height: 1.05; overflow-wrap: break-word; hyphens: auto; text-shadow: 0 2px 12px rgba(12,22,54,.35); }
.seite-unterzeile { margin: 12px 0 0; max-width: 40em; font-weight: 600; color: #dfe6fb; }
.pfad { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: var(--klein); font-weight: 600; }
.pfad a { color: #c9d7ff; text-decoration: none; }
.pfad a:hover { color: #fff; text-decoration: underline; }
.pfad span { color: #8fa3d9; }
.seite-raster { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
.inhalt { min-width: 0; max-width: 760px; }
.inhalt > :first-child { margin-top: 0; }
.inhalt h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.15; margin: 1.6em 0 .55em; text-transform: none; letter-spacing: 0; }
.inhalt h3 { font-size: 1.25rem; margin: 1.4em 0 .45em; }
.inhalt h4 { font-size: var(--text); margin: 1.2em 0 .4em; }
.inhalt p, .inhalt li { overflow-wrap: break-word; }
.inhalt ul, .inhalt ol { margin: 0 0 1em; padding-left: 1.3em; }
.inhalt li { margin-bottom: .35em; }
.inhalt li::marker { color: var(--koenig); }
.inhalt a { text-underline-offset: 3px; }
.inhalt blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--koenig); font-style: italic; color: #2b3557; }
.inhalt figure { margin: 1.4em 0; }
.inhalt figure img, .inhalt > p > img { width: 100%; height: auto; border-radius: 14px; }
/* shortcut: Logo = Bild mit externem Link (Sponsoren im WP-Text), eigener Block erst bei CMS */
.inhalt figure > a[href^="http"]:not([href*="scneuenheim"]) > img { width: auto; max-width: min(100%, 260px); max-height: 120px; object-fit: contain; border-radius: 0; }
.inhalt figcaption { margin-top: 6px; font-size: .8125rem; color: #5a6380; }
.inhalt table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: var(--klein); display: block; overflow-x: auto; }
.inhalt th, .inhalt td { padding: 10px 12px; border-bottom: 1px solid #e4e8f2; text-align: left; vertical-align: top; }
.inhalt th { background: var(--papier); color: var(--tinte); }
.inhalt hr { border: 0; border-top: 1px solid #e4e8f2; margin: 2em 0; }
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 1.4em 0; padding: 0; list-style: none; }
.galerie li { margin: 0; }
.galerie a { display: block; border-radius: 10px; overflow: hidden; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform .3s var(--kurve); }
.galerie a:hover img { transform: scale(1.04); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; border-radius: 14px; overflow: hidden; background: var(--tinte); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video button { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.video button::before { content: ""; width: 68px; height: 68px; border-radius: 50%; background: var(--koenig) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 34px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 1.2em 0 1.6em; padding: 0; list-style: none; }
.person { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid #e4e8f2; border-radius: 14px; background: #fff; }
.person img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--papier); }
.person-name { font-weight: 800; line-height: 1.25; }
.person-rolle { font-size: var(--klein); color: var(--blau); font-weight: 600; }
.person a { font-size: var(--klein); word-break: break-word; }
.downloads { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; gap: 8px; }
.downloads a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid #cfd8ee; border-radius: 12px; font-weight: 600; text-decoration: none; transition: background .2s var(--kurve), border-color .2s var(--kurve); }
.downloads a:hover { background: var(--papier); border-color: var(--koenig); }
.downloads a::before { content: "PDF"; flex: none; display: grid; place-items: center; width: 40px; height: 30px; border-radius: 6px; background: var(--koenig); color: #fff; font-size: .75rem; font-weight: 800; }
.seite-seite { display: grid; gap: 16px; align-content: start; }
.hilfe-karte { padding: 20px; border-radius: 16px; background: var(--papier); }
.hilfe-karte h2 { font-size: 1.25rem; text-transform: none; margin-bottom: 8px; }
.hilfe-karte p { font-size: var(--klein); }
.hilfe-karte .knopf { width: 100%; margin-top: 6px; }
.hilfe-karte.dunkel { background: var(--tinte); color: #fff; }
.hilfe-karte.dunkel p { color: #c9d3ee; }
.bereich-links { display: grid; gap: 10px; }
.bereich-links a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid #e4e8f2; color: var(--tinte); font-weight: 600; text-decoration: none; transition: border-color .2s var(--kurve), transform .2s var(--kurve); }
.bereich-links a::after { content: "→"; color: var(--koenig); }
.bereich-links a:hover { border-color: var(--koenig); transform: translateY(-1px); }
.bereich-links a[aria-current] { border-color: var(--koenig); background: var(--papier); }
/* Beitrag */
.beitrag-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; font-size: var(--klein); font-weight: 600; color: #dfe6fb; }
.beitrag-meta a { color: #fff; }
.schlagworte { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid #e4e8f2; list-style: none; }
.schlagworte a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--papier); font-size: var(--klein); font-weight: 600; text-decoration: none; }
.schlagworte a:hover { background: #e2e8f7; }
.blaettern { display: grid; gap: 10px; margin-top: 28px; }
.blaettern a { display: block; padding: 14px 16px; border: 1px solid #e4e8f2; border-radius: 12px; text-decoration: none; color: var(--tinte); font-weight: 700; line-height: 1.35; }
.blaettern a small { display: block; font-size: .8125rem; font-weight: 600; color: var(--blau); margin-bottom: 2px; }
.blaettern a:hover { border-color: var(--koenig); }
/* Listen (Nachrichten, Kategorien, Schlagworte) */
.liste-raster { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.liste-raster .nachricht { height: 100%; }
.seiten-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.seiten-nav a, .seiten-nav span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid #cfd8ee; font-weight: 700; text-decoration: none; }
.seiten-nav [aria-current] { background: var(--koenig); border-color: var(--koenig); color: #fff; }
.filter { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 20px; padding-bottom: 4px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #cfd8ee; font-size: var(--klein); font-weight: 600; text-decoration: none; }
.filter a[aria-current] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
/* Formulare */
.formular { display: grid; gap: 18px; margin: 1.2em 0; padding: 22px; border-radius: 16px; background: var(--papier); }
.formular fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 18px; }
.formular legend { font-weight: 800; font-size: 1.125rem; margin-bottom: 4px; }
.feld { display: grid; gap: 6px; }
.feld label, .feld .feld-titel { font-size: var(--klein); font-weight: 700; }
.feld .pflicht { color: #b3261e; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b9c5e3; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--tinte); transition: border-color .15s var(--kurve); }
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--koenig); outline-offset: 1px; border-color: var(--koenig); }
.feld[data-fehler] input, .feld[data-fehler] select, .feld[data-fehler] textarea { border-color: #b3261e; }
.feld-fehler { font-size: .875rem; color: #b3261e; font-weight: 600; }
.feld-hilfe { font-size: .875rem; color: #5a6380; }
.feld-paar { display: grid; gap: 18px; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid #b9c5e3; border-radius: 999px; background: #fff; font-size: var(--klein); font-weight: 600; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl input:checked + span { color: #fff; }
.wahl label:has(input:checked) { background: var(--koenig); border-color: var(--koenig); color: #fff; }
.wahl label:has(input:focus-visible) { outline: 3px solid var(--koenig); outline-offset: 2px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: var(--klein); }
.haken input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--koenig); }
.formular .knopf { justify-self: start; min-width: 200px; }
.formular .knopf[disabled] { opacity: .6; cursor: progress; }
.formular-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.formular-status[data-art="ok"] { background: #e6f4ea; color: #145c2b; }
.formular-status[data-art="fehler"] { background: #fdecea; color: #8c1d18; }
.formular-status:empty { display: none; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Spenden */
.spenden-karte { padding: 22px; border-radius: 16px; background: linear-gradient(160deg, var(--blau) 0%, var(--tinte) 90%); color: #fff; }
.spenden-karte h2 { color: #fff; font-size: 1.5rem; text-transform: none; margin-bottom: 8px; }
.konto { display: grid; gap: 4px; margin: 1em 0; padding: 16px; border-radius: 12px; background: var(--papier); font-variant-numeric: tabular-nums; }
.konto b { font-weight: 800; }
/* Chat: Mikrofon und Maskottchen-Platz */
.chat-mikro { flex: none; width: 46px; height: 46px; border: 1px solid #cfd8ee; border-radius: 12px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s var(--kurve), border-color .2s var(--kurve); }
.chat-eingabe .chat-mikro svg { width: 22px; height: 22px; fill: none; stroke: var(--koenig); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-mikro:hover { background: var(--papier); }
.chat-mikro[aria-pressed="true"] { background: #b3261e; border-color: #b3261e; animation: hoert 1.2s ease-in-out infinite; }
.chat-eingabe .chat-mikro[aria-pressed="true"] svg { stroke: #fff; }
.chat-mikro[hidden] { display: none; }
@keyframes hoert { 0%, 100% { box-shadow: 0 0 0 0 rgba(179,38,30,.45); } 50% { box-shadow: 0 0 0 8px rgba(179,38,30,0); } }
.chat-hinweis { margin: 0; padding: 0 14px 6px; font-size: .8125rem; color: #5a6380; min-height: 0; }
.chat-hinweis:empty { display: none; }
@media (min-width: 720px) {
  .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feld-paar { grid-template-columns: 1fr 1fr; }
  .liste-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blaettern { grid-template-columns: 1fr 1fr; }
  .blaettern a:last-child:not(:first-child) { text-align: right; }
  .seite-kopf.mit-bild .seite-kopf-text { padding-top: 120px; padding-bottom: 44px; }
  .anruf span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (min-width: 1100px) {
  .seite-raster { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 48px; }
  .seite-seite { position: sticky; top: 96px; }
  .liste-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .chat-mikro[aria-pressed="true"] { animation: none; } .galerie img, .bereich-links a { transition: none; } }

/* Hai-Maskottchen in Fragen-Blase und Chat-Kopf (Frederik 25.11.2026), Wappen als Rückfall */
.chat-blase { padding-left: 6px; }
.chat-blase .chat-figur { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: cover; flex-shrink: 0; transition: transform .2s var(--kurve); }
.chat-blase:hover .chat-figur { transform: rotate(-6deg) scale(1.05); }
.chat-blase .chat-figur.wappen, .chat-kopf img.wappen { object-fit: contain; padding: 4px; }
.chat-kopf img:not(.wappen) { padding: 0; object-fit: cover; }
@media (max-width: 719px) { .chat-blase { padding: 6px; } }
@media (prefers-reduced-motion: reduce) { .chat-blase:hover .chat-figur { transform: none; } }
/* Lange Dateinamen in Downloads umbrechen (Fanzone 390 px lief 204 px über) */
.downloads li, .downloads a, .downloads small { min-width: 0; }
.downloads a { overflow-wrap: anywhere; }
/* Seitenkopf: Titel nutzt die Breite (globales h1 max-width gilt nur für die Startseite), keine Silbentrennung wie „NEU-ENHEIM“ */
.seite-kopf h1 { max-width: 22em; hyphens: manual; }
/* Beitragstabellen (Mitgliedsbeiträge): Beträge nicht umbrechen */
.inhalt td:last-child { white-space: nowrap; }

/* Feedback F1: Spiele und Training als eigene Seiten, Startseite mit „Alle …“-Links */
.mehr-gruppe { display: inline-flex; flex-wrap: wrap; gap: 0 20px; }
.saison-mehr { margin: 14px 0 0; }
.dunkel .mehr { color: #fff; }
.training-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 0; }
.spielzentrum.auf-seite { margin-top: 0; padding-top: 28px; }
.spielzentrum.auf-seite .reihe-kopf, .spielzentrum.auf-seite .reihe-kopf .mehr { background: none; color: var(--tinte); padding: 0; margin: 0 0 12px; }
.spielzentrum.auf-seite .reihe-kopf .mehr { color: var(--blau); }
.seite-abschnitte > .abschnitt:last-child { margin-bottom: 0; }

/* Feedback F2: Spenden-Abschnitt auf der Startseite */
.spenden-band { background: linear-gradient(160deg, var(--blau) 0%, var(--tinte) 90%); color: #fff; }
.spenden-band-innen { display: grid; gap: 18px; align-items: center; }
.spenden-band h2 { color: #fff; margin-bottom: 10px; }
.spenden-band p { margin: 0; color: #e3e9f8; max-width: 60ch; }
.spenden-band .knopf { justify-self: start; }
@media (min-width: 720px) { .spenden-band-innen { grid-template-columns: 1fr auto; gap: 40px; } }

/* Feedback F3–F5: eine Spendenseite, Bankverbindung auf Klick */
.spenden-karte .knopf { cursor: pointer; font: inherit; font-weight: 800; }
.spenden-konto { margin: 16px 0 0; padding: 16px; border-radius: 12px; background: #fff; color: var(--tinte); display: grid; gap: 4px; }
.spenden-konto[hidden] { display: none; }
.spenden-konto .iban { font-size: 1.125rem; font-weight: 800; letter-spacing: .02em; overflow-wrap: anywhere; }
.kopieren { justify-self: start; margin-top: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--koenig); background: #fff; color: var(--koenig); font: inherit; font-weight: 800; cursor: pointer; transition: background-color .2s var(--kurve), color .2s var(--kurve); }
.kopieren:hover { background: var(--koenig); color: #fff; }
.kopieren:focus-visible, .spenden-karte .knopf:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.kopier-meldung { min-height: 1.4em; margin: 4px 0 0; font-size: var(--klein); color: #2b6a2f; }

/* Kopf mit sechs Menüpunkten (Feedback F1/F2: Spiele, Training, Spenden als eigene Seiten): Marke, Menü und Knöpfe überlappen nie */
@media (min-width: 1100px) {
  .kopf-innen { gap: 14px; }
  .marke { flex-shrink: 0; white-space: nowrap; }
  .marke > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .haupt .punkt > a { padding: 0 8px; font-size: .8125rem; letter-spacing: .02em; }
  .anruf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .kopf-knopf { white-space: nowrap; flex-shrink: 0; }
}
@media (min-width: 1280px) {
  .marke > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .haupt .punkt > a { padding: 0 10px; font-size: .875rem; }
}
@media (min-width: 1440px) {
  .kopf-innen { gap: 16px; }
  .haupt .punkt > a { padding: 0 12px; font-size: var(--klein); letter-spacing: .03em; }
}

/* Feedback G1/G6/G10: Beiträge zum Thema unter Vereinsseiten (25.11.2026) */
.themen { margin-top: 2.4em; padding-top: .4em; border-top: 1px solid #e4e8f2; }
.themen h2:first-child { margin-top: 1em; }
.inhalt .liste-raster { padding-left: 0; }
.inhalt .liste-raster li { margin: 0; }
.inhalt .liste-raster a { text-decoration: none; }
.themen-mehr { margin: 14px 0 0; }
.themen-mehr .mehr { font-weight: 700; }
.gedenken { list-style: none; padding: 0 !important; margin: 0; border-top: 1px solid #e4e8f2; }
.inhalt .gedenken li { display: grid; gap: 2px; margin: 0; padding: 14px 0 14px 18px; border-bottom: 1px solid #e4e8f2; border-left: 3px solid var(--blau); }
.gedenken .meta { font-size: .8125rem; font-weight: 600; color: #5a6380; }
.gedenken a { font-weight: 800; color: var(--tinte); line-height: 1.3; }
.gedenken .auszug { font-size: var(--klein); color: #2b3557; }
@media (min-width: 1100px) { .inhalt .liste-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pps td:nth-child(3) a { white-space: nowrap; }
.pps .ohne-web { color: #5a6380; font-size: .8125rem; }
.inhalt figure figcaption { text-align: left; }
/* Feedback G15: Kalender-Import */
.kalender-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.kalender-abo { margin: 0 0 24px; padding: 18px 20px; border-radius: 16px; background: var(--papier); }
.kalender-abo p:first-child { margin: 0; }
.kalender-abo .kalender-knoepfe { margin-bottom: 0; }
/* Feedback G16: rechte Spalte neben „Ergebnisse Herren“ im Gleichgewicht */
.saison-bilanz, .saison-naechste { margin-top: 32px; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.saison-klein { margin: 0 0 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fb2e6; }
.saison-bilanz dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.saison-bilanz dt { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1; }
.saison-bilanz dd { margin: 6px 0 0; color: #c9d3ee; font-size: var(--klein); }
.saison-quelle { margin: 12px 0 0; font-size: .75rem; color: #8fa3d9; }
.saison-naechste ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.saison-naechste li a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; transition: background .2s var(--kurve); }
.saison-naechste li a:hover { background: rgba(255,255,255,.14); }
.naechst-datum { font-size: .8125rem; font-weight: 700; color: #9fb2e6; }
.naechst-was { font-weight: 700; }
/* G15: Randknöpfe stehen hier auf hellem Grund (Papier/weiß), daher dunkle Schrift und dunkler Rand */
.kalender-knoepfe .knopf-rand { background: #fff; color: var(--tinte); border-color: var(--tinte); }
.kalender-knoepfe .knopf-rand:hover { background: var(--tinte); color: #fff; border-color: var(--tinte); }


/* ==========================================================================
   Neuaufbau Startseite (Schweizer Rugbyclub-Struktur, SCN-Farben & -Inhalte)
   Bestehende Unterseiten-Regeln oben bleiben unverändert erhalten.
   ========================================================================== */
:root {
  --hellblau: #6cb4ff;
  --tinte-tief: #070e24;
  --tinte-karte: #132046;
  --tinte-leiste: #0f1b3d;
}
body { overflow-x: clip; }
body.menue-offen { overflow: hidden; }

/* Unterseiten-Abstand unter dem festen Kopf */
.seite-kopf { padding-top: 68px; }
.bericht { padding-top: 92px; }

/* Knöpfe eckig mit 2 px Rand */
.knopf { border-radius: 2px; gap: 8px; min-height: 48px; padding: 0 22px; font-size: var(--klein); letter-spacing: .02em; }
.knopf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.knopf-umriss { background: #fff; color: var(--tinte); border: 2px solid var(--tinte); }
.knopf-umriss:hover { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.knopf-akzent { background: var(--blau); color: #fff; border: 2px solid var(--blau); }
.knopf-akzent:hover { background: var(--koenig); border-color: var(--koenig); }
.knopf-hell { background: #fff; color: var(--tinte); border: 2px solid #fff; }
.knopf-hell:hover { background: var(--papier); border-color: var(--papier); color: var(--tinte); }

/* Abschnittsüberschriften links mit 4 px blauem Strich */
.strich-titel { border-left: 4px solid var(--blau); padding-left: 14px; text-transform: none; letter-spacing: -.01em; font-size: clamp(1.625rem, 3.2vw, 2.35rem); line-height: 1.15; }
.abschnitt { padding: 48px 0; }
.abschnitt-kopf { margin-bottom: 24px; }
.abschnitt-mitte { display: flex; justify-content: center; margin-top: 28px; }
.titel-hell { color: var(--hellblau); }

/* 1. Kopf (fest oben, dunkel transparent, beim Scrollen Navy) */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 45; background: rgba(12, 22, 54, .48); backdrop-filter: blur(8px); transition: background-color .25s var(--kurve), box-shadow .25s var(--kurve); }
.kopf.gescrollt { background: var(--tinte); box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.kopf-innen { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 68px; }
.kopf-links { display: flex; align-items: center; gap: 22px; min-width: 0; }
.kopf-rechts { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--tinte); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: transform .15s var(--kurve), background-color .2s var(--kurve); }
.burger:hover { background: var(--papier); transform: scale(1.04); }
.burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.kopf-nav { display: none; align-items: center; gap: 22px; }
.kopf-nav a { color: #fff; text-decoration: none; font-size: var(--klein); font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; transition: border-color .2s var(--kurve), color .2s var(--kurve); }
.kopf-nav a:hover { color: var(--hellblau); border-bottom-color: var(--hellblau); }
.kopf .marke { margin-right: 0; justify-self: center; gap: 0; }
.kopf .marke img { width: 46px; height: 46px; padding: 4px; background: #fff; border-radius: 50%; }
.kopf .sprache, .kopf-spenden, .kopf .kopf-knopf { display: none; }
.kopf-rund { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: var(--klein); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background-color .2s var(--kurve), color .2s var(--kurve); }
.kopf-rund:hover { background: #fff; color: var(--tinte); border-color: #fff; }

/* Burger-Menü (Vollbild am Handy, Seitenleiste am Desktop) */
.menue-hintergrund { position: fixed; inset: 0; z-index: 70; background: rgba(7, 14, 36, .68); backdrop-filter: blur(4px); }
.menue-hintergrund[hidden], .menue-panel[hidden] { display: none; }
.menue-panel { position: fixed; inset: 0; z-index: 75; background: var(--tinte); color: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.menue-kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); flex: none; }
.menue-marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.menue-marke img { width: 42px; height: 42px; background: #fff; border-radius: 50%; padding: 4px; object-fit: contain; }
.menue-marke small { display: block; font-size: var(--klein); font-weight: 600; text-transform: none; opacity: .8; }
.menue-zu { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.menue-zu:hover { background: rgba(255, 255, 255, .14); }
.menue-inhalt { padding: 18px 20px 28px; display: grid; gap: 22px; }
.menue-gruppe { display: grid; gap: 2px; }
.menue-titel { margin: 0 0 6px; font-size: var(--klein); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--hellblau); }
.menue-gruppe a { display: flex; align-items: center; min-height: 48px; padding: 6px 0; color: #fff; text-decoration: none; font-size: 1.0625rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); transition: color .15s var(--kurve), padding-left .15s var(--kurve); }
.menue-gruppe a:hover { color: var(--hellblau); padding-left: 6px; }
.menue-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.menue-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; }
.menue-tel svg { width: 20px; height: 20px; fill: none; stroke: var(--hellblau); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 2. Einstieg + Spielzentrum im selben dunklen Band */
.kopf-band { position: relative; background: var(--tinte); color: #fff; overflow: hidden; }
.band-hintergrund { position: absolute; inset: 0; pointer-events: none; }
.kopf-band .einstieg-bild { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 25%; opacity: .42; }
.kopf-band .einstieg-schleier { display: block; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 22, 54, .62) 0%, rgba(12, 22, 54, .72) 48%, rgba(12, 22, 54, .96) 76%, var(--tinte) 100%); }
.kopf-band .einstieg { position: relative; z-index: 1; background: transparent; min-height: 0; padding: 108px 0 28px; display: block; }
.kopf-band .einstieg-text { padding: 0 20px; }
.kopf-band .plakette { background: rgba(108, 180, 255, .16); color: var(--hellblau); border: 1px solid rgba(108, 180, 255, .35); border-radius: 2px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kopf-band h1 { font-size: clamp(2.65rem, 11vw, 5.75rem); max-width: none; line-height: 1.0; letter-spacing: -.015em; text-transform: uppercase; }
.kopf-band .claim { font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: 400; color: rgba(255, 255, 255, .92); margin: 16px 0 0; }
.kopf-band .knoepfe { margin-top: 24px; }
.kopf-band .knoepfe .knopf { flex: 0 0 auto; }
.kopf-band .bildnachweis { position: static; padding: 16px 20px 0; font-size: .8125rem; color: rgba(255, 255, 255, .55); }

#spiele.spielzentrum { position: relative; z-index: 2; margin-top: 0; padding: 8px 0 44px; }
#spiele .spielkarten { grid-auto-columns: 88%; gap: 14px; padding-bottom: 8px; }
#spiele .spielkarte { background: var(--tinte-karte); color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-radius: 2px; padding: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); overflow: hidden; }
#spiele .spiel-kopf { margin: 0; padding: 9px 14px; background: var(--blau); color: #fff; text-align: center; font-size: var(--klein); font-weight: 700; letter-spacing: .03em; }
#spiele .spiel-tag { text-transform: uppercase; opacity: .9; margin-right: 6px; }
#spiele .heim .spiel-kopf::after { content: none; }
#spiele .paarung { padding: 24px 16px 14px; }
#spiele .mannschaft { color: #fff; }
#spiele .mannschaft img { width: 58px; height: 58px; }
#spiele .stand.gegen { color: rgba(255, 255, 255, .78); text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
#spiele .spiel-ort { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px 14px; margin: 0; color: rgba(255, 255, 255, .82); font-size: var(--klein); }
#spiele .spiel-ort svg { width: 16px; height: 16px; fill: var(--hellblau); flex: none; }
#spiele .karte-link { margin: auto 0 0; color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); min-height: 46px; }
#spiele .karte-link:hover { background: rgba(255, 255, 255, .08); }
#spiele .ek-spiel .ek { aspect-ratio: auto; min-height: 0; padding: 0 0 14px; gap: 14px; background: transparent; }
#spiele .ek-spiel .ek-foto { opacity: .16; }
#spiele .ek-spiel .ek-kopf { background: var(--blau); color: #fff; padding: 9px 14px; text-shadow: none; font-weight: 700; letter-spacing: .03em; }
#spiele .ek-spiel .ek-paar { padding: 10px 14px 0; }
#spiele .ek-spiel .ek-logo { width: 58px; height: 58px; }
#spiele .ek-spiel .ek-pille { background: rgba(255, 255, 255, .14); border-radius: 2px; padding: 8px 12px; }
#spiele .ek-spiel .ek-datum { display: none; }
#spiele .ek-spiel .spiel-ort, #spiele .ek-spiel .karte-link { margin-left: 0; margin-right: 0; }

.spiel-punkte { display: flex; justify-content: center; gap: 8px; margin: 14px 0 0; }
.spiel-punkte button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .28); cursor: pointer; transition: background-color .2s var(--kurve); }
.spiel-punkte button.aktiv { background: var(--hellblau); }
.spiel-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 18px; }
.spiel-links a { color: #fff; font-size: var(--klein); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.spiel-links a:hover { color: var(--hellblau); }

/* 3. Aktuelles (#news) */
#news .wisch.karussell { grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; padding-bottom: 12px; }
#news .nachricht { border-radius: 2px; border: 1px solid #dfe4ef; box-shadow: 0 4px 16px rgba(12, 22, 54, .06); }
#news .karussell-steuer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

/* 4. Ergebnisse und Saison (#ergebnisse) */
#ergebnisse, #ergebnisse-seite { background: #fff; color: var(--tinte); }
#ergebnisse .saison, #ergebnisse-seite .saison { gap: 36px; }
#ergebnisse .saison-spalte, #ergebnisse-seite .saison-spalte { border-top: 2px solid #dfe4ef; padding-top: 22px; display: flex; flex-direction: column; }
#ergebnisse .saison-spalte > h3, #ergebnisse-seite .saison-spalte > h3 { font-size: 1.35rem; margin-bottom: 6px; color: var(--tinte); }
#ergebnisse .saison-satz, #ergebnisse-seite .saison-satz { color: #5a6380; margin-bottom: 12px; }
#ergebnisse .erfolge-liste, #ergebnisse-seite .erfolge-liste { margin: 8px 0 0; display: grid; gap: 14px; }
#ergebnisse .erfolge-liste > div, #ergebnisse-seite .erfolge-liste > div { border-left: 4px solid var(--blau); padding-left: 14px; }
#ergebnisse .erfolge-liste dt, #ergebnisse-seite .erfolge-liste dt { font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--tinte); }
#ergebnisse .erfolge-liste dd, #ergebnisse-seite .erfolge-liste dd { margin: 4px 0 0; color: #3d4663; font-size: var(--klein); }
#ergebnisse .saison-bilanz, #ergebnisse .saison-naechste, #ergebnisse-seite .saison-bilanz, #ergebnisse-seite .saison-naechste { margin-top: 22px; background: var(--papier); border: 1px solid #e4e8f2; border-radius: 2px; color: var(--tinte); }
#ergebnisse .saison-klein, #ergebnisse-seite .saison-klein { color: var(--blau); }
#ergebnisse .saison-bilanz dt, #ergebnisse-seite .saison-bilanz dt { color: var(--tinte); }
#ergebnisse .saison-bilanz dd, #ergebnisse-seite .saison-bilanz dd { color: #3d4663; }
#ergebnisse .saison-quelle, #ergebnisse-seite .saison-quelle { color: #5a6380; }
#ergebnisse .saison-naechste li a, #ergebnisse-seite .saison-naechste li a { background: #fff; color: var(--tinte); border: 1px solid #e4e8f2; border-radius: 2px; }
#ergebnisse .saison-naechste li a:hover, #ergebnisse-seite .saison-naechste li a:hover { border-color: var(--blau); background: #fff; }
#ergebnisse .naechst-datum, #ergebnisse-seite .naechst-datum { color: var(--blau); }
#ergebnisse .saison-naechste > .mehr, #ergebnisse-seite .saison-naechste > .mehr { display: none; }
#ergebnisse .saison-mehr, #ergebnisse-seite .saison-mehr { margin-top: auto; padding-top: 22px; }

/* 5. Bildband */
.bildband { position: relative; overflow: hidden; background: var(--tinte); color: #fff; min-height: 230px; display: flex; align-items: center; }
.bildband-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bildband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 54, .88) 0%, rgba(12, 22, 54, .62) 55%, rgba(12, 22, 54, .36) 100%); }
.bildband-innen { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; display: grid; justify-items: start; gap: 20px; }
.bildband h2 { color: #fff; text-transform: none; font-size: clamp(1.5rem, 3vw, 2.35rem); max-width: 24ch; }

/* 6. Mannschaften (#teams) als Produktkarten */
#teams .reihe-kopf { margin-bottom: 24px; }
#teams .kacheln { gap: 16px; }
#teams .kachel { position: static; display: flex; flex-direction: column; aspect-ratio: auto; background: #fff; color: var(--tinte); border: 1px solid #dfe4ef; border-radius: 2px; overflow: hidden; box-shadow: 0 4px 16px rgba(12, 22, 54, .05); transition: transform .2s var(--kurve), box-shadow .2s var(--kurve); }
#teams .kachel::after { content: none; }
#teams .kachel:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(12, 22, 54, .12); }
#teams .kachel-bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tinte); }
#teams .kachel-bild img { position: static; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 20%; }
#teams .oldies-plakette { position: absolute; top: 10px; right: 10px; background: var(--tinte); color: #fff; font-size: var(--klein); font-weight: 800; padding: 3px 10px; border-radius: 2px; }
#teams .kachel-koerper { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 16px; text-align: center; gap: 14px; }
#teams .kachel-text { position: static; color: #3d4663; font-size: var(--klein); line-height: 1.45; }
#teams .kachel-text strong { font-size: 1.25rem; color: var(--tinte); text-transform: none; margin-bottom: 4px; }
#teams .kachel-knopf { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; background: var(--tinte); color: #fff; font-size: var(--klein); font-weight: 700; border-radius: 2px; transition: background-color .2s var(--kurve); }
#teams .kachel:hover .kachel-knopf { background: var(--blau); }
#teams .sparte { background: #fff; border: 1px solid #dfe4ef; border-radius: 2px; }

/* 7. Training (#training) */
#training { background: #fff; }
#training .zeiten { border: 1px solid #dfe4ef; border-radius: 2px; }
#training .kontakt { background: var(--papier); border-radius: 2px; border-top: 4px solid var(--blau); }

/* 8. Partner (#partner) – durchgehendes blaues Band */
#partner.partner { background: var(--blau); color: #fff; padding: 48px 0; }
#partner .logos-titel { color: rgba(255, 255, 255, .88); text-align: center; margin: 18px 0 12px; }
#partner .logos-titel:first-child { margin-top: 0; }
#partner .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#partner .logos li { flex: 0 0 calc((100% - 10px) / 2); }
#partner .logos a { height: 68px; padding: 10px 14px; background: #fff; border: 0; border-radius: 2px; }
#partner .logos-premium a { height: 76px; }
.partner-mehr { text-align: center; margin-top: 22px; }
.partner-mehr .mehr { color: #fff; }

/* 9. Spenden (#spenden) – dunkles Foto-Band */
#spenden.spenden-band { position: relative; overflow: hidden; background: var(--tinte); color: #fff; }
.spenden-hintergrund { position: absolute; inset: 0; pointer-events: none; }
.spenden-foto { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: .32; }
#spenden.spenden-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 54, .86) 0%, rgba(12, 22, 54, .72) 100%); }
#spenden .spenden-band-innen { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; }
#spenden h2 { color: #fff; text-transform: none; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; margin: 0; }
.spenden-rechts { display: grid; justify-items: start; gap: 18px; }
#spenden p { color: rgba(255, 255, 255, .9); max-width: 52ch; }

/* 10. Alle Abteilungen (schmale Navy-Leiste über dem Fuß) */
.abteilungen-leiste { background: var(--tinte-leiste); color: #fff; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.abteilungen-klapp summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 56px; font-size: var(--klein); font-weight: 700; color: #fff; cursor: pointer; }
.abteilungen-klapp summary::-webkit-details-marker { display: none; }
.abteilungen-klapp summary svg { width: 18px; height: 18px; fill: none; stroke: var(--hellblau); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--kurve); }
.abteilungen-klapp[open] summary svg { transform: rotate(180deg); }
.abteilungen-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 4px 0 20px; }
.abteilungen-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .88); text-decoration: none; font-size: var(--klein); font-weight: 600; }
.abteilungen-links a:hover { color: var(--hellblau); text-decoration: underline; text-underline-offset: 4px; }

/* 11. Fuß (tiefes Navy, 3 Kästen, Social, Copyright-Leiste) */
.fuss { background: var(--tinte-tief); padding: 52px 0 0; text-align: center; }
.fuss::after { content: none; }
.fuss-kopf { margin-bottom: 32px; }
.fuss-wappen { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 50%; padding: 8px; margin-inline: auto; }
.fuss-kaesten { display: grid; gap: 18px; }
.fuss-kasten { background: var(--tinte-karte); padding: 28px 22px; border-radius: 2px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fuss-kasten .fuss-titel { margin: 0; color: #fff; font-size: 1.125rem; letter-spacing: .04em; }
.fuss-kasten p:not(.fuss-titel) { margin: 0; color: rgba(255, 255, 255, .82); font-size: var(--klein); line-height: 1.65; }
.fuss-kasten a:not(.knopf) { color: rgba(255, 255, 255, .92); text-decoration: none; }
.fuss-kasten a:not(.knopf):hover { color: var(--hellblau); text-decoration: underline; }
.fuss-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.fuss .sozial { margin: 32px auto; }
.fuss .sozial a { background: var(--tinte-karte); border-color: rgba(255, 255, 255, .16); }
.fuss .sozial a:hover { background: var(--blau); border-color: var(--blau); }
.fuss-unten { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 calc(92px + env(safe-area-inset-bottom)); }
.fuss-unten-innen { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fuss-copy { margin: 0; font-size: var(--klein); color: rgba(255, 255, 255, .68); }
.fuss .fuss-links { margin-top: 0; border-top: 0; padding: 0; gap: 0 22px; }
.fuss .fuss-links a { font-size: var(--klein); color: rgba(255, 255, 255, .82); text-decoration: none; }
.fuss .fuss-links a:hover { color: #fff; text-decoration: underline; }

@media (min-width: 720px) {
  .menue-panel { right: auto; width: min(400px, 90vw); box-shadow: 12px 0 40px rgba(0, 0, 0, .45); }
  #spiele .spielkarten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .spiel-punkte { display: none; }
  #news .wisch.karussell { grid-auto-columns: calc((100% - 64px - 16px) / 2); gap: 16px; }
  #partner .logos li { flex: 0 0 auto; width: 168px; }
  #partner .logos-premium li { width: 188px; }
  .fuss-kaesten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (min-width: 1100px) {
  .seite-kopf { padding-top: 84px; }
  .bericht { padding-top: 108px; }
  .abschnitt { padding: 88px 0; }
  .abschnitt-kopf { margin-bottom: 32px; }
  .abschnitt-mitte { margin-top: 36px; }

  .kopf-innen { min-height: 82px; }
  .kopf-nav { display: flex; }
  .kopf .marke img { width: 54px; height: 54px; }
  .kopf .sprache { display: flex; background: rgba(255, 255, 255, .12); border-radius: 2px; padding: 2px; }
  .kopf .sprache a { min-width: 38px; min-height: 36px; border-radius: 2px; }
  .kopf .sprache a[aria-current] { background: #fff; color: var(--tinte); }
  .kopf-spenden { display: inline-flex; min-height: 44px; padding: 0 16px; white-space: nowrap; }
  .kopf .kopf-knopf { display: inline-flex; min-height: 44px; padding: 0 18px; white-space: nowrap; }
  .kopf-rund { display: none; }

  .kopf-band .einstieg { padding: 152px 0 44px; }
  .kopf-band .einstieg-text { padding: 0 32px; }
  .kopf-band .bildnachweis { position: absolute; right: 32px; bottom: 16px; padding: 0; }

  #spiele.spielzentrum { padding: 16px 0 56px; }
  #spiele .spielkarten { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .spiel-punkte { display: none; }

  /* Aktuelles Bento-Raster: 1 groß (2/3), 1 hoch (1/3), darunter 3 Karten, 6. ausgeblendet */
  #news .wisch.karussell { display: grid; grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; gap: 24px; overflow: visible; padding-bottom: 0; }
  #news .karussell-steuer { display: none; }
  #news .nachricht:nth-child(n+6) { display: none; }
  #news .nachricht:nth-child(1) { grid-column: span 4; }
  #news .nachricht:nth-child(2) { grid-column: span 2; }
  #news .nachricht:nth-child(1), #news .nachricht:nth-child(2) { position: relative; min-height: 410px; background: var(--tinte); color: #fff; border: 0; }
  #news .nachricht:nth-child(1) > img, #news .nachricht:nth-child(2) > img,
  #news .nachricht:nth-child(1) > .ek, #news .nachricht:nth-child(2) > .ek,
  #news .nachricht:nth-child(1) > .ohne-bild, #news .nachricht:nth-child(2) > .ohne-bild { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  #news .nachricht:nth-child(1) > .ek, #news .nachricht:nth-child(2) > .ek { justify-content: flex-start; padding-top: 28px; }
  #news .nachricht:nth-child(1) .nachricht-text, #news .nachricht:nth-child(2) .nachricht-text { position: relative; z-index: 2; margin-top: auto; padding: 64px 24px 22px; background: linear-gradient(180deg, rgba(12, 22, 54, 0) 0%, rgba(12, 22, 54, .78) 42%, rgba(12, 22, 54, .96) 100%); color: #fff; }
  #news .nachricht:nth-child(1) .titel { font-size: 1.5rem; line-height: 1.2; }
  #news .nachricht:nth-child(2) .titel { font-size: 1.35rem; line-height: 1.25; }
  #news .nachricht:nth-child(1) .meta, #news .nachricht:nth-child(2) .meta { color: var(--hellblau); }
  #news .nachricht:nth-child(1) .auszug { display: none; }
  #news .nachricht:nth-child(2) .auszug { color: rgba(255, 255, 255, .86); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #news .nachricht:nth-child(3), #news .nachricht:nth-child(4), #news .nachricht:nth-child(5) { grid-column: span 2; background: #fff; }
  #news .nachricht:nth-child(3) .auszug, #news .nachricht:nth-child(4) .auszug, #news .nachricht:nth-child(5) .auszug { display: none; }
  #news .nachricht:nth-child(3) .nachricht-text, #news .nachricht:nth-child(4) .nachricht-text, #news .nachricht:nth-child(5) .nachricht-text { padding: 16px 18px 20px; }

  #ergebnisse .saison, #ergebnisse-seite .saison { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: stretch; }
  .bildband { min-height: 280px; }
  #partner.partner { padding: 56px 0; }
  #spenden .spenden-band-innen { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .fuss { padding-top: 64px; }
  .fuss-unten { padding: 18px 0; }
  .fuss-unten-innen { flex-direction: row; justify-content: space-between; }
}

/* Fuß: helle Knöpfe behalten dunkle Schrift (Fußlinks sind weiß) */
.fuss a.knopf-hell, .fuss a.knopf-hell:visited { color: var(--tinte); }

/* ==========================================================================
   Korrekturen Unterseiten & Handy-Fuß (5 Darstellungsfehler)
   ========================================================================== */

/* 1. Chat-Blase am Desktop auf Unterseiten kompakt/rund in die Ecke, Inhalt frei halten */
@media (min-width: 1100px) {
  body:has(main.seite, .bericht) .chat { right: 16px; bottom: 16px; }
  body:has(main.seite, .bericht) .chat-blase { width: 52px; height: 52px; min-width: 52px; min-height: 52px; padding: 4px; gap: 0; }
  body:has(main.seite, .bericht) .chat-blase .chat-figur { width: 44px; height: 44px; }
  body:has(main.seite, .bericht) .chat-blase span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  main.seite > .breit, main.seite > section > .breit { padding-right: 84px; }
}

/* 2. Spiele-Seite oben: 3 gleiche Spalten am Desktop, sichtbare Links/Punkte, normaler Abschnittsabstand */
#spiele-seite.spielzentrum.auf-seite { padding-top: 28px; padding-bottom: 0; }
#spiele-seite .spiel-punkte button { background: #cfd8ee; }
#spiele-seite .spiel-punkte button.aktiv { background: var(--blau); }
#spiele-seite .spiel-links { margin-top: 12px; }
#spiele-seite .spiel-links a { color: var(--blau); }
#spiele-seite .spiel-links a:hover { color: var(--tinte); }
#spiele-seite + #ergebnisse-seite { padding-top: 28px; }
@media (min-width: 720px) {
  #spiele-seite .spielkarten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
  #spiele-seite.spielzentrum.auf-seite { padding-top: 36px; }
  #spiele-seite .spielkarten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  #spiele-seite + #ergebnisse-seite { padding-top: 44px; }
}

/* 3. Mannschaften-Seite: Sponsorenlogos als Kärtchen-Raster & gegliederte Titelliste */
.inhalt .sponsoren-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 28px; }
.inhalt .sponsor-karte { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; background: #fff; border: 1px solid #e4e8f2; border-radius: 12px; text-align: center; transition: border-color .2s var(--kurve), box-shadow .2s var(--kurve); }
.inhalt .sponsor-karte:hover { border-color: #c9d3ee; box-shadow: 0 8px 22px rgba(12, 22, 54, .08); }
.inhalt .sponsor-karte figure { margin: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.inhalt .sponsor-karte a { display: flex; align-items: center; justify-content: center; width: 100%; height: 96px; }
.inhalt .sponsor-karte img { width: auto; height: auto; max-width: min(100%, 200px); max-height: 96px; object-fit: contain; border-radius: 0; }
.inhalt .sponsor-karte h4 { margin: 0; font-size: .8125rem; font-weight: 600; color: #5a6380; line-height: 1.25; }
.inhalt > figure:has(> a[href^="http"]:not([href*="scneuenheim"]) > img) > a > img { max-width: min(100%, 200px); max-height: 100px; }
.inhalt .titel-bereich { margin: 1.8em 0 .6em; padding-top: .9em; border-top: 2px solid var(--blau); font-size: 1.125rem; font-weight: 800; color: var(--tinte); }
.inhalt .titel-gruppe { margin: 1.25em 0 .35em; color: var(--blau); font-size: var(--text); }
.inhalt .titel-gruppe strong { font-weight: 800; }
.inhalt ul.titel-liste { list-style: none; padding: 0; margin: 0 0 1.4em; font-size: var(--klein); line-height: 1.5; border-top: 1px solid #e4e8f2; }
.inhalt ul.titel-liste li { margin: 0; padding: 7px 0; border-bottom: 1px solid #e4e8f2; break-inside: avoid; }
.inhalt .titel-zeile { margin: 0; padding: 8px 0; border-bottom: 1px solid #e4e8f2; font-size: var(--klein); line-height: 1.55; }
.inhalt ul.titel-auszeichnungen { list-style: none; padding: 0; margin: .5em 0 1.4em; border-top: 1px solid #e4e8f2; font-size: var(--klein); line-height: 1.5; }
.inhalt ul.titel-auszeichnungen li { margin: 0; padding: 8px 0 8px 14px; border-bottom: 1px solid #e4e8f2; border-left: 3px solid var(--blau); }
@media (min-width: 720px) {
  .inhalt .sponsoren-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .inhalt ul.titel-liste { columns: 2; column-gap: 28px; }
}

/* 4. Verein-Seite: lose Bildunterschriften-Liste ausblenden, Bildunterschrift direkt am Galeriebild */
.inhalt p.galerie-rest { display: none; } /* app.js: nur kurze Unterschriftenzeilen direkt nach einer Galerie */
.inhalt .galerie a { position: relative; }
.inhalt .galerie-titel { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 8px 7px; background: linear-gradient(180deg, rgba(12, 22, 54, 0) 0%, rgba(12, 22, 54, .86) 100%); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 5. Handy 390: kein weißer Streifen unter dem Fuß (Tab-Leisten-Abstand in Fußfarbe) */
@media (max-width: 1099px) {
  body { padding-bottom: 0; }
  footer.fuss { padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); }
  footer.fuss .fuss-unten { padding-bottom: 24px; }
}

/* loser Punkt im Kartenkopf (Heim-Markierung) weg, Kopf sagt schon „Heim“ */
.heim .spiel-kopf::after { content: none; }

/* Handy/Tablet: Chat-Knopf als eigener Platz rechts in der Tab-Leiste, verdeckt keinen Inhalt (Prüfung 2, B2 Handy) */
@media (max-width: 1099.98px) {
  .tabs { padding-right: 64px; }
  .chat { right: 8px; bottom: calc((var(--tabs) - 52px) / 2 + env(safe-area-inset-bottom)); }
  .chat-blase { width: 52px; height: 52px; min-width: 52px; min-height: 52px; padding: 4px; gap: 0; box-shadow: 0 4px 12px rgba(12,22,54,.22); }
  .chat-blase .chat-figur { width: 44px; height: 44px; }
  .chat-blase span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Nachbesserung 01.12. */

/* S2: Einheitliches Sponsoren-Raster (Startseite, Sponsorenseite, Mannschaften, Teams, Engagement) */
.partner-logos .logos,
#partner .logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.partner-logos .logos li,
#partner .logos li {
  flex: none;
  width: auto;
  min-width: 0;
  margin: 0;
}
.partner-logos .logos a,
#partner .logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dfe4ef;
  border-radius: 12px;
  transition: transform .2s var(--kurve), box-shadow .2s var(--kurve), border-color .2s var(--kurve);
}
.partner-logos .logos-haupt,
#partner .logos-haupt {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}
.partner-logos .logos-haupt a,
#partner .logos-haupt a {
  height: 168px;
}
.partner-logos .logos a:hover,
#partner .logos a:hover {
  transform: translateY(-2px);
  border-color: var(--koenig);
  box-shadow: 0 8px 22px rgba(12, 22, 54, .12);
}
.partner-logos .logos a:focus-visible {
  outline: 3px solid var(--koenig);
  outline-offset: 2px;
}
#partner .logos a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.partner-logos .logos img,
#partner .logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.partner-logos .logos a.logo-text,
#partner .logos a.logo-text {
  color: var(--tinte);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: var(--klein);
  line-height: 1.25;
}
.partner-logos .logos a.logo-text span,
#partner .logos a.logo-text span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}
.sponsoren-weitere {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: var(--klein);
}
.sponsoren-weitere a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (min-width: 720px) {
  .partner-logos .logos,
  #partner .logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 1100px) {
  .partner-logos .logos,
  #partner .logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
  .partner-logos .logos-premium,
  #partner .logos-premium {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
  .inhalt .partner-logos .logos,
  .inhalt .partner-logos .logos-premium {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

/* S4: Startseite Social-Media-Bereich */
#social .social-raster {
  display: grid;
  gap: 16px;
}
#social .social-gross {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tinte);
  color: #fff;
  text-decoration: none;
  border: 1px solid #dfe4ef;
  transition: transform .2s var(--kurve), box-shadow .2s var(--kurve);
}
#social .social-gross:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 22, 54, .16);
}
#social .social-gross > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: transform .25s var(--kurve);
}
#social .social-gross:hover > img {
  transform: scale(1.03);
}
#social .social-gross::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 54, .14) 0%, rgba(12, 22, 54, .88) 100%);
  pointer-events: none;
}
#social .social-gross-inhalt {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 24px;
}
#social .social-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: var(--klein);
  font-weight: 700;
  color: #fff;
}
#social .social-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}
#social .social-gross strong {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: #fff;
}
#social .social-hinweis {
  margin: 0;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .84);
}
#social .social-fallback {
  color: var(--hellblau);
  font-size: var(--klein);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
#social .social-video iframe {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 460px;
  border: 0;
  background: #fff;
}
#social .social-kacheln {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
#social .social-kachel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 132px;
  padding: 18px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dfe4ef;
  color: var(--tinte);
  text-decoration: none;
  transition: transform .2s var(--kurve), box-shadow .2s var(--kurve), border-color .2s var(--kurve);
}
#social .social-kachel:hover {
  transform: translateY(-2px);
  border-color: var(--koenig);
  box-shadow: 0 8px 22px rgba(12, 22, 54, .10);
}
#social .social-kachel svg {
  width: 28px;
  height: 28px;
  fill: var(--blau);
  margin-bottom: 6px;
}
#social .social-kachel strong {
  font-size: var(--text);
  font-weight: 800;
  line-height: 1.2;
}
#social .social-kachel span {
  font-size: var(--klein);
  color: #5a6380;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  #social .social-raster {
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
  #social .social-kacheln {
    gap: 16px;
  }
}

/* S3: Unterseiten und Beiträge aufwerten (streng auf main.seite begrenzt) */
@media (max-width: 719px) {
  main.seite .breit {
    padding-inline: 16px;
  }
}

/* Sprungmarken-Leiste unter dem Seitenkopf */
main.seite .sprungmarken-leiste {
  background: var(--papier);
  border-bottom: 1px solid #e4e8f2;
}
main.seite .sprungmarken {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 10px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
main.seite .sprungmarken::-webkit-scrollbar {
  display: none;
}
main.seite .sprungmarken a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfd8ee;
  color: var(--tinte);
  font-size: var(--klein);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--kurve), border-color .2s var(--kurve), color .2s var(--kurve);
}
main.seite .sprungmarken a:hover,
main.seite .sprungmarken a.aktiv {
  background: var(--blau);
  border-color: var(--blau);
  color: #fff;
}

/* Seitenleiste: Handy = Bereichslinks wischbar oben, „Fragen?“ unten; Desktop = rechts sticky */
@media (max-width: 1099.98px) {
  main.seite .seite-raster {
    gap: 24px;
    padding-top: 20px;
  }
  main.seite .seite-seite {
    display: contents;
  }
  main.seite .seite-raster .bereich-links {
    order: -1;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0 6px;
    -webkit-overflow-scrolling: touch;
  }
  main.seite .seite-raster .bereich-links::-webkit-scrollbar {
    display: none;
  }
  main.seite .seite-raster .bereich-links a {
    flex: none;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: var(--klein);
    white-space: nowrap;
  }
  main.seite .seite-raster .bereich-links a::after {
    content: none;
  }
  main.seite .seite-raster .inhalt {
    order: 0;
  }
  main.seite .seite-raster .hilfe-karte {
    order: 1;
  }
}

@media (min-width: 1100px) {
  main.seite .seite-raster {
    max-width: 1480px;
    grid-template-columns: minmax(0, 1160px) 280px;
    gap: 40px;
  }
  main.seite .inhalt {
    max-width: 1160px;
  }
  main.seite.seite-beitrag .inhalt {
    max-width: 720px;
  }
  main.seite .seite-seite {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }
}

/* Abschnitte & Überschriften im Seiteninhalt */
main.seite .inhalt > .abschnitt {
  padding: 0;
  margin: 0;
}
main.seite .inhalt > .abschnitt + .abschnitt {
  margin-top: 40px;
}
main.seite .inhalt h2 {
  border-left: 4px solid var(--blau);
  padding-left: 14px;
  margin: 0 0 .75em;
}
main.seite .inhalt > .abschnitt.ohne-foto {
  background: var(--papier);
  border: 1px solid #e4e8f2;
  border-radius: 14px;
  padding: 22px 18px;
  width: 100%;
}
main.seite .inhalt .abschnitt > p:not(.verweis-knopf),
main.seite .inhalt .abschnitt .abschnitt-text > p:not(.verweis-knopf),
main.seite .inhalt .abschnitt .spenden-karte > p,
main.seite .inhalt .abschnitt > blockquote,
main.seite .inhalt .abschnitt .abschnitt-text > blockquote,
main.seite .inhalt .abschnitt > ul:not(.galerie):not(.personen):not(.downloads):not(.logos):not(.sponsoren-weitere):not(.titel-liste):not(.schlagworte):not(.werbe-raster),
main.seite .inhalt .abschnitt > ol,
main.seite .inhalt .abschnitt .abschnitt-text > ul:not(.galerie):not(.personen):not(.downloads),
main.seite .inhalt .abschnitt .abschnitt-text > ol {
  max-width: 72ch;
}
main.seite .inhalt p.sterne {
  margin: 0 0 .5em;
  color: var(--blau);
  font-size: 1.125rem;
  letter-spacing: .22em;
  line-height: 1.2;
}
main.seite .inhalt > .abschnitt.mit-foto .abschnitt-paar {
  display: grid;
  gap: 20px;
  align-items: start;
}
main.seite .inhalt > .abschnitt.mit-foto .abschnitt-paar > figure {
  margin: 0;
}
main.seite .inhalt > .abschnitt.mit-foto .abschnitt-text > :first-child {
  margin-top: 0;
}
main.seite .inhalt > .abschnitt.mit-foto .abschnitt-text > :last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  main.seite .inhalt > .abschnitt + .abschnitt {
    margin-top: 72px;
  }
  main.seite .inhalt > .abschnitt.ohne-foto {
    padding: 28px 32px;
  }
  main.seite .inhalt > .abschnitt.mit-foto .abschnitt-paar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
  }
  main.seite .inhalt > .abschnitt.mit-foto .abschnitt-paar > figure {
    grid-column: 1;
    grid-row: 1;
  }
  main.seite .inhalt > .abschnitt.mit-foto .abschnitt-paar > .abschnitt-text {
    grid-column: 2;
    grid-row: 1;
  }
  main.seite .inhalt > .abschnitt.mit-foto.bild-rechts .abschnitt-paar {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
  main.seite .inhalt > .abschnitt.mit-foto.bild-rechts .abschnitt-paar > figure {
    grid-column: 2;
    grid-row: 1;
  }
  main.seite .inhalt > .abschnitt.mit-foto.bild-rechts .abschnitt-paar > .abschnitt-text {
    grid-column: 1;
    grid-row: 1;
  }
}

/* Bilder: nie größer als echte Breite (ohne style-Attribut), klein (<480px) am Desktop rechts neben Text, Hochkant max 70vh */
main.seite .inhalt figure {
  width: fit-content;
  max-width: 100%;
  margin: 1.2em 0;
}
main.seite .inhalt figure.bericht-figur {
  width: 100%;
}
main.seite .inhalt figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
main.seite .inhalt figure.bild-hoch img {
  max-height: 70vh;
  width: auto;
}
main.seite .inhalt figure.bild-klein {
  margin-inline: auto;
  max-width: 100%;
  text-align: center;
}
main.seite .inhalt figure.bild-klein img {
  margin-inline: auto;
}
main.seite .inhalt figure.bild-klein figcaption {
  text-align: center;
}
main.seite .inhalt figure.beitrag-titelbild {
  margin: 0 0 24px;
}

@media (min-width: 720px) {
  main.seite .inhalt > .abschnitt.mit-kleinbild {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 28px;
    align-items: start;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild > h2,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .titel-karten,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .partner-logos,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .galerie,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .tabelle-wrap {
    grid-column: 1 / -1;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild > :not(h2):not(figure.bild-klein):not(.titel-karten):not(.partner-logos):not(.galerie):not(.tabelle-wrap) {
    grid-column: 1;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild > figure.bild-klein {
    grid-column: 2;
    grid-row: 2 / span 5;
    margin: 0;
    max-width: min(360px, 100%);
  }
}

/* Faktenliste (dl.fakten) */
main.seite .inhalt dl.fakten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px 20px;
  margin: 1.2em 0;
  padding: 16px 18px;
  background: var(--papier);
  border: 1px solid #e4e8f2;
  border-radius: 12px;
}
main.seite .inhalt .abschnitt.ohne-foto dl.fakten {
  background: #fff;
}
main.seite .inhalt dl.fakten dt {
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blau);
  margin: 0 0 2px;
}
main.seite .inhalt dl.fakten dd {
  margin: 0;
  font-size: var(--klein);
  font-weight: 600;
  color: var(--tinte);
  line-height: 1.45;
}

/* Verweise als Knopf */
main.seite .inhalt .verweis-knopf {
  margin: 1.2em 0 0;
}
main.seite .inhalt .verweis-knopf .knopf {
  min-height: 44px;
}

/* Lange Listen (Titel, Erfolge): Handy = details, Desktop = 2–3 Spalten Karten */
main.seite .inhalt .titel-karten {
  display: grid;
  gap: 12px;
  margin: 1.2em 0 1.6em;
}
main.seite .inhalt .titel-karten details {
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
main.seite .inhalt .titel-karten summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--papier);
  font-weight: 800;
  color: var(--tinte);
  cursor: pointer;
}
main.seite .inhalt .titel-karten summary::-webkit-details-marker {
  display: none;
}
main.seite .inhalt .titel-karten summary::after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  color: var(--blau);
  flex: none;
}
main.seite .inhalt .titel-karten details[open] > summary::after {
  content: "−";
}
main.seite .inhalt .titel-karte-inhalt {
  padding: 12px 16px 14px;
  font-size: var(--klein);
  line-height: 1.5;
}
main.seite .inhalt .titel-karte-inhalt .titel-liste {
  columns: 1;
  margin: 0;
  border-top: 0;
}
main.seite .inhalt .titel-karte-inhalt p:last-child {
  margin-bottom: 0;
}

@media (min-width: 720px) {
  main.seite .inhalt .titel-karten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }
  main.seite .inhalt .titel-karten summary {
    pointer-events: none;
    cursor: default;
    color: var(--blau);
    border-bottom: 1px solid #e4e8f2;
  }
  main.seite .inhalt .titel-karten summary::after {
    content: none;
  }
}
@media (min-width: 1100px) {
  main.seite .inhalt .titel-karten {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Tabellen sauber kapseln ohne Seiten-Überlauf */
main.seite .inhalt .tabelle-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 1.2em 0;
  border: 1px solid #e4e8f2;
  border-radius: 12px;
  background: #fff;
}
main.seite .inhalt .tabelle-wrap table {
  display: table;
  width: 100%;
  margin: 0;
}

/* B6 & V: Galerien ohne Beschnitt und ohne linken Einzug, einheitliches Raster und Fokusrahmen */
main.seite .inhalt ul.galerie,
main.seite .inhalt ul.personen,
main.seite .inhalt ul.downloads,
main.seite .inhalt ul.schlagworte {
  padding-left: 0;
}
main.seite .inhalt ul.galerie {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
main.seite .inhalt ul.galerie a {
  display: block;
  background: var(--papier);
  border: 1px solid #e4e8f2;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s var(--kurve), box-shadow .2s var(--kurve);
}
main.seite .inhalt ul.galerie a:hover {
  border-color: var(--koenig);
  box-shadow: 0 6px 18px rgba(12, 22, 54, .10);
}
main.seite .inhalt ul.galerie a:focus-visible {
  outline: 3px solid var(--koenig);
  outline-offset: 2px;
}
main.seite .inhalt ul.galerie img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  transition: transform .2s var(--kurve);
}
main.seite .inhalt ul.galerie a:hover img {
  transform: scale(1.02);
}
@media (min-width: 720px) {
  main.seite .inhalt ul.galerie {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  main.seite .inhalt ul.galerie {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* P2 & V: Spenden-Karte, einheitliche Abstände (40 px Handy / 72 px Desktop), Fokusrahmen und 44 px Klickflächen */
main.seite .inhalt .spenden-karte h2 {
  border-left: 0;
  padding-left: 0;
  margin: 0 0 .5em;
}
main.seite .inhalt .spenden-konto .kopieren:focus-visible {
  outline: 3px solid var(--koenig);
  outline-offset: 2px;
}
main.seite .inhalt > .themen {
  margin-top: 40px;
  padding-top: 32px;
}
main.seite .inhalt .themen h2 {
  margin: 40px 0 .75em;
}
main.seite .inhalt .themen h2:first-child {
  margin-top: 0;
}
main.seite .inhalt > .schlagworte,
main.seite .inhalt > .blaettern {
  margin-top: 40px;
}
main.seite .inhalt .schlagworte a,
main.seite .filter a {
  min-height: 44px;
}
main.seite .inhalt .titel-karten summary:focus-visible {
  outline: 3px solid var(--koenig);
  outline-offset: -3px;
}
main.seite .sprungmarken a:focus-visible,
main.seite .inhalt .verweis-knopf .knopf:focus-visible,
main.seite .inhalt .blaettern a:focus-visible,
main.seite .inhalt .nachricht:focus-visible {
  outline: 3px solid var(--koenig);
  outline-offset: 2px;
}
@media (min-width: 900px) {
  main.seite .inhalt > .themen {
    margin-top: 72px;
    padding-top: 40px;
  }
  main.seite .inhalt .themen h2 {
    margin: 56px 0 .75em;
  }
  main.seite .inhalt .themen h2:first-child {
    margin-top: 0;
  }
  main.seite .inhalt > .schlagworte,
  main.seite .inhalt > .blaettern {
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-logos .logos a,
  #partner .logos a,
  #social .social-gross,
  #social .social-gross > img,
  #social .social-kachel,
  main.seite .sprungmarken a,
  main.seite .inhalt ul.galerie a,
  main.seite .inhalt ul.galerie img {
    transition: none;
  }
  .partner-logos .logos a:hover,
  #partner .logos a:hover,
  #social .social-gross:hover,
  #social .social-gross:hover > img,
  #social .social-kachel:hover,
  main.seite .inhalt ul.galerie a:hover img {
    transform: none;
  }
}

/* Nachbesserung 01.12. Runde 5 */

/* R1: Textkacheln im Sponsoren-Raster sauber an Silben trennen, Schrift am Handy passend (min. 12 px) */
.partner-logos .logos a.logo-text,
#partner .logos a.logo-text {
  padding-inline: 10px;
  font-size: clamp(0.75rem, 3.1vw, 0.9375rem);
  hyphens: auto;
  -webkit-hyphens: auto;
}
.partner-logos .logos a.logo-text span,
#partner .logos a.logo-text span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* R2: Unterzeile (h3 direkt unter h2 nach Zusammenführung leerer Abschnitte) */
main.seite .inhalt .abschnitt > h2 + h3 {
  margin-top: -.25em;
  margin-bottom: .9em;
  font-weight: 600;
  color: #3d4663;
}

/* R3: Kleinbilder immer in echter Größe, am Desktop direkt rechts neben dem Text (max. 72ch, Abstand 28 px), am Handy mittig unter dem ersten Absatz */
main.seite .inhalt figure.bild-klein {
  width: fit-content;
  max-width: 100%;
  margin: 1.2em auto;
  text-align: center;
}
main.seite .inhalt figure.bild-klein img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin-inline: auto;
}
@media (min-width: 720px) {
  main.seite .inhalt > .abschnitt.mit-kleinbild {
    display: grid;
    grid-template-columns: minmax(0, 72ch) auto minmax(0, 1fr);
    gap: 0 28px;
    align-items: start;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild > h2,
  main.seite .inhalt > .abschnitt.mit-kleinbild > h3,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .titel-karten,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .partner-logos,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .galerie,
  main.seite .inhalt > .abschnitt.mit-kleinbild > .tabelle-wrap {
    grid-column: 1 / -1;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild > :not(h2):not(h3):not(figure.bild-klein):not(.titel-karten):not(.partner-logos):not(.galerie):not(.tabelle-wrap) {
    grid-column: 1;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild > figure.bild-klein {
    grid-column: 2;
    grid-row: 2 / span 6;
    justify-self: start;
    margin: 0;
    max-width: 100%;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild:not(:has(> h2)) > figure.bild-klein {
    grid-row: 1 / span 6;
  }
  main.seite .inhalt > .abschnitt.mit-kleinbild:has(> h2 + h3) > figure.bild-klein {
    grid-row: 3 / span 6;
  }
}

/* R5: Galerien im einheitlichen 3:2-Raster (4 Spalten Desktop, 2 Handy, 12 px Abstand), Unterschrift sauber nach 2 Zeilen mit Auslassungspunkten */
main.seite .inhalt ul.galerie {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
main.seite .inhalt ul.galerie li {
  min-width: 0;
}
main.seite .inhalt ul.galerie a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
}
main.seite .inhalt ul.galerie img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
main.seite .inhalt ul.galerie img.bild-hoch {
  object-position: center top;
}
.inhalt .galerie-titel {
  display: block;
  -webkit-line-clamp: unset;
  padding: 22px 10px 8px;
  overflow: hidden;
}
.inhalt .galerie-titel > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 720px) {
  main.seite .inhalt ul.galerie {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  main.seite .inhalt ul.galerie {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Nachbesserung 01.12. Runde 6 */

/* S1: Kopfbereich als sanfte CSS-Diashow (5 Vereinsfotos, 6 s je Bild, 1 s Überblendung) */
.kopf-band .band-diashow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
}
.kopf-band .band-diashow .dia-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  opacity: 0;
  animation: dia-wechsel 30s ease-in-out infinite;
}
.kopf-band .band-diashow .dia-bild > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 25%;
  opacity: 1;
  animation: none;
}
.kopf-band .band-diashow .dia-1 { opacity: 1; animation-delay: 0s; }
.kopf-band .band-diashow .dia-2 { animation-delay: -24s; }
.kopf-band .band-diashow .dia-3 { animation-delay: -18s; }
.kopf-band .band-diashow .dia-4 { animation-delay: -12s; }
.kopf-band .band-diashow .dia-5 { animation-delay: -6s; }
@keyframes dia-wechsel {
  0%, 16.67% { opacity: 1; }
  20%, 96.67% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .kopf-band .band-diashow .dia-bild {
    animation: none;
    opacity: 0;
  }
  .kopf-band .band-diashow .dia-1 {
    opacity: 1;
  }
}

/* S3: Ergebnis-Karten auf gemeinsamer Linie (feste Zeilen, Zahlen auf Grundlinie, Namen max. 2 Zeilen) */
.ek {
  --ek-logo: 64px;
  --ek-pille-py: 7px;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 10px;
}
.ek-kopf {
  min-height: 1.25em;
}
.ek-paar {
  align-items: start;
}
.ek-team {
  display: grid;
  grid-template-rows: var(--ek-logo) 2.4em;
  justify-items: center;
  align-items: start;
  gap: 8px;
}
.ek-logo {
  width: var(--ek-logo);
  height: var(--ek-logo);
}
.ek-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  max-height: 2.4em;
  width: 100%;
}
.ek-pille {
  align-self: start;
  align-items: baseline;
  justify-content: center;
  padding: var(--ek-pille-py) 12px;
  margin-top: calc((var(--ek-logo) - 1em - var(--ek-pille-py) * 2) / 2);
  font-variant-numeric: tabular-nums;
}
.ek-datum {
  min-height: 1.2em;
}
.ek-liste li {
  display: flex;
}
.ek-liste .ek-link {
  display: flex;
  width: 100%;
  height: 100%;
}
.ek-liste .ek {
  width: 100%;
  height: 100%;
}
#spiele .ek-spiel .ek {
  --ek-logo: 58px;
  --ek-pille-py: 8px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 720px) {
  .ek {
    --ek-logo: 72px;
  }
  #spiele .ek-spiel .ek {
    --ek-logo: 58px;
  }
}

/* S2 & S4: Große Aktuelles-Ergebniskarte mittig/größer und Spalten in „Ergebnisse und Saison“ bündig */
@media (min-width: 1100px) {
  #news .nachricht:nth-child(1) > .ek {
    --ek-logo: 96px;
    --ek-pille-py: 12px;
    justify-content: center;
    align-content: center;
    gap: 14px;
    padding: 28px 36px 128px;
  }
  #news .nachricht:nth-child(1) > .ek .ek-kopf {
    font-size: 1rem;
    letter-spacing: .04em;
  }
  #news .nachricht:nth-child(1) > .ek .ek-paar {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    gap: 18px;
  }
  #news .nachricht:nth-child(1) > .ek .ek-logo {
    padding: 10px;
  }
  #news .nachricht:nth-child(1) > .ek .ek-team {
    font-size: 1.0625rem;
  }
  #news .nachricht:nth-child(1) > .ek .ek-pille {
    font-size: 2.75rem;
    padding: var(--ek-pille-py) 24px;
    border-radius: 12px;
  }
  #news .nachricht:nth-child(1) > .ek .ek-datum {
    font-size: .875rem;
  }

  #ergebnisse .saison,
  #ergebnisse-seite .saison {
    align-items: stretch;
  }
  #ergebnisse .saison-spalte,
  #ergebnisse-seite .saison-spalte {
    display: flex;
    flex-direction: column;
  }
  #ergebnisse .ek-liste,
  #ergebnisse-seite .ek-liste {
    margin-top: 16px;
    flex: 1;
    align-content: space-between;
  }
  #ergebnisse .erfolge-liste,
  #ergebnisse-seite .erfolge-liste {
    margin-top: 16px;
  }
  #ergebnisse .saison-bilanz,
  #ergebnisse-seite .saison-bilanz {
    margin-top: 16px;
  }
  #ergebnisse .saison-naechste,
  #ergebnisse-seite .saison-naechste {
    margin-top: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  #ergebnisse .saison-naechste ul,
  #ergebnisse-seite .saison-naechste ul {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
  }
  #ergebnisse .saison-naechste li,
  #ergebnisse-seite .saison-naechste li {
    flex: 1;
    display: flex;
  }
  #ergebnisse .saison-naechste li a,
  #ergebnisse-seite .saison-naechste li a {
    flex: 1;
    align-content: center;
  }
  #ergebnisse .saison-mehr,
  #ergebnisse-seite .saison-mehr {
    margin: 20px 0 0;
    padding-top: 0;
  }
}

/* S5: Statische Anfahrtskarte („So finden Sie uns“) */
.karte-statisch {
  margin: 16px 0 14px;
}
.karte-statisch img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #cfd8ee;
  background: var(--papier);
}
.karte-quelle {
  margin-top: 6px;
  font-size: .75rem;
  line-height: 1.4;
  color: #5a6380;
}
.karte-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.karte-knoepfe .knopf {
  flex: 1 1 180px;
}

/* Nachbesserung 02.12. Runde 6b */

/* B1 (S1): Bildnachweis im Kopfbereich nur sichtbar, solange Bild 1 (.dia-1) sichtbar ist */
.kopf-band .bildnachweis {
  opacity: 1;
  animation: bildnachweis-wechsel 30s ease-in-out infinite;
  animation-delay: 0s;
}
@keyframes bildnachweis-wechsel {
  0%, 16.67% { opacity: 1; }
  20%, 96.67% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .kopf-band .bildnachweis {
    animation: none;
    opacity: 1;
  }
}
