/* MUN7 – gemeinsame Gestaltung der Website
   Dunkles Design wie in der App (Layout 2a): Graphit-Grund, Karten eine Stufe
   heller, Türkis als Akzent, Pink als Markenfarbe für Hervorhebungen.
   Farbwerte 1:1 aus dem Designsystem der App (Mun7DarkColors). Schrift Montserrat. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --grund:        #1A1E23;   /* appBackground */
  --karte:        #2A2F36;   /* cardBackground */
  --karte-hell:   #333944;
  --linie:        #3A404A;   /* border */
  --hero:         #16484B;   /* heroSurface / brandAccentSoft */
  --text:         #FFFFFF;
  --gedaempft:    rgba(235,235,245,.62);   /* textSecondary */
  --leise:        rgba(235,235,245,.38);
  --akzent:       #00BFC4;   /* brandAccent */
  --akzent-hell:  #33D1D5;
  --marke:        #FF2D8A;   /* brandHighlight */
  --warnung:      #FF8A00;
  --gruen:        #7ED957;
  --strava:       #FC5200;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --text-sanft:   rgba(235,235,245,.78);
  --schatten: 0 1px 2px rgba(0,0,0,.25), 0 12px 32px rgba(0,0,0,.35);
  --breite: 68ch;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--grund); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.weit   { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--akzent); color: #041E1F; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Kopf ---------- */
header.kopf {
  border-bottom: 1px solid var(--linie);
  padding: 18px 0;
  position: sticky; top: 0;
  background: var(--grund);
  z-index: 10;
}
.kopf .weit { display: flex; align-items: center; gap: 28px; }
/* mun7-logo-transparent.png: das Logo ohne schwarzen Grund (aus mun7-logo.png erzeugt). */
.kopf-logo { display: block; height: 46px; width: auto; }
.kopf nav { margin-left: auto; display: flex; gap: 6px; }
.kopf nav a {
  color: var(--gedaempft); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
}
.kopf nav a:hover, .kopf nav a:focus-visible { color: var(--text); background: var(--karte); }
.kopf nav a.aktiv { color: var(--text); background: var(--karte); }

/* ---------- Sprachwahl (Kopf: Aufklappmenü, Fuss: Zeile) ---------- */
.sprache { position: relative; flex: none; }
.sprache summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px;
  color: var(--gedaempft); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 7px 11px; border: 1px solid var(--linie); border-radius: 999px; user-select: none;
}
.sprache summary::-webkit-details-marker { display: none; }
.sprache summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.sprache[open] summary, .sprache summary:hover, .sprache summary:focus-visible { color: var(--text); background: var(--karte); }
.sprache ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  min-width: 170px; background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius-m); box-shadow: var(--schatten); z-index: 20;
}
.sprache li a {
  display: block; padding: 8px 12px; border-radius: var(--radius-s);
  color: var(--gedaempft); text-decoration: none; font-size: 14px; font-weight: 600;
}
.sprache li a:hover, .sprache li a:focus-visible { color: var(--text); background: var(--karte-hell); }
.sprache li a.aktiv { color: var(--akzent); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.augenbraue {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--akzent);
}
.augenbraue::before { content: ""; width: 18px; height: 2px; background: var(--akzent); border-radius: 2px; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.025em;
  margin: 16px 0 18px; max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--akzent); }
.hero .lead { color: var(--gedaempft); max-width: 44ch; font-size: 19px; margin: 0 0 28px; line-height: 1.6; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-hinweis { color: var(--leise); font-size: 14px; margin: 18px 0 0; }

/* Höhenprofil – Pink für die Strecke, Türkis für die Gipfel (wie im Logo) */
.profil svg { display: block; width: 100%; height: auto; }
.profil-titel { font-size: 12px; color: var(--leise); text-align: right; margin: 6px 4px 0; letter-spacing: .02em; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--akzent); color: #041E1F;
  padding: 13px 22px; border-radius: var(--radius-m); text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent;
}
.knopf:hover, .knopf:focus-visible { background: var(--akzent-hell); }
.knopf.leise { background: transparent; color: var(--text); border-color: var(--linie); }
.knopf.leise:hover, .knopf.leise:focus-visible { background: var(--karte); }
.knopf svg { width: 18px; height: 18px; flex: none; }

