/* ==========================================================================
   FW-NAV 2026 — neuer Header (Etappe 1)
   Design-Sprache analog fw-foot / wk-*: Weiß, Mittelblau #2281c4, Akzentlinie.
   Breakpoint 992px (wie bisheriges Megamenü). Zustände setzt js/fw-nav.js:
   .is-open (Item/Konto), .is-active (Mega-Sektion), body.fw-nav-open (Mobilmenü),
   .fw-nav-hidden (Sticky-Leiste beim Runterscrollen mobil).
   ========================================================================== */

html {
    scroll-padding-top: 140px; /* Sticky-Header verdeckt keine Sprungziele (WCAG 2.4.11) */
}

/* display:contents — der <header> erzeugt keine eigene Box, seine Kinder
   (USP-Leiste, Hinweis, Sticky-Block) liegen layout-technisch direkt in
   div.page. NUR SO kann position:sticky der Leiste funktionieren: sticky
   klebt ausschließlich innerhalb des Elternelements, und der Header selbst
   ist nur so hoch wie sein Inhalt. Schrift/Farbe vererben sich trotzdem. */
.fw-nav {
    display: contents;
    font-size: 14px;
    color: #333333;
}

.fw-nav *,
.fw-nav *::before,
.fw-nav *::after {
    box-sizing: border-box;
}

/* Resets bewusst mit :where() auf Spezifität (0,0,1) gedrückt,
   damit sie NIE gegen fw-nav-*-Komponentenklassen (0,1,0) gewinnen. */
:where(.fw-nav) a {
    color: #333333;
    text-decoration: none;
}

/* :where — Komponenten-Hover (z.B. weiße Button-Schrift) muss gewinnen können */
:where(.fw-nav) a:hover {
    color: #2281c4;
}

:where(.fw-nav) button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.fw-nav a:focus-visible,
.fw-nav button:focus-visible {
    outline: 2px solid #2281c4;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Eingabefelder bringen ihre eigene Rundung mit (das Suchfeld ist links rund,
   rechts eckig, weil der Such-Button anschließt). Der 2px-Wert oben hat sie
   beim Hineinklicken platt gemacht — deshalb hier ohne border-radius. */
.fw-nav input:focus-visible {
    outline: 2px solid #2281c4;
    outline-offset: 2px;
}

.fw-nav-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Skip-Link
   -------------------------------------------------------------------------- */

/* Unsichtbar, aber fokussierbar — per 1x1px-Clip wie .fw-nav-sr-only, NICHT
   per transform: Der Link sitzt in div.page (position:relative, mainneu),
   eine relative Verschiebung nach oben versteckt ihn also nur so lange, wie
   div.page ganz oben am Seitenanfang beginnt. Sobald etwas darueber Platz
   einnimmt (mobil der Bewertungsbalken, kuenftig z.B. ein Cookie-Banner),
   ragte der untere Rand wieder sichtbar ins Bild. */
