/*
 * Wecomatic Design 2026 – Phase 1 (Startseite). Nur aktiv, wenn <body> die Klasse
 * .wm-v2 trägt (Vorschau-Cookie oder Einstellung „Für alle“).
 * Aufbau nach sageappliances.com, Wärme nach coffeecircle.com, Akzent Gold.
 * Alle Klassen der Startseite beginnen mit .wmh-, damit nichts mit NOVA/Bootstrap kollidiert.
 */

@font-face {
    font-family: "Instrument Sans";
    src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Young Serif";
    src: url("../fonts/young-serif-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body.wm-v2 {
    --wm-ink: #1c1d20;
    --wm-muted: #5a5f67;
    --wm-line: #e4e1db;
    --wm-gold: #f8bf00;
    --wm-gold-hover: #e9b200;
    --wm-gold-soft: #fff2c4;
    --wm-gold-ink: #6b4f00;
    --wm-surface: #f1efeb;
    --wm-ok: #1f7a3a;
    --wm-late: #b26a00;
    --wm-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --wm-serif: "Young Serif", Georgia, "Times New Roman", serif;
    font-family: var(--wm-sans);
}

/* Hinweis in der Vorschau */
.wm-v2-badge {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2000;
    background: var(--wm-ink);
    color: #fff !important;
    font: 600 13px/1 var(--wm-sans);
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    text-decoration: none !important;
}

/* ---------------------------------------------------------------- Startseite */

.wmh {
    container-type: inline-size;
    color: var(--wm-ink);
    font-family: var(--wm-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

.wmh h1,
.wmh h2,
.wmh h3 {
    margin: 0;
    color: inherit;
    text-wrap: balance;
}

.wmh p {
    margin: 0;
}

.wmh img {
    max-width: 100%;
}

.wmh-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: 32px;
}

/* body.wm-v2 davor: muss die allgemeine Regel „alle Überschriften serifenlos“ schlagen */
body.wm-v2 .wmh .wmh-serif {
    font-family: var(--wm-serif);
    font-weight: 400;
}

.wmh-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wm-gold-ink);
}

.wmh-mul {
    mix-blend-mode: multiply;
}

.wmh .wmh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font: 600 16px/1 var(--wm-sans);
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.wmh .wmh-btn-gold { background: var(--wm-gold); color: var(--wm-ink); }
.wmh .wmh-btn-gold:hover { background: var(--wm-gold-hover); color: var(--wm-ink); }
.wmh .wmh-btn-ink { background: var(--wm-ink); color: #fff; }
.wmh .wmh-btn-ink:hover { background: #000; color: #fff; }
.wmh .wmh-btn-line { border-color: var(--wm-ink); color: var(--wm-ink); background: transparent; }
.wmh .wmh-btn-line:hover { background: var(--wm-ink); color: #fff; }

.wmh .wmh-more {
    font-weight: 600;
    text-decoration: none;
    color: var(--wm-ink);
    border-bottom: 2px solid var(--wm-gold);
    padding-bottom: 2px;
}

.wmh .wmh-more:hover { color: #000; }
.wmh .wmh-more-light { color: #fff; }
.wmh .wmh-more-light:hover { color: #fff; }

.wmh a:focus-visible,
.wmh button:focus-visible,
.wmh input:focus-visible {
    outline: 3px solid var(--wm-gold);
    outline-offset: 2px;
}

/* Grundbausteine (Einleitungstext, Knopfreihe, Häkchen-Liste) */
.wmh-lead {
    font-size: 19px;
    color: var(--wm-muted);
    max-width: 32rem;
}

.wmh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wmh-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--wm-muted);
}

.wmh-facts li { display: flex; align-items: center; gap: 8px; }
.wmh-facts svg { color: var(--wm-ok); }

/* Kegliste-Suche */
.wmh-finder {
    background: var(--wm-ink);
    color: #fff;
    border-radius: 28px;
    padding: 40px 44px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.wmh-finder .wmh-kicker { color: var(--wm-gold); }
.wmh-finder h2 { font-size: 38px; line-height: 1.1; margin: 10px 0 12px; }
.wmh-finder p { color: #c9c6bf; }

.wmh-finder-form { display: grid; gap: 14px; }
.wmh-finder-form label { font-size: 14px; font-weight: 600; color: #e9e7e2; margin: 0; }
.wmh-finder-row { display: flex; gap: 10px; }

.wmh-finder-row input {
    flex: 1;
    min-width: 0;
    height: 54px;
    border-radius: 999px;
    border: 0;
    padding: 0 22px;
    font: 400 17px var(--wm-sans);
    color: var(--wm-ink);
    background: #fff;
}

.wmh-examples { font-size: 14px; color: #c9c6bf; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.wmh-examples button {
    border: 1px solid #45474c;
    background: transparent;
    color: #e9e7e2;
    border-radius: 999px;
    padding: 5px 12px;
    font: 600 13px var(--wm-sans);
    cursor: pointer;
}

.wmh-examples button:hover { border-color: var(--wm-gold); color: #fff; }

.wmh-results { display: grid; gap: 8px; }
.wmh-results:empty { display: none; }

.wmh-hit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    background: #2a2c30;
    border-radius: 16px;
    padding: 14px 16px;
}

.wmh-hit-name { font-weight: 600; }
.wmh-hit-place { color: #b9b6ae; font-size: 14px; }

.wmh-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--wm-gold);
    color: var(--wm-ink);
}

.wmh-hit .wmh-more { margin-left: auto; color: #fff; }
.wmh-results .wmh-note { color: #c9c6bf; font-size: 14px; }

/* Abschnitte */
.wmh-section { padding-top: 80px; }

.wmh-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.wmh-head h2 { font-size: 40px; line-height: 1.1; margin-top: 8px; }
.wmh-head p { color: var(--wm-muted); margin-top: 8px; max-width: 34rem; }

/* Spaltenzahl = Anzahl Kacheln (--n) in einer Reihe, schmaler zwei Reihen (--half) */
.wmh-cats {
    display: grid;
    grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr));
    gap: 20px;
}

.wmh .wmh-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--wm-ink);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    line-height: 1.3;
}

.wmh-circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--wm-surface);
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: transform .2s;
}

.wmh-cat:hover .wmh-circle { transform: translateY(-3px); }

/* Lange Namen (Durchlaufkühler, Schanksäulen) trennen statt in die Nachbarspalte zu laufen –
   an den weichen Trennstellen aus dem Bootstrap (Wortfugen), nicht per Browser-Silbentrennung */
.wmh-cat-name {
    max-width: 100%;
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: break-word;
}
.wmh-circle img { width: 72%; height: 72%; object-fit: contain; }
.wmh-circle b { font: 400 40px var(--wm-serif); color: var(--wm-gold-ink); }
.wmh-circle-all { background: var(--wm-ink); color: var(--wm-gold); }

.wmh-uses {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wmh-use {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--wm-line);
    display: flex;
    flex-direction: column;
    background: #fff;
}

.wmh-use-pic {
    height: 260px;
    background: var(--wm-surface);
    display: grid;
    place-items: center;
}

.wmh-use-pic img { height: 84%; width: auto; max-width: 80%; object-fit: contain; }
.wmh-use-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wmh-use h3 { font-size: 26px; line-height: 1.15; }
.wmh-use p { color: var(--wm-muted); }
.wmh-use .wmh-more { margin-top: auto; align-self: flex-start; }

.wmh-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
}

.wmh-prod { display: flex; flex-direction: column; gap: 12px; }

.wmh-pimg {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: var(--wm-surface);
}

.wmh-pimg > a { position: absolute; inset: 11%; display: block; }
.wmh-pimg > a img { width: 100%; height: 100%; object-fit: contain; }

.wmh-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 1;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}

.wmh-addform { position: absolute; right: 14px; bottom: 14px; margin: 0; z-index: 1; }

.wmh .wmh-add {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--wm-gold);
    color: var(--wm-ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(28, 29, 32, .18);
    transition: background .15s, transform .15s;
}

