/* design-b-hellblau.css (DEV-4, 26.11.2026) – Farbvariante 3 „Hellblau“ von B+ für kombi.info (Wunsch Frau Tausend über
   Bernd/MASTER, Auftrag leitung/auftraege/kombi-variante-hellblau.md). Geladen NACH design-b.css im Standard (type 0,
   zusammen mit design-b-akzent.css: Hellblau + Limette, Bernd 27.11.) und in 1738 (Hellblau + Gelb); Schalter
   <html data-farbe="hellblau">. Jede Regel beginnt mit :root[data-farbe="hellblau"]: in 1737 (Navy + Gelb, data-farbe="gelb")
   ändert die Datei nichts.
   Farben: Hauptfläche --akzent #3598fe (Bühne, 1. Kachel, Fuß, Themen-Grund, offenes Handy-Menü), Kontrast Gelb #ffc72c
   (im Standard Limette über design-b-akzent.css), Schrift/Menü Navy #283147.
   Kontrast (WCAG 2.x, selbst berechnet): Navy auf #3598fe nur 4,37:1 → Navy dort nur für große Schrift (≥ 24 px bzw.
   ≥ 18,66 px fett) und Linien/Ringe/Marken (≥ 3:1). Normale Schrift auf #3598fe in --nacht #1b2233 (5,35:1).
   Weiß auf #3598fe 2,97:1 → nie. Gelb auf #3598fe 1,90:1 → Gelb dort nur als Fläche mit Navy-Schrift (8,30:1), Linien und
   Marken auf Hellblau in Navy statt Gelb. Fokusring auf Hellblau Navy (4,37:1), auch im offenen Handy-Menü (Block 4).
   Aufbau: 1) Tokens, 2) Bilder (Szenen-Tausch, Themen-Grund; nur Bildschirm), 3) Komponenten mit fester Navy-Fläche,
   4) offenes Handy-Menü (3 und 4 nur Bildschirm ohne erzwungene Farben: forced-colors und Druck regelt design-b.css).
   --akzent-auf-navy und --fokus-auf-dunkel bleiben hier ungesetzt (Basiswerte): alle Stellen, die sie nutzen, überschreibt
   Block 3/4 mit Navy (DEV-6 N-A1). */

/* ---------- 1) Tokens ---------- */
:root[data-farbe="hellblau"] {
  --contrast: #ffc72c;                  /* Gelb wie Variante Gelb: Navy darauf 8,30:1 */
  --contrast-text: var(--navy);
  --contrast-glow: 0 0 0 4px rgba(255, 199, 44, 0.30), 0 10px 24px rgba(255, 199, 44, 0.22);
  --buehne-akzent-text: var(--navy);    /* Bühnentitel ≥ 36 px, 800: große Schrift, 4,37:1 auf #3598fe */
  --hellblau-text: var(--nacht);        /* normale Schrift auf #3598fe: 5,35:1 */
  --hellblau-gross: var(--navy);        /* große Schrift, Linien, Ringe auf #3598fe: 4,37:1 */
  /* Ringe in Navy (Schmuck auf Hellblau; die Akzent-Ringe von --ringe verschwänden dort) */
  --ringe-hellblau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23283147' stroke-width='1.5'%3E%3Ccircle cx='230' cy='300' r='200' stroke-opacity='.3'/%3E%3Ccircle cx='370' cy='300' r='200' stroke-opacity='.3'/%3E%3Ccircle cx='230' cy='300' r='150' stroke-opacity='.18'/%3E%3Ccircle cx='370' cy='300' r='150' stroke-opacity='.18'/%3E%3Ccircle cx='230' cy='300' r='100' stroke-opacity='.1'/%3E%3Ccircle cx='370' cy='300' r='100' stroke-opacity='.1'/%3E%3Ccircle cx='300' cy='300' r='6' fill='%23283147' fill-opacity='.5' stroke='none'/%3E%3C/svg%3E");
}

/* ---------- 2) Bilder: Szenen in Hellblau-Tönung (Dateien von DEV-4), Themen-Grund Hellblau ----------
   Nur Bildschirm (Druck blendet Szene und Themenbild aus). Bei erzwungenen Farben bleibt es Bild wie in design-b.css
   (forced-color-adjust: none dort), daher hier kein forced-colors-Ausschluss. */
