:root {
    /* Navy Blue (Kanzlei-Hauptfarbe) überschreibt das Standard-Blau */
    --bs-primary: #1F3A61;
    --bs-primary-rgb: 31, 58, 97;

    /* Gold (Akzentfarbe) überschreibt Info */
    --bs-info: #FFB84D;
    --bs-info-rgb: 255, 184, 77;

    /* Etwas elegantere Grautöne für den Hintergrund */
    --bs-body-bg: #F8F9FA;
}

/* ========================================= */
/* BUTTONS & NAVIGATION                      */
/* ========================================= */

.btn {
    border-radius: 4px;
}

/* Grundzustand der Navigationslinks (volle Höhe) */
.custom-nav-link {
    color: white;
    padding: 20px 24px;
    transition: background-color 0.2s ease-in-out, color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Hover-Effekt: rechteckiger, leicht hellerer Hintergrund */
.custom-nav-link:hover {
    color: white !important;
    background-color: #0B1938;
}

/* Dropdown in der Navbar */
.custom-nav-dropdown {
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.custom-nav-dropdown:hover,
.custom-nav-dropdown:focus {
    background-color: #0B1938;
    color: white !important;
}

/* Kein Standard-Pfeil von Bootstrap */
.custom-nav-dropdown::after {
    display: none;
}

.custom-nav-link-active {
    background-color: #03103E;
    color: white !important;
}

/* Fokus-Rahmen entfernen */
.custom-nav-dropdown:focus,
.custom-nav-dropdown:active,
.custom-nav-link:focus,
.custom-nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Aktive Dropdown-Items */
.dropdown-item:active,
.dropdown-item.active {
    background-color: #0d6efd !important;
    color: white !important;
}

/* Eigene Hintergrundfarbe für die Navbar */
.custom-navbar-bg {
    background-color: #00001b !important;
}

/* Kontakt-Block rechts in der Navbar */
.custom-nav-contact-block {
    background-color: #3b5bdb;
    color: white !important;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.2s ease-in-out;
}

.custom-nav-contact-block:hover {
    background-color: #2b45ab;
}

/* Scrolling Navbar Effekt */
.navbar-transparent {
    background-color: transparent !important;
    transition: background-color 0.4s ease-in-out, border-bottom-color 0.4s ease-in-out;
    border-bottom: 2px solid transparent !important;
}

.navbar-solid {
    background-color: #00001b !important;
}

/* ========================================= */
/* HERO-BEREICH                              */
/* ========================================= */

.hero-section {
    background: radial-gradient(circle at 75% 50%, #3347F7 0%, #00001b 100%);
    min-height: 720px;
}

.parallax-icon {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.15s ease-out;
}

.parallax-text,
.parallax-img {
    transition: transform 0.15s ease-out;
}

/* Responsive (Handy) */
@media (max-width: 768px) {
    .hero-section {
        background: linear-gradient(180deg, #3347F7 0%, #00001b 100%);
        min-height: auto;
        padding-top: 80px;
    }

    .parallax-icon {
        opacity: 0.1 !important;
    }
}

/* ========================================= */
/* GLASS CTA BUTTON                          */
/* ========================================= */

.glass-glow-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
    rgba(58, 99, 255, 0.85) 0%,
    rgba(26, 54, 219, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.2),
            inset 0 2px 5px rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-glow-btn:hover {
    transform: translateY(-4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
            0 12px 25px rgba(58, 99, 255, 0.4),
            inset 0 2px 5px rgba(255, 255, 255, 0.3) !important;
}

/* Maus-Tracking-Licht */
.glass-glow-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
            180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.35) 0%,
            transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.glass-glow-btn:hover::before {
    opacity: 1;
}

.glass-glow-btn .btn-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================= */
/* PFEIL & PORTRAIT                          */
/* ========================================= */

.bounce-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Portrait-Hover */
.portrait-hover {
    transition: transform 0.4s ease-out, filter 0.4s ease-out;
    filter: drop-shadow(-10px 0px 15px rgba(0,0,0,0.3));
}

.portrait-hover:hover {
    transform: scale(1.02);
    filter: drop-shadow(-5px 5px 20px rgba(0,0,0,0.5));
    cursor: pointer;
}

/* ========================================= */
/* GLASSMORPHISM-KACHELN (Services)          */
/* ========================================= */

/* Basis-Glass-Card */
.glass-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;

    /* Frosted-Glass-Grundfläche */
    background: rgba(15, 25, 56, 0.45);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

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

/* Schimmer oben links */
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.04) 45%,
    rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    opacity: 0.9;
}

/* Farbiger Gradient-Halo unten rechts */
.glass-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at bottom right,
    rgba(13, 110, 253, 0.65),
    rgba(102, 16, 242, 0.0) 55%);
    opacity: 0.45;
    z-index: -1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Inhalt über Pseudo-Elementen */
.glass-card > * {
    position: relative;
    z-index: 1;
}

/* Hover: Karte hebt sich und Glow wird stärker */
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 255, 255, 0.35);
}

