/* ============================================================
 * WUNO Theme – Base CSS
 * Color-Tokens, Typografie, Layout-Defaults.
 * ============================================================ */

:root {
    /* Brand-Colors (vom User definiert) */
    --wuno-primary:        #28B4E5;   /* Cyan/Tuerkis */
    --wuno-primary-hover:  #1E9AC4;
    --wuno-secondary:      #D54D13;   /* Akzent Orange */
    --wuno-secondary-hover:#B53F0E;

    /* Text */
    --wuno-text:           #464B50;
    --wuno-text-light:     #ffffff;
    --wuno-text-muted:     #6F7479;

    /* Backgrounds */
    --wuno-bg:             #ffffff;
    --wuno-bg-alt:         #EFEFEF;
    --wuno-bg-dark:        #2C3134;

    /* Borders */
    --wuno-border:         #464B50;
    --wuno-border-light:   #E0E0E0;

    /* Layout */
    --wuno-container:      1280px;
    --wuno-section-py:     120px;
    --wuno-section-py-mobile: 64px;

    /* Buttons (Mockup: 155-160 x 47-50) */
    --wuno-btn-radius:     4px;
    --wuno-btn-padding-y:  14px;
    --wuno-btn-padding-x:  28px;
    --wuno-btn-min-w:      160px;

    /* Typografie */
    --wuno-font-body:      'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --wuno-font-display:   'Open Sans Condensed', 'Open Sans', system-ui, sans-serif;

    --wuno-fs-body:        16px;
    --wuno-lh-body:        1.65;

    --wuno-fs-h1:          clamp(36px, 5vw, 56px);
    --wuno-fs-h2:          clamp(28px, 3.5vw, 40px);
    --wuno-fs-h3:          clamp(22px, 2.5vw, 28px);
    --wuno-fs-h4:          20px;
    --wuno-fs-small:       14px;

    --wuno-letter-display: 0.02em;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    /* Defensive gegen Browser-Scroll-Anchoring beim Sticky-Header:
     * verhindert, dass scrollY automatisch korrigiert wird, wenn ein
     * Element im Layout darueber seine Hoehe aendert. */
    overflow-anchor: none;
    margin: 0;
    font-family: var(--wuno-font-body);
    font-size: var(--wuno-fs-body);
    line-height: var(--wuno-lh-body);
    color: var(--wuno-text);
    background: var(--wuno-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Sticky-Header braucht overflow visible an allen Vorfahren */
    overflow-x: clip;
}
.wuno-site {
    overflow: visible;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--wuno-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wuno-primary-hover); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--wuno-font-display);
    color: var(--wuno-text);
    margin: 0 0 .6em 0;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: var(--wuno-letter-display);
    text-transform: uppercase;
}
h1 { font-size: var(--wuno-fs-h1); }
h2 { font-size: var(--wuno-fs-h2); }
h3 { font-size: var(--wuno-fs-h3); }
h4 { font-size: var(--wuno-fs-h4); }

p { margin: 0 0 1em 0; }

/* Subline / Eyebrow ueber Headings (z.B. "Leben in der Genossenschaft") */
.wuno-eyebrow {
    font-family: var(--wuno-font-body);
    font-size: var(--wuno-fs-small);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--wuno-text);
    letter-spacing: 0.05em;
    margin-bottom: .8em;
    display: block;
}

/* ---------- Layout ---------- */
.wuno-container {
    width: 100%;
    max-width: var(--wuno-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.wuno-section {
    padding-top: var(--wuno-section-py);
    padding-bottom: var(--wuno-section-py);
}
@media (max-width: 767px) {
    .wuno-section {
        padding-top: var(--wuno-section-py-mobile);
        padding-bottom: var(--wuno-section-py-mobile);
    }
}
.wuno-section--alt    { background: var(--wuno-bg-alt); }
.wuno-section--primary{ background: var(--wuno-primary); color: var(--wuno-text-light); }
.wuno-section--dark   { background: var(--wuno-bg-dark); color: var(--wuno-text-light); }

/* ---------- Buttons ---------- */
.wuno-btn,
.wuno-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--wuno-btn-min-w);
    padding: var(--wuno-btn-padding-y) var(--wuno-btn-padding-x);
    border-radius: var(--wuno-btn-radius);
    font-family: var(--wuno-font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    border: 0;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
    text-decoration: none;
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
}
.wuno-btn:hover {
    background: var(--wuno-primary-hover);
    color: var(--wuno-text-light);
    transform: translateY(-1px);
}
.wuno-btn--secondary { background: var(--wuno-secondary); }
.wuno-btn--secondary:hover { background: var(--wuno-secondary-hover); }

.wuno-btn--ghost {
    background: transparent;
    color: var(--wuno-primary);
    border: 1px solid var(--wuno-primary);
}
.wuno-btn--ghost:hover { background: var(--wuno-primary); color: var(--wuno-text-light); }

/* ---------- Utility ---------- */
.wuno-text-center { text-align: center; }
.wuno-mt-0 { margin-top: 0; }
.wuno-mb-0 { margin-bottom: 0; }

/* ---------- Globale Mobile-Tunings (Headings, Spacing) ---------- */
@media (max-width: 767px) {
    h1 { font-size: clamp(28px, 8vw, 36px); }
    h2 { font-size: clamp(24px, 6.5vw, 30px); }
    h3 { font-size: clamp(20px, 5vw, 24px); }
    .wuno-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    /* Boxed Elementor-Sections kollabieren auf 64px Padding statt 120 */
    .e-con-boxed {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
    /* Elementor-Heading-Widget grosse Headlines runter skalieren */
    .elementor-widget-heading h1 {
        font-size: clamp(26px, 7.5vw, 36px) !important;
        line-height: 1.15 !important;
    }
    .elementor-widget-heading h2 {
        font-size: clamp(22px, 5.5vw, 30px) !important;
    }
}
@media (max-width: 600px) {
    .wuno-testimonial-slider__inner {
        padding: 12px;
    }
    .wuno-testimonial-slider__text {
        padding: 16px 12px;
    }
}

/* ============================================================
 * Custom-Widgets
 * ============================================================ */

/* ---------- WUNO Header (sticky) ----------
 * Sticky liegt am AUESSEREN Elementor-Header-Wrapper (.elementor-location-header)
 * weil dieser ein direkter Body-Child ist und vollen Scroll-Kontext hat.
 * .wuno-header ist tief im Elementor-Container-Baum verschachtelt – dort
 * funktioniert sticky nicht zuverlaessig.
 */
.elementor-location-header,
header.elementor-location-header {
    position: sticky !important;
    top: 0;
    z-index: 100;
    background: var(--wuno-bg);
    transition: box-shadow .25s ease, background .25s ease;
    /* Verhindert dass Elementor-Children einen abgeschnittenen Scroll-Kontext erzeugen */
    overflow: visible;
}
.wuno-header {
    background: var(--wuno-bg);
    border-bottom: 1px solid var(--wuno-border-light);
}
.elementor-location-header.is-scrolled {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .98);
}
.wuno-header.is-scrolled {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
/* Beim Scrollen: Header-Layout-Box bleibt FIX, nur Logo schrumpft visuell.
 *
 * Warum nicht min-height/padding animieren?
 *   `position: sticky` + animierter Layout-Shift (Header schrumpft Layout-Box)
 *   triggert Browser scroll-anchoring (overflow-anchor): Browser zieht scrollY
 *   um den Layout-Shift nach unten, damit der visible content stabil bleibt.
 *   Bei 36px Schrumpfung wird scrollY teils auf 0 geclampt → das fiel unter
 *   die Hysterese-LEAVE-Schwelle → Header expandierte wieder → scroll-Pull
 *   wieder hoch → ENTER → Endlos-Loop ("Pulsieren"-Bug).
 *
 *   Lösung: Layout-Box NICHT animieren. Visueller Schrumpf-Effekt nur via
 *   `transform: scale()` auf dem Logo (Compositor-Layer, kein Reflow) plus
 *   Schatten/Background im is-scrolled-State.
 */
.wuno-header.is-scrolled .wuno-header__logo--image {
    transform: scale(0.75);
}
.wuno-header__logo--image {
    transform-origin: top left;
    transition: transform .25s ease;
    will-change: transform;
}
.wuno-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    min-height: 120px; /* +40px gegenueber 80 */
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: calc(200px + 32px); /* Platz fuer den Logo-Kasten + Atemraum */
    position: relative;
}

/* Logo – Container immer absolut + ueberlappend, aber Stil-Differenzierung Image vs. Text */
.wuno-header__logo {
    position: absolute;
    top: 0;
    left: 24px;
    /* z-index hoeher als Mega-Panel (90) und Backdrop (80), damit das Logo
     * weiterhin sichtbar bleibt wenn das Panel ueber den Header hinausragt. */
    z-index: 200;
    text-decoration: none;
    transition: background .2s ease, opacity .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Text-Modus: cyan Kasten mit "WU" + Subtitle */
.wuno-header__logo--text {
    width: 180px;
    height: 150px;
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    padding: 18px 20px;
}
.wuno-header__logo--text:hover {
    background: var(--wuno-primary-hover);
    color: var(--wuno-text-light);
}

/* Image-Modus: PNG enthaelt bereits den cyan Kasten + Schrift → keine zusaetzliche Optik */
.wuno-header__logo--image {
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
}
.wuno-header__logo--image:hover { opacity: .85; }
.wuno-header__logo--image .wuno-header__logo-img {
    height: 160px;          /* groesser als Header-Inner-Hoehe → ueberlappt unten ueber den Header */
    width: auto;
    max-width: none;
    display: block;
}
.wuno-header__logo--text .wuno-header__logo-mark {
    font-family: var(--wuno-font-display);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}
.wuno-header__logo--text .wuno-header__logo-sub {
    font-family: var(--wuno-font-body);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 400;
}
.wuno-header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.wuno-header__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center; /* Items vertikal zentrieren – wichtig damit Anchor + Button gleich liegen */
}
.wuno-header__nav-list > .wuno-header__nav-item {
    /* Jedes Item flexen damit Inhalt (Anchor oder Button) vertikal zentriert ist */
    display: flex;
    align-items: center;
}
.wuno-header__nav a {
    font-family: var(--wuno-font-display);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wuno-text);
    text-decoration: none;
    padding: 6px 0;
    transition: color .2s ease;
    position: relative;
}
.wuno-header__nav a:hover,
.wuno-header__nav a:focus,
.wuno-header__nav a.is-active {
    color: var(--wuno-primary);
}
/* Underline beim Hover: bewusst ::before, NICHT ::after.
 * has-children-Items nutzen ::after fuer das Caret (siehe Desktop-Block weiter unten);
 * eine zweite ::after-Regel hier wuerde Properties leaken (position: absolute, etc.)
 * und das Caret zerschiessen ("Ueber uns"-Hover-Bug). */
