/* Datei: www/assets/css/app.css */

/* ---- Style Block 1 ---- */
:root {
            --ev-primary: #0033a0;
            --ev-secondary: #005ec7; /* #ffb81c */
            --ev-dark: #020617;
            --ev-light: #f9fafb;

            /* Sanfter Blau→Blau Verlauf (wenig Kontrast, 3 Stops für weicheren Übergang) */
            --ev-gradient: linear-gradient(135deg, #0a4fb3 0%, #0b5ed7 55%, #1d7df2 100%);

        }


        

/* Globale Typografie: Schrift minimal größer (Basis-REM von 16px -> ~17px) */
html {
    font-size: 106.25%;
}
body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background-color: #ffffff;
            color: #111827;
        }

        .topbar {
            font-size: 0.85rem;
            background: #020617;
            color: #e5e7eb;
        }

        .topbar a {
            color: #e5e7eb;
            text-decoration: none;
        }

        .topbar a:hover {
            text-decoration: underline;
        }

        .back-to-top {
            --bs-btn-padding-x: 1.3rem;
            --bs-btn-padding-y: 1rem;
        }

        .navbar {
            backdrop-filter: blur(16px);
            background: rgba(15, 23, 42, 0.96);
        }

        .navbar .nav-link {
            color: #e5e7eb;
            font-weight: 500;
            position: relative;
            transition: color 0.18s ease, opacity 0.18s ease;
        }

        .navbar .nav-link::after {
            content: "";
            position: absolute;
            left: 0.5rem;
            right: 0.5rem;
            bottom: 0.25rem;
            height: 2px;
            border-radius: 999px;
            background: rgba(255,255,255,0.75);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.18s ease;
            opacity: 0.9;
        }

        .navbar .nav-link:hover::after,
        .navbar .nav-link.active::after {
            transform: scaleX(1);
        }

        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: #ffffff;
        }

        .btn {
            position: relative;
            overflow: hidden;
            transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
            will-change: transform;
        }

        .btn i {
            transition: transform 0.18s ease;
            will-change: transform;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(2, 6, 23, 0.18);
        }

        .btn:hover i {
            transform: translateX(2px);
        }

        .btn:active {
            transform: translateY(0) scale(0.98);
            box-shadow: 0 10px 22px rgba(2, 6, 23, 0.16);
        }

        .btn::after {
            content: "";
            position: absolute;
            top: -120%;
            left: -40%;
            width: 55%;
            height: 320%;
            transform: rotate(18deg);
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
            opacity: 0;
            pointer-events: none;
        }

        .btn:hover::after {
            opacity: 1;
            animation: ev-btn-shine 0.75s ease;
        }

        @keyframes ev-btn-shine {
            0%   { transform: translateX(-20%) rotate(18deg); opacity: 0; }
            10%  { opacity: 0.7; }
            100% { transform: translateX(240%) rotate(18deg); opacity: 0; }
        }

        .btn-primary {
            background: var(--ev-gradient);
            border: none;
            background-size: 200% 200%;
            animation: ev-gradient-move 7s ease-in-out infinite;
        }

        .btn-primary:hover {
            filter: brightness(1.06);
        }

        .btn-outline-light:hover {
            background-color: rgba(255, 255, 255, 1);
        }

        /* Hero/Header – Video (hell, ohne Filter) + 3 große Fokus-Buttons */
.hero {
    min-height: 92vh;
    position: relative;
    overflow: hidden;
    background: #0b1220; /* Fallback falls Video nicht lädt */
    color: #ffffff;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* keine Filter! */
}

/* Minimaler Kontrast-Overlay (sehr dezent, damit Video hell bleibt) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.12);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-center {
    max-width: 980px;
    padding: 0 12px;
}

/* HERO: Überschrift + Subline + Kacheln wirklich vertikal zentrieren */
#hero.hero-focus .hero-center{
    justify-content: center; /* funktioniert, weil im HTML d-flex flex-column gesetzt ist */
}

/* Abstand zwischen Subline und Kacheln kleiner -> Block wirkt mittiger */
#hero.hero-focus .hero-sub{
    margin-bottom: 2.2rem; /* vorher 4rem */
}

.hero-h1 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    max-width: 860px;
    margin: 0 auto;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    margin-bottom: 4rem;
}

/* Buttons: groß & zentriert */
.focus-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.focus-btn {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    min-height: 160px;

    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-size: 1.05rem;
    font-weight: 700;

    backdrop-filter: blur(10px);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
    will-change: transform;
}

.focus-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.focus-btn.is-active {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-h1 {
        font-size: 1.9rem;
    }
    .hero-sub {
        font-size: 1.02rem;
    }
    .focus-btn {
        width: min(520px, 100%);
        justify-content: center;
    }
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce) {
    .focus-btn {
        transition: none !important;
    }
    .focus-btn:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}



        .section-padding {
            padding: 4.5rem 0;
        }

        .headline {
            font-size: 2.1rem;
            font-weight: 700;
        }

        @media (max-width: 767.98px) {
            .headline {
                font-size: 1.6rem;
            }
            .hero {
                text-align: center;
            }
        }

        .section-title {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--ev-primary);
            font-weight: 700;
        }

        .card-service {
            border-radius: 20px;
            border: 1px solid #e5e7eb;
            background: #ffffff;
            transition: all 0.18s ease;
            height: 100%;
        }

        .card-service:hover {
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
            transform: translateY(-4px);
        }

        .card-service-icon {
            width: 3rem;
            height: 3rem;

            /* Fix: in Flex-Layouts nicht zusammendrücken -> bleibt quadratisch */
            min-width: 3rem;
            min-height: 3rem;
            flex: 0 0 3rem;
            aspect-ratio: 1 / 1;
            box-sizing: border-box;

            border-radius: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 51, 160, 0.06);
            color: var(--ev-primary);
            font-size: 1.6rem;
            line-height: 1;
        }


        /* Retail-Bilder: spürbarer Zoom beim Hover */
        .retail-photo {
            border-radius: 16px;
            object-fit: cover;
            display: block;
            position: relative;      /* nötig für z-index beim Hover */
            z-index: 0;
            cursor: pointer;

            transform-origin: center;
            transform: translateZ(0);
            transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
            will-change: transform;
        }