.wmh .wmh-add:hover { background: var(--wm-gold-hover); transform: scale(1.05); }

.wmh-prod h3 {
    font: 600 16px/1.35 var(--wm-sans);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.wmh-prod h3 a { color: var(--wm-ink); text-decoration: none; }
.wmh-prod h3 a:hover { text-decoration: underline; }

.wmh-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.wmh-chips span {
    font-size: 12.5px;
    font-weight: 600;
    background: var(--wm-surface);
    border-radius: 6px;
    padding: 3px 8px;
    color: #3c3f45;
}

.wmh-price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wmh-price small { font-size: 13px; font-weight: 500; color: var(--wm-muted); }
.wmh-price s { font-size: 14px; font-weight: 500; color: var(--wm-muted); margin-left: 6px; }

.wmh-ship { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--wm-muted); }
.wmh-ship i { width: 8px; height: 8px; border-radius: 50%; background: var(--wm-ok); flex: 0 0 auto; }
.wmh-ship i.is-late { background: var(--wm-late); }

.wmh-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    border-top: 1px solid var(--wm-line);
    padding-top: 48px;
}

.wmh-perk { display: flex; flex-direction: column; gap: 10px; }

.wmh-ic {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--wm-gold-soft);
    color: var(--wm-gold-ink);
    display: grid;
    place-items: center;
}

.wmh-perk h3 { font: 700 18px/1.3 var(--wm-sans); }
.wmh-perk p { color: var(--wm-muted); font-size: 15px; }

.wmh-story { background: var(--wm-ink); color: #fff; margin-top: 96px; }

.wmh-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding-block: 80px;
}

.wmh-story-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }

.wmh-story-art {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: var(--wm-gold);
    display: grid;
    place-items: center;
}

.wmh-story-art img { height: 86%; width: auto; }
.wmh-story .wmh-kicker { color: var(--wm-gold); }
.wmh-story h2 { font-size: 44px; line-height: 1.08; margin: 10px 0 18px; }
.wmh-story p { color: #c9c6bf; font-size: 17px; }
.wmh-stats { display: flex; gap: 40px; margin: 28px 0; }
.wmh-stats strong { display: block; font-size: 34px; color: var(--wm-gold); line-height: 1.1; }
.wmh-stats span { font-size: 14px; color: #c9c6bf; }

.wmh-help {
    margin-block: 80px;
    background: var(--wm-gold-soft);
    border-radius: 28px;
    padding: 40px 44px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
}

.wmh-help h2 { font-size: 34px; line-height: 1.1; }
.wmh-help p { color: #4a4d53; margin-top: 8px; max-width: 36rem; }
.wmh-help small { display: block; color: #4a4d53; font-size: 13px; margin-top: 8px; text-align: right; }

/* schmaler werdend */
@container (max-width: 1180px) {
    .wmh-cats { grid-template-columns: repeat(var(--half, 4), minmax(0, 1fr)); }
    .wmh-circle { width: 72%; }
}

@container (max-width: 980px) {
    .wmh-finder,
    .wmh-story-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .wmh-finder { padding: 32px 28px; gap: 28px; }
    .wmh-uses { grid-template-columns: minmax(0, 1fr); }
    .wmh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wmh-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 600px) {
    .wmh-wrap { padding-inline: 16px; }
    .wmh-lead { font-size: 16px; }
    .wmh-finder { padding: 24px 20px; border-radius: 22px; }
    .wmh-finder h2,
    .wmh-head h2,
    .wmh-story h2 { font-size: 28px; }
    .wmh-finder-row { flex-direction: column; }
    /* In der Spalte würde flex: 1 die Höhe auf null drücken. */
    .wmh-finder-row input { flex: none; width: 100%; }
    .wmh-section { padding-top: 48px; }
    .wmh-head { margin-bottom: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
    /* Zwei Reihen wie am Desktop, aber seitlich wischbar: Spalten fest 78 px, die fünfte
       schaut am Rand an. Vorher fünf Spalten à ~66 px – die Namen liefen ineinander. */
    .wmh-cats {
        grid-template-columns: repeat(var(--half, 5), 78px);
        gap: 18px 12px;
        margin-inline: -16px;
        padding: 4px 16px 6px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
    }
    .wmh-cats::-webkit-scrollbar { display: none; }
    .wmh-circle { width: 100%; }
    .wmh .wmh-cat { font-size: 13px; gap: 8px; scroll-snap-align: start; }
    .wmh-use { display: grid; grid-template-columns: 120px minmax(0, 1fr); border-radius: 20px; }
    .wmh-use-pic { height: auto; }
    .wmh-use-pic img { width: 88%; height: auto; max-height: 150px; }
    .wmh-use-body { padding: 16px; gap: 6px; }
    .wmh-use h3 { font-size: 20px; }
    .wmh-use p { font-size: 14px; }
    .wmh-products { gap: 20px 12px; }
    .wmh-prod { gap: 8px; }
    .wmh-pimg { border-radius: 16px; }
    .wmh-addform { right: 8px; bottom: 8px; }
    .wmh .wmh-add { width: 44px; height: 44px; }
    .wmh-prod h3 { font-size: 14px; }
    .wmh-chips span { font-size: 11.5px; padding: 2px 6px; }
    .wmh-price { font-size: 17px; }
    .wmh-ship { font-size: 12.5px; }
    .wmh-perks { gap: 22px 14px; padding-top: 28px; }
    .wmh-perk h3 { font-size: 15px; }
    .wmh-perk p { font-size: 13.5px; }
    .wmh-story { margin-top: 48px; }
    .wmh-story-grid { padding-block: 40px; gap: 24px; }
    .wmh-help { margin-block: 40px; padding: 24px 20px; border-radius: 22px; }
    .wmh-help h2 { font-size: 26px; }
    .wmh-help .wmh-actions { display: grid; }
    .wmh-help small { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .wmh-circle,
    .wmh .wmh-add { transition: none; }
}

/* ======================================================================
 * Phase 2: obere Leiste, Kopfzeile, Menü und Footer (NOVA-Markup bleibt,
 * nur neu gestaltet). Selektoren mit #id, damit sie NOVA zuverlässig schlagen.
 * ====================================================================== */

/* Obere Leiste: Anthrazit statt Gold (Desktop-Leiste und Info-Leiste fürs Handy) */
body.wm-v2 #header-top-bar,
body.wm-v2 .wm-ib--full {
    background: var(--wm-ink) !important;
    color: #e9e7e2 !important;
}

body.wm-v2 #header-top-bar .nav-link,
body.wm-v2 .wm-ib__txt {
    color: #e9e7e2 !important;
    font-family: var(--wm-sans);
    font-size: 13.5px;
}

body.wm-v2 #header-top-bar .nav-link:hover { color: #fff !important; }
body.wm-v2 .wm-ib__item i { color: var(--wm-gold) !important; }
body.wm-v2 #header-top-bar .nav-dividers .nav-item + .nav-item { border-color: #45474c !important; }

/* Kopfzeile */
body.wm-v2 #jtl-nav-wrapper {
    box-shadow: none;
    border-bottom: 1px solid var(--wm-line);
}

/* Schwebende Kopfleiste wie auf simpleappsolution.de (Desktop): oben auf der Seite normal (volle Breite,
   deckend), beim Runterscrollen (body.wm-scrolled, gesetzt im Bootstrap) werden obere Leiste und
   Kopfzeile zu einer abgerundeten, leicht durchscheinenden Karte mit Abstand zum Rand. Nur top und
   seitliche Ränder ändern sich – keine Höhen, damit der Inhalt beim Umschalten nicht springt.
   Fläche und Weichzeichner sitzen auf ::before: backdrop-filter direkt auf dem Header würde fixierte
   Overlays darin (Mini-Warenkorb, Suche) an den Header binden. */
@media (min-width: 992px) {
    body.wm-v2.wm-scrolled {
        --wm-bar-gap: 12px;
    }

    body.wm-v2 #header-top-bar,
    body.wm-v2 #jtl-nav-wrapper {
        background: transparent !important;
        transition: margin .3s ease, top .3s ease, border-radius .3s ease, box-shadow .3s ease, border-color .3s ease;
    }

    body.wm-v2 #header-top-bar::before,
    body.wm-v2 #jtl-nav-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        pointer-events: none;
        transition: background-color .3s ease, border-color .3s ease;
    }

    body.wm-v2 #header-top-bar::before { background-color: var(--wm-ink); }
    /* Fläche reicht über die untere Rahmenlinie des Headers und zeichnet sie selbst */
    body.wm-v2 #jtl-nav-wrapper::before {
        inset: 0 0 -1px;
        background-color: #fff;
        border: 1px solid transparent;
        border-top: 0;
        border-bottom-color: var(--wm-line);
    }

    body.wm-v2.wm-scrolled #header-top-bar,
    body.wm-v2.wm-scrolled #jtl-nav-wrapper {
        margin-inline: 20px;
    }

    body.wm-v2.wm-scrolled #header-top-bar { border-radius: 16px 16px 0 0; }

    body.wm-v2.wm-scrolled #jtl-nav-wrapper {
        border-bottom-color: transparent;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 40px rgba(28, 29, 32, .12);
    }

    body.wm-v2.wm-scrolled #header-top-bar::before,
    body.wm-v2.wm-scrolled #jtl-nav-wrapper::before {
        -webkit-backdrop-filter: saturate(1.8) blur(20px);
        backdrop-filter: saturate(1.8) blur(20px);
    }

    body.wm-v2.wm-scrolled #header-top-bar::before {
        background-color: rgba(28, 29, 32, .9);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    }

    body.wm-v2.wm-scrolled #jtl-nav-wrapper::before {
        background-color: rgba(255, 255, 255, .78);
        border-color: rgba(28, 29, 32, .08);
    }

    /* Offenes Mega-Menü: Leiste deckend und unten eckig, sie geht nahtlos ins Menü über
       (sonst schimmert die abgedunkelte Seite grau durch) */
    body.wm-v2.wm-scrolled:has(#mainNavigation .dropdown-full.show) #jtl-nav-wrapper { border-radius: 0; }
    body.wm-v2.wm-scrolled:has(#mainNavigation .dropdown-full.show) #jtl-nav-wrapper::before { background-color: #fff; }
}

body.wm-v2 #shop-nav .nav-link { color: var(--wm-ink); }
body.wm-v2 .cart-icon-dropdown-price { font-weight: 600; }

/* Suche als Pille mit Lupe (Desktop und die feste Suchzeile am Handy) */
body.wm-v2 #jtl-nav-wrapper .search-wrapper .input-group {
    position: relative;
}

