/* WELTLAGE V1 — Unterseiten /daten und /fruehwarnung (Kürzel C2, seo-umsetzung 17.11.2026).
   Baut auf /v1/style.css und /v1/gefahren.css auf (Kopf, Fuß, Karten, Breadcrumb, gef-wrap).
   Eigene Regeln nur für die Quellentabellen (7 Spalten, auf dem Handy gestapelt), Kennzahlen
   und Stufen-Marken. Hell/Dunkel über die vorhandenen Variablen. */

.c2 .card.wide{gap:14px}
.c2 h2{font-family:var(--display);font-weight:600;font-size:clamp(22px,2.8vw,30px);line-height:1.15;color:var(--ink)}
.c2 h3{font-family:var(--display);font-weight:600;font-size:19px;line-height:1.25;color:var(--ink);margin-top:4px}
.c2 p.text{font-size:15.5px;line-height:1.6;color:var(--ink-soft)}
.c2 p.text b{color:var(--ink)}
.c2 p.fakten{font-size:16px;line-height:1.6;color:var(--ink)}
.c2 .list li{font-size:15px;line-height:1.55}
.c2 .list li b{color:var(--ink)}
.c2 .stand{font-size:13.5px;color:var(--ink-soft);border-top:1px solid var(--line);padding-top:10px}

/* Kennzahlen */
.kz{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.kz div{background:var(--tile);border-radius:16px;padding:14px 16px;min-width:0}
.kz b{display:block;font-family:var(--display);font-size:26px;line-height:1.1;font-weight:600;color:var(--plum)}
.kz span{font-size:13.5px;line-height:1.4;color:var(--ink-soft)}

/* Quellentabellen (7 Spalten) */
table.dq{width:100%;max-width:100%;border-collapse:collapse;font-size:13.5px;line-height:1.45;table-layout:fixed}
table.dq th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--plum);padding:6px 8px;border-bottom:2px solid var(--line);vertical-align:bottom}
table.dq td{padding:8px;border-top:1px solid var(--line);color:var(--ink-soft);vertical-align:top;overflow-wrap:anywhere}
table.dq td:first-child{color:var(--ink);font-weight:600}
table.dq td a{color:var(--plum);font-weight:600;text-decoration:none}
table.dq td a:hover{text-decoration:underline}
table.dq.q7 th:nth-child(1){width:17%}
table.dq.q7 th:nth-child(2){width:12%}
table.dq.q7 th:nth-child(3){width:8%}
table.dq.q7 th:nth-child(4){width:21%}
table.dq.q7 th:nth-child(5){width:13%}
table.dq.q7 th:nth-child(6){width:13%}
table.dq.q7 th:nth-child(7){width:16%}
table.dq.sat th:nth-child(1){width:40px}
table.dq .pr,.c2 .pr{display:inline-block;padding:0 7px;border-radius:999px;font-size:12px;font-weight:700;background:var(--warn-bg);color:var(--warn-fg);white-space:nowrap}
table.dq .ok{display:inline-block;padding:0 7px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(44,159,174,.16);color:#1E7480;white-space:nowrap}
:root[data-theme="dark"] table.dq .ok{color:#7FD8E2}

/* Stufen-Marken der Frühwarnung */
.stufe{display:inline-block;padding:1px 9px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap}
.stufe.gelb{background:rgba(240,196,25,.22);color:#7A6200}
.stufe.orange{background:rgba(242,140,40,.2);color:#9A4F0A}
.stufe.rot{background:rgba(198,40,40,.16);color:#A51F1F}
.stufe.violett{background:rgba(126,33,126,.16);color:#6B1C6B}
.stufe.amtlich{background:rgba(44,159,174,.16);color:#1E7480}
.stufe.modell{background:var(--chip);color:var(--ink-soft)}
:root[data-theme="dark"] .stufe.gelb{color:#F3D45A}
:root[data-theme="dark"] .stufe.orange{color:#F7A867}
:root[data-theme="dark"] .stufe.rot{color:#F08080}
:root[data-theme="dark"] .stufe.violett{color:#D9A3D9}
:root[data-theme="dark"] .stufe.amtlich{color:#7FD8E2}

@media (max-width:760px){
  table.dq.q7,table.dq.q7 tbody,table.dq.q7 tr,table.dq.q7 td{display:block;width:100%}
  table.dq.q7 thead{display:none}
  table.dq.q7 tr{border-top:1px solid var(--line);padding:10px 0}
  table.dq.q7 tr:first-child{border-top:0}
  table.dq.q7 td{border:0;padding:2px 0}
  table.dq.q7 td::before{content:attr(data-l) ": ";font-weight:600;color:var(--plum)}
  table.dq.q7 td:first-child::before{content:none}
  table.dq.q7 td:first-child{font-size:15px;padding-bottom:4px}
  table.dq.sat td:nth-child(4),table.dq.sat th:nth-child(4){display:none}
  table.dq{font-size:13px}
  table.dq td,table.dq th{padding:6px 5px}
  .kz{grid-template-columns:repeat(2,minmax(0,1fr))}
}
