/* Testimonial Carousel Styles - Konfliktfrei */
.testi-carousel-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

/* Perspektive verstärkt sich auf größeren Bildschirmen */
@media (min-width: 1400px) {
    .testi-carousel-container {
        perspective: 1800px;
    }
}

@media (min-width: 1920px) {
    .testi-carousel-container {
        perspective: 2400px;
    }
}

.testi-carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.testi-carousel-slide {
    position: absolute;
    width: 500px;
    max-width: 90%;
    height: 350px;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
}

.testi-carousel-slide-inner {
    width: 100%;
    height: 100%;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dotted portrait overlay - punktierter Effekt */
.testi-carousel-slide-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.4) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.5;
    z-index: 1;
}

/* Gradient overlay für bessere Lesbarkeit */
.testi-carousel-slide-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.testi-quote {
    position: relative;
    z-index: 3;
    color: white;
    text-align: left;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.testi-author {
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Pause/Play Indikator */
.testi-carousel-status {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.7;
    z-index: 100;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .testi-carousel-container {
        height: 450px;
        perspective: 800px;
    }

    .testi-carousel-slide {
        width: 90%;
        height: 400px;
    }

    .testi-carousel-slide-inner {
        padding: 30px;
    }

    .testi-quote {
        font-size: 16px;
    }
}
