:root {
  --blue:#0b3768;
  --blue2:#124d86;
  --bg:#eef3f7;
  --card:#fff;
  --border:#dfe7ef;
  --text:#1f2937;
  --muted:#64748b;
  --shadow:0 4px 18px rgba(15,23,42,.09);
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;width:100%;max-width:100%;overflow-x:hidden}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  padding:0 12px;
}
.page{
  width:100%;
  max-width:1500px;
  margin:12px auto 28px;
}


/* Mobile width safeguards */
.site-banner,
.hero,
#wb_ResponsiveMenu1,
.quicklinks,
.content-grid,
.footer,
.master-card,
.station-module{
  width:100%;
  max-width:100%;
  min-width:0;
}
.content-grid > *,
.station-module *{
  min-width:0;
}

/* Banner aus der bestehenden Indexseite */
.site-banner{
  min-height:108px;
  border-radius:var(--radius) var(--radius) 0 0;
  overflow:hidden;
  position:relative;
  background:linear-gradient(135deg,#0b3768,#14558f);
  color:#fff;
  display:flex;
  align-items:center;
  padding:18px 28px;
}
.site-banner::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(11,55,104,.18),rgba(18,77,134,.04));
}
.brand{position:relative;z-index:1}
.brand h1{font-size:27px;line-height:1.1;margin:0 0 6px;font-weight:700}
.brand p{font-size:18px;margin:0}


.quicklinks a:hover{background:#124d86}
@media(max-width:700px){
  }

/* vorhandene Wolkenbilder, aber responsiv */
.hero{
  height:390px;position:relative;overflow:hidden;background:#cdd8e2;
}
.hero-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .7s ease}
.hero-slide.active{opacity:1}
.hero-slide img{width:100%;height:100%;object-fit:cover;display:block}
.hero-slide figcaption{
  position:absolute;right:18px;bottom:13px;
  background:rgba(15,23,42,.58);color:#fff;padding:5px 9px;
  border-radius:6px;font-size:12px;font-style:italic
}