.fw-nav-skip {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Bei Tastatur-Fokus fest im Viewport (fixed statt absolute) — dadurch
   erscheint er immer oben links, unabhaengig von der Scrollposition. */
.fw-nav-skip:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1200;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 16px;
    overflow: visible;
    clip: auto;
    background: #2281c4;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Akzentlinie + USP-Leiste
   -------------------------------------------------------------------------- */

.fw-nav-accent {
    height: 3px;
    background: linear-gradient(90deg, #2281c4, #63b32e);
}

.fw-nav-usp {
    background: #f5f8fb;
    border-bottom: 1px solid #e6edf3;
}

.fw-nav-usp-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 6px 15px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 22px;
    font-size: 12.5px;
    color: #4a5a68;
}

.fw-nav-usp-inner > span {
    white-space: nowrap;
}

/* USP-Punkte weichen bei schmalen Fenstern, damit nichts umbricht */
@media (max-width: 1400px) {

    .fw-nav-usp-inner > span:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1180px) {

    .fw-nav-usp-inner > span:nth-child(2) {
        display: none;
    }
}

.fw-nav-usp-inner i {
    color: #2281c4;
    margin-right: 4px;
}

.fw-nav-usp-inner a {
    color: inherit;
}

/* Kontakt/Versand/Zahlarten: Textlinks im USP-Duktus (Icon + Wort), Blau als
   Klickbarkeits-Signal — bewusst KEINE Pill-Rahmen (wirkten wie Fremdkörper
   in der ansonsten flachen Leiste) */
.fw-nav-usp-links {
    margin-left: auto;
    display: flex;
    gap: 22px;
}

.fw-nav-usp-links button {
    color: #2281c4;
    font-size: 12.5px;
    font-weight: 600;
}

.fw-nav-usp-links button i {
    margin-right: 3px;
}

.fw-nav-usp-links button:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Sticky-Block (Bar + Hauptnavigation)
   -------------------------------------------------------------------------- */

.fw-nav-sticky {
    position: sticky;
    top: 0;
    z-index: 950;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(30, 50, 70, 0.10);
    transition: transform 0.25s ease;
}

.fw-nav-sticky.fw-nav-hidden {
    transform: translateY(-105%);
}

/* --------------------------------------------------------------------------
   Kopfzeile: Burger / Logo / Suche / Aktionen
   -------------------------------------------------------------------------- */

/* Symmetrisches Raster: 1fr | Suche | 1fr — die Suche sitzt dadurch exakt in
   der SEITENmitte, unabhängig davon, wie breit Logo und Icons sind. */
.fw-nav-bar {
    max-width: 1170px;
    margin: 0 auto;
    padding: 12px 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 640px) minmax(0, 1fr);
    align-items: center;
    gap: 10px 24px;
}

/* Logo: kompakte Bildmarke (flyerwire_sm) — das lange PNG (905x92, Claim
   eingebacken) würde in der ~226px-Spalte auf 23px Höhe schrumpfen. Der Claim
   ist bewusst weg: Titel/H1/USP-Leiste tragen die Botschaft, der Header gehört
   der Marke und den Funktionen. */
.fw-nav-logo {
    justify-self: start;
    display: flex;
    align-items: center;
}

.fw-nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
}

.fw-nav-burger-lines,
.fw-nav-burger-lines::before,
.fw-nav-burger-lines::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: #2281c4;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fw-nav-burger-lines {
    top: 21px;
}

.fw-nav-burger-lines::before {
    left: 0;
    top: -7px;
}

.fw-nav-burger-lines::after {
    left: 0;
    top: 7px;
}

body.fw-nav-open .fw-nav-burger-lines {
    background: transparent;
}

body.fw-nav-open .fw-nav-burger-lines::before {
    transform: translateY(7px) rotate(45deg);
}

body.fw-nav-open .fw-nav-burger-lines::after {
    transform: translateY(-7px) rotate(-45deg);
}

:where(.fw-nav-logo) img {
    display: block;
    max-height: 46px;
    width: auto;
    max-width: 100%;
}

/* Suche */

.fw-nav-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
    /* Rundung des Formulars selbst: sie gibt dem Fokus-Ring weiter unten
       (.fw-nav-search:focus-within) seine Form — sichtbar gerahmt sind
       Eingabefeld und Button. */
    border-radius: 21px;
    transition: box-shadow 0.15s ease;
}

.fw-nav-search-field {
    flex: 1 1 auto;
}

/* Bewusst ".fw-nav-search input" statt [type=search] — das Typeahead-Plugin
   wandelt den Feldtyp um, sonst greifen die Regeln nicht. */
.fw-nav-search input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-width: 300px;
    height: 42px;
    padding: 0 18px;
    border: 1.5px solid #cdd9e2;
    border-right: 0;
    border-radius: 21px 0 0 21px;
    font-size: 14.5px;
    background: #ffffff;
}

/* Autocomplete-Vorschlagsliste (Suche 2026) */

.fw-nav-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(30, 50, 70, 0.10), 0 24px 55px rgba(30, 50, 70, 0.28);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    text-align: left;
}

.fw-nav-suggest-group {
    padding: 10px 14px 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #7b8a97;
}

.fw-nav-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
}

.fw-nav-suggest-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.fw-nav-suggest-txt {
    min-width: 0;
}

.fw-nav-suggest-txt b {
    display: block;
    font-size: 13.5px;
}

