/* Banner-Section genau 100vh minus Nav */
.banner-section {
    position: relative;
    height: calc(100vh - 45px);
    overflow: hidden;
}

/* Overlay-Text (Titel links, Logo rechts) */
.banner-section .overlay-text {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    z-index: 3;
}
.overlay-text-left {
    max-width: 60%;
}
.banner-title {
    font-size: clamp(2rem, 3vw, 5rem);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}
.banner-subtitle {
    font-size: clamp(1rem, 2vw, 2rem);
    margin: 0;
}
.overlay-logo {
    text-align: center;
}
.banner-logo {
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin-left: 1rem;
    box-shadow: none;
    border-radius: 0;
}
.overlay-logo p {
    margin: 0;
}
.overlay-logo a {
    color: inherit;
    text-decoration: none;
}
.overlay-logo a:hover {
    text-decoration: underline;
}

/* Carousel & Slides füllen Container */
#bannerCarousel,
#bannerCarousel .carousel-inner,
#bannerCarousel .carousel-item {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* Bild/Video passt sich an */
#bannerCarousel img,
#bannerCarousel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* sanfter Fade-Out am unteren Rand */
.banner-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 100%,
        var(--color-default-bg) 100%
        );
    z-index: 2;
}

/* Inhalt darunter scrollt normal */
#below-banner {
    padding: 2rem 1rem;
}

/* Mobile-Anpassung: Text über Logo */
@media (max-width: 768px) {
    .banner-section .overlay-text {
        flex-direction: column;
        text-align: center;
    }
    .overlay-text-left,
    .banner-logo {
        width: 80%;
        max-width: 100%;
    }
    .banner-logo {
        margin: 1rem auto 0;
    }
}
