/* Testimonial Popup Styles - Angepasst an Corporate Design */
.testimonial-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-popup-overlay.visible {
    display: flex;
    opacity: 1;
}

.testimonial-popup-box {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(224, 76, 179, 0.3), 0 8px 32px rgba(0,0,0,0.4);
    border-radius: 0;
    overflow: hidden;
    border: 3px solid #E04CB3;
    background: #fff;
}

.testimonial-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    border: none;
    font-size: 3.5rem;
    color: #E04CB3;
    cursor: pointer;
    z-index: 2100;
    line-height: 1;
    padding: 0;
    font-family: 'Anton', Arial, sans-serif;
    transition: color 0.3s ease;
}

.testimonial-close-btn:hover {
    color: #B34B7D;
}

.testimonial-slider {
    width: 100%;
    height: 100%;
}

.testimonial-slide {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 4rem;
    animation: slideFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
}

@keyframes slideFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.testimonial-slide.active-slide {
    display: flex;
}

.testimonial-slide.dark-slide {
    background: #111;
    color: #fff;
}

.testimonial-slide.light-slide {
    background: #fff;
    color: #111;
}

.testimonial-slide .quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
    position: relative;
}

.testimonial-slide.dark-slide .quote {
    color: #fff;
}

.testimonial-slide.light-slide .quote {
    color: #111;
}

.testimonial-slide .quote::before {
    content: '"';
    font-size: 3.5rem;
    color: #E04CB3;
    position: absolute;
    top: -0.5rem;
    left: -1.5rem;
    font-family: 'Anton', Arial, sans-serif;
}

.testimonial-slide .quote::after {
    content: '"';
    font-size: 3.5rem;
    color: #E04CB3;
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    font-family: 'Anton', Arial, sans-serif;
}

.testimonial-slide .author {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #E04CB3;
    letter-spacing: 0.5px;
    border-top: 1px solid #E04CB3;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.slider-arrow-popup {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #E04CB3;
    font-size: 2rem;
    width: auto;
    height: auto;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease, font-size 0.3s ease;
    font-family: 'Anton', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.slider-arrow-popup:hover {
    color: #B34B7D;
    background: transparent;
    font-size: 2.3rem;
}

.slider-arrow-popup.prev {
    left: 1rem;
}

.slider-arrow-popup.next {
    right: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-popup-box {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
        border-width: 2px;
    }
    
    .testimonial-slide {
        padding: 3rem 2rem;
        min-height: 350px;
    }
    
    .testimonial-slide .quote {
        font-size: 1.6rem;
        margin-bottom: 2rem;
        max-width: 95%;
        line-height: 1.7;
    }
    
    .testimonial-slide .quote::before,
    .testimonial-slide .quote::after {
        font-size: 2.5rem;
    }
    
    .testimonial-slide .author {
        font-size: 1rem;
        padding-top: 1.2rem;
    }
    
    .slider-arrow-popup {
        width: auto;
        height: auto;
        font-size: 1.8rem;
        padding: 0.8rem;
        transition: color 0.3s ease, font-size 0.3s ease;
    }
    
    .slider-arrow-popup:hover {
        font-size: 2.1rem;
    }
    
    .slider-arrow-popup.prev { 
        left: 0.5rem; 
    }
    
    .slider-arrow-popup.next { 
        right: 0.5rem; 
    }
    
    .testimonial-close-btn { 
        top: 1rem; 
        right: 1.5rem; 
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .testimonial-popup-box {
        width: 98%;
        max-height: 95vh;
        margin: 0.5rem;
        border-width: 1px;
    }
    
    .testimonial-slide {
        padding: 2.5rem 1.5rem;
        min-height: 280px;
    }
    
    .testimonial-slide .quote {
        font-size: 1.3rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .testimonial-slide .quote::before {
        font-size: 2rem;
        top: -0.3rem;
        left: -1rem;
    }
    
    .testimonial-slide .quote::after {
        font-size: 2rem;
        bottom: -1rem;
        right: -1rem;
    }
    
    .testimonial-slide .author {
        font-size: 0.9rem;
        padding-top: 1rem;
        margin-top: 0.5rem;
    }
    
    .slider-arrow-popup {
        width: auto;
        height: auto;
        font-size: 1.6rem;
        padding: 0.6rem;
    }
    
    .slider-arrow-popup:hover {
        font-size: 1.9rem;
    }
    
    .slider-arrow-popup.prev { 
        left: 0.3rem; 
    }
    
    .slider-arrow-popup.next { 
        right: 0.3rem; 
    }
    
    .testimonial-close-btn { 
        top: 0.8rem; 
        right: 1.2rem; 
        font-size: 2.5rem;
    }
} 