/* =====================================================
   BASIS-TYPOGRAFIE
   ===================================================== */

/* Standard-Schriftart für gesamte Website */
body, p, h1, h2, h3, h4, h5, h6, h7, li, span { 
  font-family: Helvetica, arial, sans-serif;
}

/* Grundfarbe und Fließtext-Einstellungen */
body {
  line-height: 24px;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
  font-weight: 400 !important;
  color: #666666;                 /* Standard-Textfarbe */
  background-color: #ffffff;
}

/* Überschriften-Grundformat */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 20px;
  font-family: "Open Sans", sans-serif !important;
  font-weight: 700;
  letter-spacing: 0;
}

/* H2-Größe */
h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
}

/* H3-Größe */
h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
}

/* H4 */
h4 {
  font-size: 21px;
  font-weight: 600;
  line-height: 30px;
}

/* H5 */
h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

/* =====================================================
   ÜBERSCHRIFTEN-FARBEN (CI-Vorgabe)
   ===================================================== */

/* H2 neutral */
h2 {
  color: #666666;
}

/* H3 Akzentfarbe */
h3 {
  color: #0069b4;
}



/* =====================================================
   LAYOUT: Horizontale Artikel (Desktop)
   ===================================================== */

@media (min-width: 992px) {
  .hm-netzw-articles-horizontal .sppb-addon-article {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }

  .hm-netzw-articles-horizontal .sppb-addon-article .sppb-article-img-wrap,
  .hm-netzw-articles-horizontal .sppb-addon-article .sppb-article-info-wrap {
    flex: 1;
  }

  .hm-netzw-articles-horizontal .sppb-addon-article .sppb-article-img-wrap {
    padding-right: 25px;
  }

  .hm-netzw-articles-horizontal .sppb-addon-article .sppb-article-info-wrap .sppb-readmore {
    margin-top: 20px;
    float: right;
  }
}



/* =====================================================
   SERVICE-CARDS (Hover-Effekt)
   ===================================================== */

.hm-netzwe-service-card {
  transition: 0.2s ease;
  animation-fill-mode: none;
}

/* Vergrößerung beim Hover */
.hm-netzwe-service-card:hover {
  transform: scale(1.1);
}

/* Icon-Größe */
.hm-netzwe-service-card .sppb-addon-title-icon {
  font-size: 24px;
}



/* =====================================================
   GENERISCHE HELFERKLASSEN
   ===================================================== */

/* Erzwingt Textfarbe innerhalb des Containers */
.hm-netzwe-text-color-in * {
  color: #666666 !important;
}

/* Icon-Abstand oben */
.hm-netzwe-icon-top .fas {
  display: block;
  margin-bottom: 5px;
}

/* Entfernt Margin innerhalb Container */
.hm-netzwe-no-margin-in * {
  margin: 0 !important;
}



/* =====================================================
   ICON-LISTE (Styling)
   ===================================================== */

.hm-netzw-icon-list.hm-netzw-left .sppb-icons-group-list li {
  margin-bottom: 5px;
  padding: 5px 10px;
  background: #fff;
  text-align: left;
  color: #666666;
}



/* =====================================================
   FOOTER-BEREICH
   ===================================================== */

.hm-netzw-footer,
.hm-netzw-copyright {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 0;
  line-height: 24px;
  text-align: left;
  color: #fffffe;
}



/* =====================================================
   CONTENT-BEREICHE
   ===================================================== */

/* Heller Hintergrund im Top-Bereich */
.hm-netzw-top-content {
  background: #fbfbfb;
  padding-top: 55px;
  padding-bottom: 70px;
}

/* Unterbereich */
.hm-netzw-sub-content {
  padding-top: 50px;
  padding-bottom: 100px;
}

/* H3 im Sub-Content immer blau */
.hm-netzw-sub-content h3 {
  color: #0069b4;
}



/* =====================================================
   BILD-ZENTRIERUNG
   ===================================================== */

.rg-img-center {
    margin: 0 auto;
    display: block;
}

.text-rg-img-center {
    text-align: center;
}



/* =====================================================
   ARTICLES SCROLLER – Kategorie ausblenden
   ===================================================== */

.sppb-addon-articles-carousel a[itemprop="genre"] {
    display: none !important;
}



/* =====================================================
   ARTICLES SCROLLER – Datum nur bei speziellem Scroller ausblenden
   ===================================================== */

.sppb-addon-articles-carousel.no-date-scroller 
.sppb-articles-carousel-meta-date {
    display: none !important;
}



/* =====================================================
   LISTEN-STYLING (Einzelansicht Artikel)
   ===================================================== */

.com_content.article ul {
    list-style: disc;
    list-style-position: outside;
    padding-left: 1.25rem;
}



/* =====================================================
   SP Page Builder – Tabs als Menü-Design
   ===================================================== */

.school-tabs .sppb-nav-tabs {
    border-bottom: none;
    margin-bottom: 0;
}

.school-tabs .sppb-nav-tabs > li > a {
    background: #f4f6f8;
    padding: 12px 20px;
    margin-right: 10px;
    border-radius: 6px 6px 0 0;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.school-tabs .sppb-nav-tabs > li > a:hover {
    background: #e8eef4;
    color: #005ca9;
}

.school-tabs .sppb-nav-tabs > li > a[aria-selected="true"],
.school-tabs .sppb-nav-tabs > li.active > a {
    background: #ffffff;
    color: #005ca9;
    font-weight: 600;
    border-bottom: 2px solid #005ca9;
}

.school-tabs .sppb-tab-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 0 6px 6px 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Mobile Scroll für Tabs */
@media (max-width: 768px) {
    .school-tabs .sppb-nav-tabs {
        white-space: nowrap;
        overflow-x: auto;
    }

    .school-tabs .sppb-nav-tabs > li {
        float: none;
        display: inline-block;
    }
}