/* Hover muss stärker sein als .motion-item.motion-in (transform: none) */
.retail-photo:hover,
img.retail-photo.motion-item.motion-in:hover {
    z-index: 2; /* damit das Bild beim Zoomen sauber über Nachbarn liegt */
    transform: scale(1.06) !important;
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.18);
    filter: saturate(1.06) contrast(1.02);
}


        /* Items unter den Bildern (Cremesso / SodaStream / Großgeräte): Hover-Zoom */
        #retail .retail-category-card {
            transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
            will-change: transform;
        }

        #retail .retail-category-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
            filter: saturate(1.03);
        }

        /* Optional: Icon im Hover minimal mitziehen (dezent) */
        #retail .retail-category-card .rounded-circle i {
            transition: transform 0.18s ease;
            will-change: transform;
        }

        #retail .retail-category-card:hover .rounded-circle i {
            transform: scale(1.08);
        }


        .retail-tag {
            border-radius: 999px;
            background-color: rgba(0, 51, 160, 0.06);
            color: var(--ev-primary);
            font-size: 0.8rem;
            padding: 0.3rem 0.9rem;
        }

        .project-card {
            border-radius: 20px;
            overflow: hidden;
            border: none;
            background-color: #0f172a;
            color: #e5e7eb;
            transition: transform 0.18s ease, box-shadow 0.18s ease;
            will-change: transform;
        }

        .project-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 22px 52px rgba(2, 6, 23, 0.22);
        }

        .project-card-img {
            position: relative;
            overflow: hidden;
            min-height: 230px;

            /* bleibt für inherit wichtig, falls du background-image inline setzt */
            background-size: cover;
            background-position: center;
        }

        /* Hintergrund-Layer, der gezoomt wird */
        .project-card-img::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;

            background-image: inherit;
            background-size: cover;
            background-position: center;

            transform: scale(1);
            transition: transform 0.35s ease;
            will-change: transform;

            pointer-events: none;
        }

        /* Wasserzeichen-Layer (bleibt ohne Zoom) */
        .project-card-img::after {
            content: "© Sixpol Electronics";
            position: absolute;
            right: 10px;
            bottom: 10px;
            z-index: 2;

            padding: 0.18rem 0.42rem;
            border-radius: 8px;

            background: rgba(2, 6, 23, 0.22);
            color: rgba(229, 231, 235, 0.68);
            font-size: 0.66rem;
            line-height: 1;
            letter-spacing: 0.01em;

            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);

            pointer-events: none;
            user-select: none;
            text-shadow: 0 1px 1px rgba(2, 6, 23, 0.30);
        }

        /* Zoom nur auf ::before */
        .project-card:hover .project-card-img::before {
            transform: scale(1.03);
        }


        .project-card-img::after {
            content: "© Sixpol Electronics";
            position: absolute;
            right: 10px;
            bottom: 10px;
            z-index: 2;

            padding: 0.18rem 0.42rem;
            border-radius: 8px;

            background: rgba(2, 6, 23, 0.28);
            color: rgba(229, 231, 235, 0.72);
            font-size: 0.68rem;
            line-height: 1;
            letter-spacing: 0.01em;

            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);

            pointer-events: none;
            user-select: none;
            text-shadow: 0 1px 1px rgba(2, 6, 23, 0.35);
        }


        .project-card-body {
            background: radial-gradient(circle at top left, rgba(255, 184, 28, 0.25), transparent 55%);
        }

.career-section {
    position: relative;
    overflow: hidden;
    color: #e5e7eb;

    /* Fallback falls Bild nicht lädt */
    background: linear-gradient(135deg, #020617, #111827);

    /* Zentral anpassbar */
    --career-bg-image: url("../../media/20251212_161238.jpg");
    --career-bg-blur: 0px;
    --career-bg-opacity: 1.0;
}

/* Hintergrundbild (nur Bild wird geblurt) */
.career-section::before {
    content: "";
    position: absolute;

    /* größer als Section, damit Blur-Rand nicht sichtbar abschneidet */
    inset: -40px;

    background-image: var(--career-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.08);
    filter: blur(var(--career-bg-blur)) saturate(1.05);
    opacity: var(--career-bg-opacity);

    z-index: 0;
}

/* Abdunkel-Overlay + dezente Vignette/Glanz */
.career-section::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(1200px 520px at 18% 22%, rgba(255,255,255,0.06), transparent 60%),
        linear-gradient(135deg, rgba(2, 6, 23, 0.92), rgba(17, 24, 39, 0.92));

    z-index: 1;
}

/* Inhalt über Overlay legen */
.career-section > .container {
    position: relative;
    z-index: 2;
}

        /* Karriere – Pills + Card-Hover (leichtes Aufzoomen) */
        .career-pill {
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.75);
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
            will-change: transform;
        }

        .career-pill:hover {
            transform: translateY(-2px);
            background-color: rgba(255,255,255,0.06);
            box-shadow: 0 18px 40px rgba(2, 6, 23, 0.25);
        }

        /* Cards im Karriere-Abschnitt: Hover = leichtes Zoom + Lift */
        .career-section .card {
            transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
            will-change: transform;
            transform-origin: center;
            transform: translateZ(0);
        }

        .career-section .card:hover,
        .career-section .card:focus-within {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
            filter: saturate(1.03);
        }

        .career-section .card:active {
            transform: translateY(-2px) scale(1.01);
        }

        /* Motion-Respect (nur Karriere-Cards) */
        @media (prefers-reduced-motion: reduce) {
            .career-section .card {
                transition: none !important;
            }
            .career-section .card:hover,
            .career-section .card:focus-within,
            .career-section .card:active {
                transform: none !important;
                box-shadow: none !important;
                filter: none !important;
            }
        }


        .footer-main {
            background-color: #020617;
            color: #9ca3af;
        }

        .footer-bottom {
            background-color: #020617;
            border-top: 1px solid rgba(148,163,184,0.4);
        }

        .footer-main a {
            color: #e5e7eb;
            text-decoration: none;
        }

        .footer-main a:hover {
            text-decoration: underline;
        }

        .footer-main ul a {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            transition: transform 0.18s ease, opacity 0.18s ease;
        }

        .footer-main ul a:hover {
            transform: translateX(2px);
            opacity: 0.95;
        }

        .footer-main a.d-inline-flex.align-items-center.justify-content-center.rounded-circle {
            transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
            will-change: transform;
        }

        .footer-main a.d-inline-flex.align-items-center.justify-content-center.rounded-circle i {
            transition: transform 0.18s ease;
        }

        .footer-main a.d-inline-flex.align-items-center.justify-content-center.rounded-circle:hover {
            transform: translateY(-2px) scale(1.06);
            box-shadow: 0 14px 34px rgba(2, 6, 23, 0.28);
        }

        .footer-main a.d-inline-flex.align-items-center.justify-content-center.rounded-circle:hover i {
            transform: rotate(-8deg) scale(1.03);
        }

        .footer-newsletter input {
            background-color: rgba(15,23,42,0.9);
            border: 1px solid rgba(148,163,184,0.7);
            color: #e5e7eb;
        }

        .footer-newsletter input::placeholder {
            color: #6b7280;
        }

        .form-control, .form-select {
            transition: box-shadow 0.18s ease, border-color 0.18s ease;
        }

        .form-control:focus, .form-select:focus {
            border-color: rgba(0, 184, 148, 0.75);
            box-shadow: 0 0 0 0.25rem rgba(0, 184, 148, 0.18);
        }

        .store-opening-list li {
            margin-bottom: 0.1rem;
        }

        #backToTop {
            position: fixed;
            right: 1.25rem;
            bottom: 1.25rem;
            z-index: 1020;
            display: none;
            transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
        }

        #backToTop.ev-btt-show {
            animation: ev-btt-float 2.2s ease-in-out infinite;
        }

        @keyframes ev-btt-float {
            0%   { transform: translateY(0); }
            50%  { transform: translateY(-4px); }
            100% { transform: translateY(0); }
        }

        /* -------------------------------------------------------------------------
           Bewegungs-/Motion-Elemente (modern, subtil, performance-friendly)
           - Animated Gradient (Buttons)
           - Animated Background Blobs (Body)
           - Hero: bewegte Overlays (Blobs + Drift-Grid)
           - On-Scroll Reveal Animation (per JS via .motion-item / .motion-in)
        ------------------------------------------------------------------------- */

        @keyframes ev-gradient-move {
            0%   { background-position: 0% 50%; }
            50%  { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }


        /*
        body::before {
            content: "";
            position: fixed;
            inset: -25%;
            z-index: -1;
            pointer-events: none;
            background:
                radial-gradient(circle at 20% 25%, rgba(0,51,160,0.18), transparent 55%),
                radial-gradient(circle at 78% 28%, rgba(0,184,148,0.14), transparent 60%),
                radial-gradient(circle at 62% 82%, rgba(255,184,28,0.16), transparent 55%);
            filter: blur(34px);
            transform: translate3d(0,0,0);
            animation: ev-float-bg 18s ease-in-out infinite;
        }
        */
        body::before {
            /* Regenbogen-/Blob-Hintergrund komplett deaktiviert */
            content: "";
            display: none !important;
        }



        @keyframes ev-float-bg {
            0%   { transform: translate3d(-2%, -2%, 0) scale(1); }
            50%  { transform: translate3d(2%, 1%, 0) scale(1.05); }
            100% { transform: translate3d(-2%, -2%, 0) scale(1); }
        }

        .hero > .container {
            position: relative;
            z-index: 3; /* Inhalt über Gradient + Overlays */
        }


.hero::before {
    /* Farbiges Hero-Overlay komplett deaktiviert */
    content: "";
    display: none !important;
}


        .hero::after {
            content: "";
            position: absolute;
            inset: -10%;
            pointer-events: none;
             z-index: 2;
            opacity: 0.085;
            background:
                repeating-linear-gradient(
                    135deg,
                    rgba(255,255,255,0.08) 0px,
                    rgba(255,255,255,0.08) 1px,
                    transparent 1px,
                    transparent 12px
                );
            transform: translate3d(0,0,0);
            animation: ev-grid-drift 22s linear infinite;
        }

        @keyframes ev-hero-shift {
            0% {
                filter: blur(0px);
                transform: translate3d(calc(var(--ev-mx, 0) * 0.02px - 10px), calc(var(--ev-my, 0) * 0.02px - 6px), 0) scale(1);
            }
            50% {
                filter: blur(1px);
                transform: translate3d(calc(var(--ev-mx, 0) * 0.02px + 10px), calc(var(--ev-my, 0) * 0.02px + 8px), 0) scale(1.05);
            }
            100% {
                filter: blur(0px);
                transform: translate3d(calc(var(--ev-mx, 0) * 0.02px - 8px), calc(var(--ev-my, 0) * 0.02px + 6px), 0) scale(1);
            }
        }

        @keyframes ev-grid-drift {
            from { transform: translate3d(0,0,0); }
            to   { transform: translate3d(140px,-140px,0); }
        }

        .motion-item {
            opacity: 0;
            transform: translateY(14px);
            transition: opacity 0.65s ease, transform 0.65s ease;
            will-change: opacity, transform;
        }

        .motion-item.motion-in {
            opacity: 1;
            transform: none;
        }

        @media (prefers-reduced-motion: reduce) {
            body::before,
            .btn-primary,
            .hero::before,
            .hero::after,
            #backToTop.ev-btt-show {
                animation: none !important;
            }
            .btn,
            .navbar .nav-link,
            .retail-photo,
            .project-card,
            .project-card-img,
            .career-pill,
            .form-control,
            .form-select {
                transition: none !important;
            }
            .motion-item {
                transition: none !important;
                opacity: 1 !important;
                transform: none !important;
            }
        }

        .topbar-action{
        text-decoration: none;
        color: inherit;
        transition: transform .15s ease, opacity .15s ease, filter .15s ease;
        transform-origin: left center;
        will-change: transform;
        }

        .topbar-action i{
        transition: transform .15s ease;
        }

        .topbar-action:hover,
        .topbar-action:focus-visible{
        transform: scale(1.08);
        opacity: 1;
        filter: brightness(1.1);
        }

        .topbar-action:hover i,
        .topbar-action:focus-visible i{
        transform: scale(1.10);
        }

        .topbar-action:focus-visible{
        outline: 2px solid currentColor;
        outline-offset: 4px;
        border-radius: 8px;
        }



        /* -------------------------------------------------------
   Kontakt-Infos im Kontakt-Abschnitt (Cards + Micro-Anim)
-------------------------------------------------------- */
.contact-info-wrap {
    margin-top: 1.25rem;
}