.fw-nav-suggest-txt small {
    display: block;
    color: #6a7a88;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fw-nav-suggest-item:hover,
.fw-nav-suggest-item.is-active {
    background: #f0f6fb;
}

.fw-nav-suggest-all {
    display: block;
    padding: 11px 14px;
    text-align: center;
    font-weight: 700;
    color: #2281c4;
    border-top: 1px solid #edf2f6;
}

.fw-nav-suggest-all:hover,
.fw-nav-suggest-all.is-active {
    background: #f0f6fb;
}

.fw-nav-suggest-empty {
    padding: 14px;
    color: #6a7a88;
    font-size: 13px;
}

.fw-nav-suggest-empty a {
    color: #2281c4;
    font-weight: 600;
}

.fw-nav-search input:focus {
    border-color: #2281c4;
    outline: none;
    background: #ffffff;
}

/* Fokus-Ring auf der GANZEN Suchleiste statt auf dem Eingabefeld allein:
   Feld und Button sind zwei Elemente mit je halber Rundung — ein Ring am
   Feld würde an der Naht abbrechen und oben/unten neben dem Button
   herausstehen. Am Formular umschließt er beide als eine runde Einheit. */
.fw-nav-search:focus-within {
    box-shadow: 0 0 0 3px rgba(34, 129, 196, 0.20);
}

.fw-nav-search-btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 0 21px 21px 0;
    background: #2281c4;
    color: #ffffff;
    flex: 0 0 auto;
}

.fw-nav-search-btn:hover {
    background: #1a6da8;
}

/* Aktionen rechts */

.fw-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-self: end;
}

.fw-nav-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
    min-height: 44px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.2;
    color: #333333;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
}

.fw-nav-action:hover {
    background: #f0f6fb;
    color: #2281c4;
}

.fw-nav-action i {
    font-size: 1.55em;
    color: #2281c4;
}

.fw-nav-cart-icon {
    position: relative;
    display: inline-block;
}

.fw-nav-cart-count {
    position: absolute;
    top: -7px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #e2001a;
    color: #ffffff;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Konto-Panel */

.fw-nav-account {
    position: relative;
}

/* Warenkorb-Flyout (Desktop: Hover zeigt Kurzinfo, Klick geht zum Warenkorb) */

.fw-nav-cart-item {
    position: relative;
}

.fw-nav-cart-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 990;
    /* 390 statt 290px: bei der schmalen Fassung brach die Unterzeile
       (Menge · Preis · Art.-Nr.) fast immer um und machte jede Position
       zweizeilig — jetzt passt sie meist in eine Zeile. */
    width: min(390px, 92vw);
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(30, 50, 70, 0.10), 0 24px 55px rgba(30, 50, 70, 0.28);
    text-align: center;
}

.fw-nav-cart-list {
    margin-bottom: 10px;
    text-align: left;
    max-height: 285px; /* ~4,5 Zeilen (62px je Zeile) — die angeschnittene Zeile signalisiert Scrollbarkeit */
    overflow-y: auto;
    padding-right: 4px;
}

.fw-nav-cart-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f4f8;
}

.fw-nav-cart-row img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}

.fw-nav-cart-row b {
    display: block;
    font-size: 12.5px;
    line-height: 1.35;
}

.fw-nav-cart-row small {
    color: #6a7a88;
    font-size: 11.5px;
}

.fw-nav-cart-more {
    padding: 7px 0 0;
    font-size: 12px;
    color: #6a7a88;
    text-align: left;
}

.fw-nav-cart-meta {
    margin-bottom: 10px;
}

.fw-nav-cart-sum {
    padding-top: 8px;
    border-top: 1px solid #edf2f6;
    text-align: left;
    font-size: 13px;
}

.fw-nav-cart-sum b {
    float: right;
}

.fw-nav-cart-sum small {
    display: block;
    color: #6a7a88;
    font-size: 11px;
}

.fw-nav-cart-split {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f5f8fb;
    color: #4a5a68;
    font-size: 11.5px;
    line-height: 1.4;
    text-align: left;
}

.fw-nav-cart-split i {
    color: #2281c4;
    margin-right: 3px;
}

.fw-nav-cart-info {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: #4a5a68;
}


.fw-nav-account-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 990;
    width: min(320px, 92vw);
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(30, 50, 70, 0.10), 0 24px 55px rgba(30, 50, 70, 0.28);
    text-align: left;
}

.fw-nav-account-close {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    color: #4a5a68;
}