.glass-card:hover::after {
    opacity: 0.8;
    transform: translate3d(0, -4px, 0);
}

/* Unterschiedliche Farbstimmungen pro Karte */
.glass-card-1::after {
    background: radial-gradient(circle at bottom right,
    rgba(13, 110, 253, 0.75),
    rgba(59, 99, 255, 0.0) 55%);
}

.glass-card-2::after {
    background: radial-gradient(circle at bottom right,
    rgba(102, 16, 242, 0.75),
    rgba(220, 53, 69, 0.0) 55%);
}

.glass-card-3::after {
    background: radial-gradient(circle at bottom right,
    rgba(25, 135, 84, 0.75),
    rgba(13, 202, 240, 0.0) 55%);
}

.glass-card-4::after {
    background: radial-gradient(circle at bottom right,
    rgba(255, 193, 7, 0.8),
    rgba(255, 69, 0, 0.0) 55%);
}

/* Icon-Badge in der Karte */
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.05));
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Icon leicht „springen“ lassen beim Hover */
.glass-card:hover .icon-circle {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
            0 12px 26px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.6);
}

.rechtsgebiet-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ========================================= */
/* KONTAKTSEITE – ORBIT-LAYOUT              */
/* ========================================= */

/* Hintergrund für die Kontaktseite */
.page-content.contact-page {
    background-color: #00001b;
    background-image:
            radial-gradient(circle at center, rgba(76, 92, 216, 0.35) 0, transparent 55%),
            radial-gradient(circle at 10% 90%, rgba(167, 139, 250, 0.15) 0, transparent 55%);
}

/* Hero-Textbereich */
.contact-hero {
    text-align: left;
    max-width: 46rem;
}

.contact-hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c8fff;
    margin-bottom: 0.75rem;
}

.contact-hero-title {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.contact-hero-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 40rem;
}

/* Orbit-Bereich */
.contact-orbit-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem; /* etwas Abstand nach unten, auch mobil */
}

.contact-orbit-wrapper {
    position: relative;
    width: clamp(300px, 45vw, 460px);
    height: clamp(300px, 45vw, 460px);
}

/* auf großen Screens weiter von der Navbar abrücken */
@media (min-width: 992px) {
    .contact-orbit-shell {
        margin-top: 3rem;
    }
}

/* Kreisbahn (dreht sich permanent) */
.contact-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    animation: contact-orbit-rotate 36s linear infinite;
}

/* Container für die einzelne Blase */
.contact-orbit-bubble {
    position: absolute;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: contact-orbit-counter 36s linear infinite;
}

/* Glas-Badge – angelehnt an .icon-circle */
.contact-orbit-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.05));
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-orbit-badge img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Hover-Effekt wie bei den Service-Kacheln */
.contact-orbit-bubble:hover .contact-orbit-badge {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
            0 12px 26px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* Farbiger Glow je Rechtsgebiet */
.contact-bubble-familienrecht .contact-orbit-badge {
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(246, 165, 192, 0.7),
            0 0 0 1px rgba(255, 255, 255, 0.35);
}
.contact-bubble-erbrecht .contact-orbit-badge {
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(147, 197, 253, 0.7),
            0 0 0 1px rgba(255, 255, 255, 0.35);
}
.contact-bubble-immobilienrecht .contact-orbit-badge {
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(134, 239, 172, 0.7),
            0 0 0 1px rgba(255, 255, 255, 0.35);
}
.contact-bubble-sozialrecht .contact-orbit-badge {
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(196, 181, 253, 0.7),
            0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Positionen auf dem Ring */
.contact-orbit-pos-top {
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
}
.contact-orbit-pos-right {
    right: -52px;
    top: 50%;
    transform: translateY(-50%);
}
.contact-orbit-pos-bottom {
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
}
.contact-orbit-pos-left {
    left: -52px;
    top: 50%;
    transform: translateY(-50%);
}

/* Labels unter den Blasen */
.contact-orbit-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 160ms ease-out;
    pointer-events: none;
}

.contact-orbit-bubble:hover .contact-orbit-label {
    opacity: 1;
}

/* Zentrum mit Buttons (nutzt .glass-glow-btn) */
.contact-orbit-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 2;
    pointer-events: none;
}