body.wm-v2 #jtl-nav-wrapper .search-wrapper .twitter-typeahead,
body.wm-v2 #jtl-nav-wrapper .search-wrapper .input-group > .form-control {
    background: var(--wm-surface);
    border-radius: 999px;
}

body.wm-v2 #jtl-nav-wrapper .search-wrapper input.form-control {
    border: 0 !important;
    border-radius: 999px !important;
    height: 44px;
    padding-left: 44px;
    font-size: 15px;
    color: var(--wm-ink);
    background-color: transparent !important;
    box-shadow: none !important;
}

body.wm-v2 #jtl-nav-wrapper .search-wrapper input.form-control::placeholder { color: var(--wm-muted); }

body.wm-v2 #jtl-nav-wrapper .search-wrapper .input-group::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    z-index: 3;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5f67' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.wm-v2 #jtl-nav-wrapper .search-wrapper .twitter-typeahead:focus-within {
    box-shadow: 0 0 0 3px rgba(248, 191, 0, .45);
}

/* Hauptmenü (Desktop) */
@media (min-width: 992px) {
    body.wm-v2 #mainNavigation .nav-scrollbar-item > .nav-link {
        font-family: var(--wm-sans);
        font-weight: 600;
        font-size: 15.5px;
        color: var(--wm-ink);
        padding-left: 18px;
        padding-right: 18px;
    }

    body.wm-v2 #mainNavigation .nav-scrollbar-item > .nav-link::before {
        height: 3px;
        border-radius: 3px 3px 0 0;
        transition: background-color .15s;
    }

    body.wm-v2 #mainNavigation .nav-scrollbar-item:hover > .nav-link::before,
    body.wm-v2 #mainNavigation .nav-scrollbar-item.show > .nav-link::before,
    body.wm-v2 #mainNavigation .nav-scrollbar-item.active > .nav-link::before {
        background-color: var(--wm-gold);
    }

    /* Mega-Menü */
    body.wm-v2 #mainNavigation .dropdown-full > .dropdown-menu {
        border: 0;
        border-top: 1px solid var(--wm-line);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 28px 48px rgba(28, 29, 32, .12);
    }

    body.wm-v2 #mainNavigation .submenu-headline-toplevel,
    body.wm-v2 #mainNavigation .submenu-headline-toplevel span {
        font-family: var(--wm-serif);
        font-weight: 400;
        font-size: 19px;
        color: var(--wm-ink);
        border-color: var(--wm-line);
    }

    body.wm-v2 #mainNavigation .categories-recursive-dropdown .nav-link {
        color: var(--wm-muted);
        font-size: 15px;
    }

    body.wm-v2 #mainNavigation .categories-recursive-dropdown .nav-link:hover {
        color: var(--wm-ink);
        text-decoration: underline;
        text-decoration-color: var(--wm-gold);
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;
    }
}

/* Menü am Handy */
@media (max-width: 991.98px) {
    body.wm-v2 #mainNavigation .nav-link,
    body.wm-v2 #mainNavigation .nav-mobile-heading {
        font-family: var(--wm-sans);
        color: var(--wm-ink);
    }

    body.wm-v2 #mainNavigation .nav-scrollbar-item > .nav-link { font-weight: 600; }
}

/* Footer */
body.wm-v2 #footer {
    background: var(--wm-ink);
    color: #c9c6bf;
    font-family: var(--wm-sans);
}

body.wm-v2 #footer > .container { padding-top: 56px; }

body.wm-v2 #footer .productlist-filter-headline,
body.wm-v2 #footer .box-normal-link {
    font-family: var(--wm-sans);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

body.wm-v2 #footer a { color: #c9c6bf; }
body.wm-v2 #footer a:hover { color: #fff; }
body.wm-v2 #footer .box-custom,
body.wm-v2 #footer .box-custom span { color: #c9c6bf; }
body.wm-v2 #footer strong,
body.wm-v2 #footer b { color: #fff; }
body.wm-v2 #footer hr { border-color: #36383d; }

body.wm-v2 #footer .withdrawal-link {
    background: transparent;
    color: var(--wm-gold);
    border: 1.5px solid var(--wm-gold);
    border-radius: 999px;
    font-weight: 600;
}

body.wm-v2 #footer .withdrawal-link:hover {
    background: var(--wm-gold);
    color: var(--wm-ink);
}

body.wm-v2 #footer .footnote-vat,
body.wm-v2 #footer .footnote-vat a { color: #a9a6a0; }

/* Footer-Spalten einheitlich: Köpfe in kleinen Versalien, ruhige Links. Kontakt und Zahlungsarten
   baut Bootstrap::enhanceFooter() aus den „Eigenen Boxen“ neu auf. */
body.wm-v2 #footer .productlist-filter-headline,
body.wm-v2 #footer .wm-ft-title {
    margin: 0 0 18px;
    font: 700 13px/1.2 var(--wm-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

body.wm-v2 #footer .box-linkgroup .nav-link { padding: 5px 0; font-size: 15px; }

body.wm-v2 #footer .wm-ft-address {
    margin: 0 0 16px;
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    color: #c9c6bf;
}

body.wm-v2 #footer .wm-ft-contact {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

