/*
  SG Motor Wilsdruff, Abteilung Fußball – Gestaltung der statischen Seite.

  Farben wie unter WordPress (Kadence-Palette) und im Entwurf für den
  Sportheim-Bildschirm: Rot #9D0500, Hellrot #DD3A36. Schrift Helvetica bzw.
  die Systemschrift, wie bisher – keine Fremdschrift, nichts von außen.

  Keine style-Attribute im HTML verwenden: Die CSP erlaubt nur Stylesheets
  vom eigenen Server ('self'), Inline-Stile verwirft der Browser.
*/

:root {
  --rot: #9d0500;
  /* #d1322e statt #dd3a36 (11.11.2026): Weiß darauf und die Schrift in Hellrot
     erreichten 4,44:1, nötig sind 4,5:1 (WCAG AA). */
  --hellrot: #d1322e;
  --dunkelrot: #550000;
  --rosa: #fbe9e8;
  --text: #1b1f24;
  --grau: #5b6470;
  --linie: #e3e7ec;
  --flaeche: #f7fafc;
  --breite: 1240px;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--flaeche);
  color: var(--text);
  font: 400 17px/1.6 Helvetica, "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

img { max-width: 100%; height: auto; }

/* hidden muss auch gegen display-Regeln weiter unten gewinnen (IFrame, Ticker). */
[hidden] { display: none !important; }

a { color: var(--rot); }
a:hover, a:focus-visible { color: var(--dunkelrot); }
:focus-visible { outline: 3px solid var(--hellrot); outline-offset: 2px; }

/* Überschriften in Barlow (SIL Open Font License, assets/fonts/OFL-Barlow.txt), normale
   Breite - die schmale Barlow Condensed war Augustin zu langgezogen (10.11.2026). Vom eigenen Server - die CSP
   lässt nur font-src 'self' zu, und Google Fonts würde die IP der Besucher an
   Google geben. Je Schnitt zwei Teildateien (latin, latin-ext); der Browser lädt
   latin-ext nur, wenn ein Zeichen daraus vorkommt. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

h1, h2, h3, h4,
.marke-name, .ticker-titel, .person-name, .knopf, .hauptmenue > ul > li > a, .gruppe-knopf {
  font-family: "Barlow", Helvetica, Arial, sans-serif;
  letter-spacing: .01em;
}
h1, h2, h3, h4 { line-height: 1.15; color: var(--rot); font-weight: 700; }
h2 { font-size: 1.7rem; margin: 1.5em 0 .45em; }
h3 { font-size: 1.35rem; margin: 1.35em 0 .4em; }
h4 { font-size: 1.12rem; margin: 1.2em 0 .3em; }
.hauptmenue > ul > li > a, .gruppe-knopf { font-size: 1.02rem; font-weight: 600; }
.knopf { font-size: 1.02rem; }

.mitte { text-align: center; }
figure.mitte img { margin: 0 auto; display: block; }
figure { margin: 1.5em 0; }

.sprung {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--text); padding: 8px 12px; z-index: 20;
}
.sprung:focus { left: 8px; top: 8px; }

.innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------------------------------------------------------------- Kopf */

/* Verlauf wie im Kopf der Pflege (SGMW Styles/Site.css), 11.11.2026 Augustin. */
.kopf {
  background: linear-gradient(90deg, var(--dunkelrot), var(--rot));
  color: #fff;
  border-bottom: 6px solid var(--hellrot);
  position: relative;
  z-index: 10;
}

.kopfzeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.marke {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}
.marke:hover, .marke:focus-visible { color: #fff; }
.marke img { width: 48px; height: auto; }
.marke-text { display: flex; flex-direction: column; line-height: 1.1; }
.marke-name { font-weight: 700; font-size: 1.6rem; letter-spacing: .01em; }
.marke-zusatz { color: #f6c9c7; font-size: 1rem; }

/* Menü: Gruppen klappen am Bildschirm per Zeiger oder Tastatur auf
   (:hover, :focus-within), am Telefon per Knopf (menue.js). Ohne Skript
   stehen am Telefon alle Punkte offen untereinander. */
.menue-knopf { display: none; }

.hauptmenue { background: var(--dunkelrot); }
.hauptmenue > ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  list-style: none;
}
.hauptmenue li { position: relative; list-style: none; }
.hauptmenue a,
.gruppe-knopf {
  display: block;
  padding: 12px 14px;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
}
/* Hauptpunkte in der Überschriftenschrift; .hauptmenue a / .gruppe-knopf oben
   setzen font: inherit und hätten sie sonst zurückgesetzt. */
.hauptmenue > ul > li > a, .hauptmenue .gruppe-knopf {
  font-family: "Barlow", Helvetica, Arial, sans-serif;
  font-size: 1.02rem;
  letter-spacing: .01em;
}
.gruppe-knopf::after { content: " ▾"; font-size: .8em; }
.hauptmenue a:hover, .hauptmenue a:focus-visible,
.gruppe-knopf:hover, .gruppe-knopf:focus-visible,
.hauptmenue a[aria-current="page"], .gruppe.bereich > .gruppe-knopf {
  background: var(--rot);
  color: #fff;
}

.gruppe > ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 250px;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--linie);
  border-top: 3px solid var(--hellrot);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .15);
}
.gruppe:hover > ul,
.gruppe:focus-within > ul,
.gruppe.offen > ul { display: block; }
.gruppe > ul a {
  color: var(--text);
  font-weight: 400;
  padding: 8px 18px;
}
.gruppe > ul a:hover, .gruppe > ul a:focus-visible, .gruppe > ul a[aria-current="page"] {
  background: var(--rosa);
  color: var(--rot);
}
.zwischentitel {
  padding: 8px 18px 2px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grau);
}

