/* Leuchteffekt im Hauptmenü (2026-11-17) – nur Desktop mit Maus */
@media (hover: hover) and (min-width: 768px) {
    nav a.border-b-2 {
        position: relative;
        border-bottom-color: transparent !important;
        transition: color 0.25s ease, text-shadow 0.25s ease;
    }
    nav a.border-b-2::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, rgba(255,90,100,0), rgb(255,90,100) 20%, rgb(220,20,45) 50%, rgb(255,90,100) 80%, rgba(255,90,100,0));
        box-shadow: 0 0 8px rgba(220,20,45,0.9), 0 0 18px rgba(220,20,45,0.55);
        transform: scaleX(0);
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    nav a.border-b-2.border-brand::after { transform: scaleX(1); }
    nav a.border-b-2:hover,
    nav a.border-b-2:focus-visible {
        color: #fff;
        text-shadow: 0 0 10px rgba(255,90,100,0.85), 0 0 22px rgba(220,20,45,0.5);
    }
    nav a.border-b-2:hover::after,
    nav a.border-b-2:focus-visible::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    nav a.border-b-2::after { transition: none; }
}

/* =====================================================
   BUTTONS MIT GLOW (2026-11-17)
   Glanzlicht folgt dem Mauszeiger (--cx/--cy aus js/cta.js), Lichtstreifen beim
   Überfahren, Leuchtring in der Button-Farbe. Nur Maus; reduced-motion ohne Animation.
   ===================================================== */
:is(a, button)[class*="bg-brand"][class*="text-white"][class*="px-"],
:is(a, button)[class~="bg-navy"][class*="text-white"][class*="px-"],
:is(a, button)[class*="border-white"][class*="text-white"][class*="px-"],
:is(a, button)[class*="border-gray-400"][class*="px-"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
    :is(a, button)[class*="bg-brand"][class*="text-white"][class*="px-"]::before,
    :is(a, button)[class~="bg-navy"][class*="text-white"][class*="px-"]::before,
    :is(a, button)[class*="border-white"][class*="text-white"][class*="px-"]::before,
    :is(a, button)[class*="border-gray-400"][class*="px-"]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        pointer-events: none;
        background:
            linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .42) 50%, transparent 70%) no-repeat,
            radial-gradient(90px circle at var(--cx, 50%) var(--cy, 50%), rgba(255, 255, 255, .28), transparent 70%);
        background-size: 250% 100%, 100% 100%;
        background-position: 150% 0, 0 0;
        opacity: 0;
        transition: opacity .3s ease;
    }
    :is(a, button)[class*="px-"]:hover::before {
        opacity: 1;
        animation: glow-btn-sheen 1.1s cubic-bezier(.4, 0, .2, 1) both;
    }
    :is(a, button)[class*="bg-brand"][class*="text-white"][class*="px-"]:hover {
        transform: translateY(-2px);
        box-shadow:
            0 0 0 4px rgba(190,1,28, .24),
            0 14px 30px -10px rgba(190,1,28, .8),
            0 0 46px rgba(230,40,60, .6);
    }
    :is(a, button)[class~="bg-navy"][class*="text-white"][class*="px-"]:hover {
        transform: translateY(-2px);
        box-shadow:
            0 0 0 4px rgba(, .16),
            0 14px 30px -10px rgba(, .75),
            0 0 42px rgba(90, 140, 230, .55);
    }
    :is(a, button)[class*="border-white"][class*="text-white"][class*="px-"]:hover,
    :is(a, button)[class*="border-gray-400"][class*="px-"]:hover {
        transform: translateY(-2px);
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, .12),
            0 0 28px rgba(255, 255, 255, .55),
            inset 0 0 16px rgba(255, 255, 255, .15);
    }
}
@keyframes glow-btn-sheen {
    from { background-position: 150% 0, 0 0; }
    to   { background-position: -60% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    :is(a, button)[class*="px-"]:hover::before { animation: none; }
    :is(a, button)[class*="px-"]:hover { transform: none !important; }
}

/* Nachtrag 2026-11-17 (Komplettprüfung): schwebender Anruf-Button, weißer Button auf Markenfarbe, Filter-/Zurück-Knöpfe */
html .be-call { isolation: isolate; overflow: hidden; }
:is(a, button)[class*="bg-white"][class*="text-brand"][class*="px-"],
.filter-btn, :is(a, button)[class*="border-gray-300"][class*="px-"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --sheen: rgba(190,1,28, .18);
    --spot: rgba(190,1,28, .12);
}
@media (hover: hover) and (pointer: fine) {
    html .be-call::before,
    :is(a, button)[class*="bg-white"][class*="text-brand"][class*="px-"]::before,
    .filter-btn::before, :is(a, button)[class*="border-gray-300"][class*="px-"]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        pointer-events: none;
        background:
            linear-gradient(110deg, transparent 30%, var(--sheen, rgba(255, 255, 255, .42)) 50%, transparent 70%) no-repeat,
            radial-gradient(90px circle at var(--cx, 50%) var(--cy, 50%), var(--spot, rgba(255, 255, 255, .28)), transparent 70%);
        background-size: 250% 100%, 100% 100%;
        background-position: 150% 0, 0 0;
        opacity: 0;
        transition: opacity .3s ease;
    }
    html .be-call:hover::before, .filter-btn:hover::before {
        opacity: 1;
        animation: glow-btn-sheen 1.1s cubic-bezier(.4, 0, .2, 1) both;
    }
    html .be-call.show:hover, html .be-call:hover {
        box-shadow:
            0 0 0 4px rgba(190,1,28, .2),
            0 14px 32px -8px rgba(190,1,28, .8),
            0 0 46px rgba(230,40,60, .55);
    }
    :is(a, button)[class*="bg-white"][class*="text-brand"][class*="px-"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, .22), 0 0 28px rgba(255, 255, 255, .6), 0 0 60px rgba(255, 255, 255, .25);
    }
    .filter-btn:hover, :is(a, button)[class*="border-gray-300"][class*="px-"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 0 3px rgba(190,1,28, .14), 0 10px 24px -10px rgba(190,1,28, .6), 0 0 28px rgba(230,40,60, .4);
    }
}
@media (prefers-reduced-motion: reduce) {
    html .be-call:hover::before, .filter-btn:hover::before { animation: none; }
}
