/* Kopfkarte (20.11.2026, Ronald): gemeinsame Gestaltung der Übersichtskarte für die Wetterseite und index2.html. Die Regeln stammen unverändert
   und in derselben Reihenfolge aus index.html (Overview V2) und v4.css (V4–V4.3, Tagesbogen, Messstand) der Wetterseite; sie wurden dort entfernt.
   Laden nach v4.css und vor tagesbogen.css. Der erste Block legt Schrift und Größen der Wetterseite fest, damit die Karte auf index2.html gleich
   aussieht (auf der Wetterseite dieselben Werte wie :root); die Absatzregel entspricht p{} der Wetterseite, mit :where() ohne Vorrang. */
.ov2-now{--radius:20px;--fs-11:14px;--fs-12:14px;--fs-14:16px;--fs-15:17px;--fs-20:21px;--fs-30:31px;font-family:Segoe UI,system-ui,sans-serif;font-size:17px;line-height:normal}
:where(.ov2-now) p{margin:0;line-height:1.65}
/* Overview V2 (31.10.2026) */
.ov2-now{background:linear-gradient(135deg,#244d6c,#2f6b90);color:#fff;border-radius:var(--radius);padding:24px 28px;position:relative;overflow:hidden}
.ov2-now:after{content:"";position:absolute;width:340px;height:340px;border:1px solid #ffffff12;border-radius:50%;right:-120px;top:-110px;pointer-events:none}
.ov2-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:var(--fs-11);letter-spacing:1.2px;opacity:.85}
.ov2-top .stale{color:#ffd59a;opacity:1}
.ov2-main{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0 6px}
.ov2-temp{font-size:86px;font-weight:300;letter-spacing:-4px;line-height:1}
.ov2-temp small{font-size:var(--fs-30);letter-spacing:0;vertical-align:top;margin-left:6px}
.ov2-sub{font-size:var(--fs-12);opacity:.8;margin-top:6px}
.ov2-sky{text-align:center;max-width:180px}
.ov2-sky strong{display:block;font-size:var(--fs-15);font-weight:550}
.ov2-sky span{font-size:var(--fs-11);opacity:.75}
.ov2-icon svg{width:96px;height:96px;display:block;margin:0 auto}
.ov2-range{font-size:var(--fs-14);opacity:.9}
.ov2-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff2b}
.ov2-facts div{font-size:var(--fs-11);letter-spacing:.3px;opacity:.85}
.ov2-facts strong{display:block;font-size:var(--fs-20);font-weight:450;margin-top:4px;opacity:1}
@media(max-width:550px){
 .ov2-now{padding:20px}
 .ov2-temp{font-size:66px}
 .ov2-icon svg{width:72px;height:72px}
 .ov2-facts{grid-template-columns:repeat(2,1fr)}
}
.ov2-now{display:flex;flex-direction:column}
.ov2-now .ov2-facts{margin-top:auto}
.ov2-now .ov2-range{margin-bottom:18px}
/* V4 (07.11.2026): weather scenes and sky colours by state; V4.3 (09.11.2026) movement, tendency; Tagesbogen and Messstand (17.11.2026) */
.ov2-now{isolation:isolate;display:flex;flex-direction:column;color:var(--fg);background:var(--sky);padding:18px 24px 16px}
.ov2-now:after{display:none}
.ov2-now .scene{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.st-sun{--sky:linear-gradient(205deg,#ffcf6b 0%,#ffe3a0 22%,#cdeaf6 58%,#8fcdf0 100%);--fg:#10293c;--fg2:#1f3f55;--strip:rgba(255,255,255,.62);--glow:rgba(255,232,150,.95)}
.st-partly{--sky:linear-gradient(195deg,#ffe2a0 0%,#d9eef8 42%,#a4d2ee 100%);--fg:#10293c;--fg2:#1f3f55;--strip:rgba(255,255,255,.62);--glow:rgba(255,240,190,.8)}
.st-cloud{--sky:linear-gradient(170deg,#a9bfd1 0%,#92abc0 55%,#7c97ae 100%);--fg:#0f2638;--fg2:#0f2638;--strip:rgba(255,255,255,.58);--glow:rgba(255,255,255,.5)}
.st-rain{--sky:linear-gradient(170deg,#0f2f52 0%,#174a78 55%,#1f6199 100%);--fg:#fff;--fg2:#e0edf8;--strip:rgba(6,24,46,.5);--glow:rgba(120,190,245,.22)}
.st-snow{--sky:linear-gradient(175deg,#b5d5ef 0%,#cfe4f5 55%,#e6f2fb 100%);--fg:#0f2a42;--fg2:#1f4560;--strip:rgba(255,255,255,.66);--glow:rgba(255,255,255,.75)}
.st-fog{--sky:linear-gradient(180deg,#c6d0d7 0%,#d7dee2 50%,#e7ebed 100%);--fg:#13293a;--fg2:#26404f;--strip:rgba(255,255,255,.6);--glow:rgba(255,255,255,.6)}
.st-storm{--sky:linear-gradient(165deg,#15112f 0%,#262055 55%,#3a2e7c 100%);--fg:#fff;--fg2:#e6e1f6;--strip:rgba(10,7,32,.55);--glow:rgba(150,125,240,.24)}
.st-night{--sky:linear-gradient(170deg,#081229 0%,#10224a 60%,#1b3768 100%);--fg:#fff;--fg2:#dbe4f3;--strip:rgba(5,12,32,.5);--glow:rgba(190,195,255,.38)}
.st-low{--sky:linear-gradient(180deg,#f9cd9c 0%,#f6e0c6 38%,#b9d3e3 100%);--fg:#10293c;--fg2:#1f3f55;--strip:rgba(255,255,255,.62);--glow:rgba(255,226,180,.7)}
.st-rain,.st-storm,.st-night{text-shadow:0 1px 3px rgba(5,10,30,.6)}
.ov2-top{color:var(--fg2);opacity:1;font-weight:600;letter-spacing:.4px}
.ov2-top .stale{color:inherit;background:var(--strip);border-radius:8px;padding:0 7px}
.ov2-main{margin:6px 0 2px;flex:1}
.ov2-sub,.ov2-range{color:var(--fg2);opacity:1}
.ov2-sky{display:flex;align-items:center;gap:8px;max-width:none;text-align:right;min-width:0}
.ov2-sky>div:last-child{max-width:210px}
.ov2-sky strong{font-size:19px;font-weight:600}
.ov2-sky span{display:block;color:var(--fg2);opacity:1;font-size:12.5px}
#ov2-icon{position:relative;flex:none;width:96px;height:96px}
#ov2-icon::before{content:"";position:absolute;inset:-34px;border-radius:50%;background:radial-gradient(closest-side,var(--glow),transparent);z-index:-1}
#ov2-icon svg{width:100%;height:100%;display:block}
.ov2-facts{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;background:var(--strip);border:0;border-radius:13px;margin-top:10px;padding:8px 12px;color:var(--fg2)}
@container (max-width:620px){
 .ov2-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.ov2-facts div{opacity:1;min-width:0;color:var(--fg2)}
.ov2-facts strong{color:var(--fg);font-size:16px;font-weight:500;margin-top:0;white-space:nowrap}
@media(max-width:550px){
 .ov2-now{padding:13px 12px 11px}
 .ov2-temp{font-size:64px;letter-spacing:-3px}
 .ov2-main{gap:8px}
 .ov2-main>div:first-child{min-width:0;flex:1 1 0}
 .ov2-sky{flex:0 0 118px;flex-direction:column;gap:0;text-align:center}
 .ov2-sky>div:last-child{max-width:none}
 #ov2-icon{width:68px;height:68px}
 .ov2-sky strong{font-size:15px;line-height:1.15}
 .ov2-sky span{display:none}
 .ov2-facts{grid-template-columns:repeat(3,minmax(0,1fr));padding:7px 9px}
}
.v43-fx{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;border-radius:inherit}
.v43-fx i{position:absolute;display:block;will-change:transform;backface-visibility:hidden}
.fx-snow i{--s:240px;left:0;right:0;top:calc(-1*var(--s));bottom:0;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><g fill='white' stroke='rgb(96,130,160)' stroke-opacity='.35' stroke-width='.7'><circle cx='13' cy='166' r='2.0'/><circle cx='111' cy='160' r='2.8'/><circle cx='109' cy='120' r='1.8'/><circle cx='104' cy='90' r='2.8'/><circle cx='131' cy='179' r='2.3'/><circle cx='45' cy='201' r='2.8'/><circle cx='91' cy='26' r='2.4'/><circle cx='119' cy='183' r='2.5'/><circle cx='122' cy='137' r='2.3'/><circle cx='15' cy='18' r='2.9'/><circle cx='199' cy='73' r='2.9'/><circle cx='125' cy='28' r='2.8'/></g></svg>");background-size:var(--s) var(--s);animation:v43-fall 34s linear infinite}
.fx-snow i+i{--s:160px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g fill='white' fill-opacity='.9'><circle cx='93' cy='146' r='1.5'/><circle cx='18' cy='99' r='1.6'/><circle cx='141' cy='54' r='1.4'/><circle cx='111' cy='29' r='1.6'/><circle cx='123' cy='12' r='1.4'/><circle cx='60' cy='32' r='1.4'/><circle cx='151' cy='88' r='1.1'/><circle cx='79' cy='122' r='1.7'/><circle cx='113' cy='10' r='1.7'/><circle cx='95' cy='17' r='1.1'/></g></svg>");background-size:var(--s) var(--s);animation-duration:30s;opacity:.85}
.fx-rain i{--s:160px;left:0;right:0;top:calc(-1*var(--s));bottom:0;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g stroke='rgb(220,236,250)' stroke-opacity='.55' stroke-width='1.3' stroke-linecap='round'><line x1='16' y1='90' x2='16' y2='105'/><line x1='127' y1='15' x2='127' y2='32'/><line x1='71' y1='5' x2='71' y2='19'/><line x1='142' y1='133' x2='142' y2='148'/><line x1='116' y1='135' x2='116' y2='154'/><line x1='139' y1='46' x2='139' y2='64'/><line x1='80' y1='127' x2='80' y2='146'/><line x1='133' y1='117' x2='133' y2='133'/><line x1='113' y1='13' x2='113' y2='28'/></g></svg>");background-size:var(--s) var(--s);animation:v43-fall 1.1s linear infinite}
.fx-rain i+i{--s:120px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><g stroke='rgb(200,224,246)' stroke-opacity='.35' stroke-width='1' stroke-linecap='round'><line x1='110' y1='39' x2='110' y2='51'/><line x1='69' y1='25' x2='69' y2='37'/><line x1='107' y1='31' x2='107' y2='42'/><line x1='24' y1='17' x2='24' y2='30'/><line x1='84' y1='93' x2='84' y2='105'/><line x1='112' y1='21' x2='112' y2='31'/><line x1='28' y1='37' x2='28' y2='51'/><line x1='29' y1='44' x2='29' y2='53'/></g></svg>");background-size:var(--s) var(--s);animation-duration:1.5s}
/* Schneeregen (WET-008, 20.11.2026): Regenstriche und kleine Flocken zusammen; Stärke 1–3 der Niederschlagserkennung über data-level. */
.fx-sleet i{--s:160px;left:0;right:0;top:calc(-1*var(--s));bottom:0;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g stroke='rgb(220,236,250)' stroke-opacity='.55' stroke-width='1.3' stroke-linecap='round'><line x1='16' y1='90' x2='16' y2='105'/><line x1='127' y1='15' x2='127' y2='32'/><line x1='71' y1='5' x2='71' y2='19'/><line x1='142' y1='133' x2='142' y2='148'/><line x1='116' y1='135' x2='116' y2='154'/><line x1='139' y1='46' x2='139' y2='64'/><line x1='80' y1='127' x2='80' y2='146'/><line x1='133' y1='117' x2='133' y2='133'/><line x1='113' y1='13' x2='113' y2='28'/></g></svg>");background-size:var(--s) var(--s);animation:v43-fall 1.5s linear infinite}
.fx-sleet i+i{--s:160px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g fill='white' fill-opacity='.9'><circle cx='93' cy='146' r='1.5'/><circle cx='18' cy='99' r='1.6'/><circle cx='141' cy='54' r='1.4'/><circle cx='111' cy='29' r='1.6'/><circle cx='123' cy='12' r='1.4'/><circle cx='60' cy='32' r='1.4'/><circle cx='151' cy='88' r='1.1'/><circle cx='79' cy='122' r='1.7'/><circle cx='113' cy='10' r='1.7'/><circle cx='95' cy='17' r='1.1'/></g></svg>");background-size:var(--s) var(--s);animation-duration:7s;opacity:.95}
.v43-fx[data-level="1"]{opacity:.62}
.fx-rain[data-level="3"] i,.fx-sleet[data-level="3"] i{--s:110px;animation-duration:.75s}.fx-rain[data-level="3"] i+i{--s:90px;animation-duration:1s}
.fx-snow[data-level="3"] i{--s:170px;animation-duration:20s}.fx-snow[data-level="3"] i+i{--s:110px;animation-duration:14s}
.fx-fog i{left:-35%;width:170%;top:48%;height:46%;background:radial-gradient(ellipse at center,rgba(255,255,255,.62),rgba(255,255,255,0) 68%);animation:v43-drift 46s ease-in-out infinite alternate}
.fx-fog i+i{top:14%;height:40%;opacity:.7;animation-duration:64s;animation-direction:alternate-reverse}
.fx-sun i,.fx-partly i:first-child{top:-18%;right:-8%;width:62%;height:100%;background:radial-gradient(circle at 60% 40%,rgba(255,244,200,.7),rgba(255,244,200,0) 62%);animation:v43-glow 11s ease-in-out infinite alternate}
.fx-cloud i,.fx-partly i+i{--w:640px;left:0;right:calc(-1*var(--w));top:2%;height:200px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='640' height='200'><defs><filter id='b' x='-20%' y='-40%' width='140%' height='180%'><feGaussianBlur stdDeviation='7'/></filter></defs><g fill='white' fill-opacity='.55' filter='url(%23b)'><ellipse cx='110' cy='70' rx='90' ry='26'/><ellipse cx='160' cy='56' rx='48' ry='26'/><ellipse cx='420' cy='120' rx='120' ry='30'/><ellipse cx='470' cy='100' rx='60' ry='30'/></g></svg>") repeat-x;background-size:var(--w) 200px;animation:v43-pass 150s linear infinite}
.fx-cloud i+i{--w:460px;top:44%;height:160px;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='460' height='160'><defs><filter id='b' x='-20%' y='-40%' width='140%' height='180%'><feGaussianBlur stdDeviation='6'/></filter></defs><g fill='white' fill-opacity='.45' filter='url(%23b)'><ellipse cx='120' cy='80' rx='80' ry='20'/><ellipse cx='330' cy='60' rx='70' ry='18'/></g></svg>") repeat-x;background-size:var(--w) 160px;animation-duration:210s;opacity:.8}
@media (prefers-reduced-motion:reduce){
 .v43-fx{display:none}
}
.v43-trend{display:inline-block;font-weight:600;white-space:nowrap;margin-left:8px}
.v43-trend:empty{display:none}
.ov2-range small{font-size:.78em;opacity:.8;margin-left:1px}
@media(max-width:420px){
 .v43-trend{display:block;margin:2px 0 0}
}
#ov2-now{transition:color .4s}
#ov2-now .scene{transition:opacity .5s,filter .5s}
#ov2-now .ov2-sky,#ov2-now .ov2-facts,#ov2-now .ov2-top .stale,#ov2-now .ov2-ms{transition:opacity .4s}
#ov2-now.tb-exploring .scene{opacity:.1}
#ov2-now.tb-exploring .ov2-sky{opacity:.22}
/* WET-008 (20.11.2026): Beim Abspielen wechselt die Himmelsbeschreibung (z. B. „Nacht“ – „Regen …“) ihre Breite; die Temperaturzeile links brach
   dadurch abwechselnd um und die Karte samt „Anhalten“ sprang um eine Zeile. Beim Erkunden hat die Spalte daher feste Breite. */
@media(min-width:551px){#ov2-now.tb-exploring .ov2-sky>div:last-child{width:210px}}
#ov2-now.tb-exploring .ov2-ms{opacity:.4}
#ov2-now .ov2-facts-fc{outline:1px dashed color-mix(in srgb,var(--fg) 45%,transparent);outline-offset:-1px}
#ov2-now .ov2-facts-fc strong{font-style:italic}
#ov2-now .ov2-facts{border-top-color:color-mix(in srgb,var(--fg) 22%,transparent)}
#ov2-now .ov2-main+.tb{margin-top:18px}
.ov2-ms{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:8px 0 0;font-size:14px;color:var(--fg)}
.ov2-ms:empty{display:none}
.ov2-ms-b{display:inline-flex;align-items:center;gap:7px;background:var(--strip);border-radius:9px;padding:3px 11px;font-weight:650}
.ov2-ms-b i{font-style:normal;font-weight:800}
.ov2-ms.ok .ov2-ms-b i{color:#1d7a37}
.tb-darksky .ov2-ms.ok .ov2-ms-b i{color:#7be08f}
.ov2-ms.stale .ov2-ms-b{background:#fbe0ad;color:#5b2a06;text-shadow:none}
.ov2-ms-w{font-weight:600;font-size:13px}
@media (prefers-reduced-motion:reduce){
 #ov2-now,#ov2-now *{transition:none!important}
}
@keyframes v43-fall{to{transform:translate3d(0,var(--s),0)}}
@keyframes v43-drift{from{transform:translate3d(-6%,0,0)}to{transform:translate3d(6%,0,0)}}
@keyframes v43-glow{from{opacity:.55;transform:translate3d(0,0,0) scale(1)}to{opacity:1;transform:translate3d(-14px,8px,0) scale(1.07)}}
@keyframes v43-pass{to{transform:translate3d(calc(-1*var(--w)),0,0)}}
