.global-header-mainbar,
.global-header-topbar {
    position: relative;
    z-index: 9999 !important;
}

/* ============================================================
   1. TYPOGRAFIE & BASIS
   ============================================================ */
:root {
  --max-width: 1280px;
  --global-gutter: 2.5em;
}

.global-header-topbar,
.global-header-mainbar,
.gh-mainnav,
.gh-mini-megamenu,
.gh-mini-megamenu *,
.gh-top-item > a,
.gh-btn-red {
  font-family: 'Artifakt Element', sans-serif !important;
}

.global-header-topbar {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.gh-mainnav > a,
.gh-top-item > a {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   2. TOPBAR
   ============================================================ */
.global-header-topbar {
  background: #000;
  color: #fff;
  font-size: 15px;
  padding: 0.3rem 0;
}

.global-header-topbar .gh-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.global-header-topbar a {
  color: #fff;
  text-decoration: none;
}

.global-header-topbar a:hover {
  color: #ff6666;
}

/* ============================================================
   3. MAINBAR (Sticky Navigation)
   ============================================================ */
.global-header-mainbar {
  position: sticky;
  top: 0;
  background: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221,221,221,0.6);
  z-index: 200;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.global-header-mainbar .gh-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.gh-logo img { max-height: 50px; }
.gh-phone { padding-right: 15px; }

body.has-scrolled .global-header-mainbar {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

/* ============================================================
   4. NAVIGATION (Desktop)
   ============================================================ */
.gh-mainnav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 19px;
}

.gh-mainnav > a {
  font-weight: 500;
  color: #000;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
}

.gh-mainnav > a:hover,
.gh-mainnav a.active,
.gh-mainnav .current-menu-item > a,
.gh-mainnav .current_page_item > a,
.gh-mainnav .current_page_ancestor > a {
  color: #d00000 !important;
}
/* Active State für "Bereiche" Hauptmenüpunkt */
.gh-mainnav .has-mega.is-active > a {
    color: #d00000 !important;
}

/* Active State für einzelnen Bereich im Mega-Menü */
.gh-mega-column.is-active > a,
.gh-mega-column.is-active > a h4,
.gh-mega-column.is-active h4 {
    color: #d00000 !important;
}
/* ============================================================
   5. MEGAMENÜ (Desktop)
   ============================================================ */
   
.gh-megamenu {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gh-megamenu.open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.gh-mega-inner {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: calc(1.5rem + 6px);
  padding-bottom: 1.5rem;
}

.gh-mega-column h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem!important;
  color: #444;
}

.gh-mega-column ul {
 list-style: square;
margin: 0;
padding-left: 1.5rem;
color: indianred;
}

.gh-mega-column li { line-height: 1.5; }

.gh-mega-column a {
  text-decoration: none;
  color: #000;
  font-size: 1rem;
}

.gh-mega-column a:hover { color: #d00000; }

.gh-mega-headlink {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.gh-mega-headlink h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #000;
}

.gh-mega-headlink:hover h4,
.gh-mega-headlink.active h4 {
  color: #d00000;
}

.gh-mega-img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0.5rem 0 1rem;
}

/* ============================================================
   6. MINI-MEGAMENÜ (Topbar)
   ============================================================ */
.gh-top-item.has-mini { position: relative; }

.gh-top-item.has-mini > a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.gh-mini-megamenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  padding: 1.5rem 0;
  z-index: 1100;
  min-width: 720px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gh-mini-megamenu.open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.gh-mini-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 2rem;
}

.gh-mini-inner.is-2col {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.gh-mini-column h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #333;
  transition: color 0.2s ease;
}

.gh-mini-column a:hover h4 { color: #d00000; }

.gh-mini-column ul { list-style: circle; }
.gh-mini-column li { line-height: 1.6; }

.gh-mini-column a {
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
  white-space: nowrap;
}

.gh-mini-column a:hover { color: #d00000; }

.gh-mini-img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0.5rem 0 1rem;
}
/* ============================================================
   GLOBALER NEWSBALKEN
   ============================================================ */



.ctls-newsbanner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #ffffff;
}

.ctls-newsbanner-inner a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.ctls-newsbanner-inner a:hover {
  text-decoration: none;
}
.ctls-newsbanner {
  width: 100%;
  background: #008cff;
  padding: 12px 0;
  position: sticky;
  top: var(--global-header-height, 90px);
  z-index: 80;
box-shadow: inset 0 8px 8px -4px rgba(0,0,0,0.35);
}
/* ============================================================
   7. MOBILE MENÜ / OVERLAY
   ============================================================ */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 35px;
  font-size: 2rem;
  color: gray;
  background: none !important;
  border: none !important;
  outline: none !important;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.4s ease, color 0.3s ease;
}

.menu-toggle.open { transform: rotate(90deg); color: #000; }
.menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active { color: #000; }

@media (max-width: 995px) {
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
    opacity: 0;
    height: 0;
    transition: height 0.4s ease, opacity 0.4s ease;
    z-index: 100;
  }

  .menu-overlay.open {
    height: 100vh;
    padding-top: 100px;
    opacity: 1;
  }

  .menu-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .menu-btn {
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .menu-btn .arrow { transition: transform 0.3s ease; font-size: 0.9rem; }
  .menu-btn.active .arrow { transform: rotate(180deg); }

  .submenu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
  }

  .submenu a {
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
  }

  .submenu a:hover { color: #d00000; }

  .badge {
    color: #d00000;
    font-size: 0.75rem;
    margin-left: 0.3rem;
  }

  .gh-mainnav,
  .gh-menu-item.has-mega { display: none; }

  .menu-toggle { display: flex; }
}

@media (min-width: 995px) {
  .menu-toggle,
  .menu-overlay { display: none !important; }
}

/* ============================================================
   8. UTILITY / DIVERSES
   ============================================================ */
.tv-icon {
  height: 1.5em;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

.gh-top-right {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: nowrap;
}

.gh-btn-red {
  display: inline-block;
  background: #d00000;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 10px;
}

.gh-btn-red:hover {
  background: #a90000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.gh-support-headline h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #000;
}

.gh-support-headline p { line-height: 1.5; }

.global-overlay,
#globalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.global-overlay.is-active,
#globalOverlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================================
   MOBILE FIX: Topbar ausblenden
   ============================================================ */
@media (max-width: 1060px) {
  .global-header-topbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }


}

/* Standard: mobile-link unsichtbar */
.mobile-news-link {
  display: none;
}

/* Mobil: rechte Spalte aus, mobile link an */
@media (max-width: 995px) {

  .desktop-news-link {
    display: none !important;
  }

  .mobile-news-link {
    display: inline-block !important;

    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
  }
.ctls-newsbanner {
    padding: 9px 0;
}
  
  .ctls-newsbanner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
  }
}