.fw-nav-account-head {
    font-weight: 700;
    margin: 0 0 4px;
}

.fw-nav-account-sub {
    color: #6a7a88;
    font-size: 12.5px;
    margin: 0 0 10px;
}

.fw-nav-account-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #edf2f6;
}

.fw-nav-account-menu li + li {
    margin-top: 10px;
}

.fw-nav-account-menu a {
    display: block;
    padding: 4px 2px;
}

.fw-nav-account-menu i {
    width: 20px;
    color: #2281c4;
}

.fw-nav-account-menu-foot {
    padding-bottom: 0;
}

.fw-nav-login-form input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    margin-bottom: 10px;
    border: 1.5px solid #cdd9e2;
    border-radius: 8px;
    font-size: 14.5px;
}

.fw-nav-login-form input:focus {
    border-color: #2281c4;
    outline: none;
}

.fw-nav-password {
    position: relative;
}

.fw-nav-password-toggle {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 32px;
    height: 30px;
    color: #6a7a88;
}

/* Einheitliche Primär-Buttons: Anmelden / Zum Einkaufswagen / Projekt anfragen
   — ein Stil, ein Verhalten (auch als <a> kein Hover-Unterstreichen) */
.fw-nav-login-btn,
.fw-nav-cart-cta,
.fw-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: #2281c4;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.fw-nav-login-btn:hover,
.fw-nav-cart-cta:hover,
.fw-nav-cta:hover {
    background: #1a6da8;
    color: #ffffff;
    text-decoration: none;
}

.fw-nav-login-btn,
.fw-nav-cart-cta {
    width: 100%;
}

.fw-nav-account-links {
    margin: 10px 0 0;
    font-size: 12.5px;
    text-align: center;
}

.fw-nav-account-links a {
    color: #2281c4;
}

/* --------------------------------------------------------------------------
   Hauptnavigation
   -------------------------------------------------------------------------- */

.fw-nav-main {
    border-top: 1px solid #e6edf3;
}

.fw-nav-menu {
    max-width: 1170px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: stretch;
}

.fw-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 1px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

/* CTA rechts in der Menüzeile (Grundform aus dem gemeinsamen Primär-Button-Block
   bei .fw-nav-login-btn) — bewusst zurückgenommen: kompakter und als Outline
   statt Vollfläche, damit „Anmelden" der einzige Primär-Button im Kopf bleibt */
.fw-nav-cta {
    align-self: center;
    margin-left: 16px;
    height: 36px;
    padding: 0 15px;
    font-size: 13.5px;
    background: transparent;
    color: #2281c4;
    border: 1px solid #c7d9e8;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fw-nav-cta:hover,
.fw-nav-cta:focus {
    background: #eaf3fa;
    border-color: #2281c4;
    color: #1a6da8;
    text-decoration: none;
}

.fw-nav-cta i {
    margin-right: 6px;
}

.fw-nav-item {
    position: relative;
}

.fw-nav-item-mega {
    position: static;
}

.fw-nav-top {
    display: flex;
    align-items: stretch;
}

.fw-nav-toplink {
    position: relative;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    font-size: 15.5px;
    font-weight: 600;
}

.fw-nav-toplink::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 7px;
    height: 2.5px;
    border-radius: 2px;
    background: #2281c4;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.fw-nav-top:hover .fw-nav-toplink::after,
.fw-nav-item.is-open .fw-nav-toplink::after,
.fw-nav-toplink[aria-current="page"]::after {
    transform: scaleX(1);
}

.fw-nav-toplink[aria-current="page"] {
    color: #2281c4;
}

.fw-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    color: #7b8a97;
}

.fw-nav-toggle i {
    transition: transform 0.2s ease;
    font-size: 12px;
}

.fw-nav-item.is-open > .fw-nav-top .fw-nav-toggle i {
    transform: rotate(180deg);
}

.fw-nav-item.is-open > .fw-nav-top .fw-nav-toplink,
.fw-nav-item.is-open > .fw-nav-top .fw-nav-toggle {
    color: #2281c4;
}

.fw-nav-toggle-label {
    padding: 13px 14px;
    font-size: 15.5px;
    font-weight: 600;
    color: #333333;
    gap: 7px;
}

/* Kontakt/Versand/Zahlarten im Mobilmenü (Desktop: in der USP-Leiste) */

