/* MMHP CI — Minimales Grundgerüst für NOVAChild (v2 schlank)
 *
 * Lektion aus v1: Globale Komponenten-Selektoren wie `.box, .box-content-wrapper`
 * greifen in NOVA an vielen nicht erwarteten Stellen und hijacken Layout
 * (Footer-Spalten wurden zu Karten ohne Padding, Header-Hintergrund kollidierte).
 *
 * v2-Prinzip: dieses Stylesheet definiert NUR Tokens, Webfont und wenige,
 * gezielt komponenten-spezifische Klassen. NOVAs Grundlayout bleibt intakt.
 * Wenn wir gezielt eine Card, einen Hero oder einen Banner stylen, nutzen
 * wir `mmhp-`-Klassen statt NOVA-Klassen zu übersteuern.
 */

/* ---------- Webfont Lexend ---------- */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design-Tokens (CSS-Variablen, global verfügbar) ---------- */
:root {
  /* Brand */
  --mmhp-neon-green: #c7ff3f;
  --mmhp-black:      #0a0a0a;
  --mmhp-dark-gray:  #111111;
  --mmhp-light-bg:   #f5f5f5;

  /* Text */
  --mmhp-text-primary:   #1a1a1a;
  --mmhp-text-secondary: rgba(26, 26, 26, 0.72);
  --mmhp-text-muted:     rgba(26, 26, 26, 0.50);

  /* Semantic */
  --mmhp-success: #4ade80;
  --mmhp-warning: #fbbf24;
  --mmhp-error:   #f87171;

  /* Radius */
  --mmhp-radius-btn:   10px;
  --mmhp-radius-card:  14px;
  --mmhp-radius-input: 10px;
  --mmhp-radius-badge: 12px;

  /* Spacing */
  --mmhp-padding-card: 24px;
  --mmhp-gap-elements: 12px;
  --mmhp-btn-padding:  10px 22px;

  /* Elevation */
  --mmhp-shadow:      0 2px 3px 0 rgba(0, 0, 0, 0.12);
  --mmhp-shadow-card: 0 4px 12px 0 rgba(0, 0, 0, 0.06);

  /* Motion */
  --mmhp-transition: all 0.2s ease;
}

/* ---------- Typografie (nur html+body, NOVA-Headings nicht antasten) ---------- */
html,
body {
  font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------------------------------
 * Opt-in-Utility-Klassen — nur wenn wir sie gezielt vergeben:
 * ---------------------------------------------------------------- */

.mmhp-bg-light { background-color: var(--mmhp-light-bg); }
.mmhp-bg-white { background-color: #ffffff; }
.mmhp-bg-black { background-color: var(--mmhp-black); color: #f0f0f0; }
.mmhp-accent   { color: var(--mmhp-neon-green); }

.mmhp-card {
  background-color: #ffffff;
  border-radius: var(--mmhp-radius-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--mmhp-shadow-card);
  padding: var(--mmhp-padding-card);
}

.mmhp-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mmhp-text-secondary);
}

.mmhp-text-muted { color: var(--mmhp-text-muted); }

/* ----------------------------------------------------------------
 * Komponenten-Regeln, die DOM-Elemente betreffen, die PaymentLogo-
 * Injector oder CheckoutAssetsInjector in die Seite einfügen:
 * ---------------------------------------------------------------- */

/* Inline-Validation (A2) — wird nur auf Feldern mit .is-invalid wirksam */
input.is-invalid,
input.is-invalid:focus {
  border-color: var(--mmhp-error) !important;
  box-shadow: 0 0 0 0.15rem rgba(248, 113, 113, 0.15) !important;
}
.mmhp-inline-error {
  color: var(--mmhp-error);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.3;
}

/* Floating Labels (B3) — greift nur auf Wrapper mit .mmhp-floating */
.mmhp-floating {
  position: relative;
  padding-top: 0;
}
.mmhp-floating > label {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 0 4px;
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transition: transform 130ms ease, font-size 130ms ease, color 130ms ease, background-color 130ms ease;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 2;
}
.mmhp-floating > input.form-control,
.mmhp-floating > input {
  height: 48px;
  padding: 18px 14px 6px 14px;
  font-size: 15px;
  line-height: 1.2;
}
.mmhp-floating > input:focus + label,
.mmhp-floating > input:not(:placeholder-shown) + label,
.mmhp-floating:focus-within > label {
  transform: translateY(-14px) scale(0.82);
  color: #495057;
  background-color: #fff;
}
.mmhp-floating > input.is-invalid + label {
  color: var(--mmhp-error);
}
.mmhp-floating > label.pt-0 {
  padding-top: 0 !important;
}

/* Mobile-Collapsed-Summary (B1) */
@media (max-width: 767.98px) {
  .mmhp-mobile-summary-bar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .mmhp-mobile-summary-bar.is-open .mmhp-mobile-summary-chevron {
    transform: rotate(180deg);
  }
  .mmhp-mobile-summary-chevron {
    transition: transform 200ms ease;
    display: inline-block;
  }
  .mmhp-mobile-summary-body {
    display: none;
    background: #f8f9fa;
    padding: 14px 16px;
    border-bottom: 1px solid #dee2e6;
  }
  .mmhp-mobile-summary-bar.is-open + .mmhp-mobile-summary-body {
    display: block;
  }

  /* Sticky Pay-CTA (B2) */
  .mmhp-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 1020;
    background: #fff;
    padding: 12px 16px;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }
  .mmhp-sticky-cta .btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
  }
  .mmhp-keyboard-open .mmhp-sticky-cta {
    display: none;
  }
}

