/* === 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 === */
.nm2-header {
    --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;
    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: var(--nm2-ink); color: #fff; font-size: 12.5px; letter-spacing: .015em; border-bottom: 1px solid var(--nm2-line-dark); }
.nm2-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; padding-top: 8px; padding-bottom: 8px; }
.nm2-top-contact, .nm2-top-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nm2-top-contact a, .nm2-top-links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 6px; position: relative; padding: 2px 0; transition: color .2s; }
.nm2-top-contact a .nm2-i { color: var(--nm2-yellow); font-size: 13px; }
.nm2-top-links a { font-weight: 500; }
.nm2-top-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--nm2-yellow); transition: right .25s ease; border-radius: 2px; }
.nm2-top-links a:hover, .nm2-top-contact a:hover { color: #fff; }
.nm2-top-links a:hover::after { right: 0; }

/* === MAINBAR === */
.nm2-mainbar {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255,207,27,.06), transparent 55%),
        linear-gradient(180deg, #14161B 0%, #0E1014 100%);
    border-bottom: 1px solid var(--nm2-line-dark);
}
.nm2-mainbar-inner { display: flex; align-items: center; min-height: 86px; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.nm2-logo { display: inline-flex; align-items: center; flex: 0 1 auto; margin-right: auto; }
.nm2-logo img { display: block; width: 280px; max-width: 100%; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nm2-logo:hover img { transform: translateY(-1px); }
.nm2-right { display: flex; align-items: center; gap: 10px; }

/* SEARCH — schlicht weiß, eine Lupe, kein innerer Rahmen */
.nm2-search {
    position: relative;
    display: flex; align-items: center;
    width: 300px; height: 44px;
    background: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0 6px 0 18px;
    box-shadow: none;
    outline: 0;
}
.nm2-search:focus-within { box-shadow: none; 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: 50% !important;
    background: transparent !important;
    padding: 0 !important; margin: 0;
    cursor: pointer; flex: 0 0 auto;
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #6b7079 !important;
    transition: color .15s !important;
}
.nm2-search button.nm2-search-btn:hover,
.nm2-search:focus-within button.nm2-search-btn { color: #111 !important; }

/* === 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: rgba(255,255,255,.04); border: 0; border-radius: 12px;
    box-shadow: none; margin-top: 10px; max-height: 50vh; display: none;
}
.nm2-drawer-search .nm2-search-results.is-open { display: block; }
.nm2-drawer-search .nm2-sr-item:hover { background: rgba(255,255,255,.07); }
.nm2-drawer-search .nm2-sr-thumb { background: rgba(255,255,255,.08); }
.nm2-drawer-search .nm2-sr-title { color: #fff; }
.nm2-drawer-search .nm2-sr-empty, .nm2-drawer-search .nm2-sr-loading { color: rgba(255,255,255,.55); }
.nm2-drawer-search .nm2-sr-all { color: #fff; border-top-color: rgba(255,255,255,.08); }
.nm2-drawer-search .nm2-sr-all:hover { color: var(--nm2-yellow); }

/* CART (gelb) */
.nm2-cart { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 16px; min-height: 44px; border-radius: 999px; background: linear-gradient(180deg, #FFD93B 0%, #F0BE00 100%); border: 1px solid #D9A800; color: var(--nm2-ink); font-size: 13.5px; font-weight: 800; letter-spacing: .02em; position: relative; box-shadow: 0 6px 16px -6px rgba(255,207,27,.6), 0 1px 0 rgba(255,255,255,.4) inset; transition: background .2s, transform .2s, box-shadow .25s; }
.nm2-cart:hover { background: linear-gradient(180deg, #FFE268 0%, #F8C700 100%); transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(255,207,27,.75), 0 1px 0 rgba(255,255,255,.5) inset; }
.nm2-cart-icon { display: inline-flex; color: var(--nm2-ink); }
.nm2-cart-text { color: var(--nm2-ink); font-weight: 800; }
.nm2-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--nm2-ink); color: var(--nm2-yellow); font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.35), 0 0 0 2px var(--nm2-yellow); }

/* === NAV — beide Reihen IDENTISCH === */
.nm2-nav-wrap {
    background: linear-gradient(180deg, var(--nm2-nav-bg-1) 0%, var(--nm2-nav-bg-2) 100%);
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.08);
    position: relative;
    box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.nm2-nav { display: block; }
.nm2-row {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
}
/* Reihe 2 hat NUR eine dünne Trennlinie, kein anderer Background */
.nm2-row-2 { border-top: 1px solid rgba(0,0,0,.08); }

.nm2-item { position: relative; }
.nm2-row .nm2-link {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 6px;
    color: #1a1c20;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .06em; 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: rgba(255,255,255,.55); }
.nm2-item:hover > .nm2-link::before,
.nm2-item.is-open > .nm2-link::before { transform: scaleX(1); }

.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: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 13px !important;
    width: 46px !important; height: 46px !important;
    padding: 0 !important; margin: 0;
    color: #fff !important;
    cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.08) inset;
    transition: background .2s, border-color .2s, box-shadow .2s, transform .15s !important;
}
.nm2-header button.nm2-burger:hover { border-color: rgba(255,207,27,.6) !important; box-shadow: 0 4px 14px -2px rgba(255,207,27,.4), 0 1px 0 rgba(255,255,255,.12) inset; transform: translateY(-1px); }
.nm2-header button.nm2-burger:active { transform: translateY(0); }
.nm2-burger span { width: 21px; height: 2.5px; background: #fff; 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; }
}
.nm2-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86vw; max-width: 380px;
    background: linear-gradient(180deg, #14161B 0%, #0A0B0E 100%);
    color: #fff; z-index: 99999;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    box-shadow: none;
    overscroll-behavior: contain;
}
.nm2-drawer.is-open { transform: translateX(0); }
.nm2-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.07); flex: 0 0 auto; }
.nm2-drawer-logo img { display: block; width: 160px; height: auto; }
.nm2-drawer button.nm2-drawer-close { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 10px !important; width: 38px !important; height: 38px !important; padding: 0 !important; color: #fff !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s !important; }
.nm2-drawer button.nm2-drawer-close:hover { background: var(--nm2-yellow) !important; color: var(--nm2-ink) !important; border-color: var(--nm2-yellow) !important; }
.nm2-drawer-search { display: flex; align-items: center; margin: 14px 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); border-radius: 999px; padding: 4px; flex: 0 0 auto; }
.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 12px !important; width: auto; height: 38px; color: #fff !important; font-size: 14px; }
.nm2-drawer-search input.nm2-search-input::placeholder { color: rgba(255,255,255,.45); }
.nm2-drawer-search button[type="submit"] { border: 0 !important; padding: 0 !important; cursor: pointer; background: var(--nm2-yellow) !important; color: var(--nm2-ink) !important; width: 38px !important; height: 38px !important; border-radius: 999px !important; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; transition: background .2s !important; }
.nm2-drawer-search button[type="submit"]:hover { background: var(--nm2-yellow-soft) !important; }
.nm2-drawer-nav { flex: 1 1 auto; overflow-y: auto; padding: 4px 0 24px; }
.nm2-drawer-nav > ul { list-style: none; margin: 0; padding: 0; }
.nm2-drawer-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.05); }
.nm2-drawer-row { display: flex; align-items: stretch; }
.nm2-drawer-row > a { flex: 1; min-width: 0; display: block; padding: 14px 18px; color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: color .15s, background .15s; }
.nm2-drawer-row > a:hover, .nm2-drawer-row > a:active { color: var(--nm2-yellow); background: rgba(255,255,255,.04); }
.nm2-drawer button.nm2-drawer-toggle { background: transparent !important; border: 0 !important; border-left: 1px solid rgba(255,255,255,.07) !important; border-radius: 0 !important; padding: 0 !important; cursor: pointer; width: 52px !important; color: rgba(255,255,255,.7) !important; display: inline-flex; align-items: center; justify-content: center; transition: color .2s, transform .25s, background .2s !important; }
.nm2-drawer-has.is-open > .nm2-drawer-row .nm2-drawer-toggle { color: var(--nm2-yellow) !important; transform: rotate(180deg); background: rgba(255,255,255,.05) !important; }
.nm2-drawer-sub { list-style: none; margin: 0; padding: 0; background: rgba(0,0,0,.30); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.nm2-drawer-has.is-open > .nm2-drawer-sub { max-height: 1400px; }
.nm2-drawer-sub li { border-bottom: 1px solid rgba(255,255,255,.04); }
.nm2-drawer-sub li:last-child { border-bottom: 0; }
.nm2-drawer-sub a { display: block; padding: 11px 18px 11px 30px; color: rgba(255,255,255,.78); font-size: 13.5px; font-weight: 500; transition: color .15s, background .15s; }
.nm2-drawer-sub a:hover { color: var(--nm2-yellow); background: rgba(255,255,255,.04); }
.nm2-drawer-overview, .nm2-drawer-cat { color: var(--nm2-yellow) !important; font-weight: 700 !important; font-size: 12px !important; letter-spacing: .05em; text-transform: uppercase; }
.nm2-drawer-cat { padding-left: 18px !important; background: rgba(255,255,255,.03); }
.nm2-drawer-divider { height: 1px; margin: 14px 18px; background: rgba(255,255,255,.07); }
.nm2-drawer-service { list-style: none; margin: 0; padding: 0 18px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.nm2-drawer-service a { color: rgba(255,255,255,.6); font-size: 12.5px; padding: 4px 0; transition: color .15s; }
.nm2-drawer-service a:hover { color: var(--nm2-yellow); }
.nm2-drawer-contact { margin: 18px; padding: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.nm2-drawer-contact a { color: #fff; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.nm2-drawer-contact a:hover { color: var(--nm2-yellow); }
.nm2-drawer-contact span { color: var(--nm2-yellow); }

/* === 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: 11px; letter-spacing: .04em; padding: 14px 4px; }
}
@media (max-width: 1050px) { .nm2-search { width: 250px; } }
@media (max-width: 980px) {
    .nm2-topbar { display: none; }
    .nm2-nav-wrap { display: none; }
    .nm2-header button.nm2-burger { display: inline-flex !important; }
    .nm2-search { width: 220px; }
    .nm2-logo img { width: 200px; }
    .nm2-cart-text { display: none; }
    .nm2-cart { padding: 0 12px; }
    .nm2-mainbar-inner { min-height: 72px; }
}
@media (max-width: 600px) {
    .nm2-search { display: none; }
    .nm2-logo img { width: 160px; }
    .nm2-mainbar-inner { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
}
body.nm2-no-scroll { overflow: hidden; }
