/**
 * FAQ (Häufig gestellte Fragen) Styles
 * Datei: public/assets/css/pages/faq.css
 * 
 * NUR seitenspezifische Styles - Gemeinsame Komponenten in components.css
 * 
 * Funktionen:
 * - FAQ Section mit Gradient-Hintergrund
 * - Accordion-Layout für Fragen/Antworten
 * - Accordion Button und Body Styles
 * 
 * Gemeinsame Komponenten (aus components.css):
 * - .page-header, .breadcrumb-link, .page-title, .page-subtitle
 * - .info-box-light (Info-Boxen in Antworten)
 * - .cost-examples, .cost-list (Kosten-Tabellen)
 * - .process-steps, .step-number (Prozess-Schritte)
 * - .support-note, .cost-info
 * - .cta-box
 * 
 * Hauptstyle: public/assets/css/style.css
 * Komponenten: public/assets/css/components.css
 * 
 * Pfad: public/assets/css/pages/faq.css
 */

/* ==========================================================================
   FAQ Section Grundlayout
   ========================================================================== */

.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    min-height: 100vh;
}

/* Section Header Anpassungen für FAQ */
.faq-section .section-header {
    margin-bottom: 3rem;
}

.faq-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.faq-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.faq-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FAQ Wrapper
   ========================================================================== */

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================================
   Accordion Styles
   ========================================================================== */

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Accordion Button */
.faq-item .accordion-button {
    background: white;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--accent-color);
    color: var(--primary-color);
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c5aa0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* Icons in Fragen */
.faq-item .accordion-button i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Accordion Body */
.faq-item .accordion-body {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-item .accordion-body p {
    margin-bottom: 1rem;
}

.faq-item .accordion-body p:last-child {
    margin-bottom: 0;
}

/* .cost-examples, .cost-list → definiert in components.css */
/* .info-box-light → definiert in components.css */
/* .process-steps, .step-number → definiert in components.css */
/* .support-note, .cost-info → definiert in components.css */

/* ==========================================================================
   FAQ CTA
   ========================================================================== */

.faq-cta {
    margin-top: 4rem;
}

/* .cta-box → definiert in components.css */

/* ==========================================================================
   Fade-in Animation
   ========================================================================== */

.faq-section.fade-in {
    animation: faqFadeIn 0.5s ease-in;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-section .section-title {
        font-size: 2rem;
    }
    
    .faq-section .section-subtitle {
        font-size: 1rem;
    }
    
    .faq-item .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-item .accordion-button i {
        display: none;
    }
}

@media (max-width: 480px) {
    .faq-section .section-title {
        font-size: 1.75rem;
    }
    
    .faq-item {
        margin-bottom: 0.5rem;
    }
    
    .faq-item .accordion-body {
        padding: 1rem;
    }
}