/* ===== Klaro Light Theme (Meteo Nordwest) ===== */

.klaro .cm-modal {
  max-width: 900px !important;
  background: var(--wzn-bg) !important; 
  border-radius: 14px !important;
  padding: 18px 20px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
  border: 1px solid var(--wzn-border) !important;
  font-family: system-ui, -apple-system, sans-serif !important;
}

.klaro .cm-modal,
.klaro .cm-modal :is(
  h1, h2, h3, h4, p, li, label,
  .cm-list-title, .cm-list-description, .cm-description
) {
  color: var(--wzn-text) !important;
}

/* Titel */
.klaro .cm-header {
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-bottom: 8px !important;
  color: var(--wzn-dark) !important;
}

/* Text */
.klaro .cm-text {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Buttons */
.klaro .cm-buttons {
  margin-top: 15px !important;
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.klaro .cm-btn {
  flex: 1 !important;
  min-width: 120px !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

/* Hover */
.klaro .cm-btn:hover {
  transform: translateY(-1px) !important;
}

/* Akzeptieren */
.klaro .cm-btn-success {
  background: var(--wzn-link) !important;
  color: #fff !important;
}

/* Ablehnen */
.klaro .cm-btn-decline {
  background: var(--wzn-tint) !important;
  color: var(--wzn-text) !important;
}

/* Einstellungen */
.klaro .cm-btn-info {
  background: var(--wzn-dark) !important;
  color: #fff !important;
}

/* Links */
.klaro a {
  color: var(--wzn-link) !important;
  text-decoration: underline !important;
}

/* ===== MOBILE FIX ===== */

@media (max-width: 600px) {

  body .klaro .cm-modal {
  position: fixed !important;
  bottom: 10px !important;
  left: 10px !important;
  right: 10px !important;
  top: auto !important;
  transform: none !important;

  width: auto !important;
  max-width: none !important;
  max-height: 80vh !important;

  background: var(--wzn-bg) !important;
  color: var(--wzn-text) !important;

  border-radius: 12px !important;
  padding: 15px !important;

  overflow-y: auto !important;
  }

  /* Text */
  .klaro .cm-text {
  font-size: 10px !important;
  line-height: 1.5 !important;
  }

/* Buttons sichtbar & mobilfreundlich */
  body .klaro .cm-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  }

  body .klaro .cm-btn {
  width: 100% !important;
  }
}

/* Cookie Setting Button */
#cookie-settings-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;

  background: var(--wzn-dark);
  color: white;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);

}

#cookie-settings-btn:hover,
#cookie-settings-btn:focus-visible {
  background: var(--wzn-dark-2);
}



/*#ä##############*/

.einleitungsbild img {
  margin: 0 auto; 
  max-width: 500px;
}

.readmore a {
  border: 1px solid var(--wzn-border);
  padding: 6px 12px 6px 12px;
  border-radius: 5px;
  font-size: 14px;
}

.readmore a:hover {
  border-color: var(--wzn-link);
  
}

.article-list .article .featured-article-badge { display: none; visibility: hidden;}

span.badge.bg-danger.featured-article-badge {
    display: none;
}

div.articles-leadingticker {
  height: 550px;
}


/*############################# Grid Table #############################*/
/*################################################################################################################*/
.responsive-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  border-collapse: collapse;
  width: 100%;
}

/* Entfernt die Tabellenstruktur, damit die TDs im Grid funktionieren */
.responsive-grid-table tr,
.responsive-grid-table tbody,
.responsive-grid-table td {
  display: contents;
}

/* Optional: etwas Styling innerhalb der Zellen */
.responsive-grid-table td > div {
  width: 100%;
  box-sizing: border-box;
}


.grid-table-link {
  display: inline-block;
  width: 100%;
}


