/* === Alten Elementor-Header (#19) + altes .na-header ausblenden === */
body > header.elementor-location-header,
header[data-elementor-id="19"],
.na-header { display: none !important; }

/* === NM2 Variablen ===
   Bewusst auch auf .nm2-drawer/.nm2-backdrop: die stehen als Geschwister
   NEBEN dem Header und erben von dort nichts. Ohne das blieb z.B. der gelbe
   Suchbutton im Mobilmenue unsichtbar (var() undefiniert -> transparent).
   Nur Variablen teilen — Layout-Eigenschaften bleiben beim Header. */
.nm2-header,
.nm2-drawer,
.nm2-backdrop {
    --nm2-w: 1140px;
    --nm2-ink: #0A0A0C;
    --nm2-ink-2: #14161B;
    --nm2-yellow: #FFCF1B;
    --nm2-yellow-soft: #FFE16A;
    --nm2-yellow-dark: #c5a000;
    --nm2-gray-50: #F7F8FA;
    --nm2-gray-100: #F2F3F5;
    --nm2-line-dark: rgba(255,255,255,.07);
    --nm2-nav-bg-1: #F2F3F6;
    --nm2-nav-bg-2: #E6E8EC;
}
.nm2-header {
    font-family: inherit; color: var(--nm2-ink);
    display: block; position: relative; z-index: 100;
}
.nm2-header, .nm2-header * { box-sizing: border-box; }
.nm2-header a { color: inherit; text-decoration: none; }
.nm2-container { max-width: var(--nm2-w); margin: 0 auto; padding: 0 20px; }