.wuno-header__nav a:hover::before,
.wuno-header__nav a:focus::before,
.wuno-header__nav a.is-active::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--wuno-primary);
}
.wuno-header__cta {
    flex-shrink: 0;
}
/* ---------- Burger (SVG-Icons, immun gegen Span-Override) ---------- */
.wuno-header__burger {
    display: none;
    background: var(--wuno-primary);
    color: #ffffff;
    border: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    z-index: 200;
    transition: background .2s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.wuno-header__burger:hover,
.wuno-header__burger:focus-visible {
    background: var(--wuno-primary-hover);
}
.wuno-header__burger-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 28px !important;
    height: 28px !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
    color: #ffffff !important;
    transition: opacity .25s ease, transform .35s ease;
    pointer-events: none;
}
.wuno-header__burger-icon path {
    stroke: #ffffff !important;
}

/* Default: Menu sichtbar, Close versteckt */
.wuno-header__burger-icon--close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) !important;
}

/* Beim Oeffnen: Menu fade out + rotate, Close fade in */
.wuno-header.is-open .wuno-header__burger-icon--menu,
.elementor-location-header.is-open .wuno-header__burger-icon--menu {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) !important;
}
.wuno-header.is-open .wuno-header__burger-icon--close,
.elementor-location-header.is-open .wuno-header__burger-icon--close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) !important;
}

/* ---------- Backdrop hinter dem Drawer ---------- */
.wuno-header__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 95;
    transition: background .25s ease;
    pointer-events: none;
}

/* Flyout-Panel: Desktop = normaler Flex-Wrapper, Mobile = Full-Screen-Overlay */
.wuno-header__flyout {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}

/* Desktop: Mobile-only Drawer-Elemente ausblenden */
@media (min-width: 992px) {
    .wuno-header__nav-toggle { display: none !important; }
    .wuno-header__flyout-header { display: none !important; }
    .wuno-header__flyout-footer { display: none !important; }

    /* Desktop: Mobile-Sub-Menu (Akkordeon) ausblenden – das Mega-Panel uebernimmt */
    .wuno-header__sub-menu { display: none !important; }

    /* Top-Level-Trigger (Button): identisch zum Anchor in .wuno-header__nav a.
     * !important wird gebraucht, weil Elementor/WP eine globale button-Regel
     * mit hoeherer Spezifitaet hat (padding 14px 28px / Open Sans non-Condensed).
     * Ohne !important rendert der Button anders als der Anchor → vertikaler Versatz. */
    .wuno-header__nav-trigger {
        background: transparent !important;
        border: 0 !important;
        cursor: pointer;
        color: var(--wuno-text) !important;
        padding: 6px 0 !important;
        margin: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        font-family: var(--wuno-font-display) !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        position: relative;
        transition: color .2s ease;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    .wuno-header__nav a {
        line-height: 1.5;
    }
    .wuno-header__nav-trigger:hover,
    .wuno-header__nav-trigger:focus-visible,
    .wuno-header__nav-item.is-mega-open .wuno-header__nav-trigger {
        color: var(--wuno-primary);
        outline: none;
    }
    /* Hover-Underline: jetzt sowohl fuer Anchor als auch fuer Button (.wuno-header__nav-link) */
    .wuno-header__nav-link:hover::before,
    .wuno-header__nav-link:focus::before,
    .wuno-header__nav-link.is-active::before,
    .wuno-header__nav-item.is-mega-open > .wuno-header__nav-link::before {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 2px;
        background: var(--wuno-primary);
    }
    .wuno-header__nav-caret {
        transition: transform .25s ease;
        flex-shrink: 0;
    }
    .wuno-header__nav-item.is-mega-open .wuno-header__nav-caret {
        transform: rotate(180deg);
    }
}

@media (max-width: 991px) {
    .wuno-header__inner {
        flex-wrap: nowrap;
        padding-left: calc(140px + 16px);
        padding-right: 16px;
        gap: 12px;
        min-height: 100px;
    }
    .wuno-header__logo--text { width: 130px; height: 110px; left: 16px; padding: 12px 14px; }
    .wuno-header__logo--text .wuno-header__logo-mark { font-size: 28px; }
    .wuno-header__logo--image { left: 16px; }
    .wuno-header__logo--image .wuno-header__logo-img { height: 120px; }

    /* Burger sichtbar */
    .wuno-header__burger { display: flex !important; }

    /* Full-Screen Flyout */
    .wuno-header__flyout {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
        background: var(--wuno-bg) !important;
        padding: 100px 24px 32px !important;
        overflow-y: auto !important;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
        z-index: 150;
        gap: 0;
    }
    .wuno-header.is-open .wuno-header__flyout,
    .elementor-location-header.is-open .wuno-header__flyout {
        transform: translateX(0);
        visibility: visible;
        transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    }

    /* Drawer-Header Eyebrow ("Menü") oben links */
    .wuno-header__flyout-header {
        margin-bottom: 8px;
    }
    .wuno-header__flyout-eyebrow {
        font-family: var(--wuno-font-body);
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--wuno-text-muted);
    }

    /* Kein Backdrop bei Full-Screen */
    .wuno-header__backdrop { display: none !important; }

    /* ---- Nav-Liste vertikal mit Stagger-Reveal ---- */
    .wuno-header__nav {
        width: 100% !important;
        flex: 0 0 auto !important;
        display: block !important; /* Override Desktop-flex */
        justify-content: initial !important;
    }
    .wuno-header__nav-list {
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
        display: flex !important;
    }
    .wuno-header__nav-item {
        border-bottom: 1px solid var(--wuno-border-light);
        position: relative;
        opacity: 0;
        transform: translateX(20px);
    }
    .wuno-header.is-open .wuno-header__nav-item,
    .elementor-location-header.is-open .wuno-header__nav-item {
        animation: wuno-nav-reveal 400ms cubic-bezier(.2, .8, .2, 1) forwards;
    }
    .wuno-header.is-open .wuno-header__nav-item:nth-child(1),
    .elementor-location-header.is-open .wuno-header__nav-item:nth-child(1) { animation-delay: 60ms; }
    .wuno-header.is-open .wuno-header__nav-item:nth-child(2),
    .elementor-location-header.is-open .wuno-header__nav-item:nth-child(2) { animation-delay: 110ms; }
    .wuno-header.is-open .wuno-header__nav-item:nth-child(3),
    .elementor-location-header.is-open .wuno-header__nav-item:nth-child(3) { animation-delay: 160ms; }
    .wuno-header.is-open .wuno-header__nav-item:nth-child(4),
    .elementor-location-header.is-open .wuno-header__nav-item:nth-child(4) { animation-delay: 210ms; }
    .wuno-header.is-open .wuno-header__nav-item:nth-child(5),
    .elementor-location-header.is-open .wuno-header__nav-item:nth-child(5) { animation-delay: 260ms; }
    .wuno-header.is-open .wuno-header__nav-item:nth-child(6),
    .elementor-location-header.is-open .wuno-header__nav-item:nth-child(6) { animation-delay: 310ms; }

    @keyframes wuno-nav-reveal {
        to { opacity: 1; transform: translateX(0); }
    }

    .wuno-header__nav-link {
        display: block;
        padding: 18px 4px;
        font-size: 19px;
        letter-spacing: 0.05em;
        color: var(--wuno-text);
    }
    .wuno-header__nav-link:hover,
    .wuno-header__nav-link:focus {
        color: var(--wuno-primary);
    }
    .wuno-header__nav-item.has-children .wuno-header__nav-link {
        padding-right: 56px;
    }
    .wuno-header__nav-item.is-open > .wuno-header__nav-link {
        color: var(--wuno-primary);
    }

    /* Caret als prominentes Pill-Button (cyan Circle) */
    .wuno-header__nav-toggle {
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        transform: translateY(-50%);
        width: 38px !important;
        height: 38px !important;
        border-radius: 50%;
        background: var(--wuno-bg-alt);
        border: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--wuno-text);
        transition: background .25s cubic-bezier(.2, .8, .2, 1),
                    color .25s ease,
                    transform .35s cubic-bezier(.2, .8, .2, 1);
    }
    .wuno-header__nav-toggle svg {
        width: 18px;
        height: 18px;
    }
    .wuno-header__nav-toggle:hover,
    .wuno-header__nav-toggle:focus-visible {
        background: var(--wuno-primary);
        color: var(--wuno-text-light);
    }
    .wuno-header__nav-item.is-open > .wuno-header__nav-toggle {
        background: var(--wuno-primary);
        color: var(--wuno-text-light);
        transform: translateY(-50%) rotate(180deg);
    }

    /* Sub-Menu (Accordion mit smooth max-height) */
    .wuno-header__sub-menu {
        list-style: none;
        margin: 0;
        padding: 0 0 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
        /* Override Desktop-Regel `.wuno-header__nav ul { display: flex }` */
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }
    .wuno-header__nav-item.is-open > .wuno-header__sub-menu {
        max-height: 600px;
        padding-bottom: 12px;
    }
    .wuno-header__sub-menu li {
        position: relative;
    }
    .wuno-header__sub-menu li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 6px;
        height: 1px;
        background: var(--wuno-primary);
    }
    .wuno-header__sub-menu a {
        display: block;
        padding: 10px 0 10px 16px;
        font-family: var(--wuno-font-body);
        font-weight: 500;
        font-size: 15px;
        letter-spacing: 0;
        color: var(--wuno-text-muted);
        text-transform: none;
        text-decoration: none;
        transition: color .2s ease, padding-left .2s ease;
    }
    .wuno-header__sub-menu a:hover {
        color: var(--wuno-primary);
        padding-left: 22px;
    }

    /* CTA-Button im Drawer: full-width, Dropdown immer expanded */
    .wuno-header__cta-wrap {
        width: 100%;
        margin-top: 32px;
    }
    .wuno-header__cta {
        width: 100%;
        justify-content: center;
        font-size: 15px;
    }
    .wuno-header__cta-caret { display: none; }
    .wuno-header__dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-top: 8px;
        box-shadow: none !important;
        background: var(--wuno-bg-alt) !important;
        min-width: 0 !important;
        width: 100% !important;
        transition: none !important;
    }
    .wuno-header__dropdown a {
        padding: 12px 18px;
        font-size: 14px;
    }

    /* Drawer-Footer: Kontakt-Infos */
    .wuno-header__flyout-footer {
        margin-top: auto;
        padding-top: 32px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .wuno-header__flyout-contact {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-family: var(--wuno-font-body);
        font-size: 15px;
        font-weight: 600;
        color: var(--wuno-text);
        text-decoration: none;
        transition: color .2s ease;
    }
    .wuno-header__flyout-contact:hover {
        color: var(--wuno-primary);
    }
    .wuno-header__flyout-contact svg {
        flex-shrink: 0;
        color: var(--wuno-primary);
    }
}