/* ##################### Container PLZ Wetter #######################*/
.cta-weather {
  background: linear-gradient(135deg, var(--wzn-tint), var(--wzn-bg));
  border: 1px solid var(--wzn-border);
  border-left: 6px solid var(--wzn-accent);
  border-radius: 8px;
  padding: 18px 16px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.cta-weather h3 {
  margin: 0 0 8px;
  color: var(--wzn-dark);
  font-size: 1.1rem;
}

.cta-weather p {
  font-size: 0.9rem;
  color: var(--wzn-text);
  margin-bottom: 10px;
}

.cta-weather ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.cta-weather li {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.cta-btn {
  display: inline-block;
  background: var(--wzn-accent);
  color: var(--wzn-dark);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  background: var(--wzn-accent-hover);
  transform: translateY(-1px);
}

.cta-weather .cta-btn:hover,
.cta-weather .cta-btn:focus-visible {
  color: var(--wzn-dark);
}


/*############################## WERBEPARTNER SEITE ###########################*/
.wznrw-landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
  line-height: 1.6;
}

.wznrw-hero {
  border-radius: 16px;
  padding: 28px 22px;
  background: linear-gradient(135deg,var(--wzn-deep) 0%, var(--wzn-dark-2) 60%, var(--wzn-link) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.wznrw-hero p.small {
  margin: 0 0 8px;
  opacity: .9;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wznrw-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
}

.wznrw-hero p.lead {
  margin: 0 0 18px;
  font-size: 18px;
  max-width: 720px;
  opacity: .95;
}

.wznrw-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.wznrw-btn-primary {
  background: var(--wzn-accent);
  color: var(--wzn-dark);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.wznrw-btn-primary:hover,
.wznrw-btn-primary:focus-visible {
  background: var(--wzn-accent-hover);
  color: var(--wzn-dark);
}

.wznrw-btn-secondary:hover,
.wznrw-btn-secondary:focus-visible {
  color: var(--wzn-accent);
}

.wznrw-btn-secondary {
  background: rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
}

.wznrw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
  margin-top: 18px;
}

.wznrw-card {
  background: #fff;
  border: 1px solid var(--wzn-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.wznrw-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.wznrw-box {
  border: 1px solid var(--wzn-tint);
  border-radius: 14px;
  padding: 14px;
}

.wznrw-box p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--wzn-text);
}

.wznrw-footer {
  margin-top: 18px;
  border-radius: 16px;
  padding: 20px;
  background: var(--wzn-deep);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.wznrw-footer p {
  opacity: .95;
}

.wznrw-footer small {
  font-size: 12px;
  opacity: .85;
}

/*###########################       Tabellen Grid Layout  #####################################*/
.responsive-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  border-collapse: collapse;
  width: 100%;
}

/* Entfernt die Tabellenstruktur, damit die TDs im Grid funktionieren */
.responsive-grid-table tr,
.responsive-grid-table tbody,
.responsive-grid-table td {
  display: contents;
}

/* Optional: etwas Styling innerhalb der Zellen */
.responsive-grid-table td > div {
  width: 100%;
  box-sizing: border-box;
}


/* Blitzortung */
.blitz-legende-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(4, 26, 48, .9);
  border-radius: 12px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;

  a {
    color: white;
  }
}

.blitz-legende-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.legende-punkt {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.aktuell {
  background: white;
}

.vor30 {
  background: yellow;
}

.vor60 {
  background: orange;
}

.vor80 {
  background: orangered;
}

.vor100 {
  background: red;
}

.vor120 {
  background: darkred;
}

.legende-linie {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/*Advertising*/
.blog-ads {
  color: lightgray;
  margin: 2em 0em 2em 0em;
}

/*Überschriften Abstand geben*/
.spacer-seperator {
  margin-top: 3em;
  margin-bottom: 2em;
}

/*Sturmjagdberichte Einleiter*/
div.article-hero-section {
  display: flex;
  
  width:100%;
  align-items: center;
  gap: 1em;
  margin-bottom: 2em;
}

div.article-box-left {
  min-width: 350px;
}




/* =========================================================
   Meteo Nordwest – Helix Ultimate Custom Design
   Ablage: /templates/shaper_helixultimate/css/custom.css
   ========================================================= */

:root {
  --wzn-dark: #062440;
  --wzn-dark-2: #183b5a;
  --wzn-deep: #041a30;
  --wzn-accent: #ffbe2e;
  --wzn-accent-hover: #ffaa22;
  --wzn-link: #245a83;
  --wzn-link-hover: #113d61;
  --wzn-tint: #e7eff6;
  --wzn-bg: #f0f4f8;
  --wzn-card: #ffffff;
  --wzn-text: #1e3549;
  --wzn-muted: #50677c;
  --wzn-border: #d4dfe9;
  --wzn-focus: #29658f;
  --wzn-focus-shadow: rgba(41, 101, 143, .24);
  --wzn-danger: #c93434;
  --wzn-radius: 10px;
  --wzn-shadow: 0 7px 22px rgba(6, 36, 64, .09);
  --wzn-content-width: 1300px;

  /* Bisherige Variablen für bestehende Module und Zusatz-CSS */
  --wzn-green: var(--wzn-accent);
  --wzn-green-dark: var(--wzn-link);
  --wzn-green-light: var(--wzn-tint);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wzn-bg);
  color: var(--wzn-text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--wzn-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus { color: var(--wzn-link-hover); }

#sp-main-body { padding: 30px 0 45px; }

#sp-main-body > .container,
#sp-header > .container,
#sp-footer > .container,
#sp-bottom > .container,
#sp-top-bar > .container {
  width: 100%;
  max-width: var(--wzn-content-width);
}

/* Topbar */
#sp-top-bar {
  padding: 7px 0;
  border: 0;
  background: var(--wzn-deep);
  color: rgba(255,255,255,.82);
  font-size: .88rem;
}

#sp-top-bar a { color: #fff; }
#sp-top-bar a:hover { color: var(--wzn-accent); }

/* Header */
#sp-header {
  height: auto;
  min-height: 82px;
  background: linear-gradient(105deg,var(--wzn-dark),var(--wzn-dark-2));
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
}

#sp-header.header-sticky {
  background: rgba(6, 36, 64, .97);
  backdrop-filter: blur(8px);
}

#sp-header .logo { height: 82px; }
#sp-header .logo img { width: auto; max-height: 66px; }
#sp-header .logo a { color: #fff; text-decoration: none; }

/* Navigation */
.sp-megamenu-parent { margin: 0; }
.sp-megamenu-parent > li { margin: 0 2px; }

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  padding: 0 15px;
  color: rgba(255,255,255,.93);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  text-transform: none;
}