.fw-nav-menu-service,
.fw-nav-menu-head {
    display: none;
}

/* Seiten-Abdunkler. Mobil: hinter dem Off-Canvas-Menü (body.fw-nav-open).
   Desktop: hinter offenen Mega-/Dropdown-Panels (body.fw-nav-panel-open) —
   gibt den Flyouts Tiefe und lenkt den Blick ins Menü.
   WICHTIG: z-Index UNTER der Sticky-Leiste (950)! Die Leiste bildet einen
   eigenen Stacking-Context — läge das Overlay darüber, würde es auch das
   Off-Canvas-Menü (Kind der Leiste) überdecken und jeden Tap abfangen. */
.fw-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 940;
    background: rgba(20, 30, 40, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

body.fw-nav-open .fw-nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 992px) {

    body.fw-nav-panel-open .fw-nav-overlay {
        opacity: 1;
        background: rgba(20, 30, 40, 0.32);
        pointer-events: none; /* Hover/Klick laufen normal weiter, nur der Blick wird gelenkt */
    }
}

/* Panels (Desktop: Dropdown/Mega) */

.fw-nav-panel[hidden] {
    display: none !important;
}

/* Sanftes Einblenden statt hartem Aufpoppen */
@keyframes fwNavPanelIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fw-nav-panel:not([hidden]) {
    animation: fwNavPanelIn 0.16s ease;
}

.fw-nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 980;
    min-width: 270px;
    padding: 10px 0;
    background: #ffffff;
    border: 1px solid #dce5ed;
    border-top: 3px solid #2281c4;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(30, 50, 70, 0.10), 0 26px 60px rgba(30, 50, 70, 0.28);
}

.fw-nav-droplist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fw-nav-droplist a {
    display: block;
    padding: 8px 18px;
}

.fw-nav-droplist a:hover {
    background: #f0f6fb;
}

.fw-nav-group {
    padding: 12px 18px 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #7b8a97;
}

/* Mega-Menü */

.fw-nav-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 980;
    padding: 16px 24px 18px;
    background: #ffffff;
    border: 1px solid #dce5ed;
    border-top: 3px solid #2281c4;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 10px rgba(30, 50, 70, 0.10), 0 30px 70px rgba(30, 50, 70, 0.30);
    /* Viewport-Wächter: auf kleinen Bildschirmen scrollt das Panel intern,
       statt unerreichbar abgeschnitten zu werden; auf großen unsichtbar. */
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.fw-nav-mega-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f6;
}

.fw-nav-mega-body {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0 30px;
    align-items: start;
}

.fw-nav-discover {
    border-left: 1px solid #edf2f6;
    padding-left: 24px;
}

.fw-nav-discover ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fw-nav-discover li {
    padding: 4px 0;
    font-size: 13.5px;
}

.fw-nav-discover i {
    color: #2281c4;
    width: 18px;
    text-align: center;
    margin-right: 4px;
}

/* Hilfe & Service: Mega-Panel mit vier Spalten */

.fw-nav-help-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 30px;
    align-items: start;
}

.fw-nav-helplist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fw-nav-helplist li {
    padding: 4px 0;
    font-size: 13.5px;
    line-height: 1.4;
}

.fw-nav-help-col .fw-nav-group {
    padding: 10px 0 4px;
}

/* „Online gestalten"-Dropdown */

.fw-nav-designer-note {
    margin: 0;
    padding: 10px 18px 2px;
    font-size: 12px;
    color: #6a7a88;
    max-width: 280px;
}

.fw-nav-droplist .fw-nav-drop-all {
    color: #2281c4;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fw-nav-sec-all {
    font-weight: 700;
    color: #2281c4;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.fw-nav-legend {
    margin: 0;
    font-size: 12px;
    color: #6a7a88;
}

/* Vergleichs-Layout: alle Druckprodukte als alphabetische Spaltenliste */

.fw-nav-az {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 4;
    column-gap: 28px;
}

.fw-nav-az li {
    break-inside: avoid;
    padding: 3px 0;
    font-size: 13.5px;
    line-height: 1.4;
}

/* Produktwelten (gruppierte Spalten im Druckprodukte-Panel) */

.fw-nav-worlds {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 28px;
    align-items: start;
}

