:root {
    --groen: #2f6f4e;
    --groen-donker: #24573d;
    --groen-zacht: #e9f2ec;
    --geel: #f6c445;
    --geel-zacht: #fdf4dc;
    --tekst: #26312b;
    --tekst-zacht: #5f6d64;
    --achtergrond: #fbfaf7;
    --kaart: #ffffff;
    --rand: #e8e5dc;
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
    color: var(--tekst);
    background: var(--achtergrond);
    line-height: 1.65;
    font-size: 1.02rem;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }

a { color: var(--groen); }
a:hover { color: var(--groen-donker); }

h1, h2, h3 { line-height: 1.25; color: var(--groen-donker); letter-spacing: -0.01em; }
h2 { font-size: 1.22rem; margin-bottom: 0.7rem; }

/* ---------- Header ---------- */
.site-header {
    background: var(--kaart);
    border-bottom: 1px solid var(--rand);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 1.5rem;
    padding: 0.7rem 1.1rem;
}
.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 9px; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--groen); letter-spacing: -0.02em; }
.logo-text span { color: var(--geel); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.15rem 1.05rem; font-size: 0.9rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--tekst-zacht); font-weight: 600; padding: 0.25rem 0; }
.site-nav a:hover { color: var(--groen); }
.nav-zoek {
    background: var(--groen-zacht);
    border-radius: 20px;
    padding: 0.25rem 0.9rem !important;
    color: var(--groen) !important;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.82rem; color: var(--tekst-zacht); padding: 0.7rem 0 0; }
.breadcrumbs a { color: var(--tekst-zacht); text-decoration: none; }
.breadcrumbs a:hover { color: var(--groen); }
.crumb-sep { margin: 0 0.4rem; color: #b8b4a8; }
.crumb-current { color: var(--tekst); }

/* ---------- Hero ---------- */
.hero { padding: 1.7rem 0 1.3rem; max-width: 680px; }
.hero h1 { font-size: 1.95rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.02rem; color: var(--tekst-zacht); margin-bottom: 1rem; }
.hero-small { padding: 1.8rem 0 1.2rem; max-width: 760px; }
.hero-small h1 { font-size: 1.9rem; }
.hub-intro { color: var(--tekst-zacht); margin-top: 0.6rem; }
.hub-intro p { margin-bottom: 0.6rem; }

/* ---------- Zoekbalk ---------- */
.zoekbalk { display: flex; gap: 0.5rem; position: relative; max-width: 520px; }
.zoek-icoon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tekst-zacht);
    pointer-events: none;
}
.zoekbalk input {
    flex: 1;
    padding: 0.6rem 1.1rem 0.6rem 2.7rem;
    border: 1.5px solid var(--rand);
    border-radius: 999px;
    font: inherit;
    background: var(--kaart);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.zoekbalk input:focus { border-color: var(--groen); box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.12); }
.zoekbalk-groot .zoek-icoon { left: 1.1rem; }
.zoekbalk-header { max-width: 230px; min-width: 160px; }
.zoekbalk-header input {
    padding: 0.42rem 0.9rem 0.42rem 2.3rem;
    font-size: 0.88rem;
    background: var(--achtergrond);
}
.zoekbalk-header .zoek-icoon { left: 0.85rem; width: 14px; height: 14px; }
.zoekbalk button {
    background: var(--groen);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0 1.4rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.zoekbalk button:hover { background: var(--groen-donker); }
.zoek-suggesties {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--kaart);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(38, 49, 43, 0.09);
    overflow: hidden;
    z-index: 40;
}
.zoek-suggesties a { display: block; padding: 0.6rem 1.1rem; text-decoration: none; color: var(--tekst); font-size: 0.95rem; }
.zoek-suggesties a:hover, .zoek-suggesties a.actief { background: var(--groen-zacht); }
.zoek-aantal { color: var(--tekst-zacht); margin-bottom: 1rem; }

/* ---------- Blokken ---------- */
.blok { padding: 1rem 0; }
.blok-intro { color: var(--tekst-zacht); margin: -0.5rem 0 1rem; max-width: 680px; }
.blok-thema {
    background: var(--geel-zacht);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    margin: 0.8rem 0;
}
.meer-link { font-weight: 600; text-decoration: none; }

/* ---------- Onderwerp-kaarten ---------- */
.onderwerp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem;
}
.onderwerp-kaart {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--kaart);
    border: 1.5px solid var(--rand);
    border-radius: var(--radius);
    padding: 0.85rem 0.6rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--groen-donker);
    transition: border-color 0.15s, transform 0.15s;
}
.onderwerp-kaart:hover { border-color: var(--groen); transform: translateY(-2px); }

