/* vorhersage.css – neue Vorhersage-Ansicht. Baut auf forecast.css auf (Rahmen, Breite, Slots,
   Stufen-Badges .fc-badge, Verteilungsbalken .fc-pbar) und addictedSportsWebcam.css
   (Marken-Windskala .windColor); hier steht nur, was die neue Ansicht zusätzlich braucht.
   Seitenhintergrund (Surfer/Kiter-Bild) kommt unverändert aus addictedSportsMain.css –
   hier NICHT `background` auf body setzen, sonst verschwindet das Bild.
   Farben: bestehende Palette (forecast.css :root); Temperatur-/Regenstufen aus dem Entwurf. */

.vh { --vh-ink: #10202B; --vh-mut: #4B5B66; --vh-line: #E3E8EC; --vh-soft: #F4F6F8;
      font-family: var(--fc-head); color: var(--vh-ink); font-variant-numeric: tabular-nums;
      max-width: 1010px; margin: 0 auto; padding-bottom: 32px; }
.vh, .vh * { border-radius: 0 !important; box-sizing: border-box; }
.vh-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh-mut { color: var(--vh-mut); }
.vh-small { font-size: 13px; }
/* Unser Modell im Kopf: Label mit Erklärung bei Hover/Fokus (vh_mos_badge) */
.vh-mos { position: relative; display: inline-block; padding: 0 6px; border: 1px solid #27ae60; border-radius: 4px; background: rgba(39,174,96,.12); color: #1e7a45; font-weight: 600; cursor: help; outline: none; }
.vh-mos:focus-visible { box-shadow: 0 0 0 2px rgba(39,174,96,.35); }
.vh-mos-tip { display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; padding: 8px 10px; border: 1px solid #d5dbdf; border-radius: 6px; background: #fff; box-shadow: 0 4px 14px rgba(16,32,43,.15); color: var(--vh-ink); font-weight: 400; line-height: 1.5; white-space: nowrap; text-align: left; }
.vh-mos:hover .vh-mos-tip, .vh-mos:focus .vh-mos-tip { display: block; }
.vh-note { font-size: 13px; color: var(--vh-mut); line-height: 1.5; margin: 8px 0 0; }
.vh-note a { color: var(--fc-red); }

/* ── Stationsleiste (klebt oben) + Kompakt-Tagesleiste ──
   news-shared.css setzt #wrapper overflow-x:hidden (gegen Querscrollen beim Zoomen). Das macht
   #wrapper/body zum Scroll-Container, und position:sticky greift nicht mehr. `clip` schneidet
   genauso ab, ohne Scroll-Container zu werden. */
body.vorhersage, body.vorhersage #wrapper { overflow-x: clip; }
/* Banner oben (#slot1 aus dem Seitenrahmen) klebt wie im Entwurf; die Stationsleiste klebt direkt
   darunter – seine Höhe misst vorhersage.js laufend in --vh-ad-h (Anzeigen laden unterschiedlich hoch). */
body.vorhersage .logoAdSlotContainer { position: sticky; top: 0; z-index: 25; margin-bottom: 0; padding-bottom: 6px; background: #fff; }
/* Feste Bannerhöhe (Slot-1-Formate laut config.slots: 90 px, mobil 50 px – Umschaltung wie
   historieAds.js bei 728 px), damit der Inhalt beim Laden/Wechseln der Anzeige nicht springt. */
body.vorhersage #slot1 { display: block; height: 90px; overflow: hidden; text-align: center; }
@media (max-width: 727px) { body.vorhersage #slot1 { height: 50px; } }
.vh-sticky { position: sticky; top: var(--vh-ad-h, 0px); z-index: 20; }
/* Maße wie die Stationsleiste der Webcam-Seite (#headerWebcam: 42,5 px, Exo 2 15 px, Versalien,
   Name fett, Zusatz normal, 30 px Rand; Handy 20 px). */
.vh-bar { position: relative; display: flex; align-items: center; height: 42.5px; padding: 0 0 0 30px;
          background: var(--fc-red); color: #fff; }
.vh-bar-name { font-size: 15px; font-weight: 400; line-height: 41.5px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-tabs { display: flex; margin-left: auto; }
.vh-tabs a { display: flex; align-items: center; height: 42.5px; padding: 0 18px; color: #fff; text-decoration: none;
             font-size: 15px; font-weight: 400; }
.vh .vh-tabs a:hover { background: rgba(0,0,0,.12); color: #fff; }
.vh-tabs a[aria-current="page"] { font-weight: 700; background: rgba(0,0,0,.22); box-shadow: inset 0 -3px 0 #fff; }
.vh-bar-name a { color: inherit; text-decoration: none; }
.vh-bar-name a:hover { text-decoration: underline; }
.vh-tabbtn { display: none; }
/* Spot-Wechsler (vh_spot_switch): Spotname als Knopf, Liste klappt unter der Leiste auf */
.vh-spotbtn { display: inline-flex; align-items: center; gap: 6px; height: 42.5px; min-width: 0; margin-left: -10px; padding: 0 10px; border: 0;
              background: transparent; color: #fff; font: inherit; font-size: 15px; text-transform: uppercase; cursor: pointer; }
.vh-spotbtn svg { flex: none; }
.vh-spotbtn-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vh-spotbtn-t b { font-weight: 700; }
.vh-spotpick { flex: none; margin: 0 0 0 auto; padding: 0 16px; text-transform: none; font-weight: 600; background: rgba(0,0,0,.12); }
.vh-spotbtn:hover, .vh-spotbtn[aria-expanded="true"] { background: rgba(0,0,0,.22); }
.vh .vh-lakebtn { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42.5px; margin-left: -10px; padding: 0 12px 0 10px;
                  border-right: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; }
.vh .vh-lakebtn:hover { background: rgba(0,0,0,.12); color: #fff; text-decoration: none; }
.vh-lakebtn + .vh-spotbtn { margin-left: 0; }
.vh-spotbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.vh-spots { position: absolute; left: 20px; top: 100%; z-index: 40; width: 420px; max-width: calc(100vw - 16px); background: #fff; color: var(--vh-ink);
            border-top: 3px solid var(--fc-red); box-shadow: 0 12px 28px rgba(16,32,43,.22); }
.vh-spots[hidden], .vh .vh-spots [hidden] { display: none; }
.vh-spots-r { left: auto; right: 0; }
.vh-spots-q { padding: 10px 12px; border-bottom: 1px solid #EEF1F4; }
.vh-spots-q label { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border: 1px solid #C3CCD3; color: var(--vh-mut); }
.vh-spots-q input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--vh-ink); background: transparent; }
.vh-spots-list { max-height: min(470px, 70vh); overflow: auto; padding: 4px 0 8px; }
.vh-spots-h { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px 4px; font-size: 11px; font-weight: 700;
              letter-spacing: .08em; text-transform: uppercase; color: var(--vh-mut); }
.vh-spots-h a { font-size: 12px; letter-spacing: 0; text-transform: none; }
.vh .vh-spots-i { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; color: var(--vh-ink); text-decoration: none; font-size: 15px; }
.vh-spots-i > span:first-child { flex: 1; min-width: 0; }
.vh .vh-spots-i:hover, .vh .vh-spots-i:focus-visible { background: var(--vh-soft); color: var(--vh-ink); text-decoration: none; }
.vh-spots-i[aria-current="page"] { font-weight: 700; background: var(--vh-soft); box-shadow: inset 3px 0 0 var(--fc-red); }
.vh-spots-i .fc-badge { margin: 0; padding: 1px 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.vh-spots-none { padding: 10px 12px; margin: 0; }
.vh-compact { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fff;
              border: 1px solid var(--vh-line); border-top: 0; box-shadow: 0 6px 14px rgba(16,32,43,.10); }
.vh-compact[hidden] { display: none; }
.vh-compact a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 0; font-size: 13px;
                color: var(--vh-ink); text-decoration: none; border-right: 1px solid #EEF1F4; }
.vh-compact .fc-badge { margin: 0; padding: 1px 6px; font-size: 12px; font-weight: 700; }
.vh-cwx { display: flex; align-items: center; gap: 3px; font-weight: 600; }

/* ── Kopfzeile: Überschrift, Stand, Jetzt ── */
.vh-spots-lake span { font-weight: 700; }
.vh-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0 4px; }
.vh-head h1 { margin: 0 0 3px; font-size: 22px; line-height: 1.2; font-weight: 700; text-transform: none; }
.vh-now { display: flex; align-items: center; gap: 12px; }
.vh-now-ic { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--vh-ink); }
.vh-now-v { font-size: 22px; font-weight: 700; color: var(--vh-ink); }

/* ── Tageskacheln ── */
.vh-tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; padding-top: 14px; }
.vh-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px 14px; background: #fff;
           border: 1px solid var(--vh-line); color: var(--vh-ink); text-decoration: none; }
/* Kachel innen ~121 px: „Leichtwind 100 %“ (FR „Petit temps 100 %“) passt mit 13 px, mit 14 px lief es aus dem Rahmen */
.vh-tile .vh-level .fc-badge { font-size: 13px; padding: 2px 3px; }
.vh-tile, .vh-tile:hover, .vh-compact a:hover, .vh-dtday a:hover { text-decoration: none; }   /* Seiten-CSS unterstreicht Links beim Hover */
/* Hover-Farben mit .vh davor: das Seiten-CSS (.reports a:hover, body.reports) färbt Links sonst blau */
.vh .vh-tile:hover, .vh .vh-tile:focus-visible { border-color: var(--vh-ink); box-shadow: 0 2px 8px rgba(16,32,43,.15); color: var(--vh-ink); }
.vh .vh-compact a:hover { background: var(--vh-soft); color: var(--vh-ink); }
.vh-compact a[aria-current="date"] { background: var(--vh-soft); box-shadow: inset 0 -3px 0 var(--fc-red); }   /* Tag, bei dem man gerade ist (vorhersage.js) */
.vh-compact a[aria-current="date"] > b { color: var(--fc-red); }
.vh-tile > b { font-size: 16px; }
.vh-tile .vh-small { margin-top: -4px; }
.vh-wx { height: 32px; display: flex; align-items: center; }
.vh-temp { font-size: 14px; }
.vh-tile .vh-temp { margin-top: auto; }   /* Temperatur unten bündig, auch wenn eine Kachel mehr Labels hat */
.vh-level { display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 120px; }
.vh-level .fc-badge { margin: 0; text-align: center; font-size: 14px; font-weight: 700; padding: 2px 8px; white-space: nowrap; }   /* „Leichtwind 100 %“ nie umbrechen */
.vh-level .fc-pbar-wrap { margin: 0; }
/* Beschriftung „Windchancen" über dem Balken wie auf /forecast/ (forecast.css .fc-day .fc-pbar-lbl) */
.vh-level .fc-pbar-lbl { display: block; font-weight: 700; font-size: .62rem; text-transform: uppercase; letter-spacing: .04em;
                         color: var(--vh-mut); margin-bottom: 2px; text-align: center; }
.vh-level .fc-pbar { display: flex; height: 6px; overflow: hidden; background: var(--vh-line); }
.vh-level .fc-pbar span { display: block; height: 100%; }
/* Windsystem-Labels: Name, links ein Streifen in der Stufe des Systems (Farben der Stufen-Badges) */
.vh-sys { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px; }
.vh-sys-t { padding: 1px 5px 1px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
            color: var(--vh-ink); background: #fff; border: 1px solid var(--vh-line); box-shadow: inset 3px 0 0 #95a5a6; }
.vh-sys-wenig { box-shadow: inset 3px 0 0 var(--fc-blue); }
.vh-sys-surfbar { box-shadow: inset 3px 0 0 var(--fc-accent); }
.vh-sys-big { box-shadow: inset 3px 0 0 var(--fc-red); }
.vh-daytitle .vh-sys { margin-left: 4px; }

/* ── Bedienleiste + Legende ── */
.vh-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 0 4px; }
.vh-ctls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.vh-seg { display: flex; gap: 2px; padding: 2px; background: var(--vh-line); }
.vh-seg button, .vh-detbtn { min-height: 34px; padding: 0 10px; border: 0; font: inherit; font-weight: 600; cursor: pointer;
                             background: transparent; color: var(--vh-mut); }
.vh-seg button[aria-pressed="true"] { background: #fff; color: var(--vh-ink); font-weight: 700; }
.vh-detbtn { display: flex; align-items: center; gap: 6px; border: 1px solid #C3CCD3; background: #fff; color: var(--vh-ink); }
.vh-detbtn svg { visibility: hidden; }
.vh-detbtn[aria-pressed="true"] { background: var(--vh-ink); border-color: var(--vh-ink); color: #fff; font-weight: 700; }
.vh-detbtn[aria-pressed="true"] svg { visibility: visible; }
.vh-setbtn { display: none; }
.vh-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; }
.vh-legend > span { padding: 2px 4px; color: var(--vh-ink); }
.vh-legend b { font-weight: 600; } .vh-legend i { font-style: normal; }
.vh-legend > .vh-lg-t { padding-left: 0; margin-right: 4px; font-size: 12px; font-weight: 500; color: var(--vh-mut); }
.vh-lo { background: #EEF2F5; }

/* ── Tagesblock ── */
.vh-day { scroll-margin-top: calc(var(--vh-ad-h, 0px) + 110px); margin-top: 20px; background: #fff; border: 1px solid var(--vh-line); }
/* Ab dem 3. Tag erst rendern, wenn er in die Nähe des Bildschirms kommt (die Seite hat ~10 000 Elemente –
   spart auf dem Handy Rechenzeit beim Laden). Die Höhe merkt sich der Browser nach dem ersten Rendern. */
.vh-day ~ .vh-day ~ .vh-day { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
.vh-dayhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 14px 20px; border-bottom: 1px solid var(--vh-line); }
.vh-daytitle { display: flex; align-items: center; gap: 10px; }
.vh-day h2 { margin: 0; padding: 0; border: 0; font-size: 20px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.vh-rel { background: var(--fc-red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; }
.vh-dayinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; }
.vh-dayhead > .vh-level { margin-left: auto; width: 200px; }
.vh-tmm { display: flex; align-items: center; gap: 6px; }
.vh-tmm .vh-t { padding: 1px 6px; font-weight: 700; color: var(--vh-ink); }

/* Stundentabelle (Desktop): Stunden = Spalten */
.vh-scroll { overflow-x: auto; padding: 6px 0 10px; }
.vh-tbl { width: 100%; border-collapse: separate; border-spacing: 2px 2px; table-layout: fixed; font-size: 14px; }
.vh-tbl th[scope="row"], .vh-tbl thead th:first-child { position: sticky; left: 0; z-index: 1; width: 150px; padding: 0 6px 0 18px;
    background: #fff; text-align: left; font-size: 13px; font-weight: 400; color: var(--vh-mut); line-height: 1.25; }
.vh-tbl th[scope="row"] small { display: block; font-size: 11px; }
.vh-tbl td, .vh-tbl thead th { text-align: center; padding: 0; }
.vh-tbl thead th { font-weight: 700; color: var(--vh-ink); height: 28px; }
.vh-tbl thead th.vh-night, .vh-night { color: #66737D !important; }
.vh-dir td { height: 40px; font-size: 10px; color: var(--vh-mut); }
.vh-dir td span { display: block; }
.vh-dirhint { display: block; font-size: 11px; font-weight: 400; color: var(--vh-mut); line-height: 1.2; }   /* Pfeil = wohin, Buchstabe = woher */
.vh-arr { color: #1D2B36; vertical-align: middle; }
.vh-windbar td { height: var(--vh-wb, 132px); padding: 0 3px; vertical-align: bottom; border-bottom: 1px solid #C3CCD3; }
.vh-windbar .vh-gbw { height: calc(var(--vh-wb, 132px) - 4px); }
.vh-windbar th .vh-gb-legend { flex-direction: column; gap: 3px; margin-top: 4px; font-weight: 400; }
.vh-wxrow td { height: 48px; }
.vh-tmp td { height: 28px; font-weight: 600; }
/* Wetter-Icon mit mm darunter (sichtbar nur bei Regen ab 0,1 mm, vh_mm), in der Regenstufe eingefärbt;
   „0,0“ bleibt als Platzhalter stehen (vh-mm0, unsichtbar), damit alle Kacheln/Zeilen gleich hoch sind */
.vh-mm.vh-mm0 { visibility: hidden; }
.vh-wxc { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.vh-mm { font-size: 10px; font-weight: 600; line-height: 12px; padding: 0 3px; color: var(--vh-mut); }
.vh-mm.vh-r { font-weight: 700; color: var(--vh-ink); } .vh-mm.vh-r0 { color: #1E4E7A; } .vh-mm.vh-r3 { color: #fff; }
.vh-tile .vh-mm { margin-top: -3px; }
/* Schmaler Desktop/Tablet (701–1000 px): Kachel ~80–130 px – Stufe über %, kleinere Schrift, damit nichts aus dem Rahmen läuft */
@media (min-width: 701px) and (max-width: 1000px) {
  .vh-tile .vh-level { min-width: 0; width: 100%; }
  .vh-tile .vh-level .fc-badge { display: flex; flex-direction: column; font-size: 13px; line-height: 1.15; padding: 2px 0; }
  .vh-tile .vh-lvn { font-size: clamp(10px, 1.25vw, 12px); font-weight: 600; white-space: nowrap; overflow: hidden; }
  .vh-tile .vh-sys-t { font-size: 10px; letter-spacing: 0; padding: 1px 3px 1px 5px; }
}
.vh-press td { height: 26px; font-size: 12px; color: var(--vh-mut); }
.vh-drvfirst th, .vh-drvfirst td { padding-top: 10px !important; border-top: 1px solid #EEF1F4; }
.vh-dethead { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Detail-Balken (Treiber): Box mit Nulllinie, Balken + Wert */
.vh-db { display: flex; flex-direction: column; gap: 1px; padding: 0 1px; }
.vh-db-box { position: relative; display: block; height: 48px; background: #F6F8F9; }
.vh-db0 .vh-db-box::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #C3CCD3; }
.vh-db-bar { position: absolute; left: 22%; right: 22%; top: var(--t); height: var(--h); }
.vh-db-bar.vh-weak { opacity: .4; }   /* unter der Grenze: trägt meist nicht */
.vh-db-thr { position: absolute; left: 0; right: 0; top: var(--tt); border-top: 1px dashed; }
.vh-db-v { font-size: 11px; color: var(--vh-mut); text-align: center; }

/* Temperatur- und Regenstufen (aus dem Entwurf) */
.vh-t0 { background: #B9D3F0; } .vh-t1 { background: #D4E5F6; } .vh-t2 { background: #E1EFE6; } .vh-t3 { background: #F4EEC4; }
.vh-t4 { background: #F9DDAE; } .vh-t5 { background: #F6C396; } .vh-t6 { background: #F0A47E; } .vh-t7 { background: #E58466; }
.vh-r0 { background: #DCEBF8; color: #1E4E7A; } .vh-r1 { background: #A9CDEE; } .vh-r2 { background: #5B9BD5; } .vh-r3 { background: #2B6CB0; color: #fff; }

/* Handy-Zeilen: erst unter 700px sichtbar */
.vh-rows { display: none; }

/* ── Umschalter-Zustände (data-* an #vh, gesetzt von vorhersage.js) ── */
.vh[data-range="day"] .vh-off { display: none; }
.vh[data-details="off"] .vh-drv { display: none; }
.vh[data-res="3h"] .vh-h1 { display: none; }

.vh-slot { margin-top: 20px; text-align: center; }

/* ── Handy ── */
@media (max-width: 700px) {
  .vh-desk { display: none; }
  .vh-bar { padding-left: 20px; }
  .vh-bar-name { min-width: 0; }
  .vh-spotbtn, .vh .vh-lakebtn { margin-left: -6px; padding: 0 6px; }
  .vh .vh-lakebtn { gap: 5px; padding-right: 8px; }
  .vh-spotbtn-stack .vh-bar-cc { display: none; }
  .vh-bar-lake { padding-left: 4px; }
  .vh .vh-bar-lake .vh-lakebtn { justify-content: center; width: 34px; margin-left: 0; padding: 0; }
  .vh-bar-lake .vh-lakebtn b { display: none; }
  .vh-bar-lake .vh-spotbtn { gap: 4px; padding: 0 4px 0 6px; }
  .vh-spotbtn-stack { display: flex; flex-direction: column; line-height: 1.15; }
  .vh-spotbtn-stack .vh-spotbtn-lake, .vh-spotbtn-region { display: block; font-size: 11px; text-align: left; }
  .vh-spotbtn-stack .vh-spotbtn-n { overflow: hidden; text-overflow: ellipsis; text-align: left; }
  .vh-bar-lake .vh-tabbtn { padding: 0 8px; }
  .vh-spotpick { margin-left: auto; padding: 0 10px; }
  .vh-spots, .vh-spots-r { left: 0; right: 0; width: auto; max-width: none; }
  .vh-spots-q label { height: 44px; }
  .vh-tabbtn { display: flex; align-items: center; gap: 6px; margin-left: auto; height: 42.5px; padding: 0 12px; border: 0;
               background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 400; cursor: pointer; }
  .vh-tabs { display: none; position: absolute; right: 0; top: 100%; z-index: 30; width: 230px; flex-direction: column;
             background: #fff; border-top: 3px solid var(--fc-red); box-shadow: 0 10px 24px rgba(16,32,43,.18); }
  .vh-tabs.vh-open { display: flex; }
  .vh-tabs a { height: 48px; padding: 0 16px; color: var(--vh-ink); border-bottom: 1px solid #EEF1F4; font-size: 15px; }
  .vh .vh-tabs a:hover { color: var(--vh-ink); background: var(--vh-soft); }
  .vh-tabs a[aria-current="page"] { background: #fff; box-shadow: none; }
  .vh-compact a { gap: 1px; padding: 3px 0; font-size: 11px; min-width: 0; border-right-color: #EEF1F4; }
  .vh-compact .fc-badge { padding: 0 2px; font-size: 11px; white-space: nowrap; }
  .vh-cwx { font-size: 11px; gap: 1px; }

  .vh-head { padding: 10px 8px 2px; gap: 6px; }
  .vh-head h1 { font-size: 16px; }
  /* Jetzt: eine kompakte Zeile */
  .vh-now { gap: 8px; width: 100%; padding-top: 8px; border-top: 1px solid var(--vh-line); }
  .vh-now-ic { width: 28px; height: 28px; } .vh-now-ic svg { width: 16px; height: 16px; }
  .vh-now-v { font-size: 16px; }
  .vh-tiles { gap: 2px; padding: 8px 2px 4px; }   /* schmale Ränder: jede Kachel braucht ihre ~49 px für die Labels */
  .vh-tile { padding: 5px 0 6px; gap: 3px; border: 1px solid var(--vh-line); background: #F7F9FA; }
  .vh-tile > b { font-size: 13px; }
  .vh-wx { height: 20px; } .vh-wx svg { width: 20px; height: 20px; }
  /* Kachel: Stufenname + % statt Verteilungsbalken (zu schmal, verschwamm über die Kacheln) */
  .vh-tile .vh-level { min-width: 0; width: 100%; }
  .vh-tile .vh-level .fc-badge { display: flex; flex-direction: column; font-size: 12px; line-height: 1.15; padding: 2px 0; }
  /* Stufe und Labels einzeilig in der ~47 px schmalen Kachel: Großbuchstaben passen nicht („LEICHTWIND“ 53 px),
     normal geschrieben mit 8–9 px (2,4 vw) passen alle Stufen und Ein-Wort-Labels in allen Sprachen ab 360 px */
  .vh-tile .vh-lvn { font-size: clamp(8px, 2.4vw, 9px); font-weight: 600; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
  .vh-tile .fc-pbar-wrap { display: none; }
  .vh-tile .vh-sys { flex-direction: column; gap: 2px; width: 100%; }
  .vh-tile .vh-sys-t { font-size: clamp(8px, 2.3vw, 8.5px); font-weight: 600; padding: 0 0 0 4px; letter-spacing: 0; text-transform: none; text-align: center;
                       overflow-wrap: normal; hyphens: none; }   /* nur zwischen Wörtern umbrechen („Föhn → Front“) */
  .vh-temp { font-size: 12px; font-weight: 600; }

  /* Handy: Schalter hinter „Einstellungen" (aufgeklappt fingergerecht 44 px), Legende eine Zeile */
  .vh-controls { padding: 8px 4px 4px; gap: 6px; }
  .vh-setbtn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px;
               border: 1px solid #C3CCD3; background: #fff; color: var(--vh-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .vh-setsum { margin-left: auto; font-weight: 500; color: var(--vh-mut); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vh-ctls { display: none; width: 100%; gap: 6px; }
  .vh-ctls.vh-open { display: flex; }
  .vh-seg { flex: 1 1 calc(50% - 3px); padding: 1px; gap: 1px; }
  .vh-seg button, .vh-detbtn { min-height: 44px; font-size: 14px; }
  .vh-seg button { flex: 1; padding: 0 4px; }
  .vh-detbtn { flex: 1 1 calc(50% - 3px); justify-content: center; padding: 0 6px; }
  .vh-legend { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); width: 100%; gap: 1px; font-size: 10px; text-align: center; }
  .vh-legend > span { padding: 2px 0; }
  .vh-legend > .vh-lg-t, .vh-legend i { display: none; }

  .vh-day { margin-top: 8px; border-left: 0; border-right: 0; scroll-margin-top: calc(var(--vh-ad-h, 0px) + 100px); }
  .vh-dayhead { padding: 10px 8px 8px; gap: 4px 10px; }
  .vh-day h2 { font-size: 17px; }
  .vh-dayhead > .vh-level { width: auto; min-width: 128px; }

  .vh-dayinfo { font-size: 12px; gap: 4px 10px; }
  .vh-scroll { display: none; }
  .vh-rows { display: block; padding: 0 4px 6px; }
  .vh-row { display: grid; grid-template-columns: minmax(0, 113fr) minmax(0, 90fr) minmax(0, 120fr); gap: 2px 8px; align-items: end;
            padding: 4px 0; border-bottom: 1px solid #EEF1F4; }
  .vh[data-details="off"] .vh-row { grid-template-columns: minmax(0, 113fr) minmax(0, 90fr); }
  .vh-row-h { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; }
  .vh-row-h .vh-mut { font-size: 10px; display: flex; align-items: center; gap: 2px; }
  .vh-row-w .vh-gbw { height: 32px; }
  .vh-row-w .vh-gb-mv { font-size: 17px; }
  .vh-rowhead .vh-row-w .vh-gb-legend { gap: 8px; font-size: 10px; font-weight: 600; }
  .vh-rowhead .vh-gb-sw { width: 9px; height: 8px; }
  .vh-row-x { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; align-items: center; height: 34px; padding-left: 8px; border-left: 1px solid #D5DCE1; }
  .vh-row-x > span:first-child { display: flex; flex-direction: column; align-items: center; gap: 1px; }
  .vh-row-x .vh-t { height: 32px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
  .vh-row-d { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; height: 32px; padding-left: 8px; border-left: 1px solid #D5DCE1; }
  .vh-rowhead { border-bottom-color: #D5DCE1; }
  .vh-rowhead > div, .vh-rowhead .vh-row-w > span { height: auto; align-items: end; font-size: 10px; font-weight: 600; color: var(--vh-mut); }
  .vh-rowhead b { grid-column: 1 / -1; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vh-ink); }
  .vh-rowhead span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
  .vh-rowhead .vh-unit { text-transform: none; }
  .vh-row-d { grid-template-rows: auto; }
  .vh-rowhead .vh-row-d { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Detail-Werte waagerecht wie im Entwurf: 8 px Spur, Nulllinie senkrecht in der Mitte */
  .vh-row-d .vh-db { justify-content: center; gap: 4px; padding: 0; }
  .vh-row-d .vh-db-box { height: 8px; background: #EEF1F4; }
  .vh-row-d .vh-db0 .vh-db-box::before { top: -2px; bottom: -2px; left: 50%; right: auto; border-top: 0; border-left: 1px solid #9AA7B0; }
  .vh-row-d .vh-db-bar { top: 0; bottom: 0; height: auto; right: auto; left: var(--l); width: var(--w); }
  .vh-row-d .vh-db-thr { top: -2px; bottom: -2px; left: var(--tl); right: auto; border-top: 0; border-left: 1px dashed; }
  .vh-row-d .vh-db-v { font-size: 10px; line-height: 11px; color: var(--vh-ink); }
  .vh-note { padding: 0 8px; }
}

/* ── Rückblick (review.php) – Maße/Farben nach dem Entwurf ── */
.vh-rvhead { padding: 18px 0 10px; }
.vh-rvhead h1 { margin: 0 0 4px; font-size: 22px; line-height: 1.2; font-weight: 700; text-transform: none; }
.vh-rvnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; padding: 8px 0;
            position: sticky; top: calc(var(--vh-ad-h, 0px) + 42.5px); z-index: 15; background: #fff; }   /* klebt unter der Stationsleiste */
.vh-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px;
          border: 1px solid #C3CCD3; background: #fff; color: var(--vh-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.vh .vh-btn:hover { color: var(--vh-ink); border-color: var(--vh-mut); }
.vh-btn[aria-disabled="true"] { opacity: .4; cursor: default; }
.vh .vh-btn-dark, .vh .vh-btn-dark:hover { background: var(--vh-ink); border-color: var(--vh-ink); color: #fff; }
.vh-date { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
           border: 1px solid #C3CCD3; background: #fff; font-weight: 700; color: var(--vh-mut); }
.vh-date span { color: var(--vh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-date input { margin-left: auto; width: 24px; border: 0; background: transparent; font: inherit; cursor: pointer; }
.vh-rvsum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; align-items: start;
            padding: 18px 20px; background: #fff; border: 1px solid var(--vh-line); }
.vh-rvsum-c { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.vh-cap { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vh-mut); }
.vh-rvsum .fc-badge { margin: 0; font-weight: 700; font-size: 14px; padding: 2px 8px; }
.vh-verdict { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.vh-ok { color: #1F6B45; } .vh-bad { color: #8E1B22; }
.vh-mae { font-size: 22px; font-weight: 700; line-height: 1.1; }
.vh-rvbox { margin-top: 16px; padding: 16px 20px 10px; background: #fff; border: 1px solid var(--vh-line); }
.vh-rvbox.vh-scroll { padding: 6px 0 12px; }
.vh-rvbox-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 12px; }
.vh-rvbox h2 { margin: 0; padding: 0; border: 0; font-size: 18px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.vh-rvlegend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.vh-rvlegend > span { display: flex; align-items: center; gap: 6px; }
.vh-rvl { width: 22px; border-top: 3px solid var(--fc-red); }
.vh-l-m { border-top-style: dashed; }
.vh-l-fg, .vh-l-mg { border-top: 2px solid #3A4A55; } .vh-l-mg { border-top-style: dashed; }
.vh-l-band { height: 10px; border: 0; background: rgba(193, 9, 37, .15); }
.vh-rvc { position: relative; height: 240px; margin-left: 40px; }
.vh-rvc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vh-rvc polyline { fill: none; vector-effect: non-scaling-stroke; }
.vh-p-f, .vh-p-m { stroke: var(--fc-red); stroke-width: 3; } .vh-p-m { stroke-dasharray: 6 4; }
.vh-p-fg, .vh-p-mg { stroke: #3A4A55; stroke-width: 2; } .vh-p-mg { stroke-dasharray: 5 4; }
.vh-p-band { fill: var(--fc-red); fill-opacity: .12; }
.vh-rvc-grid { position: absolute; left: 0; right: 0; border-top: 1px solid #EEF1F4; }
.vh-rvc-y { position: absolute; left: -40px; width: 34px; transform: translateY(-50%); text-align: right; font-size: 12px; color: #66737D; }
.vh-rvc-wd { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--fc-accent-d); }
.vh-rvc-wdl { position: absolute; right: 4px; transform: translateY(-110%); font-size: 11px; font-weight: 600; color: #11785F; }
.vh-rvc-x { display: grid; margin: 4px 0 0 40px; font-size: 12px; color: var(--vh-mut); text-align: center; }
.vh-rvtbl td { height: 34px; font-size: 16px; font-weight: 700; }
.vh-rvgrp th { padding: 10px 0 4px 18px !important; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em;
               color: var(--vh-ink) !important; border-top: 1px solid var(--vh-line); position: static !important; }
.vh-rvgrp th span { text-transform: uppercase; }
.vh-rvtbl td.vh-rvdir { height: 40px; font-size: 10px; font-weight: 400; color: var(--vh-mut); }
.vh-rvtbl td.vh-rvdir span { display: block; }
.vh-dev { font-size: 12px; font-weight: 600; }
.vh-rvtbl td.vh-dev { height: 24px; font-size: 12px; font-weight: 600; }
.vh-dev0 { background: #E3F1EA; color: #1F6B45; } .vh-dev1 { background: #FBEFD5; color: #7A5200; } .vh-dev2 { background: #F6DADC; color: #8E1B22; }
.vh-rv .fc-cta { margin-top: 16px; }
/* Tabellen-Update des Entwurfs: Vorhersage = weiße Zelle mit Farbstreifen, Messung voll gefärbt */
.vh-fc { position: relative; background: #fff; box-shadow: inset 0 0 0 1px #C3CCD3; color: var(--vh-ink); }
.vh-stripe { position: absolute; left: 1px; right: 1px; bottom: 1px; height: 5px; }
.vh-sw { display: inline-block; width: 14px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.vh-sw-fc { background: #fff; box-shadow: inset 0 0 0 1px #C3CCD3, inset 0 -3px 0 var(--fc-red); }
.vh-strong { font-weight: 700; color: var(--vh-ink); }
.vh-rvrows, .vh-mob { display: none; }

@media (max-width: 700px) {
  .vh-rvhead { padding: 12px 8px 4px; }
  .vh-rvhead h1 { font-size: 18px; }
  .vh-rvnav { padding: 0 6px; }
  .vh-date { font-size: 15px; }
  .vh-rvsum { grid-template-columns: 1fr 1fr; padding: 14px 12px; margin: 0 6px; }
  .vh-rvbox { margin: 10px 6px 0; padding: 12px 8px 8px; }
  .vh-rvbox h2 { font-size: 16px; }
  .vh-rvlegend { order: 3; font-size: 11px; }
  .vh-rvc { height: 190px; margin-left: 24px; }
  .vh-rvc-y { left: -24px; width: 18px; font-size: 10px; }
  .vh-rvc-x { margin-left: 24px; font-size: 9px; }
  .vh-rvc-x span:not(.vh-x3) { visibility: hidden; }   /* Handy: nur jede 3. Stunde beschriften */
  .vh-rvbox.vh-scroll { display: none; }
  .vh-mob { display: inline; }
  .vh-rvrows { display: block; margin-top: 10px; padding: 0 4px 8px; background: #fff; border-top: 1px solid var(--vh-line); border-bottom: 1px solid var(--vh-line); }
  .vh-rvrow { display: grid; grid-template-columns: minmax(0, 1fr) 96px 64px; gap: 2px 6px; align-items: center; padding: 4px 0; border-bottom: 1px solid #EEF1F4; }
  .vh-rvrow-h { grid-column: 1 / -1; font-size: 12px; line-height: 14px; }
  .vh-rv-m { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 3px; }
  .vh-rv-g, .vh-rv-d { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding-left: 6px; border-left: 1px solid #D5DCE1; }
  .vh-rv-d { justify-items: center; }
  .vh-rv-m > span, .vh-rv-g > span { height: 30px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
  .vh-rv-g > span { font-size: 13px; font-weight: 600; }
  .vh-rv-m > span.vh-dev { font-size: 11px; font-weight: 600; }
  .vh-rvrowhead { align-items: end; padding: 6px 0 4px; border-bottom-color: #D5DCE1; }
  .vh-rvrowhead > div > span { height: auto; font-size: 10px; font-weight: 600; color: var(--vh-mut); }
  .vh-rvrowhead .vh-sw { width: 10px; height: 9px; margin-right: 3px; }
  .vh-rvrowhead .vh-strong { color: var(--vh-ink); }
  .vh-rvrowhead b { grid-column: 1 / -1; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .vh-rv .vh-note { padding: 0 8px; }
}

/* ── Details (details.php): Tagesleiste, Wind-Chart und Treiber-Charts in Karten ── */
.vh-dt-intro { margin: 0; line-height: 1.5; }
.vh-dt-intro + .vh-dt-intro { margin-top: 6px; }
.vh-dtdays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vh-dtday { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 10px; background: #fff; border: 1px solid var(--vh-line); }
.vh-dtday > b { width: 100%; font-size: 14px; }
.vh-dtday .fc-badge { margin: 0; font-weight: 700; }
.vh .vh-dt-h2 { margin: 16px 0 0; padding: 0; border: 0; font-size: 18px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.vh-dt .vh-rvbox h2 { margin-bottom: 8px; }
.vh-dt .vh-rvbox { border: 0; padding: 4px 0 0; }   /* Detailseite ohne Rahmen: kein Innenabstand, der wie eine Leerzeile wirkt */
.vh-dt .vh-dt-sys p { margin: 0 0 8px; }
.vh-dt-drv .fc-h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; text-transform: none; }
.vh-dt-drv .fc-cap { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--vh-mut); }
.vh .fc-list { margin: 0 0 8px; padding-left: 20px; }
.vh .fc-list li { margin: 0 0 6px; line-height: 1.5; }
.vh-dt-drv .fc-list { font-size: 14px; color: var(--vh-mut); }
@media (max-width: 700px) {
  .vh-dtdays { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 0 6px; }
  .vh .vh-dt-h2 { padding: 0 8px; font-size: 16px; }
  .vh-dt-drv .fc-cap { font-size: 13px; }
}

/* Vorschau nicht freigegebener Spots (nur Admins, vorhersage/index.php) */
.vh-preview{background:#fff4d6;color:#5a4300;border:1px solid #e0c060;padding:8px 12px;margin:8px auto;max-width:1304px;font-size:14px}
.vh-preview a{font-weight:700}
.vh-preview-tag{font-size:12px;font-weight:700;background:#fff4d6;color:#5a4300;padding:1px 6px}

/* ── Startseite /vorhersage/ (vorhersage/home.php): Top-Spot + Karte + Liste ── */
.vh-home { padding-bottom: 24px; }
.vh-home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; padding: 18px 8px 4px; }
.vh-home-head h1 { margin: 0 0 4px; font-size: 26px; }
.vh-home-head p { margin: 0; }
.vh-home-days { display: flex; border: 1px solid #c3ccd3; background: #fff; }
.vh-home-days a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 700; color: var(--vh-ink); text-decoration: none; }
.vh-home-days a[aria-current] { background: var(--vh-ink); color: #fff; }
.vh-home-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin: 12px 8px; }
.vh-home-topcard { display: flex; flex-direction: column; gap: 12px; color: var(--vh-ink); text-decoration: none; }
.vh .vh-home-topcard:hover { text-decoration: none; border-color: var(--vh-ink); color: var(--vh-ink); }
.vh-home-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #b0232c; }
.vh-home-name { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.vh-home-name > span:first-child { display: flex; flex-direction: column; }
.vh-home-name b { font-size: 30px; line-height: 1.1; }
.vh-home-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.vh-home-bars { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 2px; align-items: end; height: 54px; }
.vh-home-bars > span { display: block; min-height: 4px; position: relative; }
.vh-home-gblegend { margin-top: -6px; }
/* Hover: Stunde · Grundwind · Böe (data-tip); Ränder bündig, damit nichts abgeschnitten wird */
.vh-home-bars > span:hover { outline: 2px solid var(--vh-ink); outline-offset: 1px; }
.vh-home-bars > span:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  z-index: 5; padding: 4px 8px; border-radius: 4px; background: var(--vh-ink); color: #fff; font-size: 12px; font-weight: 600;
  white-space: nowrap; pointer-events: none; }
.vh-home-bars > span:nth-child(-n+4):hover::after { left: 0; transform: none; }
.vh-home-bars > span:nth-last-child(-n+4):hover::after { left: auto; right: 0; transform: none; }
.vh-home-axis { display: flex; justify-content: space-between; margin-top: -8px; }

/* ── Säule Grundwind + Böe (vh_gust_bar): unten Grundwind satt, darüber Böenanteil blass, Kante in der Böenfarbe ──
   Stehend (Startseite, Desktop-Tabelle) oder liegend (.vh-gb-h, Handy-Zeile); .vh-gbw = Säule mit Werten. */
.vh .vh-gb { display: flex; flex-direction: column; min-height: 0; }
.vh-gb > span { display: block; min-height: 0; min-width: 0; }
.vh-gb .vh-gb-edge { flex: none; height: 2px; }
.vh-gb .vh-gb-edge.vh-calm { background: #C3CCD3; }
.vh-gb-g { opacity: .4; }
.vh .vh-gb-m { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.vh .vh-gb-h { flex-direction: row-reverse; height: 100%; }   /* gleiche Reihenfolge im HTML: satt links, Kante rechts */
.vh-gb-h .vh-gb-edge { width: 2px; height: auto; }
.vh .vh-gb-h .vh-gb-m { align-items: center; justify-content: flex-start; padding-left: 5px; }
.vh-gbw { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; text-align: center; }
.vh-gbw-h { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; }
.vh-gb-mv { font-size: 15px; font-weight: 700; line-height: 18px; color: var(--vh-ink); }
.vh-gb-gv { font-size: 11px; font-weight: 600; line-height: 14px; color: var(--vh-mut); }
.vh-gb-out { display: flex; align-items: baseline; gap: 4px; padding-left: 5px; white-space: nowrap; }
.vh-gb-out .vh-gb-gv { font-size: 13px; }
.vh-gb-legend { display: flex; gap: 14px; font-size: 12px; color: var(--vh-mut); }
.vh-gb-legend > span { display: flex; align-items: center; gap: 6px; }
.vh-gb-sw { display: inline-block; width: 12px; height: 10px; background: rgba(17,212,17,.6); }
.vh-gb-sw-g { background: rgba(17,212,17,.22); box-shadow: inset 0 2px 0 rgba(17,212,17,.9); }
.vh-home-go { font-weight: 700; color: #b0232c; }
.vh-calm { background: #e3e8ec; color: var(--vh-ink); }
.vh-home-more { display: flex; flex-direction: column; }
.vh-home-more h2 { margin: 0 0 6px; font-size: 17px; }
.vh-home-more a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 8px; margin: 0 -8px; border-top: 1px solid #eef1f4; min-height: 44px; color: var(--vh-ink); text-decoration: none; }
/* Hover wie bei den Kacheln: ganze Zeile hinterlegt + Rahmen statt Unterstreichung (Seiten-CSS unterstreicht Links) */
.vh .vh-home-more a:hover, .vh .vh-home-more a:focus-visible { text-decoration: none; color: var(--vh-ink); background: var(--vh-soft); box-shadow: inset 0 0 0 1px var(--vh-ink); }
.vh-home-more a > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.vh-home-more a > .vh-level { flex: none; }
.vh-home-mapbox { margin: 12px 8px; padding: 0; }
.vh-home-maphead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 10px; }
.vh-home-maphead h2 { margin: 0; font-size: 20px; }
.vh-home-areas { display: flex; gap: 6px; }
.vh-home-areas button { min-height: 36px; padding: 0 12px; border: 1px solid #c3ccd3; background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.vh-home-areas button[aria-pressed="true"] { background: var(--vh-ink); color: #fff; border-color: var(--vh-ink); }
.vh-home-mapgrid { display: flex; flex-wrap: wrap; border-top: 1px solid #e3e8ec; }
.vh-home-map { flex: 999 1 560px; min-width: 0; position: relative; }
#vhMap { height: 620px; background: #e6ebe0; }
.vh-home-legend { position: absolute; left: 10px; bottom: 26px; background: rgba(255,255,255,.94); padding: 6px 8px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.vh-home-attr { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: #4b5b66; background: rgba(255,255,255,.8); padding: 1px 4px; }
.vh-home-mk.fc-knpill { border-radius: 50% !important; display: flex !important; }
.vh-home-plc { font-size: 12px; font-weight: 600; color: #4b5b66; text-shadow: 0 0 3px #fff, 0 0 3px #fff; pointer-events: none; white-space: nowrap; }
.vh-home-mk { min-width: 34px; height: 34px; border-radius: 50%; border: 3px solid #2e6b4f; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 3px rgba(16,32,43,.35); display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.vh-home-mk.on { box-shadow: 0 0 0 4px var(--vh-ink); z-index: 3; }
.vh-home-mkprev { border-style: dashed; }
.vh-home-sel { flex: 1 1 280px; border-left: 1px solid #e3e8ec; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.vh-home-selname { font-size: 22px; }
.vh-home-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; font-size: 11px; text-align: center; }
.vh-home-week > span { display: flex; flex-direction: column; gap: 2px; }
.vh-home-week .fc-badge { font-size: 11px; padding: 2px 0; }
.vh-home-selgo { display: flex; align-items: center; justify-content: center; min-height: 44px; background: var(--vh-ink); color: #fff; font-weight: 700; text-decoration: none; }
.vh .vh-home-selgo:hover { color: #fff; text-decoration: none; }
.vh-home-list { margin: 12px 8px; }
.vh-home-list h2 { margin: 0 0 8px; font-size: 18px; }
.vh-home-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 24px; }
.vh-home-cols h3 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #4b5b66; }
.vh-home-cols ul { margin: 0; padding: 0; list-style: none; }
.vh-home-cols li a { display: block; padding: 5px 0; font-weight: 600; }
@media (max-width: 760px) {
  .vh-home-top { grid-template-columns: 1fr; }
  .vh-home-name b { font-size: 24px; }
  .vh-home-days { width: 100%; } .vh-home-days a { flex: 1; justify-content: center; padding: 0 6px; }
  #vhMap { height: 460px; }
  .vh-home-sel { border-left: 0; border-top: 1px solid #e3e8ec; }
}

/* Spot-Seite: Messzeile mit Webcam-Textlinks (vh_meas_line) */
.vh-meas-line { display: block; margin-top: 2px; font-size: 13px; }
.vh-meas-line b { color: var(--vh-ink); }
.vh-meas-part { display: block; }
.vh-meas-now { display: flex; align-items: center; gap: 8px; }
.vh-spotbtn-lake, .vh-mos-own { display: none; }
@media (max-width: 700px) {
  .vh-meas-line { margin-top: 0; }
  .vh-mos { position: static; }
  .vh-mos-id { display: none; }
  .vh-mos-own { display: inline-flex; align-items: center; gap: 4px; }
  .vh-mos-tip { left: 8px; }
  .vh-head { position: relative; }
  .vh-meas-cam { display: inline-block; margin: 6px 12px 0 0; }
  .vh-meas-cam ~ .vh-meas-cam .vh-meas-cam-w { display: none; }
}

/* Detailseite: Temperaturprofil (Höhe senkrecht) braucht mehr Höhe als die Zeitreihen */
.vh-prof-box { position: relative; height: 460px; }
.vh-prof-key { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 8px 0 4px; font-size: 13px; color: var(--vh-mut); }
.vh-prof-key > span { display: flex; align-items: center; gap: 8px; }
.vh-prof-key svg { flex: none; }
@media (max-width: 760px) { .vh-prof-box { height: 380px; } }

/* Seeseite (home.php vh_see_*, Entwurf „Gardasee – Übersicht aller Spots“) */
.vh-see { margin: 12px 8px; }
.vh-see-sys { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 6px; }
.vh-see-syscard { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--vh-line); border-left: 4px solid #95a5a6; background: var(--vh-soft); }
.vh-see-syscard.wenig { border-left-color: var(--fc-blue); } .vh-see-syscard.surfbar { border-left-color: var(--fc-accent); } .vh-see-syscard.big { border-left-color: var(--fc-red); }
.vh-see-sysh { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; }
.vh-see-sysh .fc-badge { margin: 0; white-space: nowrap; }
.vh-see-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vh-see-grid { display: grid; grid-template-columns: minmax(110px, 150px) repeat(var(--n), minmax(var(--cw), 1fr)); min-width: max-content; }
.vh-see-wk { --cw: 92px; } .vh-see-hr { --cw: 38px; }
.vh-see-c { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 4px; border-top: 1px solid #eef1f4; min-height: 44px; }
.vh-see-th { border-top: 0; min-height: 0; font-size: 13px; }
.vh .vh-see-name { position: sticky; left: 0; z-index: 1; background: #fff; padding-left: 0; font-weight: 700; color: var(--vh-ink); text-decoration: none; }
.vh-see-name.vh-see-th { font-weight: 400; color: var(--vh-mut); }
.vh .vh-see-name { font-size: 15px; line-height: 1.25; }
.vh-see-name .vh-preview-tag { align-self: flex-start; font-size: 11px; font-weight: 600; }
.vh .vh-see-day { align-items: flex-start; color: var(--vh-ink); text-decoration: none; }
.vh .vh-see-day:hover, .vh .vh-see-day:focus-visible, .vh a.vh-see-name:hover { background: var(--vh-soft); text-decoration: none; color: var(--vh-ink); }
.vh-see-day .fc-badge { margin: 0; font-size: 12px; white-space: nowrap; }
.vh-see-day .vh-small { font-size: 12px; line-height: 1.25; }
.vh-see-hc { align-items: center; padding: 3px 1px; gap: 1px; }
.vh-see-hc .fc-knpill { display: block; width: 100%; text-align: center; padding: 3px 0; font-size: 13px; }
.vh-see-th.vh-see-hc { color: var(--vh-mut); }
.vh-see-arr { color: var(--vh-mut); }
.vh-see-winds { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vh-see-wind { padding: 14px; border: 1px solid var(--vh-line); }
.vh-see-windh { display: flex; align-items: center; gap: 10px; }
.vh-see-windh h3 { margin: 0; font-size: 18px; }
.vh-see-dot { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--vh-ink); }
.vh-see-dot .vh-see-arr { color: #fff; }
.vh-see-wind dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 10px 0 8px; font-size: 14px; }
.vh-see-wind dt { color: var(--vh-mut); } .vh-see-wind dd { margin: 0; }
.vh-see-wind p { margin: 0; font-size: 14px; line-height: 1.5; }
.vh-see-faq details { border-top: 1px solid #eef1f4; }
.vh-see-faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.vh-see-faq details p { margin: 0 0 12px; line-height: 1.5; }
@media (max-width: 700px) {
  .vh-see { margin: 10px 6px 0; }
  .vh-see-grid { grid-template-columns: 96px repeat(var(--n), minmax(var(--cw), 1fr)); }
  .vh-see-wk { --cw: 84px; } .vh-see-hr { --cw: 34px; }
}
