/* ═══════════════════════════════════════════════════════════════════════════
   Ohne !important — nachgemessen, nicht geraten

   Gemessen wurde in einem Prüfstand, der die echten Regeln deines Themes und
   des Elementor-Kits in der richtigen Ladereihenfolge mitführt: 18 Widgets
   nebeneinander, vier Bildschirmbreiten, über 40 Eigenschaften je Element.
   Ergebnis für diese Datei: 7 entfernt, alle wirkungslos
   ═══════════════════════════════════════════════════════════════════════════ */

/* ==========================================
   HDM Flat Header — Weißer Balken
   Heller Digital Custom Widgets v1.3
   ========================================== */

:root {
  --hdm-fh-bg:           #ffffff;
  --hdm-fh-border:       rgba(0,0,0,0.08);
  --hdm-fh-shadow:       0 1px 0 rgba(0,0,0,0.06), 0 6px 20px rgba(0,0,0,0.06);
  --hdm-fh-text:         #0A1628;
  --hdm-fh-muted:        rgba(10,22,40,0.52);
  --hdm-fh-hover:        #1B4FD8;
  --hdm-fh-active:       #1B4FD8;
  --hdm-fh-active-bg:    rgba(27,79,216,0.09);
  --hdm-fh-hover-bg:     rgba(10,22,40,0.05);
  --hdm-fh-cta-bg:       #1B4FD8;
  --hdm-fh-cta-text:     #ffffff;
  --hdm-fh-glow-color:   #1B4FD8;
  --hdm-fh-height:       72px;
  --hdm-fh-max-width:    1280px;
  --hdm-fh-ease:         0.22s cubic-bezier(0.22,1,0.36,1);
  --hdm-fh-spring:       0.34s cubic-bezier(0.34,1.56,0.64,1);
}

/* ======================================
   WRAPPER
   ====================================== */
.hdm-fh-wrap {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 9800;
  width: 100%;
  /* Transition: transparent → white */
  background: var(--hdm-fh-bg);
  border-bottom: 1px solid var(--hdm-fh-border);
  box-shadow: var(--hdm-fh-shadow);
  transition:
    background 0.45s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.45s cubic-bezier(0.22,1,0.36,1),
    border-color 0.45s ease;
}

.hdm-fh-wrap.hdm-fh--relative { position: relative; }

/* ---- Transparent start state ---- */
.hdm-fh-wrap.hdm-fh--transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
/* Nav text color in transparent state */
.hdm-fh-wrap.hdm-fh--transparent .hdm-fh-link {
  color: var(--hdm-fh-text-transp, rgba(10,22,40,0.75));
}
.hdm-fh-wrap.hdm-fh--transparent .hdm-fh-logo-name {
  color: var(--hdm-fh-text-transp, #0A1628);
}
.hdm-fh-wrap.hdm-fh--transparent .hdm-fh-logo-sub {
  color: var(--hdm-fh-text-transp, #0A1628);
}
/* Active item: always use brand color */
.hdm-fh-wrap.hdm-fh--transparent .hdm-fh-item.is-active > .hdm-fh-link {
  color: var(--hdm-fh-active);
}

/* ---- Once scrolled: solid white ---- */
.hdm-fh-wrap.is-scrolled {
  background: var(--hdm-fh-bg);
  border-bottom-color: var(--hdm-fh-border);
  box-shadow: var(--hdm-fh-shadow);
}
.hdm-fh-wrap.is-scrolled .hdm-fh-link {
  color: var(--hdm-fh-muted);
}
.hdm-fh-wrap.is-scrolled .hdm-fh-logo-name { color: var(--hdm-fh-text); }
.hdm-fh-wrap.is-scrolled .hdm-fh-logo-sub  { color: var(--hdm-fh-text); }
.hdm-fh-wrap.is-scrolled .hdm-fh-item.is-active > .hdm-fh-link {
  color: var(--hdm-fh-active);
}

/* Admin bar offset */
body.admin-bar .hdm-fh-wrap { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .hdm-fh-wrap { top: 46px; }
}
.elementor-editor-active .hdm-fh-wrap {
  position: relative; top: 0;
}

/* ======================================
   GLOW BAR — sweep L→R once, then shimmer
   ====================================== */
.hdm-fh-glow-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background-image: linear-gradient(
    90deg,
    var(--hdm-fh-glow-color) 0%,
    rgba(160, 200, 255, 0.95) 50%,
    var(--hdm-fh-glow-color) 100%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  will-change: transform, background-position;
  /* 1. Sweep in left→right (once). 2. Then shimmer loops. */
  animation:
    hdm-fh-glow-sweep   1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards,
    hdm-fh-glow-shimmer 2.6s linear 1.35s infinite;
}
/* Diffuse aura below the line */
.hdm-fh-glow-bar::after {
  content: '';
  position: absolute;
  top: -5px; left: 0; right: 0; bottom: -5px;
  background: var(--hdm-fh-glow-color);
  filter: blur(8px);
  opacity: 0.38;
  border-radius: 2px;
}
@keyframes hdm-fh-glow-sweep {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes hdm-fh-glow-shimmer {
  from { background-position: -100% 0; }
  to   { background-position: 200% 0; }
}

/* ======================================
   FLOATING SQUARES
   ====================================== */
.hdm-fh-float-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hdm-fh-sq {
  position: absolute;
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    var(--sq-c1, #1B4FD8) 0%,
    var(--sq-c2, #0A1628) 100%
  );
  opacity: 0;
  animation: hdm-sq-fly var(--sq-dur, 8s) ease-in-out var(--sq-delay, 0s) infinite;
  will-change: transform, opacity;
}

@keyframes hdm-sq-fly {
  0% {
    opacity: 0;
    transform: translateX(calc(-1 * var(--sq-size, 10px) - 10px))
               translateY(0px)
               rotate(var(--sq-r0, 0deg));
  }
  15% { opacity: var(--sq-alpha, 0.18); }
  75% { opacity: var(--sq-alpha, 0.18); }
  100% {
    opacity: 0;
    transform: translateX(var(--sq-dx, 50px))
               translateY(var(--sq-dy, -6px))
               rotate(var(--sq-r1, 12deg));
  }
}

/* ======================================
   INNER CONTAINER
   ====================================== */
.hdm-fh-inner {
  position: relative;
  z-index: 1;
  max-width: var(--hdm-fh-max-width);
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--hdm-fh-pl, clamp(16px, 3vw, 40px));
  padding-right: var(--hdm-fh-pr, clamp(16px, 3vw, 40px));
  height: var(--hdm-fh-height);
  display: flex;
  align-items: center;
}

/* ======================================
   LOGO
   ====================================== */
.hdm-fh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
  padding-right: 24px;
  transition: opacity var(--hdm-fh-ease);
}
.hdm-fh-logo:hover { opacity: 0.72; }

.hdm-fh-logo > img {
  height: 38px; width: auto;
  object-fit: contain; display: block;
}
.hdm-fh-logo-texts { display: flex; flex-direction: column; gap: 2px; }
.hdm-fh-logo-name {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hdm-fh-text); line-height: 1;
  transition: color var(--hdm-fh-ease);
}
.hdm-fh-logo-sub {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hdm-fh-text); opacity: 0.38; line-height: 1;
  transition: color var(--hdm-fh-ease);
}