/* Bestehendes ResponsiveMenu, optisch an V20 angeglichen */
#wb_ResponsiveMenu1{display:block;background:#0b3768;width:100%;margin:0;position:relative;z-index:100}
#ResponsiveMenu1{display:flex;justify-content:center;background:#0b3768;min-height:54px}
#wb_ResponsiveMenu1 ul{list-style:none;margin:0;padding:0;position:relative}
#wb_ResponsiveMenu1 > ul{display:flex;justify-content:center;flex-wrap:wrap}
#wb_ResponsiveMenu1 ul:after{content:"";display:block;clear:both}
#wb_ResponsiveMenu1 li{position:relative}
#wb_ResponsiveMenu1 li>a,
#wb_ResponsiveMenu1 .toggle{
  display:block;background:#0b3768;color:#fff;font-family:Arial,sans-serif;
  font-size:12.5px;font-weight:normal;text-decoration:none;
  padding:18px 22px;line-height:18px;white-space:nowrap;cursor:pointer
}
#wb_ResponsiveMenu1 li:hover>a,#wb_ResponsiveMenu1 .toggle:hover{background:#174f86}
#wb_ResponsiveMenu1 ul ul{
  display:none;position:absolute;top:54px;left:0;min-width:285px;
  background:#174f86;box-shadow:0 8px 24px rgba(0,0,0,.20)
}
#wb_ResponsiveMenu1 ul li:hover>ul{display:block}
#wb_ResponsiveMenu1 ul ul li{width:100%}
#wb_ResponsiveMenu1 ul ul a,#wb_ResponsiveMenu1 ul ul .toggle{
  background:#174f86;padding:11px 15px;text-align:left;white-space:normal
}
#wb_ResponsiveMenu1 ul ul li:hover>a{background:#23639f}
#wb_ResponsiveMenu1 ul ul ul{top:0;left:100%}
#wb_ResponsiveMenu1 .toggle,[id^=ResponsiveMenu1-submenu]{display:none}
#wb_ResponsiveMenu1 [id^=ResponsiveMenu1-submenu]:checked + ul{display:block!important}
.arrow-down{display:inline-block;margin-left:5px;border:4px solid transparent;border-top-color:#fff;transform:translateY(3px)}
.arrow-left{display:inline-block;margin-left:5px;border:4px solid transparent;border-right-color:#fff}

.content-grid{
  display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px;
  align-items:start;margin-top:14px
}
.side-stack{display:grid;gap:10px}
.side-section-label{
  padding:3px 3px 0;
  color:#64748b;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.07em
}
.nav-tile{
  display:block;
  padding:10px 11px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:11px;
  box-shadow:0 2px 9px rgba(15,23,42,.07);
  color:var(--text);
  text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease
}
.nav-tile:hover{
  transform:translateY(-1px);
  border-color:#b9cce0;
  box-shadow:0 5px 15px rgba(15,23,42,.11)
}
.nav-row{display:flex;align-items:center;gap:9px}
.nav-icon{
  flex:0 0 31px;width:31px;height:31px;
  display:flex;align-items:center;justify-content:center;
  border-radius:8px;
  background:#edf4fa;
  color:#0b3768;
  font-weight:700;
  font-size:17px
}
.nav-tile strong{
  display:block;
  color:#24384f;
  font-size:12px;
  line-height:1.2
}
.nav-tile small{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:9.5px;
  line-height:1.3
}
.month-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:11px;
  box-shadow:0 3px 12px rgba(15,23,42,.08);
  overflow:hidden
}
.month-card img{
  display:block;
  width:100%;
  aspect-ratio:3/2;
  object-fit:cover
}
.month-body{padding:9px 10px 10px}
.month-body strong{display:block;font-size:12px;color:#24384f;margin-bottom:4px}
.month-body p{margin:0 0 7px;color:#64748b;font-size:9.5px;line-height:1.35}
.month-body a{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  color:#0b568f;
  text-decoration:none
}
.side-card{
  background:var(--card);border:1px solid var(--border);border-radius:11px;
  box-shadow:0 2px 9px rgba(15,23,42,.07);overflow:hidden
}
.side-head{
  padding:7px 9px;
  border-bottom:1px solid var(--border);
  font-size:10.5px;
  font-weight:700;
  color:#334155
}
.side-card img{display:block;width:100%;height:auto}
.side-card iframe{
  display:block;
  width:100%;
  height:220px;
  border:0;
  background:#eef3f8;
}

.climate-link{
  display:block;
  text-decoration:none;
  color:inherit;
  padding:14px 12px 13px;
  background:linear-gradient(135deg,#f8fbff,#eef5fc);
}
.climate-icon{
  width:46px;height:46px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  font-size:27px;background:#fff;border:1px solid var(--border);
  box-shadow:0 2px 7px rgba(15,23,42,.06);margin-bottom:9px
}
.climate-title{font-size:13px;font-weight:700;color:#123a67;margin-bottom:5px}
.climate-text{font-size:9.8px;line-height:1.4;color:#64748b;margin-bottom:8px}
.climate-cta{font-size:10px;font-weight:700;color:#0b568f}
.climate-link:hover .climate-cta{text-decoration:underline}
.side-note{padding:6px 9px;font-size:9.5px;color:var(--muted)}
.master-card{
  background:#fff;border:1px solid var(--border);border-radius:12px;
  box-shadow:var(--shadow);overflow:hidden
}
.footer{
  margin-top:14px;border-radius:12px;overflow:hidden;
  background:linear-gradient(135deg,#082f5c,#154d83);color:#dbe8f5
}
.footer-grid{
  padding:18px 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px
}
.footer h3{font-size:14px;color:#fff;margin:0 0 9px}
.footer a{display:block;color:#dbe8f5;text-decoration:none;font-size:12px;line-height:1.75}
.footer a:hover{text-decoration:underline}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:10px 22px;font-size:11px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

@media(max-width:1300px){
  #wb_ResponsiveMenu1 .toggle + a{display:none!important}
  #ResponsiveMenu1{display:none}
  #wb_ResponsiveMenu1>.toggle{display:block!important;position:relative;padding:0 55px 0 18px;line-height:52px}
  #ResponsiveMenu1-title{height:52px}
  #ResponsiveMenu1-icon{position:absolute;right:18px;top:16px}
  #ResponsiveMenu1-icon span{display:block;width:24px;height:2px;margin:5px 0;background:#fff}
  #ResponsiveMenu1-submenu:checked + ul{display:block!important}
  #wb_ResponsiveMenu1 > ul{display:none}
  #wb_ResponsiveMenu1 ul li{display:block;width:100%}
  #wb_ResponsiveMenu1 ul li .toggle{display:block}
  #wb_ResponsiveMenu1 ul ul{position:static;box-shadow:none;min-width:0}
  [id^=ResponsiveMenu1-submenu]:checked + ul{display:block!important}
  #wb_ResponsiveMenu1 ul li:hover>ul{display:none}
  #wb_ResponsiveMenu1 ul ul ul{position:static}
  #wb_ResponsiveMenu1 li>a,#wb_ResponsiveMenu1 .toggle{padding:11px 18px}
  #wb_ResponsiveMenu1 ul ul a,#wb_ResponsiveMenu1 ul ul .toggle{padding-left:34px}
  #wb_ResponsiveMenu1 ul ul ul a,#wb_ResponsiveMenu1 ul ul ul .toggle{padding-left:52px}
}
@media(max-width:1050px){
  .content-grid{grid-template-columns:1fr}
  .side-stack{grid-template-columns:repeat(2,minmax(0,1fr));order:2}
  .master-card{order:1}
  }
@media(max-width:700px){
  .page{width:100%;max-width:1500px;margin-top:5px}
  body{padding-left:5px;padding-right:5px}
  .site-banner{min-height:88px;padding:14px 16px;border-radius:10px 10px 0 0}
  .brand h1{font-size:20px}
  .brand p{font-size:13px}
  .hero{height:220px}
  .hero-slide figcaption{font-size:10px;right:8px;bottom:7px}
  .content-grid{gap:8px;margin-top:8px}
  .side-stack{grid-template-columns:1fr;gap:8px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:16px}
  }
@media(max-width:430px){
  .side-stack,.footer-grid{grid-template-columns:1fr}
  .hero{height:185px}
}

/* ===== Styles aus V20 ===== */

.station-module .grid{display:grid;grid-template-columns:1fr;gap:14px;align-items:start}
.station-module .stack{display:grid;gap:14px}
.station-module .card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:visible}
.station-module .card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}
.station-module .card-head h2{margin:0;font-size:16px;color:var(--text)}
.station-module .card-head span{color:var(--muted);font-size:12px}
.station-module .card-body.flush{padding:0}
.station-module .frame{display:block;width:100%;border:0;background:#fff}
.station-module .webcam-wrap{position:relative;padding:0;background:#fff;overflow:hidden}
.station-module .webcam{display:none}
.station-module .webcam-privacy{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  margin:0;
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
#weatherTooltipMount{min-height:58px;overflow:visible}
.station-module .span-2{grid-column:auto}
.station-module .iframe-wx2-wrap{height:395px;overflow:hidden;background:#fff}
.station-module .iframe-wx2{height:395px;width:100%;transform:none;background:#fff}
.station-module .iframe-min{height:58px}
.station-module .iframe-meteogram{
  height:1080px;
  overflow:auto;
}
.station-module .bluesky-wrap{min-height:500px;padding:12px}
.station-module .bottom-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:start;
}
.station-module .bottom-pair > .card,
.station-module .bottom-pair > .bottom-column{min-width:0}

.station-module .weather-accordion-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.station-module .wx-acc{
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}
.station-module .wx-acc summary{
  list-style:none;
  cursor:pointer;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:700;
  color:#334155;
}
.station-module .wx-acc summary::-webkit-details-marker{display:none}
.station-module .wx-acc summary:after{
  content:"+";
  flex:0 0 auto;
  font-size:16px;
  font-weight:400;
  color:#64748b;
}
.station-module .wx-acc[open] summary:after{content:"−"}
.wx-summary-value{
  margin-left:auto;
  font-size:14px;
  color:#1f2937;
  white-space:nowrap;
}
.wx-detail{
  padding:8px 12px 9px;
  border-top:1px solid #edf2f7;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.wx-section{min-width:0}
.wx-section-title{
  margin:0 0 3px;
  padding-bottom:5px;
  border-bottom:1px dashed #dbe3ec;
  color:#526274;
  font-size:10.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.wx-section-title .wx-source{
  font-weight:400;
  text-transform:none;
  letter-spacing:0;
  color:#8a98a8;
}
.station-module .wx-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  gap:8px;
  min-height:28px;
  padding:4px 0;
  border-bottom:1px solid #f0f3f7;
}
.station-module .wx-row:last-child{border-bottom:0}
.station-module .wx-row span{
  color:#526274;
  font-size:12px;
  line-height:1.3;
  min-width:0;
}
.station-module .wx-row strong{
  color:#1f2937;
  font-size:13px;
  font-weight:700;
  text-align:right;
  white-space:nowrap;
}
.wx-note{
  margin-top:6px;
  color:#8290a0;
  font-size:9.5px;
  line-height:1.35;
}
.footer-note{text-align:center;color:var(--muted);font-size:12px;margin-top:18px}
@media (max-width:1000px){
  .station-module .grid{grid-template-columns:1fr}
  .station-module .span-2{grid-column:auto}
  .current-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .wx-detail{grid-template-columns:1fr}
}
@media (max-width:800px){
  .station-module .bottom-pair{grid-template-columns:1fr}
}
@media (max-width:700px){
  .current-grid{grid-template-columns:1fr 1fr;gap:8px}
  .current-value,.current-value.small{font-size:20px}
  .current-tile{min-height:82px;padding:10px}
  .station-module .grid,.station-module .stack{gap:8px}
  .station-module .card{border-radius:10px}
  .station-module .card-head{padding:9px 11px}
  .station-module .card-head h2{font-size:15px}
  .station-module .card-head span{font-size:11px}
  .card-.webcam-wrap{padding:0;background:#fff}
  .station-module .iframe-wx2-wrap{height:325px}
  .station-module .iframe-wx2{height:361px;width:111.111%;transform:scale(.90);transform-origin:top left}
  .station-module .iframe-meteogram{height:1160px}
}
@media (max-width:380px){
  .current-grid{grid-template-columns:1fr}
}

@media (max-width:700px){
  .station-module .weather-accordion-grid{grid-template-columns:1fr}
}

@media (max-width:430px){
  .station-module .wx-acc summary{padding:9px 10px}
  .station-module .webcam-wrap{padding:0}
  .station-module .bluesky-wrap{padding:7px}
}



/* Umbruch-/Containment-Korrekturen */
.station-module .card{
  max-width:100%;
}
.station-module .card-body{
  min-width:0;
  max-width:100%;
}
#weatherTooltipMount{
  width:100%;
  max-width:100%;
  min-width:0;
}
#weatherTooltipMount > *{
  max-width:100%;
}

/* ===== Direkt integrierte V20-Wetterseite ===== */
.station-module{
  min-width:0;
  width:100%;
  overflow:visible;
}
.station-module .grid,
.station-module .stack,
.station-module .card{
  min-width:0;
}
.station-module img,
.station-module iframe{
  max-width:100%;
}
@media(max-width:1050px){
  .content-grid{grid-template-columns:1fr}
  .master-card{order:1}
  .side-stack{order:2;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){

  .master-card,
  .station-module,
  .station-module .card,
  .station-module iframe,
  .station-module img{
    width:100%;
    max-width:100%;
  }
  .content-grid{grid-template-columns:1fr;gap:8px}
  .side-stack{grid-template-columns:1fr;order:2}
  .master-card{order:1}
  .station-module{width:100%;overflow:visible}
}


@media(max-width:700px){
  /* 24-Stunden-Verläufe: Buttons innerhalb der Karte umbrechen */
  #weatherTooltipMount,
  #weatherTooltipMount > div{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  #weatherTooltipMount > div{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    align-items:flex-start !important;
  }

  #weatherTooltipMount button,
  #weatherTooltipMount a,
  #weatherTooltipMount [role="button"]{
    flex:0 1 auto !important;
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }

  /* Falls tooltip_charts.js eine eigene Leiste/Grid erzeugt */
  #weatherTooltipMount .tooltip-buttons,
  #weatherTooltipMount .chart-buttons,
  #weatherTooltipMount .weather-buttons,
  #weatherTooltipMount .button-row,
  #weatherTooltipMount .controls{
    display:flex !important;
    flex-wrap:wrap !important;
    width:100% !important;
    max-width:100% !important;
    gap:6px !important;
  }

  /* METAR: Desktop-Zoom auf Mobil vollständig abschalten */
  .station-module .iframe-wx2-wrap{
    width:100% !important;
    max-width:100% !important;
    height:760px !important;
    overflow:hidden !important;
  }

  .station-module .iframe-wx2{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:760px !important;
    transform:none !important;
    transform-origin:top left !important;
  }

  .station-module .bottom-pair{
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
    max-width:100% !important;
  }
}

@media(max-width:430px){
  #weatherTooltipMount button,
  #weatherTooltipMount a,
  #weatherTooltipMount [role="button"]{
    font-size:10px !important;
    padding-left:7px !important;
    padding-right:7px !important;
  }

  .station-module .iframe-wx2-wrap,
  .station-module .iframe-wx2{
    height:760px !important;
  }
}



/* Aktuelle Wetterdaten – einheitlichere Typografie */
.station-module .wx-acc summary > span{
  font-size:13px;
  font-weight:700;
}
.station-module .wx-summary-value{
  font-size:14px;
  font-weight:700;
}
@media(max-width:700px){
  .station-module .wx-row span{font-size:12px}
  .station-module .wx-row strong{font-size:13px}
  .station-module .wx-acc summary > span{font-size:13px}
  .station-module .wx-summary-value{font-size:14px}
}


/* Aktuelle Wetterdaten – Layoutkorrektur */
.station-module .weather-accordion-grid{
  align-items:start;
}
.station-module .wx-acc{
  align-self:start;
}

/* Lange Werte dürfen sauber umbrechen */
.station-module .wx-row strong{
  white-space:normal;
  max-width:320px;
  overflow-wrap:break-word;
  line-height:1.3;
}

/* Lange Klima-Texte besser unter der Bezeichnung darstellen */
.station-module #anTempDayDev,
.station-module #anTempMonthDev{
  max-width:none;
  text-align:left;
}
.station-module .wx-row:has(#anTempDayDev),
.station-module .wx-row:has(#anTempMonthDev){
  grid-template-columns:1fr;
  gap:2px;
}
.station-module .wx-row:has(#anTempDayDev) strong,
.station-module .wx-row:has(#anTempMonthDev) strong{
  text-align:left;
  padding-bottom:2px;
}

@media(max-width:700px){
  .station-module .wx-row{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .station-module .wx-row strong{
    max-width:48vw;
  }
  .station-module .wx-row:has(#anTempDayDev),
  .station-module .wx-row:has(#anTempMonthDev){
    grid-template-columns:1fr;
  }
}


/* V12: METAR auf Mobilgeräten vollständig anzeigen */
@media(max-width:700px){
  .station-module .iframe-wx2-wrap{
    height:760px !important;
    overflow:hidden !important;
  }
  .station-module .iframe-wx2{
    width:100% !important;
    height:760px !important;
    max-width:100% !important;
    transform:none !important;
  }
}
@media(max-width:430px){
  .station-module .iframe-wx2-wrap,
  .station-module .iframe-wx2{
    height:780px !important;
  }
}


/* Datenschutz-/Cookie-Banner */
#cookieConsentBackdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.30);
  z-index:99998;
}
#cookieConsentBox{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:99999;
  max-width:780px;
  margin:auto;
  padding:18px;
  background:#ffffff;
  border:1px solid #d9e2ec;
  border-radius:14px;
  box-shadow:0 12px 36px rgba(15,23,42,.24);
  font-family:Arial,Helvetica,sans-serif;
  color:#1f2937;
}
.cookie-consent-content{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
.cookie-consent-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#0b3768;
  color:#fff;
  font-weight:700;
  font-size:17px;
  margin-top:1px;
}
.cookie-consent-text h2{
  margin:0 0 7px;
  font-size:18px;
  line-height:1.25;
  color:#0b3768;
}
.cookie-consent-text p{
  margin:0 0 7px;
  font-size:13px;
  line-height:1.5;
}
.cookie-consent-note{
  color:#475569;
}
.cookie-consent-links{
  margin-top:5px !important;
}
.cookie-consent-links a{
  color:#0b4f8a;
  text-decoration:underline;
}
.cookie-consent-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
}
.cookie-btn{
  min-width:150px;
  border-radius:8px;
  padding:9px 13px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.cookie-btn-secondary{
  background:#fff;
  color:#0b3768;
  border:1px solid #0b3768;
}
.cookie-btn-primary{
  background:#0b3768;
  color:#fff;
  border:1px solid #0b3768;
}
.cookie-btn:hover{
  filter:brightness(.97);
}
#cookieSettingsLink{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
}
@media(max-width:600px){
  #cookieConsentBox{
    left:10px;
    right:10px;
    bottom:10px;
    padding:15px;
  }
  .cookie-consent-content{
    gap:10px;
  }
  .cookie-consent-actions{
    flex-direction:column;
  }
  .cookie-btn{
    width:100%;
  }
}


/* =========================================================
   V29: Zusatzkarten direkt UNTER Bluesky
   ========================================================= */
.station-module .bottom-column{
  display:grid;
  gap:14px;
  min-width:0;
}
.station-module .bottom-column > .card{
  min-width:0;
}
.station-facts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 10px;
}
.station-fact{
  padding:9px 10px;
  background:#f8fafc;
  border:1px solid #e4eaf0;
  border-radius:8px;
}
.station-fact span{
  display:block;
  color:#64748b;
  font-size:10.5px;
  margin-bottom:2px;
}
.station-fact strong{
  display:block;
  color:#1f2937;
  font-size:12.5px;
}
.small-info-text{
  margin:10px 0 0;
  font-size:12px;
  line-height:1.5;
  color:#334155;
}
.small-info-links{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
}
.small-info-links a{
  font-size:12px;
  font-weight:700;
  color:#0b4f8a;
  text-decoration:none;
}
.small-info-links a:hover{text-decoration:underline}

/* Tageskomfort nach dem Klima-Michel-Prinzip (vereinfachte Näherung) */
#dailyComfortCard .card-body{
  display:block;
  justify-content:flex-start;
  padding:11px 13px 13px;
}
.comfort-status{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:0 2px 6px;
  color:#64748b;
  font-size:10px;
  line-height:1.3;
}
.comfort-status strong{color:#0b3768}
.comfort-chart{height:178px;width:100%;min-width:0}
.comfort-periods{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:4px;
}
.comfort-period{
  min-width:0;
  padding:8px 9px;
  border:1px solid #dfe7ef;
  border-radius:9px;
  background:linear-gradient(145deg,#fff,#f6f9fc);
}
.comfort-period-head{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:3px;
}
.comfort-period-icon{
  flex:0 0 24px;
  width:24px;height:24px;
  display:flex;align-items:center;justify-content:center;
  border-radius:7px;
  background:#edf4fa;
  font-size:15px;
}
.comfort-period-icon.sun{
  color:#e99a00;
  background:linear-gradient(145deg,#fff8cf,#ffeaa0);
  border:1px solid #f4d36a;
  text-shadow:0 1px 0 rgba(255,255,255,.75);
}
.comfort-period-icon.moon{
  color:#5368c9;
  background:linear-gradient(145deg,#eef1ff,#dce3ff);
  border:1px solid #bdc8f2;
  text-shadow:0 1px 0 rgba(255,255,255,.8);
}
.comfort-period-title{min-width:0}
.comfort-period-title strong{display:block;font-size:10.5px;color:#263b52}
.comfort-period-title span{display:block;font-size:8.5px;color:#7a8b9c;white-space:nowrap}
.comfort-period-value{
  display:block;
  color:#6b4fc4;
  font-size:16px;
  line-height:1.15;
}
.comfort-period small{
  display:block;
  margin-top:2px;
  color:#5d7085;
  font-size:9px;
  line-height:1.25;
}
.comfort-advice{
  margin-top:8px;
  padding:9px 10px;
  border:1px solid #cfe0ef;
  border-left:4px solid #0b568f;
  border-radius:9px;
  background:linear-gradient(135deg,#f4f9fd,#ebf4fb);
  color:#24425f;
  font-size:11px;
  line-height:1.42;
}
.comfort-advice strong{color:#0b3768}
.comfort-method{
  margin:6px 2px 0;
  color:#7a8b9c;
  font-size:8.7px;
  line-height:1.3;
}
.comfort-error{
  margin:12px 2px;
  padding:11px;
  border:1px solid #f0d290;
  border-radius:9px;
  background:#fff9e8;
  color:#76540a;
  font-size:11px;
  line-height:1.4;
}
@media(max-width:600px){
  .comfort-chart{height:205px}
  .comfort-periods{grid-template-columns:1fr}
  .comfort-period{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr);align-items:center;column-gap:8px}
  .comfort-period-head{margin:0}
  .comfort-period-value{font-size:15px}
  .comfort-period small{grid-column:2;margin-top:1px}
}
.climate-list{
  display:grid;
  gap:7px;
}
.climate-row{
  padding:8px 9px;
  border:1px solid #e4eaf0;
  background:#f8fafc;
  border-radius:8px;
  font-size:12px;
  line-height:1.45;
}
.climate-row strong{
  color:#0b3768;
}

/* DWD-Textvorhersage Baden-Württemberg */
.dwd-forecast-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
  color:#64748b;
  font-size:10.5px;
}
.dwd-forecast-status strong{color:#0b3768}
.dwd-forecast-headline{
  margin-bottom:9px;
  padding:10px 11px;
  border:1px solid #cfe0ef;
  border-left:4px solid #0b568f;
  border-radius:9px;
  background:linear-gradient(135deg,#f3f8fd,#eaf3fb);
  color:#173b61;
  font-size:12px;
  font-weight:700;
  line-height:1.42;
}
.dwd-forecast-list{display:grid;gap:6px}
.dwd-forecast-item{
  border:1px solid #e0e8f0;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
.dwd-forecast-item summary{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  cursor:pointer;
  list-style:none;
  color:#263b52;
  font-size:11.5px;
  font-weight:700;
}
.dwd-forecast-item summary::-webkit-details-marker{display:none}
.dwd-forecast-item summary::before{
  content:"+";
  flex:0 0 18px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#edf4fa;
  color:#0b568f;
  text-align:center;
  line-height:18px;
  font-size:13px;
}
.dwd-forecast-item[open] summary::before{content:"−"}
.dwd-forecast-text{
  margin:0;
  padding:0 10px 9px 36px;
  color:#4b5f74;
  font-size:11px;
  line-height:1.45;
  white-space:pre-line;
}
.dwd-forecast-error{
  padding:10px;
  border:1px solid #f1d79a;
  border-radius:8px;
  background:#fff9e8;
  color:#74530a;
  font-size:11px;
  line-height:1.4;
}
.dwd-forecast-source{
  margin-top:9px;
  color:#718096;
  font-size:9.5px;
  line-height:1.35;
}
.dwd-forecast-source a{color:#0b568f;font-weight:700;text-decoration:none}
.dwd-forecast-source a:hover{text-decoration:underline}
#dwdForecastCard .card-body{
  justify-content:flex-start;
}


/* =========================================================
   V30: FAKTEN + KLIMADATEN NEBENEINANDER UNTER BLUESKY/METAR
   ========================================================= */
.station-module .facts-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:start;
  margin-top:14px;
}
.station-module .facts-row > .card{
  min-width:0;
}
@media(max-width:900px){
  .station-module .facts-row{
    grid-template-columns:1fr;
  }
}

.station-module .facts-row > .card{
  min-height:320px;
  display:flex;
  flex-direction:column;
}
.station-module .facts-row > .card .card-body{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:16px;
}
@media(max-width:900px){
  .station-module .facts-row > .card{min-height:0}
}


/* =========================================================
   V31: Hinweis für aufklappbare Wetterdaten
   ========================================================= */
.station-module .weather-accordion-note{
  margin:0 0 10px;
  padding:7px 10px;
  border:1px solid #dfe7ef;
  border-radius:8px;
  background:#f8fafc;
  color:#52647a;
  font-size:11.5px;
  line-height:1.4;
}
.station-module .weather-accordion-note strong{
  color:#0b3768;
}


/* =========================================================
   V32: Hinweis direkt im Kopf der Wetterdaten
   ========================================================= */
.station-module .weather-head-with-note{
  align-items:center;
}
.station-module .weather-head-with-note > div:first-child{
  min-width:0;
}
.station-module .current-weather-title-row{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  flex-wrap:wrap;
}
.station-module .metar-current-weather{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:#1769aa !important;
  font-size:16px !important;
  font-weight:700;
  line-height:1.25;
  white-space:normal;
}
.station-module .metar-current-weather.is-unavailable{
  color:#1769aa !important;
}
.station-module .weather-open-note{
  margin-top:3px;
  font-size:11px;
  font-weight:400;
  color:#64748b;
  line-height:1.25;
}

@media(max-width:700px){
  .station-module .weather-head-with-note{
    align-items:flex-start;
  }
  .station-module .current-weather-title-row{
    gap:6px;
  }
  .station-module .metar-current-weather{
    font-size:15px !important;
  }
}
.station-module .weather-open-note strong{
  color:#0b3768;
  font-size:13px;
}


@media(max-width:700px){.station-module .iframe-meteogram{height:1160px}}

/* Kompakte zweizeilige Anzeige für Wetter und Wolkengattungen */
.station-module .current-weather-title-row > h2{flex-basis:100%}
.station-module .metar-current-weather{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  width:100%;
  max-width:100%;
  overflow-wrap:anywhere;
}
.station-module .weather-line-primary{font-size:17px;line-height:1.4;color:#1769aa;font-weight:700}
.station-module .weather-line-clouds{font-size:15px;line-height:1.5;color:#1769aa;font-weight:600}
@media(max-width:700px){
  .station-module .weather-line-primary{font-size:16px}
  .station-module .weather-line-clouds{font-size:14px}
}
/* Korrektur: ältere .card-head span-Regeln dürfen Wolkenfarben und Schriftgröße nicht überschreiben */
.station-module .card-head .metar-current-weather .weather-line-primary {
  display:block;
  color:#1769aa;
  font-size:18px;
  font-weight:700;
  line-height:1.45;
}
.station-module .card-head .metar-current-weather .weather-line-clouds {
  display:block;
  color:#1769aa;
  font-size:16px;
  font-weight:600;
  line-height:1.5;
}
@media(max-width:700px){
  .station-module .card-head .metar-current-weather .weather-line-primary{font-size:16px}
  .station-module .card-head .metar-current-weather .weather-line-clouds{font-size:15px}
}

/* Dynamische Wetteranalyse: kompakte Vorschau in der linken Seitenleiste */
.dynamik-preview{padding:11px 12px 12px;background:linear-gradient(135deg,#f8fbff,#eef5fc)}
.dynamik-preview .dynamik-tag{font-size:9.5px;color:#60778c;margin-bottom:9px;line-height:1.4}
.dynamik-preview .dynamik-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dynamik-preview .dynamik-value{padding:8px 7px;background:#fff;border:1px solid #dae6f2;border-radius:8px;min-width:0}
.dynamik-preview .dynamik-label{display:block;color:#64748b;font-size:9.4px;line-height:1.35;min-height:26px}
.dynamik-preview .dynamik-number{display:block;margin:4px 0;color:#0b3768;font-size:18px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums}
.dynamik-preview .dynamik-unit{display:block;color:#64748b;font-size:9px}
.dynamik-preview .dynamik-status{margin-top:9px;min-height:30px;font-size:10px;color:#52677d;line-height:1.45}
.dynamik-preview .dynamik-status.is-warning{color:#995d11}
.dynamik-preview .dynamik-link{display:inline-block;margin-top:10px;color:#0b568f;text-decoration:none;font-size:11px;font-weight:700}
.dynamik-preview .dynamik-link:hover{text-decoration:underline}
/* Die Wetter-Kopfzeile reserviert vor dem DWD-/METAR-Abruf Platz.
   So verschieben nachgeladene Wolkenschichten die darunterliegenden Karten nicht. */
.station-module .weather-head-with-note > div:first-child{
  flex:1 1 auto;
  min-width:0;
}
.station-module .weather-head-with-note #metarCurrentWeather{
  box-sizing:border-box;
  min-height:78px;
  width:100%;
  align-items:flex-start;
  justify-content:flex-start;
}
.station-module .weather-head-with-note #currentWeatherTime{
  flex:0 0 auto;
  max-width:118px;
  text-align:right;
}
@media (max-width:700px){
  .station-module .weather-head-with-note #metarCurrentWeather{min-height:118px}
  .station-module .weather-head-with-note #currentWeatherTime{max-width:105px}
}
@media (max-width:430px){
  .station-module .weather-head-with-note #metarCurrentWeather{min-height:142px}
}


/* Wolkenanzeige Mobil V2 – mit vollem Platz fuer den Text. */
@media(max-width:700px){
  .station-module .weather-head-with-note{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .station-module .weather-head-with-note > div:first-child{width:100%;flex:none;min-width:0}
  .station-module .weather-head-with-note #currentWeatherTime{
    position:static;
    order:-1;
    align-self:flex-end;
    max-width:none;
    width:auto;
    font-size:11px;
    text-align:right;
    line-height:1.3;
  }
  .station-module .weather-head-with-note #metarCurrentWeather{
    width:100%;min-height:0;max-width:100%;
    display:flex;flex-direction:column;gap:5px;
  }
  .station-module .card-head .metar-current-weather .weather-line-primary{
    display:block;font-size:14px!important;line-height:1.38;font-weight:700;
    overflow-wrap:normal;word-break:normal;
  }
  .station-module .card-head .metar-current-weather .weather-line-clouds{
    display:block;font-size:13px!important;line-height:1.42;font-weight:600;
    overflow-wrap:normal;word-break:normal;
  }
}
@media(max-width:430px){
  .station-module .card-head .metar-current-weather .weather-line-primary{font-size:13.5px!important}
  .station-module .card-head .metar-current-weather .weather-line-clouds{font-size:12.5px!important}
}