.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.sp-megamenu-parent > li.active > a::after,
.sp-megamenu-parent > li.active > span::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--wzn-accent);
  content: "";
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  padding: 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-top: 4px solid var(--wzn-accent);
  border-radius: 0 0 var(--wzn-radius) var(--wzn-radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 36, 64, .18);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--wzn-text);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
  background: var(--wzn-tint);
  color: var(--wzn-link);
}

#sp-header .social-icons a { color: #dbe7f0; }
#sp-header .social-icons a:hover,
#sp-header .social-icons a:focus-visible { color: var(--wzn-accent); }

#offcanvas-toggler { color: #fff; }
#offcanvas-toggler .burger-icon > span { background-color: currentColor; }
#offcanvas-toggler:hover,
#offcanvas-toggler:focus { color: var(--wzn-accent); }
.offcanvas-menu { background: #fff; }
.offcanvas-menu .offcanvas-inner ul.menu > li a { color: var(--wzn-text); }
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a { color: var(--wzn-link); }

/* =========================================================

   HERO USER2 – sichere Ausrichtung für Helix Ultimate

   ========================================================= */



#sp-user2 {

  padding: 0 !important;

  background: var(--wzn-dark);

}



/* Rote Testlinie wieder entfernen */

#sp-user2 {

  outline: none !important;

}



/* Helix- und Bootstrap-Spalten vollständig auf 100 % setzen */
#sp-user2 > .container,
#sp-user2 > .container-fluid {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-user2 .row {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Wichtig: Nicht nur width, sondern auch flex-basis überschreiben */
#sp-user2 .row > [class*="col-"],
#sp-user2 .row > .col,
#sp-user2 .sp-column {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-user2 .sp-module,
#sp-user2 .sp-module-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}



/* Hero über komplette Breite */

#sp-user2 .wzn-hero {

  position: relative !important;

  display: flex !important;

  width: 100% !important;

  min-height: 380px !important;

  align-items: center !important;

  margin: 0 !important;

  padding: 0 !important;

  overflow: hidden !important;



  background-image:

    linear-gradient(

      90deg,

      rgba(4, 26, 48, .96) 0%,

      rgba(6, 36, 64, .88) 25%,

      rgba(6, 36, 64, .62) 50%,

      rgba(6, 36, 64, .10) 100%

    ),

    url("../images/wetterzentrum-hero.jpg") !important;



  background-position: center center !important;

  background-size: cover !important;

  background-repeat: no-repeat !important;

}



/*

 * Inhalt exakt auf dieselbe Flucht wie Navigation

 * und Hauptinhalt setzen.

 */

#sp-user2 .wzn-hero__content {

  position: relative !important;

  z-index: 2 !important;

  display: block !important;

  width: 100% !important;

  max-width: none !important;

  margin: 0 !important;

  box-sizing: border-box !important;



  padding-top: 48px !important;

  padding-right: 24px !important;

  padding-bottom: 52px !important;



  /* 1180 px entspricht der gewünschten Inhaltsbreite */

  padding-left: max(

    24px,

    calc((100vw - 1180px) / 2)

  ) !important;

}