.contact-info-card {
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    border-radius: 1rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
    text-decoration: none;
    color: inherit;
}

.contact-info-card.motion-item.motion-in:hover,
.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 51, 160, 0.22);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
    filter: saturate(1.02);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--ev-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(0, 51, 160, 0.16);
    flex: 0 0 auto;
}

.contact-info-kicker {
    font-size: .72rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    opacity: .72;
    line-height: 1.15;
    margin-bottom: .15rem;
}

.contact-info-value {
    font-weight: 700;
    line-height: 1.15;
}

.contact-info-sub {
    font-size: .82rem;
    opacity: .78;
    line-height: 1.25;
    margin-top: .15rem;
}

@keyframes evContactPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.contact-info-card:hover .contact-info-icon {
    animation: evContactPop .45s ease-in-out;
}

/* ---- Style Block 2 ---- */
#aktionen .promo-card { transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease; }
                #aktionen .promo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(2,6,23,.16); }

                #aktionen .promo-media { overflow: hidden; background: #0b1220; }
                #aktionen .promo-img { height: 190px; object-fit: cover; transform: scale(1.02); transition: transform .6s ease; }
                #aktionen .promo-card:hover .promo-img { transform: scale(1.08); }

                #aktionen .promo-badge {
                    position: absolute; left: 14px; bottom: 14px;
                    padding: .35rem .65rem; border-radius: 999px;
                    font-size: .78rem; color: #111827;
                    background: rgba(255,184,28,.92);
                    box-shadow: 0 14px 30px rgba(2,6,23,.25);
                    backdrop-filter: blur(10px);
                }

                #aktionen .promo-tag { color: #0f172a; border: 1px solid rgba(2,6,23,.08); }
                #aktionen .promo-highlight { font-weight: 600; color: rgba(2,6,23,.78); }

                #aktionen .promo-countdown {
                    font-variant-numeric: tabular-nums;
                    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
                    padding: .25rem .55rem; border-radius: .65rem;
                    background: rgba(0,51,160,.08);
                    color: #0f172a;
                    letter-spacing: .5px;
                }
                #aktionen .promo-countdown.tick { animation: promoTick .35s ease; }
                @keyframes promoTick {
                    0% { transform: translateY(0) scale(1); }
                    45% { transform: translateY(-2px) scale(1.03); }
                    100% { transform: translateY(0) scale(1); }
                }

                #aktionen .promo-progress { border-radius: 999px; background-color: rgba(2,6,23,.08); overflow: hidden; }
                #aktionen .promo-progress .progress-bar { transition: width .55s ease; }

                #aktionen .promo-card.is-hot { outline: 2px solid rgba(255,184,28,.40); outline-offset: 2px; }
                #aktionen .promo-card.is-urgent {
                    outline: 2px solid rgba(255,184,28,.75);
                    outline-offset: 2px;
                    animation: promoPulse 1.15s ease-in-out infinite;
                }
                @keyframes promoPulse {
                    0%, 100% { transform: translateY(0); }
                    50% { transform: translateY(-3px); }
                }

                @media (prefers-reduced-motion: reduce) {
                    #aktionen .promo-card,
                    #aktionen .promo-card:hover,
                    #aktionen .promo-img,
                    #aktionen .promo-progress .progress-bar,
                    #aktionen .promo-countdown.tick,
                    #aktionen .promo-card.is-urgent {
                        transition: none !important;
                        animation: none !important;
                    }
                }






/* -------------------------------------------------------------------------
   NUR Software-Leistungsbereich: Icons exakt quadratisch + klarere CTA
   (Scoped auf #services_software, damit Elektro/Distribution unberührt bleiben)
--------------------------------------------------------------------------- */
#services_software .card-service-icon{
    /* Exakt quadratisch (kein "Oval"/zu rund), ohne globale .card-service-icon zu ändern */
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px;
    border-radius: 10px !important;
}

#services_software .card-service-icon i{
    line-height: 1;
    font-size: 1.75rem;
}

#services_software .services-software-topcta{
    /* CTA im Header sichtbar, aber nicht "brüllend" */
    border-radius: 999px;
    padding: .62rem 1.05rem;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.14);

    /* Vertikal sauber zentrieren (Icons + Text) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#services_software .services-software-topcta i{
    display: inline-block;
    line-height: 1;
}

#services_software .service-cta-btn{
    border-radius: 999px;
    padding: .55rem .95rem;
    font-weight: 700;
    white-space: nowrap;

    /* Vertikal sauber zentrieren (Text + Icon) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#services_software .service-cta-btn i{
    /* Bootstrap-Icons sitzen sonst leicht "tiefer" (baseline) */
    display: inline-block;
    line-height: 1;
    font-size: 1.15rem;
}