body.wm-v2 #footer .wm-ft-contact li { display: flex; align-items: flex-start; gap: 10px; }
body.wm-v2 #footer .wm-ft-contact svg { flex: none; margin-top: 3px; color: var(--wm-gold); }
body.wm-v2 #footer .wm-ft-contact a { color: #fff; font-weight: 600; }
body.wm-v2 #footer .wm-ft-contact a:hover { color: var(--wm-gold); }
body.wm-v2 #footer .wm-ft-hours { font-size: 14px; color: #a9a6a0; }
body.wm-v2 #footer .wm-ft-contact,
body.wm-v2 #footer .wm-pay-more { margin-bottom: 28px; }

body.wm-v2 #footer .wm-pay {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.wm-v2 #footer .wm-pay li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 6px 4px;
    border-radius: 10px;
    background: #fff;
}

body.wm-v2 #footer .wm-pay img { display: block; width: auto; max-width: 100%; max-height: 22px; }
body.wm-v2 #footer .wm-pay .is-cards img { max-height: 20px; }
body.wm-v2 #footer .wm-pay .is-klarna img,
body.wm-v2 #footer .wm-pay .is-applepay img { max-height: 28px; }

body.wm-v2 #footer .wm-pay .is-text {
    flex-direction: column;
    gap: 1px;
    line-height: 1.15;
    text-align: center;
}

body.wm-v2 #footer .wm-pay .is-text b { font-size: 12px; font-weight: 700; color: var(--wm-ink); }
body.wm-v2 #footer .wm-pay .is-text span { font-size: 10.5px; color: var(--wm-muted); }

body.wm-v2 #footer .wm-pay-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: var(--wm-gold);
    text-underline-offset: 3px;
}

body.wm-v2 #copyright {
    background: #141517;
    color: #8f8c86;
}

body.wm-v2 #copyright a { color: #c9c6bf !important; }
body.wm-v2 #copyright .wm-credit { font-size: 13px; }

/* Lange Kategorienamen im Mega-Menü umbrechen statt abschneiden („Zapfköpfe & Druckminde…“) */
@media (min-width: 992px) {
    body.wm-v2 #mainNavigation .submenu-headline-toplevel .text-truncate {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* Die Info-Leiste (Handy) lag über der ganzen Kopfzeile und verdeckte im geöffneten
   Menü das Schließen-Kreuz (z-index 1030 > Kopfzeile 1020). Eine Ebene darunter. */
body.wm-v2 .wm-ib--mobile { z-index: 1019; }

/* Mega-Menü ab 1200 px vierspaltig – dreispaltig war es höher als der Bildschirm
   und „Zapfköpfe & Druckminderer“ lag unter der Kante. */
@media (min-width: 1200px) {
    body.wm-v2 #mainNavigation .subcategory-wrapper {
        max-width: 1240px;
    }

    body.wm-v2 #mainNavigation .subcategory-wrapper > .row > .col-lg-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* ======================================================================
 * Phase 3–5: Unterseiten – Kategorie/Suche, Artikel, Warenkorb, Kasse,
 * Infoseiten, Kundenkonto. Nur Gestaltung, kein Markup geändert (PayPal,
 * Klarna und die Plugins hängen am Markup). Überschreibt die KoRo-Regeln
 * aus themes/clear/custom.css (Pastellflächen, grüne Knöpfe).
 * ====================================================================== */

/* Breiterer Inhaltsbereich: NOVA begrenzt bis 1299 px Fensterbreite auf 960 px –
   im Warenkorb blieben für die Summe nur 172 px („Zwische nsumme“). */
@media (min-width: 1200px) {
    body.wm-v2 #main-wrapper .container { max-width: 1240px; }
}

/* Schrift: alles serifenlos, Seitentitel und Abschnitte in der Serifenschrift */
body.wm-v2 :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6),
body.wm-v2 .price,
body.wm-v2 .productlist-filter-headline {
    font-family: var(--wm-sans);
}

/* :not(.wmh *) – die neue Startseite hat eigene Größen und Farben (dunkle Folien!) */
body.wm-v2 #content :is(h1, .basket-heading):not(.wmh *),
body.wm-v2 #content h2:not(.wmh *),
body.wm-v2 #content .hr-sect {
    font-family: var(--wm-serif);
    font-weight: 400;
    color: var(--wm-ink);
    letter-spacing: -.01em;
}

body.wm-v2 #content h1:not(.wmh *) { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
body.wm-v2 #content h2:not(.wmh *),
body.wm-v2 #content .hr-sect { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
body.wm-v2 #content :is(h3, h4, .h3, .h4):not(.wmh *) { font-weight: 700; color: var(--wm-ink); }

/* Produktnamen bleiben serifenlos – lange Technik-Namen lesen sich so besser */
body.wm-v2 #content .product-title {
    font-family: var(--wm-sans);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
    letter-spacing: -.005em;
}

/* Keine Silbentrennung mitten im Wort („Anmelde n“) */
body.wm-v2 .btn,
body.wm-v2 .basket-summary,
body.wm-v2 .customer-login-buttons {
    overflow-wrap: normal;
    word-break: normal;
}

/* Knöpfe */
body.wm-v2 .btn { font-family: var(--wm-sans); font-weight: 600; }

body.wm-v2 .btn-outline-primary {
    color: var(--wm-ink);
    border-color: var(--wm-gold);
}

body.wm-v2 .btn-outline-primary:hover,
body.wm-v2 .btn-outline-primary:focus {
    background: var(--wm-gold);
    border-color: var(--wm-gold);
    color: var(--wm-ink);
}

body.wm-v2 .btn-outline-secondary {
    color: var(--wm-ink);
    border-color: #d9d6cf;
}

body.wm-v2 .btn-outline-secondary:hover { background: var(--wm-surface); color: var(--wm-ink); border-color: #c9c5bd; }

/* Formularfelder */
body.wm-v2 #main-wrapper .form-control,
body.wm-v2 #main-wrapper .custom-select {
    border-color: #d9d6cf;
    border-radius: 12px;
}

body.wm-v2 #main-wrapper .form-control:focus,
body.wm-v2 #main-wrapper .custom-select:focus {
    border-color: var(--wm-gold);
    box-shadow: 0 0 0 3px rgba(248, 191, 0, .35);
}

body.wm-v2 .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--wm-ink);
    border-color: var(--wm-ink);
}

/* Graue Karten (Login, Summen) in der warmen Fläche */
body.wm-v2 .card-gray { background: var(--wm-surface); }

/* --------------------------------------------------- Produktkacheln überall */

body.wm-v2 .productbox-image.square-image,
body.wm-v2 .item-slider.productbox-image {
    background: var(--wm-surface) !important;
    border-radius: 18px !important;
}

body.wm-v2 .productbox-image img,
body.wm-v2 .item-slider.productbox-image img { mix-blend-mode: multiply; }

body.wm-v2 .productbox-title a,
body.wm-v2 .item-slider-desc a,
body.wm-v2 .product-wrapper-product a.text-clamp-2 {
    color: var(--wm-ink);
    text-decoration: none;
    font-weight: 600;
}

body.wm-v2 .productbox-title a:hover,
body.wm-v2 .item-slider-desc a:hover { text-decoration: underline; text-decoration-color: var(--wm-gold); text-underline-offset: 3px; }

body.wm-v2 .productbox .price,
body.wm-v2 .item-slider-price .price {
    font-weight: 700;
    color: var(--wm-ink);
    font-variant-numeric: tabular-nums;
}

/* Schnellkauf-Knopf: Gold statt Grün */
body.wm-v2 .wm-quickadd {
    background: var(--wm-gold);
    color: var(--wm-ink);
    box-shadow: 0 6px 16px rgba(28, 29, 32, .18);
}

body.wm-v2 .wm-quickadd:hover {
    background: var(--wm-gold-hover);
    box-shadow: 0 8px 20px rgba(28, 29, 32, .24);
}

body.wm-v2 .wm-quickadd:focus-visible { box-shadow: 0 0 0 3px rgba(248, 191, 0, .55); }

/* ------------------------------------------------ Kategorie-/Suchseite */