/* ----------------------------------------------------------------
 * Checkout-Feinschliff — NUR auf body.is-checkout aktiv.
 * Damit triggern diese Regeln nicht auf Startseite, Kategorielisten, Artikelseiten.
 * ---------------------------------------------------------------- */

body.is-checkout .form-control {
  border-radius: var(--mmhp-radius-input);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
body.is-checkout .form-control:focus {
  border-color: var(--mmhp-black);
  box-shadow: 0 0 0 3px rgba(199, 255, 63, 0.18);
  outline: none;
}

body.is-checkout .btn.btn-primary,
body.is-checkout button.btn-primary,
body.is-checkout input[type="submit"].btn-primary {
  background-color: var(--mmhp-black);
  border-color: var(--mmhp-black);
  color: #ffffff;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--mmhp-radius-btn);
  padding: var(--mmhp-btn-padding);
  min-height: 44px;
  transition: var(--mmhp-transition);
}
body.is-checkout .btn.btn-primary:hover,
body.is-checkout button.btn-primary:hover,
body.is-checkout input[type="submit"].btn-primary:hover {
  background-color: #1f1f1f;
  border-color: #1f1f1f;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 0 var(--mmhp-neon-green);
}
body.is-checkout .btn.btn-primary:focus,
body.is-checkout button.btn-primary:focus {
  box-shadow: 0 0 0 3px rgba(199, 255, 63, 0.35);
  outline: none;
}

/* Accent-Outline-Variante für seltenen Neon-Akzent */
.btn.btn-outline-accent {
  background-color: transparent;
  border: 1.5px solid var(--mmhp-neon-green);
  color: var(--mmhp-text-primary);
  font-weight: 600;
  border-radius: var(--mmhp-radius-btn);
  padding: var(--mmhp-btn-padding);
  min-height: 44px;
  transition: var(--mmhp-transition);
}
.btn.btn-outline-accent:hover {
  background-color: rgba(199, 255, 63, 0.08);
  border-color: var(--mmhp-neon-green);
  color: var(--mmhp-black);
}

/* ----------------------------------------------------------------
 * Locale-Combo-Widget (Sprache + Waehrung in einem Trigger+Popover)
 * Markup kommt aus LocaleWidgetEnhancer.php, JS aus locale-widget.js.
 * Stil: seriös, hell, mit dezentem Neon-Green-Akzent fuer aktive Items.
 * ---------------------------------------------------------------- */

.mmhp-locale-combo {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mmhp-lc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;                /* Grundabstand zwischen allen Trigger-Teilen */
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--mmhp-radius-btn);
  cursor: pointer;
  transition: var(--mmhp-transition);
  line-height: 1;
}
.mmhp-lc-trigger:hover,
.mmhp-lc-trigger:focus,
.mmhp-locale-combo.is-open .mmhp-lc-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  outline: none;
}
.mmhp-lc-trigger:focus-visible {
  box-shadow: 0 0 0 2px rgba(199, 255, 63, 0.35);
}
.mmhp-lc-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  /* kein margin hier — der gap im Trigger macht das */
}
.mmhp-lc-lang-code,
.mmhp-lc-curr-code {
  font-weight: 600;
  letter-spacing: 0.3px;
}
.mmhp-lc-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  margin: 0 -2px;           /* kompakter, flankiert von gap */
}
.mmhp-lc-chevron {
  font-size: 10px;
  opacity: 0.7;
  margin-left: 2px;
  transition: transform 160ms ease;
}
.mmhp-locale-combo.is-open .mmhp-lc-chevron {
  transform: rotate(180deg);
}