/* Pfeil "springt" kurz beim Hover (nur Software-CTA, nicht global) */
@keyframes ss-arrow-jump{
    /* Kein "Ausholen" nach links – nur sanft vor/zurück, solange Hover aktiv ist */
    0%   { transform: translateX(0); }
    50%  { transform: translateX(8px); }
    100% { transform: translateX(0); }
}

52%  { transform: translateX(8px); }   /* kurzer Push */
    74%  { transform: translateX(4px); }   /* leichter "spring-back" */
    100% { transform: translateX(0); }
}

#services_software .service-cta-btn .bi-arrow-right-short,
#services_software .services-software-topcta .bi-arrow-right-short{
    display: inline-block;
    will-change: transform;
    transition: none;
    transform-origin: center;
}


#services_software .service-cta-btn:hover .bi-arrow-right-short,
#services_software .services-software-topcta:hover .bi-arrow-right-short{
    animation: ss-arrow-jump 1.15s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
    #services_software .service-cta-btn:hover .bi-arrow-right-short,
    #services_software .services-software-topcta:hover .bi-arrow-right-short{
        animation: none !important;
        transform: none !important;
    }
}
/* Die CTA unter den Kacheln stärker als "Callout" wahrnehmbar */
#services_software .software-plus{
    border-style: solid; /* statt dashed: wirkt mehr wie eine echte Aktion */
    border-width: 1px;
    border-color: rgba(0, 51, 160, 0.28);
}

#services_software .software-plus-btn{
    font-weight: 800;
}

/* -------------------------------------------------------------------------
   + CTA unter Software-Kacheln
--------------------------------------------------------------------------- */
.software-plus{
    display:block;
    text-decoration:none;
    color: inherit;

    border-radius: 22px;
    border: 1px dashed rgba(0, 51, 160, 0.28);
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 0;
    overflow: hidden;

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.software-plus-inner{
    display:flex;
    align-items:center;
    gap: 14px;
    padding: 16px 18px;
}

.software-plus-icon{
    width: 46px;
    height: 46px;
    border-radius: 16px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    background: rgba(0, 51, 160, 0.10);
    color: var(--ev-primary);
    border: 1px solid rgba(0, 51, 160, 0.18);

    animation: evPlusPulse 1.9s ease-in-out infinite;
}

.software-plus-icon i{
    font-size: 1.1rem;
    transition: transform .18s ease;
}

@keyframes evPlusPulse{
    0%   { transform: translateY(0); box-shadow: 0 0 0 rgba(0,0,0,0); }
    50%  { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); }
    100% { transform: translateY(0); box-shadow: 0 0 0 rgba(0,0,0,0); }
}

.software-plus-title{
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.software-plus-text{
    color: rgba(17, 24, 39, 0.70);
    font-size: .95rem;
    margin-top: 2px;
    line-height: 1.35;
}

.software-plus-arrow{
    margin-left:auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background: rgba(2, 6, 23, 0.06);
    color: rgba(2, 6, 23, 0.75);
    transition: transform .18s ease;
}

.software-plus:hover{
    transform: translateY(-3px);
    border-color: rgba(0, 51, 160, 0.40);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.12);
}

.software-plus:hover .software-plus-icon i{
    transform: rotate(-8deg) scale(1.05);
}

.software-plus:hover .software-plus-arrow{
    transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce){
    .software-plus, .software-plus *{
        transition: none !important;
        animation: none !important;
    }
}

.software-plus-btn{
    margin-left: auto;
    border-radius: 999px;
    padding: .75rem 1.05rem;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}





/* -------------------------------------------------------------------------
   Software Hosting / Domains / Mail
--------------------------------------------------------------------------- */
.hosting-list{
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: rgba(17, 24, 39, 0.72);
    font-size: .95rem;
    line-height: 1.35;
}

.hosting-list li{
    display:flex;
    gap: .55rem;
    margin: .35rem 0;
}

.hosting-list li::before{
    content: "✓";
    font-weight: 800;
    color: var(--ev-primary);
    margin-top: 1px;
}

/* CTA Bar */
.hosting-cta{
    display:block;
    text-decoration:none;
    color: inherit;

    border-radius: 22px;
    border: 1px solid rgba(0, 51, 160, 0.18);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
    overflow:hidden;

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hosting-cta-inner{
    display:flex;
    align-items:center;
    gap: 14px;
    padding: 16px 18px;
}

.hosting-cta-icon{
    width: 46px;
    height: 46px;
    border-radius: 16px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    background: rgba(0, 51, 160, 0.10);
    color: var(--ev-primary);
    border: 1px solid rgba(0, 51, 160, 0.18);

    animation: evHostCtaFloat 2.2s ease-in-out infinite;
}

@keyframes evHostCtaFloat{
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

.hosting-cta-title{
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.hosting-cta-text{
    color: rgba(17, 24, 39, 0.70);
    font-size: .95rem;
    margin-top: 2px;
    line-height: 1.35;
}

.hosting-cta-btn{
    margin-left: auto;
    border-radius: 999px;
    padding: .75rem 1.05rem;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}

.hosting-cta:hover{
    transform: translateY(-3px);
    border-color: rgba(0, 51, 160, 0.32);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.12);
}

@media (max-width: 767.98px){
    .hosting-cta-inner{
        flex-direction: column;
        align-items: flex-start;
    }
    .hosting-cta-btn{
        margin-left: 0;
        margin-top: .65rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce){
    .hosting-cta, .hosting-cta *{
        transition: none !important;
        animation: none !important;
    }
}


/* -------------------------------------------------------------------------
   Hosting Media (Rechenzentrum-Foto)
--------------------------------------------------------------------------- */
.hosting-media{
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.10);
    margin: 1rem 0 1.25rem 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255,255,255,0.65);
}

.hosting-media-img{
    width: 100%;
    height: clamp(200px, 26vw, 340px);
    object-fit: cover;
    display: block;
    transform: scale(1.00);
    transition: transform .55s ease;
}

.hosting-media::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.05) 0%,
        rgba(2, 6, 23, 0.12) 55%,
        rgba(2, 6, 23, 0.28) 100%
    );
}

.hosting-media-overlay{
    position:absolute;
    inset:0;
    z-index: 2;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 14px;
}

.hosting-media-caption{
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.25);
    max-width: 70%;
    line-height: 1.2;
}

.hosting-media:hover .hosting-media-img{
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce){
    .hosting-media-img{ transition: none !important; transform: none !important; }
}

/* ==========================================================================
   Distribution (Fokus distribution) – Stellplätze & Lagerlösungen
   Scoped: NUR #distribution_retail (keine Nebenwirkungen auf andere Bereiche)
   ========================================================================== */
#distribution_retail .dist-photo-wrap {
    border-radius: 24px;
    overflow: hidden;
}

#distribution_retail .dist-bullets i {
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

#distribution_retail .dist-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

#distribution_retail .dist-table thead th {
    background: rgba(2, 132, 199, 0.10);
    font-weight: 700;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
    padding: 0.75rem 0.85rem;
}

#distribution_retail .dist-table thead th:first-child {
    border-top-left-radius: 14px;
}
#distribution_retail .dist-table thead th:last-child {
    border-top-right-radius: 14px;
}

#distribution_retail .dist-table tbody td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#distribution_retail .dist-table tbody tr:last-child td {
    border-bottom: 0;
}

#distribution_retail .dist-meta {
    border-top: 1px dashed rgba(15, 23, 42, 0.15);
    padding-top: 0.75rem;
}

#distribution_retail .dist-meta-block {
    background: rgba(2, 132, 199, 0.04);
    border: 1px solid rgba(2, 132, 199, 0.10);
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
}


