.home-hero-slider {
    margin-top: 0;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.home-hero-slider__carousel,
.home-hero-slider__carousel .carousel-inner,
.home-hero-slider__carousel .carousel-item {
    height: 100%;
}

.home-hero-slider__carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dunkles Overlay fuer Textlesbarkeit */
.home-hero-slider__carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.35) 75%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

/* Text-Overlay auf jedem Slide */
.home-hero-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 10% 60px;
    text-align: center;
}

.home-hero-slider__heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.home-hero-slider__text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Controls */
.home-hero-slider .carousel-control-prev,
.home-hero-slider .carousel-control-next {
    width: 8%;
    z-index: 3;
}

.home-hero-slider__indicators {
    z-index: 3;
    margin-bottom: 1.25rem;
}

.home-hero-slider__indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin: 0 5px;
}

.home-hero-slider .carousel-control-prev-icon,
.home-hero-slider .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.35);
    background-size: 55% 55%;
}

/* Tablet */
@media (max-width: 991.98px) {
    .home-hero-slider {
        height: 420px;
    }

    .home-hero-slider__heading {
        font-size: 1.6rem;
    }

    .home-hero-slider__text {
        font-size: 0.95rem;
    }

    .home-hero-slider__caption {
        padding: 0 8% 50px;
    }
}

/* Mobil */
@media (max-width: 767.98px) {
    .home-hero-slider {
        height: 360px;
        border-radius: 0;
    }

    .home-hero-slider .carousel-control-prev,
    .home-hero-slider .carousel-control-next {
        width: 12%;
    }

    .home-hero-slider__heading {
        font-size: 1.3rem;
    }

    .home-hero-slider__text {
        font-size: 0.85rem;
    }

    .home-hero-slider__caption {
        padding: 0 6% 45px;
    }
}