/* Eigentliche Textbreite */

#sp-user2 .wzn-hero__content > * {

  width: auto !important;

  max-width: 650px !important;

}



/* Kleine Kennzeichnung */

#sp-user2 .wzn-hero__label {

  display: inline-flex !important;

  margin: 0 0 14px !important;

  padding: 6px 12px !important;

  border: 1px solid rgba(255, 255, 255, 0.35) !important;

  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.09) !important;

  color: #fff !important;

  font-size: 0.72rem !important;

  font-weight: 700 !important;

  letter-spacing: 0.06em !important;

  text-transform: uppercase !important;

}



/* Überschrift */

#sp-user2 .wzn-hero h1 {

  max-width: 650px !important;

  margin: 0 0 14px !important;

  color: #fff !important;

  font-size: clamp(2.2rem, 3.2vw, 3.3rem) !important;

  font-weight: 700 !important;

  line-height: 1.08 !important;

  letter-spacing: -0.025em !important;

}



/* Beschreibung */

#sp-user2 .wzn-hero p {

  max-width: 620px !important;

  margin: 0 0 23px !important;

  color: rgba(255, 255, 255, 0.92) !important;

  font-size: 1rem !important;

  line-height: 1.6 !important;

}



/* Buttons */

#sp-user2 .wzn-hero__buttons {

  display: flex !important;

  flex-wrap: wrap !important;

  gap: 12px !important;

}



#sp-user2 .wzn-hero__buttons .btn {

  min-height: 44px !important;

  padding: 10px 17px !important;

  border-radius: 7px !important;

  font-weight: 700 !important;

}



/* Tablet */

@media (max-width: 991.98px) {

  #sp-user2 .wzn-hero {

    min-height: 300px !important;

  }



  #sp-user2 .wzn-hero__content {

    padding: 42px 20px 46px !important;

  }



  #sp-user2 .wzn-hero h1 {

    font-size: clamp(2.1rem, 6vw, 2.9rem) !important;

  }

}



/* Smartphone */

@media (max-width: 575.98px) {

  #sp-user2 .wzn-hero {

    min-height: 330px !important;

  }



  #sp-user2 .wzn-hero__content {

    padding: 36px 15px 40px !important;

  }



  #sp-user2 .wzn-hero h1 {

    font-size: 2rem !important;

  }



  #sp-user2 .wzn-hero p {

    font-size: 0.95rem !important;

  }



  #sp-user2 .wzn-hero__buttons {

    flex-direction: column !important;

    align-items: stretch !important;

  }



  #sp-user2 .wzn-hero__buttons .btn {

    width: 100% !important;

    text-align: center !important;

  }

}

/* Hero Logo */
.wzn-hero-logo{
    display:block;
    width:240px;          /* vorher 340px */
    max-width:70%;
    height:auto;

    margin-bottom:30px;

    filter:drop-shadow(0 4px 10px rgba(0,0,0,.30));
}

@media (max-width:991px){
    .wzn-hero-logo{
        width:190px;
    }
}

@media (max-width:576px){
    .wzn-hero-logo{
        width:160px;
    }
}

/* Breadcrumb */
.breadcrumb {
  margin: 0 0 22px;
  padding: 10px 14px;
  border: 1px solid var(--wzn-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(6, 36, 64, .05);
  font-size: .88rem;
}

/* Inhalt */
#sp-component { min-width: 0; max-width: 1200px; margin: 0 auto;}

.article-details,
.blog,
.blog-featured,
.category-list,
.contact,
.login,
.registration,
.com-users-profile,
.com-finder {
  padding: clamp(22px,3vw,36px);
  border: 1px solid var(--wzn-border);
  border-radius: var(--wzn-radius);
  background: var(--wzn-card);
  box-shadow: var(--wzn-shadow);
}

.article-header h1,
.article-header h2,
.page-header h1,
.page-header h2,
.blog h1,
.blog-featured h1 {
  margin-top: 0;
  color: var(--wzn-dark);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.article-details h2,
.blog h2,
.blog-featured h2 {
  margin-top: 30px;
  margin-bottom: 14px;
  color: var(--wzn-dark);
  font-size: clamp(1.4rem,2.4vw,1.95rem);
  line-height: 1.25;
}

.article-details h3,
.blog h3,
.blog-featured h3 {
  margin-top: 24px;
  color: var(--wzn-dark);
  font-size: 1.25rem;
}

.article-info,
.article-info-wrap {
  margin-bottom: 20px;
  color: var(--wzn-muted);
  font-size: .84rem;
}

.article-details img,
.blog img,
.item-image img {
  max-width: 100%;
  height: auto;
  border-radius: 9px;
}

.article-header,
.page-header {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wzn-border);
}

.article-header::after,
.page-header::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 82px;
  height: 3px;
  border-radius: 3px;
  background: var(--wzn-accent);
  content: "";
}