/* --- Übersicht statt Tabellenflut ----------------------------------- */
#distribution_retail .dist-chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
}
#distribution_retail .dist-chip{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    padding:.28rem .65rem;
    border-radius:999px;
    background: rgba(2, 132, 199, 0.06);
    border: 1px solid rgba(2, 132, 199, 0.14);
    font-size: .875rem;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
}

#distribution_retail .dist-details{
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: rgba(2, 132, 199, 0.03);
    padding: .55rem .75rem;
}
#distribution_retail .dist-details > summary{
    list-style: none;
    cursor: pointer;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: .75rem;
    font-weight: 700;
    user-select: none;
}
#distribution_retail .dist-details > summary::-webkit-details-marker{ display:none; }
#distribution_retail .dist-details > summary i{
    flex: 0 0 auto;
    transition: transform .25s ease;
    opacity: .8;
}
#distribution_retail .dist-details[open] > summary i{
    transform: rotate(180deg);
    opacity: 1;
}
#distribution_retail .dist-details-body{
    padding-top: .75rem;
}
#distribution_retail .dist-details[open] .dist-details-body{
    animation: distFadeIn .22s ease;
}

#distribution_retail .dist-price-rows{
    display:flex;
    flex-direction:column;
    gap:.75rem;
}
#distribution_retail .dist-price-row{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    padding: .85rem .9rem;
    background: rgba(255,255,255,0.85);
}
#distribution_retail .dist-price-left{ min-width: 0; }
#distribution_retail .dist-price-right{ align-self: center; }

@keyframes distFadeIn{
    from{ opacity:0; transform: translateY(-4px); }
    to{ opacity:1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------
   About-Fokus Banner (Über uns) – oberhalb von Kontakt
   Scoped: #about.about-focus
--------------------------------------------------------------------------- */

.btn-ev-secondary{
    background: var(--ev-secondary);
    color: #111827;
    border: none;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .95rem 1.25rem;
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(2, 6, 23, .14);
}

.btn-ev-secondary:hover,
.btn-ev-secondary:focus{
    color: #111827;
    filter: brightness(1.03);
}

#about.about-focus{
    background: #ffffff;
}

#about.about-focus .about-focus-card{
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: clamp(22px, 3.2vw, 42px);
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.10);
    z-index: 2;
}

#about.about-focus .about-focus-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border: 4px solid var(--ev-secondary);
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 22px;
    pointer-events: none;
}

#about.about-focus .about-focus-kicker{
    color: var(--ev-secondary);
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: .75rem;
}

#about.about-focus .about-focus-title{
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

#about.about-focus .about-focus-text{
    color: rgba(17, 24, 39, 0.72);
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 46ch;
}

#about.about-focus .about-focus-media-wrap{
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.10);
}

#about.about-focus .about-focus-media{
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transition: transform .65s ease;
}

#about.about-focus .about-focus-media-wrap:hover .about-focus-media{
    transform: scale(1.04);
}

@media (min-width: 992px){
    #about.about-focus .about-focus-media-wrap{
        margin-left: -68px;
    }
}

@media (max-width: 991.98px){
    #about.about-focus .about-focus-card::before{
        border-right: 4px solid var(--ev-secondary);
        border-bottom: 4px solid var(--ev-secondary);
        opacity: .28;
    }
}

@media (prefers-reduced-motion: reduce){
    #about.about-focus .about-focus-media{
        transition: none;
    }
    #about.about-focus .about-focus-media-wrap:hover .about-focus-media{
        transform: none;
    }
}

/* -------------------------------------------------------------------------
   "Über uns" Teaser (oberhalb von Kontakt)
   Scoped: #about_us.about-us-teaser
--------------------------------------------------------------------------- */

#about_us.about-us-teaser{
    background: #ffffff;
}

#about_us.about-us-teaser .about-us-card{
    position: relative;
    background: #ffffff;
    border-radius: 0px; /* 22px */
    padding: clamp(22px, 3.2vw, 42px);
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.10);
    z-index: 2;
}

#about_us.about-us-teaser .about-us-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border: 4px solid var(--ev-secondary);
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 22px;
    pointer-events: none;
}

#about_us.about-us-teaser .about-us-kicker{
    color: var(--ev-secondary);
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: .75rem;
}

#about_us.about-us-teaser .about-us-title{
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1.05;
}

#about_us.about-us-teaser .about-us-text{
    color: rgba(17, 24, 39, 0.72);
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 48ch;
}

#about_us.about-us-teaser .about-us-cta{
    background: var(--ev-secondary);
    color: #ffffff; /* #111827 */
    border: none;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .95rem 1.25rem;
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(2, 6, 23, .14);
}

#about_us.about-us-teaser .about-us-cta:hover,
#about_us.about-us-teaser .about-us-cta:focus{
    color: #ffffff; /* #111827 */
    filter: brightness(1.03);
}

#about_us.about-us-teaser .about-us-media-wrap{
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.10);
}

/* Bild-Credit (wie bei Referenzprojekten) */
#about_us.about-us-teaser .about-us-media-wrap::after{
    content: "© Sixpol Electronics";
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;

    padding: 0.18rem 0.42rem;
    border-radius: 8px;

    background: rgba(2, 6, 23, 0.28);
    color: rgba(229, 231, 235, 0.72);
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.01em;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    pointer-events: none;
    user-select: none;
    text-shadow: 0 1px 1px rgba(2, 6, 23, 0.35);
}

#about_us.about-us-teaser .about-us-media{
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transition: transform .65s ease;
}

#about_us.about-us-teaser .about-us-media-wrap:hover .about-us-media{
    transform: scale(1.04);
}

@media (min-width: 992px){
    #about_us.about-us-teaser .about-us-media-wrap{
        margin-left: -68px;
    }
}

@media (max-width: 991.98px){
    #about_us.about-us-teaser .about-us-card::before{
        border-right: 4px solid var(--ev-secondary);
        border-bottom: 4px solid var(--ev-secondary);
        opacity: .28;
    }
}

@media (prefers-reduced-motion: reduce){
    #about_us.about-us-teaser .about-us-media{
        transition: none;
    }
    #about_us.about-us-teaser .about-us-media-wrap:hover .about-us-media{
        transform: none;
    }
}


/* -------------------------------------------------------------------------
   HERO (Fokus-Switch): Fokus-Buttons als rechteckige Kacheln
   Ziel: deutlich größer, besser lesbar & besser klickbar (Touch friendly)
--------------------------------------------------------------------------- */

/* Typografie im Hero (bleibt wie gehabt) */
#hero.hero-focus .hero-h1{
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.02;
    font-size: clamp(2.35rem, 5.1vw, 4.05rem);
}

#hero.hero-focus .hero-sub{
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    max-width: 860px;
}

/* Mehr Abstand zwischen den Kacheln + Desktop immer nebeneinander */
#hero.hero-focus .focus-switch{
    gap: 18px;
    flex-wrap: wrap; /* default für kleinere Screens */
}

@media (min-width: 992px){
    #hero.hero-focus .focus-switch{
        flex-wrap: nowrap;            /* <-- WICHTIG: nicht umbrechen */
        align-items: stretch;
    }
}


/* Basis-Kachel (Rahmen/Shadow) */
#hero.hero-focus .focus-btn{
    border-radius: 14px;

    /* WICHTIG: nicht auf 0 kollabieren lassen */
    flex: 1 1 0;
    min-width: 300px;      /* <-- die größe der kachln / items / fokuse im hero | verhindert die 3 „Striche“ */
    max-width: 520px;

    /* Höhe wird später sowieso per max(... ) !important angehoben */
    height: 74px;

    border: 2px solid rgba(255, 255, 255, 0.90);
    background: rgba(2, 6, 23, 0.62);
    box-shadow: 0 20px 62px rgba(2, 6, 23, 0.30);

    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    position: relative;
}



