.carousel { position: relative; }
.swiper-wrapper { display: flex; }
.swiper-slide { display: flex; align-items: center; justify-content: center; }
.slide-media { width: 100%; max-width: 720px; overflow: hidden; }
.slide-media * { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-caption { padding: .5rem 1rem; font-weight: 600; }
.carousel-quote { font-size: 1.125rem; padding: 1rem; border-left: 4px solid #ccc; }

.video-group {
    display: block;
    width: 100%;
    max-width: 720px;
}

.h-100 {
    height: 100% !important;
}

.swiper-button-prev,
.swiper-button-next {
    width: 30px;
    height: 30px;
    background-color: rgba(255,255,255,.8); /* Beispiel Hintergrund */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #536475;
    font-size: 10px;
    text-align: center;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev:after {
    content: 'prev';
    font-size: 12px;
}

.swiper-button-next:after {
    content: 'next';
    font-size: 12px;
}

.swiper-pagination {
    display: none;
}

.carousel-headline {
    margin-top: 1rem;
    margin-left: .2rem;
}

.carousel .video-title {
    margin-top: .5rem;
    margin-bottom: 1rem;
}

/* Safari/iOS Video Fix für Swiper */
.swiper-slide video {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    background: black !important; /* vermeidet Safari-Renderfehler */
}

.swiper-slide {
    overflow: hidden !important;
}





/* Responsive Anpassung */
@media (max-width: 768px) {
    .slide-media { max-width: 100%; }
}