/* Reduced-Motion: keine Stagger-Animation, Items direkt sichtbar */
@media (prefers-reduced-motion: reduce) {
    .wuno-header__nav-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .wuno-header__sub-menu,
    .wuno-header__nav-toggle,
    .wuno-header__flyout {
        transition: none !important;
    }
}

@media (max-width: 600px) {
    .wuno-header__inner {
        padding-left: calc(110px + 12px);
        min-height: 88px;
    }
    .wuno-header__logo--text { width: 100px; height: 80px; padding: 8px 10px; }
    .wuno-header__logo--text .wuno-header__logo-mark { font-size: 22px; }
    .wuno-header__logo--image .wuno-header__logo-img { height: 90px; }
    .wuno-header__flyout { top: 88px; padding: 20px; }
}

/* Body-Lock bei offenem Flyout */
body.wuno-menu-open {
    overflow: hidden;
}

/* ============================================================
 * WUNO Header – Mega-Panel (Desktop, Klick-Trigger)
 * ============================================================
 * Pattern: Klick auf Top-Level mit Children oeffnet ein full-width
 * Panel direkt unter dem Header. Layout: links Top-Level-Titel +
 * "Zur Übersicht"-Link, rechts Sub-Items als 2-Spalten-Grid.
 * Klick außerhalb / ESC / erneuter Klick schließt.
 *
 * Auf Mobile (<992px): hidden via CSS – stattdessen wird das
 * .wuno-header__sub-menu im Drawer als Akkordeon angezeigt.
 */
.wuno-header__megapanel {
    /* Default: hidden, JS togelt is-open */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--wuno-bg);
    border-top: 1px solid var(--wuno-border-light);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .28s cubic-bezier(.2, .8, .2, 1),
                visibility 0s linear .3s;
}
.wuno-header__megapanel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}
.wuno-header__megapanel-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 56px;
    /* Padding-left = Platz fuer den absolute-positionierten Logo-Kasten (200px + Atemraum) */
    padding: 48px 48px 56px 256px;
    align-items: start;
}
.wuno-header__megapanel-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid var(--wuno-border-light);
    padding-right: 32px;
    min-height: 120px;
}
.wuno-header__megapanel-title {
    font-family: var(--wuno-font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--wuno-primary);
    margin: 0;
}
.wuno-header__megapanel-overview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wuno-text);
    font-family: var(--wuno-font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
    align-self: flex-start;
}
.wuno-header__megapanel-overview:hover,
.wuno-header__megapanel-overview:focus-visible {
    color: var(--wuno-primary);
    gap: 12px;
    outline: none;
}
.wuno-header__megapanel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 32px;
}
.wuno-header__megapanel-list li {
    list-style: none;
    margin: 0;
}
.wuno-header__megapanel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--wuno-border-light);
    font-family: var(--wuno-font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--wuno-text);
    text-decoration: none;
    transition: color .2s ease, padding .2s ease, border-color .2s ease;
}
.wuno-header__megapanel-link:hover,
.wuno-header__megapanel-link:focus-visible {
    color: var(--wuno-primary);
    border-color: var(--wuno-primary);
    padding-left: 8px;
    outline: none;
}
.wuno-header__megapanel-link-arrow {
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
}
.wuno-header__megapanel-link:hover .wuno-header__megapanel-link-arrow,
.wuno-header__megapanel-link:focus-visible .wuno-header__megapanel-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Mega-Backdrop: dezent verdunkelt den Body-Inhalt unter dem Panel */
.wuno-header__mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 80;
    pointer-events: none;
    transition: background .3s ease;
}
body.wuno-mega-open .wuno-header__mega-backdrop {
    background: rgba(0, 0, 0, .35);
    pointer-events: auto;
}

/* Mobile: Mega-Panel komplett aus, statt dessen Drawer-Akkordeon */
@media (max-width: 991px) {
    .wuno-header__megapanel,
    .wuno-header__mega-backdrop { display: none !important; }
}

/* Tablet/kleinere Desktops: Spalten reduzieren */
@media (min-width: 992px) and (max-width: 1199px) {
    .wuno-header__megapanel-inner {
        grid-template-columns: minmax(180px, 1fr) 2fr;
        gap: 36px;
        padding: 36px 32px 44px 220px;
    }
    .wuno-header__megapanel-title { font-size: 26px; }
    .wuno-header__megapanel-list { gap: 4px 20px; }
}

/* ---------- WUNO Testimonial-Slider ---------- */
.wuno-testimonial-slider {
    position: relative;
    width: 100%;
}
.wuno-testimonial-slider__viewport {
    padding: 8px 0 24px; /* Luft fuer Karten-Schatten */
}
/* Edge-Fade: Nachbar-Slides verblassen in den Section-BG (per Klasse togglebar) */
.wuno-testimonial-slider.has-edge-fade .wuno-testimonial-slider__viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.wuno-testimonial-slider__slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/*
 * Slide-Inner = die weisse Karte. Padding rundherum, Grid 1fr 1fr darin.
 * Beide Zellen (Text + Bild) haben dadurch automatisch dieselbe Hoehe.
 * Bild wird als background-image gesetzt → kein object-fit-Hickhack,
 * unterschiedliche Bild-Aspect-Ratios brechen das Layout nicht.
 */
.wuno-testimonial-slider__inner {
    background: var(--wuno-bg);
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    min-height: 360px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
@media (max-width: 600px) {
    .wuno-testimonial-slider__inner {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
    }
}

.wuno-testimonial-slider__text {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-width: 0;
}
.wuno-testimonial-slider__text-content {
    font-style: italic;
    color: var(--wuno-text-muted);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.wuno-testimonial-slider__image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--wuno-bg-alt);
    min-height: 320px;
}
@media (max-width: 600px) {
    .wuno-testimonial-slider__image { min-height: 240px; }
}
.wuno-testimonial-slider__quote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 96px;
    line-height: 0.5;
    color: var(--wuno-secondary); /* orange */
    display: block;
    height: 38px;
    margin-bottom: 12px;
    font-weight: 700;
}
.wuno-testimonial-slider__author {
    font-style: normal;
    font-weight: 700;
    color: var(--wuno-text);
}
.wuno-testimonial-slider__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.wuno-testimonial-slider__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.wuno-testimonial-slider__nav {
    display: flex;
    gap: 16px;
    align-items: center;
}
.wuno-testimonial-slider__nav button {
    background: transparent;
    color: var(--wuno-secondary); /* orange Pfeil */
    border: 0;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s ease, transform .15s ease, opacity .15s ease;
    flex-shrink: 0;
    box-sizing: content-box; /* Padding aus Style-Tab erweitert die Box statt sie zu schrumpfen */
}
/* Hover-Color mit doppelter Klasse für höhere Specificity, damit die
 * Hover-Farbe durchkommt, auch wenn im Stil-Tab eine Normal-Color (nav_color)
 * gesetzt ist. Aisha kann im Stil-Tab eigene Hover-Color setzen — die hat
 * noch höhere Specificity (Element-ID-Prefix) und gewinnt dann. */
