/* ===================================
   Gift FAQ Section
   Häufige Fragen zum Gutschein
   =================================== */

.gift-faq {
    padding: 100px 0;
    background: white;
    position: relative;
}

.gift-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(97, 0, 0, 0.1), transparent);
}

/* Section Header */
.gift-faq .section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

/* FAQ Grid */
.gift-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Items */
.gift-faq .faq-item {
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.gift-faq .faq-item:nth-child(1) { animation-delay: 0.1s; }
.gift-faq .faq-item:nth-child(2) { animation-delay: 0.2s; }
.gift-faq .faq-item:nth-child(3) { animation-delay: 0.3s; }
.gift-faq .faq-item:nth-child(4) { animation-delay: 0.4s; }
.gift-faq .faq-item:nth-child(5) { animation-delay: 0.5s; }
.gift-faq .faq-item:nth-child(6) { animation-delay: 0.6s; }

.gift-faq .faq-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gift-faq .faq-item[open] {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Summary (Question) */
.gift-faq .faq-item summary {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2a0000;
    list-style: none;
    transition: all 0.3s ease;
    position: relative;
}

.gift-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.gift-faq .faq-item summary:hover {
    color: #610000;
}

.gift-faq .faq-item[open] summary {
    color: #610000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 16px;
    line-height: 1.4;
}

/* FAQ Arrow Icon */
.gift-faq .faq-item summary svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.gift-faq .faq-item[open] summary svg {
    transform: rotate(180deg);
}

/* FAQ Answer */
.gift-faq .faq-answer {
    padding: 0 30px 30px;
    animation: slideDown 0.3s ease-out;
}

.gift-faq .faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Slide down animation for answers */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding-top: 0;
        padding-bottom: 30px;
    }
}

/* General animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gift-faq {
        padding: 60px 0;
    }
    
    .gift-faq .faq-grid {
        padding: 0 20px;
    }
    
    .gift-faq .faq-item summary {
        padding: 20px;
    }
    
    .gift-faq .faq-answer {
        padding: 0 20px 24px;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .gift-faq .faq-answer p {
        font-size: 14px;
    }
    
    .gift-faq .faq-item summary svg {
        width: 18px;
        height: 18px;
        margin-left: 12px;
    }
}