/* Dezente Innenkante */
#hero.hero-focus .focus-btn::before{
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    opacity: 0.0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 4;
}

#hero.hero-focus .focus-btn:hover{
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 86px rgba(2, 6, 23, 0.36);
}

#hero.hero-focus .focus-btn:hover::before{
    opacity: 1;
}

#hero.hero-focus .focus-btn.is-active{
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 92px rgba(0, 0, 0, 0.42);
}

/* -------------------------------------------------------------------------
   Fokus-Kacheln mit Foto-Hintergrund
--------------------------------------------------------------------------- */

#hero.hero-focus .focus-btn{
    overflow: hidden;
    padding: 0 !important;

    background: transparent !important;

    justify-content: flex-start !important;
    align-items: flex-end !important;
}

/* Foto */
#hero.hero-focus .focus-btn__bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 220ms ease;
    z-index: 0;
}

/* Overlay (unten stärker für bessere Lesbarkeit) */
#hero.hero-focus .focus-btn__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(2, 6, 23, 0.06) 0%,
            rgba(2, 6, 23, 0.55) 70%,
            rgba(2, 6, 23, 0.82) 100%);
    z-index: 1;
}

/* Label: größer, besser lesbar + mehr Padding */
#hero.hero-focus .focus-btn__label{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    /* mehr "Click Area" + bessere Optik */
    padding: 18px 18px;

    z-index: 2;
    color: rgba(255, 255, 255, 0.98);

    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 900;

    /* größer & responsiv */
    font-size: clamp(1.00rem, 1.05vw, 1.18rem);
    line-height: 1.12;

    text-align: left;

    /* Lesbarkeit auf hellen Bildstellen */
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

/* Hover: Bild leicht zoomen */
#hero.hero-focus .focus-btn:hover .focus-btn__bg{
    transform: scale(1.09);
}

/* Aktiv: etwas helleres Overlay oben, unten weiterhin dunkel */
#hero.hero-focus .focus-btn.is-active .focus-btn__overlay{
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(2, 6, 23, 0.50) 65%,
            rgba(2, 6, 23, 0.85) 100%);
}

/* -------------------------------------------------------------------------
   HERO Fokus-Kacheln: Mindest-Höhe erzwingen (damit es wirklich größer wird)
   - deine Variablen aus home.php bleiben nutzbar, aber wir heben die Untergrenze an
--------------------------------------------------------------------------- */

#hero.hero-focus .focus-btn{
    /* Desktop: mindestens 260px hoch */
    min-height: max(var(--focus-tile-height, 74px), 260px) !important;
    height:     max(var(--focus-tile-height, 74px), 260px) !important;
}

#hero.hero-focus .focus-btn__bg{
    background-position: var(--focus-tile-x, 50%) var(--focus-tile-y, 50%) !important;
}

/* Mobile: große Touch-Fläche, volle Breite */
@media (max-width: 767.98px){
    #hero.hero-focus .hero-h1{
        font-size: 1.95rem;
        letter-spacing: 0.05em;
    }

    #hero.hero-focus .hero-sub{
        font-size: 0.98rem;
    }

    #hero.hero-focus .focus-btn{
        width: min(560px, 100%);
        min-width: 0;

        /* Mobile: mindestens 190px hoch */
        min-height: max(var(--focus-tile-height-mobile, 66px), 190px) !important;
        height:     max(var(--focus-tile-height-mobile, 66px), 190px) !important;
    }

    #hero.hero-focus .focus-btn__label{
        padding: 16px 16px;
        font-size: 1.02rem;
        letter-spacing: 0.10em;
    }
}

@media (prefers-reduced-motion: reduce){
    #hero.hero-focus .focus-btn,
    #hero.hero-focus .focus-btn::before{
        transition: none !important;
    }
    #hero.hero-focus .focus-btn:hover{
        transform: none !important;
        box-shadow: none !important;
    }
}


/* -------------------------------------------------------------------------
   Fokus-Kacheln mit Foto-Hintergrund (wie Screenshot: rechteckige Tiles)
   Hinweis: Bilder kommen aus home.php via <span class="focus-btn__bg" ...>
--------------------------------------------------------------------------- */

#hero.hero-focus .focus-btn{
    /* Tile-Layout: Label unten links wie die unteren Kacheln */
    overflow: hidden;
    padding: 0 !important; /* Label bekommt eigenes Padding */

    /* Hintergrund aus vorherigem Block überschreiben (Foto übernimmt) */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* Label nicht zentrieren (Inline-Style wird durch !important überschrieben) */
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

#hero.hero-focus .focus-btn__bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 220ms ease;
    z-index: 0;
}

/* Dunkles Overlay + leichter Verlauf für Lesbarkeit (oben weniger, unten mehr) */
#hero.hero-focus .focus-btn__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.10) 0%, rgba(2, 6, 23, 0.65) 78%, rgba(2, 6, 23, 0.80) 100%);
    z-index: 1;
}

/* Label wie im Screenshot: unten links, caps, kräftig */
#hero.hero-focus .focus-btn__label{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 14px 16px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.96);

    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 900;
    font-size: 0.90rem;
    line-height: 1.05;

    text-align: left;
}

/* Inset-Rahmen (aus dem vorherigen Block) sicher oberhalb vom Bild/Overlay rendern */
#hero.hero-focus .focus-btn::before{
    z-index: 4;
}

/* Hover: Bild leicht zoomen + Border/Shadow aus dem ersten Block behalten */
#hero.hero-focus .focus-btn:hover .focus-btn__bg{
    transform: scale(1.08);
}

/* Aktiv: stärkeres Overlay (bessere Hervorhebung) */
#hero.hero-focus .focus-btn.is-active .focus-btn__overlay{
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(2, 6, 23, 0.60) 70%, rgba(2, 6, 23, 0.82) 100%);
}

/* Mobile: Label etwas kompakter */
@media (max-width: 767.98px){
    #hero.hero-focus .focus-btn__label{
        padding: 12px 14px;
        font-size: 0.88rem;
    }
}

/* -------------------------------------------------------------------------
   HERO Fokus-Kacheln: Bild-Ausschnitt (Y/X) + Höhe pro Kachel steuerbar
   - Werte kommen als CSS-Variablen aus home.php (inline auf .focus-btn)
   - Beispiel:
       --focus-tile-y: 35%;
       --focus-tile-height: 92px;
       --focus-tile-height-mobile: 72px;
--------------------------------------------------------------------------- */

#hero.hero-focus .focus-btn{
    
    aspect-ratio: 1 / 1; /* Quadratisch: Höhe folgt der Breite */
    /* aspect-ratio: 6 / 5; */   /* etwas breiter als hoch */

    height: auto !important;
    min-height: unset !important;
}


#hero.hero-focus .focus-btn__bg{
    /* Standard: 50%/50% (=center). Y nach Bedarf hoch/runter schieben. */
    background-position: var(--focus-tile-x, 50%) var(--focus-tile-y, 50%) !important;
}

@media (max-width: 767.98px){
    #hero.hero-focus .focus-btn{
        min-height: var(--focus-tile-height-mobile, 66px) !important;
        height: var(--focus-tile-height-mobile, 66px) !important;
    }
}



/* -------------------------------------------------------------------------
   Meister-Elektriker Foto-Badge (Overlay im Abschnitt #meister_elektro)
   + Großgeräte-Service Foto-Badge (Overlay im Abschnitt #meister_grossgeraete)
   - Zeigt Name + "Meister seit ..." bzw. "Service seit ..." direkt im Bild
--------------------------------------------------------------------------- */
#meister_elektro .meister-photo-card,
#meister_grossgeraete .meister-photo-card{
    /* Positioning für das Overlay */
    position: relative;
}