.wuno-testimonial-slider .wuno-testimonial-slider__nav button:hover {
    color: var(--wuno-secondary-hover);
}
/* Hover bewusst OHNE translateX — Aisha findet's stoerend. Nur Farbwechsel. */
.wuno-testimonial-slider__nav button:disabled,
.wuno-testimonial-slider__nav button.swiper-button-disabled {
    opacity: .25;
    cursor: not-allowed;
}
/* Padding-Override gegen `.elementor-kit-X button { padding: 14px 28px }` aus Elementor.
 * Höhere Specificity durch doppelte Klasse, KEIN !important — damit der Stil-Tab
 * trotzdem eigene Padding-Werte setzen kann (Elementor-generierte Inline-CSS
 * mit `.elementor-element-X` Specificity gewinnt). */
.wuno-testimonial-slider .wuno-testimonial-slider__nav button {
    padding: 0;
}
/* SVG-Maße erzwingen: !important wegen Global-Regel `img, svg, video { max-width: 100% }`
 * sowie Padding-Overrides aus dem Style-Tab. flex-shrink:0 + min-width damit Padding
 * den SVG-Inhalt nicht auf 0px zusammenquetscht. Default 32px, über Style-Tab überschreibbar. */
.wuno-testimonial-slider__nav button svg {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex-shrink: 0;
}

/* Pagination-Dots (Swiper) */
.wuno-testimonial-slider__pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}
.wuno-testimonial-slider__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wuno-text-muted);
    opacity: .4;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, transform .2s ease;
    border: 0;
    display: inline-block;
}
.wuno-testimonial-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--wuno-secondary);
    transform: scale(1.25);
}

/* ---------- WUNO News-Grid ---------- */
.wuno-news-grid {
    display: grid;
    gap: 24px;
}
.wuno-news-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.wuno-news-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.wuno-news-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) {
    .wuno-news-grid--cols-3,
    .wuno-news-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .wuno-news-grid { grid-template-columns: 1fr; }
}
.wuno-news-card {
    background: var(--wuno-bg);
    border: 1px solid var(--wuno-border-light);
    border-radius: var(--wuno-btn-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}
.wuno-news-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}
.wuno-news-card__media {
    display: block;
    line-height: 0;
    background: var(--wuno-bg-alt);
}
.wuno-news-card__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}
.wuno-news-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
}
.wuno-news-card__title {
    margin: 0;
    font-family: var(--wuno-font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--wuno-text);
}
.wuno-news-card__title a {
    color: inherit;
    text-decoration: none;
}
.wuno-news-card__title a:hover {
    color: var(--wuno-primary);
}
.wuno-news-card__excerpt {
    color: var(--wuno-text-muted);
    font-size: 15px;
    line-height: 1.55;
}
.wuno-news-card__cta {
    margin-top: auto;
    align-self: flex-start;
}

/* ---------- WUNO Footer ---------- */
.wuno-footer {
    background: var(--wuno-bg);
    color: var(--wuno-text);
    padding-top: 60px;
    margin-top: 0;
}
.wuno-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    align-items: start;
}
@media (max-width: 991px) {
    .wuno-footer__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
    .wuno-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
.wuno-footer__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wuno-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wuno-text-light);
    background: var(--wuno-primary);
    padding: 10px 14px;
    text-decoration: none;
    width: max-content;
    transition: background .2s ease;
}
.wuno-footer__logo:hover { background: var(--wuno-primary-hover); color: var(--wuno-text-light); }
.wuno-footer__logo img {
    max-height: 56px;
    width: auto;
    display: block;
}
.wuno-footer__logo-mark {
    font-family: var(--wuno-font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}
.wuno-footer__logo-sub {
    font-family: var(--wuno-font-body);
    font-size: 10px;
    line-height: 1.25;
}
.wuno-footer__brand-text {
    font-size: 14px;
    color: var(--wuno-text-muted);
    margin: 0;
}
.wuno-footer__cta { align-self: flex-start; }
.wuno-footer__heading {
    font-family: var(--wuno-font-display);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wuno-primary);
    margin: 0 0 4px 0;
}
.wuno-footer__address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.wuno-footer__contact-meta {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.wuno-footer__contact-meta a { color: var(--wuno-text); }
.wuno-footer__contact-meta a:hover { color: var(--wuno-primary); }
.wuno-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wuno-footer__list a {
    color: var(--wuno-text);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
}
.wuno-footer__list a:hover { color: var(--wuno-primary); }
.wuno-footer__copyright {
    background: var(--wuno-primary);
    padding: 18px 0;
}
.wuno-footer__copyright p {
    margin: 0;
    color: var(--wuno-text-light);
    font-size: 13px;
    text-align: center;
}

/* ---------- WUNO About (Über-Uns-Widget) ---------- */
.wuno-about {
    position: relative;
    background: var(--wuno-bg);
    padding: var(--wuno-section-py) 0;
}
@media (max-width: 767px) {
    .wuno-about { padding: var(--wuno-section-py-mobile) 0; }
}
.wuno-about__container {
    position: relative;
}
.wuno-about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .wuno-about__layout { grid-template-columns: 1fr; gap: 40px; }
}
.wuno-about__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wuno-about__heading {
    margin: 0;
}
.wuno-about__body p {
    margin: 0 0 1em 0;
}
.wuno-about__body p:last-child {
    margin-bottom: 0;
}
.wuno-about__cta {
    align-self: flex-start;
}

/* Single-Mode: eine grosse Grafik (z.B. ein Bild mit 4 Gebaeuden in einem) */
.wuno-about__images--single img {
    width: 100%;
    height: auto;
    display: block;
}

/* Grid-Mode: 2x2-Bilder */
.wuno-about__images--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.wuno-about__cell {
    margin: 0;
    overflow: hidden;
}
.wuno-about__cell img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* ---------- WUNO Service-Portal Widget ---------- */
.wuno-service-portal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: stretch;
}
@media (max-width: 900px) {
    .wuno-service-portal { grid-template-columns: 1fr; }
}
.wuno-service-portal__media {
    position: relative;
    background: var(--wuno-bg-alt);
    overflow: hidden;
    min-height: 400px;
}
.wuno-service-portal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wuno-service-portal__side-icon {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s ease;
    z-index: 5;
}
.wuno-service-portal__side-icon:hover {
    background: var(--wuno-primary-hover);
    color: var(--wuno-text-light);
}
.wuno-service-portal__side-icon svg {
    width: 28px;
    height: 28px;
}
.wuno-service-portal__content {
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 40px;
    align-items: center;
}
.wuno-service-portal__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
@media (max-width: 900px) {
    .wuno-service-portal__content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px 32px;
    }
}
@media (max-width: 600px) {
    .wuno-service-portal__content { padding: 40px 24px; }
}
.wuno-service-portal__eyebrow {
    color: var(--wuno-text-light);
    font-size: 14px;
    letter-spacing: 0.08em;
    margin: 0 0 -4px 0; /* zieht das folgende Heading naeher heran */
}
.wuno-service-portal__heading {
    color: var(--wuno-text-light);
    font-family: var(--wuno-font-display);
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.wuno-service-portal__body,
.wuno-service-portal__body * {
    color: var(--wuno-text-light);
}
.wuno-service-portal__body p {
    margin: 0 0 .8em 0;
}
.wuno-service-portal__body p:last-child {
    margin-bottom: 0;
}
/* Service-Portal Apps: rechte Spalte des cyan Inhalts.
 * PNG enthaelt bereits Badge + QR composite → 1 Element pro App,
 * komplett transparent ohne Hintergrund-Box.
 */
.wuno-service-portal__apps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.wuno-service-portal__app {
    display: block;
    width: 160px;
    height: 200px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: transparent; /* Bewusst kein BG */
    text-decoration: none;
    transition: opacity .2s ease;
    flex-shrink: 0;
}
.wuno-service-portal__app:hover {
    opacity: .85;
}
@media (max-width: 900px) {
    .wuno-service-portal__apps {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
.wuno-service-portal__cta {
    align-self: flex-start;
}

/* ---------- WUNO Hero ---------- */
.wuno-hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
.wuno-hero__overlay {
    position: absolute;
    inset: 0;
    background: #000; /* opacity wird inline gesetzt */
    pointer-events: none;
}
@media (max-width: 767px) {
    .wuno-hero {
        min-height: 280px !important;
        aspect-ratio: 4 / 3 !important;
    }
}

/* ---------- Header CTA-Dropdown ---------- */
.wuno-header__cta-wrap {
    position: relative;
    flex-shrink: 0;
}
.wuno-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.wuno-header__cta-caret {
    transition: transform .2s ease;
}
.wuno-header__cta-wrap.has-dropdown:hover .wuno-header__cta-caret,
.wuno-header__cta-wrap:focus-within .wuno-header__cta-caret {
    transform: rotate(180deg);
}
.wuno-header__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: var(--wuno-bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    min-width: 240px;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    z-index: 200;
}
.wuno-header__cta-wrap.has-dropdown:hover .wuno-header__dropdown,
.wuno-header__cta-wrap:focus-within .wuno-header__dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity .2s ease, transform .2s ease;
}
.wuno-header__dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--wuno-text);
    text-decoration: none;
    font-family: var(--wuno-font-body);
    font-size: 14px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}
.wuno-header__dropdown a:hover,
.wuno-header__dropdown a:focus {
    background: var(--wuno-bg-alt);
    color: var(--wuno-primary);
}

/* ---------- Service-Portal Box (Layout-Hilfsklassen, Legacy) ---------- */
.wuno-portal-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.wuno-portal-apps__badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wuno-portal-apps__qrs {
    display: flex;
    gap: 8px;
}

/* ============================================================
 * Elementor-Anpassungen
 * ============================================================ */
/* (Original-Block bleibt unten erhalten) */

