/* Eigenes, schlankes Stylesheet fuer die SEO-Seiten (/de-de/...). Bewusst
   getrennt vom grossen App-Stylesheet in index.html -- siehe
   PLAN-SEO-UMSETZUNG, Architektur-Entscheidung 1. Farben an die App
   angelehnt (gleiche Werte wie index.html :root), aber eine eigene Datei:
   Aenderungen an der einen wirken sich nicht automatisch auf die andere
   aus und muessen bei Bedarf von Hand nachgezogen werden. */
:root {
  --bg: #0e1116;
  --card: #171c24;
  --card-hover: #1e2530;
  --accent: #e6b34c;
  --accent-soft: rgba(230, 179, 76, 0.15);
  --text: #e8eaed;
  --text-dim: #9aa3af;
  --border: #262c37;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.seo-kopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.seo-kopf .marke { font-weight: 700; font-size: 17px; color: var(--text); }
.seo-kopf .marke span { color: var(--accent); }
.seo-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.seo-nav a { color: var(--text-dim); }
.seo-nav a:hover { color: var(--accent); }

main { max-width: 960px; margin: 0 auto; padding: 28px 20px 60px; }
h1 { font-size: 26px; margin: 0 0 10px; }
h2 { font-size: 19px; margin: 32px 0 12px; }
.einleitung { color: var(--text-dim); font-size: 15.5px; max-width: 68ch; }
.seo-text { max-width: 68ch; font-size: 15.5px; }
.seo-text p { margin: 0 0 14px; }

.meta-zeile { color: var(--text-dim); font-size: 14px; margin: 6px 0 18px; }
.meta-zeile b { color: var(--text); }

.raster {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px; margin: 16px 0;
}
.karte { display: block; background: var(--card); border-radius: 10px; overflow: hidden; }
.karte:hover { background: var(--card-hover); text-decoration: none; }
.karte img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; background: var(--card-hover); }
.karte .titel { padding: 8px 10px 4px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.karte .info { padding: 0 10px 10px; font-size: 12px; color: var(--text-dim); }

.detail-kopf { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-kopf img { width: 220px; border-radius: 12px; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 12.5px; color: var(--text-dim); }

.cta { display: inline-block; margin-top: 18px; background: var(--accent); color: #12161c;
  font-weight: 700; padding: 11px 22px; border-radius: 10px; }
.cta:hover { text-decoration: none; opacity: .9; }

.seiten { display: flex; gap: 10px; margin: 28px 0 0; font-size: 14px; }
.seiten a, .seiten span { padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); }
.seiten a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.seiten .aktuell { color: var(--text); border-color: var(--accent); }

footer { border-top: 1px solid var(--border); padding: 20px; text-align: center; color: var(--text-dim); font-size: 13px; }
footer a { color: var(--text-dim); margin: 0 8px; }
footer a:hover { color: var(--accent); }

.hinweis { color: var(--text-dim); font-size: 13.5px; font-style: italic; }

.brotkrumen { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.brotkrumen a { color: var(--text-dim); }
.brotkrumen a:hover { color: var(--accent); }
.brotkrumen span { color: var(--text); }

.fakten { border-collapse: collapse; margin: 12px 0 28px; font-size: 14px; }
.fakten th { text-align: left; color: var(--text-dim); font-weight: 500; padding: 5px 18px 5px 0; vertical-align: top; white-space: nowrap; }
.fakten td { padding: 5px 0; }
.fakten a { color: var(--accent); }

h3 { font-size: 16px; margin: 20px 0 10px; color: var(--text-dim); }

.video-wrapper { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16/9; margin: 12px 0 24px; background: var(--card); border-radius: 10px; overflow: hidden; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 12px 0 24px; }
.galerie img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; display: block; background: var(--card); }

.besetzung-liste { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 20px; font-size: 14.5px; }
.besetzung-liste li { color: var(--text-dim); }
.besetzung-liste b { color: var(--text); }

/* Einstiegsseite /<locale>/ -- Kacheln zu den sechs Bereichs-Hubs. */
.start-bereiche { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.start-bereiche li { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.start-bereiche a { text-decoration: none; }
.start-bereiche strong { display: block; font-size: 17px; margin-bottom: 4px; }
.start-bereiche span { display: block; font-size: 14px; color: var(--text-dim); }

/* ---- Sport-Spielseiten (backend/lib/seoSport.js) ---- */
.spiel-antwort { background: var(--card); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: 10px;
  padding: 14px 16px; font-size: 16px; font-weight: 600; margin: 14px 0 22px; }
.uebertragung { width: 100%; }
.uebertragung th, .uebertragung td { padding: 6px 14px 6px 0;
  border-bottom: 1px solid var(--border); white-space: normal; }
.uebertragung thead th { color: var(--text-dim); font-weight: 600; }
tr.hervor td { color: var(--accent); font-weight: 700; }
.form-liste { margin: 6px 0 16px; padding-left: 20px; }
.form-liste li { margin: 3px 0; }
.marke-logo { height: 52px; width: auto; display: block; }