body.wm-v2 aside .box-categories .nav .nav,
body.wm-v2 aside .box-categories .collapse,
body.wm-v2 aside .box-categories .nav-item { background: transparent !important; }

body.wm-v2 aside .box-categories .nav-link {
    color: var(--wm-muted);
    border-radius: 10px;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body.wm-v2 aside .box-categories .nav-link:hover { color: var(--wm-ink); background: var(--wm-surface); }

body.wm-v2 aside .box-categories .active > .nav-link {
    color: var(--wm-ink);
    font-weight: 700;
    background: var(--wm-gold-soft);
}

body.wm-v2 aside .productlist-filter-headline { font-weight: 700; color: var(--wm-ink); }

body.wm-v2 .js-filter-item.btn-outline-secondary {
    background: var(--wm-gold-soft);
    border-color: transparent;
}

body.wm-v2 .pagination .page-link {
    border-radius: 999px !important;
    border: 0;
    color: var(--wm-ink);
    margin: 0 2px;
}

body.wm-v2 .pagination .active .page-link { background: var(--wm-ink); color: #fff; }

/* -------------------------------------------------------- Artikelseite */

body.wm-v2 #content .price.h1,
body.wm-v2 #content .price_wrapper .price {
    font-family: var(--wm-sans);
    font-weight: 700;
    color: var(--wm-ink);
    letter-spacing: -.01em;
}

/* Verfügbarkeit: „(DE - Ausland abweichend)“ bricht nur als Ganzes um */
body.wm-v2 .estimated-delivery-info { white-space: nowrap; }

/* Handy: Verfügbarkeit und Lieferzeit über die volle Breite, „Frage zum Artikel“ darunter als
   eigener Knopf (vorher quetschte er die Lieferzeit-Zeile in zwei krumme Zeilen) */
@media (max-width: 767.98px) {
    body.wm-v2 .stock-information { row-gap: 14px; }
    body.wm-v2 .stock-information > .question-on-item { flex: 0 0 100%; max-width: 100%; }

    body.wm-v2 .stock-information .btn.question {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px 8px;
        width: 100%;
        padding: 11px 16px;
        border: 1px solid var(--wm-line);
        border-radius: 999px;
        background: #fff;
        color: var(--wm-ink);
        font-weight: 600;
        text-decoration: none;
    }
}

body.wm-v2 #content .table-striped tbody tr:nth-of-type(odd) { background: var(--wm-surface); }
body.wm-v2 #content .table td,
body.wm-v2 #content .table th { border-color: var(--wm-line); }

/* ---------------------------------------------------------- Warenkorb */

body.wm-v2 .basket-items {
    border: 1px solid var(--wm-line);
    box-shadow: none;
    border-radius: 20px;
}

body.wm-v2 a.cart-items-name {
    color: var(--wm-ink);
    text-decoration: none;
    font-weight: 700;
}

body.wm-v2 a.cart-items-name:hover { text-decoration: underline; text-decoration-color: var(--wm-gold); }

/* Eine Karte statt zwei ineinander – sonst bleibt für die Beträge kein Platz */
body.wm-v2 .cart-summary {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.wm-v2 .basket-summary { border-radius: 20px; }
body.wm-v2 .basket-summary .card-body { padding: 22px 24px; }
body.wm-v2 .basket-summary .basket-summary-total .col:last-child,
body.wm-v2 .basket-summary .price,
body.wm-v2 .basket-summary [class*="price"] { white-space: nowrap; }

/* Mini-Warenkorb: „Zur Kasse“ Gold statt Grün, „Zum Warenkorb“ als Rahmen */
body.wm-v2 .cart-dropdown-next.btn,
body.wm-v2 a.cart-dropdown-next,
body.wm-v2 .cart-dropdown-buttons .btn.cart-dropdown-next {
    background: var(--wm-gold) !important;
    border-color: var(--wm-gold) !important;
    color: var(--wm-ink) !important;
}

body.wm-v2 .cart-dropdown-next.btn:hover {
    background: var(--wm-gold-hover) !important;
    border-color: var(--wm-gold-hover) !important;
}

body.wm-v2 .cart-dropdown-buttons .btn-primary:not(.cart-dropdown-next) {
    background: transparent !important;
    border: 1.5px solid var(--wm-ink) !important;
    color: var(--wm-ink) !important;
}

body.wm-v2 .cart-dropdown-buttons .btn-primary:not(.cart-dropdown-next):hover {
    background: var(--wm-ink) !important;
    color: #fff !important;
}

/* --------------------------------------------------------------- Kasse */

body.wm-v2 .checkout-steps {
    background: transparent;
    border-bottom: 1px solid var(--wm-line);
}

body.wm-v2 .checkout-steps .step { background: transparent; }

body.wm-v2 .checkout-steps .step-active {
    box-shadow: inset 0 -3px 0 var(--wm-gold);
}

/* Login-Knöpfe untereinander – nebeneinander brachen „Anmelden“ und
   „Passwort vergessen“ mitten im Wort um */
body.wm-v2 .customer-login-buttons .form-row > [class*="col-lg-6"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 8px;
    text-align: center;
}

/* ---------------------------------------------------------- Infoseiten */

/* Breite Tabellen (Versandkosten) am Handy seitlich scrollen statt überstehen */
@media (max-width: 767.98px) {
    body.wm-v2 #content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ======================================================================
 * Mega-Menü 2.0 (kompakt): kleine Kategorie-Bilder, fünf Spalten, unten eine
 * Zeile „Alle Artikel …“ plus Kegliste-Leiste (Markup: Bootstrap::enhanceMegaMenu)
 * ====================================================================== */

.wm-mm-foot { display: none; }

.wm-mm-thumb {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wm-surface);
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    margin-right: 10px;
    vertical-align: middle;
    transition: background-color .15s;
}

.wm-mm-thumb img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.wm-mm-thumb b {
    font: 400 15px/1 var(--wm-serif);
    color: var(--wm-gold-ink);
}

@media (min-width: 992px) {
    body.wm-v2 #mainNavigation .dropdown-full > .dropdown-menu > .dropdown-body {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    /* Raster statt Bootstrap-Spalten */
    body.wm-v2 #mainNavigation .subcategory-wrapper > .row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 28px;
        margin: 0;
    }

    body.wm-v2 #mainNavigation .subcategory-wrapper > .row > [class*="col"] {
        flex: none;
        max-width: none;
        width: auto;
        padding: 0;
        margin: 0;
    }

    body.wm-v2 #mainNavigation .subcategory-wrapper > .row > .d-lg-none { display: none !important; }

    /* Überschrift: kleines Bild + Name, linksbündig (NOVA-dropdown-toggle verteilt sonst auf Abstand) */
    body.wm-v2 #mainNavigation .submenu-headline-toplevel {
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        padding: 0 0 6px;
        margin-bottom: 4px;
        border-bottom: 1px solid var(--wm-line);
        text-align: left;
    }

    body.wm-v2 #mainNavigation .submenu-headline-toplevel::after { display: none; }

    body.wm-v2 #mainNavigation .submenu-headline-toplevel > span:not(.wm-mm-thumb) {
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal;
        font-size: 16px !important;
        line-height: 1.2;
    }

    body.wm-v2 #mainNavigation .submenu-headline-toplevel:hover .wm-mm-thumb { background: var(--wm-gold-soft); }

    /* Unterpunkte bündig unter dem Namen, eng gesetzt */
    body.wm-v2 #mainNavigation .subcategory-wrapper .categories-recursive-dropdown { padding-left: 42px; }

    body.wm-v2 #mainNavigation .categories-recursive-dropdown .nav-link {
        padding: 1px 0;
        font-size: 14px;
        line-height: 1.4;
    }

    /* Fußzeile: „Alle Artikel …“ links, Kegliste-Leiste rechts */
    .wm-mm-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px 24px;
        max-width: 1240px;
        margin: 18px auto 0;
        padding: 14px 16px 0;
        border-top: 1px solid var(--wm-line);
        font-family: var(--wm-sans);
    }

    body.wm-v2 .wm-mm-all {
        font-weight: 600;
        color: var(--wm-ink);
        text-decoration: none;
        border-bottom: 2px solid var(--wm-gold);
        padding-bottom: 1px;
    }

    body.wm-v2 .wm-mm-keg {
        display: flex;
        align-items: center;
        gap: 14px;
        background: var(--wm-ink);
        color: #fff;
        border-radius: 999px;
        padding: 7px 8px 7px 20px;
        text-decoration: none;
        white-space: nowrap;
    }

    .wm-mm-keg-kicker {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--wm-gold);
    }

    .wm-mm-keg strong { font-weight: 600; font-size: 14.5px; }

    .wm-mm-keg-btn {
        background: var(--wm-gold);
        color: var(--wm-ink);
        border-radius: 999px;
        padding: 7px 14px;
        font-weight: 600;
        font-size: 14px;
    }

    /* NOVA färbt Links im Menü grau (#mainNavigation …) – in der dunklen Leiste weiß halten */
    body.wm-v2 #mainNavigation .wm-mm-keg,
    body.wm-v2 #mainNavigation .wm-mm-keg strong,
    body.wm-v2 #mainNavigation .wm-mm-keg:hover { color: #fff !important; }
    body.wm-v2 #mainNavigation .wm-mm-keg .wm-mm-keg-kicker { color: var(--wm-gold) !important; }
    body.wm-v2 #mainNavigation .wm-mm-keg .wm-mm-keg-btn { color: var(--wm-ink) !important; }
    body.wm-v2 .wm-mm-keg:hover .wm-mm-keg-btn { background: var(--wm-gold-hover); }

    /* Seite dahinter abdunkeln, solange ein Mega-Menü offen ist */
    body.wm-v2 #main-wrapper,
    body.wm-v2 #footer { transition: opacity .2s; }

    body.wm-v2:has(#mainNavigation .dropdown-full.show) #main-wrapper,
    body.wm-v2:has(#mainNavigation .dropdown-full.show) #footer { opacity: .35; }
}

/* Ab 1200 px fünf Spalten – zehn Bier-Kategorien in zwei Reihen */
@media (min-width: 1200px) {
    body.wm-v2 #mainNavigation .subcategory-wrapper > .row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Handy: kleines Bild im aufgeklappten Menü, Namen linksbündig */
@media (max-width: 991.98px) {
    body.wm-v2 #mainNavigation .submenu-headline-toplevel {
        display: flex !important;
        align-items: center;
        text-align: left;
    }

    body.wm-v2 #mainNavigation .submenu-headline-toplevel > span:not(.wm-mm-thumb) {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wm-v2 #main-wrapper,
    body.wm-v2 #footer,
    .wm-mm-thumb { transition: none; }
}

/* „Alle Artikel …“ im Mega-Menü: NOVA färbt Menü-Links grau */
@media (min-width: 992px) {
    body.wm-v2 #mainNavigation .wm-mm-all { color: var(--wm-ink) !important; }
}

/* ======================================================================
 * Kategorie-Seitenleiste: kompakt, Baum mit feiner Führungslinie, Gold nur
 * für die aktuelle Kategorie (übergeordnete Ebenen nur fett).
 * ====================================================================== */

body.wm-v2 aside .productlist-filter-headline {
    font: 700 12.5px/1.2 var(--wm-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wm-muted);
    border: 0;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

body.wm-v2 aside .box-categories .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px !important;
    margin: 1px 0;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--wm-muted);
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px;
    box-shadow: none;
}