/* ---------- Zahlenstreifen ---------- */
.zahlen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius-l); overflow: hidden;
  margin: 24px auto 0;
}
.zahl { padding: 26px 20px; text-align: center; border-left: 1px solid var(--linie); }
.zahl:first-child { border-left: 0; }
.zahl b {
  display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--text); line-height: 1.1;
}
.zahl b span { color: var(--akzent); }
.zahl small { display: block; color: var(--gedaempft); font-size: 13px; margin-top: 6px; }

a.zahl { color: inherit; text-decoration: none; transition: background .15s; }
a.zahl:hover, a.zahl:focus-visible { background: var(--karte-hell); }
.funktion .mehr { margin: 12px 0 0; font-size: 14px; }
.funktion .mehr a { text-decoration: none; font-weight: 600; }
.funktion .mehr a::after { content: " →"; }
.funktion .mehr a:hover { text-decoration: underline; }

/* ---------- Abschnitte ---------- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--linie); }
.abschnitt-kopf { max-width: 60ch; margin-bottom: 36px; }
h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 10px; line-height: 1.2; }
.abschnitt-kopf p { color: var(--gedaempft); margin: 0; font-size: 17px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
p  { margin: 0 0 16px; }
a  { color: var(--akzent); }
ul { padding-left: 20px; }
li { margin-bottom: 8px; }

/* ---------- Funktionen (Karten wie die Zeilen in der App) ---------- */
.funktionen { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.funktion {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius-l); padding: 24px 22px 26px;
}
.funktion .symbol {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--hero); color: var(--akzent);
  display: grid; place-items: center;
}
.funktion h3 { margin-bottom: 8px; }
.funktion .symbol svg { width: 22px; height: 22px; }
.funktion.marke .symbol { background: rgba(255,45,138,.14); color: var(--marke); }
.funktion.strava .symbol { background: rgba(252,82,0,.14); color: var(--strava); }
.funktion.gruen .symbol { background: rgba(126,217,87,.14); color: var(--gruen); }
.funktion.warnung .symbol { background: rgba(255,138,0,.14); color: var(--warnung); }
.funktion p { color: var(--gedaempft); margin: 0; font-size: 15px; line-height: 1.6; }

/* ---------- Screens (Telefonrahmen) ---------- */
.screens {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px; margin-top: 8px;
}
.screen { margin: 0; }
.screen .rahmen {
  background: #0B0D10; border-radius: 34px; padding: 10px;
  border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.screen img { display: block; width: 100%; height: auto; border-radius: 26px; }
.screen figcaption { color: var(--gedaempft); font-size: 14px; margin: 14px 4px 0; line-height: 1.55; }
.screen figcaption b { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }

/* ---------- Ablauf (drei Schritte wie der Claim) ---------- */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.schritt {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-l);
  padding: 26px 24px;
}
.schritt .nummer {
  font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--akzent); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.schritt .nummer.marke { color: var(--marke); }
.schritt h3 { margin-top: 14px; }
.schritt p { color: var(--gedaempft); margin: 0; font-size: 15px; }

/* ---------- Mitmachen (Plattform-Karten) ---------- */
.plattformen { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.plattform {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-l);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
}
.plattform.hero-karte { background: var(--hero); border-color: transparent; }
.plattform .oben { display: flex; align-items: center; gap: 12px; }
.plattform .oben svg { width: 26px; height: 26px; flex: none; }
.plattform .status {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(0,191,196,.18); color: var(--akzent);
}
.plattform .status.bald { background: rgba(255,45,138,.16); color: var(--marke); }
.plattform p { color: var(--gedaempft); margin: 0; font-size: 15px; }
.plattform.hero-karte p { color: rgba(255,255,255,.78); }
.plattform .knoepfe { margin-top: auto; padding-top: 8px; }