/* ---------- Elementor-Anpassungen ---------- */
/* Elementors Container-Default an unsere 1280px ausrichten.
 * WICHTIG: Elementor setzt im Site-Setting evtl. nur "fluide" oder eine andere
 * Boxed-Width und ueberschreibt unseren Backstop ohne !important.
 * Ohne diese Zeile lag .e-con-boxed bei full-viewport-width, waehrend der TB-Header
 * brav auf 1280px begrenzt blieb → 24px-Versatz zwischen Header-Logo und Content-Edges.
 */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed {
    max-width: var(--wuno-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Section-Padding wird per Container im Elementor-Editor gesetzt – kein
 * globales CSS-Enforcement (war v0.7.3, in v0.7.4 wieder entfernt:
 * 120/120 passt nicht universell, manche Sections brauchen weniger). */

/* Elementors Standard-Headings nicht doppelt uppercasen, wenn explizit
 * im Widget gesetzt – Mockup zeigt manche Headings gemischt. */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4 { text-transform: inherit; }

/* ============================================================
 * WUNO Page-Hero – Hero-Section fuer Sub-Pages mit Weiss-Gradient.
 * ============================================================
 * Bricht aus boxed Elementor-Container aus (full-bleed).
 * Inhalts-Container bleibt drinnen bei var(--wuno-container).
 *
 * Layout-Idee:
 *   - Bild deckt obere 50-60% vom Hero (gradient ueberblendet sanft auf weiss)
 *   - Inhalt (Breadcrumb + Title + Subline) sitzt im UNTEREN Drittel,
 *     komplett im weissen/halb-weissen Bereich → maximale Lesbarkeit
 *     unabhaengig vom Bildmotiv.
 */
.wuno-page-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end; /* Inhalt klebt am Boden */
    overflow: hidden;
    /* min-height + background-image kommen per Inline-Style aus dem Widget */
}
.wuno-page-hero__gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* height + linear-gradient kommen per Inline-Style */
    pointer-events: none;
    z-index: 1;
}
.wuno-page-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: 24px;
    padding-bottom: 28px;
    width: 100%;
}
.wuno-page-hero--align-center .wuno-page-hero__inner {
    text-align: center;
}

/* ---- Breadcrumb (klickbar) ---- */
.wuno-page-hero__breadcrumb {
    margin: 0 0 14px;
}
.wuno-page-hero__crumbs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    /* Weisslicher Pill-Background fuer Lesbarkeit ueber jedem Bild */
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.wuno-page-hero--align-center .wuno-page-hero__crumbs {
    /* zentriert dank inline-flex + parent text-align: center */
}
.wuno-page-hero__crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--wuno-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--wuno-text);
}
.wuno-page-hero__crumb a {
    color: var(--wuno-text);
    text-decoration: none;
    transition: color .2s ease;
}
.wuno-page-hero__crumb a:hover {
    color: var(--wuno-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wuno-page-hero__crumb.is-current span {
    color: var(--wuno-primary);
    font-weight: 700;
}
.wuno-page-hero__crumb-sep {
    color: var(--wuno-text-muted);
    opacity: 0.6;
    font-weight: 400;
}

.wuno-page-hero__eyebrow {
    display: block;
    font-family: var(--wuno-font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wuno-primary);
    margin-bottom: 6px;
}
.wuno-page-hero__title {
    font-family: var(--wuno-font-display);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    color: var(--wuno-primary);
    text-transform: uppercase;
    margin: 0 0 .15em 0;
    letter-spacing: 0.01em;
}
.wuno-page-hero__sub {
    font-family: var(--wuno-font-body);
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--wuno-text);
    margin: 0;
    max-width: 720px;
}
.wuno-page-hero--align-center .wuno-page-hero__sub {
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
    .wuno-page-hero__inner {
        padding-top: 16px;
        padding-bottom: 20px;
    }
    .wuno-page-hero__title {
        font-size: clamp(32px, 9vw, 44px);
    }
    .wuno-page-hero__crumb {
        font-size: 12px;
    }
    .wuno-page-hero__crumbs {
        padding: 5px 12px;
    }
}

/* ============================================================
 * WUNO Stats-Counter – graue Kachel-Reihe mit grossen Zahlen.
 * ============================================================ */
.wuno-stats {
    display: grid;
    gap: 16px;
    width: 100%;
}
.wuno-stats--cols-2 { grid-template-columns: repeat(2, 1fr); }
.wuno-stats--cols-3 { grid-template-columns: repeat(3, 1fr); }
.wuno-stats--cols-4 { grid-template-columns: repeat(4, 1fr); }

.wuno-stats__cell {
    background: var(--wuno-bg-alt);
    border-radius: 6px;
    padding: 36px 24px 28px;
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.wuno-stats__cell:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.wuno-stats__value {
    font-family: var(--wuno-font-display);
    font-weight: 700;
    color: var(--wuno-text);
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1;
    letter-spacing: 0.01em;
    /* Tabular nums: Zahlen springen beim Hochzaehlen nicht in der Breite */
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.wuno-stats__suffix {
    color: var(--wuno-primary);
    margin-left: 2px;
}
.wuno-stats__label {
    margin-top: 14px;
    font-family: var(--wuno-font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--wuno-text-muted);
}
@media (max-width: 767px) {
    .wuno-stats--cols-3,
    .wuno-stats--cols-4 {
        grid-template-columns: 1fr;
    }
    .wuno-stats__cell {
        padding: 28px 16px 22px;
    }
}

/* ============================================================
 * WUNO Content-Block – flexibler Text/Bild-Block.
 * ============================================================ */
.wuno-content-block {
    width: 100%;
}
.wuno-content-block__text {
    /* max-width kommt per Inline-Style */
}
.wuno-content-block--align-center .wuno-content-block__text {
    text-align: center;
}
.wuno-content-block__heading {
    font-family: var(--wuno-font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0 0 18px;
    line-height: 1.15;
}
.wuno-content-block__heading--primary {
    color: var(--wuno-primary);
}
.wuno-content-block__body p:last-child { margin-bottom: 0; }
.wuno-content-block__body {
    font-size: var(--wuno-fs-body);
    color: var(--wuno-text);
}

.wuno-content-block__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.wuno-content-block__row--reverse > .wuno-content-block__image {
    order: 0;
}
.wuno-content-block__row--reverse > .wuno-content-block__text {
    order: 1;
}

.wuno-content-block__image {
    margin: 0;
}
.wuno-content-block__image img {
    width: 100%;
    height: auto;
    display: block;
}
.wuno-content-block__caption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--wuno-text-muted);
    text-align: center;
}
.wuno-content-block__image-full {
    margin-top: 32px;
}
@media (max-width: 767px) {
    .wuno-content-block__row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .wuno-content-block__row--reverse > .wuno-content-block__image {
        order: 1;
    }
    .wuno-content-block__row--reverse > .wuno-content-block__text {
        order: 0;
    }
}

/* ============================================================
 * WUNO Timeline – vertikaler Zeitstrahl
 * ============================================================ */
.wuno-timeline {
    list-style: none;
    margin: 0;
    padding: 24px 0;
    position: relative;
    counter-reset: tl;
}
/* Vertikale Linie in der Mitte (Desktop) */
.wuno-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--wuno-primary);
    opacity: 0.35;
}
.wuno-timeline__item {
    position: relative;
    width: 50%;
    padding: 16px 56px;
    box-sizing: border-box;
}
.wuno-timeline__item--left {
    left: 0;
    text-align: right;
}
.wuno-timeline__item--right {
    left: 50%;
    text-align: left;
}
/* Punkt auf der Linie */
.wuno-timeline__dot {
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--wuno-primary);
    border: 3px solid var(--wuno-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--wuno-primary);
    z-index: 2;
}
.wuno-timeline__item--left .wuno-timeline__dot {
    right: -9px;
}
.wuno-timeline__item--right .wuno-timeline__dot {
    left: -9px;
}
.wuno-timeline__card {
    background: var(--wuno-bg);
    border: 1px solid var(--wuno-border-light);
    border-radius: 6px;
    padding: 22px 26px;
    transition: box-shadow .25s ease, transform .25s ease;
    /* flex column erlaubt per-Item align-self (z.B. CTA am Outer-Rand) */
    display: flex;
    flex-direction: column;
}
.wuno-timeline__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.wuno-timeline__year {
    font-family: var(--wuno-font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--wuno-primary);
    line-height: 1;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}