/* Rechte/linke Modulspalte */
#sp-right,
#sp-left { min-width: 0; max-width: 350px;}

#sp-right .sp-module,
#sp-left .sp-module {
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--wzn-border);
  border-radius: var(--wzn-radius);
  background: #fff;
  box-shadow: var(--wzn-shadow);
}

#sp-right .sp-module .sp-module-title,
#sp-left .sp-module .sp-module-title {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  background: linear-gradient(105deg,var(--wzn-dark),var(--wzn-dark-2));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

#sp-right .sp-module .sp-module-content,
#sp-left .sp-module .sp-module-content { padding: 16px; }

#sp-right .sp-module ul,
#sp-left .sp-module ul { margin: 0; padding: 0; list-style: none; }

#sp-right .sp-module ul > li,
#sp-left .sp-module ul > li {
  padding: 9px 0;
  border-bottom: 1px solid var(--wzn-border);
}

#sp-right .sp-module ul > li:last-child,
#sp-left .sp-module ul > li:last-child { border-bottom: 0; }

#sp-right .sp-module ul > li > a,
#sp-left .sp-module ul > li > a {
  color: var(--wzn-text);
  text-decoration: none;
}

#sp-right .sp-module ul > li > a:hover,
#sp-left .sp-module ul > li > a:hover { color: var(--wzn-link); }

/* Modulklassensuffix: wzn-module-green */
#sp-right .sp-module.wzn-module-green .sp-module-title,
#sp-left .sp-module.wzn-module-green .sp-module-title {
  background: linear-gradient(105deg,var(--wzn-dark-2),var(--wzn-link));
}

/* Modulklassensuffix: wzn-module-warning */
#sp-right .sp-module.wzn-module-warning .sp-module-title,
#sp-left .sp-module.wzn-module-warning .sp-module-title {
  background: linear-gradient(105deg,#9e2424,var(--wzn-danger));
}

/* Buttons */
.btn,
button,
input[type="submit"] { border-radius: 7px; font-weight: 650; }

.btn-primary,
.sppb-btn-primary,
.wzn-btn-primary {
  --bs-btn-color: var(--wzn-dark);
  --bs-btn-bg: var(--wzn-accent);
  --bs-btn-border-color: var(--wzn-accent);
  --bs-btn-hover-color: var(--wzn-dark);
  --bs-btn-hover-bg: var(--wzn-accent-hover);
  --bs-btn-hover-border-color: var(--wzn-accent-hover);
  --bs-btn-active-color: var(--wzn-dark);
  --bs-btn-active-bg: var(--wzn-accent-hover);
  --bs-btn-active-border-color: var(--wzn-accent-hover);
  --bs-btn-disabled-color: var(--wzn-dark);
  --bs-btn-disabled-bg: var(--wzn-accent);
  --bs-btn-disabled-border-color: var(--wzn-accent);

  border-color: var(--wzn-accent);
  background: var(--wzn-accent);
  color: var(--wzn-dark);
}

.btn-primary:is(:hover, :focus, :active),
.sppb-btn-primary:is(:hover, :focus, :active),
.wzn-btn-primary:is(:hover, :focus, :active) {
  border-color: var(--wzn-accent-hover);
  background: var(--wzn-accent-hover);
  color: var(--wzn-dark);
}

.btn-secondary,
.wzn-btn-secondary {
  border-color: var(--wzn-dark);
  background: var(--wzn-dark);
  color: #fff;
}

.btn-secondary:hover,
.wzn-btn-secondary:hover {
  border-color: var(--wzn-dark-2);
  background: var(--wzn-dark-2);
  color: #fff;
}

/* Tabellen */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--wzn-border);
  border-radius: 9px;
  background: #fff;
}