/* ---------- Groep-knoppen ---------- */
.groep-knoppen { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.groep-knop {
    background: var(--groen-zacht);
    color: var(--groen-donker);
    border-radius: 999px;
    padding: 0.32rem 0.95rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.groep-knop:hover { background: var(--groen); color: #fff; }

/* ---------- Artikel-kaarten ---------- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.1rem;
}
.card {
    background: var(--kaart);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.card-thumb { display: block; margin: -1.25rem -1.25rem 0.4rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-title { font-size: 1.08rem; }
.card-title a { text-decoration: none; color: var(--tekst); }
.card-title a:hover { color: var(--groen); }
.card-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.card-category a { text-decoration: none; }
.card-excerpt { font-size: 0.92rem; color: var(--tekst-zacht); flex-grow: 1; }
.card-date { font-size: 0.8rem; color: #a4a094; }

.empty { padding: 2rem 0 4rem; color: var(--tekst-zacht); }

/* ---------- Artikelpagina ---------- */
.article-page { max-width: 720px; margin: 0 auto; padding: 1.6rem 0 2.5rem; }
.article-header { margin-bottom: 1.6rem; }
.article-header h1 { font-size: 2.1rem; margin: 0.4rem 0 0.5rem; }
.article-meta { font-size: 0.88rem; color: var(--tekst-zacht); }
.article-groepen { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.groep-tag {
    background: var(--groen-zacht);
    color: var(--groen-donker);
    border-radius: 999px;
    padding: 0.15rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}
.groep-tag:hover { background: var(--groen); color: #fff; }
.article-hero { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.6rem; display: block; }
.article-body h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.article-body h3 { font-size: 1.12rem; margin: 1.5rem 0 0.5rem; color: var(--tekst); }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.4rem; }
.article-body li { margin-bottom: 0.35rem; }
.article-body table { border-collapse: collapse; width: 100%; margin-bottom: 1rem; font-size: 0.95rem; }
.article-body th, .article-body td { border: 1px solid var(--rand); padding: 0.5rem 0.7rem; text-align: left; }
.article-body th { background: var(--groen-zacht); }
.article-body img { max-width: 100%; border-radius: var(--radius); }

/* ---------- Materiaal / FAQ / bronnen ---------- */
.materiaal-blok {
    background: var(--groen-zacht);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    margin: 2rem 0;
}
.materiaal-blok h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.materiaal-blok ul { margin-left: 1.2rem; }
.faq-blok { margin: 2rem 0; }
.faq-blok h2 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.faq-item {
    background: var(--kaart);
    border: 1px solid var(--rand);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
}
.faq-item summary { font-weight: 600; cursor: pointer; }
.faq-antwoord { padding-top: 0.6rem; color: var(--tekst-zacht); }
.bronnen-blok { margin: 2rem 0 0; font-size: 0.92rem; }
.bronnen-blok h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.bronnen-blok ul { margin-left: 1.2rem; color: var(--tekst-zacht); }
.article-footer {
    border-top: 1px solid var(--rand);
    margin-top: 2.2rem;
    padding-top: 1rem;
    font-size: 0.88rem;
    color: var(--tekst-zacht);
}
.verder-lezen { border-top: 1px solid var(--rand); }

/* ---------- Hub-content ---------- */
.hub-content { max-width: 760px; }
.hub-hero {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: var(--radius);
    display: block;
    margin-bottom: 1.1rem;
}
.grid-kop { margin-top: 0.6rem; }
@media (max-width: 720px) {
    .hub-hero { height: 110px; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--groen-donker);
    color: #dbe7de;
    margin-top: 2.5rem;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.6rem;
    padding-top: 2.2rem;
    padding-bottom: 1.4rem;
}
.footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.footer-brand span { color: var(--geel); }
.footer-head { font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.site-footer a { display: block; color: #dbe7de; text-decoration: none; padding: 0.12rem 0; }
.site-footer a:hover { color: var(--geel); }
.footer-groepen { display: grid; grid-template-columns: 1fr 1fr; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 0.9rem; padding-bottom: 1.1rem; color: #a9c0b1; }

/* ---------- Contactformulier ---------- */
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--rand);
    border-radius: 10px;
    font: inherit;
    font-weight: 400;
    background: var(--kaart);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--groen); box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.12); }
.form-knop {
    background: var(--groen);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.7rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.form-knop:hover { background: var(--groen-donker); }
.form-succes { background: var(--groen-zacht); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.form-fout { background: #fbe9e7; border: 1px solid #e5b8b2; color: #9c3325; padding: 0.6rem 0.9rem; border-radius: 10px; margin-bottom: 1rem; }
.hp-veld { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Mobiel ---------- */
@media (max-width: 640px) {
    .hero { padding: 2rem 0 1.5rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-small h1 { font-size: 1.45rem; }
    .article-header h1 { font-size: 1.55rem; }
    .site-nav { font-size: 0.84rem; gap: 0.1rem 0.8rem; }
    .blok { padding: 1.1rem 0; }
}
