/* Ausgelagert aus: faq.php – CSS-Variablen-kompatibel */

.faq-hero {
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-section) 100%);
    padding: 56px 0 40px;
    border-bottom: 3px solid var(--red);
    text-align: center;
}
.faq-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 10px;
}
.faq-hero h1 em { color: var(--red); font-style: normal; }
.faq-hero p { color: var(--text-muted); font-size: 0.95rem; max-width: 520px; margin: 0 auto; }

.faq-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}
.faq-count-badge {
    display: inline-block;
    background: rgba(204,0,0,0.12);
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-col);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--red); }

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}
.faq-question:hover { background: rgba(128,128,128,0.05); }
.faq-q-text { font-size: 0.95rem; font-weight: 600; line-height: 1.4; color: var(--text-main); }
.faq-arrow { font-size: 0.85rem; color: var(--text-muted); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--red); }

.faq-answer { display: none; padding: 0 20px 18px; border-top: 1px solid var(--border-col); }
.faq-item.open .faq-answer { display: block; }
.faq-answer-text { padding-top: 14px; font-size: 0.9rem; line-height: 1.7; color: var(--text-main); white-space: pre-wrap; }
.faq-meta { margin-top: 10px; font-size: 0.72rem; color: var(--text-muted); }

.faq-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.faq-empty .icon { font-size: 2.5rem; margin-bottom: 12px; }
