/* X-Hunter Design – Kopf, Hauptmenü, Mega-Menü, Handy-Seitenmenü, Footer (Schritt 2). Nur geladen, wenn das Design aktiv ist. */

/* Alten Theme-Kopf/-Footer ausblenden (Leo-Elements-Inhalte bleiben in der Datenbank unverändert) */
#header, #footer { display: none !important; }

.xh-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.xh-unsichtbar { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.xh-kopf a, .xh-fuss a { text-decoration: none; }
.xh-kopf, .xh-fuss { font-family: var(--font-sans); }
/* .xh-kopf ohne eigene Box: sonst klebt der Kopf (.xh-stick) nur, solange .xh-kopf selbst sichtbar ist */
.xh-kopf { display: contents; }
/* Das Theme setzt body auf 100 % Fensterhöhe – dann endet der „Klebebereich“ nach einer Bildschirmhöhe */
body { height: auto !important; min-height: 100%; }

/* Vertrauensleiste */
.xh-trust { background: var(--surface-dark); color: var(--on-dark); font-size: 13px; }
.xh-trust-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 38px; }
.xh-trust-punkte { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.xh-trust-links { display: flex; gap: 20px; align-items: center; }
.xh-trust a { color: #ffffff; }
.xh-trust a:hover { color: #ffffff; text-decoration: underline; }

/* Kopf + Menü bleiben oben, Kopf wird beim Scrollen schmaler */
.xh-stick { position: sticky; top: 0; z-index: 1000; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.xh-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.xh-header-in { display: flex; align-items: center; gap: 16px 40px; padding-top: 18px; padding-bottom: 18px; }
.xh-logo img { height: 64px; width: auto; display: block; }
@supports (animation-timeline: scroll()) {
  .xh-header-in { animation: xh-schrumpf linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  .xh-logo img { animation: xh-logo linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
}
@keyframes xh-schrumpf { to { padding-top: 8px; padding-bottom: 8px; } }
@keyframes xh-logo { to { height: 44px; } }
@media (prefers-reduced-motion: reduce) { .xh-header-in, .xh-logo img { animation: none !important; } }

.xh-suche { flex: 1 1 360px; max-width: 620px; display: flex; height: 48px; border: 1px solid var(--field-border); border-radius: var(--radius-field); background: #ffffff; }
.xh-suche input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-family: var(--font-sans); font-size: 16px; color: var(--text-strong); background: transparent; }
.xh-suche input[type="search"]:focus { outline: none; }
.xh-suche:focus-within { outline: var(--focus-ring); outline-offset: 1px; }
.xh-suche button { width: 52px; border: 0; background: var(--ink); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
/* Knopf über den 1-px-Rahmen der Suchzeile ziehen, sonst wirkt er oben/unten/rechts kleiner */
.xh-suche button { transition: background-color .15s ease; margin: -1px -1px -1px 0; border-radius: 0 var(--radius-field) var(--radius-field) 0; }
.xh-suche button:hover, .xh-suche button:focus-visible { background: var(--brand-red); }

.xh-aktionen { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.xh-aktion { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--heading); }
.xh-aktion:hover { color: var(--brand-red); }
/* Mindestbreite bis „9.999,99 €“, damit Suchfeld und Konto/Merkliste nicht mit dem Warenkorbbetrag springen */
.xh-warenkorb { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 136px; box-sizing: border-box; border: 1px solid var(--brand-red); padding: 8px 14px; color: var(--brand-red); font-weight: 700; font-size: 14px; }
.xh-warenkorb:hover, body#checkout .xh-warenkorb:hover { background: var(--brand-red); color: #ffffff; } /* Kasse: „body#checkout a:hover“ (xh-design.css) machte die Schrift sonst rot auf Rot */
.xh-zaehler { position: absolute; top: -8px; right: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--brand-red); color: #ffffff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 4px; box-sizing: border-box; }
.xh-menuknopf { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--heading); align-items: center; justify-content: center; cursor: pointer; }

/* Hauptmenü */
.xh-nav { background: var(--surface-band); color: #ffffff; position: relative; }
.xh-nav-in { display: flex; align-items: center; }
.xh-nav-luecke { flex: 1; }
.xh-navlink { color: #ffffff; text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .5px; padding: 0 14px; height: 52px; display: flex; align-items: center; gap: 6px; }
.xh-nav-punkt:first-child .xh-navlink { margin-left: -14px; }
.xh-navlink:hover, .xh-navlink:focus, .xh-navlink.xh-aktiv, .xh-nav-punkt:hover > .xh-navlink, .xh-navlink-rot { color: #ffffff; background: var(--brand-red); }
/* Kasse: „body#checkout a:hover/focus“ (xh-design.css, Id-Gewicht) machte weiße Schrift auf Rot ebenfalls rot – Marken/Angebote, Menü, Leiste oben, Social, Seitenmenü (Marcus 30.10.) */
body#checkout .xh-navlink:hover, body#checkout .xh-navlink:focus, body#checkout .xh-navlink.xh-aktiv, body#checkout .xh-nav-punkt:hover > .xh-navlink, body#checkout .xh-navlink-rot, body#checkout .xh-trust a:hover, body#checkout .xh-more:hover, body#checkout .xh-social a:hover, body#checkout .xh-sm-zwei a.xh-rot:hover, body#checkout .xh-sm-zwei a.xh-rot:focus { color: #ffffff; }

/* Schmalere PC-Bildschirme: Menüpunkte enger, damit alles in eine Zeile passt */
@media (min-width: 992px) and (max-width: 1279px) {
  .xh-navlink { padding: 0 8px; font-size: 12.5px; letter-spacing: .2px; white-space: nowrap; }
  .xh-nav-punkt:first-child .xh-navlink { margin-left: -8px; }
  .xh-header-in { gap: 16px 24px; }
}
/* 992–1099: Vertrauensleiste enger, sonst rutschen die Links rechts in eine zweite Zeile */
@media (min-width: 992px) and (max-width: 1099px) {
  .xh-trust-in { column-gap: var(--space-4); }
  .xh-trust-punkte { column-gap: var(--space-3); }
  .xh-trust-links { gap: var(--space-3); }
}

/* Mega-Menü: öffnet beim Drüberfahren bzw. Tastaturfokus */
.xh-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #ffffff; color: var(--text); border-top: 3px solid var(--brand-red); box-shadow: var(--shadow-menu); }
.xh-nav-punkt:hover > .xh-mega, .xh-nav-punkt:focus-within > .xh-mega { display: block; }
.xh-mega .xh-wrap { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 28px; }
.xh-mega-oben { display: flex; gap: 48px; }
.xh-mega-spalten { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.xh-mega-titel { text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .6px; color: var(--heading); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 2px solid var(--brand-red); }
.xh-mlink { display: block; font-size: 15px; line-height: 1.3; padding: 7px 0; color: #505050; }
.xh-mlink:hover { color: var(--brand-red); }
.xh-mega-kacheln { width: 480px; flex: none; }
.xh-mega-kachelreihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.xh-ptile { position: relative; display: block; height: 200px; overflow: hidden; background: #111111; }
.xh-ptile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xh-ptile-name { position: absolute; left: 0; right: 0; top: 12px; text-align: center; color: #ffffff; font-weight: 700; font-style: italic; font-size: 20px; text-transform: uppercase; text-shadow: var(--shadow-title-on-photo); transition: color .15s; }
.xh-ptile:hover .xh-ptile-name { color: #ff3b3b; }
.xh-ptile-unter { position: absolute; left: 0; right: 0; bottom: 0; background: var(--scrim); color: #e6e6e6; font-size: 12px; font-weight: 600; padding: 8px 10px; text-align: center; }
.xh-mega-unten { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.xh-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--heading); border: 1px solid var(--heading); padding: 11px 20px; }
.xh-more:hover { background: var(--brand-red); border-color: var(--brand-red); color: #ffffff; }
.xh-mega-hinweis { background: var(--info-bg); padding: 10px 16px; font-size: 14px; color: var(--ink); }
.xh-mega-hinweis a { font-weight: 700; color: var(--ink); text-decoration: underline; }

/* Handy-Seitenmenü */
.xh-seitenmenue { position: fixed; top: 0; left: 0; bottom: 0; width: min(390px, 88vw); background: #ffffff; z-index: 2001; overflow-y: auto; box-shadow: 6px 0 24px rgba(0, 0, 0, .25); }
.xh-seitenmenue[hidden], .xh-seitenmenue-hg[hidden] { display: none; }
.xh-seitenmenue-hg { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 2000; }
.xh-sm-kopf { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--border); }
.xh-sm-kopf .xh-menuknopf { display: flex; }
.xh-sm-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-red); margin-bottom: 8px; }
.xh-sm-label.xh-grau { color: var(--text-muted); margin: 12px 0 4px; }
.xh-sm-plattformen { padding: 14px 16px 6px; }
.xh-sm-praster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xh-sm-praster a { position: relative; display: block; height: 88px; overflow: hidden; background: #111111; }
.xh-sm-praster img { width: 100%; height: 100%; object-fit: cover; }
.xh-sm-praster span { position: absolute; left: 0; right: 0; bottom: 0; background: var(--scrim); color: #ffffff; font-size: 12px; font-weight: 700; font-style: italic; text-transform: uppercase; padding: 6px 4px; text-align: center; }
.xh-seitenmenue nav { margin-top: 10px; border-top: 1px solid var(--border); }
.xh-sm-punkt { border-bottom: 1px solid var(--border); }
.xh-sm-punkt > summary, .xh-sm-einfach { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 16px; font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--heading); cursor: pointer; list-style: none; }
.xh-sm-punkt > summary::-webkit-details-marker { display: none; }
.xh-sm-punkt > summary svg { color: var(--brand-red); transition: transform .15s; }
.xh-sm-punkt[open] > summary { color: var(--brand-red); }
.xh-sm-punkt[open] > summary svg { transform: rotate(180deg); }
.xh-sm-unter { background: var(--surface-alt); padding: 6px 16px 14px; }
.xh-sm-gruppe { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); padding: 10px 0 4px; }
.xh-sm-unter a { display: block; padding: 10px 0 10px 10px; font-size: 15px; color: var(--heading); border-left: 2px solid #dcdcdc; }
/* „Zur Kategorie {Name} →“: Name in normaler Schreibung, deshalb ohne Großbuchstaben */
.xh-sm-unter a.xh-sm-alle { display: flex; align-items: center; min-height: 44px; margin: 6px 0 4px; padding: 0 0 0 14px; border: 0; border-left: 3px solid var(--brand-red);
  background: var(--surface); font-size: 15px; font-weight: 700; color: var(--brand-red); }
.xh-sm-zwei { display: flex; }
.xh-sm-zwei a { flex: 1; height: 52px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--heading); }
.xh-sm-zwei a + a { border-left: 1px solid var(--border); }
.xh-sm-zwei a.xh-rot { background: var(--brand-red); color: #ffffff; }
.xh-sm-service { background: var(--surface-alt); padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 4px; }
.xh-sm-service a { padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--heading); }
.xh-sm-service a.xh-sm-klein { padding: 10px 0; font-weight: 400; color: var(--text); }
/* Offenes Seitenmenü: Cookie-Knopf (oberste Ebene) ausblenden, sonst liegt er auf „Service“/„Kontakt“ – wie beim Filterfenster */
body:has(#xh-seitenmenue:not([hidden])) #xh-cc-reopen { display: none !important; }

/* Footer – ab 992 immer vier Spalten (bis 991 Akkordeon, display: block); die Firmenspalte mindestens so breit wie die fünf 44-px-Social-Kästen,
   die übrigen ≥ 200 px (längster Link „Support-Stuff (Merch-Shop) ↗“ 192 px) */
.xh-fuss { background: var(--surface-footer); color: var(--footer-text); }
.xh-fuss-in { display: grid; grid-template-columns: minmax(244px, 1fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 48px; font-size: 14px; line-height: 2; }
.xh-fuss-firma img { height: 66px; width: auto; display: block; margin-bottom: 16px; }
.xh-fuss-adresse a { color: var(--footer-text); text-decoration: none; }
.xh-fuss-adresse a:hover, .xh-fuss-adresse a:focus-visible { color: var(--brand-red); text-decoration: none; }
.xh-fuss-name { color: #ffffff; font-weight: 700; }
.xh-fuss-klein { font-size: 13px; line-height: 1.5; margin-top: 10px; color: var(--footer-link); }
.xh-social { display: flex; gap: 6px; margin-top: 16px; }
.xh-social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #3a3a3a; color: var(--footer-link); }
.xh-social a:hover { background: var(--brand-red); color: #ffffff; }
.xh-fuss-spalte > summary { list-style: none; text-transform: uppercase; color: #ffffff; font-weight: 700; margin-bottom: 8px; pointer-events: none; }
.xh-fuss-spalte > summary::-webkit-details-marker { display: none; }
.xh-fuss-spalte > summary svg { display: none; }
.xh-fuss-spalte ul { list-style: none; margin: 0; padding: 0; }
.xh-fuss-spalte a { color: var(--footer-text); }
.xh-fuss-spalte ul a:hover, .xh-fuss-spalte ul a:focus-visible { color: var(--brand-red); text-decoration: none; } /* nur Textlinks, nicht der rote Widerrufs-Knopf */
/* 44 px hoch (20 + 2 × 11 + Rahmen) wie die übrigen Standardknöpfe */
.xh-widerruf { display: inline-block; margin-top: 14px; background: var(--brand-red); color: #ffffff !important; border: 1px solid var(--brand-red); padding: 11px 20px; font-weight: 700; font-size: 13px; line-height: 20px; text-transform: uppercase; }
.xh-widerruf:hover { text-decoration: none !important; background: var(--brand-red-dunkel); }
/* Zweiter Widerrufs-Knopf außerhalb der Akkordeons – nur Handy/Tablet, dort ständig sichtbar (§ 356a BGB) */
.xh-widerruf-handy { display: none; }
.xh-fuss-zeile { background: var(--surface-black); }
.xh-fuss-zeile-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--footer-text); }

/* Handy */
@media (max-width: 991px) {
  /* nur seitlich – die Kurzform nahm der Schlusszeile ihr Polster oben/unten */
  .xh-wrap { padding-left: var(--space-4); padding-right: var(--space-4); }
  /* Abstand sitzt auf den Vorteil-Links (Tippfläche so hoch wie die Leiste), nicht auf der Leiste */
  .xh-trust-in { justify-content: center; min-height: 0; padding-top: 0; padding-bottom: 0; font-size: 12px; text-align: center; }
  .xh-trust-punkte { flex-wrap: nowrap; gap: 0 12px; }
  .xh-trust-punkte a { display: inline-block; padding: 8px 0; white-space: nowrap; }
  .xh-trust-punkte a:nth-child(n+3), .xh-trust-links { display: none; }
  .xh-header-in { flex-wrap: wrap; gap: 4px 0; padding: 6px var(--space-4) 10px; }
  .xh-menuknopf { display: flex; }
  /* Symbole auf der 16-px-Kante (Burger 26 px, Warenkorb 22 px im 44-px-Knopf); links und rechts gleich breit → Logo genau mittig */
  .xh-header-in > .xh-menuknopf { margin-left: -9px; margin-right: 43px; }
  .xh-header-in > .xh-aktionen { margin-right: -10px; }
  .xh-logo { flex: 1; display: flex; justify-content: center; }
  .xh-logo img { height: 42px; }
  .xh-aktionen { margin-left: 0; gap: 0; }
  .xh-aktion { width: 44px; height: 44px; justify-content: center; }
  .xh-aktion span, .xh-nur-pc { display: none; }
  .xh-warenkorb { border: 0; padding: 0; width: 44px; min-width: 0; height: 44px; justify-content: center; color: var(--heading); }
  .xh-warenkorb:hover, body#checkout .xh-warenkorb:hover { background: none; color: var(--brand-red); }
  .xh-zaehler { top: 4px; right: 2px; }
  .xh-suche { order: 5; flex: 1 1 100%; max-width: none; height: 44px; margin-top: 4px; }
  .xh-nav { display: none; }
  @supports (animation-timeline: scroll()) { .xh-header-in, .xh-logo img { animation: none; } }

  .xh-fuss-in { display: block; padding-top: 28px; padding-bottom: 0; }
  .xh-fuss-firma { margin-bottom: 20px; }
  .xh-fuss-firma img { height: 48px; }
  .xh-fuss-spalte { border-top: 1px solid #454545; }
  .xh-fuss-spalte:last-child { border-bottom: 1px solid #454545; }
  .xh-fuss-spalte > summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; height: 52px; margin: 0; }
  .xh-fuss-spalte > summary svg { display: block; transition: transform .15s; }
  .xh-fuss-spalte[open] > summary svg { transform: rotate(180deg); }
  .xh-fuss-spalte ul { padding-bottom: 12px; line-height: 2.2; }
  .xh-widerruf { display: flex; justify-content: center; margin: 4px 0 16px; }
  /* Widerrufs-Knopf nicht im zugeklappten „Rechtliches“, sondern ständig sichtbar unter den Akkordeons */
  .xh-fuss-spalte .xh-widerruf { display: none; }
  .xh-widerruf-handy { display: flex; margin: 16px 0 24px; }
  /* Schlusszeile: Polster oben 16 px wie am PC, unten Platz für die festen Knöpfe (Cookie, Nach oben) am Seitenende */
  .xh-fuss-zeile-in { flex-direction: column; gap: 6px; font-size: 12px; padding-bottom: 72px; }
  .xh-fuss-zeile-in a { padding: 4px 0; }
}
@media (max-width: 400px) {  /* schmale Handys: nur der erste Vorteil, sonst wird der zweite am Rand abgeschnitten */
  .xh-trust-punkte a:nth-child(n+2) { display: none; }
}
@media (max-width: 359px) {  /* „UNTERHEBEL“ passt sonst nicht in die 78-px-Kachel des Seitenmenüs */
  .xh-sm-praster span { font-size: 11px; padding: 6px 2px; }
}

/* Kopfleiste (Vorteile) und unterste Fußzeile verlinkt: Aussehen wie bisher, beim Drüberfahren rot (nicht unterstrichen) */
.xh-trust-punkte a, .xh-fuss-zeile-in a { color: inherit !important; text-decoration: none !important; }
.xh-trust-punkte a:hover, .xh-trust-punkte a:focus-visible, .xh-fuss-zeile-in a:hover, .xh-fuss-zeile-in a:focus-visible { color: var(--brand-red) !important; text-decoration: none !important; }
/* Kopfleiste rechts (Hilfe & Kontakt, Werkstatt-Service, DE | EN): beim Drüberfahren rot, nicht unterstrichen */
.xh-trust-links a { text-decoration: none !important; }
.xh-trust-links a:hover, .xh-trust-links a:focus-visible { color: var(--brand-red) !important; text-decoration: none !important; }

/* Suchvorschläge unter dem Suchfeld (xh-design.js suchvorschlaege).
   Höhe nach dem freien Platz unter dem klebenden Kopf (48 px = Vertrauensleiste darüber + Rand), innen scrollbar */
.xh-suche { position: relative; }
.xh-vorschlag { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); z-index: 1200; background: #ffffff; border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18); max-height: min(70vh, 560px); max-height: min(calc(100dvh - var(--xh-kopf-hoehe, 140px) - 48px), 640px);
  overflow-y: auto; overscroll-behavior: contain; font-family: var(--font-sans); text-align: left; }
.xh-vs-titel { padding: 10px 14px 4px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-muted); }
.xh-vs-artikel { display: flex; align-items: center; gap: 12px; padding: 8px 14px; color: var(--heading) !important; text-decoration: none !important; }
.xh-vs-artikel:hover, .xh-vs-artikel:focus-visible { background: var(--surface-alt); }
.xh-vs-artikel img, .xh-vs-leer { flex: none; width: 48px; height: 48px; object-fit: contain; background: #ffffff; border: 1px solid var(--border); }
.xh-vs-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.xh-vs-text small { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: .4px; }
.xh-vs-text span { font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.xh-vs-preis { flex: none; font-weight: 700; color: var(--brand-red); font-size: 14px; white-space: nowrap; }
.xh-vs-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 8px; }
.xh-vs-chips a { padding: 6px 10px; border: 1px solid var(--border); font-size: 13px; color: var(--heading) !important; text-decoration: none !important; }
.xh-vs-chips a:hover { border-color: var(--brand-red); color: var(--brand-red) !important; }
.xh-vs-nichts { padding: 14px; font-size: 14px; color: var(--text-muted); }
/* „Alle Ergebnisse …“ als fester Fuß des Fensters – immer sichtbar, auch wenn der Inhalt scrollt */
.xh-vs-alle { position: sticky; bottom: 0; z-index: 1; display: block; margin-top: 6px; padding: 12px 14px; background: var(--surface-alt); border-top: 1px solid var(--border); font-weight: 700; font-size: 14px;
  color: var(--heading) !important; text-decoration: none !important; }
.xh-vs-alle:hover { color: var(--brand-red) !important; }

/* Mega-Menü auf schmaleren PC-Bildschirmen: Bildkacheln rechts nehmen sonst so viel Platz, dass die Spalten-Links
   ineinanderlaufen („Selbstladebüchsen“ über „Bockdoppelflinten“). Kacheln schmaler bzw. ausblenden, Spalten mit Mindestbreite.
   Nur im Menü mit Kacheln – die übrigen behalten das feste 4er-Raster, damit Spaltenkanten beim Wechsel nicht springen. */
.xh-mega-oben:has(.xh-mega-kacheln) .xh-mega-spalten { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.xh-mega-spalten a { overflow-wrap: break-word; }
/* 1200–1399: drei kleinere Kacheln in einer Reihe statt 2 + 1 (Menü sonst ~600 px hoch) */
@media (max-width: 1399px) {
  .xh-mega-oben { gap: 32px; }
  .xh-mega-kacheln { width: 360px; }
  .xh-ptile { height: 150px; }
  .xh-ptile-name { font-size: 15px; top: 10px; }
  .xh-ptile-unter { font-size: 11px; padding: 6px 4px; }
}
@media (max-width: 1199px) {
  .xh-mega-kacheln { display: none; }
}
/* Hauptmenü: Drüberfahren ein Ticken heller als der aktive Bereich (Marcus 24.10.); #e52222 statt #f0383a, damit Weiß darauf lesbar bleibt (4,6 : 1) */
.xh-navlink:hover, .xh-navlink:focus-visible, .xh-nav-punkt:hover > .xh-navlink { background: var(--brand-red-hell); }
.xh-navlink.xh-aktiv, .xh-nav-punkt:hover > .xh-navlink.xh-aktiv { background: var(--brand-red); }
.xh-navlink-rot:hover { background: var(--brand-red-hell); }