body.wm-v2 aside .box-categories .nav-link a {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

/* Oberste Ebene (Bier, Sekt, Wein …) */
body.wm-v2 aside .box-categories .nav-panel > .nav > .nav-item > .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--wm-ink);
}

/* Unterebenen eingerückt, mit feiner Führungslinie */
body.wm-v2 aside .box-categories .snippets-categories-collapse > .nav {
    margin: 2px 0 6px 14px;
    padding-left: 8px;
    border-left: 1px solid var(--wm-line);
}

body.wm-v2 aside .box-categories .nav-link:hover {
    background: var(--wm-surface) !important;
    color: var(--wm-ink);
}

/* Geöffneter Pfad (übergeordnete Ebenen der aktuellen Kategorie): nur fett */
body.wm-v2 aside .box-categories li.active:has(li.active) > .nav-link {
    background: transparent !important;
    color: var(--wm-ink);
    font-weight: 700;
}

/* Aktuelle Kategorie: helles Gold mit goldenem Strich links */
body.wm-v2 aside .box-categories li.active:not(:has(li.active)) > .nav-link {
    background: var(--wm-gold-soft) !important;
    color: var(--wm-ink);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--wm-gold);
    border-radius: 0 8px 8px 0;
}

/* Pfeile klein und ruhig */
body.wm-v2 aside .box-categories .dropdown-toggle::after {
    transform: scale(.7);
    opacity: .55;
    margin-left: 4px;
}

body.wm-v2 aside .box-categories .nav-link:hover.dropdown-toggle::after { opacity: .9; }

/* Filter-Überschriften (Verfügbarkeit, Preisspanne …) wie „Kategorien“ */
body.wm-v2 aside .btn-filter-box {
    font: 700 12.5px/1.2 var(--wm-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wm-muted);
    padding: 12px 0;
    text-decoration: none;
}

body.wm-v2 aside .btn-filter-box:hover { color: var(--wm-ink); }
body.wm-v2 aside .box-categories .dropdown-toggle::after { opacity: .75; }

/* Startseite: Sekt und Wein – zwei Felder mit je 4 Produkten */
.wmh-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.wmh-duo-panel {
    border-radius: 28px;
    padding: 30px 28px 32px;
    background: var(--wm-gold-soft);
}

.wmh-duo-wein { background: #f3ece9; }
.wmh-duo-panel .wmh-pimg { background: #fff; }

.wmh-duo-head { margin-bottom: 24px; }
.wmh .wmh-duo-head h3 { font-size: 30px; line-height: 1.15; margin: 8px 0 10px; }
.wmh-duo-head p { color: var(--wm-muted); font-size: 15.5px; max-width: 32rem; margin-bottom: 14px; }
.wmh-duo .wmh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }

@container (max-width: 980px) {
    .wmh-duo { grid-template-columns: minmax(0, 1fr); }
    .wmh-duo .wmh-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@container (max-width: 600px) {
    .wmh-duo-panel { padding: 22px 16px 24px; border-radius: 22px; }
    .wmh .wmh-duo-head h3 { font-size: 24px; }
    .wmh-duo .wmh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

/* Startseite: Band „Für Händler & Firmen“ nach „Welche Zapfanlage passt zu dir?“ – oben Text und
   Knöpfe, darunter drei Leistungen (Rabatt, Anpassungen, Gravur/Verpackung ab 200 Stück) */
.wmh-dealer {
    margin-top: 56px;
    padding: 30px 36px 26px;
    border-radius: 24px;
    background: var(--wm-ink);
    color: #c9c6bf;
}

.wmh-dealer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}

.wmh-dealer .wmh-kicker { color: var(--wm-gold); }
.wmh .wmh-dealer h2 { margin: 6px 0 8px; font-size: 28px; line-height: 1.15; color: #fff; }
.wmh-dealer p { max-width: 38rem; margin: 0; font-size: 15.5px; }
.wmh-dealer-actions { display: flex; flex: none; flex-direction: column; align-items: flex-start; gap: 12px; }

.wmh-dealer-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 28px;
    margin: 24px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid #36383d;
    list-style: none;
}

.wmh-dealer-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.45; }
.wmh-dealer-points svg { flex: none; color: var(--wm-gold); }
.wmh-dealer-points b { display: block; color: #fff; font-size: 15px; }

@container (max-width: 980px) {
    .wmh-dealer-main { flex-direction: column; align-items: flex-start; }
    .wmh-dealer-points { grid-template-columns: minmax(0, 1fr); }
}

@container (max-width: 600px) {
    .wmh-dealer { margin-top: 40px; padding: 24px 20px 20px; border-radius: 20px; }
    .wmh .wmh-dealer h2 { font-size: 23px; }
    .wmh-dealer-actions { align-self: stretch; }
    .wmh-dealer-actions .wmh-btn { width: 100%; }
}

/* Startseite: Ratgeber „Wissenswertes“ – Karten aus den Unterseiten der Eigenen Seite */
.wmh-know {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wmh .wmh-know-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid var(--wm-line);
    border-radius: 18px;
    background: #fff;
    color: var(--wm-ink);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}

.wmh .wmh-know-card:hover {
    border-color: var(--wm-ink);
    box-shadow: 0 10px 28px rgba(28, 29, 32, .08);
}

.wmh-know-card .wmh-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; }
.wmh-know-text { min-width: 0; }
.wmh-know-text b { display: block; font-size: 18px; line-height: 1.3; margin-bottom: 4px; }

.wmh-know-text span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--wm-muted);
    font-size: 15px;
    line-height: 1.5;
}