/* ======================================
   NAV
   ====================================== */
.hdm-fh-nav {
  display: flex; align-items: center;
  gap: 12px; flex-shrink: 0;
}

.hdm-fh-menu {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
  gap: 2px; position: relative;
}

/* ---- Glider — gradient underline ---- */
.hdm-fh-glider {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--hdm-fh-active) 22%,
    var(--hdm-fh-active) 78%,
    transparent 100%
  );
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition:
    left   0.30s cubic-bezier(0.34,1.56,0.64,1),
    width  0.30s cubic-bezier(0.34,1.56,0.64,1),
    opacity 0.18s ease;
}
.hdm-fh-glider.is-visible { opacity: 1; }

/* ---- Nav item ---- */
.hdm-fh-item { position: relative; z-index: 1; }

.hdm-fh-link {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  color: var(--hdm-fh-muted);
  text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; border-radius: 100px;
  transition: color var(--hdm-fh-ease);
}
.hdm-fh-link:hover { color: var(--hdm-fh-text); }

/* ---- ACTIVE STATE: blue text + underline glider ---- */
.hdm-fh-item.is-active > .hdm-fh-link {
  color: var(--hdm-fh-active);
}

/* Dropdown arrow */
.hdm-fh-arrow {
  display: inline-block; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5; flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hdm-fh-item--sub.is-open > .hdm-fh-link .hdm-fh-arrow {
  transform: rotate(225deg) translateY(2px); opacity: 0.85;
}

/* ======================================
   SUBMENU
   ====================================== */
.hdm-fh-sub-wrap {
  position: absolute; top: 100%; left: 0;
  padding-top: 10px; opacity: 0;
  /* Geschlossen darf das Panel keine Maus fangen: sonst schliesst es jedes
     andere Dropdown, sobald der Zeiger das Wort verlaesst (25.09.2026). */
  visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.2s;
  transform: scale(0.95) translateY(-6px);
  transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.22,1,0.36,1);
  min-width: 200px; z-index: 300;
}
.hdm-fh-item--sub.is-open .hdm-fh-sub-wrap {
  opacity: 1; transform: scale(1) translateY(0);
  visibility: visible; pointer-events: auto; transition-delay: 0s;
}
.hdm-fh-sub {
  background: #ffffff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px; padding: 6px; list-style: none; margin: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.11), 0 4px 10px rgba(0,0,0,0.05);
}
.hdm-fh-sub li a {
  display: block; padding: 9px 14px;
  color: var(--hdm-fh-text); text-decoration: none;
  font-size: 13.5px; font-weight: 500; border-radius: 9px; white-space: nowrap;
  transition: color var(--hdm-fh-ease), background var(--hdm-fh-ease);
}
.hdm-fh-sub li a:hover { color: var(--hdm-fh-hover); background: var(--hdm-fh-active-bg); }

