:root{
  --navy:#0F2A3D; --bg:#EDF2F4; --card:#fff; --text:#0F2A3D; --muted:#4A6070;
  --line:#DCE5E9; --temp:#B4501A; --accent:#2A9BAA; --link:#1B6F7B;
  --zahl:"Bahnschrift","Barlow Condensed","Roboto Condensed","Arial Narrow",system-ui,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.4}
a{color:var(--link)} a:hover{color:var(--navy)}
header{background:var(--navy);color:#fff}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.kopf{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;padding-top:20px;padding-bottom:8px}
.marke{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none}
.logo{display:flex;align-items:center;justify-content:center;width:60px;height:60px;flex:none;background:#fff;border-radius:12px}
.logo img{width:50px;height:50px;display:block}
.name{font-family:var(--zahl);font-weight:600;font-size:36px;letter-spacing:.02em;line-height:1.1;display:block}
.unter{font-size:15px;color:#B9CBD6;display:block}
nav{display:flex;flex-wrap:wrap;gap:0 6px}
nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;color:#fff;text-decoration:none;border-bottom:3px solid transparent}
nav a[aria-current]{font-weight:700;border-bottom-color:var(--accent)}
main.wrap{padding-top:24px;padding-bottom:56px;display:flex;flex-direction:column;gap:24px}
.zeile{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
.karte{background:var(--card);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:12px;min-width:0}
.klein{font-size:14px;color:var(--muted)}
.etikett{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
#aktuell{flex:1 1 340px}
#webcam{flex:2 1 460px;padding:16px}
.gross{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;color:var(--temp)}
.gross .z{font-family:var(--zahl);font-weight:600;font-size:clamp(64px,19vw,112px);line-height:.95}
.gross .e{font-family:var(--zahl);font-weight:500;font-size:40px}
.cam{aspect-ratio:16/9;background:#C9D7DE;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#2F4757;font-size:20px;text-align:center}
.cam img{width:100%;height:100%;object-fit:cover;display:block}
.kacheln{display:flex;flex-wrap:wrap;gap:16px}
.kachel{flex:1 1 150px;background:var(--card);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:4px;min-width:0}
.kachel .w{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}
.kachel .z{font-family:var(--zahl);font-weight:600;font-size:clamp(32px,9vw,46px);line-height:1}
.kachel .e{font-size:18px;color:var(--muted)}
h2{margin:0;font-size:24px}
.tabelle{overflow-x:auto}
table{width:100%;min-width:760px;border-collapse:collapse;font-size:17px}
th,td{text-align:left;padding:12px;border-top:1px solid var(--line);vertical-align:top}
thead th{border-top:0;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
td b{font-weight:600;display:block}
td span{font-size:13px;color:var(--muted)}
.diagramme{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(480px,100%),1fr));gap:16px}
.diagramme figure{margin:0;background:var(--card);border-radius:14px;padding:16px}
.diagramme img{width:100%;height:auto;display:block;border-radius:6px}
.diagramme figcaption{font-size:16px;font-weight:700;margin-bottom:8px}
.warn{background:#FFF3D6;color:#5A4300;border-radius:10px;padding:10px 16px;font-size:15px}
.warn[hidden]{display:none}
footer{border-top:1px solid var(--line)}
.fuss{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-top:20px;padding-bottom:32px;font-size:14px;color:var(--muted)}
.jahre{display:flex;flex-direction:column;gap:6px}
.jahr{display:grid;grid-template-columns:64px repeat(12,minmax(0,1fr));gap:6px;align-items:center}
.jahr b{font-family:var(--zahl);font-size:22px}
.jahr a,.jahr i{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:8px;text-decoration:none;font-size:15px}
.jahr a{background:#E3EEF1;color:var(--navy);font-weight:600}
.jahr a:hover{background:var(--navy);color:#fff}
.jahr i{background:transparent;color:#B7C4CC;font-style:normal}
@media (max-width:700px){
  .wrap{padding:0 16px}
  .name{font-size:30px}
  .karte{padding:20px}
  .jahr{grid-template-columns:repeat(6,minmax(0,1fr))}
  .jahr b{grid-column:1/-1}
}

/* --- Ergänzungen: Wettersymbol, Windrose, Grünlandsumme, Rekorde --- */
.jetzt{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.symbol{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.symbol svg{width:96px;height:96px;display:block}
.symbol[hidden]{display:none}
.rose-karte{flex:2 1 460px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px 32px}
.rose{flex:0 1 260px;min-width:200px}
.rose svg{width:100%;height:auto;display:block}
.windwerte{flex:1 1 220px;display:flex;flex-direction:column;gap:8px}
.windtext{font-size:20px;font-weight:600}
.einheiten{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}
.einheiten .z{font-family:var(--zahl);font-weight:600;font-size:42px;line-height:1}
.einheiten .e{font-size:18px;color:var(--muted);margin-left:6px}
#gruenland{flex:1 1 300px}
.gross.neutral{color:var(--navy)}
.gross.neutral .z{font-size:80px}
.balken{height:12px;background:#E3EEF1;border-radius:6px;overflow:hidden}
.balken div{height:100%;width:0;background:var(--accent);border-radius:6px}
.rekordliste{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.rekord{border-top:1px solid var(--line);padding-top:10px}
.rekord b{display:block;font-family:var(--zahl);font-size:30px;font-weight:600;line-height:1.1}
.rekord span{font-size:14px;color:var(--muted)}
@media (max-width:700px){ .gross.neutral .z{font-size:64px} .einheiten .z{font-size:36px} }

/* --- Textseiten (Station, Technik, Projekt) --- */
.text{max-width:820px;gap:14px}
.text h1{margin:0;font-size:32px;line-height:1.2}
.text h2{margin:14px 0 0;font-size:22px}
.text p,.text ul,.text ol{margin:0;font-size:17px;line-height:1.6}
.text ul,.text ol{padding-left:22px}
.text li{margin:2px 0}
.text figure{margin:0}
.text figure img{max-width:100%;max-height:480px;height:auto;border-radius:10px;display:block}
.text code{background:#E3EEF1;padding:1px 6px;border-radius:5px;font-size:.92em}
.text .klein{font-size:15px}
.text{scroll-margin-top:16px}

/* --- Archiv: Monats- und Jahresseiten --- */
.breit{max-width:none}
.navi{font-size:16px;margin:0}
table.tage{min-width:900px;font-size:16px;font-variant-numeric:tabular-nums}
table.tage th,table.tage td{padding:9px 10px}
table.tage td.n span{display:block;font-size:12px;color:var(--muted)}
.jahrlink{color:var(--link)}
table.tage thead th{text-transform:none;letter-spacing:0;font-size:14px}
.jahr a.jahrlink{background:none;justify-content:flex-start;min-height:0;padding:0;font-family:var(--zahl);font-size:22px;font-weight:600;color:var(--navy);text-decoration:underline;text-decoration-color:var(--accent)}
.jahr a.jahrlink:hover{background:none;color:var(--link)}