@container (max-width: 980px) {
    .wmh-know { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 600px) {
    .wmh-know { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .wmh .wmh-know-card { padding: 16px; gap: 14px; }
    .wmh-know-text span { -webkit-line-clamp: 2; }
}

/* ======================================================================
 * Such-Fenster (Plugin wecomatic_livesearch) im neuen Design: Suchfeld als
 * Pille mit Lupe, Gold statt Blau, Karten wie auf der Startseite.
 * ====================================================================== */

body.wm-v2 .wls-backdrop { background: rgba(28, 29, 32, .5); backdrop-filter: blur(3px); }
body.wm-v2 .wls-panel { font-family: var(--wm-sans); color: var(--wm-ink); }

body.wm-v2 .wls-search {
    position: relative;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--wm-line);
}

body.wm-v2 .wls-search::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5f67' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}

body.wm-v2 .wls-input {
    height: 52px;
    padding: 0 18px 0 50px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: var(--wm-surface);
    color: var(--wm-ink);
    font: 500 17px/1.2 var(--wm-sans);
    -webkit-appearance: none;
    appearance: none;
}

body.wm-v2 .wls-input::placeholder { color: #8a8f96; }
/* Browser-eigenes Lösch-× (blau) weg – das Fenster hat einen eigenen Schließen-Knopf */
body.wm-v2 .wls-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

body.wm-v2 .wls-input:focus {
    background: #fff;
    border-color: var(--wm-ink);
    box-shadow: 0 0 0 4px rgba(248, 191, 0, .4);
}

body.wm-v2 .wls-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--wm-surface);
    color: var(--wm-ink);
    font-size: 26px;
}

body.wm-v2 .wls-close:hover { background: var(--wm-line); color: var(--wm-ink); }

/* Chips und Startansicht */
body.wm-v2 .wls-sugg {
    border-color: transparent;
    background: var(--wm-surface);
    color: var(--wm-ink);
    font-weight: 600;
}

body.wm-v2 .wls-sugg:hover { background: var(--wm-gold-soft); border-color: transparent; color: var(--wm-ink); }
body.wm-v2 .wls-sugg-recent::before { content: "↺"; margin-right: 6px; color: var(--wm-muted); font-weight: 400; }
body.wm-v2 .wls-start-head { color: var(--wm-gold-ink); }
body.wm-v2 .wls-start-cat { color: var(--wm-ink); }
body.wm-v2 .wls-start-cat:hover,
body.wm-v2 .wls-start-cat.wls-active { background: var(--wm-surface); color: var(--wm-ink); }
body.wm-v2 .wls-start-link { border-color: var(--wm-line); border-radius: 14px; color: var(--wm-ink); }
body.wm-v2 .wls-start-link:hover,
body.wm-v2 .wls-start-link.wls-active { border-color: var(--wm-ink); color: var(--wm-ink); }
body.wm-v2 .wls-start-link span { color: var(--wm-muted); }

/* Ergebnisse */
body.wm-v2 .wls-card { border-color: var(--wm-line); border-radius: 16px; color: var(--wm-ink); }

body.wm-v2 .wls-card:hover,
body.wm-v2 .wls-card:focus,
body.wm-v2 .wls-card.wls-active { border-color: var(--wm-ink); box-shadow: 0 10px 28px rgba(28, 29, 32, .08); }