#meister_elektro .meister-photo-badge,
#meister_grossgeraete .meister-photo-badge{
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;

    max-width: calc(100% - 36px);
    padding: 14px 16px;

    border-radius: 16px;
    background: rgba(2, 6, 23, 0.56);
    color: rgba(255, 255, 255, 0.96);

    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    pointer-events: none;
    user-select: none;
}

#meister_elektro .meister-photo-badge__role,
#meister_grossgeraete .meister-photo-badge__role{
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    font-size: 0.72rem;
    opacity: 0.95;
}

#meister_elektro .meister-photo-badge__name,
#meister_grossgeraete .meister-photo-badge__name{
    margin-top: 6px;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 1.12rem;
    line-height: 1.1;
    text-shadow: 0 10px 26px rgba(0,0,0,0.30);
}

#meister_elektro .meister-photo-badge__since,
#meister_grossgeraete .meister-photo-badge__since{
    margin-top: 6px;
    font-size: 0.88rem;
    opacity: 0.92;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

@media (max-width: 767.98px){
    #meister_elektro .meister-photo-badge,
    #meister_grossgeraete .meister-photo-badge{
        left: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        padding: 12px 13px;
        border-radius: 14px;
    }
    #meister_elektro .meister-photo-badge__name,
    #meister_grossgeraete .meister-photo-badge__name{
        font-size: 1.02rem;
    }
    #meister_elektro .meister-photo-badge__since,
    #meister_grossgeraete .meister-photo-badge__since{
        font-size: 0.84rem;
    }
}



/* -------------------------------------------------------------------------
   Software Foto-Badge (Overlay im Abschnitt #software_trust)
   - Zeigt Name + "Lead seit ..." direkt im Bild
--------------------------------------------------------------------------- */
#software_trust .meister-photo-card{
    /* Positioning für das Overlay */
    position: relative;
}

#software_trust .meister-photo-badge{
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;

    max-width: calc(100% - 36px);
    padding: 14px 16px;

    border-radius: 16px;
    background: rgba(2, 6, 23, 0.56);
    color: rgba(255, 255, 255, 0.96);

    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    pointer-events: none;
    user-select: none;
}

#software_trust .meister-photo-badge__role{
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    font-size: 0.72rem;
    opacity: 0.95;
}

#software_trust .meister-photo-badge__name{
    margin-top: 6px;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 1.12rem;
    line-height: 1.1;
    text-shadow: 0 10px 26px rgba(0,0,0,0.30);
}

#software_trust .meister-photo-badge__since{
    margin-top: 6px;
    font-size: 0.88rem;
    opacity: 0.92;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

@media (max-width: 767.98px){
    #software_trust .meister-photo-badge{
        left: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        padding: 12px 13px;
        border-radius: 14px;
    }
    #software_trust .meister-photo-badge__name{
        font-size: 1.02rem;
    }
    #software_trust .meister-photo-badge__since{
        font-size: 0.84rem;
    }
}

/* -------------------------------------------------------------------------
   HERO: Maskottchen unten links (vor dem weißen Balken)
   Bild: /media/maskottchen_1.png
--------------------------------------------------------------------------- */
#hero.hero-focus .hero-mascot{
    position: absolute;
    left: max(50px, env(safe-area-inset-left));
    bottom: max(0px, env(safe-area-inset-bottom));
    z-index: 4;

    /* FIX: clamp(min, ideal, max) – vorher war min > max */
    width: clamp(320px, 14vw, 250px);
    height: auto;

    pointer-events: none;
    user-select: none;

    /* saubere Kanten + Schatten */
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.35));
}

@media (max-width: 767.98px){
    #hero.hero-focus .hero-mascot{
        left: max(8px, env(safe-area-inset-left));
        bottom: max(0px, env(safe-area-inset-bottom));
        width: clamp(110px, 22vw, 170px);
    }
}

/* Maskottchen-Medium (PNG/MP4/MOV) konsistent rendern */
#hero.hero-focus .hero-mascot > img,
#hero.hero-focus .hero-mascot > video{
    display: block;        /* verhindert Inline-Gaps */
    width: 100%;
    height: auto;

    /* wichtig für sauberes Skalieren/Versatz über transform */
    transform-origin: left bottom;

    /* für Videos: kein Cropping, kein Stretch */
    object-fit: contain;
}


/* -------------------------------------------------------------------------
   About-Us: Seitlicher Motion-Reveal (reinfliegen von links/rechts)
   - JS (app.js) ergänzt bei #about_us automatisch:
     * .about-us-card       -> .motion-slide-left
     * .about-us-media-wrap -> .motion-slide-right
   - Animation läuft über bestehende .motion-item / .motion-in Transitionen.
--------------------------------------------------------------------------- */
.motion-item.motion-slide-left{
    /* Override zu .motion-item { transform: translateY(...) } */
    transform: translate3d(-52px, 0, 0);
}

.motion-item.motion-slide-right{
    /* Override zu .motion-item { transform: translateY(...) } */
    transform: translate3d(52px, 0, 0);
}

.motion-item.motion-slide-left.motion-in,
.motion-item.motion-slide-right.motion-in{
    transform: none;
}


/* ==========================================================================
   Distribution – Foto-Slideshow (distribution_retail)
   - Scoped, damit keine Nebenwirkungen entstehen
   - Nutzt Bootstrap Carousel Markup (#distRetailCarousel)
   ========================================================================== */
#distribution_retail .dist-retail-carousel{
    /* dist-photo-wrap hat bereits overflow/radius, hier nur "Safety" */
    border-radius: 24px;
    overflow: hidden;
}

#distribution_retail .dist-retail-carousel .carousel-inner{
    border-radius: 24px;
    overflow: hidden;
}

/* Einheitliche Höhe, damit der Layout-Flow nicht springt */
#distribution_retail .dist-retail-carousel-img{
    width: 100%;
    height: clamp(240px, 28vw, 420px);
    object-fit: cover;
    display: block;
}

/* Indikatoren etwas "wertiger" */
#distribution_retail .dist-retail-carousel .carousel-indicators [data-bs-target]{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
}

/* Controls nur dezent sichtbar (Desktop Hover), auf Mobile immer sichtbar */
#distribution_retail .dist-retail-carousel .carousel-control-prev,
#distribution_retail .dist-retail-carousel .carousel-control-next{
    opacity: 0;
    transition: opacity 0.18s ease;
}

#distribution_retail .dist-retail-carousel:hover .carousel-control-prev,
#distribution_retail .dist-retail-carousel:hover .carousel-control-next{
    opacity: 1;
}

@media (max-width: 991.98px){
    #distribution_retail .dist-retail-carousel .carousel-control-prev,
    #distribution_retail .dist-retail-carousel .carousel-control-next{
        opacity: 1;
    }
}


/* ==========================================================================
   Distribution – Slideshow Bild-Credit (wie About-Us Media)
   - Gleiche Optik/Text wie:
     #about_us.about-us-teaser .about-us-media-wrap::after
   ========================================================================== */
#distribution_retail .dist-photo-wrap{
    position: relative; /* nötig für korrektes Overlay-Positioning */
}

#distribution_retail .dist-photo-wrap::after{
    content: "© Sixpol Electronics";
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;

    padding: 0.18rem 0.42rem;
    border-radius: 8px;

    background: rgba(2, 6, 23, 0.28);
    color: rgba(229, 231, 235, 0.72);
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.01em;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    pointer-events: none;
    user-select: none;
    text-shadow: 0 1px 1px rgba(2, 6, 23, 0.35);
}

/* ==========================================================================
   Kontakt: Standort (#map) innerhalb des Kontakt-Blocks (#contact)
   - #map bleibt technisch eigenständig (Menu/section=map + Fokus-Sichtbarkeit)
   - app.js verschiebt #map in #contact und setzt .map-in-contact
   ========================================================================== */

