/* ===================================
   Gift Testimonials Section
   Was Schenker über ihre Erfahrungen sagen
   =================================== */

.gift-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #610000 0%, #2a0000 100%);
    position: relative;
    overflow: hidden;
}

.gift-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.gift-testimonials .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.gift-testimonials .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

/* Testimonials Carousel */
.testimonials-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    overflow: hidden; /* verhindert seitliches Überlaufen auf schmalen Screens */
}

/* Testimonial Cards */
.gift-testimonials .testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.gift-testimonials .testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
}

.gift-testimonials .testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
}

.gift-testimonials .testimonial-card:nth-child(3) {
    animation-delay: 0.6s;
}

.gift-testimonials .testimonial-card.featured {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.gift-testimonials .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.gift-testimonials .testimonial-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Quote decoration */
.gift-testimonials .testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    font-family: 'Playfair Display', serif;
    color: rgba(97, 0, 0, 0.1);
    line-height: 1;
    z-index: 0;
}

/* Rating - Removed */
.gift-testimonials .testimonial-rating {
    display: none;
}

/* Testimonial Text */
.gift-testimonials .testimonial-card blockquote {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin: 0 0 24px 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Remove global blockquote quote marks inside testimonials only */
.gift-testimonials blockquote::before,
.gift-testimonials .testimonial-card blockquote::before,
#main-content section.gift-testimonials blockquote::before {
	content: none !important;
}

.gift-testimonials blockquote::after,
.gift-testimonials .testimonial-card blockquote::after,
#main-content section.gift-testimonials blockquote::after {
	content: none !important;
}

/* Citation */
.gift-testimonials .testimonial-card cite {
    display: block;
    text-align: center;
    font-style: normal;
    position: relative;
    z-index: 1;
}

.gift-testimonials .testimonial-card cite strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #610000;
    margin-bottom: 4px;
}

.gift-testimonials .testimonial-card cite span {
    font-size: 14px;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gift-testimonials {
        padding: 60px 0;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }
    
    .gift-testimonials .testimonial-card {
        padding: 30px 20px;
    }
    
    .gift-testimonials .testimonial-card.featured {
        transform: scale(1);
    }
    
    .gift-testimonials .testimonial-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .gift-testimonials .testimonial-card blockquote {
        font-size: 15px;
    }
    
    .gift-testimonials .testimonial-card cite strong {
        font-size: 16px;
    }
}

/* Desktop: exakt 3 Spalten nebeneinander, kompaktere Abstände */
@media (min-width: 1024px) {
    .testimonials-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        padding: 0 20px; /* mehr Platz für 3 Spalten innerhalb 1200px */
    }
    /* Einheitliche Höhe und kein Scale, damit nichts umbrecht */
    .gift-testimonials .testimonial-card.featured,
    .gift-testimonials .testimonial-card.featured:hover {
        transform: none;
    }
}
