/* Datenseiten (datenseiten/seite.go): eigener kleiner Stil im Ton der Eulen-Portale, hell, Kontraste ≥ 4,5:1, Ziele ≥ 44 px. */
:root { color-scheme: light; --text: #15263f; --muted: #3d4c60; --rand: #dce3eb; --bg: #ffffff; --weich: #f6f7fa;
  --akzent: #c16532; --linie: #15263f; --ce: #c25700; --ce-weich: #fff4ea; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ds { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* nur eigene Bereiche: der Portal-Kopf behält die Farben aus dem Stil des Portals */
.ds-haupt a, .ds-fuss a, .ds-krumen a { color: #1d4f91; text-underline-offset: 2px; }
.ds-haupt a:focus-visible, .ds-fuss a:focus-visible, .ds-krumen a:focus-visible, .ds input:focus-visible + label { outline: 3px solid var(--akzent); outline-offset: 2px; }
.ds-sprung { position: absolute; left: -9999px; }
.ds-sprung:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 2; }
.ds-kopf { border-bottom: 1px solid var(--rand); padding: 12px 16px; max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.ds-portal { font-weight: 800; font-size: 18px; color: var(--text) !important; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ds-krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 14px; color: var(--muted); }
.ds-krumen li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.ds-haupt { max-width: 980px; margin: 0 auto; padding: 8px 16px 24px; }
.ds h1 { font-size: clamp(24px, 4.6vw, 34px); line-height: 1.2; margin: 16px 0 8px; overflow-wrap: anywhere; }
.ds h2 { font-size: 20px; margin: 28px 0 8px; }
.ds-urteil { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 4px 0 10px; padding: 8px 14px; border-radius: 12px;
  background: var(--weich); border: 1px solid var(--rand); font-weight: 600; }
.ds-urteil-marke { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #e4f2ea; color: #1f5a3f; font-size: 14px; }
/* Farbschema der Urteile (für jede Art per Klasse ds-u-<klasse>; dunkler Text auf hellem Grund, Kontrast ≥ 7:1):
   ruhig, hinweis, erhoeht, hoch, extrem (dazu keine = grau). Zugeordnet: DWD-Warnstufen keine/wetter/markant/unwetter/extrem,
   Luftqualitätsindex sehrgut/gut (ruhig), maessig (hinweis), schlecht (hoch), sehrschlecht (extrem), Pollen stufe0 (keine),
   stufe1 (ruhig), stufe2–3 (hinweis), stufe4–5 (erhoeht), stufe6 (hoch), Pegel ueblich/niedrig/marke1/marke2/hsw. */
.ds-u-ruhig .ds-urteil-marke, .ds-u-ueblich .ds-urteil-marke, .ds-u-sehrgut .ds-urteil-marke, .ds-u-gut .ds-urteil-marke, .ds-u-stufe1 .ds-urteil-marke { background: #e4f2ea; color: #1f5a3f; }
.ds-u-keine .ds-urteil-marke, .ds-u-ohne .ds-urteil-marke, .ds-u-stufe0 .ds-urteil-marke { background: #eceff3; color: #2f3b4a; }
.ds-u-hinweis .ds-urteil-marke, .ds-u-wetter .ds-urteil-marke, .ds-u-niedrig .ds-urteil-marke, .ds-u-maessig .ds-urteil-marke, .ds-u-stufe2 .ds-urteil-marke, .ds-u-stufe3 .ds-urteil-marke { background: #fff3b0; color: #5c4400; }
.ds-u-erhoeht .ds-urteil-marke, .ds-u-markant .ds-urteil-marke, .ds-u-marke1 .ds-urteil-marke, .ds-u-stufe4 .ds-urteil-marke, .ds-u-stufe5 .ds-urteil-marke { background: #ffe0c2; color: #7a3300; }
.ds-u-hoch .ds-urteil-marke, .ds-u-unwetter .ds-urteil-marke, .ds-u-marke2 .ds-urteil-marke, .ds-u-hsw .ds-urteil-marke, .ds-u-schlecht .ds-urteil-marke, .ds-u-stufe6 .ds-urteil-marke { background: #fbd5d5; color: #7d1414; }
.ds-u-extrem .ds-urteil-marke, .ds-u-sehrschlecht .ds-urteil-marke { background: #ead9f5; color: #4f1a6e; }
.ds-veraltet { padding: 8px 14px; border-left: 4px solid var(--akzent); background: var(--weich); }
.ds-kopfsatz { font-size: 17px; max-width: 46rem; }
.ds-werte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.ds-wert { border: 1px solid var(--rand); border-radius: 12px; padding: 10px 14px; }
.ds-wert dt { font-size: 14px; color: var(--muted); }
.ds-wert dd { margin: 2px 0 0; }
.ds-wert strong { font-size: 28px; }
.ds-zeit, .ds-quelle { display: block; font-size: 13px; color: var(--muted); }
.ds-abschnitt p { max-width: 46rem; }
.ds-fakten { padding-left: 20px; max-width: 46rem; }
.ds-fakten li { margin: 4px 0; }
.ds-reiter { margin: 8px 0; }
.ds-reiter-wahl { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ds-reiter-wahl + label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin: 0 6px 6px 0; border: 1px solid #8a99ab;
  border-radius: 10px; cursor: pointer; font-size: 15px; }
.ds-reiter-wahl:checked + label { background: var(--text); color: #fff; border-color: var(--text); font-weight: 600; }
.ds-reiter-flaeche { display: none; }
.ds-r0:checked ~ .ds-reiter-flaechen .ds-f0, .ds-r1:checked ~ .ds-reiter-flaechen .ds-f1, .ds-r2:checked ~ .ds-reiter-flaechen .ds-f2 { display: block; }
.ds-verlauf { width: 100%; height: auto; max-width: 640px; display: block; background: #fff; }
.ds-raster { stroke: #e6ebf1; stroke-width: 1; }
.ds-achse { font-size: 15px; fill: #3d4c60; }
.ds-linie { fill: none; stroke: var(--linie); stroke-width: 2; stroke-linejoin: round; }
.ds-punkt { fill: var(--akzent); }
.ds-kennlinie { stroke: var(--akzent); stroke-width: 1.5; stroke-dasharray: 6 4; }
.ds-kenntext { font-size: 14px; fill: #8a3f12; font-weight: 600; }
.ds-tipps circle { fill: transparent; }
.ds-tipps circle:hover { fill: rgba(193, 101, 50, .35); }
.ds-werte-tabelle summary { min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; font-size: 15px; }
.ds-laengs .ds-balken { fill: #3b6fa8; }
.ds-laengs .ds-balken-hoch { fill: #b5541c; }
.ds-laengs .ds-null { stroke: #3d4c60; stroke-width: 1; }
.ds-lage { width: 100%; max-width: 360px; height: auto; display: block; }
.ds-lage .ds-netz { fill: #b9c4d0; }
.ds-lage .ds-fluss { fill: none; stroke: #3b6fa8; stroke-width: 2; }
.ds-lage .ds-hier { fill: var(--akzent); stroke: #fff; stroke-width: 2; }
.ds-klein, .ds-leer { font-size: 14px; color: var(--muted); }
.ds-tabelle-rahmen { overflow-x: auto; max-width: 100%; }
.ds-tabelle { border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; min-width: 280px; }
.ds-tabelle caption { text-align: left; font-weight: 600; padding: 4px 0; }
.ds-tabelle th, .ds-tabelle td { border-bottom: 1px solid var(--rand); padding: 6px 10px; text-align: left; white-space: nowrap; }
.ds-tabelle .z { text-align: right; font-variant-numeric: tabular-nums; }
.ds-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 16px; }
.ds-links li { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.ds-zusatz { font-size: 14px; color: var(--muted); }
.ce-block { margin: 28px 0 8px; border: 1px solid #f3c9a3; border-radius: 16px; background: var(--ce-weich); padding: 14px 16px; }
.ce-kopf { display: flex; align-items: center; gap: 10px; }
.ce-kopf h2 { margin: 0; font-size: 18px; color: #7a3700; }
.ce-logo { border-radius: 8px; }
.er-anzeige { font-size: 12px; font-weight: 600; color: #4a5a6e; }
.ce-karten { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ce-karte { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 10px; min-width: 0; }
.ce-karte img { object-fit: contain; flex: none; }
.ce-karte a { font-weight: 600; overflow-wrap: anywhere; }
.ce-preis, .ce-haendler { display: block; font-size: 14px; color: var(--muted); }
.ds-melden { margin: 20px 0; }
.ds-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--text); color: #fff !important; text-decoration: none; font-weight: 600; }
.ds-fuss { max-width: 980px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--rand); font-size: 14px; color: var(--muted); }
.ds-fuss a { display: inline-block; min-height: 32px; line-height: 32px; }
.ds-hinweis { font-weight: 600; color: var(--text); }
.ds-glieks a { font-weight: 700; }
/* Handy (unter 480 px): Tabellen als Karte je Zeile, Spaltenkopf vor jedem Wert; nie Querwischen (Owner-Fotos 23.11.) */
@media (max-width: 480px) {
  .ds-tabelle-rahmen { overflow-x: visible; }
  .ds-tabelle, .ds-tabelle tbody, .ds-tabelle tr, .ds-tabelle th, .ds-tabelle td { display: block; width: 100%; min-width: 0; }
  .ds-tabelle { font-size: 15px; }
  .ds-tabelle caption { display: block; }
  .ds-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ds-tabelle tr { border: 1px solid var(--rand); border-radius: 10px; padding: 4px 10px; margin: 0 0 8px; }
  .ds-tabelle th[scope="row"] { border: 0; padding: 4px 0; white-space: normal; }
  .ds-tabelle td { display: flex; justify-content: space-between; gap: 12px; border: 0; border-top: 1px solid var(--rand); padding: 4px 0; white-space: normal; text-align: right; }
  .ds-tabelle td::before { content: attr(data-kopf); color: var(--muted); text-align: left; flex: 1 1 auto; }
}
.ds-kopf-portal { border-bottom: 0; padding-top: 8px; padding-bottom: 0; }
.ds-glossar dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; margin: 0; max-width: 46rem; }
.ds-glossar dt { display: inline; font-weight: 700; }
.ds-glossar dt::after { content: ": "; }
.ds-glossar dd { display: inline; margin: 0; }
.ce-angebot { margin: 12px 0 4px; border: 1px solid #f3c9a3; border-radius: 14px; background: var(--ce-weich); padding: 10px 12px; }
.ce-angebot-titel { margin: 0; font-weight: 700; color: #7a3700; font-size: 15px; }
.ce-angebot .ce-karten { margin-top: 8px; grid-template-columns: 1fr; }
.ds-marken { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.ds-marken p { margin: 0; flex: 1 1 220px; border: 1px solid var(--rand); border-radius: 12px; padding: 10px 14px; background: var(--weich); }
.ds-marken a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.ds-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 12px; }
.ds-aktionen-titel { font-weight: 700; font-size: 14px; color: var(--muted); }
.ds-aktion { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid #8a99ab; border-radius: 99px; font-size: 14px; color: var(--text) !important; text-decoration: none; background: #fff; }
.ds-aktion-bald { color: var(--muted) !important; border-style: dashed; }
.ds-aktion small { font-size: 12px; }
.ds-g { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 5px; background: #15263f; color: #fff; font: 700 11px/1 system-ui, sans-serif; margin-right: 4px; }
.ce-shop { display: inline-flex; align-items: center; min-height: 36px; margin-top: 4px; padding: 0 12px; border-radius: 8px; background: #c25700; color: #fff !important; font-weight: 700; text-decoration: none; }
.ds-glieks-erstellt { margin: 16px 0; padding: 10px 14px; border-left: 4px solid #15263f; background: var(--weich); border-radius: 0 12px 12px 0; }
.ds-glieks-erstellt p { margin: 0; }
.ds-katalog { margin: 16px 0; }
.ds-katalog a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.rv-gruppen > .rv-gruppe.ds-voll { grid-column: 1 / -1; } /* nur eine Produktart: eine Kachel über die volle Breite, nie eine leere daneben */
.ds-einbau { margin: 16px 0; }
.ds-einbau summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #8a99ab; border-radius: 10px; cursor: pointer; font-weight: 600; }
.ds-einbau textarea { width: 100%; max-width: 46rem; box-sizing: border-box; font: 13px/1.4 ui-monospace, monospace; padding: 8px; border: 1px solid var(--rand); border-radius: 8px; }
.ds-einbau button { border: 0; cursor: pointer; }
/* Kopf-Eule (eule.go, Owner 23.11.2026): rechts neben Überschrift und Urteil, feste Maße aus width/height */
.ds-titel.mit-eule { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
.ds-titel.mit-eule > * { grid-column: 1; }
.ds-titel.mit-eule > .ds-eule { grid-column: 2; grid-row: 1 / span 2; align-self: center; line-height: 0; }
.ds-eule img { display: block; height: 96px; width: auto; }
@media (max-width: 700px) { .ds-eule img { height: 56px; } }

/* Kompakte Werte (WerteZeile) und Streifen (streifen.go), Bauleitung 23.11.2026 */
.ds-werte-kompakt { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 4px; }
.ds-werte-kompakt .ds-wert { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 8px 12px; }
.ds-werte-kompakt .ds-wert strong { font-size: 26px; }
.ds-werte-zeile { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.ds-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds-streifen-titel { font-weight: 600; margin: 8px 0 4px; }
.ds-streifen { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--rand); font-variant-numeric: tabular-nums; }
.ds-streifen li { display: grid; align-items: center; gap: 4px 8px; padding: 5px 2px; border-bottom: 1px solid var(--rand); font-size: 15px; min-height: 36px; }
.ds-streifen-n1 li { grid-template-columns: minmax(80px, 1.4fr) 30px repeat(1, minmax(0, 1fr)); }
.ds-streifen-n2 li { grid-template-columns: minmax(80px, 1.4fr) 30px repeat(2, minmax(0, 1fr)); }
.ds-streifen-n3 li { grid-template-columns: minmax(80px, 1.4fr) 30px repeat(3, minmax(0, 1fr)); }
.ds-streifen-n4 li { grid-template-columns: minmax(80px, 1.4fr) 30px repeat(4, minmax(0, 1fr)); }
.ds-streifen .w { text-align: right; white-space: nowrap; }
.ds-streifen .t { font-weight: 600; }
.ds-streifen .s svg { display: block; }
.ds-streifen-kopf { font-size: 13px; color: var(--muted); min-height: 0; }
@media (max-width: 480px) { .ds-werte-kompakt { grid-template-columns: 1fr 1fr; } .ds-streifen li { font-size: 14px; gap: 4px 6px; } }
.ds-katalog-klein { font-size: 13px; margin: 6px 0 0; }