/* ---- Popover ---- */
.mmhp-lc-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1050;
  min-width: 460px;
  background: #ffffff;
  color: var(--mmhp-text-primary);
  border-radius: var(--mmhp-radius-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.mmhp-lc-popover[hidden] {
  display: none;
}

.mmhp-lc-columns {
  display: flex;
  gap: 8px;
  width: 100%;
}
.mmhp-lc-column {
  flex: 1 1 0;
  min-width: 150px;
}

/* ---- Locale-Hint-Sprechblase (erscheint unter Trigger, zeigt mit Pfeil darauf) ---- */
.mmhp-locale-hint {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1040;
  width: 340px;
  background: #ffffff;
  color: var(--mmhp-text-primary);
  border-radius: var(--mmhp-radius-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 14px 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}
.mmhp-locale-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Sprechblasen-Pfeil nach oben (zeigt auf den Trigger) */
.mmhp-locale-hint::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 24px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}
.mmhp-lh-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--mmhp-text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  padding: 0;
}
.mmhp-lh-close:hover {
  background: #f5f5f5;
  color: var(--mmhp-text-primary);
}
.mmhp-lh-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-right: 20px;
  margin-bottom: 10px;
}
.mmhp-lh-flag-wrap {
  flex-shrink: 0;
  margin-top: 2px;
}
.mmhp-lh-flag {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.mmhp-lh-text {
  flex: 1;
  min-width: 0;
}
.mmhp-lh-msg {
  font-size: 12px;
  color: var(--mmhp-text-muted);
  margin-bottom: 2px;
}
.mmhp-lh-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--mmhp-text-primary);
}
.mmhp-lh-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.mmhp-lh-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--mmhp-transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.mmhp-lh-btn-yes {
  background: var(--mmhp-black);
  color: #ffffff;
  border-color: var(--mmhp-black);
}
.mmhp-lh-btn-yes:hover {
  background: #1f1f1f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 0 var(--mmhp-neon-green);
}
.mmhp-lh-btn-no {
  background: transparent;
  color: var(--mmhp-text-muted);
  border-color: rgba(0, 0, 0, 0.12);
}
.mmhp-lh-btn-no:hover {
  background: #f5f5f5;
  color: var(--mmhp-text-primary);
  border-color: rgba(0, 0, 0, 0.25);
}

/* Mobile (<768 px): Sprechblasen-Form funktioniert nicht, weil der Trigger im
 * Mobile-Header hinter dem Burger-Menü versteckt ist. Stattdessen fixieren wir
 * das Hint oben am Viewport als Top-Strip.
 */