/* Seit 11.11.2026 auch Telefone quer (z. B. 932x430): Dort griff das Desktop-Menü,
   und das Untermenü „Nachwuchs“ ragte unter den Bildschirm. Dieselbe Abfrage in menue.js. */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
  .js .menue-knopf {
    display: block;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    color: var(--rot);
    background: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
  }
  /* Kopf bleibt oben stehen und wird beim Scrollen schmaler (menue.js setzt .klein). */
  .kopf { position: sticky; top: 0; }
  .kopfzeile { padding-top: 8px; padding-bottom: 8px; transition: padding .2s; }
  .marke img { width: 40px; transition: width .2s; }
  .kopf.klein .kopfzeile { padding-top: 4px; padding-bottom: 4px; }
  .kopf.klein .marke img { width: 30px; }
  .kopf.klein .marke-zusatz { display: none; }

  /* Menü als Leiste von rechts unter dem Kopf; --kopf-hoehe setzt menue.js. */
  .js .hauptmenue {
    position: fixed;
    top: var(--kopf-hoehe, 64px);
    right: 0;
    bottom: 0;
    z-index: 30;
    width: min(86vw, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .3);
  }
  .js .hauptmenue.offen { transform: none; visibility: visible; }
  .menue-schleier {
    position: fixed;
    inset: var(--kopf-hoehe, 64px) 0 0 0;
    /* unter .kopf (z-index 10): Der Kopf ist eine eigene Stapelebene, die Leiste
       darin läge sonst unter dem Schleier und wirkte grau (10.11.2026). */
    z-index: 5;
    background: rgba(0, 0, 0, .45);
  }
  .menue-offen body { overflow: hidden; }
  .hauptmenue > ul > li > a, .hauptmenue .gruppe-knopf { width: 100%; padding: 14px 20px; text-align: left; }
  .gruppe > ul a, .zwischentitel { padding-top: 11px; padding-bottom: 11px; }
  .hauptmenue > ul { flex-direction: column; padding: 0; }
  .gruppe > ul {
    position: static;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, .06);
    min-width: 0;
  }
  .gruppe > ul a, .zwischentitel { color: #fff; padding-left: 32px; }
  .gruppe > ul a:hover, .gruppe > ul a[aria-current="page"] { background: var(--rot); color: #fff; }
  .zwischentitel { color: #f6c9c7; }
  /* Ohne Skript alles offen; mit Skript nur die angetippte Gruppe. */
  .gruppe > ul { display: block; }
  .js .gruppe > ul { display: none; }
  .js .gruppe.offen > ul { display: block; }
  .js .gruppe:hover > ul, .js .gruppe:focus-within > ul { display: none; }
  .js .gruppe.offen:hover > ul, .js .gruppe.offen:focus-within > ul { display: block; }
}

/* ---------------------------------------------------------------- Inhalt */

.titelleiste { background: #fff; border-bottom: 1px solid var(--linie); }
.titelleiste h1 { margin: 0; padding: 26px 0 20px; font-size: 2.15rem; }

.inhalt {
  padding-top: 24px;
  padding-bottom: 48px;
  background: #fff;
  min-height: 50vh;
}
.inhalt > :first-child { margin-top: 0; }

.hinweis { color: var(--grau); font-style: italic; }

.band {
  background: var(--rot);
  color: #fff;
  border-radius: 10px;
  padding: 2px 16px;
  margin: 32px 0 14px;
}
.band h2, .band h3 { color: #fff; margin: .4em 0; }

.spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: .95rem;
}
th, td {
  border: 1px solid var(--linie);
  padding: 8px 12px;
  vertical-align: top;
  text-align: left;
}
th { background: var(--rosa); color: var(--rot); }
td > p, th > p { margin: 0; }
tr:nth-child(even) td { background: var(--flaeche); }

/* ---------------------------------------------------------------- Galerie */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 1em 0 2em;
}
.galerie a { display: block; line-height: 0; border-radius: 6px; overflow: hidden; background: var(--flaeche); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.galerie a:hover img { transform: scale(1.03); }

.leuchtkasten {
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  border: 0;
  background: transparent;
}
.leuchtkasten::backdrop { background: rgba(0, 0, 0, .85); }
.leuchtkasten img { display: block; max-width: 92vw; max-height: 85vh; margin: 0 auto; }
.leuchtkasten .leiste {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  padding: 10px; color: #fff;
}
.leuchtkasten button {
  min-width: 44px; min-height: 44px;
  font-size: 1.6rem; line-height: 1;
  color: #fff; background: rgba(255, 255, 255, .12);
  border: 0; border-radius: 6px; cursor: pointer;
}

/* ---------------------------------------------------------------- Beiträge */

.ticker {
  display: flex;
  align-items: stretch;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--hellrot);
  color: #fff;
}
.ticker-titel {
  flex-shrink: 0;
  padding: 10px 18px;
  background: var(--rot);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ticker-band { flex: 1; overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.ticker-lauf { display: inline-flex; gap: 48px; padding-left: 100%; animation: lauf 60s linear infinite; }
.ticker-band:hover .ticker-lauf, .ticker-band:focus-within .ticker-lauf { animation-play-state: paused; }
.ticker a { color: #fff; font-weight: 600; text-decoration: none; }
.ticker a:hover, .ticker a:focus-visible { text-decoration: underline; color: #fff; }
@keyframes lauf { to { transform: translateX(-100%); } }

.beitragsliste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 1em 0;
}
.karte {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
/* Alle Bilder gleich hoch (Verein, 25.11.2026), Überstand wird abgeschnitten. overflow:
   hidden ist nötig: In der Flex-Spalte (.karte) wuchs das Feld trotz aspect-ratio mit
   einem hohen Foto mit (automatische Mindesthöhe nach dem Inhalt). */
.karte-bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche); }
.karte-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.karte-text { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.karte h3 { margin: 0; font-size: 1.15rem; }
.karte h3 a { text-decoration: none; }
.karte p { margin: 0; color: var(--grau); }
.datum { font-size: .9rem; color: var(--grau); }
.weiter { margin-top: auto; padding-top: 8px; font-weight: 600; }

/* Einzelner Beitrag (Augustin, 10.11.2026): Text über die ganze Breite,
   Beitragsbild, Einzelbilder und Bildwechsel mittig. */
.beitrag { max-width: none; }
.beitrag-kopfbild { margin: 0 0 1em; text-align: center; }
.beitrag-kopfbild img { display: block; margin: 0 auto; border-radius: 12px; max-height: 520px; width: auto; }
.beitrag-bild { margin: 0 auto 1.2em; max-width: 900px; text-align: center; }
.beitrag-bild img { display: block; margin: 0 auto; border-radius: 10px; max-height: 640px; width: auto; }
.beitrag .datum { text-align: left; }
.beitrag p { white-space: pre-line; }
figcaption { margin-top: 6px; font-size: .9rem; color: var(--grau); }

/* ---------------------------------------------------------------- Bildwechsel
   Mehrere Bilder in einem Abschnitt (bildwechsel.js). Das Band scrollt
   waagerecht mit scroll-snap: wischen auf dem Telefon, Pfeile am Bildschirm. */

.bildwechsel { position: relative; max-width: 900px; margin: 0 auto 1.6em; }
/* Präsentationsfolien (Sportliches Konzept): 16:9 und breiter, damit die Schrift lesbar ist. */
.bildwechsel.folien { max-width: 1140px; }
.bildwechsel.folien .bw-bild { aspect-ratio: 16 / 9; }
.bw-band {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 12px;
  background: #111;
  scrollbar-width: none;
}
.bw-band::-webkit-scrollbar { display: none; }
.bw-bild {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.bw-bild img { width: 100%; height: 100%; object-fit: contain; }
.bw-bild figcaption {
  margin: 0;
  padding: 8px 14px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
}
.bw-pfeil {
  position: absolute;
  top: calc(50% - 40px);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--rot);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.bw-zurueck { left: 10px; }
.bw-weiter { right: 10px; }
.bw-pfeil:hover { background: #fff; }
.bw-leiste {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 10px;
}
.bw-punkte { display: flex; flex-wrap: wrap; gap: 6px; }
.bw-punkt {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d3d8df;
  cursor: pointer;
}
.bw-punkt[aria-current="true"] { background: var(--rot); width: 28px; border-radius: 6px; }
.bw-zaehler { font-size: .9rem; color: var(--grau); }
/* Auf dem Telefon reicht Wischen; die Pfeile verdecken dort zu viel vom Bild. */
@media (max-width: 600px) {
  .bw-pfeil { display: none; }
  .bw-punkt { width: 10px; height: 10px; }
  .bw-punkt[aria-current="true"] { width: 22px; }
}

/* ---------------------------------------------------------------- Sponsoren */

.sponsorenliste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 1em 0;
}
.sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 12px;
  text-align: center;
}
.sponsor-logo { display: flex; align-items: center; justify-content: center; height: 140px; }
.sponsor-logo img { max-height: 140px; width: auto; object-fit: contain; }
.sponsor h3 { margin: 0; font-size: 1.05rem; }
.sponsor h3 a { text-decoration: none; }
.sponsor-adresse { margin: 0; font-size: .9rem; color: var(--grau); white-space: pre-line; }

.sponsorenband {
  background: #fff;
  border-top: 1px solid var(--linie);
  overflow: hidden;
  padding: 18px 0;
}
.sponsorenband-lauf {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: band 120s linear infinite;
}
.sponsorenband:hover .sponsorenband-lauf,
.sponsorenband:focus-within .sponsorenband-lauf { animation-play-state: paused; }
.sponsorenband a { display: flex; align-items: center; height: 80px; }
.sponsorenband img { max-height: 80px; width: auto; }
@keyframes band { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-lauf { animation: none; padding-left: 0; flex-wrap: wrap; white-space: normal; }
  .ticker-band { white-space: normal; padding: 8px 12px; }
  .sponsorenband-lauf { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------------------------------------------------------------- Personen
   Verantwortliche als Kacheln (Abteilungsleitung): Foto oben, per Klick groß
   (galerie.js, a.grossbild), darunter Funktion, Name, Angaben, E-Mail. */

.personen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 1em 0 2em;
}
.person {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
  transition: box-shadow .2s, transform .2s;
}
.person:hover { box-shadow: 0 8px 22px rgba(16, 24, 40, .12); transform: translateY(-2px); }
.person-bild { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--rosa); cursor: zoom-in; }
.person-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .25s; }
.person-bild:hover img, .person-bild:focus-visible img { transform: scale(1.04); }
/* Ohne Foto: schlichte Silhouette statt des grauen Ersatzbildes aus WordPress */
.person-bild.leer {
  cursor: default;
  background:
    radial-gradient(circle at 50% 38%, #e8c4c2 0 17%, transparent 17.5%),
    radial-gradient(ellipse 34% 26% at 50% 86%, #e8c4c2 0 99%, transparent 100%),
    var(--rosa);
}
.person-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; border-top: 4px solid var(--hellrot); }
.person-rolle { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hellrot); }
.person-name { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--rot); }
.person-daten { margin: 6px 0 0; font-size: .92rem; }
.person-daten dt { font-weight: 700; color: var(--grau); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.person-daten dd { margin: 0; }
/* Adresse bricht nach dem @ um (<wbr> in der Quelle), das Symbol bleibt links. */
.person-mail {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: .88rem;
  font-weight: 600;
}
.person-mail::before { content: "✉"; flex-shrink: 0; }
.person-mail span { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .personen { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .person-text { padding: 10px 10px 12px; }
  .person-name { font-size: 1rem; }
  .person-daten { font-size: .85rem; }
}

/* ---------------------------------------------------------------- Dokumente
   PDF-Karten (Dokumente, Mitglied werden): Symbol, Titel, Größe, Pfeil. */

.einleitung { font-size: 1.1rem; max-width: 820px; }

.dokumente {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin: 0 0 2em;
}
.dokument {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.dokument:hover, .dokument:focus-visible {
  border-color: var(--hellrot);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .12);
  transform: translateY(-2px);
  color: var(--text);
}
/* Dateisymbol aus CSS: rotes Blatt mit Eselsohr und „PDF“ */
.dokument-symbol {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  border-radius: 6px 14px 6px 6px;
  background: linear-gradient(135deg, var(--hellrot), var(--rot));
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.dokument-symbol::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 0 14px 0 6px;
  background: rgba(255, 255, 255, .45);
}
.dokument-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.dokument-titel { font-weight: 700; color: var(--rot); line-height: 1.3; }
.dokument-info { font-size: .88rem; color: var(--grau); }
.dokument-pfeil {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rosa);
  position: relative;
  transition: background .2s;
}
/* Download-Pfeil: Strich und Spitze aus Rahmenlinien */
.dokument-pfeil::before, .dokument-pfeil::after { content: ""; position: absolute; left: 50%; }
.dokument-pfeil::before { top: 10px; width: 2px; height: 14px; margin-left: -1px; background: var(--rot); }
.dokument-pfeil::after {
  top: 15px;
  width: 9px;
  height: 9px;
  margin-left: -5px;
  border-right: 2px solid var(--rot);
  border-bottom: 2px solid var(--rot);
  transform: rotate(45deg);
}
.dokument:hover .dokument-pfeil { background: var(--hellrot); }
.dokument:hover .dokument-pfeil::before { background: #fff; }
.dokument:hover .dokument-pfeil::after { border-color: #fff; }

/* Aufruf oben auf „Mitglied werden“ und Kontaktkasten darunter */
.aufruf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin: 0 0 32px;
  padding: 28px 30px;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--dunkelrot), var(--rot) 55%, var(--hellrot));
  color: #fff;
  box-shadow: 0 8px 24px rgba(85, 0, 0, .25);
}
.aufruf > div { flex: 1 1 380px; }
.aufruf h2 { margin: 0 0 8px; color: #fff; font-size: 1.7rem; }
.aufruf p { margin: 0; font-size: 1.05rem; color: #fbe3e2; }
.aufruf .knopf { background: #fff; color: var(--rot); }
.aufruf .knopf:hover, .aufruf .knopf:focus-visible { background: var(--rosa); color: var(--rot); }

.kontaktkasten {
  margin: 8px 0 24px;
  padding: 22px 26px;
  border-radius: 14px;
  background: var(--rosa);
  border-left: 6px solid var(--hellrot);
}
.kontaktkasten h2 { margin: 0 0 4px; font-size: 1.3rem; }
.kontaktkasten p { margin: 0 0 14px; }
.kontaktkasten .knopf { box-shadow: none; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .dokumente { grid-template-columns: 1fr; }
  .aufruf { padding: 22px 20px; }
  .aufruf h2 { font-size: 1.35rem; }
}

/* ---------------------------------------------------------------- Mannschaftsseiten
   Einheitlich: Teamfoto (vergrößerbar) mit aufklappbarer Aufstellung, darunter
   der Steckbrief in drei Karten, dann Ergebnisse. */

.teamfoto { margin: 0 0 24px; }
.teamfoto > a { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(16, 24, 40, .15); cursor: zoom-in; }
.teamfoto img { display: block; width: 100%; height: auto; }
/* Fotos schmaler als die Seite (Verein, 25.11.2026): nie über ihre Auflösung ziehen -
   das E1-Foto (601 px) wurde sonst unscharf. Mittig auf heller Fläche, darauf nur als
   leichtes Wasserzeichen die Linien eines Fußballfelds (am selben Tag zurückgenommen:
   Vereinsrot und weißer Fotorand waren zu aufdringlich). Die Klasse setzt mannschaftsseite.js,
   sobald das Foto geladen ist und schmaler ist als der Platz. */
.teamfoto > a.rahmen {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(18px, 4vw, 44px);
  background: url("/assets/img/teamfoto-rahmen.svg") center / cover no-repeat, var(--flaeche);
  border: 1px solid var(--linie);
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.teamfoto > a.rahmen img {
  width: auto; max-width: 100%; height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(16, 24, 40, .15);
}
.aufstellung {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 12px;
}
.aufstellung summary {
  padding: 12px 16px;
  font-weight: 700;
  color: var(--rot);
  cursor: pointer;
  list-style: none;
}
.aufstellung summary::-webkit-details-marker { display: none; }
.aufstellung summary::before { content: "▸ "; display: inline-block; transition: transform .15s; }
.aufstellung[open] summary::before { transform: rotate(90deg); }
.aufstellung dl { margin: 0; padding: 0 16px 14px; }
.aufstellung dt { margin-top: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--grau); }
.aufstellung dd { margin: 2px 0 0; }

.steckbrief {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 0 0 8px;
}
.steckbrief-karte {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--linie);
  border-top: 4px solid var(--hellrot);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
}
.steckbrief-karte h2 { margin: 0 0 10px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em; }
.steckbrief-karte ul { margin: 0; padding: 0; list-style: none; }
.steckbrief-karte li { padding: 6px 0; border-bottom: 1px solid #eef1f4; }
.steckbrief-karte li:last-child { border-bottom: 0; }
.namensliste li, .trainingsliste li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.namensliste span { font-size: .88rem; color: var(--grau); }
.trainingsliste strong { min-width: 92px; }
.trainingsliste small { flex-basis: 100%; color: var(--grau); font-size: .88rem; }

.wechsel { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.wechsel-spalte { padding: 14px 18px; border-radius: 12px; background: var(--flaeche); }
.wechsel-spalte h3 { margin: 0 0 8px; }
.wechsel-spalte.zu h3::before { content: "＋ "; color: #1d7a36; }
.wechsel-spalte.ab h3::before { content: "－ "; color: var(--hellrot); }
.wechsel-spalte ul { margin: 0; padding-left: 1.1em; }

/* Seiten im Aufbau (Gaststätte, Förderverein, Sponsor werden) - statt des
   Baustellen-Bildes aus WordPress ein ruhiger Hinweis. */
.baustelle {
  margin: 8px 0 28px;
  padding: 26px 28px 22px 84px;
  position: relative;
  border-radius: 14px;
  background: var(--rosa);
  border: 1px dashed #e0a9a6;
}
.baustelle::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: repeating-linear-gradient(-45deg, var(--hellrot) 0 8px, #fff 8px 16px);
}
.baustelle h2 { margin: 0 0 6px; font-size: 1.35rem; }
.baustelle p { margin: 0; }

/* ---------------------------------------------------------------- Startseite
   Großes Bild über die ganze Fensterbreite (bricht aus .innen aus), darüber
   Titel und Wahlspruch; darunter Abschnitte mit Kopfzeile. Wappen und Knöpfe
   entfielen (Verein, 25.11.2026): Das Wappen steht schon im Kopf, „Aktuelles“
   läuft direkt darunter, „Mitglied werden“ steht groß am Ende der Seite. */

.held {
  position: relative;
  width: 100vw;
  margin: -24px calc(50% - 50vw) 0;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
/* höhere Gewichtung als .inhalt > :first-child, das den Abstand sonst auf 0 setzt */
.inhalt > .held:first-child { margin-top: -24px; }
.held-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.held::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(85, 0, 0, .05) 20%, rgba(85, 0, 0, .78) 100%);
}
.held-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 40px 20px 36px;
}
.held h1 {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.held p { max-width: 640px; margin: 0 0 18px; font-size: 1.1rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
/* Wahlspruch eine Zeile tiefer und eingerückt, damit Titel und Spruch nicht
   bündig untereinanderstehen (Wunsch des Vereins). */
.held p.held-spruch {
  max-width: none;
  margin: 0 0 6px;
  padding-left: clamp(1rem, 6vw, 4.5rem);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--hellrot);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.knopf:hover, .knopf:focus-visible { background: var(--rot); color: #fff; }
.knopf.hell { background: #fff; color: var(--rot); }
.knopf.hell:hover, .knopf.hell:focus-visible { background: var(--rosa); color: var(--rot); }

.abschnitt { margin: 40px 0 0; }
.abschnitt-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--hellrot);
  margin-bottom: 18px;
}
.abschnitt-kopf h2 { margin: 0 0 6px; }
.abschnitt-kopf a { font-weight: 600; white-space: nowrap; }
.abschnitt-kopf a::after { content: " →"; }

.beitragsliste[data-anzahl] { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

@media (max-width: 600px) {
  .held { min-height: 360px; }
  .held p { font-size: 1rem; }
}

/* ---------------------------------------------------------------- Fuß */

.fuss { background: var(--dunkelrot); color: #f6c9c7; }
/* Mittig ausgerichtet und mit kleinerem Rand (11.11.2026): Die Links haben seitdem
   44 px Tippfläche - oben ausgerichtet stand der Text links höher als die Links. */
.fusszeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: .95rem;
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss a { color: #fff; }
.fuss a:hover, .fuss a:focus-visible { color: #f6c9c7; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .marke-name { font-size: 1.3rem; }
  .titelleiste h1 { font-size: 1.6rem; }

  /* Lauftext steht auf dem Telefon still: die drei neuesten Meldungen untereinander. */
  .ticker { flex-direction: column; }
  .ticker-titel { padding: 8px 14px; }
  .ticker-band { padding: 10px 14px; white-space: normal; }
  .ticker-lauf { animation: none; padding-left: 0; flex-direction: column; gap: 8px; }
  .ticker-lauf a:nth-child(n+4) { display: none; }
}

/* ================================================================ Spiele
   Ergebnisse, nächste Spiele und Spielberichte aus SGMW (Public.ashx), gesetzt
   von spiele.js (10.11.2026) – vorher IFrames von sgmwintern.34u.de.
   Ergebnisse neutral, ohne Farbe für Sieg oder Niederlage (Augustin, 10.11.2026). */

.spiele { --ergebnis: #eef1f4; }
.symbol { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Umschalter Alle / Männer / Nachwuchs */
.umschalter { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 4px; border-radius: 999px; background: #e9edf1; }
.umschalter button {
  min-height: 38px; padding: 6px 18px; border: 0; border-radius: 999px; background: transparent;
  font: 600 .98rem "Barlow", Helvetica, Arial, sans-serif; color: var(--grau); cursor: pointer;
}
.umschalter button:hover { color: var(--rot); }
.umschalter button[aria-pressed="true"] { background: #fff; color: var(--rot); box-shadow: 0 1px 4px rgba(16, 24, 40, .15); }

.spielblock-titel {
  display: flex; align-items: center; gap: 10px; margin: 26px 0 12px;
  font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grau);
}
.spielblock-titel::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--hellrot); }

/* Wappen: einheitlich auf weißem Kreis; ohne Logo die Anfangsbuchstaben */
.wappen {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; padding: 0; border-radius: 50%; overflow: hidden;
  background: #fff; border: 1px solid var(--linie); box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}
/* Das Logo ist ein Rechteck im Kreis: Bei 68 % der Kreisbreite liegen auch seine
   Ecken noch innerhalb (68 % × √2 < 100 %), und overflow: hidden schneidet am
   Kreis ab. Vorher ragten weiße Ecken mancher Logos über den Rand (10.11.2026). */
.wappen img { width: 68%; height: 68%; object-fit: contain; }
.wappen.gross { width: 88px; height: 88px; }
.kuerzel { font: 700 1.05rem "Barlow", Helvetica, Arial, sans-serif; color: var(--rot); letter-spacing: .02em; }
.wappen.gross .kuerzel { font-size: 1.6rem; }

.team-name { font-weight: 600; font-size: .95rem; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.team-name.sg { font-weight: 700; color: var(--rot); }

.ort-marke {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 9px; border-radius: 999px;
  font: 700 .74rem/1 "Barlow", Helvetica, Arial, sans-serif;
  letter-spacing: .05em; text-transform: uppercase;
}
.ort-marke.heim { background: var(--rot); color: #fff; }
.ort-marke.auswaerts { background: #fff; color: var(--grau); border: 1px solid #c9ced6; }

/* ---------------------------------------------------------------- Spielkarte */
.spielraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.spielkarte {
  position: relative; display: flex; flex-direction: column;
  padding: 16px 16px 12px; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--linie); box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
  color: var(--text); text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.spielkarte::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--rot), var(--hellrot)); }
a.spielkarte:hover, a.spielkarte:focus-visible { color: var(--text); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 24, 40, .14); }

/* Kopf: Mannschaft links, Heim/Auswärts rechts, beide auf einer Mittellinie
   (line-height 1); darunter immer genau eine Zeile Datum. */
.sk-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.sk-mannschaft {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 .95rem/1 "Barlow", Helvetica, Arial, sans-serif; letter-spacing: .03em; text-transform: uppercase; color: var(--rot);
}
.sk-termin {
  display: flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 22px;
  font-size: .85rem; color: var(--grau); white-space: nowrap; overflow: hidden;
}

.sk-paarung { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; margin: 14px 0 12px; }
.sk-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.sk-mitte { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 10px; }
.sk-ergebnis {
  display: inline-flex; gap: 6px; padding: 2px 14px; border-radius: 12px;
  font: 700 2rem/1.15 "Barlow", Helvetica, Arial, sans-serif; background: var(--ergebnis); color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sk-ergebnis .doppelpunkt { opacity: .45; }
.sk-ergebnis.leer { color: var(--grau); font-size: 1.5rem; }
.sk-uhr { font: 700 1.7rem/1.15 "Barlow", Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.sk-ausgang { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grau); }

.sk-fuss {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--linie);
  font-size: .85rem; color: var(--grau);
}
.sk-ort { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.sk-art { padding: 1px 8px; border-radius: 6px; background: var(--flaeche); border: 1px solid var(--linie); font-size: .78rem; }
.sk-mehr { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-weight: 700; color: var(--rot); }
.sk-mehr .symbol + .symbol:not(.pfeil) { margin-left: 6px; }
.pfeil { transition: transform .15s; }
a.spielkarte:hover .pfeil { transform: translateX(3px); }

/* Das nächste Spiel einer Mannschaft: groß, im Rot der Startseite */
.spielkarte.gross {
  padding: 22px 24px 16px; border: 0; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--hellrot) 0%, var(--rot) 45%, var(--dunkelrot) 100%);
  box-shadow: 0 12px 30px rgba(85, 0, 0, .28);
}
.spielkarte.gross::before { display: none; }
a.spielkarte.gross:hover { color: #fff; }
.spielkarte.gross .sk-termin, .spielkarte.gross .sk-mannschaft, .spielkarte.gross .sk-ausgang,
.spielkarte.gross .team-name, .spielkarte.gross .team-name.sg { color: #fff; }
.spielkarte.gross .team-name { font-size: 1.1rem; }
.spielkarte.gross .sk-termin { font-size: 1rem; }
.spielkarte.gross .sk-uhr { font-size: 2.6rem; }
.spielkarte.gross .ort-marke.heim { background: #fff; color: var(--rot); }
.spielkarte.gross .ort-marke.auswaerts { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.spielkarte.gross .sk-fuss { border-top-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .9); font-size: .95rem; }
.spielkarte.gross .sk-art { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.spielkarte.gross .sk-mehr { color: #fff; }
.spielkarte.gross .wappen { border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }

/* ---------------------------------------------------------------- Saisonbilanz */
.bilanz { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 14px; }
.bilanz-wert {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 12px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--linie);
}
.bilanz-wert strong { font: 700 1.8rem/1.1 "Barlow", Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.bilanz-wert span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grau); }

/* ---------------------------------------------------------------- Ergebnisliste */
.spielliste { margin: 0; padding: 0; list-style: none; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--linie); }
.spielzeile + .spielzeile { border-top: 1px solid #eef1f4; }
.sz-innen {
  display: grid; grid-template-columns: 56px 28px minmax(0, 1fr) auto 11rem; align-items: center; gap: 12px;
  padding: 10px 16px; color: var(--text); text-decoration: none;
}
a.sz-innen:hover, a.sz-innen:focus-visible { background: var(--flaeche); color: var(--text); }
/* nowrap: In der festen Handyspalte (44px) brach „08.11.“ vor dem letzten Punkt um. */
.sz-datum strong { display: block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sz-datum span { font-size: .8rem; color: var(--grau); }
.sz-innen .ort-marke { width: 26px; height: 26px; padding: 0; }
.sz-gegner { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sz-gegner .wappen { width: 40px; height: 40px; }
.sz-gegner .wappen .kuerzel { font-size: .85rem; }
.sz-art { margin-left: auto; padding: 1px 8px; border-radius: 6px; background: var(--flaeche); border: 1px solid var(--linie); font-size: .75rem; color: var(--grau); white-space: nowrap; }
.sz-ergebnis {
  min-width: 64px; padding: 4px 10px; border-radius: 10px; text-align: center;
  font: 700 1.2rem "Barlow", Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums;
  background: var(--ergebnis); color: var(--text);
}
.sz-mehr { display: inline-flex; justify-content: flex-end; }
.sz-knopf {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--rot); color: var(--rot); font-size: .8rem; font-weight: 600; white-space: nowrap;
}
.sz-knopf .symbol { width: 15px; height: 15px; }
a.sz-innen:hover .sz-knopf, a.sz-innen:focus-visible .sz-knopf { background: var(--rot); color: #fff; }

/* ---------------------------------------------------------------- Spielbericht */
.anzeigetafel {
  margin: 8px 0 28px; padding: 22px 26px 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--hellrot) 0%, var(--rot) 45%, var(--dunkelrot) 100%);
  box-shadow: 0 16px 36px rgba(85, 0, 0, .28);
}
.at-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.at-mannschaft {
  padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .35);
  font: 700 .95rem "Barlow", Helvetica, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; text-decoration: none;
}
a.at-mannschaft:hover, a.at-mannschaft:focus-visible { background: #fff; color: var(--rot); }
.at-art { font-size: .9rem; opacity: .85; }
.at-paarung { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 22px 0 18px; }
.at-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.at-team .wappen { width: 104px; height: 104px; border: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.at-team .team-name, .at-team .team-name.sg { color: #fff; font-size: 1.15rem; }
.at-mitte { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.at-ergebnis { font: 700 3.6rem/1 "Barlow", Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.at-info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .95rem; color: rgba(255, 255, 255, .92);
}
.at-info span { display: inline-flex; align-items: center; gap: 6px; }
.spielbericht-text { max-width: 780px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.spielbericht-text p { margin: 0 0 1em; }
.spielbericht-bilder { max-width: 780px; margin: 32px auto 12px; }
.spiele > .galerie { max-width: 980px; margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  .spielraster { grid-template-columns: 1fr; }
  .umschalter { display: flex; }
  .umschalter button { flex: 1; padding: 6px 8px; }
  .wappen { width: 48px; height: 48px; }
  .wappen.gross { width: 68px; height: 68px; }
  .sk-ergebnis { font-size: 1.7rem; padding: 2px 10px; }
  .spielkarte.gross { padding: 18px 16px 14px; }
  .spielkarte.gross .sk-uhr { font-size: 2.1rem; }
  .spielkarte.gross .team-name { font-size: 1rem; }
  .bilanz { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bilanz-wert span { font-size: .68rem; letter-spacing: .03em; }
  .bilanz-wert strong { font-size: 1.45rem; }
  .sz-innen { grid-template-columns: max-content minmax(0, 1fr) auto; gap: 6px 10px; padding: 10px 12px; }
  .sz-innen .ort-marke { display: none; }
  .sz-gegner { gap: 8px; }
  .sz-gegner .wappen { width: 34px; height: 34px; }
  .sz-art { display: none; }
  .sz-mehr { grid-column: 2 / 4; justify-content: flex-start; }
  .sz-mehr:empty { display: none; }
  .sz-ergebnis { min-width: 54px; font-size: 1.1rem; }
  .anzeigetafel { padding: 16px 14px 14px; border-radius: 18px; }
  .at-paarung { gap: 8px; }
  .at-team .wappen { width: 68px; height: 68px; }
  .at-team .team-name, .at-team .team-name.sg { font-size: .95rem; }
  .at-ergebnis { font-size: 2.4rem; }
}

/* ---------------------------------------------------------------- Telefon, 11.11.2026
   Durchsicht der Telefonansicht (gemessen bei 360, 390, 430 px und quer 844x390). */

/* Lange Namen: Spielgemeinschaften („SpG Klipphausen/Röhrsdorf/Weistropp II“) ragten
   über die Karte und machten den Spielbericht seitwärts scrollbar. spiele.js setzt
   nach jedem "/" zusätzlich eine Umbruchstelle. Ebenso lange Wörter im Fließtext
   (als Text eingefügte Adressen aus WordPress-Beiträgen). */
.team-name { max-width: 100%; overflow-wrap: anywhere; }
.inhalt { overflow-wrap: break-word; }

/* Querformat: Die Startbühne war höher als der Bildschirm, die Knöpfe lagen darunter;
   die Folien des Konzepts passten nicht unter den Kopf. */
.held { min-height: min(440px, 75svh); }
.bildwechsel.folien { max-width: min(1140px, calc((100svh - var(--kopf-hoehe, 64px) - 90px) * 16 / 9)); }
.bildwechsel .grossbild { display: block; cursor: zoom-in; }

/* Tippflächen mindestens 44 px. Die Punkte des Bildwechsels bleiben klein
   sichtbar, bekommen aber eine größere Trefferfläche. */
.bw-punkt { position: relative; }
.bw-punkt::after { content: ""; position: absolute; inset: -17px -8px; }
.umschalter button { min-height: 44px; }
.weiter, .abschnitt-kopf a, a.at-mannschaft, .fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Mindestens 12 px Schrift */
.sk-ausgang, .ort-marke, .dokument-symbol { font-size: max(.75rem, 12px); }

/* „Alle zeigen“ der Spiele auf der Startseite (spiele.js): am Handy zunächst drei Karten. */
.spiele-mehr { display: none; }

@media (max-width: 600px) {
  .held { min-height: min(360px, 75svh); }
  .bilanz-wert span { font-size: .75rem; }

  .spielraster.eingeklappt > :nth-child(n+4) { display: none; }
  .spiele-mehr {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 10px;
    border: 1px solid var(--linie); border-radius: 999px; background: #fff;
    font: 600 1rem "Barlow", Helvetica, Arial, sans-serif; color: var(--rot); cursor: pointer;
  }

  /* Rollen auf den Fotokarten („SCHIEDSRICHTERBEOBACHTER“) wurden abgeschnitten. */
  .person-rolle { letter-spacing: 0; overflow-wrap: anywhere; hyphens: auto; }
  .person-daten { overflow-wrap: anywhere; }
}

/* Sehr schmal: Vereinsname im Kopf einzeilig */
@media (max-width: 400px) {
  .marke-name { font-size: 1.12rem; white-space: nowrap; }
}

/* ---------------------------------------------------------------- Überarbeitung 25.11.2026
   Wünsche des Vereins nach Durchsicht der Testseite: Spiele der Startseite als
   längliche Felder untereinander, Personen, Partner, Dokumente und Spielkarten
   mittig statt linksbündig. */

/* Startseite: Ergebnisse und nächste Spiele in einer mittigen Spalte, getrennt
   durch einen roten Strich; die Reihenfolge wechselt spiele.js am Donnerstag. */
.spiele[data-spiele="uebersicht"] > .umschalter { display: flex; width: max-content; max-width: 100%; margin: 0 auto 4px; }
.spielblock-start { max-width: 780px; margin: 0 auto; }
.spielblock-kopf { margin: 18px 0 14px; text-align: center; }
.spielstapel { display: flex; flex-direction: column; gap: 12px; }
.trennstrich { max-width: 780px; margin: 34px auto 10px; border: 0; border-top: 4px solid var(--hellrot); border-radius: 2px; }

/* Längliches Spielfeld: Mannschaft, Termin und Heim/Auswärts in einer Zeile,
   die Wappen neben den Namen, zur Mitte hin ausgerichtet. */
.spielkarte.breit { padding: 12px 18px 10px; }
.spielkarte.breit .sk-kopf { gap: 12px; }
.spielkarte.breit .sk-termin { margin: 0 0 0 auto; min-height: 0; }
.spielkarte.breit .sk-paarung { align-items: center; margin: 10px 0 8px; }
.spielkarte.breit .sk-team { flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; }
.spielkarte.breit .sk-team:first-child { flex-direction: row-reverse; text-align: right; }
.spielkarte.breit .sk-mitte { padding-top: 0; }
.spielkarte.breit .wappen { width: 48px; height: 48px; }
.spielkarte.breit .sk-ergebnis { font-size: 1.7rem; }
.spielkarte.breit .sk-uhr { font-size: 1.5rem; }
.spielkarte.breit .sk-fuss { padding-top: 8px; }

/* Absage, Ausfall …: Wort statt Ergebnis (spiele.js) */
/* .spielkarte.breit davor: sonst gewinnt die Ziffergröße der breiten Karte */
.spielkarte .sk-ergebnis.wort, .spielkarte.breit .sk-ergebnis.wort, .sz-ergebnis.wort {
  padding: 6px 12px; font-size: .95rem; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: var(--rot);
}
.at-ergebnis.wort { font-size: 2rem; text-transform: uppercase; letter-spacing: .04em; }

/* Mannschaftsseiten: weitere Termine mittig nebeneinander statt linksbündig */
.spielraster { grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); justify-content: center; }

/* Link zur Tabelle bei fussball.de: groß und mittig (Männer) */
.knopf.tabelle { min-height: 52px; padding: 12px 30px; font-size: 1.15rem; }

/* Personen (Abteilungsleitung, Schiedsrichter, Platzwarte, Ansprechpartner):
   feste Kartenbreite, das Raster steht mittig. */
.personen { grid-template-columns: repeat(auto-fit, minmax(240px, 270px)); justify-content: center; }

/* Partner je Klasse: jede Reihe von der Mitte aus, symmetrisch nach außen */
.sponsorenliste { display: flex; flex-wrap: wrap; justify-content: center; }
.sponsorenliste > .sponsor { flex: 0 1 240px; }

/* Dokumente (Mitglied werden, Dokumente): Gruppen untereinander in einer
   mittigen Spalte */
.dokumentgruppen { max-width: 560px; margin: 0 auto 2em; }
.dokumentgruppen h2 { text-align: center; }
.dokumentgruppen .dokumente { grid-template-columns: 1fr; margin-bottom: 1.5em; }
.einleitung.mitte { margin-left: auto; margin-right: auto; }

/* „Mitglied werden“ am Ende der Startseite, über dem Partnerband */
.aufruf-start { margin: 48px 0 8px; padding: 34px 36px; }
.aufruf-start h2 { font-size: 2rem; }
.aufruf-start .knopf { min-height: 56px; padding: 14px 34px; font-size: 1.2rem; }

@media (max-width: 600px) {
  .spielstapel.eingeklappt > :nth-child(n+4) { display: none; }
  .spielraster { grid-template-columns: minmax(0, 1fr); }
  .spielkarte.breit { padding: 12px 12px 10px; }
  .spielkarte.breit .sk-kopf { flex-wrap: wrap; gap: 4px 10px; }
  .spielkarte.breit .sk-termin { order: 3; flex-basis: 100%; margin: 2px 0 0; }
  .spielkarte.breit .sk-team, .spielkarte.breit .sk-team:first-child { flex-direction: column; gap: 6px; text-align: center; }
  .spielkarte.breit .wappen { width: 44px; height: 44px; }
  .personen { grid-template-columns: repeat(auto-fit, minmax(130px, 150px)); gap: 10px; }
  .aufruf-start { padding: 24px 20px; }
  .aufruf-start h2 { font-size: 1.45rem; }
}

/* 1. Männer: Team und Kader sind zwei Seiten hinter einem Menüpunkt; die Leiste
   oben schaltet um (Verein, 25.11.2026). Aussehen wie der Umschalter der Spiele. */
.seitenwahl { display: flex; width: max-content; max-width: 100%; gap: 4px; margin: 0 auto 24px; padding: 4px; border-radius: 999px; background: #e9edf1; }
.seitenwahl a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 22px; border-radius: 999px;
  font: 600 1.02rem "Barlow", Helvetica, Arial, sans-serif; color: var(--grau); text-decoration: none;
}
.seitenwahl a:hover, .seitenwahl a:focus-visible { color: var(--rot); }
.seitenwahl a[aria-current="page"] { background: #fff; color: var(--rot); box-shadow: 0 1px 4px rgba(16, 24, 40, .15); }

/* „Unsere Sponsoren“ statt „Sponsoren“ (Verein, 25.11.2026) machte die Menüzeile
   länger: zwischen 960 und 1023 px brach sie in zwei Zeilen um (gemessen). Dort
   etwas weniger Abstand je Punkt. */
@media (min-width: 901px) and (max-width: 1100px) {
  .hauptmenue > ul > li > a, .hauptmenue .gruppe-knopf { padding-left: 10px; padding-right: 10px; }
}
