/* App-Modus NHWApp 0.3 – wird nur von der Android-App geladen */
html.nhwapp{font-size:14px}
html.nhwapp body{padding-bottom:calc(30px + var(--nhw-nav,56px) + env(safe-area-inset-bottom,0px) + 16px)!important} /* 21.10.2026: Platz fuer fixierten Impressum-Balken (nhw-recht) + untere Navigation */
html.nhwapp body>header,html.nhwapp #sitenav,html.nhwapp header.sitenav,html.nhwapp .nav,
html.nhwapp .fbk-w,html.nhwapp footer,html.nhwapp #impressum,html.nhwapp body>div.wrap,
html.nhwapp .fuss-heim,html.nhwapp .oben>a:first-child,html.nhwapp .spende-s,html.nhwapp .nhw-app-hinweis,html.nhwapp #nhw-app-hinweis,
html.nhwapp a[href^="/wetterdaten"],html.nhwapp a[href*="nordhessenwetter.de/wetterdaten"],
html.nhwapp section.hero,html.nhwapp #member-bar,html.nhwapp .member-bar,
html.nhwapp #hg-dyn{display:none!important}
html.nhwapp h1{font-size:1.25rem!important;margin:.3em 0!important}
html.nhwapp h2{font-size:1.1rem!important;margin:.4em 0!important}
html.nhwapp h3{font-size:1rem!important}
html.nhwapp main,html.nhwapp .wrap,html.nhwapp .app,html.nhwapp .oben{padding-left:8px!important;padding-right:8px!important}
html.nhwapp button,html.nhwapp .knoepfe a,html.nhwapp .knoepfe button,html.nhwapp .regionen button,html.nhwapp .regionen a{font-size:.8rem!important;padding:4px 9px!important;min-height:0!important}
/* Modelle kompakt */
html.nhwapp .mw-kopf{padding:7px 10px!important;min-height:0!important}
html.nhwapp .mw-kopf img,html.nhwapp .mw-kopf .flagge,html.nhwapp .mw-kopf small.mw-info{display:none!important}
html.nhwapp .mw-name{font-size:.95rem!important}
html.nhwapp details{margin:4px 0!important}
/* Warnungen kompakt */
html.nhwapp #statistik{display:none!important}
html.nhwapp .hinweis{font-size:.75rem!important}
/* kurze Quellzeile unter Karten bleibt */
html.nhwapp .dwd-q,html.nhwapp .mw-info,html.nhwapp .leg{font-size:.68rem!important;opacity:.8}
html.nhwapp:not(.eigen) body{zoom:.88}
html.nhwapp a.heim,html.nhwapp .lupe{display:none!important}
html.nhwapp .oben{display:flex!important;flex-direction:column}
/* 06.11.2026 t5887u: Karte oben (wie Radar), Filter/Statistik/Text darunter – war order:-1 */
html.nhwapp .oben .kspalte{order:1!important}
html.nhwapp .oben .textspalte{order:2!important}
html.nhwapp .oben #kopfMobil{order:0!important}

/* 09.11.2026 modellkarte-abschnitt */
/* Modellkarten in der App: Bild nie breiter als Viewport (zoom:.88 + width:auto war die Ursache) */
html.nhwapp .app,html.nhwapp .haupt,html.nhwapp .kspalte,html.nhwapp .karte,html.nhwapp .seite{max-width:100%!important;min-width:0!important;box-sizing:border-box}
html.nhwapp .karte{width:100%!important;overflow:hidden!important}
html.nhwapp .karte img,html.nhwapp .karte #bild{width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;min-height:0!important;object-fit:contain!important}
html.nhwapp .zb .zbflaeche{overflow:hidden!important}
html.nhwapp .zb .zbflaeche img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
html.nhwapp .nhw-share-paar{max-width:100%!important;box-sizing:border-box;flex-wrap:wrap!important;margin-left:auto;margin-right:auto}
html.nhwapp,html.nhwapp body{overflow-x:hidden!important}

/* 09.11.2026 modellkarte-zoom: Karten-Seiten haben eigenes Handy-Layout – App-zoom .88 sonst Vollbild/Breite schief */
html.nhwapp:has(#karte) body,html.nhwapp:has(.karte #bild) body{zoom:1!important}
html.nhwapp:has(#karte) .zb .zbflaeche img,html.nhwapp:has(.karte #bild) .zb .zbflaeche img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;transform-origin:center center}

/* 12.11.2026 karten-knopf-lage: Teilen/Spenden unter der Karte, nicht im Rahmen rechts daneben */
html.nhwapp .haupt,html.nhwapp .kspalte{flex-direction:column!important}
html.nhwapp .kspalte,html.nhwapp .karte{width:100%!important;max-width:100%!important}
html.nhwapp .seite{flex:0 0 auto!important;width:100%!important;max-width:100%!important;height:auto!important}
html.nhwapp .karte{flex-wrap:wrap!important}
html.nhwapp .karte > .nhw-share-paar,html.nhwapp .kspalte > .nhw-share-paar,html.nhwapp .zb .nhw-share-paar,html.nhwapp .zbfuss > .nhw-share-paar,html.nhwapp .nhw-share-paar{flex:0 0 auto!important;width:100%!important;max-width:100%!important;align-self:stretch!important;justify-content:center!important;box-sizing:border-box}
/* 13.11.2026: .ec-kasten nicht mehr verstecken – darin stehen ECMWF IFS/AIFS.
   In der App nur den langen ECMWF-Hinweis ausblenden, Modelle bleiben sichtbar. */
html.nhwapp .ec-kasten{display:block!important;border:none!important;background:transparent!important;padding:0!important;margin:10px 0!important}
html.nhwapp #ecmwf-hinweis,html.nhwapp .ec-dienst{display:none!important}html.nhwapp .ec-pflicht{display:block!important;margin:8px 0 12px!important;padding:.55rem .7rem!important;font-size:.78rem!important;line-height:1.45!important;color:#cfd8e6}

/* 17.11.2026 Hitliste/Gemeindekarte in der App: kein zoom .88 (sonst 100dvh/Hoehe 0, nur Haftungszeile sichtbar). */
html.nhwapp.gdseite body,html.nhwapp:has(#vp) body{zoom:1!important;padding-bottom:0!important;height:100%!important;min-height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
html.nhwapp.gdseite .app,html.nhwapp:has(#vp) .app{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding-bottom:8px!important}
/* 24.11.2026: Karte behält Mindesthöhe; Bedienleiste und Haftungszeile dürfen sie nicht verdrängen. */
html.nhwapp.gdseite .haupt,html.nhwapp:has(#vp) .haupt{flex-direction:column!important;min-height:0!important;flex:1 1 auto!important}
html.nhwapp.gdseite .kart,html.nhwapp.gdseite #vp,html.nhwapp:has(#vp) .kart,html.nhwapp:has(#vp) #vp{flex:1 1 auto!important;min-height:42vh!important}
html.nhwapp.gdseite .seite,html.nhwapp:has(#vp) .seite{flex:0 1 auto!important;min-height:0!important;max-height:34vh!important;overflow-y:auto!important;width:100%!important;height:auto!important}
html.nhwapp.gdseite #nhw-recht,html.nhwapp:has(#vp) #nhw-recht{flex:0 0 auto!important}