/* ======================================
   SEPARATOR + CTA
   ====================================== */
.hdm-fh-sep {
  width: 1px; height: 20px;
  background: rgba(0,0,0,0.10); flex-shrink: 0; margin: 0 4px;
}
.hdm-fh-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; background: var(--hdm-fh-cta-bg);
  color: var(--hdm-fh-cta-text);
  text-decoration: none; font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1; border-radius: 100px;
  flex-shrink: 0; white-space: nowrap; border: none; cursor: pointer;
  transition: transform var(--hdm-fh-spring), box-shadow var(--hdm-fh-ease);
}
.hdm-fh-cta:hover { transform: scale(1.04); box-shadow: 0 6px 24px rgba(27,79,216,0.35); }
.hdm-fh-cta:active { transform: scale(0.97); }

/* ======================================
   MOBILE TOGGLE
   ====================================== */
.hdm-fh-toggle {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  width: 38px; height: 38px; gap: 5.5px;
  cursor: pointer; background: none; border: none;
  padding: 0; border-radius: 10px; flex-shrink: 0;
  transition: background var(--hdm-fh-ease);
}
.hdm-fh-toggle:hover { background: var(--hdm-fh-hover-bg); }
.hdm-fh-toggle span {
  display: block; width: 19px; height: 1.5px;
  background: var(--hdm-fh-text); border-radius: 2px; transform-origin: center;
  transition: transform .28s cubic-bezier(0.22,1,.36,1), opacity .2s ease, width .28s ease;
}
.hdm-fh-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdm-fh-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hdm-fh-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================
   MOBILE PANEL
   ====================================== */
.hdm-fh-mobile {
  display: none; overflow: hidden; max-height: 0;
  background: var(--hdm-fh-bg); border-top: 1px solid var(--hdm-fh-border);
  transition: max-height 0.36s cubic-bezier(0.22,1,0.36,1);
}
.hdm-fh-mobile.is-open { max-height: 640px; }
.hdm-fh-mobile ul { list-style: none; margin: 0; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.hdm-fh-mobile li { opacity: 0; transform: translateY(6px); }
.hdm-fh-mobile.is-open li {
  opacity: 1; transform: none;
  transition: opacity .24s ease, transform .24s cubic-bezier(0.22,1,0.36,1);
}
.hdm-fh-mobile.is-open li:nth-child(1) { transition-delay:.03s }
.hdm-fh-mobile.is-open li:nth-child(2) { transition-delay:.06s }
.hdm-fh-mobile.is-open li:nth-child(3) { transition-delay:.09s }
.hdm-fh-mobile.is-open li:nth-child(4) { transition-delay:.12s }
.hdm-fh-mobile.is-open li:nth-child(5) { transition-delay:.15s }
.hdm-fh-mobile.is-open li:nth-child(6) { transition-delay:.18s }
.hdm-fh-mobile.is-open li:nth-child(7) { transition-delay:.21s }

.hdm-fh-mobile li a {
  display: block; padding: 12px 14px;
  color: var(--hdm-fh-text); text-decoration: none;
  font-size: 16px; font-weight: 600; border-radius: 10px;
  transition: color var(--hdm-fh-ease), background var(--hdm-fh-ease);
}
.hdm-fh-mobile li.is-active a { color: var(--hdm-fh-active); background: var(--hdm-fh-active-bg); }
.hdm-fh-mobile li a:hover { background: var(--hdm-fh-hover-bg); }

.hdm-fh-mobile-cta {
  display: block; margin: 4px 12px 12px; padding: 14px; text-align: center;
  background: var(--hdm-fh-cta-bg); color: var(--hdm-fh-cta-text);
  text-decoration: none; font-size: 15px; font-weight: 700; border-radius: 12px;
  transition: opacity var(--hdm-fh-ease);
}
.hdm-fh-mobile-cta:hover { opacity: 0.85; }

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 900px) {
  .hdm-fh-menu, .hdm-fh-sep, .hdm-fh-cta { display: none; }
  .hdm-fh-logo { padding-right: 0; }
  .hdm-fh-toggle { display: flex; }
  .hdm-fh-mobile { display: block; }
}
@media (max-width: 480px) {
  .hdm-fh-logo > img { height: 30px; }
  .hdm-fh-logo-name { font-size: 15px; }
}

/* ======================================
   MEGA-MENÜ (3.2.0)
   Volle Breite der Kopfzeile, mittig, auf die Inhaltsbreite begrenzt.
   ====================================== */