@media (max-width: 767.98px) {
  .mmhp-locale-hint {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    transform: translateY(-8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .mmhp-locale-hint.is-visible {
    transform: translateY(0);
  }
  .mmhp-locale-hint::before {
    display: none; /* Kein Arrow auf Mobile */
  }
}

/* ---- (historisch) Geo-Banner oben im Popover — bleibt unbenutzt, falls wieder gewünscht ---- */
.mmhp-lc-geo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: -4px -4px 10px -4px;
  background: linear-gradient(135deg, rgba(199, 255, 63, 0.12), rgba(199, 255, 63, 0.04));
  border: 1px solid rgba(199, 255, 63, 0.35);
  border-radius: 10px;
}
.mmhp-lc-geo-flag-wrap {
  flex-shrink: 0;
}
.mmhp-lc-geo-flag-wrap .mmhp-lc-flag {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.mmhp-lc-geo-text {
  flex: 1;
  min-width: 0;
}
.mmhp-lc-geo-head {
  font-size: 12px;
  color: var(--mmhp-text-muted);
  line-height: 1.3;
  margin-bottom: 2px;
}
.mmhp-lc-geo-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--mmhp-text-primary);
  line-height: 1.3;
}
.mmhp-lc-geo-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.mmhp-lc-geo-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--mmhp-transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.mmhp-lc-geo-btn-yes {
  background: var(--mmhp-black);
  color: #ffffff;
  border-color: var(--mmhp-black);
}
.mmhp-lc-geo-btn-yes:hover {
  background: #1f1f1f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 0 var(--mmhp-neon-green);
}
.mmhp-lc-geo-btn-no {
  background: transparent;
  color: var(--mmhp-text-muted);
  border-color: rgba(0, 0, 0, 0.12);
}
.mmhp-lc-geo-btn-no:hover {
  background: #f5f5f5;
  color: var(--mmhp-text-primary);
  border-color: rgba(0, 0, 0, 0.25);
}
.mmhp-lc-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--mmhp-text-muted);
  padding: 4px 10px 8px;
}
.mmhp-lc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mmhp-lc-list li {
  margin: 0;
  padding: 0;
}

/* Specificity-Boost — NOVA-Topbar erbt weiße Link-Farbe; wir setzen explizit dunkel */
.mmhp-locale-combo .mmhp-lc-popover .mmhp-lc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--mmhp-text-primary) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 120ms ease;
  line-height: 1.2;
}
.mmhp-locale-combo .mmhp-lc-popover .mmhp-lc-item:hover {
  background: #f5f5f5;
  color: var(--mmhp-text-primary) !important;
}
.mmhp-locale-combo .mmhp-lc-popover .mmhp-lc-item.is-active {
  background: #f5f5f5;
  box-shadow: inset 2px 0 0 0 var(--mmhp-neon-green);
  font-weight: 600;
}
.mmhp-lc-label {
  flex: 1;
  white-space: nowrap;
}
.mmhp-lc-item-curr {
  /* Waehrungs-Item: Symbol | ISO | Name — kompakt, mit Abstaenden */
}
.mmhp-lc-item-curr .mmhp-lc-curr-symbol {
  display: inline-block;
  min-width: 26px;
  text-align: center;
  font-weight: 600;
  flex-shrink: 0;
}
.mmhp-lc-curr-symbol-empty {
  visibility: hidden;
}
.mmhp-lc-item-curr .mmhp-lc-curr-code {
  font-weight: 600;
  flex-shrink: 0;
}
.mmhp-lc-item-curr .mmhp-lc-curr-name {
  color: var(--mmhp-text-muted);
  font-size: 12px;
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

/* Mobile: Popover wird full-width untenweg-fixiert */
@media (max-width: 575.98px) {
  .mmhp-lc-popover {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    min-width: 0;
    border-radius: var(--mmhp-radius-card) var(--mmhp-radius-card) 0 0;
    padding: 18px 16px;
  }
}

/* ----------------------------------------------------------------
 * Hover-Akzent auf Neon-Green statt NOVA-Gold (#EFC03D)
 *
 * Design-Regel (siehe markus-assistant/sub/mmhp-identity.md):
 * Neon-Green ist Akzent, nicht Flächenfarbe. Wir ersetzen NOVAs Gold-Hover
 * durch dezentes Neon-Green NUR in Hover/Focus/Active-Zustaenden, nicht als
 * Default-Link-Farbe.
 *
 * !important-Nutzung: NOVA hat mehrere Regeln mit hoher Specificity (z.B.
 * #header-top-bar a:hover, .navbar-light .navbar-nav .nav-link:hover). Um
 * die konsistent zu ueberschreiben ohne fuer jede Regel einen spezifischeren
 * Selektor zu pflegen, verwenden wir !important auf den Hover-Color-Declarations.
 * Das ist vertretbar, weil diese Regeln reine Hover-Akzent-Overrides sind und
 * keine globalen Layout-Kippungen verursachen.
 * ---------------------------------------------------------------- */

a:hover,
a:focus {
  color: var(--mmhp-neon-green) !important;
  text-decoration-color: var(--mmhp-neon-green);
}

/* Hauptnavigation: Hover grun */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--mmhp-neon-green) !important;
}

