/* FalcooHorse — gebruikershandleiding. Eén stylesheet, geen externe afhankelijkheden. */
:root {
    --teal: #007e80;
    --teal-donker: #005c5e;
    --teal-licht: #e6f3f3;
    --oranje: #ff6600;
    --tekst: #222;
    --grijs: #6b7280;
    --lijn: #e3e6e8;
    --bg: #f6f8f8;
    --kaart: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--tekst);
    background: var(--bg);
    line-height: 1.55;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Kop ── */
header.hulp-kop {
    background: linear-gradient(135deg, var(--teal), var(--teal-donker));
    color: #fff;
    padding: 22px 28px;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
header.hulp-kop .titel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
header.hulp-kop h1 { font-size: 1.5rem; margin: 0; font-weight: 700; }
header.hulp-kop .ondertitel { color: #d7efef; font-size: .95rem; margin: 2px 0 0; }
header.hulp-kop .logo {
    width: 40px; height: 40px; border-radius: 8px; background: #fff; color: var(--teal);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}

/* ── Zoekveld ── */
.zoekbalk { margin-top: 14px; position: relative; max-width: 520px; }
.zoekbalk input {
    width: 100%; padding: 10px 14px 10px 38px; border-radius: 8px; border: none;
    font-size: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.zoekbalk .zoek-icoon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--grijs); }
.zoek-info { color: #d7efef; font-size: .85rem; margin-top: 6px; min-height: 1em; }

/* ── Indeling ── */
.omhulsel { display: flex; align-items: flex-start; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }

/* ── Inhoudsopgave ── */
nav.inhoud {
    flex: 0 0 270px; position: sticky; top: 150px; align-self: flex-start;
    background: var(--kaart); border: 1px solid var(--lijn); border-radius: 10px; padding: 14px 12px;
    max-height: calc(100vh - 180px); overflow: auto;
}
nav.inhoud h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grijs); margin: 6px 8px 10px; }
nav.inhoud ul { list-style: none; margin: 0 0 8px; padding: 0; }
nav.inhoud > ul > li > a { font-weight: 600; }
nav.inhoud a { display: block; padding: 5px 8px; border-radius: 6px; color: var(--tekst); font-size: .92rem; }
nav.inhoud a:hover { background: var(--teal-licht); text-decoration: none; }
nav.inhoud ul ul a { padding-left: 20px; font-weight: 400; color: var(--grijs); font-size: .88rem; }
nav.inhoud a.actief { background: var(--teal); color: #fff; }

/* ── Inhoud ── */
main.inhoud-tekst { flex: 1 1 auto; min-width: 0; }

.intro {
    background: var(--kaart); border: 1px solid var(--lijn); border-left: 4px solid var(--teal);
    border-radius: 10px; padding: 18px 22px; margin-bottom: 26px;
}
.intro h2 { margin-top: 0; }

section.hulp {
    background: var(--kaart); border: 1px solid var(--lijn); border-radius: 10px;
    padding: 22px 24px; margin-bottom: 22px; scroll-margin-top: 160px;
}
section.hulp h2 {
    margin: 0 0 4px; color: var(--teal-donker); font-size: 1.35rem;
    border-bottom: 2px solid var(--teal-licht); padding-bottom: 8px;
}
section.hulp h3 { color: var(--teal-donker); font-size: 1.08rem; margin: 22px 0 6px; }
section.hulp .waar { color: var(--grijs); font-size: .9rem; margin: 2px 0 14px; }
section.hulp .waar .pad {
    background: var(--teal-licht); color: var(--teal-donker); padding: 1px 8px; border-radius: 5px; font-weight: 600;
}

/* stappenlijst */
ol.stappen { counter-reset: stap; list-style: none; padding: 0; margin: 10px 0; }
ol.stappen > li {
    counter-increment: stap; position: relative; padding: 6px 0 6px 42px; margin-bottom: 4px;
}
ol.stappen > li::before {
    content: counter(stap); position: absolute; left: 0; top: 4px;
    width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
ul.opsomming { margin: 8px 0; padding-left: 22px; }
ul.opsomming li { margin-bottom: 4px; }

/* tip / let op */
.tip, .letop {
    border-radius: 8px; padding: 10px 14px; margin: 14px 0; font-size: .93rem;
    display: flex; gap: 10px; align-items: flex-start;
}
.tip { background: var(--teal-licht); border: 1px solid #bfe3e3; }
.letop { background: #fff4e5; border: 1px solid #ffd9a8; }
.tip .merk, .letop .merk { font-weight: 700; white-space: nowrap; }

/* knopvoorbeeld */
.knop {
    display: inline-block; background: var(--teal); color: #fff; padding: 1px 9px;
    border-radius: 5px; font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.knop.oranje { background: var(--oranje); }
.knop.grijs { background: var(--grijs); }
kbd { background: #eef1f1; border: 1px solid #cfd6d6; border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; font-size: .85em; }

/* afbeeldingen */
figure.scherm { margin: 16px 0; }
figure.scherm img {
    max-width: 100%; height: auto; border: 1px solid var(--lijn); border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08); cursor: zoom-in; display: block;
}
figure.scherm figcaption { color: var(--grijs); font-size: .86rem; margin-top: 6px; font-style: italic; }
.ontbreekt {
    border: 1px dashed var(--lijn); border-radius: 8px; padding: 16px; color: var(--grijs);
    font-size: .88rem; background: #fafbfb; text-align: center;
}

/* video */
figure.film video { max-width: 100%; border-radius: 8px; border: 1px solid var(--lijn); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
figure.film figcaption { color: var(--grijs); font-size: .86rem; margin-top: 6px; font-style: italic; }

/* zoek: verbergen wat niet matcht */
section.hulp.verborgen { display: none; }
.geen-resultaat { display: none; background: var(--kaart); border: 1px solid var(--lijn); border-radius: 10px; padding: 22px; color: var(--grijs); }
mark { background: #ffe58a; padding: 0 1px; border-radius: 2px; }

/* lightbox voor schermafbeeldingen */
#lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 100;
    align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 96%; max-height: 96%; border-radius: 6px; box-shadow: 0 4px 24px rgba(0,0,0,.5); }

footer.hulp-voet { text-align: center; color: var(--grijs); font-size: .85rem; padding: 24px; }

@media (max-width: 860px) {
    .omhulsel { flex-direction: column; }
    nav.inhoud { position: static; flex-basis: auto; width: 100%; max-height: none; }
}