/* Größerer Licht-Gradient im Zentrum */
.contact-orbit-center::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 143, 255, 0.26) 0, transparent 55%);
    pointer-events: none;
}

.contact-orbit-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    pointer-events: all;
}

.contact-orbit-buttons .glass-glow-btn {
    border-radius: 999px;
    font-size: 0.9rem;
    padding: 0.7rem 1.8rem;
}

.contact-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .contact-orbit-buttons {
        flex-direction: row;
    }
}

/* Zusatzinfos unter dem Orbit */
.contact-meta {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Google-Map-Sektion (volle Breite) */
.contact-map-section {
    background-color: #0B1938;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-map-heading {
    color: #ffffff;
}

.contact-map-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Vollbreite, responsiver Map-Container */
/* Vollbreite, responsiver Map-Container */
.contact-map-frame {
    position: relative;
    width: 100%;
    /* NEU: Wächst minimal mit, bleibt aber zwischen 300px und maximal 400px Höhe */
    height: clamp(300px, 25vw, 400px);
    overflow: hidden;
    background-color: #000000;
}

.contact-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Overlay für 2-Klick-Lösung */
.contact-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(11,25,56,0.9), rgba(0,0,0,0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.contact-map-overlay h5 {
    color: #ffffff;
}

.contact-map-overlay p {
    color: rgba(255, 255, 255, 0.7);
}

/* Animationen */
@keyframes contact-orbit-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes contact-orbit-counter {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .contact-orbit-ring,
    .contact-orbit-bubble {
        animation: none !important;
    }
}

/* Mobile Feintuning */
@media (max-width: 576px) {
    .contact-orbit-wrapper {
        width: 260px;
        height: 260px;
    }
    .contact-orbit-pos-top { top: -46px; }
    .contact-orbit-pos-right { right: -46px; }
    .contact-orbit-pos-bottom { bottom: -46px; }
    .contact-orbit-pos-left { left: -46px; }
    .contact-map-frame {
        /* Feste, übersichtliche Höhe für Handys */
        height: 300px;
        padding-bottom: 0; /* Überschreibt alte Werte, falls noch vorhanden */
    }
}

/* ========================================= */
/* GLASS FAQ AKKORDEON                       */
/* ========================================= */

.glass-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-color: #ffffff;
    --bs-accordion-border-color: transparent;
}

.glass-accordion .accordion-item {
    background: rgba(15, 25, 56, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
    border-radius: 1rem !important;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.glass-accordion .accordion-button {
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

/* Geöffneter Zustand */
.glass-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(140, 168, 255, 0.1);
    color: #8ca8ff; /* Passt zum Text-Gradienten */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pfeil-Icon einfärben (Weiß im Standard, Blau wenn geöffnet) */
.glass-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.glass-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(75%) sepia(35%) saturate(3000%) hue-rotate(195deg) brightness(105%) contrast(105%);
}

.glass-accordion .accordion-body {
    color: rgba(255, 255, 255, 0.75);
    padding: 1.25rem 1.5rem;
    line-height: 1.6;
}

/* ========================================= */
/* MOBILE NAVBAR (< 992px) — FINAL FIX      */
/* ========================================= */
@media (max-width: 991px) {

    /* 1. Navbar immer dunkel */
    #main-navbar {
        background-color: #00001b !important;
    }

    /* 2. Menü-Container: absolut positioniert mit expliziter Auto-Höhe */
    #navbarContent {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        height: auto !important; /* SCHLÜSSEL: verhindert h-100 = 0px Bug */
        background-color: #0B1938 !important;
        border-bottom: 2px solid #0d6efd;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
        z-index: 1049;
        padding: 0 !important;
    }

    /* 3. UL: h-100 deaktivieren & Zentrierung aufheben (WURZEL-FIX) */
    #navbarContent ul.nav {
        height: auto !important;      /* h-100 Bootstrap-Klasse überschreiben */
        align-items: stretch !important; /* Kein align-items-center mehr */
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 4. LI: h-100 und py-2/py-3 entfernen (KEINE LÜCKEN MEHR) */
    #navbarContent .nav-item {
        height: auto !important;   /* h-100 Bootstrap-Klasse überschreiben */
        padding: 0 !important;     /* py-2/py-3 deaktivieren */
        margin: 0 !important;
        width: 100%;
        display: block !important;
    }

    /* 5. Haupt-Links: volle Breite, rechtsbündig, nahtlos */
    #navbarContent .custom-nav-link,
    #navbarContent .custom-nav-dropdown {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 52px;
        padding: 0 20px !important;
        justify-content: flex-end !important;
        align-items: center !important;
        background-color: #0B1938 !important;
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        transition: background-color 0.2s ease;
    }

    #navbarContent .custom-nav-link:hover,
    #navbarContent .custom-nav-dropdown:hover {
        background-color: #0d224d !important;
    }

    /* Aktiver Link: blauer Balken rechts */
    #navbarContent .custom-nav-link-active {
        border-right: 3px solid #0d6efd !important;
        background-color: rgba(13, 110, 253, 0.08) !important;
    }

    /* 6. Untermenü (Rechtsgebiete): statisch & dunkel */
    #navbarContent .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        background-color: #050d1e !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #navbarContent .dropdown-item {
        height: auto !important;
        padding: 14px 20px !important;
        text-align: right !important;
        color: rgba(255, 255, 255, 0.75) !important;
        background-color: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    #navbarContent .dropdown-item:last-child {
        border-bottom: none !important;
    }

    #navbarContent .dropdown-item:hover,
    #navbarContent .dropdown-item.active {
        color: #4d8fff !important;
        background-color: rgba(255, 255, 255, 0.03) !important;
    }

    /* 7. Admin-Button */
    #navbarContent .nav-item:has(.btn-warning) {
        padding: 12px 20px !important;
    }
    #navbarContent .btn-warning {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* 8. Kontakt-Block als abgerundeter Button unten */
    #navbarContent .custom-nav-contact-block {
        display: flex !important;
        margin: 12px 20px !important;
        width: calc(100% - 40px) !important;
        height: auto !important;
        min-height: 48px;
        padding: 0 20px !important;
        border-radius: 6px !important;
        justify-content: center !important;
        background-color: #3b5bdb !important;
        border-bottom: none !important;
        border-right: none !important;
    }
}

