:root {
    --slider-height: 100%; /* Standardhöhe (1/2 der Bildschirmhöhe) */
    --mobile-slider-min-height: 320px; /* Mobile Höhe fix */
}

.rot-gsap-slider {
    position: relative;
    width: 100%;
    height: var(--slider-height);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rot-gsap-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.rot-gsap-slider .slide-content {
    background: rgb(255 255 255 / 70%);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 2px;
    max-width: 300px;
    z-index: 3;
    position: absolute;
    bottom: calc(2rem + var(--header-caption-spacing-y));
    left: var(--container-margin);
}

.rot-gsap-slider .slide.active {
    opacity: 1;
}

.slide-bg-img{
    z-index:0;
}
.slide-bg-img>img,
.slide-bg-img{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.slide-bg-img>img{
    object-fit:cover;
}

@media (max-width: 767.98px) {
    .rot-gsap-slider {
        min-height: var(--mobile-slider-min-height);
    }
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: #fff;
}

.slide-content{
	transition:opacity .4s;
}
.slide-content:not(.showing){
	opacity:0;
}
@media(min-width:992px){

}