
/* TOPSAT24 SHARED HEADER BEGIN */

.topsat24-shared-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    width: 100% !important;
    overflow: hidden !important;

    background:
        radial-gradient(
            ellipse 850px 230px at 36% 50%,
            rgba(8, 72, 169, 0.72) 0%,
            rgba(5, 44, 103, 0.64) 42%,
            rgba(3, 20, 42, 0.92) 74%,
            #020b16 100%
        ) !important;

    border-bottom:
        1px solid rgba(47, 166, 232, 0.20) !important;

    box-shadow:
        0 12px 34px rgba(0, 5, 14, 0.30) !important;
}

.topsat24-shared-inner {
    width: min(1220px, calc(100% - 32px)) !important;
    min-height: 166px !important;
    margin: 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
}

.topsat24-shared-brand {
    position: relative !important;
    display: block !important;

    width: min(720px, 65vw) !important;
    height: 158px !important;
    flex: 0 1 720px !important;

    margin: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;

    background: #020b16 !important;
    text-decoration: none !important;
}

/* Blauer Schein hinter dem eigentlichen Bild */
.topsat24-shared-brand::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 8% 5%;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 104, 230, 0.32) 0%,
            rgba(0, 69, 163, 0.17) 48%,
            transparent 80%
        );

    filter: blur(16px);
}

/* Bildränder mit der Leiste verbinden */
.topsat24-shared-brand::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to right,
            #020b16 0%,
            rgba(2, 11, 22, 0.86) 3%,
            rgba(2, 11, 22, 0.30) 9%,
            transparent 16%,
            transparent 84%,
            rgba(2, 11, 22, 0.30) 91%,
            rgba(2, 11, 22, 0.86) 97%,
            #020b16 100%
        ),
        linear-gradient(
            to bottom,
            rgba(2, 11, 22, 0.78) 0%,
            rgba(2, 11, 22, 0.20) 9%,
            transparent 18%,
            transparent 82%,
            rgba(2, 11, 22, 0.20) 91%,
            rgba(2, 11, 22, 0.78) 100%
        );
}

.topsat24-shared-logo {
    position: absolute !important;
    z-index: 1 !important;

    top: 50% !important;
    left: 50% !important;

    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: translate(-50%, -50%) !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.topsat24-shared-desktop-nav {
    position: relative !important;
    z-index: 4 !important;
    flex: 0 0 auto !important;
}

.topsat24-shared-desktop-nav ul {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.topsat24-shared-desktop-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #f2f7fc !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.topsat24-shared-desktop-nav a:hover,
.topsat24-shared-desktop-nav a.active {
    color: #40c9f7 !important;
}

.topsat24-shared-desktop-nav a.contact {
    padding: 11px 17px !important;
    color: #ffffff !important;
    border: 1px solid #31bff2 !important;
    border-radius: 999px !important;
}

.topsat24-shared-mobile-nav {
    display: none !important;
}

/* Tablet und Smartphone */
@media (max-width: 960px) {

    .topsat24-shared-header {
        position: relative !important;

        background:
            linear-gradient(
                to bottom,
                #020b16 0%,
                #05234f 50%,
                #020b16 100%
            ) !important;
    }

    .topsat24-shared-inner {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .topsat24-shared-brand {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        aspect-ratio: 2104 / 747;
        margin: 0 !important;
        flex: none !important;
    }

    .topsat24-shared-logo {
        width: calc(100% - 24px) !important;
    }

    /*
     * Mobil keine seitliche Abdunklung:
     * Globus und Zahl 4 bleiben vollständig sichtbar.
     */
    .topsat24-shared-brand::after {
        background:
            linear-gradient(
                to bottom,
                rgba(2, 11, 22, 0.76) 0%,
                rgba(2, 11, 22, 0.18) 8%,
                transparent 16%,
                transparent 84%,
                rgba(2, 11, 22, 0.18) 92%,
                rgba(2, 11, 22, 0.76) 100%
            );
    }

    .topsat24-shared-desktop-nav {
        display: none !important;
    }

    .topsat24-shared-mobile-nav {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;

        background:
            linear-gradient(
                90deg,
                #020b16,
                #08213d,
                #020b16
            ) !important;

        border-top:
            1px solid rgba(49, 191, 242, 0.16) !important;

        border-bottom:
            1px solid rgba(49, 191, 242, 0.20) !important;

        scrollbar-width: none;
    }

    .topsat24-shared-mobile-nav::-webkit-scrollbar {
        display: none;
    }

    .topsat24-shared-mobile-nav-inner {
        display: flex !important;
        gap: 8px !important;

        width: max-content !important;
        min-width: 100% !important;

        margin: 0 !important;
        padding: 9px 10px !important;
        white-space: nowrap !important;
    }

    .topsat24-shared-mobile-nav a {
        flex: 0 0 auto !important;

        padding: 10px 16px !important;

        color: #f4f9ff !important;
        background: rgba(255, 255, 255, 0.065) !important;

        border:
            1px solid rgba(255, 255, 255, 0.13) !important;

        border-radius: 999px !important;

        font-size: 15px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
    }

    .topsat24-shared-mobile-nav a.active {
        color: #ffffff !important;
        background: #092844 !important;
        border-color: #31bff2 !important;

        box-shadow:
            0 0 18px rgba(49, 191, 242, 0.12);
    }
}

/* Smartphone im Querformat */
@media
    (orientation: landscape)
    and (max-width: 1000px)
    and (max-height: 650px) {

    .topsat24-shared-brand {
        height: 164px !important;
        aspect-ratio: auto !important;
    }

    .topsat24-shared-logo {
        width: calc(100vw - 54px) !important;
    }
}

/* TOPSAT24 SHARED HEADER END */
