/**
 * Testimonials Section - Glassmorphism Design
 * Date: 2025-11-08
 * Moderne Glassmorphism-Optik für Testimonial Cards
 */

/* ================================================================
   TESTIMONIALS SECTION - Glassmorphism Background (WEITER OBEN)
   ================================================================ */

.testimonials {
    position: relative;
    background: rgba(255, 255, 255, 0.5) !important;
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
}

/* Glassmorphism-Overlay - WEIẞ statt lila */
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.testimonials > .container {
    position: relative;
    z-index: 1;
}

/* Section Header - Kompakt */
.testimonials .section-header {
    margin-bottom: 0.5rem !important;
}

.testimonials .section-header h2 {
    color: #1f2937 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
}

.testimonials .section-subtitle {
    color: #374151 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

/* ================================================================
   TESTIMONIAL CARDS - Glassmorphism Design
   ================================================================ */

.testimonial-card {
    /* Glassmorphism statt dunklem Background */
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;

    /* Border & Radius */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;

    /* Padding */
    padding: 2rem !important;

    /* Shadow */
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;

    /* Transitions */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;

    /* Sichtbarkeit */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.testimonial-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow:
        0 20px 60px rgba(128, 0, 255, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(128, 0, 255, 0.3) !important;
}

/* ================================================================
   TESTIMONIAL ELEMENTS
   ================================================================ */

/* Rating Stars */
.testimonial-rating {
    color: #f59e0b !important; /* Gold statt Lila */
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #374151 !important; /* Dunkler für bessere Lesbarkeit */
    font-style: italic !important;
    margin-bottom: 1.5rem !important;
}

/* Author Section */
.testimonial-author {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

/* Author Avatar */
.author-avatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;

    /* Glassmorphism für Avatar */
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Author Name */
.author-name {
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 1rem !important;
}

/* Author Role */
.author-role {
    font-size: 0.9rem !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
}

/* ================================================================
   SOCIAL PROOF STATS - Glassmorphism (KOMPAKT)
   ================================================================ */

.social-proof-stats {
    margin-top: 2rem !important; /* Reduziert von 3rem */
}

.proof-stat {
    /* Glassmorphism für Stat-Boxen */
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
}

.proof-stat:hover {
    transform: translateY(-4px) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 8px 24px rgba(128, 0, 255, 0.15) !important;
}

.proof-stat > div:first-child {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #8000ff, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem !important;
}

.proof-stat > div:last-child {
    color: #4b5563 !important;
    font-weight: 500 !important;
}

/* ================================================================
   TESTIMONIALS GRID - Optimiert (KOMPAKT)
   ================================================================ */

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 1rem !important; /* Reduziert von 2rem */
    width: 100% !important;
}

/* Stats Grid */
.social-proof-stats > div {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

/* ================================================================
   RESPONSIVE - Mobile Optimierung
   ================================================================ */

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem !important;
    }

    .testimonial-text {
        font-size: 0.95rem !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .social-proof-stats > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .proof-stat {
        padding: 1rem !important;
    }

    .proof-stat > div:first-child {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .social-proof-stats > div {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================
   ANIMATIONS DEAKTIVIEREN
   ================================================================ */

.testimonials .fade-in-scroll,
.testimonials .scroll-reveal-stagger,
.testimonials .card-floating {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}