/* ========================================= */
/* GLASS TIMELINE (Lebenslauf)               */
/* ========================================= */
.glass-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin-top: 1rem;
}

.glass-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11px;
    width: 2px;
    /* KEIN ORANGE MEHR: Verlauf von kräftigem zu hellem Blau */
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.8) 0%, rgba(140, 168, 255, 0.4) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #3b5bdb, #0B1938);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    /* KEIN ORANGE MEHR: Helles Blau als Hover-Glow */
    box-shadow: 0 0 20px rgba(140, 168, 255, 0.8);
    border-color: #8ca8ff;
}

.timeline-item .glass-card {
    min-height: auto;
    padding: 1.5rem;
    border-radius: 1rem;
}

.timeline-year {
    font-weight: 700;
    /* KEIN ORANGE MEHR: Helles Blau für die Jahreszahlen */
    color: #8ca8ff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* ========================================= */
/* STATISTIK-BOXEN (Über mich)               */
/* ========================================= */
.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}
.stat-box:hover {
    background: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateY(-3px);
}
.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 85svh !important;
    }
}

/* =========================================
   INDEX-SEITE (site-home)
   ========================================= */

.site-home {
    overflow-x: clip;
}

/* Basis */
.site-home .hero-section {
    min-height: clamp(550px, 100svh, 65vh);
    height: 65vh;
    padding-top: 100px;
    background: radial-gradient(circle at 80% 40%,
    #ffffff 0%,
    #ffffff 12%,
    #0044ff 30%,
    #0011aa 55%,
    #02051a 80%,
    #000005 100%);
    isolation: isolate;
}

.site-home .hero-shell {
    padding-top: 0;
    padding-bottom: 0;
}

.site-home .hero-copy {
    max-width: 31rem;
    width: 100%;
    margin-inline: auto;
}

.site-home .hero-portrait-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.site-home .hero-portrait {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-home .hero-copy .hero-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Mobile + iPad Hochformat + iPad Querformat */
@media (max-width: 1024px) {
    .site-home .hero-section {
        display: block !important;
        height: auto !important;
        min-height: 100svh !important;
        padding-top: 140px !important;
        padding-bottom: 0 !important;
    }

    .site-home .hero-portrait-wrap {
        margin-top: 2.5rem;
        justify-content: center;
        align-items: flex-end;
    }

    .site-home .hero-portrait {
        width: 100%;
        max-width: 72vw !important;
        min-width: 320px;
        max-height: 48vh;
        object-position: bottom;
        margin-bottom: -1px;
    }

    .site-home .hero-copy {
        max-width: 80% !important;
    }

    .site-home .hero-copy .hero-button-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Desktop ab 1025px */
@media (min-width: 1025px) {
    .site-home .hero-section {
        display: flex;
        align-items: stretch !important;
        padding-bottom: 0 !important;
    }

    .site-home .hero-shell {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

    .site-home .hero-shell .row {
        align-items: stretch !important;
        flex-grow: 1;
    }

    .site-home .hero-shell .col-lg-5 {
        display: flex;
        align-items: center;
    }

    .site-home .hero-portrait-wrap {
        height: 100%;
        justify-content: flex-end !important;
        align-items: flex-end !important;
        padding-right: clamp(0px, 2vw, 2rem) !important;
        margin-top: 0 !important;
    }

    .site-home .hero-portrait {
        max-width: clamp(320px, 30vw, 520px) !important;
        max-height: 70vh;
        object-position: bottom;
        margin-bottom: -1px;
    }

    .site-home .hero-copy {
        max-width: clamp(30rem, 32vw, 40rem) !important;
        margin-inline: 0 !important;
    }

    .site-home .hero-button-wrapper {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 15%;
        width: auto !important;
        z-index: 10;
        margin-bottom: 0 !important;
    }
}

/* Sehr breite Monitore */
@media (min-width: 1400px) {
    .site-home .hero-section .container {
        max-width: 98% !important;
    }

    .site-home .hero-shell .row {
        justify-content: space-between !important;
    }

    .site-home .hero-portrait-wrap {
        margin-right: -3rem !important;
    }

    .site-home .hero-portrait {
        max-width: clamp(550px, 40vw, 900px) !important;
    }

    .site-home .hero-copy {
        margin-left: 8vw !important;
    }
}

/* Rest */
.site-home .services-grid .glass-card {
    min-height: 220px;
}

.site-home .trust-copy {
    max-width: 52rem;
}

.site-home #kanzleiCarousel .carousel-item img {
    height: clamp(240px, 45vw, 450px);
    object-fit: cover;
}

.site-home #kanzleiCarousel .carousel-control-prev,
.site-home #kanzleiCarousel .carousel-control-next {
    width: 3rem;
    min-width: 44px;
    min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
    .site-home .parallax-icon,
    .site-home .bounce-arrow,
    .site-home .carousel-item,
    .site-home .carousel-item img {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* Smartphone: kleiner und scrollbarer */
@media (max-width: 767px) {
    .site-home .hero-section {
        display: block !important;
        height: auto !important;
        min-height: 82svh !important;
        padding-top: 112px !important;
        padding-bottom: 1.5rem !important;
    }

    .site-home .hero-portrait-wrap {
        margin-top: 1.25rem;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .site-home .hero-portrait {
        width: 100% !important;
        max-width: 88vw !important;  /* Vorher 74vw: Macht das Bild deutlich breiter */
        max-height: 42svh !important; /* Vorher 30svh: Darf jetzt viel höher wachsen */
        object-position: bottom;
        margin-bottom: -1px !important;
    }

    .site-home .hero-copy {
        max-width: 92% !important;
    }

    .site-home .hero-copy .hero-button-wrapper {
        margin-bottom: 0.75rem !important;
    }

    .site-home .hero-section .bounce-arrow {
        opacity: 0.65;
        transform: scale(0.9);
    }

    .site-home #hero-heading {
        font-size: 2.8rem !important;
        line-height: 1.15 !important;
    }

    .site-home .hero-scroll-indicator {
        bottom: 12px !important; /* Etwas näher an den unteren Rand rücken */
        transform: translateX(-50%) scale(0.85); /* Macht den Pfeil minimal kleiner */
    }
}

@media (max-width: 767px) {
    .site-home section {
        background-color: #00001b;
    }

    .site-home .services-grid {
        padding-bottom: 2rem !important;
    }

    .site-home .trust-copy {
        padding-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .site-home .services-grid + section,
    .site-home .services-grid {
        margin-bottom: 0 !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 767px) {
    .site-home #profil,
    .site-home #profil + section,
    .site-home section.pb-5 {
        background-color: #00001b !important;
    }

    .site-home #profil .container {
        padding-bottom: 0 !important;
    }

    .site-home #profil .row {
        margin-bottom: 0 !important;
    }

    .site-home #profil .glass-card {
        margin-bottom: 0 !important;
    }

    .site-home section.pb-5 {
        padding-top: 1.25rem !important;
        padding-bottom: 2rem !important;
    }

    .site-home section.pb-5 .container {
        padding-bottom: 0 !important;
    }

    .site-home section.pb-5 .card {
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: clip !important;
    }

    .page-content,
    .hero-section,
    .site-home,
    .site-home .hero-section {
        overflow-x: clip !important;
    }

    .hero-section .row,
    .site-home .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-section .container,
    .site-home .hero-section .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