.wuno-timeline__heading {
    font-family: var(--wuno-font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
    color: var(--wuno-text);
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.wuno-timeline__media {
    /* !important: gegen Reset-Regel (figure { margin: 0 }) die das bisher gefressen hat */
    margin: 0 0 20px !important;
    border-radius: 4px;
    overflow: hidden;
}
.wuno-timeline__media img {
    width: 100%;
    height: auto;
    display: block;
}
.wuno-timeline__body {
    margin: 0;
    color: var(--wuno-text);
    font-size: 15px;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .wuno-timeline::before {
        left: 16px;
    }
    .wuno-timeline__item,
    .wuno-timeline__item--left,
    .wuno-timeline__item--right {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 12px 0 12px 44px;
    }
    .wuno-timeline__item--left .wuno-timeline__dot,
    .wuno-timeline__item--right .wuno-timeline__dot {
        left: 8px;
        right: auto;
    }
    .wuno-timeline__card {
        padding: 18px 20px;
    }
    .wuno-timeline__year {
        font-size: 24px;
    }
    .wuno-timeline__heading {
        font-size: 16px;
    }
}

/* ---------- Timeline Collapse/Expand + Mehr-Laden ---------- */
.wuno-timeline-wrap {
    position: relative;
}
.wuno-timeline.is-collapsed .wuno-timeline__item.is-hidden {
    display: none;
}
/* Fade-Gradient ueber den letzten sichtbaren Items wenn collapsed */
.wuno-timeline__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 56px;             /* knapp unter dem Mehr-Button-Spacing */
    height: 200px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to top,
        var(--wuno-bg) 0%,
        rgba(255, 255, 255, .92) 28%,
        rgba(255, 255, 255, 0)   100%
    );
    transition: opacity .35s ease;
}
.wuno-timeline-wrap.is-expanded .wuno-timeline__fade {
    opacity: 0;
    visibility: hidden;
}
.wuno-timeline__more {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    margin-top: -20px;       /* leicht in den Fade hineinragend */
    padding-bottom: 8px;
}
.wuno-timeline__more-btn {
    background: var(--wuno-primary);
    color: #ffffff;
    border: 0;
    padding: 14px 32px;
    border-radius: var(--wuno-btn-radius);
    font-family: var(--wuno-font-display);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background .2s ease, transform .2s ease, box-shadow .25s ease;
    box-shadow: 0 4px 14px rgba(40, 180, 229, .28);
}
.wuno-timeline__more-btn:hover,
.wuno-timeline__more-btn:focus-visible {
    background: var(--wuno-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(40, 180, 229, .35);
}
.wuno-timeline__more-btn svg {
    transition: transform .25s ease;
}
.wuno-timeline__more-btn.is-up svg {
    transform: rotate(180deg);
}

/* ---------- Timeline Text-Alignment-Modi (vom Widget gesteuert) ----------
 * Default = "inner": Inhalt am Innenrand der Card (Richtung Timeline-Achse).
 * .wuno-timeline--align-outer: Inhalt am Aussenrand (weg von der Achse).
 * .wuno-timeline--align-left:  Alles linksbuendig (klassisch).
 */
.wuno-timeline--align-outer .wuno-timeline__item--left  { text-align: left; }
.wuno-timeline--align-outer .wuno-timeline__item--right { text-align: right; }
.wuno-timeline--align-left  .wuno-timeline__item--left,
.wuno-timeline--align-left  .wuno-timeline__item--right { text-align: left; }

/* CTA-Position (per Card-Side, unabhaengig vom Text-Alignment).
 * Default: CTA folgt dem Text-Alignment.
 * .wuno-timeline--cta-outer: CTA immer am Aussenrand (empfohlen). */
.wuno-timeline--cta-outer .wuno-timeline__item--left  .wuno-timeline__cta { align-self: flex-start; }
.wuno-timeline--cta-outer .wuno-timeline__item--right .wuno-timeline__cta { align-self: flex-end; }
.wuno-timeline--cta-inner .wuno-timeline__item--left  .wuno-timeline__cta { align-self: flex-end; }
.wuno-timeline--cta-inner .wuno-timeline__item--right .wuno-timeline__cta { align-self: flex-start; }

@media (max-width: 767px) {
    /* Mobile: alle Cards links der Achse → einheitlich links. Alignment-Modi ignorieren. */
    .wuno-timeline .wuno-timeline__item--left,
    .wuno-timeline .wuno-timeline__item--right { text-align: left; }
    .wuno-timeline .wuno-timeline__cta { align-self: flex-start; }
}

/* ---------- Timeline Card-CTA ("Mehr erfahren" Link) ---------- */
.wuno-timeline__cta {
    background: transparent;
    border: 0;
    color: var(--wuno-primary);
    font-family: var(--wuno-font-display);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 0 0;
    margin-top: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease, gap .2s ease;
}
.wuno-timeline__cta:hover,
.wuno-timeline__cta:focus-visible {
    color: var(--wuno-primary-hover);
    gap: 10px;
    outline: none;
}
.wuno-timeline__cta svg {
    transition: transform .2s ease;
}

/* ---------- Timeline Lightbox (native <dialog>) ---------- */
.wuno-timeline__lightbox {
    border: 0;
    border-radius: 8px;
    padding: 0;
    max-width: 720px;
    width: 92vw;
    max-height: 88vh;
    background: var(--wuno-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    color: var(--wuno-text);
    overflow: hidden;
}
.wuno-timeline__lightbox::backdrop {
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
/* Fallback fuer Browser ohne <dialog>-Support */
.wuno-timeline__lightbox.is-fallback-open {
    display: block;
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 1000;
}
.wuno-timeline__lightbox-inner {
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
    text-align: left;
}
.wuno-timeline__lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, .96);
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wuno-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    transition: background .2s ease, color .2s ease, transform .25s ease;
}
.wuno-timeline__lightbox-close:hover,
.wuno-timeline__lightbox-close:focus-visible {
    background: var(--wuno-primary);
    color: #ffffff;
    transform: rotate(90deg);
    outline: none;
}
.wuno-timeline__lightbox-media {
    margin: 0;
}
.wuno-timeline__lightbox-media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.wuno-timeline__lightbox-content {
    padding: 28px 32px 32px;
}
.wuno-timeline__lightbox-year {
    font-family: var(--wuno-font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--wuno-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.wuno-timeline__lightbox-heading {
    font-family: var(--wuno-font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--wuno-text);
    line-height: 1.2;
}
.wuno-timeline__lightbox-body p {
    line-height: 1.6;
    margin: 0 0 12px;
    color: var(--wuno-text);
    font-size: 15px;
}
.wuno-timeline__lightbox-body p:last-child { margin-bottom: 0; }
.wuno-timeline__lightbox-body strong { color: var(--wuno-text); font-weight: 700; }
.wuno-timeline__lightbox-body a {
    color: var(--wuno-primary);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .wuno-timeline__lightbox-content {
        padding: 22px 22px 26px;
    }
    .wuno-timeline__lightbox-year { font-size: 26px; }
    .wuno-timeline__lightbox-heading { font-size: 18px; }
    .wuno-timeline__fade {
        height: 160px;
    }
}

/* ============================================================
 * WUNO FAQ-Accordion (native <details>)
 * ============================================================ */
.wuno-faq__item {
    border-top: 1px solid var(--wuno-border-light);
    padding: 6px 0;
}
.wuno-faq__item:last-child {
    border-bottom: 1px solid var(--wuno-border-light);
}
.wuno-faq__question {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-family: var(--wuno-font-display);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--wuno-text);
    transition: color .2s ease;
}
.wuno-faq__question::-webkit-details-marker { display: none; }
.wuno-faq__question:hover { color: var(--wuno-primary); }
.wuno-faq__icon {
    color: var(--wuno-primary);
    flex-shrink: 0;
    transition: transform .25s ease;
}
.wuno-faq__item[open] > .wuno-faq__question .wuno-faq__icon {
    transform: rotate(180deg);
}
.wuno-faq__item[open] > .wuno-faq__question {
    color: var(--wuno-primary);
}
.wuno-faq__answer {
    padding: 0 0 18px;
    color: var(--wuno-text);
    font-size: 16px;
    line-height: 1.65;
}
.wuno-faq__answer p:first-child { margin-top: 0; }
.wuno-faq__answer p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .wuno-faq__question {
        font-size: 16px;
        padding: 14px 0;
    }
}

/* ---------- WPForms Branding (cyan-Buttons, Open Sans, Brand-Farben) ----------
 * Greift auf alle Forms (Selector .wpforms-container) und zusaetzlich
 * auf unsere Kontaktform via .wuno-wpform Custom-Class.
 */
.wpforms-container {
    --wpforms-button-background-color: var(--wuno-primary);
    --wpforms-button-background-color-alt: var(--wuno-primary-hover);
    --wpforms-button-text-color: #ffffff;
    --wpforms-field-background-color: #ffffff;
    --wpforms-field-border-color: var(--wuno-border-light);
    --wpforms-field-border-color-active: var(--wuno-primary);
    --wpforms-field-text-color: var(--wuno-text);
    --wpforms-label-color: var(--wuno-text);
    --wpforms-label-sublabel-color: var(--wuno-text-muted);
    --wpforms-page-break-color: var(--wuno-primary);

    font-family: var(--wuno-font-body) !important;
    max-width: 720px;
    margin: 0 auto;
}
.wpforms-container * { box-sizing: border-box; }

/* Form-Title (wenn aktiviert) */
.wpforms-container .wpforms-title {
    font-family: var(--wuno-font-display) !important;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--wuno-text);
    margin: 0 0 6px;
}
.wpforms-container .wpforms-description {
    color: var(--wuno-text-muted);
    margin: 0 0 24px;
}

/* Field-Wrapper Spacing */
.wpforms-container .wpforms-field {
    padding: 12px 0 !important;
}
/* Labels */
.wpforms-container .wpforms-field-label {
    font-family: var(--wuno-font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--wuno-text) !important;
    margin: 0 0 6px !important;
    display: block !important;
}
.wpforms-container .wpforms-required-label {
    color: var(--wuno-secondary) !important;
}
.wpforms-container .wpforms-field-sublabel {
    color: var(--wuno-text-muted) !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    display: block !important;
}

/* Inputs + Textarea */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container select,
.wpforms-container textarea {
    width: 100% !important;
    border: 1px solid var(--wuno-border-light) !important;
    border-radius: var(--wuno-btn-radius) !important;
    background: var(--wuno-bg) !important;
    color: var(--wuno-text) !important;
    font-family: var(--wuno-font-body) !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-shadow: none !important;
}
.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container input[type="tel"]:focus,
.wpforms-container input[type="url"]:focus,
.wpforms-container input[type="number"]:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    border-color: var(--wuno-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(40, 180, 229, .15) !important;
}
.wpforms-container textarea {
    min-height: 140px !important;
    resize: vertical;
}