@media screen {
  /* Bühne: drei Ebenen getauscht, Sonne in --contrast (Gelb) bleibt; gleiche Ebenenzahl wie b-szene (Animation) */
  :root[data-farbe="hellblau"] .design-b .buehne__innen::after {
    background:
      url("../Images/illustration/buehne-vorne-hellblau.svg") 0 0 / 100% 100% no-repeat,
      url("../Images/illustration/buehne-mitte-gg-hellblau.svg") 0 0 / 100% 100% no-repeat,
      url("../Images/illustration/buehne-hinten-hellblau.svg") 0 0 / 100% 100% no-repeat,
      radial-gradient(4.6% 5.66% at 84% 13%, var(--contrast) 92%, transparent 100%) 0 0 / 100% 100% no-repeat;
  }
  /* Themen-Grund: #3598fe mit dezentem Verlauf (oben links heller, unten etwas tiefer) und den Ortsplan-Linien */
  :root[data-farbe="hellblau"] .design-b .thema-bild {
    background:
      radial-gradient(60% 50% at 15% 0%, rgba(255, 255, 255, .16), transparent 70%),
      linear-gradient(180deg, rgba(53, 152, 254, .9), rgba(43, 128, 220, .9)),
      url("../Images/illustration/ortsplan.svg") center / cover no-repeat,
      var(--akzent);
  }
  /* Themen-Szenen je Position; die Akzent-Masken (-akzent.svg, in --contrast) bleiben aus design-b.css */
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(1 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-finanzen-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(2 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-lausboehl-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(3 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-familie-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(4 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-generationen-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(5 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-ehrenamt-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(6 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-wohnen-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(7 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-verkehr-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema:nth-child(8 of .thema) { --thema-szene: url("../Images/illustration/thema-bild-umwelt-hellblau.svg"); }
  /* Auswahlfeld thema-bild--<n> (DEV-2 df0a0ad): höhere Spezifität als die Regel in design-b.css, Masken bleiben von dort */
  :root[data-farbe="hellblau"] .design-b .thema-bild--1 { --thema-szene: url("../Images/illustration/thema-bild-finanzen-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--2 { --thema-szene: url("../Images/illustration/thema-bild-lausboehl-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--3 { --thema-szene: url("../Images/illustration/thema-bild-familie-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--4 { --thema-szene: url("../Images/illustration/thema-bild-generationen-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--5 { --thema-szene: url("../Images/illustration/thema-bild-ehrenamt-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--6 { --thema-szene: url("../Images/illustration/thema-bild-wohnen-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--7 { --thema-szene: url("../Images/illustration/thema-bild-verkehr-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--8 { --thema-szene: url("../Images/illustration/thema-bild-umwelt-hellblau.svg"); }
  :root[data-farbe="hellblau"] .design-b .thema-bild--9 { --thema-szene: url("../Images/illustration/thema-bild-dornheim-hellblau.svg"); }
}

/* ---------- 3) Komponenten mit fester Navy-Fläche → Hellblau mit Navy/Nacht-Schrift ----------
   Nur Bildschirm ohne erzwungene Farben: dort (und im Druck) gelten die Regeln von design-b.css unverändert
   (CanvasText-Balken, schwarze Druckschrift ohne Flächen). Spezifität stets höher als die Ausgangsregel (:root + Attribut). */
@media screen and (forced-colors: none) {

  /* --- Bühne: #3598fe mit hellen Lichtflecken (nur aufhellend: Schrift-Kontrast sinkt nirgends unter den Wert auf reinem #3598fe) --- */
  :root[data-farbe="hellblau"] .design-b .buehne {
    background:
      radial-gradient(55% 45% at 12% 100%, rgba(255, 255, 255, .18), transparent 70%),
      radial-gradient(45% 55% at 88% 20%, rgba(255, 255, 255, .12), transparent 70%),
      var(--akzent);
    color: var(--hellblau-text);
  }
  :root[data-farbe="hellblau"] .design-b .buehne__titel { color: var(--hellblau-gross); }                 /* ≥ 36 px 800, 4,37:1 */
  :root[data-farbe="hellblau"] .design-b .buehne__titel:has(.buehne__akzent) .buehne__akzent { text-decoration-color: var(--hellblau-gross); } /* Unterstreichung Navy statt Gelb (Gelb 1,90:1) */
  :root[data-farbe="hellblau"] .design-b .buehne__titel:not(:has(.buehne__akzent))::after { background: var(--hellblau-gross); } /* Titelbalken Navy */
  :root[data-farbe="hellblau"] .design-b .buehne__text { color: var(--hellblau-text); }                   /* 18–22 px normal: 5,35:1 */
  :root[data-farbe="hellblau"] .design-b .buehne :focus-visible { outline-color: var(--hellblau-gross); } /* Ring liegt auf #3598fe: 4,37:1 (Weiß nur 2,97) */
  /* Knopf 1: Gelbfläche mit Navy (8,30:1) bleibt über die Tokens. Knopf 2: Rahmen Navy, Schrift Nacht, Pfeil Navy */
  :root[data-farbe="hellblau"] .design-b .buehne .knopf--akzent { background: transparent; border-color: var(--hellblau-gross); color: var(--hellblau-text); box-shadow: none; }
  :root[data-farbe="hellblau"] .design-b .buehne .knopf--akzent::after { background-image: var(--pfeil); }
  /* Hover nie schwächer: Fläche wird heller (Schrift-Kontrast steigt), Rahmen bleibt Navy, Schatten statt Akzent-Leuchten */
  :root[data-farbe="hellblau"] .design-b .buehne .knopf--akzent:hover { background: rgba(255, 255, 255, .4); border-color: var(--hellblau-gross); color: var(--hellblau-text); box-shadow: var(--schatten-2); }

  /* --- 1. Kachel: große Hellblau-Fläche (statt Navy), Titel Navy groß, Text Nacht, Pfeil-Kreis Navy mit weißem Pfeil --- */
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:first-child .kachel {
    background: var(--akzent) var(--ringe-hellblau) no-repeat right -9rem bottom -11rem / 22rem auto;
    border-color: var(--hellblau-gross); color: var(--hellblau-text);
  }
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:first-child .kachel__titel { color: var(--hellblau-gross); } /* ≥ 24 px 800: 4,37:1 */
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:first-child .kachel__text { color: var(--hellblau-text); }   /* 18–20 px normal: 5,35:1 */
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:first-child .kachel::after { background: var(--navy) var(--pfeil-weiss) center / 20px no-repeat; } /* Kreis 4,37:1 zur Fläche, Pfeil 12,96:1 */
  /* Illustration der 1. Kachel: heller Hof dahinter, weil die Einstiegsbilder #3598fe-Teile haben (sonst verschwänden sie) */
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:first-child .kachel:not(:has(.kachel__icon))::before {
    background: var(--kachel-symbol) left center / contain no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35) 70%, transparent) left center / contain no-repeat;
  }
  /* --- 3. Kachel: Gelbfläche mit Navy-Schrift (8,30:1), damit sie sich von der 1. (Hellblau) absetzt --- */
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:nth-child(3) .kachel { background: var(--contrast); border-color: var(--contrast); color: var(--contrast-text); }
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:nth-child(3) .kachel__titel,
  :root[data-farbe="hellblau"] .design-b .kachel-liste > li:nth-child(3) .kachel__text { color: var(--contrast-text); }

  /* --- Fuß: Hellblau statt Navy; CTA-Band bleibt Gelb mit Navy (Tokens), Knöpfe bleiben Navy mit Weiß --- */
  :root[data-farbe="hellblau"] .design-b .fusszeile { background: var(--akzent); color: var(--hellblau-text); }
  :root[data-farbe="hellblau"] .design-b .fusszeile::before { background-image: var(--ringe-hellblau); }
  :root[data-farbe="hellblau"] .design-b .fusszeile a:not(.knopf) { color: var(--hellblau-text); text-decoration-color: var(--hellblau-gross); }
  /* Knöpfe (a.knopf) ausgenommen: sie behalten Weiß auf Navy bzw. Navy auf Gelb aus design-b.css.
     Hover nie schwächer: Farbe bleibt Nacht (5,35:1), Unterstreichung dicker */
  :root[data-farbe="hellblau"] .design-b .fusszeile a:not(.knopf):hover { color: var(--hellblau-text); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
  :root[data-farbe="hellblau"] .design-b .fusszeile :focus-visible { outline-color: var(--hellblau-gross); } /* 4,37:1 auf #3598fe, 8,30:1 auf Gelb */
  :root[data-farbe="hellblau"] .design-b .fusszeile__satz,
  :root[data-farbe="hellblau"] .design-b .fusszeile__text,
  :root[data-farbe="hellblau"] .design-b .fusszeile__adresse,
  :root[data-farbe="hellblau"] .design-b .fusszeile__titel,
  :root[data-farbe="hellblau"] .design-b .fusszeile__unten { color: var(--hellblau-text); }
  :root[data-farbe="hellblau"] .design-b .fusszeile__unten-liste li::before,
  :root[data-farbe="hellblau"] .design-b .fusszeile__nach-oben::before { color: var(--hellblau-text); }
  :root[data-farbe="hellblau"] .design-b .fusszeile__unten { border-top-color: rgba(40, 49, 71, .45); } /* Schmucklinie (vorher Akzent auf Navy) */
  /* Fuß-Knöpfe: Weiß auf Navy (12,96:1) unverändert; Rand-Knopf auf Gelb unverändert. Facebook-Kreis: Rand Navy, Zeichen Nacht */
  :root[data-farbe="hellblau"] .design-b .fusszeile a.fusszeile__facebook:not(.knopf) { border-color: var(--hellblau-gross); color: var(--hellblau-text); }
  :root[data-farbe="hellblau"] .design-b .fusszeile a.fusszeile__facebook:not(.knopf):hover { background: var(--contrast); border-color: var(--hellblau-gross); color: var(--contrast-text); } /* Zeichen 8,30:1, Rand bleibt Navy */
  /* Wortmarke: die helle Fassung (Weiß/Hell) stünde auf #3598fe bei 2,7–3:1 → dunkle Fassung des Kopfs (gleiches viewBox) */
  :root[data-farbe="hellblau"] .design-b .fusszeile__logo img { content: url("../Images/logo/kombi-logo.svg"); }
}

/* ---------- 4) Offenes Handy-Menü Hellblau statt Navy (Bernd/Frau Tausend über MASTER 27.11., ersetzt DEV-4-Vorschlag 2) ----------
   Gilt für 1738/1739/1740 (alle mit data-farbe="hellblau"). Fläche #3598fe mit Navy-Ringen; Menülinks ≥ 22 px, 800 = große
   Schrift: Navy 4,37:1 (≥ 3). Marken, aktiver Balken, Hover-Linie und Fokusring Navy (4,37:1, Nicht-Text ≥ 3). Trennlinien
   Navy 20 % (Schmuck). Menüknopf (Kopf, weiß) bleibt: offen Navy-Fläche mit Weiß 12,96:1. Nur Bildschirm ohne erzwungene
   Farben; dort gilt design-b.css (Navy-Fläche wird Systemfarbe, Rand CanvasText). */
@media screen and (forced-colors: none) and (max-width: 1024.98px) {
  :root[data-farbe="hellblau"].js .design-b .hauptnav.ist-offen { background: var(--akzent) var(--ringe-hellblau) no-repeat right -40vw bottom -30vw / 110vw auto; }
  :root[data-farbe="hellblau"].js .design-b .hauptnav.ist-offen li { border-bottom-color: rgba(40, 49, 71, 0.2); }
  :root[data-farbe="hellblau"].js .design-b .hauptnav.ist-offen a { color: var(--hellblau-gross); }
  :root[data-farbe="hellblau"].js .design-b .hauptnav.ist-offen a::before { background: var(--hellblau-gross); }
  :root[data-farbe="hellblau"].js .design-b .hauptnav.ist-offen a:hover { color: var(--hellblau-gross); text-decoration-color: var(--hellblau-gross); }
  :root[data-farbe="hellblau"].js .design-b .hauptnav.ist-offen :focus-visible { outline-color: var(--hellblau-gross); }
}