/* „Beliebte Produkte"-Kacheln oben im Produkte-Panel */

.fw-nav-topseller {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f6;
}

.fw-nav-topseller ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 1fr statt auto: sonst ist jede Zeile nur so hoch wie ihr eigener
       hoechster Eintrag — eine Reihe mit lauter kurzen Namen waere flacher
       als die darunter mit einem zweizeiligen. */
    grid-auto-rows: 1fr;
    gap: 12px;
}

/* Ohne min-width:0 duerfen Grid-Spalten nicht unter ihren Inhalt schrumpfen —
   zusammen mit dem nowrap der Labels (siehe unten) wird jede Spalte so breit
   wie der laengste Produktname und die Reihe sprengt ihren Container. */
.fw-nav-topseller li {
    min-width: 0;
    /* Der sichtbare Rahmen ist der Link, nicht die Grid-Zelle. Als Flex-
       Container zwingt das li ihn auf die volle Zellhoehe — sonst haette
       eine Kachel mit kurzem Namen einen niedrigeren Rahmen als ihr
       Nachbar mit zweizeiligem. */
    display: flex;
}

.fw-nav-topseller a {
    flex: 1;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 6px 7px;
    border: 1px solid #edf2f6;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.fw-nav-topseller a:hover {
    border-color: #c7d9e8;
    box-shadow: 0 6px 16px rgba(30, 50, 70, 0.12);
    transform: translateY(-2px);
}

.fw-nav-topseller img {
    width: 100%;
    height: 58px;
    object-fit: contain;
    margin-bottom: 5px;
}

/* Namen duerfen umbrechen. Frueher standen sie einzeilig mit Auslassungs-
   punkten, um dem Panel eine Textzeile Hoehe zu sparen — ein abgeschnittenes
   „Bonuskarte / Stempel…" liest sich aber schlechter, als die Reihe 17px
   hoeher zu machen. Gleich hoch bleiben die Kacheln ueber das Grid. */
.fw-nav-topseller span {
    display: block;
    line-height: 1.3;
}

.fw-nav-world h4,
.fw-nav-discover h4,
.fw-nav-help-col h4,
.fw-nav-topseller h4 {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf2f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #7b8a97;
}

.fw-nav-world ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fw-nav-world li {
    padding: 3px 0;
    font-size: 13.5px;
    line-height: 1.4;
}

.fw-nav-badges {
    white-space: nowrap;
}


.fw-nav-badge-sale {
    display: inline-block;
    padding: 0 6px;
    border-radius: 3px;
    background: #e2001a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.fw-nav-ico-recycling {
    color: #63b32e;
    font-size: 0.72em;
    opacity: 0.6;
}

.fw-nav-ico-express {
    color: #4a5a68;
    font-size: 0.72em;
    opacity: 0.6;
}

.fw-nav-legend .fw-nav-ico-recycling,
.fw-nav-legend .fw-nav-ico-express {
    font-size: 1em;
    opacity: 1;
}

/* Aktions-Banner: leben in der „Mehr entdecken"-Spalte (füllen deren Leerraum
   und sparen dem Panel eine komplette Zeile Höhe) */
.fw-nav-promos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf2f6;
}

.fw-nav-promos a {
    max-width: 190px;
}

/* A–Z-Layout: Banner als zentrierte Dreier-Reihe unter der Liste */
.fw-nav-promos-row {
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
}

.fw-nav-promos-row a {
    max-width: none;
}

.fw-nav-letter {
    color: #2281c4;
    font-weight: 700;
    font-size: 1.1em;
}

.fw-nav-promos a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fw-nav-promos a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 50, 70, 0.18);
}

.fw-nav-promos img {
    width: 100%;
    height: auto;
    display: block;
}