/* Submit Button → wuno-btn-Style */
.wpforms-container .wpforms-submit-container { margin-top: 8px !important; }
.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit {
    background: var(--wuno-primary) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: var(--wuno-btn-radius) !important;
    padding: 14px 32px !important;
    font-family: var(--wuno-font-display) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    min-width: 200px;
    transition: background .2s ease, transform .2s ease !important;
    box-shadow: none !important;
}
.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover,
.wpforms-container button[type="submit"]:focus-visible,
.wpforms-container .wpforms-submit:focus-visible {
    background: var(--wuno-primary-hover) !important;
    transform: translateY(-1px);
}
.wpforms-container button[type="submit"]:disabled,
.wpforms-container .wpforms-submit:disabled {
    opacity: .6;
    cursor: progress;
    transform: none;
}

/* Validation-Errors */
.wpforms-container .wpforms-error,
.wpforms-container label.wpforms-error {
    color: var(--wuno-secondary) !important;
    font-size: 12px !important;
    margin-top: 4px !important;
}
.wpforms-container input.wpforms-error,
.wpforms-container select.wpforms-error,
.wpforms-container textarea.wpforms-error {
    border-color: var(--wuno-secondary) !important;
    box-shadow: 0 0 0 3px rgba(213, 77, 19, .12) !important;
}

/* Bestaetigungs-Message nach Submit */
.wpforms-confirmation-container,
.wpforms-confirmation-container-full {
    background: rgba(40, 180, 229, .10) !important;
    border: 1px solid var(--wuno-primary) !important;
    border-radius: var(--wuno-btn-radius) !important;
    color: var(--wuno-text) !important;
    padding: 20px 24px !important;
    font-size: 15px !important;
    line-height: 1.5;
}
.wpforms-confirmation-container p:last-child { margin-bottom: 0; }

/* Mobile: Submit-Button full-width */
@media (max-width: 600px) {
    .wpforms-container button[type="submit"],
    .wpforms-container .wpforms-submit {
        width: 100% !important;
        min-width: 0;
    }
}

/* ---------- WUNO Map (datenschutzkonform via Click-to-Activate) ---------- */
.wuno-map {
    position: relative;
    width: 100%;
    height: var(--wuno-map-h, 420px);
    border-radius: 4px;
    overflow: hidden;
    background: var(--wuno-bg-alt);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}
.wuno-map__curtain {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .35s ease, visibility 0s linear .35s;
}
.wuno-map__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.wuno-map__curtain-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 32px 40px;
    border-radius: 4px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
.wuno-map__curtain-title {
    font-family: var(--wuno-font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wuno-text);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.wuno-map__curtain-subtitle {
    font-size: 15px;
    color: var(--wuno-text-muted);
    margin: 0 0 20px;
    line-height: 1.5;
}
.wuno-map__activate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    border: 0;
    padding: 12px 24px;
    border-radius: var(--wuno-btn-radius);
    font-family: var(--wuno-font-display);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.wuno-map__activate:hover,
.wuno-map__activate:focus-visible {
    background: var(--wuno-primary-hover);
    transform: translateY(-1px);
}
.wuno-map.is-loading .wuno-map__activate {
    opacity: .6;
    cursor: progress;
    transform: none;
}
.wuno-map.is-loading .wuno-map__activate svg {
    animation: wuno-map-spin .9s linear infinite;
}
@keyframes wuno-map-spin {
    to { transform: rotate(360deg); }
}
.wuno-map__privacy {
    font-size: 12px;
    color: var(--wuno-text-muted);
    margin: 16px 0 0;
    line-height: 1.5;
}
.wuno-map__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Leaflet rendert hier rein, sobald aktiviert */
}
.wuno-map.is-active .wuno-map__curtain {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.wuno-map__address {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, .96);
    padding: 12px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    font-size: 13px;
    line-height: 1.5;
    color: var(--wuno-text);
    max-width: 280px;
    /* Bevor die Karte aktiv ist, blenden wir die Adress-Box aus
     * (sie wuerde sonst den Curtain ueberlappen). */
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease .15s, visibility 0s linear .5s;
}
.wuno-map.is-active .wuno-map__address {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease .15s;
}
.wuno-map__addr-text {
    font-style: normal;
    margin: 0 0 6px;
    font-weight: 600;
}
.wuno-map__addr-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wuno-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wuno-map__addr-link:hover { text-decoration: underline; }

/* Leaflet-Overrides damit es zur Brand passt */
.wuno-map .leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, .85);
}
.wuno-map .leaflet-control-zoom a {
    color: var(--wuno-text);
}
.wuno-map .leaflet-control-zoom a:hover {
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
}

@media (max-width: 767px) {
    .wuno-map {
        height: max(320px, calc(var(--wuno-map-h, 420px) * 0.8));
    }
    .wuno-map__curtain-content {
        padding: 24px 20px;
        max-width: calc(100% - 32px);
    }
    .wuno-map__curtain-title { font-size: 20px; }
    .wuno-map__address {
        max-width: calc(100% - 24px);
        font-size: 12px;
    }
}

/* ============================================================
 * WUNO Side-Rail – schwebende Icon-Leiste rechts + Slide-in-Panels
 * ============================================================ */

/* ---- Rail (geschlossener Zustand) ---- */
.wuno-side-rail {
    --wuno-side-panel-w: 420px;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 270; /* ueber Header (200) + Panel (260), aktiver Button bleibt am Panel-Rand */
    display: block;
    transition: right .4s cubic-bezier(.2, .8, .2, 1);
}
/* Wenn ein Panel offen ist, schiebt sich die Rail an dessen linken Rand
 * – wie im Referenz-Design (Buttons als "Tabs" am Panel). */
body.wuno-side-panel-open .wuno-side-rail {
    right: var(--wuno-side-panel-w);
}
@media (max-width: 767px) {
    /* Auf Mobile ist das Panel full-width → Rail kann nicht daneben stehen.
     * Wir lassen sie unter dem Panel verschwinden. */
    body.wuno-side-panel-open .wuno-side-rail {
        right: 0;
        opacity: 0;
        pointer-events: none;
    }
}
.wuno-side-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wuno-side-rail__item { margin: 0; }

/* Button = nur das 56x56-Quadrat mit zentriertem Icon.
 * Label sitzt ABSOLUTE LINKS NEBEN dem Button (kein Flex-Push aufs Icon → fixt
 * den Versatz bei <button> vs. <a>). Keine Schatten, nur links abgerundet.
 * !important nur wo noetig, weil eine globale WP/Elementor button{}-Regel mit
 * hoeherer Spezifitaet (padding 14px 28px, min-width etc.) sonst zuschlaegt. */
.wuno-side-rail__btn {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center; /* Icon mittig, egal ob <button> oder <a> */
    width: 56px !important;
    height: 56px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    border: 0 !important;
    border-radius: 6px 0 0 6px; /* nur LINKE Ecken rund */
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-radius .2s ease;
    box-shadow: none !important;
}
.wuno-side-rail__btn:hover,
.wuno-side-rail__btn:focus-visible {
    background: var(--wuno-primary-hover);
    color: var(--wuno-text-light);
    /* Linke Ecken flach, damit Button + Label nahtlos zu einer Pille
     * verschmelzen (das Label uebernimmt die linken Rundungen). */
    border-radius: 0;
}
.wuno-side-rail__btn:focus-visible {
    outline: 2px solid var(--wuno-secondary);
    outline-offset: -2px;
}
/* Active = Panel offen. Rail ist nach links an den Panel-Rand geschoben,
 * der Button verschmilzt mit dem Panel zur Tab-Optik — kein extra Indikator. */
.wuno-side-rail__btn.is-active {
    background: var(--wuno-primary);
}
/* Aktiver Button beim Hover: KEINE Border-Radius-Aenderung, KEIN Label.
 * (Sonst wuerde das Label sinnlos in den gedimmten Page-Bereich fliegen.) */
.wuno-side-rail__btn.is-active:hover,
.wuno-side-rail__btn.is-active:focus-visible {
    border-radius: 6px 0 0 6px;
    background: var(--wuno-primary);
}
.wuno-side-rail__btn.is-active .wuno-side-rail__label {
    display: none;
}

.wuno-side-rail__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wuno-side-rail__icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Label sitzt ABSOLUTE direkt an der Button-Linkskante.
 * right: calc(100% - 6px) -> ueberlappt die 6px Button-Linksrundung KOMPLETT.
 * Damit keine Luecke und kein Diamant-Spalt waehrend der Hover-Transition
 * sichtbar wird — das Label deckt die rundende Buttonkante visuell ab. */
.wuno-side-rail__label {
    position: absolute;
    right: calc(100% - 6px);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: var(--wuno-primary-hover);
    color: #fff;
    font-family: var(--wuno-font-display, inherit);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 6px 0 0 6px; /* einzige sichtbare Rundung der Pille */
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .25s ease;
    pointer-events: none;
}
.wuno-side-rail__btn:hover .wuno-side-rail__label,
.wuno-side-rail__btn:focus-visible .wuno-side-rail__label {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .08s;
}

/* Adaptiv: wenn die Rail ueber einer primary-farbenen Sektion liegt (JS-Detector
 * setzt .is-on-primary), invertieren wir die Pille zu weiss-mit-cyan-Icon.
 * Saubere Loesung, kein Outline, kein Schatten, hoher Kontrast. Nur im
 * geschlossenen Zustand — wenn Panel offen ist die Verschmelzung mit dem Panel gewollt. */