/* === TOP BAR === */
.nm2-topbar { background: linear-gradient(180deg, var(--nm2-ink-2) 0%, var(--nm2-ink) 100%); color: #fff; font-size: 12.5px; letter-spacing: .015em; border-bottom: 1px solid rgba(255,255,255,.09); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.nm2-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.nm2-top-contact, .nm2-top-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nm2-top-contact a, .nm2-top-links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 7px; position: relative; padding: 2px 0; transition: color .2s; }
.nm2-top-contact a .nm2-i { color: var(--nm2-yellow); display: inline-flex; }
.nm2-top-divider { width: 1px; height: 14px; background: rgba(255,255,255,.14); flex: none; }
.nm2-top-links a { font-weight: 500; padding: 2px 9px; }
.nm2-top-links a:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
.nm2-top-links a:first-child { padding-left: 0; }
.nm2-top-links a:last-child { padding-right: 0; }
.nm2-top-links a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -3px; height: 2px; background: var(--nm2-yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; border-radius: 2px; }
.nm2-top-links a:first-child::after { left: 0; }
.nm2-top-links a:last-child::after { right: 0; }
.nm2-top-links a:hover, .nm2-top-contact a:hover { color: #fff; }
.nm2-top-links a:hover::after { transform: scaleX(1); }

/* === MAINBAR ===
   background-color separat halten: Elementors Lazyload-Regel kann
   background-image mit !important abraeumen, dann bleibt wenigstens Weiss. */
/* Hintergrund der Kopfzeile: heller Putz-Eindruck statt flachem Weiss.
   Drei Ebenen uebereinander -
   1. sehr feines Rauschen (Textur, kein Bild noetig)
   2. zwei weiche Lichtinseln links/rechts, minimal warm bzw. kuehl
   3. vertikaler Verlauf von Weiss nach hellem Grau
   background-color separat halten: Elementors Lazyload kann
   background-image mit !important abraeumen - dann bleibt Weiss. */
.nm2-mainbar {
    position: relative;
    background-color: #fff;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.038'/%3E%3C/svg%3E"),
        radial-gradient(120% 150% at 8% 0%, rgba(255, 246, 222, .55) 0%, rgba(255, 246, 222, 0) 46%),
        radial-gradient(110% 140% at 96% 100%, rgba(226, 232, 240, .5) 0%, rgba(226, 232, 240, 0) 52%),
        linear-gradient(180deg, #ffffff 0%, #fafbfc 58%, #f3f4f7 100%);
    border-bottom: 1px solid #e8eaee;
    overflow: hidden;
}
/* Netzwerk aus driftenden Punkten — Canvas, sehr dezent */
.nm2-poly {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
/* Canvas absichtlich hoeher als das Band: nur der mittlere Ausschnitt ist
   sichtbar, dadurch wirkt das Netz luftig statt in die Hoehe gequetscht. */
.nm2-poly canvas {
    display: block;
    position: absolute;
    left: 0; width: 100%;
    top: 50%; height: 300px;
    transform: translateY(-50%);
}
@media (max-width: 980px) { .nm2-poly { opacity: .6; } }
@media (max-width: 700px) { .nm2-poly { display: none; } }
.nm2-mainbar-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 86px; padding-top: 14px; padding-bottom: 14px; gap: 24px; }
.nm2-logo { display: inline-flex; align-items: center; flex: 0 1 auto; }
.nm2-logo img { display: block; width: 288px; max-width: 100%; height: auto; }
.nm2-right { display: flex; align-items: center; gap: 26px; }

/* SEARCH — heller Rahmen auf weißem Grund */
.nm2-search {
    position: relative;
    display: flex; align-items: center;
    flex: 1 1 auto; max-width: 460px; min-width: 0;
    margin: 0 auto; height: 46px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    padding: 0 4px 0 16px;
    box-shadow: none;
    outline: 0;
    transition: border-color .18s, box-shadow .18s;
}
.nm2-search:focus-within { border-color: #c3a24a; box-shadow: 0 0 0 3px rgba(255,207,27,.18); outline: 0; }
.nm2-search input.nm2-search-input,
.nm2-search input[type="search"].nm2-search-input {
    flex: 1; min-width: 0;
    border: 0 !important; outline: 0 !important; box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important; margin: 0;
    width: auto; height: 100%;
    font-size: 14px; font-weight: 500; color: #111;
    transition: none !important;
    -webkit-appearance: none; appearance: none;
}
.nm2-search input.nm2-search-input:focus { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
.nm2-search-input::placeholder { color: #a0a4ab; font-weight: 400; }
.nm2-search-input::-webkit-search-cancel-button,
.nm2-search-input::-webkit-search-decoration { -webkit-appearance: none; }
.nm2-search button.nm2-search-btn,
.nm2-search button[type="submit"].nm2-search-btn {
    border: 0 !important; outline: 0 !important; box-shadow: none !important;
    border-radius: 6px !important;
    background: var(--nm2-yellow) !important;
    padding: 0 !important; margin: 0;
    cursor: pointer; flex: 0 0 auto;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--nm2-ink) !important;
    transition: background .15s !important;
}
.nm2-search button.nm2-search-btn:hover,
.nm2-search:focus-within button.nm2-search-btn { background: #F8C700 !important; color: var(--nm2-ink) !important; }

/* === AKTIONEN: Mein Konto / Merkliste / Warenkorb === */
.nm2-actions { display: flex; align-items: center; gap: 26px; }
.nm2-action {
    display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
    color: #2b2e33; text-align: center; line-height: 1;
    transition: color .18s;
}
.nm2-action:hover { color: #000; }
.nm2-action-icon { position: relative; display: inline-flex; transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.nm2-action:hover .nm2-action-icon { transform: translateY(-2px); }
.nm2-action:hover .nm2-action-icon svg { stroke: #b8860b; }
.nm2-action-icon svg { transition: stroke .18s; }
@media (prefers-reduced-motion: reduce) {
    .nm2-action-icon, .nm2-action:hover .nm2-action-icon { transition: none; transform: none; }
}
.nm2-action-label { font-size: 11.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.nm2-action-badge {
    position: absolute; top: -6px; right: -8px;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px;
    background: var(--nm2-ink); color: var(--nm2-yellow);
    font-size: 10.5px; font-weight: 800; line-height: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px #fff;
}
.nm2-action-badge[hidden] { display: none; }

/* === AJAX LIVE-SUCHE — Ergebnis-Dropdown === */
.nm2-search-results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    min-width: 340px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-top: 3px solid var(--nm2-yellow);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 22px 48px -18px rgba(0,0,0,.42);
    padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s, visibility .18s, transform .18s;
    z-index: 10001; max-height: 72vh; overflow-y: auto;
}
.nm2-search-results.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nm2-sr-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; transition: background .15s; }
.nm2-sr-item:hover { background: var(--nm2-gray-100); }
.nm2-sr-thumb { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: var(--nm2-gray-100); display: flex; align-items: center; justify-content: center; }
.nm2-sr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nm2-sr-noimg { color: #c2c6cd; }
.nm2-sr-meta { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.nm2-sr-title { font-size: 13.5px; font-weight: 600; color: #1a1c20; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm2-sr-price { font-size: 12.5px; font-weight: 700; color: var(--nm2-yellow-dark); }
.nm2-sr-price del { color: #b9bdc4; font-weight: 500; margin-right: 5px; }
.nm2-sr-empty, .nm2-sr-loading { padding: 16px; text-align: center; color: #8a8f98; font-size: 13px; }
.nm2-sr-all { display: block; text-align: center; padding: 11px; margin-top: 4px; border-top: 1px solid rgba(0,0,0,.06); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #1a1c20; }
.nm2-sr-all:hover { color: var(--nm2-yellow-dark); }

/* Drawer-Variante: fließt im Menü, kein Overlay */
.nm2-drawer-search { position: relative; flex-wrap: wrap; }
.nm2-drawer-search .nm2-search-results {
    position: static; min-width: 0; width: 100%;
    opacity: 1; visibility: visible; transform: none;
    background: #f7f8fa; border: 1px solid #eceef1; border-radius: 10px;
    box-shadow: none; margin-top: 10px; max-height: 50vh; display: none;
}
.nm2-drawer-search .nm2-search-results.is-open { display: block; }

/* === NAV — beide Reihen IDENTISCH === */
/* === STICKY: kompakter Kopf beim Hochscrollen ===
   Nur Mainbar + Nav bleiben stehen; Topbar und Vertrauensleiste
   fahren weg, damit der Streifen schmal bleibt. */
.nm2-header.is-stuck {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 300;
    animation: nm2-slidedown .22s ease-out;
}
@keyframes nm2-slidedown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .nm2-header.is-stuck { animation: none; } }
.nm2-header.is-stuck .nm2-topbar,
.nm2-header.is-stuck .nm2-trust { display: none; }
.nm2-header.is-stuck .nm2-mainbar {
    box-shadow: 0 6px 18px -12px rgba(0,0,0,.45);
}
.nm2-header.is-stuck .nm2-mainbar-inner {
    min-height: 62px; padding-top: 8px; padding-bottom: 8px;
}
.nm2-header.is-stuck .nm2-logo img { width: 205px; }
.nm2-header.is-stuck .nm2-search { height: 40px; }
.nm2-header.is-stuck .nm2-search button.nm2-search-btn { width: 33px; height: 33px; }
.nm2-header.is-stuck .nm2-action-label { display: none; }
.nm2-header.is-stuck .nm2-actions { gap: 20px; }
.nm2-header.is-stuck .nm2-row .nm2-link { padding-top: 11px; padding-bottom: 11px; }
.nm2-header.is-stuck .nm2-poly { display: none; }
.nm2-logo img, .nm2-search, .nm2-mainbar-inner {
    transition: min-height .18s ease, height .18s ease, width .18s ease, padding .18s ease;
}
@media (prefers-reduced-motion: reduce) {
    .nm2-logo img, .nm2-search, .nm2-mainbar-inner { transition: none; }
}
/* Platzhalter verhindert das Springen beim Umschalten */
.nm2-stickypad { display: none; }
.nm2-stickypad.is-active { display: block; }

/* Auf schmalen Geraeten nur eine Zeile: Logo + Aktionen + Menue.
   Die Suche bleibt ueber das Menue erreichbar (Drawer hat eigenes Suchfeld). */
@media (max-width: 980px) {
    .nm2-header.is-stuck .nm2-search { display: none; }
    .nm2-header.is-stuck .nm2-mainbar-inner {
        flex-wrap: nowrap; min-height: 54px; row-gap: 0;
        padding-top: 6px; padding-bottom: 6px;
    }
    .nm2-header.is-stuck .nm2-logo img { width: 152px; }
    .nm2-header.is-stuck .nm2-right { gap: 12px; }
    .nm2-header.is-stuck .nm2-actions { gap: 14px; }
    .nm2-header.is-stuck .nm2-action-icon svg { width: 21px; height: 21px; }
    .nm2-header.is-stuck button.nm2-burger { width: 40px !important; height: 40px !important; }
}

/* === VERTRAUENSLEISTE === */
.nm2-trust {
    background-color: #fbfaf7;
    border-top: 1px solid #eeefe9;
    border-bottom: 1px solid #e7e8e3;
    font-size: 12px;
}
.nm2-trust-inner {
    display: flex; align-items: center; gap: 22px;
    min-height: 42px; padding-top: 7px; padding-bottom: 7px;
    flex-wrap: wrap;
}
.nm2-trust-main { display: inline-flex; align-items: center; gap: 8px; color: #2b2e33; }
.nm2-trust-main strong { font-size: 13.5px; font-weight: 800; color: #16181c; }
.nm2-trust-sub { color: #7c8087; }
.nm2-stars { display: inline-flex; gap: 2px; color: #F0B400; }
.nm2-trust-sep { width: 1px; height: 16px; background: #e0e1dc; flex: none; }
.nm2-trust-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: #5d6169;
    transition: color .18s;
}
.nm2-trust-item:hover { color: #16181c; }
.nm2-trust-logo { display: inline-flex; flex: none; }
.nm2-trust-claim { color: #83878e; margin-left: auto; }

@media (max-width: 980px) {
    .nm2-trust-claim, .nm2-trust-sep-2 { display: none; }
    .nm2-trust-inner { gap: 12px; }
}
@media (max-width: 700px) {
    .nm2-trust-pe, .nm2-trust-sep { display: none; }
    .nm2-trust-inner { justify-content: center; gap: 10px; min-height: 32px; }
}

/* Hauptzeile sitzt auf Weiss und schliesst damit an die Mainbar an;
   die Untergewichtung passiert im Panel, nicht in einer zweiten Zeile. */
.nm2-nav-wrap {
    background-color: #fff;
    border-bottom: 1px solid #e2e4e8;
    position: relative;
}
.nm2-nav { display: block; }
/* flex statt festem Raster: "Fahnen & Fahnenmasten" braucht mehr Breite
   als "Pins" — gleich breite Spalten wuerden den langen Titel umbrechen */
.nm2-row {
    list-style: none; margin: 0; padding: 0;
    display: flex; justify-content: space-between; align-items: stretch;
    width: 100%;
}
.nm2-row > .nm2-item { flex: 0 0 auto; }
.nm2-row > .nm2-item-all { flex: 0 0 auto; }

.nm2-item { position: relative; }
.nm2-row .nm2-link {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 18px 14px;
    color: #14171c;
    font-size: 12.5px; font-weight: 700;
    letter-spacing: .035em; text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    position: relative;
    transition: color .2s, background .2s;
}
.nm2-row .nm2-link::before {
    content: ""; position: absolute; left: 22%; right: 22%; bottom: 6px;
    height: 2px; background: var(--nm2-yellow);
    transform: scaleX(0); transform-origin: center;
    transition: transform .3s cubic-bezier(.2,.7,.2,1); border-radius: 2px;
}
.nm2-item:hover > .nm2-link,
.nm2-item.is-open > .nm2-link { color: #000; background: #f7f8fa; }
.nm2-item:hover > .nm2-link::before,
.nm2-item.is-open > .nm2-link::before { transform: scaleX(1); }

/* --- Button "Alle Kategorien" --- */
.nm2-item-all { border-left: 1px solid #e8eaee; }
.nm2-row .nm2-all-btn {
    width: 100%; border: 0; background: transparent; cursor: pointer;
    font-family: inherit; color: #55595f;
}
.nm2-row .nm2-all-btn:hover { color: #14171c; background: #f7f8fa; }
.nm2-all-ico { display: inline-flex; flex-direction: column; gap: 2.5px; }
.nm2-all-ico span { display: block; width: 13px; height: 2px; background: currentColor; border-radius: 2px; }
.nm2-item-all.is-open > .nm2-all-btn { color: #14171c; background: #f7f8fa; }
.nm2-item-all.is-open .nm2-arrow { transform: rotate(180deg); }
.nm2-all-btn .nm2-arrow { transition: transform .2s; }

/* --- Panel mit allen Kategorien ---
   Kein [hidden], damit sich das Auf- und Zuklappen animieren laesst;
   im geschlossenen Zustand ist es per visibility/pointer-events inaktiv,
   bleibt aber im DOM und damit fuer Suchmaschinen lesbar. */
.nm2-allpanel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid #e2e4e8;
    box-shadow: 0 22px 44px -24px rgba(0,0,0,.4);
    z-index: 90;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .24s cubic-bezier(.2,.7,.2,1), visibility 0s linear .24s;
}
.nm2-allpanel.is-open {
    opacity: 1; visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .2s ease, transform .24s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.nm2-allpanel-inner { padding-top: 30px; padding-bottom: 26px; }

.nm2-allgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 40px;
}
.nm2-allgroup { display: flex; flex-direction: column; gap: 20px; }
.nm2-allgroup-title {
    margin: 0; padding-bottom: 9px;
    border-bottom: 1px solid #e6e7ea;
    font-size: 10.5px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    color: #9a9ea6;
}
/* jede Kategorie faehrt beim Oeffnen leicht versetzt hoch */
.nm2-allcol { opacity: 0; transform: translateY(6px); }
.nm2-allpanel.is-open .nm2-allcol {
    animation: nm2-fadeup .32s cubic-bezier(.2,.7,.2,1) forwards;
}
.nm2-allgroup:nth-child(1) .nm2-allcol { animation-delay: .02s; }
.nm2-allgroup:nth-child(2) .nm2-allcol { animation-delay: .06s; }
.nm2-allgroup:nth-child(3) .nm2-allcol { animation-delay: .10s; }
.nm2-allgroup:nth-child(4) .nm2-allcol { animation-delay: .14s; }
@keyframes nm2-fadeup { to { opacity: 1; transform: translateY(0); } }

.nm2-allcat {
    display: flex; align-items: center; gap: 9px;
    font-size: 13.5px; font-weight: 700; color: #14171c;
    margin-bottom: 9px;
}
.nm2-allcat-ico {
    display: inline-flex; flex: none;
    width: 30px; height: 30px; border-radius: 8px;
    align-items: center; justify-content: center;
    background: #fdf6dd; color: #a4801a;
    transition: background .16s, color .16s;
}
.nm2-allcat:hover { color: #000; }
.nm2-allcat:hover .nm2-allcat-ico { background: var(--nm2-yellow); color: #14171c; }
.nm2-allsubs { list-style: none; margin: 0 0 0 39px; padding: 0; display: grid; gap: 7px; }
.nm2-allsubs a { font-size: 12.5px; color: #6b6f77; line-height: 1.45; }
.nm2-allsubs a:hover { color: #14171c; }

.nm2-allfoot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    margin-top: 28px; padding-top: 18px;
    border-top: 1px solid #eceef1;
    font-size: 12.5px;
}
.nm2-allfoot-txt { color: #7c8087; }
.nm2-allfoot-links { display: inline-flex; align-items: center; gap: 22px; }
.nm2-allfoot-tel {
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 700; color: #14171c;
}
.nm2-allfoot-tel svg { color: #a4801a; }
.nm2-allfoot-links a:hover { color: #000; }

@media (prefers-reduced-motion: reduce) {
    .nm2-allpanel { transition: opacity .01s, visibility 0s; transform: none; }
    .nm2-allpanel.is-open { transform: none; }
    .nm2-allcol, .nm2-allpanel.is-open .nm2-allcol { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 1050px) {
    .nm2-allgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
}

.nm2-arrow {
    width: 0; height: 0;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 4px solid rgba(0,0,0,.5);
    transition: transform .25s, border-top-color .2s;
}
.nm2-item:hover .nm2-arrow, .nm2-item.is-open .nm2-arrow {
    border-top-color: #000; transform: rotate(180deg);
}

/* === MEGA: positioniert RELATIV ZUM ITEM, öffnet direkt darunter === */
.nm2-mega {
    position: absolute; top: 100%; left: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-top: 3px solid var(--nm2-yellow);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 22px 48px -18px rgba(0,0,0,.40);
    padding: 18px 20px 18px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s, visibility .18s, transform .18s;
    z-index: 10000;
}
.nm2-mega::before {
    /* Hover-Brücke nach oben (kleiner Gap zwischen Item und Mega) */
    content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
    height: 14px; background: transparent;
}
.nm2-item.is-open > .nm2-mega {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}

/* Mega-Breite je nach Spaltenanzahl */
.nm2-mega-cols-1 { min-width: 260px; max-width: 320px; }
.nm2-mega-cols-2 { min-width: 480px; }
.nm2-mega-cols-3 { min-width: 640px; }
.nm2-mega-cols-4 { min-width: 820px; }

.nm2-mega-grid { display: grid; gap: 24px; }
.nm2-mega-cols-1 .nm2-mega-grid { grid-template-columns: 1fr; }
.nm2-mega-cols-2 .nm2-mega-grid { grid-template-columns: 1fr 1fr; }
.nm2-mega-cols-3 .nm2-mega-grid { grid-template-columns: 1fr 1fr 1fr; }
.nm2-mega-cols-4 .nm2-mega-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* Items in der ZWEITEN HÄLFTE der Reihe: Mega nach rechts ausrichten */
.nm2-row > .nm2-item:nth-child(n+5) > .nm2-mega { left: auto; right: 0; }

/* === MEGA INHALTE === */
.nm2-mega-col { display: flex; flex-direction: column; min-width: 0; }
.nm2-mega-heading {
    display: flex; align-items: center; justify-content: space-between;
    color: #111;
    font-size: 12px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    padding-bottom: 8px; margin-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.nm2-mega-heading span[aria-hidden] { color: var(--nm2-yellow-dark); transition: transform .15s; }
.nm2-mega-heading:hover span[aria-hidden] { transform: translateX(3px); }
.nm2-mega-list { list-style: none; margin: 0; padding: 0; }
.nm2-mega-list li { margin: 0; }
.nm2-mega-list a {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 8px;
    color: #2a2b30;
    font-size: 13.5px; font-weight: 500;
    border-radius: 6px;
    transition: color .15s, background .15s, padding-left .15s;
}
.nm2-mega-list a:hover {
    color: #000;
    background: var(--nm2-gray-100);
    padding-left: 14px;
}
.nm2-mega-list a.is-hot .nm2-dot { color: var(--nm2-yellow-dark); font-size: 8px; }
.nm2-mega-image {
    display: block;
    margin-top: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px -8px rgba(0,0,0,.3);
}
.nm2-mega-image img {
    display: block; width: 100%; height: auto; max-height: 140px; object-fit: cover;
    transition: transform .35s ease;
}
.nm2-mega-image:hover img { transform: scale(1.04); }

/* === BURGER === */
.nm2-header button.nm2-burger {
    display: none;
    background: #fff !important;
    border: 1px solid #dcdfe4 !important;
    border-radius: 10px !important;
    width: 44px !important; height: 44px !important;
    padding: 0 !important; margin: 0;
    color: var(--nm2-ink) !important;
    cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    box-shadow: none;
    transition: background .2s, border-color .2s, transform .15s !important;
}
.nm2-header button.nm2-burger:hover { border-color: #c3a24a !important; transform: translateY(-1px); }
.nm2-header button.nm2-burger:active { transform: translateY(0); }
.nm2-burger span { width: 20px; height: 2.5px; background: var(--nm2-ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nm2-header.is-drawer-open button.nm2-burger { background: var(--nm2-yellow) !important; border-color: var(--nm2-yellow) !important; }
.nm2-header.is-drawer-open .nm2-burger span { background: var(--nm2-ink); }
.nm2-header.is-drawer-open .nm2-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nm2-header.is-drawer-open .nm2-burger span:nth-child(2) { opacity: 0; }
.nm2-header.is-drawer-open .nm2-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === OFF-CANVAS DRAWER === */
.nm2-backdrop { position: fixed; inset: 0; background: rgba(10,10,12,.55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 99998; }
.nm2-backdrop.is-open { opacity: 1; pointer-events: auto; }
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) {
    html, body { overflow-x: hidden; }
}
/* === MOBILES MENUE — helles Design, gleiche Gruppen wie am Desktop ===
   Vorher dunkel: darauf war die Wortmarke des Logos (schwarze Schrift)
   praktisch unlesbar. */
.nm2-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 88vw; max-width: 390px;
    background: #fff;
    color: #14171c; z-index: 99999;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    box-shadow: -18px 0 46px -24px rgba(0,0,0,.45);
    overscroll-behavior: contain;
}
.nm2-drawer.is-open { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .nm2-drawer { transition: none; } }

.nm2-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 16px;
    border-bottom: 1px solid #ecedf0; flex: 0 0 auto;
}
.nm2-drawer-logo img { display: block; width: 176px; height: auto; }
.nm2-drawer button.nm2-drawer-close {
    background: #f4f5f7 !important; border: 1px solid #e4e6ea !important;
    border-radius: 10px !important; width: 40px !important; height: 40px !important;
    padding: 0 !important; color: #4a4e55 !important; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    transition: background .18s, color .18s, border-color .18s !important;
}
.nm2-drawer button.nm2-drawer-close:hover,
.nm2-drawer button.nm2-drawer-close:focus-visible {
    background: var(--nm2-yellow) !important; color: #14171c !important; border-color: #e8b800 !important;
}

.nm2-drawer-search {
    display: flex; align-items: center; margin: 14px 16px 12px;
    background: #fff; border: 1px solid #dcdfe4; border-radius: 10px;
    padding: 4px 4px 4px 6px; flex: 0 0 auto; position: relative; flex-wrap: wrap;
    transition: border-color .18s, box-shadow .18s;
}
.nm2-drawer-search:focus-within { border-color: #c3a24a; box-shadow: 0 0 0 3px rgba(255,207,27,.18); }
.nm2-drawer-search input.nm2-search-input {
    flex: 1; min-width: 0;
    border: 0 !important; outline: 0 !important; box-shadow: none !important;
    border-radius: 0 !important; background: transparent !important;
    padding: 0 8px !important; width: auto; height: 40px;
    color: #14171c !important; font-size: 14.5px;
}
.nm2-drawer-search input.nm2-search-input::placeholder { color: #a0a4ab; }
.nm2-drawer-search button[type="submit"] {
    border: 0 !important; padding: 0 !important; cursor: pointer;
    background: var(--nm2-yellow) !important; color: #14171c !important;
    width: 38px !important; height: 38px !important; border-radius: 8px !important;
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    transition: background .18s !important;
}
.nm2-drawer-search button[type="submit"]:hover { background: #F8C700 !important; }

.nm2-drawer-trust {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    margin: 0 16px 12px; padding: 9px 12px;
    background: #fbfaf7; border: 1px solid #efeee9; border-radius: 10px;
    font-size: 12.5px; color: #6b6f77; flex: 0 0 auto;
}
.nm2-drawer-trust strong { font-size: 13.5px; font-weight: 800; color: #14171c; }

.nm2-drawer-nav { flex: 1 1 auto; overflow-y: auto; padding: 4px 0 26px; }
.nm2-drawer-group {
    margin: 16px 16px 6px; padding-bottom: 7px;
    border-bottom: 1px solid #eceef1;
    font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: #9a9ea6;
}
.nm2-drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.nm2-drawer-nav > ul > li + li { border-top: 1px solid #f2f3f5; }
.nm2-drawer-row { display: flex; align-items: stretch; }
.nm2-drawer-row > a {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px;
    padding: 13px 16px; color: #14171c;
    font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none;
    transition: color .15s, background .15s;
}
.nm2-drawer-row > a:hover, .nm2-drawer-row > a:active { background: #f7f8fa; }
.nm2-drawer-ico {
    display: inline-flex; flex: none;
    width: 30px; height: 30px; border-radius: 8px;
    align-items: center; justify-content: center;
    background: #fdf6dd; color: #a4801a;
}
.nm2-drawer button.nm2-drawer-toggle {
    background: transparent !important; border: 0 !important;
    border-left: 1px solid #f2f3f5 !important; border-radius: 0 !important;
    padding: 0 !important; cursor: pointer; width: 52px !important;
    color: #8a8e96 !important; display: inline-flex; align-items: center; justify-content: center;
    transition: color .18s, transform .25s, background .18s !important;
}
.nm2-drawer-has.is-open > .nm2-drawer-row .nm2-drawer-toggle {
    color: #a4801a !important; transform: rotate(180deg); background: #faf9f5 !important;
}
.nm2-drawer-sub {
    background: #fafbfc; max-height: 0; overflow: hidden;
    transition: max-height .32s ease;
}
@media (prefers-reduced-motion: reduce) { .nm2-drawer-sub { transition: none; } }
/* laengstes Untermenue misst aktuell ~1240px - Puffer fuer spaetere Links */
.nm2-drawer-has.is-open > .nm2-drawer-sub { max-height: 1900px; }
.nm2-drawer-sub li + li { border-top: 1px solid #f0f1f3; }
.nm2-drawer-sub a {
    display: block; padding: 11px 16px 11px 57px;
    color: #62666e; font-size: 13.5px; font-weight: 500;
    transition: color .15s, background .15s;
}
.nm2-drawer-sub a:hover { color: #14171c; background: #f4f5f7; }
.nm2-drawer-overview, .nm2-drawer-cat {
    color: #a4801a !important; font-weight: 700 !important;
    font-size: 11.5px !important; letter-spacing: .05em; text-transform: uppercase;
}
.nm2-drawer-cat { padding-left: 40px !important; background: #f5f6f8; }

.nm2-drawer-service { padding: 0 16px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.nm2-drawer-service li { border: 0 !important; }
.nm2-drawer-service a {
    display: inline-block; padding: 7px 13px;
    background: #f4f5f7; border-radius: 999px;
    color: #52565e; font-size: 12.5px; font-weight: 500;
    transition: background .15s, color .15s;
}
.nm2-drawer-service a:hover { background: var(--nm2-yellow); color: #14171c; }

.nm2-drawer-contact {
    margin: 20px 16px 0; padding: 15px;
    background: #fbfaf7; border: 1px solid #efeee9; border-radius: 12px;
    display: flex; flex-direction: column; gap: 11px;
}
.nm2-drawer-contact-title { margin: 0; font-size: 12.5px; color: #7c8087; }
.nm2-drawer-contact a {
    color: #14171c; font-size: 13.5px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 9px; word-break: break-word;
}
.nm2-drawer-contact a svg { color: #a4801a; flex: none; }
.nm2-drawer-contact a:hover { color: #000; }
.nm2-drawer-mail { font-weight: 500 !important; font-size: 13px !important; }

/* Such-Dropdown im Drawer: hell statt dunkel */
.nm2-drawer-search .nm2-sr-item:hover { background: #f5f6f8; }
.nm2-drawer-search .nm2-sr-thumb { background: #f2f3f5; }
.nm2-drawer-search .nm2-sr-title { color: #14171c; }
.nm2-drawer-search .nm2-sr-empty,
.nm2-drawer-search .nm2-sr-loading { color: #8a8e96; }
.nm2-drawer-search .nm2-sr-all { color: #14171c; border-top-color: #eceef1; }
.nm2-drawer-search .nm2-sr-all:hover { color: var(--nm2-yellow-dark); }

/* === RESPONSIVE === */
/* Desktop: KEIN Mobile-UI */
@media (min-width: 981px) {
    .nm2-burger, .nm2-drawer, .nm2-backdrop { display: none !important; }
}
@media (max-width: 1180px) {
    .nm2-row .nm2-link { font-size: 11.5px; letter-spacing: .025em; padding: 16px 10px; }
}
@media (max-width: 1080px) {
    .nm2-row .nm2-link { font-size: 11px; letter-spacing: .02em; padding: 15px 7px; }
    .nm2-all-ico { display: none; }
}
@media (max-width: 1120px) {
    .nm2-mainbar-inner { gap: 18px; }
    .nm2-search { max-width: 340px; }
    .nm2-right { gap: 20px; }
    .nm2-actions { gap: 20px; }
}
@media (max-width: 1050px) { .nm2-search { max-width: 280px; } }

/* Tablet: Menue in den Drawer, Suche rutscht in eine eigene Zeile unter das Logo */
@media (max-width: 980px) {
    .nm2-topbar { display: none; }
    .nm2-nav-wrap { display: none; }
    .nm2-header button.nm2-burger { display: inline-flex !important; }
    .nm2-mainbar-inner { flex-wrap: wrap; min-height: 0; row-gap: 12px; column-gap: 16px; padding-top: 12px; padding-bottom: 12px; }
    .nm2-logo { order: 1; margin-right: auto; }
    .nm2-right { order: 2; gap: 16px; }
    .nm2-actions { gap: 18px; }
    .nm2-logo img { width: 210px; }
    .nm2-search { order: 3; flex: 0 0 100%; max-width: none; margin: 0; height: 44px; }
    .nm2-search-results { min-width: 0; }
}

/* Handy: kompakte Icons, Labels bleiben (kleiner), Suche volle Breite */
@media (max-width: 600px) {
    .nm2-mainbar-inner { column-gap: 10px; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .nm2-logo img { width: 150px; }
    .nm2-right { gap: 10px; }
    .nm2-actions { gap: 14px; }
    .nm2-action-icon svg { width: 21px; height: 21px; }
    .nm2-action-label { font-size: 10px; }
    .nm2-header button.nm2-burger { width: 42px !important; height: 42px !important; }
}
@media (max-width: 400px) {
    .nm2-logo img { width: 132px; }
    .nm2-actions { gap: 11px; }
    .nm2-action-label { display: none; }
    .nm2-action-icon svg { width: 23px; height: 23px; }
}
body.nm2-no-scroll { overflow: hidden; }