/* --------------------------------------------------------------------------
   Blaue Menuezeile (nur Desktop)

   Bewusst in einer eigenen min-width-Regel statt in der Basis: mobil ist die
   Navigation ein weisses Off-Canvas-Panel, dort waere Blau falsch. So braucht
   es unten keine Rueckstellungen, die man beim Aendern vergessen kann.
   Gefaerbt wird NUR die Zeile selbst — die Mega-/Dropdown-Panels darunter
   bleiben weiss, ihre Links duerfen deshalb nicht mitgefaerbt werden.
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {

    .fw-nav-main {
        background: #2281c4;
        border-top: 0;
    }

    .fw-nav-top .fw-nav-toplink,
    .fw-nav-top .fw-nav-toggle,
    .fw-nav-toggle-label {
        color: #ffffff;
    }

    /* Der globale a:hover faerbt Links blau — auf blauem Grund unsichtbar.
       Hier bleibt die Schrift weiss, das Signal tragen Unterstrich und
       aufgehellter Kopf. */
    a.fw-nav-toplink:hover,
    .fw-nav-top:hover .fw-nav-toplink,
    .fw-nav-top:hover .fw-nav-toggle,
    .fw-nav-item.is-open > .fw-nav-top .fw-nav-toplink,
    .fw-nav-item.is-open > .fw-nav-top .fw-nav-toggle,
    .fw-nav-toplink[aria-current="page"] {
        color: #ffffff;
    }

    .fw-nav-toplink::after {
        background: #ffffff;
    }

    /* Aufgehellter Kopf am offenen Menuepunkt: verbindet ihn optisch mit dem
       weissen Panel, das direkt darunter aufklappt. */
    .fw-nav-item.is-open > .fw-nav-top {
        background: rgba(255, 255, 255, 0.14);
    }

    /* Fokusring weiss — aber nur auf der blauen Zeile. In den Panels bleibt
       er blau, sonst waere er dort auf Weiss unsichtbar. */
    .fw-nav-top a:focus-visible,
    .fw-nav-top button:focus-visible,
    .fw-nav-cta:focus-visible {
        outline-color: #ffffff;
    }

    /* „Projekt anfragen": weiss gefuellt auf der blauen Zeile — der auffaelligste
       Punkt der Leiste und damit der klare Handlungsaufruf. Beim Hover wechselt
       nicht die Farbe (ein Wechsel Weiss->Blau liesse ihn eher verschwinden),
       sondern er hebt sich leicht an und wirft einen Schatten — dieselbe
       Sprache wie die Topseller-Kacheln im Mega-Menue. */
    .fw-nav-cta {
        background: #ffffff;
        border-color: #ffffff;
        color: #1a6da8;
        transition: color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }

    .fw-nav-cta:hover,
    .fw-nav-cta:focus {
        background: #ffffff;
        border-color: #ffffff;
        color: #15537f;
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(10, 35, 60, 0.30);
    }
}