body:not(.wuno-side-panel-open) .wuno-side-rail.is-on-primary .wuno-side-rail__btn {
    background: #fff;
    color: var(--wuno-primary);
}
body:not(.wuno-side-panel-open) .wuno-side-rail.is-on-primary .wuno-side-rail__btn:hover,
body:not(.wuno-side-panel-open) .wuno-side-rail.is-on-primary .wuno-side-rail__btn:focus-visible {
    background: #f5fbfd; /* dezenter Hover, immer noch eindeutig hell */
}
body:not(.wuno-side-panel-open) .wuno-side-rail.is-on-primary .wuno-side-rail__icon svg {
    color: var(--wuno-primary);
}
body:not(.wuno-side-panel-open) .wuno-side-rail.is-on-primary .wuno-side-rail__label {
    background: #fff;
    color: var(--wuno-primary);
}

/* ---- Backdrop (dimmt Inhalt wenn Panel offen) ---- */
.wuno-side-panel__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 40, .35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 250; /* ueber Header (200), unter Panel (260) */
}
.wuno-side-panel__backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* ---- Slide-in-Panel (rechts, von rechts einfahrend) ---- */
.wuno-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100vh;
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    z-index: 260; /* ueber Header (200) + Backdrop (250) */
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
    /* KEIN box-shadow: wuerde auch im geschlossenen Zustand vom Viewport-Rand
     * nach links abstrahlen und wie ein Gradient-Streifen aussehen. */
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.wuno-side-panel.is-open {
    transform: translateX(0);
}
/* Globale WP/Elementor-Button-Regel (padding 14px 28px, min-width usw.) hat hoehere
 * Spezifitaet als unsere Klasse → ohne !important kollabiert max-width:100%-SVG auf 0. */
.wuno-side-panel__close {
    position: absolute !important;
    top: 16px;
    right: 16px;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    color: #fff;
    border: 0 !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 2;
    padding: 0 !important;
    margin: 0 !important;
    opacity: .9;
    box-shadow: none !important;
}
.wuno-side-panel__close:hover,
.wuno-side-panel__close:focus-visible {
    opacity: 1;
    transform: scale(1.08);
}
.wuno-side-panel__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.wuno-side-panel__close svg {
    width: 30px !important;
    height: 30px !important;
    max-width: none !important;
    flex-shrink: 0;
}

.wuno-side-panel__inner {
    padding: 88px 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.wuno-side-panel__title {
    font-family: var(--wuno-font-display, inherit);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
    color: #fff;
}
.wuno-side-panel__intro {
    margin: -16px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}

/* ---- Rows (Telefon, Mail, Anschrift, Oeffnungszeiten) ---- */
.wuno-side-panel__row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
}
.wuno-side-panel__row--link {
    transition: opacity .2s ease;
}
.wuno-side-panel__row--link:hover {
    color: #fff;
    opacity: .85;
}
.wuno-side-panel__row-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 2px;
}
.wuno-side-panel__row-icon svg {
    width: 22px;
    height: 22px;
}
.wuno-side-panel__row-text {
    flex: 1;
    font-size: 16px;
    color: #fff;
}
.wuno-side-panel__row-text p {
    margin: 0;
    color: #fff;
}
.wuno-side-panel__row-title {
    display: block;
    font-family: var(--wuno-font-display, inherit);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    color: #fff;
}
.wuno-side-panel__hours p + p {
    margin-top: 12px;
}

/* ---- CTA-Button (dunkles Navy / Sekundaer) ---- */
.wuno-side-panel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 14px 22px;
    background: #2d3a55;
    color: #fff;
    font-family: var(--wuno-font-display, inherit);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: none;
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s ease, transform .15s ease;
}
.wuno-side-panel__cta:hover {
    background: #1f2a40;
    color: #fff;
    transform: translateY(-1px);
}

/* ---- Social ---- */
.wuno-side-panel__social {
    margin-top: 4px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wuno-side-panel__social-label {
    font-family: var(--wuno-font-display, inherit);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}
.wuno-side-panel__social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}
.wuno-side-panel__social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    transition: background .2s ease, transform .15s ease;
}
.wuno-side-panel__social-list a:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-1px);
    color: #fff;
}
.wuno-side-panel__social-list svg {
    width: 20px;
    height: 20px;
}

/* ---- Downloads-Liste ---- */
.wuno-side-panel__downloads {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wuno-side-panel__download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s ease, transform .15s ease;
}
.wuno-side-panel__download:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    transform: translateX(-2px);
}
.wuno-side-panel__download-icon,
.wuno-side-panel__download-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wuno-side-panel__download-icon svg {
    width: 26px;
    height: 26px;
}
.wuno-side-panel__download-arrow svg {
    width: 18px;
    height: 18px;
    opacity: .8;
}
.wuno-side-panel__download-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}
.wuno-side-panel__download-text strong {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}
.wuno-side-panel__download-text small {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: 0.02em;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .wuno-side-rail__btn {
        width: 48px !important;
        height: 48px !important;
    }
    .wuno-side-rail__icon svg {
        width: 22px;
        height: 22px;
    }
    /* Auf Mobile kein Fly-Out-Label (zu wenig Platz neben Rail). */
    .wuno-side-rail__label {
        display: none;
    }
    .wuno-side-panel {
        width: 100vw;
        max-width: 100vw;
    }
    .wuno-side-panel__inner {
        padding: 72px 24px 32px;
        gap: 22px;
    }
    .wuno-side-panel__title {
        font-size: 24px;
    }
}

/* ============================================================
 * WUNO Button-Widget – Wrapper + Icon-Slot
 * (Buttonfarben/Hover liegen schon weiter oben in den .wuno-btn-Regeln)
 * ============================================================ */
.wuno-button-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.wuno-btn--has-icon {
    gap: 10px;
}
.wuno-btn__icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.wuno-btn__icon svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
 * WUNO Property-Grid (Stadtteil-/Standort-Kacheln mit Filter-Bar)
 * ============================================================ */
.wuno-property-grid {
    width: 100%;
}

/* Filter-Bar */
.wuno-property-grid__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    align-items: center;
}
@media (max-width: 600px) {
    /* Horizontal-Scroll auf Mobile damit die Filter-Buttons nicht umbrechen */
    .wuno-property-grid__filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        padding-bottom: 8px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        -webkit-overflow-scrolling: touch;
    }
}
.wuno-property-grid__filter-btn {
    background: transparent;
    color: var(--wuno-text);
    border: 1px solid var(--wuno-border-light);
    padding: 10px 18px;
    font-family: var(--wuno-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.wuno-property-grid__filter-btn:hover {
    border-color: var(--wuno-primary);
    color: var(--wuno-primary);
}
.wuno-property-grid__filter-btn.is-active {
    background: var(--wuno-primary);
    color: var(--wuno-text-light);
    border-color: var(--wuno-primary);
}

/* Grid */
.wuno-property-grid__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .wuno-property-grid__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .wuno-property-grid__grid { grid-template-columns: 1fr; }
}

/* Cards */
.wuno-property-card {
    display: flex;
    flex-direction: column;
    background: var(--wuno-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, opacity .35s ease, max-height .4s ease, margin .35s ease;
}
.wuno-property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.wuno-property-card.is-hidden {
    /* Sanftes Ein-/Ausblenden bei Filter-Wechsel */
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    transform: scale(.97);
}

.wuno-property-card__media-link {
    display: block;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}
.wuno-property-card__media {
    height: 200px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--wuno-bg-alt);
    transition: transform .35s ease;
}
.wuno-property-card:hover .wuno-property-card__media {
    transform: scale(1.04);
}

.wuno-property-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.wuno-property-card__name {
    font-family: var(--wuno-font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
.wuno-property-card__name a {
    color: var(--wuno-text);
    text-decoration: none;
    transition: color .2s ease;
}
.wuno-property-card__name a:hover {
    color: var(--wuno-primary);
}
.wuno-property-card__subtitle {
    color: var(--wuno-text-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.wuno-property-card__cta {
    margin-top: auto;
    align-self: flex-start;
    margin-top: 12px;
}

/* :target / .wuno-anchor-highlight – sanfter Pulse-Border wenn von Map/Grid angesprungen.
 * Nutzt sowohl :target (für direkte URL-Hashes) als auch die JS-Klasse (für smooth-Scroll).
 * scroll-margin-top: 100px gibt dem Sticky-Header Atemraum. */
[id]:target,
.wuno-anchor-highlight {
    scroll-margin-top: 100px;
}
.wuno-anchor-highlight {
    animation: wuno-anchor-pulse 2.5s ease;
}
@keyframes wuno-anchor-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(40, 180, 229, 0.5),  0 0 0 0   rgba(40, 180, 229, 0.3); }
    25%  { box-shadow: 0 0 0 10px rgba(40, 180, 229, 0.25), 0 0 0 20px rgba(40, 180, 229, 0.1); }
    100% { box-shadow: 0 0 0 0   rgba(40, 180, 229, 0),    0 0 0 0   rgba(40, 180, 229, 0); }
}

/* Marker-Popup Style (Leaflet generiert den Container, wir stylen den Inhalt) */
.wuno-map__popup {
    font-family: var(--wuno-font-body);
    color: var(--wuno-text);
    font-size: 14px;
    min-width: 180px;
}
.wuno-map__popup strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--wuno-font-display);
    font-size: 16px;
    color: var(--wuno-primary);
}
.wuno-map__popup-addr {
    color: var(--wuno-text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}
.wuno-map__popup-jump {
    background: var(--wuno-primary);
    color: #fff;
    border: 0;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--wuno-font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background .2s ease;
}
.wuno-map__popup-jump:hover {
    background: var(--wuno-primary-hover);
}