#contact #map.map-in-contact {
  /* Als eigenständiger "Block" innerhalb des Kontakt-Hintergrundes */
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgba(2, 6, 23, 0.08);

  /* Außen-Padding: Innen-Container bleibt responsiv */
  padding: 1.75rem 0;

  /* Abstand zum restlichen Kontakt-Content */
  margin: 0 0 2.25rem 0;
}

/* Falls #map die alten Section-Klassen noch trägt, sauber überschreiben */
#contact #map.map-in-contact.bg-light {
  background: rgba(255, 255, 255, 0.68) !important;
}

#contact #map.map-in-contact.section-padding {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

/* Container im eingebetteten Block etwas "luftiger" (ohne das globale Grid zu brechen) */
#contact #map.map-in-contact .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 992px) {
  #contact #map.map-in-contact .container {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

@media (max-width: 991.98px) {
  #contact #map.map-in-contact {
    border-radius: 20px;
    margin-bottom: 1.75rem;
  }
}


/* ==========================================================================
   FIX v2: #map im Kontakt ohne äußere "Card"-Hülle
   - app.js setzt auf #map die Klasse .map-in-contact--plain
   - Ziel: #map übernimmt den Kontakt-Hintergrund; nur die inneren Elemente (Map/Adresse) bleiben "Card"-artig
   ========================================================================== */

#contact #map.map-in-contact.map-in-contact--plain {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;

  /* Abstand nach oben (zu Kontakt-Content) + unten (zum nächsten Block) */
  margin: 2.25rem 0 0 0 !important;
}

/* defensive: falls alte Section-Klassen noch dran sind */
#contact #map.map-in-contact.map-in-contact--plain.bg-light,
#contact #map.map-in-contact.map-in-contact--plain.section-padding {
  background: transparent !important;
  padding: 0 !important;
}

/* Verhindert doppeltes Bootstrap-Padding (container-in-container) */
#contact #map.map-in-contact .container.sixpol-map-inner-embedded {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* --------------------------------------------------------------------------
   Distribution: Distributoren & Partner (Logo-Grid)
   - Scoped nur auf #distribution_partners, damit andere Bereiche unbeeinflusst bleiben.
   -------------------------------------------------------------------------- */

#distribution_partners .dist-partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

#distribution_partners .dist-partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.07);
}

/* FARBE: kein grayscale mehr, nur minimal „ruhig“ per Opazität */
#distribution_partners .dist-partner-logo {
    max-height: 54px;
    width: auto;
    opacity: 0.95;
    filter: none; /* <- WICHTIG: Farbe aktiv */
    transition: opacity 160ms ease, filter 160ms ease;
}

/* Hover: etwas knackiger, aber weiterhin dezent */
#distribution_partners .dist-partner-card:hover .dist-partner-logo {
    opacity: 1;
    filter: saturate(1.06) contrast(1.02);
}

@media (max-width: 575.98px) {
    #distribution_partners .dist-partner-card { padding: 0.95rem; }
    #distribution_partners .dist-partner-logo { max-height: 46px; }
}





/* --------------------------------------------------------------------------
   Distribution: Distributoren & Partner – Auf-/Zuklappen (mit Blur-Fade)
   - Nur Ergänzung, keine Abhängigkeit von Bootstrap Collapse
   - JS setzt/liest Klassen: is-collapsed, is-expanded, is-expanding, is-collapsing, is-no-toggle
   -------------------------------------------------------------------------- */

#distribution_partners .dist-partners-collapsible {
    --dist-partners-collapsed-h: 280px;
    position: relative;
    border-radius: 1.5rem;
    max-height: none; /* JS setzt inline bei Bedarf */
}

@media (min-width: 768px) {
    #distribution_partners .dist-partners-collapsible { --dist-partners-collapsed-h: 340px; }
}

#distribution_partners .dist-partners-collapsible.is-collapsed,
#distribution_partners .dist-partners-collapsible.is-collapsing,
#distribution_partners .dist-partners-collapsible.is-expanding {
    overflow: hidden;
}

/* Extra Platz unten für Overlay + Toggle-Button */
#distribution_partners .dist-partners-collapsible.is-collapsed .dist-partners-collapsible__inner,
#distribution_partners .dist-partners-collapsible.is-collapsing .dist-partners-collapsible__inner {
    padding-bottom: 5.25rem;
}

#distribution_partners .dist-partners-collapsible.is-expanded .dist-partners-collapsible__inner {
    padding-bottom: 0;
}

/* Blur/Fade am unteren Rand, wenn eingeklappt */
#distribution_partners .dist-partners-collapsible.is-collapsed::after,
#distribution_partners .dist-partners-collapsible.is-collapsing::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.82) 55%, rgba(255,255,255,0.98));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    z-index: 1;
}

#distribution_partners .dist-partners-collapsible.is-no-toggle::after {
    display: none;
}

#distribution_partners .dist-partners-toggle {
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 44px rgba(2,6,23,0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#distribution_partners .dist-partners-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(13,110,253,0.18), 0 18px 44px rgba(2,6,23,0.10);
}

#distribution_partners .dist-partners-toggle:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 22px 56px rgba(2,6,23,0.14);
    background: rgba(255,255,255,0.98);
}

#distribution_partners .dist-partners-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(2,6,23,0.82);
}

#distribution_partners .dist-partners-toggle__icon svg {
    width: 22px;
    height: 22px;
    transition: transform 220ms ease;
}

#distribution_partners .dist-partners-collapsible.is-expanded .dist-partners-toggle__icon svg {
    transform: rotate(180deg);
}

/* Animation (nur max-height) */
#distribution_partners .dist-partners-collapsible {
    transition: max-height 380ms ease;
}

@media (prefers-reduced-motion: reduce) {
    #distribution_partners .dist-partners-collapsible { transition: none; }
    #distribution_partners .dist-partners-toggle,
    #distribution_partners .dist-partners-toggle__icon svg { transition: none; }
}
/* --------------------------------------------------------------------------
   Distribution: Kunden (Logo-Grid)
   - Scoped nur auf #distribution_customers, damit andere Bereiche unbeeinflusst bleiben.
   -------------------------------------------------------------------------- */

#distribution_customers .dist-customer-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

#distribution_customers .dist-customer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.07);
}

/* FARBE: kein grayscale mehr */
#distribution_customers .dist-customer-logo {
    max-height: 54px;
    width: auto;
    opacity: 0.95;
    filter: none; /* <- WICHTIG: Farbe aktiv */
    transition: opacity 160ms ease, filter 160ms ease;
}

#distribution_customers .dist-customer-card:hover .dist-customer-logo {
    opacity: 1;
    filter: saturate(1.06) contrast(1.02);
}

@media (max-width: 575.98px) {
    #distribution_customers .dist-customer-card { padding: 0.95rem; }
    #distribution_customers .dist-customer-logo { max-height: 46px; }
}


/* ==========================================================================
   FIX: Mobile-Overflow / weißer Balken rechts (Horizontal-Scroll verhindern)
   Ursache: seitliche Start-Transforms (.motion-slide-left/.motion-slide-right)
   ========================================================================== */

/* 1) Globaler Schutz: keine horizontale Scroll-Fläche erzeugen */
html, body{
  width: 100%;
  overflow-x: hidden;
}

/* 2) Targeted Fix: auf Mobile keine X-Verschiebung bei Motion-Reveal */
@media (max-width: 991.98px){
  .motion-item.motion-slide-left,
  .motion-item.motion-slide-right{
    /* statt translateX(±52px) nur „von unten“ starten */
    transform: translate3d(0, 14px, 0);
  }

  /* Wenn das Element eingeblendet ist, wie gehabt auf „normal“ */
  .motion-item.motion-slide-left.motion-in,
  .motion-item.motion-slide-right.motion-in{
    transform: none;
  }
}