/* --------------------------------------------------------------------------
   Mobil (< 992px): Off-Canvas + Akkordeon
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {

    html {
        scroll-padding-top: 110px;
    }

    .fw-nav-usp {
        display: none;
    }

    /* Feste Grid-Bereiche: Burger | Logo | Icons in Zeile 1, Suche in Zeile 2.
       (Auto-Platzierung schob die Icons sonst in eine dritte Zeile links unten.) */
    .fw-nav-bar {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "burger logo actions"
            "search search search";
        gap: 4px 8px;
        padding: 8px 10px;
    }

    .fw-nav-burger {
        display: block;
        grid-area: burger;
        align-self: center;
    }

    .fw-nav-logo {
        grid-area: logo;
        justify-self: center;
        align-self: center;
    }

    .fw-nav-logo img {
        max-height: 38px;
    }

    .fw-nav-actions {
        grid-area: actions;
        justify-self: end;
        align-self: center;
    }

    .fw-nav-action {
        min-width: 52px;
        font-size: 10.5px;
    }

    .fw-nav-action-desktop {
        display: none;
    }

    .fw-nav-search {
        grid-area: search;
        max-width: none;
    }

    /* Anmelde-/Konto-Panel mobil als Sidepanel von rechts (wie das bewährte
       alte login-slide) — mit Platz für das komplette Kundenmenü */
    .fw-nav-account-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(360px, 92vw);
        max-height: none;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
        padding: 24px 20px;
        z-index: 1150;
    }

    .fw-nav-account-close {
        display: block;
    }

    /* Mobil kein Warenkorb-Flyout — das Icon ist ein direkter Link */
    .fw-nav-cart-panel {
        display: none !important;
    }

    /* Off-Canvas-Menü */

    .fw-nav-main {
        border-top: 0;
    }

    .fw-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1100;
        width: min(330px, 88vw);
        background: #ffffff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-102%);
        transition: transform 0.25s ease;
        box-shadow: 6px 0 30px rgba(0, 0, 0, 0.25);
        padding: 12px 0 30px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .fw-nav-list {
        flex: 0 0 auto;
    }

    .fw-nav-cta {
        align-self: stretch;
        margin: 14px 16px 0;
        height: 44px; /* mobil volle Tap-Größe wie die anderen Primär-Buttons */
        font-size: 15px;
    }

    body.fw-nav-open .fw-nav-menu {
        transform: translateX(0);
    }

    body.fw-nav-open {
        overflow: hidden;
    }

    .fw-nav-list {
        display: block;
    }

    .fw-nav-item {
        border-bottom: 1px solid #edf2f6;
    }

    .fw-nav-top {
        justify-content: space-between;
    }

    .fw-nav-toplink {
        flex: 1 1 auto;
        padding: 14px 16px;
    }

    .fw-nav-toplink::after {
        display: none;
    }

    .fw-nav-toplink[aria-current="page"] {
        box-shadow: inset 3px 0 0 #2281c4;
    }

    .fw-nav-search input {
        min-width: 0;
    }

    .fw-nav-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 8px 8px 16px;
        border-bottom: 1px solid #edf2f6;
        margin-bottom: 4px;
        font-weight: 700;
        font-size: 15px;
    }

    .fw-nav-menu-close {
        width: 44px;
        height: 44px;
        font-size: 26px;
        line-height: 1;
        color: #4a5a68;
    }

    .fw-nav-menu-service {
        display: flex;
        gap: 10px;
        padding: 16px;
        border-top: 1px solid #edf2f6;
        margin-top: 8px;
    }

    .fw-nav-menu-service button {
        flex: 1 1 0;
        padding: 10px 6px;
        border: 1px solid #cdd9e2;
        border-radius: 6px;
        color: #2281c4;
        font-weight: 600;
        font-size: 13px;
        text-align: center;
    }

    .fw-nav-toggle {
        min-width: 52px;
        border-left: 1px solid #edf2f6;
    }

    /* Label-Buttons (Online gestalten): Inhalt links wie normale Menüpunkte,
       nur der Chevron wandert an den rechten Rand — space-between würde den
       Text zwischen Icon und Chevron zentrieren. */
    .fw-nav-toggle-label {
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        display: flex;
    }

    .fw-nav-toggle-label .fa-chevron-down {
        margin-left: auto;
    }

    /* Panels als Akkordeon */

    .fw-nav-dropdown,
    .fw-nav-mega {
        position: static;
        display: block;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #fafcfe;
        min-width: 0;
        padding: 0;
    }

    .fw-nav-droplist a {
        padding: 11px 16px 11px 28px;
    }

    .fw-nav-group {
        padding: 12px 16px 4px 20px;
    }

    .fw-nav-mega {
        padding: 4px 16px 16px;
        max-height: none;
        overflow-y: visible;
    }

    .fw-nav-mega-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .fw-nav-mega-body {
        display: block;
    }

    .fw-nav-worlds {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fw-nav-az {
        columns: 1;
    }

    .fw-nav-az li {
        padding: 6px 0;
    }

    .fw-nav-promos-row {
        grid-template-columns: 1fr;
    }

    /* Im schmalen Off-Canvas (330px) deutlich kompakter als im Mega-Panel —
       sonst fuellen sechs Kacheln den halben Bildschirm, bevor die eigentliche
       Produktliste anfaengt. */
    .fw-nav-topseller ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .fw-nav-topseller a {
        padding: 6px 4px;
        font-size: 11px;
        line-height: 1.25;
    }

    .fw-nav-topseller img {
        height: 42px;
        margin-bottom: 4px;
    }


    .fw-nav-discover {
        border-left: 0;
        padding-left: 0;
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid #edf2f6;
    }

    .fw-nav-help-grid {
        display: block;
        padding: 4px 16px 12px;
    }

    .fw-nav-help-col + .fw-nav-help-col {
        margin-top: 14px;
    }

    .fw-nav-promos {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fw-nav *,
    .fw-nav-sticky,
    .fw-nav-menu,
    .fw-nav-overlay,
    .fw-nav-skip {
        transition: none !important;
        animation: none !important;
    }
}