/* Topbar- und Header-Links (hoechste NOVA-Specificity — brauchen !important) */
#header-top-bar a:hover,
header a:hover {
  color: var(--mmhp-neon-green) !important;
}

/* Pagination, Breadcrumb, Btn-Link */
.page-link:hover,
.breadcrumb-item a:hover,
.btn-link:hover,
.btn-link:focus {
  color: var(--mmhp-neon-green) !important;
}

/* Preise im Artikel-Listing — nur im :hover-Zustand des Artikels */
.product-box:hover .price,
.product:hover .price {
  color: var(--mmhp-neon-green);
}

/* Footer-Links */
footer a:hover,
.footer a:hover {
  color: var(--mmhp-neon-green) !important;
  text-decoration-color: var(--mmhp-neon-green);
}

/* Slick-Slider-Links und jqcloud (gibt NOVA-Regeln mit !important) */
.slick-slide a:hover,
.slick-slide a:focus,
.jqcloud-word a:hover {
  color: var(--mmhp-neon-green) !important;
}

/* Button-Outline: NOVA's Standard-Hover auf dunkel mit Neon-Unterstrich */
.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus {
  background-color: var(--mmhp-black);
  border-color: var(--mmhp-black);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 0 var(--mmhp-neon-green);
}

/* Warenkorb-Badge (Anzahl der Artikel) — NOVA nutzt .fa-sup mit Gold. */
.fa-sup {
  background-color: var(--mmhp-neon-green) !important;
  color: var(--mmhp-black) !important;
  font-weight: 700;
}

/* NOTE: Body-Background, Header, Footer, Cards, Headings, Global-Links
 * werden BEWUSST nicht angefasst — sie bleiben NOVA-Default. Wenn wir diese
 * Bereiche umbauen wollen, tun wir das mit eigenen Klassen oder per
 * dezidierten Template-Overrides. Globale Selektoren wie .box oder header
 * führen zu Layout-Breakage in unerwarteten Stellen.
 */

/* ---------- Mobile: Locale-Combo aus versteckter Topbar herausholen ----------
 *
 * NOVA versteckt #header-top-bar unter dem lg-Breakpoint (<992 px) komplett
 * via .d-none. Damit verschwindet auch unsere .mmhp-locale-combo aus der
 * Sicht. Auf Mobile soll die Combo aber sofort verfuegbar sein, nicht erst
 * im Burger-Menue. Wir un-hiden den Topbar selektiv, blenden alles andere in
 * der Topbar aber aus, sodass nur die Combo als schmale Mini-Bar erscheint.
 */
@media (max-width: 991.98px) {
  #header-top-bar {
    display: flex !important;
    background: var(--mmhp-light-bg, #f5f5f5);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    min-height: 0;
    padding: 0;
  }
  #header-top-bar .container-fluid,
  #header-top-bar .container-fluid-xl {
    padding: 4px 12px !important;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
  }
  #header-top-bar .nav.topbar-main {
    display: flex !important;
    flex-direction: row;
    margin: 0;
    padding: 0;
    list-style: none;
    width: auto;
  }
  /* Alles in der Topbar aus AUSSER der Combo */
  #header-top-bar .nav.topbar-main > li:not(.mmhp-locale-combo) {
    display: none !important;
  }
  #header-top-bar .mmhp-locale-combo {
    display: flex !important;
  }
  /* Mobile-Combo etwas kompakter */
  .mmhp-locale-combo .mmhp-locale-trigger {
    padding: 4px 8px;
    font-size: 13px;
  }
  /* Falls Sprechblase angezeigt wird, auf Mobile Top-Strip statt Popover */
  .mmhp-locale-hint {
    position: fixed !important;
    top: 36px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    z-index: 1090;
  }
  .mmhp-locale-hint::before {
    display: none !important;
  }
}