table { width: 100%; margin: 0; border-collapse: collapse; background: #fff; }
table thead th { padding: 11px 13px; border: 0; background: var(--wzn-dark); color: #fff; }
table tbody td { padding: 10px 13px; border-bottom: 1px solid var(--wzn-border); }
table tbody tr:nth-child(even) { background: var(--wzn-bg); }

.responsive-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  width: 100%;
}

.responsive-grid-table tr,
.responsive-grid-table tbody,
.responsive-grid-table td { display: contents; }
.responsive-grid-table td > div { width: 100%; box-sizing: border-box; }
.grid-table-link { display: inline-block; width: 100%; }

/* Formulare */
.form-control,
.form-select,
input,
textarea,
select {
  border-color: var(--wzn-border);
  border-radius: 7px;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--wzn-focus);
  box-shadow: 0 0 0 .2rem var(--wzn-focus-shadow);
}

/* Wetterkarten */
.wzn-weather-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin: 24px 0;
}

.wzn-weather-card {
  padding: 18px;
  border: 1px solid var(--wzn-border);
  border-top: 4px solid var(--wzn-accent);
  border-radius: var(--wzn-radius);
  background: #fff;
  box-shadow: 0 4px 14px rgba(6, 36, 64, .07);
}

.wzn-weather-card__label {
  display: block;
  margin-bottom: 5px;
  color: var(--wzn-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wzn-weather-card__value {
  display: block;
  color: var(--wzn-dark);
  font-size: clamp(1.65rem,3vw,2.4rem);
  font-weight: 750;
  line-height: 1.1;
}

.wzn-weather-card__info {
  display: block;
  margin-top: 7px;
  color: var(--wzn-muted);
  font-size: .88rem;
}

/* SP Page Builder */
.sppb-addon-title { color: var(--wzn-dark); }
.sppb-panel { border-color: var(--wzn-border); border-radius: var(--wzn-radius); }
.sppb-panel-heading { background: var(--wzn-bg); color: var(--wzn-dark); }
.sppb-addon-feature { border-radius: var(--wzn-radius); }

/* Footer */
section#sp-section-3:has(#sp-user1) {
  background-color: var(--wzn-dark-2);
}

#sp-bottom {
  padding: 38px 0 24px;
  background: var(--wzn-dark);
  color: rgba(255,255,255,.78);
}

#sp-bottom .sp-module-title { margin-bottom: 14px; color: #fff; font-size: 1.05rem; }
#sp-bottom a { color: #fff; }
#sp-bottom a:hover { color: var(--wzn-accent); }

#sp-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: var(--wzn-deep);
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

#sp-footer a { color: #fff; }
#sp-footer a:hover { color: var(--wzn-accent); }

@media (max-width: 1199.98px) {
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span { padding-inline: 10px; font-size: .9rem; }
}

@media (max-width: 991.98px) {
  #sp-header,
  #sp-header .logo { min-height: 70px; height: 70px; }
  #sp-header .logo img { max-height: 56px; }
  #sp-main-body { padding-top: 22px; }
  #sp-right,
  #sp-left { margin-top: 24px; }
  .wzn-hero { min-height: 290px; }
  .wzn-hero__content { padding: 46px 0; }
  .wzn-weather-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 575.98px) {
  body { font-size: 15px; }
  #sp-main-body { padding: 15px 0 30px; }

  .article-details,
  .blog,
  .blog-featured,
  .category-list,
  .contact,
  .login,
  .registration,
  .com-users-profile,
  .com-finder {
    padding: 17px;
    border-radius: 8px;
  }

  .wzn-hero { min-height: 320px; }
  .wzn-hero__content { width: calc(100% - 28px); padding: 38px 0 42px; }
  .wzn-hero h1 { font-size: 2.1rem; }
  .wzn-hero__buttons { flex-direction: column; }
  .wzn-hero__buttons .btn { width: 100%; }
  .wzn-weather-grid { grid-template-columns: 1fr; }
}

:focus-visible {
  outline: 3px solid var(--wzn-focus);
  outline-offset: 3px;
}

/* Heller Fokusrahmen auf dunklen Flächen */
:is(#sp-header, #sp-user2, #sp-top-bar, #sp-bottom, #sp-footer, .wznrw-hero, .wznrw-footer) {
  --wzn-focus: var(--wzn-accent);
}

/* Logo im Header */
#sp-header .logo img {
  box-sizing: content-box;
  width: auto;
  height: auto;
  max-height: 52px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 991.98px) {
  #sp-header .logo img {
    max-height: 44px;
    padding: 5px 10px;
  }
}

/* Hauptnavigation: Hover und Tastaturfokus */
#sp-header .sp-megamenu-parent > li:hover > a,
#sp-header .sp-megamenu-parent > li:hover > span,
#sp-header .sp-megamenu-parent > li > a:focus-visible {
  color: #ffbe2e;
}
