/* Veelgestelde vragen: bouwt voort op homepagina.css (hp_*) en modules.css (md_faq, md_vraag) */

.fq_verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fq_hero { padding: clamp(44px, 6vw, 80px) 0 clamp(44px, 6vw, 72px); }
.fq_hero .hp_hero_intro { margin-bottom: 0; }
.fq_titel { font-size: clamp(2.3rem, 5vw, 3.8rem); }

.fq_sectie { padding-top: clamp(24px, 3.5vw, 44px); padding-bottom: clamp(32px, 4vw, 56px); }
.fq_opbouw { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

/* ── Categorieën ──────────────────────────────────────────────────────── */
.fq_categorieen { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; }
.fq_categorie {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px;
    border-radius: 14px; color: var(--tekst); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s;
}
.fq_categorie small { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--zacht); color: var(--grijs); font-size: .76rem; font-weight: 700; text-align: center; }
.fq_categorie:hover { background: var(--zacht); color: var(--inkt); }
.fq_categorie.is_actief { background: var(--oranje-licht); color: var(--oranje-donker); }
.fq_categorie.is_actief small { background: var(--oranje); color: #fff; }
.fq_categorie:focus-visible { outline: 2px solid var(--oranje); outline-offset: 2px; }

/* ── Zoeken: plakt bovenaan, zodat de resultaten er altijd direct onder staan ── */
.fq_kolom { min-width: 0; }
.fq_zoek {
    position: sticky; top: 92px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 4px 18px; margin-bottom: 14px;
    background: #fff; border: 1px solid var(--rand); border-radius: 999px; box-shadow: 0 16px 36px -24px rgba(15, 23, 41, .45); transition: border-color .2s, box-shadow .2s;
}
.fq_zoek > .material-symbols-outlined { color: var(--grijs); font-size: 1.4rem; }
.fq_zoek input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; box-shadow: none; background: transparent; padding: 0; font: 500 1rem var(--body-font); color: var(--inkt); }
.fq_zoek input:focus { outline: 0; box-shadow: none; }
.fq_zoek input::placeholder { color: #b3a399; }
.fq_zoek input::-webkit-search-cancel-button { cursor: pointer; }
.fq_zoek:focus-within { border-color: var(--oranje); box-shadow: 0 0 0 4px rgba(244, 122, 32, .18); }

.fq_status { margin: 0 0 12px 6px; color: var(--grijs); font-size: .9rem; font-weight: 600; }
.fq_status[hidden], .fq_lijst [hidden], .fq_leeg[hidden] { display: none; }
.fq_lijst { scroll-margin-top: 170px; }
.fq_lijst mark { background: var(--oranje-licht); color: var(--oranje-donker); border-radius: 4px; padding: 0 2px; }
.fq_lijst .md_vraag p { color: var(--tekst); }
.fq_leeg_tekst { margin: 0; color: var(--grijs); line-height: 1.7; }

/* ── Niets gevonden ───────────────────────────────────────────────────── */
.fq_leeg { padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); text-align: center; background: var(--zacht); border: 1px solid var(--rand); border-radius: 24px; }
.fq_leeg > .material-symbols-outlined { font-size: 2.2rem; color: var(--oranje-donker); }
.fq_leeg h2 { margin: 8px 0; font: 800 1.3rem/1.3 var(--kop-font); color: var(--inkt); }
.fq_leeg p { margin: 0 auto 18px; max-width: 460px; color: var(--grijs); line-height: 1.6; }
.fq_leeg_knoppen { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fq_leeg_knoppen button { cursor: pointer; }

.fq_slot { padding-top: clamp(24px, 3vw, 40px); }

/* ── Mobiel: zoeken bovenaan, categorieën eronder, daarna de vragen ────── */
@media (max-width: 860px) {
    .fq_opbouw { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
    .fq_kolom { display: contents; }
    .fq_zoek { order: 1; top: 76px; margin-bottom: 0; }
    .fq_categorieen { order: 2; position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .fq_categorie { min-height: 44px; border-radius: 999px; background: var(--zacht); }
    .fq_status { order: 3; margin-bottom: 0; }
    .fq_lijst { order: 4; }
    .fq_leeg { order: 5; }
    .fq_zoek input { font-size: 16px; }
    .fq_leeg_knoppen .hp_knop { width: 100%; justify-content: center; }
}
