/**
 * FAQ (Häufig gestellte Fragen) Styles
 * Datei: public/assets/css/modules/faq.css
 * 
 * Styling für:
 * - FAQ Akkordeon-Layout
 * - Frage/Antwort-Bereiche
 * - Kosten-Tabellen und Info-Boxen
 * - CTA (Call-to-Action) Bereich
 * - Responsive Design für alle Geräte
 * 
 * CSS-Variablen (definiert in style.css):
 * --primary-color: #2c5aa0 (Bibercare Blau)
 * --secondary-color: #f8f9fa (Heller Hintergrund)
 * --accent-color: #e8f2ff (Akzent-Blau)
 * --text-dark: #2d3748 (Haupttext)
 * --text-muted: #718096 (Nebentext)
 * --success-color: #48bb78 (Erfolg-Grün)
 * --border-color: #e2e8f0 (Rahmen)
 * 
 * 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 */
.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 Anpassungen */
.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;
}

/* Kosten-Beispiele */
.cost-examples {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.cost-examples h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cost-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cost-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-list li:last-child {
    border-bottom: none;
}

.cost-list .amount {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    background: var(--secondary-color);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.info-box i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-box p {
    margin: 0;
    flex: 1;
}

/* Process Steps */
.process-steps {
    margin-top: 1rem;
}

.process-steps .step {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    padding-top: 0.2rem;
}

/* Support Note */
.support-note {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    padding: 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.support-note i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.support-note p {
    margin: 0;
}

/* Cost Info */
.cost-info {
    background: var(--accent-color);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--success-color);
}

.cost-info p {
    margin: 0;
}

/* CTA Section */
.faq-cta {
    margin-top: 4rem;
}

.cta-box {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cta-box .cta-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

/* Fade-in Animation */
.faq-section.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Mobile Responsive */
@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; /* Icons auf Mobile ausblenden für mehr Platz */
    }
    
    .cost-list li {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
    
    .cta-box .lead {
        font-size: 1.1rem;
    }
    
    .cta-box .btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-section .section-title {
        font-size: 1.75rem;
    }
    
    .faq-item {
        margin-bottom: 0.5rem;
    }
    
    .faq-item .accordion-body {
        padding: 1rem;
    }
    
    .cost-examples,
    .info-box,
    .support-note {
        padding: 1rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}