/* ============================================================
   faq-page.css — FAQ-Seite (Accordion mit Such-Feld + Kategorien)
   Externalisiert 2026-05-22 aus inline <style> in faq.html
   (CSP-Sprint Phase 3.2b). Page-spezifische .faq-*-Klassen.
   ============================================================ */

/* Haupt-Inhaltsbereich der FAQ */
.faq-section {
  padding: 80px 0 100px;
}

/* Äußerer Container für den Lesefluss */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Suchfeld ──────────────────────────────────────── */
.faq-search {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 40px;
}

.faq-search:focus {
  border-color: #830e25;
}

.faq-search::placeholder {
  color: var(--muted);
}

/* ── Kategorie-Überschrift ─────────────────────────── */
.faq-category {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #830e25;
  margin: 48px 0 24px;
  letter-spacing: 0.06em;
}

.faq-category:first-of-type {
  margin-top: 0;
}

/* ── Einzelne Frage/Antwort ────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

/* Frage (klickbar, button-styled) */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #830e25;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  line-height: 1.5;
  gap: 16px;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Antwort (standardmäßig ausgeblendet, sichtbar wenn .open) */
.faq-answer {
  display: none;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #000;
  padding: 0 0 18px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Keine-Ergebnisse-Hinweis */
.faq-no-results {
  display: none;
  text-align: center;
  padding: 40px 0;
  font-size: 0.95rem;
  color: var(--muted);
}