.hinweis-karte {
  margin-top: 20px; padding: 18px 22px; border: 1px dashed var(--linie); border-radius: var(--radius-m);
  color: var(--gedaempft); font-size: 15px;
}
.hinweis-karte b { color: var(--text); }

/* ---------- Rechtstexte / Hilfe ---------- */
.rechtstext { padding-bottom: 40px; }
.rechtstext h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 56px 0 8px; line-height: 1.15; }
.rechtstext .stand { color: var(--gedaempft); font-size: 15px; margin-bottom: 40px; }
.rechtstext h2 { font-size: 20px; margin-top: 44px; }
.rechtstext h3 { font-size: 17px; margin-top: 26px; }
.rechtstext p, .rechtstext li { color: var(--text-sanft); }
.rechtstext strong { color: var(--text); font-weight: 600; }
.rechtstext table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.rechtstext th, .rechtstext td {
  text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--linie); vertical-align: top;
  color: var(--text-sanft);
}
.rechtstext th { color: var(--gedaempft); font-weight: 500; }
.rechtstext .frage {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-l);
  padding: 20px 22px; margin: 14px 0;
}
.rechtstext .frage h2 { font-size: 17px; margin: 0 0 8px; }
.rechtstext .frage p:last-child { margin-bottom: 0; }
.symbol-download { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.symbol-download img { border-radius: var(--radius-m); flex: none; }
.pfad { display: inline-block; background: var(--karte-hell); border-radius: 6px; padding: 1px 8px; font-size: 14px; color: var(--text); white-space: nowrap; }

/* ---------- Fuss ---------- */
footer {
  border-top: 1px solid var(--linie); padding: 40px 0 60px;
  color: var(--gedaempft); font-size: 14px; margin-top: 40px;
}
footer .weit { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
footer .fuss-logo { height: 44px; width: auto; display: block; opacity: .9; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
footer a { color: var(--gedaempft); text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--text); }
footer .claim { color: var(--leise); }
footer .claim span { color: var(--akzent); font-weight: 700; }

/* ---------- Schmal ---------- */
@media (max-width: 820px) {
  .hero-raster { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 48px 0 28px; }
  footer .weit { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .kopf { padding: 12px 0; }
  .kopf .weit { gap: 10px; }
  .kopf-logo { height: 34px; }
  .kopf nav { gap: 0; }
  .kopf nav a { font-size: 13px; padding: 7px 9px; }
  section { padding: 52px 0; }
  .zahl { padding: 18px 12px; border-left: 0; border-top: 1px solid var(--linie); }
  .zahl:first-child, .zahl:nth-child(2) { border-top: 0; }
  .zahlen { grid-template-columns: 1fr 1fr; }
  .zahl:nth-child(odd) { border-right: 1px solid var(--linie); }
  .zahl:last-child:nth-child(odd) { grid-column: span 2; border-right: 0; }
  .zahl b { font-size: 28px; }
  .kopf nav a.optional { display: none; }
  .sprache summary { padding: 6px 9px; }
  .hero-raster { gap: 22px; }
  .screens { gap: 22px; }
}

/* ---------- Pässe-Seiten (paesse/, rennen/ – erzeugt von build_paesse.py) ---------- */
.passseite { padding-bottom: 40px; }
.brotkrumen { margin: 22px 0 0; font-size: 14px; color: var(--gedaempft); }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.brotkrumen li { margin: 0; }
.brotkrumen li + li::before { content: "›"; margin: 0 8px; color: var(--leise); }
.brotkrumen a { color: var(--gedaempft); text-decoration: none; }
.brotkrumen a:hover, .brotkrumen a:focus-visible { color: var(--text); }
.pass-kopf { max-width: 68ch; margin: 28px 0 28px; }
.pass-kopf h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 8px 0 14px; }
.pass-kopf .augenbraue a { color: inherit; text-decoration: none; }
.pass-kopf .augenbraue a:hover, .pass-kopf .augenbraue a:focus-visible { color: var(--text); }
.pass-kopf .lead { color: var(--text-sanft); font-size: 17px; margin: 0; }
.passseite .zahlen { margin-top: 0; }
.passseite .block { padding: 40px 0 0; border: 0; }
.passseite .block h2 { margin: 0 0 16px; }
.passseite .block p { color: var(--text-sanft); max-width: 68ch; }

.auffahrten { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.auffahrt {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-l);
  padding: 22px 22px 20px;
}
.auffahrt h3 { font-size: 18px; margin: 0 0 14px; }
.auffahrt h3 small { color: var(--gedaempft); font-weight: 400; font-size: 14px; }
.auffahrt dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.auffahrt dl div { margin: 0; }
.auffahrt dt { color: var(--gedaempft); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.auffahrt dd { margin: 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.auffahrt .schema { display: block; width: 100%; height: auto; margin: 16px 0 0; }
.auffahrt .belag { color: var(--text-sanft); font-size: 15px; margin: 14px 0 0; line-height: 1.55; }

.kacheln { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kachel {
  display: block; text-decoration: none; color: var(--text);
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-m);
  padding: 16px 18px; transition: border-color .15s;
}
.kachel:hover, .kachel:focus-visible { border-color: var(--akzent); }
.kachel b { display: block; font-weight: 600; }
.kachel small { display: block; color: var(--gedaempft); font-size: 13px; margin-top: 3px; }

.passseite .liste, .passseite .top { padding-left: 0; margin: 0; }
.passseite .liste { list-style: none; }
.passseite .top { list-style: none; counter-reset: rang; }
.passseite .liste li, .passseite .top li { padding: 10px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.passseite .top li { counter-increment: rang; display: flex; gap: 14px; align-items: baseline; }
.passseite .top li::before { content: counter(rang); color: var(--akzent); font-weight: 700; min-width: 22px; font-variant-numeric: tabular-nums; }
.passseite .liste a, .passseite .top a { color: var(--text); text-decoration: none; font-weight: 600; }
.passseite .liste a:hover, .passseite .top a:hover { color: var(--akzent); }
.passseite .liste small, .passseite .top small { color: var(--gedaempft); font-size: 14px; margin-left: 8px; }

.tabelle { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle th, .tabelle td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--linie); vertical-align: top; white-space: nowrap; }
.tabelle th { color: var(--gedaempft); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.tabelle td a { color: var(--text); text-decoration: none; font-weight: 600; }
.tabelle td a:hover { color: var(--akzent); }
.tabelle td small { color: var(--gedaempft); }
.tabelle .num { text-align: right; font-variant-numeric: tabular-nums; }

.karte-link { margin: 28px 0 0; font-size: 15px; }
.karte-link small { color: var(--leise); margin-left: 8px; }

.cta-karte {
  margin: 48px 0 0; padding: 28px 26px; border-radius: var(--radius-l);
  background: var(--hero); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 0;
}
.cta-karte h2 { margin: 0 0 6px; font-size: 22px; }
.cta-karte p { margin: 0; color: rgba(255,255,255,.78); font-size: 15px; max-width: 60ch; }
.cta-karte .knopf { flex: none; }
.passseite .stand { color: var(--leise); font-size: 13px; margin: 28px 0 0; }

@media (max-width: 600px) {
  .pass-kopf { margin-top: 18px; }
  .auffahrt dl { grid-template-columns: 1fr 1fr; }
  .passseite .block { padding-top: 32px; }
  .cta-karte { padding: 22px 20px; }
}

/* ---------- Strava-Anleitung: App-Screens in den Schritten ---------- */
.rechtstext .frage .screen { max-width: 240px; margin: 16px 0 0; }
/* Strava-Anleitung: Browser-Mocks (breit, ohne Telefonrahmen) */
.rechtstext .frage .screen.breit { max-width: 560px; }
.screen.breit .rahmen { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.screen.breit img { border-radius: 0; }

/* Mobile Kopfzeile: Navigation in eigener Zeile unter dem Logo, damit nichts abgeschnitten wird (15.11.2026, Menüpunkt «Strava») */
@media (max-width: 600px) {
  header.kopf { padding: 10px 0; }
  .kopf .weit { flex-wrap: wrap; row-gap: 4px; }
  .kopf nav { order: 3; flex: 1 0 100%; margin-left: 0; flex-wrap: wrap; row-gap: 2px; }
  .kopf nav a { white-space: nowrap; }
  .kopf .sprache { margin-left: auto; }
}

/* Footer: Social-Icons (Masken, Farbe folgt dem Link) */
footer .fuss-social { gap: 14px; align-items: center; }
footer .fuss-social a { display: inline-block; width: 24px; height: 24px; background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
footer .fuss-social a.ico-instagram { --ico: url(icons/instagram.svg); }
footer .fuss-social a.ico-facebook  { --ico: url(icons/facebook.svg); }
footer .fuss-social a.ico-strava    { --ico: url(icons/strava.svg); }

/* Zwischenmenü unter dem Hero (nur Startseiten) */
.zwischenmenue { border-bottom: 1px solid var(--linie); padding: 14px 0; }
.zwischenmenue .weit { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.zwischenmenue a {
  color: var(--gedaempft); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--linie); border-radius: 999px;
}
.zwischenmenue a:hover, .zwischenmenue a:focus-visible { color: var(--text); background: var(--karte); }
section[id] { scroll-margin-top: 72px; }

/* Kopf: Download-Knopf */
.kopf nav a.kopf-cta { background: var(--akzent); color: #041E1F; font-weight: 700; margin-left: 6px; }
.kopf nav a.kopf-cta:hover, .kopf nav a.kopf-cta:focus-visible { background: var(--akzent); color: #041E1F; filter: brightness(1.08); }
@media (max-width: 560px) { .kopf nav a { padding: 8px 9px; } .kopf nav a.kopf-cta { margin-left: 2px; } }

/* Kopf auf kleinen Bildschirmen: nicht mitlaufen (spart Platz), Menü darf umbrechen */
@media (max-width: 560px) {
  header.kopf { position: static; }
  .kopf .weit { flex-wrap: wrap; row-gap: 6px; }
  .kopf nav { flex-wrap: wrap; margin-left: 0; min-width: 0; }
}
@media (max-width: 360px) {
  .kopf nav a { font-size: 13px; padding: 7px 7px; }
}

/* Heller Modus – per Umschalter im Footer (theme.js), gespeichert im Browser. Standard bleibt dunkel. */
html[data-theme="light"] {
  --grund:        #F4F6F8;
  --karte:        #FFFFFF;
  --karte-hell:   #EAEEF2;
  --linie:        #D7DDE3;
  --text:         #14181D;
  --gedaempft:    rgba(20,24,29,.68);
  --leise:        rgba(20,24,29,.48);
  --text-sanft:   rgba(20,24,29,.84);
  --akzent:       #00929A;
  --akzent-hell:  #00A7AE;
  --marke:        #E01A75;
  --warnung:      #C96400;
  --gruen:        #2F8A14;
  --schatten: 0 1px 2px rgba(20,30,40,.08), 0 10px 28px rgba(20,30,40,.10);
  color-scheme: light;
}
/* Blöcke mit dunkler Fläche und weisser Schrift bleiben dunkel (Hero, CTA-Karten) */
html[data-theme="light"] .plattform.hero-karte,
html[data-theme="light"] .cta-karte { --text: #FFFFFF; --gedaempft: rgba(235,235,245,.7); color: #FFFFFF; }
html[data-theme="light"] .kopf-logo,
html[data-theme="light"] .fuss-logo { filter: invert(1) hue-rotate(180deg); }
html[data-theme="light"] ::selection { background: var(--akzent); color: #FFFFFF; }
.theme-schalter { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.theme-schalter:hover, .theme-schalter:focus-visible { color: var(--text); }
