/* Abstand/Position für den gesamten Bereich mit Carousel + Indikatoren */
.hero-carousel-wrapper {
    position: relative;
    /* Abstand nach unten steuerst du im Blade via mb-3, mb-4, ... */
}

/* ---------- Fortschritts-Balken-Leiste ---------- */

.carousel-indicators-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;          /* Abstand zwischen Balken */
    margin-top: 0.5rem;   /* Abstand vom Bild nach unten */
    padding-bottom: 0.5rem; /* Luft nach unten zum nächsten Content */
    position: relative;
    z-index: 20;
}

/* einzelner Balken */
.carousel-indicators-line .line-indicator {
    position: relative;
    width: 70px;
    height: 5px;
    border: none;
    border-radius: 999px;
    background-color: #000;  /* inaktiv: schwarz */
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

/* aktiver Balken: Basis gelb */
.carousel-indicators-line .line-indicator.active {
    background-color: #ffcc00; /* gelb */
}

/* schwarzer Overlay, der gelb "überdeckt" (läuft von links nach rechts) */
.carousel-indicators-line .line-indicator.active.anim-restart::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;                 /* wir schieben von links rein */
    width: 100%;
    height: 100%;
    background-color: #000;  /* schwarz */
    border-radius: 999px;
    transform: translateX(-100%);
    animation: fillToBlack 7s linear forwards;
}

@keyframes fillToBlack {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* ---------- Responsive Tweaks ---------- */

/* Tablet */
@media (max-width: 992px) {
    .carousel-indicators-line .line-indicator {
        width: 60px;
        height: 4px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-indicators-line .line-indicator {
        width: 45px;
        height: 3px;
    }
}

/* Sehr klein */
@media (max-width: 480px) {
    .carousel-indicators-line .line-indicator {
        width: 35px;
        height: 3px;
    }
}