.hdm-fh-wrap { position: relative; }
.hdm-fh-item--mega { position: static; }
.hdm-fh-sub-wrap--mega {
  left: 50%; right: auto; min-width: 0;
  width: min(1240px, calc(100vw - var(--hdm-sbw, 0px) - 32px));
  transform-origin: top center;
  transform: translateX(-50%) scale(0.985) translateY(-6px);
}
.hdm-fh-item--mega.is-open .hdm-fh-sub-wrap--mega { transform: translateX(-50%) scale(1) translateY(0); }
.hdm-fh-mega {
  display: grid;
  grid-template-columns: repeat(var(--fh-mega-cols, 3), minmax(0, 1fr));
  gap: 6px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6,22,47,0.14), 0 4px 12px rgba(0,0,0,0.05);
}
.hdm-fh-mega.has-teaser { grid-template-columns: repeat(var(--fh-mega-cols, 3), minmax(0, 1fr)) minmax(200px, 0.85fr); }
.hdm-fh-mega-col { padding: 4px 4px 8px; min-width: 0; }
.hdm-fh-mega-col + .hdm-fh-mega-col { border-left: 1px solid rgba(6,22,47,0.06); padding-left: 14px; }
.hdm-fh-mega-titel {
  margin: 4px 10px 6px; min-height: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hdm-fh-active, #0A55F0);
}
.hdm-fh-mega-col ul { list-style: none; margin: 0; padding: 0; }
.hdm-fh-mega-col li a {
  display: block; padding: 7px 10px; border-radius: 10px;
  text-decoration: none; color: var(--hdm-fh-text, #06162F);
  transition: background 0.18s ease, transform 0.18s ease;
}
.hdm-fh-mega-col li a b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; white-space: normal; }
.hdm-fh-mega-col li a span { display: block; margin-top: 1px; font-size: 12px; line-height: 1.3; color: var(--hdm-fh-muted, #3f5069); white-space: normal; }
.hdm-fh-mega-col li a:hover { background: var(--hdm-fh-active-bg, rgba(10,85,240,0.06)); transform: translateX(2px); }
.hdm-fh-mega-col li a:hover b { color: var(--hdm-fh-hover, #0A55F0); }
.hdm-fh-mega-mehr {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 8px 10px 0; font-size: 13px; font-weight: 700;
  color: var(--hdm-fh-active, #0A55F0); text-decoration: none;
}
.hdm-fh-mega-mehr i { font-style: normal; transition: transform 0.2s; }
.hdm-fh-mega-mehr:hover i { transform: translateX(3px); }
.hdm-fh-mega-teaser {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  align-self: start; min-height: 220px; max-height: 300px; padding: 20px; border-radius: 16px; overflow: hidden;
  color: #fff; text-decoration: none;
  background:
    linear-gradient(180deg, rgba(6,22,47,0.05) 0%, rgba(6,22,47,0.78) 100%),
    var(--fh-teaser-bild, linear-gradient(135deg, #0A3FA8, #2EA7FF)) center / cover no-repeat;
  transition: transform 0.25s ease;
}
.hdm-fh-mega-teaser:hover { transform: translateY(-2px); }
.hdm-fh-mega-teaser small { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.hdm-fh-mega-teaser b { font-size: 17px; line-height: 1.2; }
.hdm-fh-mega-teaser span { font-size: 13px; line-height: 1.4; opacity: 0.9; }
.hdm-fh-mega-teaser em { font-style: normal; font-size: 13px; font-weight: 700; margin-top: 4px; }
@media (max-width: 1100px) {
  .hdm-fh-mega.has-teaser { grid-template-columns: repeat(var(--fh-mega-cols, 3), minmax(0, 1fr)); }
  .hdm-fh-mega-teaser { display: none; }
}

/* Mobil: Untermenüs als eingerückte Liste */
.hdm-fh-mobile-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hdm-fh-mobile-row > a { flex: 1; font-weight: 700; }
.hdm-fh-mobile-plus { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(10,85,240,0.08); cursor: pointer; }
.hdm-fh-mobile-plus span { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--hdm-fh-active, #0A55F0); transform: translate(-50%, -50%); transition: transform 0.25s; border-radius: 2px; }
.hdm-fh-mobile-plus span:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.hdm-fh-mobile li.is-open > .hdm-fh-mobile-row .hdm-fh-mobile-plus span:last-child { transform: translate(-50%, -50%) rotate(0deg); }
.hdm-fh-mobile-sub { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid rgba(10,85,240,0.15); max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1); }
.hdm-fh-mobile li.is-open > .hdm-fh-mobile-sub { margin-bottom: 8px; }
.hdm-fh-mobile-sub li a { font-size: 15px; font-weight: 500; padding: 8px 12px; opacity: 0.9; }
.hdm-fh-mobile.is-open .hdm-fh-mobile-sub li { opacity: 1; transform: none; }
.hdm-fh-mobile.is-open { max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Eingeloggt: Elementor-Sticky setzt den Container schon 32 px tiefer, der
   eigene Versatz fuer die Admin-Leiste darf dann nicht noch einmal greifen. */
.admin-bar .elementor-sticky .hdm-fh-wrap,
.admin-bar .elementor-sticky--active .hdm-fh-wrap,
.admin-bar .e-con[data-settings*='"sticky":"top"'] .hdm-fh-wrap { top: 0 !important; }
.hdm-fh-mobile button.hdm-fh-mobile-plus.hdm-fh-mobile-plus { padding: 0 !important; background: rgba(10,85,240,0.08) !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important; }

/* Mega-Menue: Hauptseite je Spalte als verlinkte Kopfzeile, Unterseiten darunter (25.09.2026, Rueckmeldung Alex: keine Labels, keine Kurztexte) */
.hdm-fh-mega-haupt { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 6px 12px 9px; text-decoration: none; color: var(--hdm-fh-text, #06162F); border-bottom: 1px solid rgba(10,85,240,0.16); transition: color 0.2s; }
.hdm-fh-mega-haupt:hover { color: var(--hdm-fh-hover, #0A55F0); }
.hdm-fh-mega-haupt b { font-size: 13.5px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; white-space: normal; }
.hdm-fh-mega-haupt b i { font-style: normal; color: var(--hdm-fh-active, #0A55F0); display: inline-block; margin-left: 4px; transition: transform 0.2s; }
.hdm-fh-mega-haupt:hover b i { transform: translateX(3px); }
.hdm-fh-mega-col .hdm-fh-mega-titel { margin: 6px 12px 4px; font-size: 10px; color: var(--hdm-fh-muted, #3f5069); }
.hdm-fh-mega-col li a { padding: 6px 12px; }
.hdm-fh-mega-col li a b { font-size: 13px; }
.hdm-fh-mega-col li a span { font-size: 11.5px; }
/* 3.6.1: Panel nie breiter als die Kopfzeile, sonst ragt es rechts aus dem Fenster und die Seite scrollt seitlich */
.hdm-fh-sub-wrap--mega { width: min(1320px, calc(100vw - var(--hdm-sbw, 0px) - 32px)); }
/* Die waagerechte Lage setzt hdm-flat-header.js je Panel (Fenstermitte minus linker Rand des Bezugselements). */
.hdm-fh-mega { gap: 4px; padding: 14px; }
.hdm-fh-mega-col { padding: 2px 2px 6px; }
.hdm-fh-mega-col + .hdm-fh-mega-col { padding-left: 8px; }

/* 3.8.0: Hauptseiten ohne Unterpunkte stehen einzeln als Kachel */
.hdm-fh-mega-einzel { display: block; margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: rgba(10,85,240,0.05); border: 1px solid rgba(10,85,240,0.10); text-decoration: none; color: var(--hdm-fh-text, #06162F); transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.hdm-fh-mega-einzel:hover { background: rgba(10,85,240,0.10); border-color: rgba(10,85,240,0.28); transform: translateX(2px); }
.hdm-fh-mega-einzel b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; white-space: normal; }
.hdm-fh-mega-einzel b i { font-style: normal; color: var(--hdm-fh-active, #0A55F0); display: inline-block; margin-left: 4px; transition: transform 0.2s; }
.hdm-fh-mega-einzel:hover b i { transform: translateX(3px); }
.hdm-fh-mega-einzel span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--hdm-fh-muted, #3f5069); white-space: normal; }
.hdm-fh-mega-col.hat-einzel .hdm-fh-mega-titel { margin-top: 12px; }

/* 4.8.0: Mega-Menü als Navigator */
.hdm-fh-sub-wrap--nv { width: min(1240px, calc(100vw - var(--hdm-sbw, 0px) - 32px)); padding-top: 12px; }
.hdm-fh-nv { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; background: #fff; border-radius: 24px 24px 0 0; border: 1px solid rgba(6,22,47,0.08); border-bottom: 0; box-shadow: 0 30px 70px -20px rgba(6,22,47,0.28); overflow: hidden; min-height: 400px; }
.hdm-fh-nv.hat-seite { grid-template-columns: 300px minmax(0, 1fr) 280px; }
.hdm-fh-nv--raster { grid-template-columns: minmax(0, 1fr); }
.hdm-fh-nv--raster.hat-seite { grid-template-columns: minmax(0, 1fr) 280px; }
.hdm-fh-nv-liste { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: #F6F8FC; border-right: 1px solid rgba(6,22,47,0.06); }
.hdm-fh-nv .hdm-fh-nv-g { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 0 !important; background: transparent !important; color: #06162F !important; text-decoration: none !important; text-align: left; font: inherit; cursor: pointer; position: relative; transition: background .2s, box-shadow .2s; }
.hdm-fh-nv-g i { font-style: normal; font-size: 11px; font-weight: 700; color: #9AA7B8; font-variant-numeric: tabular-nums; }
.hdm-fh-nv-g span { display: flex; flex-direction: column; min-width: 0; }
.hdm-fh-nv-g b { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.hdm-fh-nv-g small { margin-top: 2px; font-size: 12px; line-height: 1.35; color: #5B6B80; white-space: normal; }
.hdm-fh-nv-g em { font-style: normal; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #5B6B80; background: rgba(6,22,47,0.06); }
.hdm-fh-nv .hdm-fh-nv-g.is-an { background: #fff !important; box-shadow: 0 10px 24px -14px rgba(6,22,47,0.35), 0 0 0 1px rgba(10,85,240,0.12); }
.hdm-fh-nv-g.is-an i, .hdm-fh-nv-g.is-an b { color: #0A55F0; }
.hdm-fh-nv-g.is-an em { background: #0A55F0; color: #fff; }
.hdm-fh-nv-g.is-an::before { content: ""; position: absolute; left: -14px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: #0A55F0; }
.hdm-fh-nv-buehne { position: relative; padding: 22px 24px; min-width: 0; }
.hdm-fh-nv-p { display: none; }
.hdm-fh-nv-p.is-an { display: block; animation: hdm-nv-ein .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hdm-nv-ein { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.hdm-fh-nv-kopf { display: flex; gap: 20px; align-items: center; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid rgba(6,22,47,0.07); }
.hdm-fh-nv-bild { flex: 0 0 120px; height: 90px; border-radius: 16px; background: #EEF3FB center/cover no-repeat; }
.hdm-fh-nv-kopf b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #06162F; }
.hdm-fh-nv-kopf p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #4A5A70; white-space: normal; }
.hdm-fh-nv .hdm-fh-nv-zu { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: #0A55F0 !important; text-decoration: none !important; }
.hdm-fh-nv-zu svg, .hdm-fh-nv-karten i svg, .hdm-fh-nv-teaser em svg, .hdm-fh-nv-fuss a svg { width: 15px; height: 15px; transition: transform .2s; }
.hdm-fh-nv-zu:hover svg { transform: translateX(3px); }
.hdm-fh-nv-p.ohne-karten .hdm-fh-nv-kopf { flex-direction: column; align-items: stretch; border-bottom: 0; }
.hdm-fh-nv-p.ohne-karten .hdm-fh-nv-bild { flex: none; width: 100%; height: 220px; border-radius: 20px; }
.hdm-fh-nv-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.hdm-fh-nv--raster .hdm-fh-nv-karten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hdm-fh-nv .hdm-fh-nv-karten a { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 40px 14px 16px; border-radius: 16px; border: 1px solid rgba(6,22,47,0.08); background: #fff; color: #06162F !important; text-decoration: none !important; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.hdm-fh-nv-karten b { font-size: 14.5px; font-weight: 700; line-height: 1.25; white-space: normal; }
.hdm-fh-nv-karten span { font-size: 12.5px; line-height: 1.4; color: #5B6B80; white-space: normal; }
.hdm-fh-nv-karten i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #B4C0CF; display: grid; }
.hdm-fh-nv .hdm-fh-nv-karten a:hover { border-color: rgba(10,85,240,0.35); background: #F7FAFF; transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(10,85,240,0.5); }
.hdm-fh-nv-karten a:hover b, .hdm-fh-nv-karten a:hover i { color: #0A55F0; }
.hdm-fh-nv-karten a:hover i svg { transform: translateX(3px); }
.hdm-fh-nv-seite { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-left: 1px solid rgba(6,22,47,0.06); background: #FBFCFE; }
.hdm-fh-nv .hdm-fh-nv-teaser { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 14px; border-radius: 18px; background: #06162F; color: #fff !important; text-decoration: none !important; overflow: hidden; }
.hdm-fh-nv-teaser span { display: block; aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 8px; background: #0E2348 center/cover no-repeat; transition: transform .4s; }
.hdm-fh-nv-teaser:hover span { transform: scale(1.03); }
.hdm-fh-nv-teaser small { padding: 0 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7FB2FF; }
.hdm-fh-nv-teaser b { padding: 0 4px; font-size: 16px; font-weight: 800; line-height: 1.25; white-space: normal; }
.hdm-fh-nv-teaser p { margin: 2px 0 0; padding: 0 4px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.72); white-space: normal; }
.hdm-fh-nv-teaser em { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 4px; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; }
.hdm-fh-nv-teaser:hover em svg { transform: translateX(3px); }
.hdm-fh-nv-neben { display: flex; flex-direction: column; gap: 2px; }
.hdm-fh-nv-neben small { margin: 2px 8px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A97A8; }
.hdm-fh-nv .hdm-fh-nv-neben a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; color: #06162F !important; text-decoration: none !important; transition: background .2s; }
.hdm-fh-nv-neben a b { font-size: 13.5px; font-weight: 700; white-space: normal; }
.hdm-fh-nv-neben a span { font-size: 11.5px; color: #5B6B80; white-space: normal; }
.hdm-fh-nv .hdm-fh-nv-neben a:hover { background: rgba(10,85,240,0.06); }
.hdm-fh-nv-neben a:hover b { color: #0A55F0; }
.hdm-fh-nv-fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 24px; background: #06162F; border-radius: 0 0 24px 24px; box-shadow: 0 30px 70px -20px rgba(6,22,47,0.28); font-size: 13px; color: rgba(255,255,255,0.7); }
.hdm-fh-nv-fuss a { color: #fff !important; text-decoration: none !important; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.hdm-fh-nv-fuss a:hover svg { transform: translateX(3px); }
.hdm-fh-nv-fuss span a { display: inline; }
.hdm-fh-nv:not(:has(+ .hdm-fh-nv-fuss)) { border-radius: 24px; border-bottom: 1px solid rgba(6,22,47,0.08); }
@media (max-width: 1180px) { .hdm-fh-nv.hat-seite { grid-template-columns: 260px minmax(0, 1fr) 240px; } }

/* 4.8.1: Bild der Gruppe als breites Banner über den Karten */
.hdm-fh-nv-p.hat-bild .hdm-fh-nv-kopf { position: relative; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-bottom: 0; margin-bottom: 14px; border-radius: 20px; overflow: hidden; background: #06162F; min-height: 190px; justify-content: flex-end; }
.hdm-fh-nv-p.hat-bild .hdm-fh-nv-bild { position: absolute; inset: 0; width: auto; height: auto; flex: none; border-radius: 0; transition: transform .6s ease; }
.hdm-fh-nv-p.hat-bild .hdm-fh-nv-kopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,22,47,.92) 0%, rgba(6,22,47,.7) 45%, rgba(6,22,47,.1) 100%); }
.hdm-fh-nv-p.hat-bild .hdm-fh-nv-kopf > div { position: relative; z-index: 1; padding: 22px 24px; max-width: 60%; }
.hdm-fh-nv-p.hat-bild .hdm-fh-nv-kopf b { color: #fff; }
.hdm-fh-nv-p.hat-bild .hdm-fh-nv-kopf p { color: rgba(255,255,255,.78); }
.hdm-fh-nv .hdm-fh-nv-p.hat-bild .hdm-fh-nv-zu { color: #fff !important; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); }
.hdm-fh-nv-p.hat-bild:hover .hdm-fh-nv-bild { transform: scale(1.04); }
.hdm-fh-nv-p.hat-bild.ohne-karten .hdm-fh-nv-kopf { min-height: 300px; }

/* ======================================
   4.13.2 (Alex): Menü-Knopf und Handy-Menü neu
   ====================================== */
.hdm-fh-wrap .hdm-fh-toggle.hdm-fh-toggle{width:46px!important;height:46px!important;min-width:0!important;padding:0!important;gap:5px;border:1px solid rgba(6,22,47,.1)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 20px -14px rgba(6,22,47,.45)!important;color:#06162F!important}
.hdm-fh-wrap .hdm-fh-toggle span{width:20px;height:2px;background:#06162F!important;border-radius:2px}
.hdm-fh-wrap .hdm-fh-toggle span:nth-child(2){width:14px;margin-left:6px}
.hdm-fh-wrap .hdm-fh-toggle:hover,.hdm-fh-wrap .hdm-fh-toggle:focus-visible{background:#F2F5FA!important}
.hdm-fh-mobile{display:none!important}
.hdm-fhm{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;background:radial-gradient(70% 45% at 100% 0%,rgba(10,85,240,.08),transparent 60%),#fff;color:#06162F;font-family:var(--e-global-typography-text-font-family,Manrope),sans-serif;opacity:0;visibility:hidden;transform:translateY(-12px);transition:opacity .3s ease,transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s .45s}
.hdm-fhm.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s}
html.hdm-fhm-offen,html.hdm-fhm-offen body{overflow:hidden!important}
.hdm-fhm-kopf{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #eef1f5}
.hdm-fhm-logo img{display:block;height:34px;width:auto}
.hdm-fhm-logo{font-weight:800;color:#06162F!important;text-decoration:none!important}
.hdm-fhm .hdm-fhm-zu{position:relative;width:46px!important;height:46px!important;padding:0!important;border:1px solid rgba(6,22,47,.1)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;cursor:pointer}
.hdm-fhm-zu span{position:absolute;left:50%;top:50%;width:20px;height:2px;margin:-1px 0 0 -10px;border-radius:2px;background:#06162F;transform:rotate(45deg)}
.hdm-fhm-zu span+span{transform:rotate(-45deg)}
.hdm-fhm-buehne{position:relative;flex:1;overflow:hidden}
.hdm-fhm-ebene{position:absolute;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 20px 32px;transform:translateX(100%);visibility:hidden;transition:transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s .45s}
.hdm-fhm-ebene[data-ebene="0"]{display:flex;flex-direction:column;transform:translateX(-30%)}
.hdm-fhm-ebene.is-an{transform:none;visibility:visible;transition:transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s}
.hdm-fhm-liste{list-style:none;margin:0;padding:0}
.hdm-fhm-liste li{border-bottom:1px solid #eef1f5;opacity:0;transform:translateY(10px)}
.hdm-fhm.is-open .hdm-fhm-liste li{opacity:1;transform:none;transition:opacity .35s ease calc(var(--i) * 45ms + 80ms),transform .5s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 45ms + 80ms)}
.hdm-fhm .hdm-fhm-liste a,.hdm-fhm .hdm-fhm-liste button{display:flex!important;align-items:center;justify-content:space-between;width:100%;padding:18px 2px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#06162F!important;font-family:var(--e-global-typography-primary-font-family,Urbanist),sans-serif;font-size:1.65rem!important;font-weight:700!important;letter-spacing:-.02em;line-height:1.1!important;text-align:left;text-decoration:none!important;text-transform:none!important;cursor:pointer}
.hdm-fhm-liste svg{flex:0 0 34px;width:34px;height:34px;padding:8px;border-radius:50%;background:#F2F5FA;color:#0A55F0;box-sizing:border-box;transition:background .2s,color .2s}
.hdm-fhm-liste a:active svg,.hdm-fhm-liste button:active svg{background:#0A55F0;color:#fff}
.hdm-fhm-fuss{margin-top:auto;padding-top:28px;display:grid;gap:14px}
.hdm-fhm .hdm-fhm-cta{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 20px;border-radius:999px;background:#0A55F0;color:#fff!important;font-weight:800;font-size:1rem;text-decoration:none!important;box-shadow:0 16px 30px -16px #0A55F0}
.hdm-fhm-cta svg{width:18px;height:18px}
.hdm-fhm-wege{display:grid;gap:8px}
.hdm-fhm-wege a{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#F6F8FC;color:#06162F!important;font-weight:700;font-size:.92rem;text-decoration:none!important}
.hdm-fhm-wege svg{width:18px;height:18px;color:#0A55F0}
.hdm-fhm .hdm-fhm-zurueck{display:inline-flex!important;align-items:center;gap:6px;padding:8px 14px 8px 8px!important;border:0!important;border-radius:999px!important;background:#F2F5FA!important;box-shadow:none!important;color:#06162F!important;font-weight:700!important;font-size:.88rem!important;cursor:pointer}
.hdm-fhm-zurueck svg{width:18px;height:18px}
.hdm-fhm-titel{margin:18px 0 6px!important;font-family:var(--e-global-typography-primary-font-family,Urbanist),sans-serif;font-size:2.1rem!important;font-weight:800!important;letter-spacing:-.025em;line-height:1.05!important;color:#06162F}
.hdm-fhm .hdm-fhm-alle{display:inline-flex;align-items:center;gap:8px;margin:4px 0 14px;color:#0A55F0!important;font-weight:800;font-size:.95rem;text-decoration:none!important}
.hdm-fhm-alle svg{width:16px;height:16px}
.hdm-fhm-gruppe{padding:14px 0;border-top:1px solid #eef1f5}
.hdm-fhm .hdm-fhm-gk{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px!important;color:#06162F!important;text-decoration:none!important}
.hdm-fhm-gk span{display:flex;flex-direction:column;font-size:1.12rem;font-weight:800;letter-spacing:-.01em}
.hdm-fhm-gk small{margin-top:2px;font-size:.8rem;font-weight:500;color:#6b7788;letter-spacing:0}
.hdm-fhm-gk svg{flex:0 0 30px;width:30px;height:30px;padding:7px;border-radius:50%;background:#EEF3FB;color:#0A55F0;box-sizing:border-box}
.hdm-fhm-gruppe ul{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:2px}
.hdm-fhm .hdm-fhm-gruppe li a{display:block;padding:10px 12px;border-radius:12px;color:#3c4a5c!important;font-size:.98rem;font-weight:600;text-decoration:none!important}
.hdm-fhm .hdm-fhm-gruppe li a:active{background:#F2F5FA}
.hdm-fhm-gruppe li.ist-mehr a{color:#0A55F0!important;font-weight:700}
@media (min-width:901px){.hdm-fhm{display:none}}
@media (prefers-reduced-motion:reduce){.hdm-fhm,.hdm-fhm *{transition:none!important}}
/* 4.13.3: inaktive Menü-Ebene scheint beim Wechsel nicht mehr durch */
.hdm-fhm-ebene{background:#fff;opacity:0;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease,visibility 0s .45s}
.hdm-fhm-ebene.is-an{opacity:1;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease,visibility 0s}
/* 4.14.0: geschlossenes Handy-Menü darf keine Berührungen abfangen (aktive Ebene war trotz verstecktem Menü sichtbar und lag unsichtbar über der Seite) */
.hdm-fhm:not(.is-open){pointer-events:none}
.hdm-fhm:not(.is-open) .hdm-fhm-ebene{visibility:hidden!important}