body.wm-v2 .wls-card-img { background: var(--wm-surface); border-radius: 12px; padding: 8px; }
body.wm-v2 .wls-card-img img { mix-blend-mode: multiply; }
body.wm-v2 .wls-card-name { font-size: 14px; }
body.wm-v2 .wls-card-price { color: var(--wm-ink); }
body.wm-v2 .wls-hl { box-shadow: inset 0 -.4em 0 var(--wm-gold-soft); }
body.wm-v2 .wls-all-head { border-color: var(--wm-line); }
body.wm-v2 .wls-all-toolbar { background: #fff; border-color: var(--wm-line); }

/* Filter: Gold und Anthrazit statt Blau */
body.wm-v2 .wls-filter-toggle { color: var(--wm-ink); border-color: var(--wm-line); }
body.wm-v2 .wls-filter-toggle.wls-toggle-on { background: var(--wm-ink); border-color: var(--wm-ink); color: #fff; }
body.wm-v2 .wls-slider-fill { background: var(--wm-gold); }
body.wm-v2 .wls-range::-webkit-slider-thumb { border-color: var(--wm-ink); }
body.wm-v2 .wls-range::-moz-range-thumb { border-color: var(--wm-ink); }

/* Kategorie-Filter als ruhige Chips: Kästchen unsichtbar (bleibt per Tastatur bedienbar),
   gewählt = dunkel mit Häkchen */
body.wm-v2 .wls-cats { gap: 8px; }

body.wm-v2 .wls-cat {
    position: relative;
    gap: 6px;
    padding: 7px 13px;
    border: 1px solid transparent;
    background: var(--wm-surface);
    color: var(--wm-ink);
    font-size: 14px;
    font-weight: 600;
}

body.wm-v2 .wls-cat input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
body.wm-v2 .wls-cat:hover { background: var(--wm-gold-soft); border-color: transparent; }
body.wm-v2 .wls-cat:has(input:focus-visible) { outline: 2px solid var(--wm-ink); outline-offset: 2px; }
body.wm-v2 .wls-cat-on,
body.wm-v2 .wls-cat-on:hover { background: var(--wm-ink); border-color: var(--wm-ink); color: #fff; }
body.wm-v2 .wls-cat-on::before { content: "✓"; font-weight: 700; color: var(--wm-gold); }
body.wm-v2 .wls-cat-cnt { color: var(--wm-muted); font-size: 12.5px; font-weight: 500; }
body.wm-v2 .wls-cat-parent { color: var(--wm-muted); font-weight: 500; }
body.wm-v2 .wls-cat-on .wls-cat-cnt,
body.wm-v2 .wls-cat-on .wls-cat-parent { color: rgba(255, 255, 255, .7); }

body.wm-v2 .wls-cats-more {
    padding: 7px 6px;
    color: var(--wm-ink);
    font: 600 14px/1.2 var(--wm-sans);
    text-decoration: underline;
    text-decoration-color: var(--wm-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
body.wm-v2 .wls-all { color: var(--wm-ink); background: var(--wm-surface); }
body.wm-v2 .wls-size-active { background: var(--wm-ink); border-color: var(--wm-ink); color: #fff; }

@media (min-width: 768px) {
    body.wm-v2 .wls-panel {
        width: 1100px;
        margin-top: 4vh;
        border-radius: 22px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    }

    body.wm-v2 .wls-search { padding: 18px 22px; }
    body.wm-v2 .wls-search::before { left: 42px; }
}

/* ======================================================================
 * Große Bühne auf der Startseite: Banner über die volle Breite, wischbar
 * (Scroll-Snap), Wechsel per theme-v2.js. Folien: Marke, Zapfanlage mieten,
 * eigene Banner-Bilder aus der Einstellung „stage_banners“.
 * ====================================================================== */

/* NOVA gibt #content-wrapper und jedem „main section“ 4rem Innenabstand, dazu kommt die
   leere Brotkrumen-Zeile – zusammen ~136px Weiß über der Bühne. */
body.wm-v2.wm-home #content-wrapper { padding-top: 0; }
body.wm-v2.wm-home #content-wrapper > .breadcrumb-container { display: none; }

.wmh-stage {
    position: relative;
    padding: 0;
    margin-bottom: 48px;
}

.wmh-stage-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.wmh-stage-track::-webkit-scrollbar { display: none; }

.wmh-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: clamp(480px, 40vw, 620px);
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
}

.wmh-slide > .wmh-wrap { width: 100%; }

.wmh-slide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
    padding-block: 40px 76px;
}

.wmh-slide h1,
.wmh-slide h2 {
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 1.05;
    letter-spacing: -.01em;
    margin: 14px 0 18px;
}

.wmh-slide .wmh-lead { max-width: 32rem; }
.wmh-slide .wmh-actions { margin-top: 30px; align-items: center; gap: 14px 20px; }

/* Folie 1: Marke auf durchgehendem Gold */
.wmh-slide--brand { background: var(--wm-gold); }
.wmh-slide--brand .wmh-kicker { color: #4d3800; }
.wmh-slide--brand .wmh-lead { color: #3b2f0b; }
.wmh-slide--brand .wmh-facts { color: #3b2f0b; }
.wmh-slide--brand .wmh-facts svg { color: var(--wm-ink); }

.wmh-brand-art {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
}

.wmh-ring {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 2px solid rgba(28, 29, 32, .12);
    right: -140px;
    top: -120px;
    pointer-events: none;
}

/* Drei Produkte auf einer Standlinie: Breite je Produkt (--fb) und Seitenverhältnis (--ar) kommen
   aus home.php, der Zuschnitt (--x/--y/--w/--h) aus Home::trimBox() – das Foto wird so verschoben
   und vergrößert, dass nur das Produkt ohne leeren Rand im Rahmen steht. */
.wmh-art-row {
    --gap: 5%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--gap);
    width: min(100%, 500px);
    padding-bottom: 28px;
}

.wmh-art {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - (var(--n) - 1) * var(--gap)) * var(--fb));
    aspect-ratio: var(--ar);
}

/* weicher Schatten als Standfläche */
.wmh-art::after {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -9px;
    height: 16px;
    background: radial-gradient(closest-side, rgba(59, 47, 11, .28), transparent);
    z-index: -1;
}

.wmh-art-crop { position: absolute; inset: 0; overflow: hidden; }

.wmh .wmh-art-crop img {
    position: absolute;
    max-width: none;
    width: auto;
    height: calc(100% / var(--h));
    left: calc(var(--x) / var(--w) * -100%);
    top: calc(var(--y) / var(--h) * -100%);
}

/* Beim Darüberfahren hebt sich das Produkt, der Schatten bleibt stehen */
.wmh-art-crop { transition: transform .25s; }
.wmh-art:hover .wmh-art-crop { transform: translateY(-5px); }

/* Folie 2: Zapfanlage mieten, dunkel */
.wmh-slide--rent { background: var(--wm-ink); color: #fff; }
.wmh-slide--rent .wmh-kicker { color: var(--wm-gold); }
.wmh-slide--rent h2 { color: #fff; }
.wmh-slide--rent .wmh-lead { color: #c9c6bf; }
.wmh-slide--rent .wmh-lead strong { color: #fff; }

.wmh-rent-facts {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wmh-rent-facts li {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 14px;
    font-weight: 600;
}

.wmh-rent-pic {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 32px 26px 22px;
}

.wmh-rent-pic img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; }

.wmh-rent-price {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    background: var(--wm-ink);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}

.wmh-rent-price b { color: var(--wm-gold); font-size: 20px; margin-right: 2px; }

/* Folie 3: Reinigung, warme Fläche; Produktfotos mit weißem Grund per multiply */
.wmh-slide--clean { background: var(--wm-surface); }

.wmh-clean-links {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wmh .wmh-clean-links a {
    display: inline-block;
    background: #fff;
    color: var(--wm-ink);
    border: 1px solid var(--wm-line);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.wmh .wmh-clean-links a:hover { border-color: var(--wm-ink); }

.wmh-clean-art {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    padding-bottom: 36px;
}

.wmh-clean-plate {
    position: absolute;
    width: min(460px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%);
}

/* Shop-Fotos sind quadratisch mit viel Rand: Breiten > 1/3 und negative Ränder lassen die
   Ränder überlappen (multiply macht das unsichtbar), so wirken die Produkte groß genug. */
.wmh-clean-item { position: relative; flex: 0 0 auto; margin: 0 -5%; }
.wmh .wmh-clean-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; }
.wmh-clean-0 { width: 48%; }
.wmh-clean-1 { width: 40%; }
.wmh-clean-2 { width: 32%; }

/* Text immer über Deko-Flächen (Kreis), falls sie sich auf schmalen Bildschirmen nahekommen */
.wmh-slide-text { position: relative; z-index: 1; }

/* Eigene Banner-Bilder: immer ganz sichtbar (kein Abschneiden von Text im Bild),
   die freie Fläche füllt eine weichgezeichnete Kopie desselben Bildes. */
.wmh-slide--image { background: var(--wm-surface); }

.wmh-slide--image::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: var(--wmh-bg) center / cover no-repeat;
    filter: blur(28px) saturate(1.1);
    opacity: .85;
}

.wmh-slide--image picture { position: absolute; inset: 0; z-index: 1; }
.wmh .wmh-slide--image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Punkte und Pfeile */
/* z-index: das Bild eines Banner-Links (picture, z-index 1) lag sonst über den Pfeilen –
   Klick auf „zurück“ öffnete den Banner-Link. */
.wmh-stage-nav {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 6px 20px rgba(28, 29, 32, .15);
}

.wmh .wmh-stage-arrow {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--wm-ink);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.wmh .wmh-stage-arrow:hover { background: var(--wm-surface); }

.wmh-stage-dots { display: flex; gap: 2px; }

.wmh .wmh-stage-dots button {
    width: 24px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.wmh .wmh-stage-dots button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 999px;
    background: #c9c5bd;
    transition: width .2s, margin .2s, background-color .2s;
}

.wmh .wmh-stage-dots button[aria-current="true"]::before {
    width: 20px;
    margin-left: -10px;
    background: var(--wm-ink);
}

@container (max-width: 980px) {
    .wmh-slide-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 84px; }
    .wmh-brand-art { min-height: 340px; }
}

@container (max-width: 600px) {
    .wmh-slide { min-height: 0; align-items: stretch; }
    .wmh-slide-grid { padding-block: 24px 76px; gap: 20px; }
    .wmh-slide .wmh-facts { display: none; }
    .wmh-slide .wmh-actions { margin-top: 22px; }
    .wmh-rent-facts { margin-top: 16px; }
    .wmh-rent-pic img { max-height: 200px; }
    .wmh-slide--image { min-height: 560px; }
    .wmh-slide h1,
    .wmh-slide h2 { font-size: 34px; }
    .wmh-slide .wmh-actions { display: grid; }
    .wmh-slide--rent .wmh-more { justify-self: center; }
    .wmh-brand-art { min-height: 220px; }
    .wmh-art-row { width: min(100%, 300px); padding-bottom: 18px; }
    .wmh-clean-art { min-height: 0; padding-bottom: 0; }
    .wmh-clean-plate { width: 64%; transform: translate(-50%, -50%); }
    .wmh-clean-links { margin-top: 16px; }
    .wmh-ring { width: 320px; height: 320px; right: -100px; top: -60px; }
    .wmh-rent-pic { padding: 24px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .wmh .wmh-stage-dots button::before { transition: none; }
}
