/* Ergänzungen für wetterstation-jahreswerte.html
   Grundlage ist assets/wetterstation-monatswerte.css (Klasse .monatswerte-page). */

.jahreswerte-page .mw-meta { flex-wrap:wrap; gap:8px 34px; }

/* Jahreskarten */
.jahreswerte-page .jw-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:20px; }
.jahreswerte-page .jw-card { --jw:#07539a; position:relative; padding:18px 22px 16px; border:1px solid #dce7ef; border-radius:11px; background:linear-gradient(135deg,#f8fbfd 0%,#fff 100%); overflow:hidden; }
.jahreswerte-page .jw-card::before { content:""; position:absolute; left:0; right:0; top:0; height:5px; background:var(--jw); }
.jahreswerte-page .jw-card header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
.jahreswerte-page .jw-card h3 { margin:0; color:var(--navy); font-size:26px; line-height:1.2; }
.jahreswerte-page .jw-badge { padding:3px 10px; border:1px solid #d5e1ea; border-radius:999px; background:#fff; color:#58728b; font-size:13px; white-space:nowrap; }
.jahreswerte-page .jw-k-main { display:flex; align-items:baseline; gap:14px; }
.jahreswerte-page .jw-k-temp { color:var(--navy); font-size:38px; font-weight:700; line-height:1.1; font-variant-numeric:tabular-nums; }
.jahreswerte-page .jw-k-temp small { margin-left:4px; font-size:17px; font-weight:600; color:#58728b; }
.jahreswerte-page .jw-k-abw { padding:3px 10px; border-radius:999px; font-size:16px; font-weight:700; background:#eef1f4; color:#6b6b6b; }
.jahreswerte-page .jw-card.is-warm .jw-k-abw { background:#fbe3d8; color:#b3401f; }
.jahreswerte-page .jw-card.is-cold .jw-k-abw { background:#dce9f7; color:#1f5fae; }
.jahreswerte-page .jw-k-sub { margin:2px 0 12px; color:#58728b; font-size:14px; }
.jahreswerte-page .jw-card dl { margin:0; border-top:1px solid #e6edf2; }
.jahreswerte-page .jw-card dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:7px 0; border-bottom:1px solid #eef2f5; }
.jahreswerte-page .jw-card dl > div:last-child { border-bottom:0; }
.jahreswerte-page .jw-card dt { color:#3d5269; font-size:14px; font-weight:700; }
.jahreswerte-page .jw-card dd { margin:0; color:#34465b; font-size:15px; text-align:right; font-variant-numeric:tabular-nums; }
.jahreswerte-page .jw-card dd em { display:block; font-style:normal; font-size:13px; color:#6b7c8d; }
.jahreswerte-page .jw-k-none { color:#8a98a6; font-style:italic; }
.jahreswerte-page .jw-tx { color:#b3401f; }
.jahreswerte-page .jw-tn { color:#1f5fae; }

/* zwei Spalten: Tabellen bzw. Tabelle + Diagramm */
.jahreswerte-page .jw-two { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px; align-items:start; }
.jahreswerte-page .jw-table-card { margin:0; padding:18px 20px 16px; border:1px solid #dce7ef; border-radius:11px; background:#fff; }
.jahreswerte-page .jw-table-card figcaption, .jahreswerte-page .jw-two .mw-chart-card figcaption { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 16px; margin-bottom:12px; }
.jahreswerte-page .jw-hint { color:#58728b; font-size:13px; }

/* Monatstabellen (Jahr als Spalte) */
.jahreswerte-page .jw-table { table-layout:fixed; }
.jahreswerte-page .jw-table th, .jahreswerte-page .jw-table td { padding:6px 8px; font-size:15px; }
.jahreswerte-page .jw-table thead th { background:#f0f4f5; border-bottom:2px solid #c9d7e2; }
.jahreswerte-page .jw-table thead th.jw-year { font-size:15px; }
.jahreswerte-page .jw-table .mw-monat-head, .jahreswerte-page .jw-table tbody th, .jahreswerte-page .jw-table tfoot th { width:105px; text-align:left; padding-left:14px; }
.jahreswerte-page .jw-table tbody th { background:#fafcfd; }
.jahreswerte-page .jw-table td { line-height:1.25; font-variant-numeric:tabular-nums; }
.jahreswerte-page .jw-table td small { display:block; font-size:12px; color:#58728b; font-weight:400; }
.jahreswerte-page .jw-table td.na { color:#b5c0ca; }
.jahreswerte-page .jw-table .jw-norm { background:#f4f6f8 !important; color:#58728b; font-weight:600; border-left:2px solid #dfe6ec; }
.jahreswerte-page .jw-table thead .jw-norm { color:var(--navy); }
.jahreswerte-page .jw-table tfoot th, .jahreswerte-page .jw-table tfoot td { border-top:2px solid #c9d7e2; border-bottom:0; font-weight:700; background-color:#f0f4f5; }
.jahreswerte-page .jw-teil { display:block; margin-left:0; font-weight:400; color:#6b7c8d; }

/* Farbstufen Temperaturabweichung (blau – weiß – rot) */
.jahreswerte-page .jw-table.jw-table td.a-n3, .jahreswerte-page .jw-scale .a-n3 { background:#a9c8ec; }
.jahreswerte-page .jw-table.jw-table td.a-n2, .jahreswerte-page .jw-scale .a-n2 { background:#c9dcf3; }
.jahreswerte-page .jw-table.jw-table td.a-n1, .jahreswerte-page .jw-scale .a-n1 { background:#e5eef9; }
.jahreswerte-page .a-0  { background:#f6f7f8; }
.jahreswerte-page .jw-table.jw-table td.a-p1, .jahreswerte-page .jw-scale .a-p1 { background:#fcebe3; }
.jahreswerte-page .jw-table.jw-table td.a-p2, .jahreswerte-page .jw-scale .a-p2 { background:#f8d3c1; }
.jahreswerte-page .jw-table.jw-table td.a-p3, .jahreswerte-page .jw-scale .a-p3 { background:#f1b296; }
.jahreswerte-page .jw-table tfoot td[class^="a-"] { background-image:linear-gradient(rgba(240,244,245,.25),rgba(240,244,245,.25)); }

/* Farbstufen Niederschlag in % (braun – weiß – grün) */
.jahreswerte-page .jw-table.jw-table td.n-t2, .jahreswerte-page .jw-scale .n-t2 { background:#ecd3ac; }
.jahreswerte-page .jw-table.jw-table td.n-t1, .jahreswerte-page .jw-scale .n-t1 { background:#f6e8d1; }
.jahreswerte-page .n-0  { background:#f6f7f8; }
.jahreswerte-page .jw-table.jw-table td.n-n1, .jahreswerte-page .jw-scale .n-n1 { background:#d6efe9; }
.jahreswerte-page .jw-table.jw-table td.n-n2, .jahreswerte-page .jw-scale .n-n2 { background:#acdcd2; }

.jahreswerte-page .jw-scale { display:flex; align-items:center; justify-content:flex-end; gap:3px; margin-top:10px; color:#58728b; font-size:12px; }
.jahreswerte-page .jw-scale i { width:26px; height:10px; border-radius:2px; border:1px solid rgba(16,57,104,.08); }
.jahreswerte-page .jw-scale span { margin:0 6px; }

/* Höchst-/Tiefstwerte in einer Zelle */
.jahreswerte-page .jw-extrem td .tx, .jahreswerte-page .jw-extrem td .tn { display:block; }
.jahreswerte-page .jw-extrem td .tx { color:#b3401f; font-weight:700; }
.jahreswerte-page .jw-extrem td .tn { color:#1f5fae; font-weight:700; font-size:14px; }
.jahreswerte-page .jw-extrem td b { font-weight:700; }
.jahreswerte-page .jw-extrem td b.rec { padding:0 4px; border:1.5px solid currentColor; border-radius:4px; }
.jahreswerte-page .jw-extrem tbody td:not(.jw-norm) { background:#fbfcfd; }

/* Diagramme */
.jahreswerte-page .mw-svg .m-year { fill:none; stroke-linejoin:round; stroke-linecap:round; }
.jahreswerte-page .mw-svg .m-ydot { stroke:#fff; stroke-width:1.5; }
.jahreswerte-page .mw-svg .yr-label { font:700 13px Arial,Helvetica,sans-serif; }
.jahreswerte-page .mw-svg .yr-sep { stroke:#c9d7e2; stroke-width:1; stroke-dasharray:3 4; }
.jahreswerte-page .mw-svg .m-normtick { stroke:#103968; stroke-width:2; }
.jahreswerte-page .mw-svg .crosshair { stroke:#103968; stroke-width:1; stroke-dasharray:3 3; }
.jahreswerte-page .mw-svg .hl { fill:rgba(16,57,104,.06); }
.jahreswerte-page .mw-svg path, .jahreswerte-page .mw-svg rect:not(.hit), .jahreswerte-page .mw-svg circle, .jahreswerte-page .mw-svg text, .jahreswerte-page .mw-svg line { pointer-events:none; }
.jahreswerte-page .lg-normtick { height:0; border-top:2px solid #103968; border-radius:0; }
.jahreswerte-page .mw-tooltip .tt-row { display:flex; align-items:center; gap:6px; }
.jahreswerte-page .mw-tooltip .tt-row i { width:10px; height:3px; border-radius:2px; display:inline-block; }
.jahreswerte-page .mw-tooltip .tt-row i.tt-norm { height:0; border-top:2px dashed #6f7f95; }
.jahreswerte-page .mw-info-layout { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); }

/* Zeilen-Hover: Farbstufen bleiben sichtbar, Markierung am Monatsnamen */
.jahreswerte-page .jw-table tbody tr:hover th { background-color:#fff7e6; box-shadow:inset 4px 0 0 var(--sand); }
