/* ============================================================
   Subsidievolger — Design System
   Oranje primary, fel groen secondary, editorial typography
   ============================================================ */

/* Fonts: Fraunces for display (distinctive serif), Manrope for body */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    /* Color palette */
    --orange-50:  #FFF7ED;
    --orange-100: #FFEDD5;
    --orange-200: #FED7AA;
    --orange-300: #FDBA74;
    --orange-400: #FB923C;
    --orange-500: #F97316;
    --orange-600: #EA580C;
    --orange-700: #C2410C;
    --orange-900: #7C2D12;

    --green-50:  #F0FDF4;
    --green-100: #DCFCE7;
    --green-300: #86EFAC;
    --green-400: #4ADE80;
    --green-500: #22C55E;
    --green-600: #16A34A;
    --green-700: #15803D;

    --ink-900: #0C0A09;
    --ink-700: #292524;
    --ink-500: #57534E;
    --ink-300: #A8A29E;
    --ink-200: #D6D3D1;
    --ink-100: #E7E5E4;
    --ink-50:  #F5F5F4;

    --bg:        #FAFAF9;
    --surface:   #FFFFFF;
    --warning:   #DC2626;

    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
    --shadow:    0 4px 16px -4px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.04);
    --shadow-lg: 0 16px 40px -8px rgba(0,0,0,.12), 0 4px 12px -4px rgba(0,0,0,.06);

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;

    --container: 1240px;

    --font-display: 'Fraunces', 'Times New Roman', serif;
    --font-sans:    'Manrope', system-ui, -apple-system, sans-serif;

    --transition: 180ms cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   Reset + base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-900);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a {
    color: var(--orange-600);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--orange-700); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
    color: var(--ink-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1rem; color: var(--ink-700); }

button { font: inherit; cursor: pointer; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--ink-100);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(12px);
    background: rgba(255,255,255,.92);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    color: var(--ink-900);
}
.brand:hover { color: var(--ink-900); }

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    letter-spacing: -.02em;
    box-shadow: 0 4px 12px -2px rgba(249,115,22,.4);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}
.main-nav a {
    color: var(--ink-700);
    font-weight: 500;
    font-size: .96rem;
}
.main-nav a:hover { color: var(--orange-600); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
    letter-spacing: -.005em;
}

.btn-primary {
    background: var(--orange-500);
    color: white;
    border-color: var(--orange-500);
    box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 14px -2px rgba(249,115,22,.4);
}
.btn-primary:hover {
    background: var(--orange-600);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -4px rgba(249,115,22,.5);
}

.btn-secondary {
    background: var(--green-500);
    color: white;
    border-color: var(--green-500);
    box-shadow: 0 4px 14px -2px rgba(34,197,94,.4);
}
.btn-secondary:hover {
    background: var(--green-600);
    color: white;
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--surface);
    color: var(--ink-900);
    border-color: var(--ink-200);
}
.btn-outline:hover {
    border-color: var(--orange-500);
    color: var(--orange-600);
}

.btn-sm { padding: .5rem .9rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }

/* ============================================================
   Hero / Homepage
   ============================================================ */

.hero {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--orange-50), transparent 70%),
        var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 60%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--green-100), transparent 60%);
    opacity: .6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    background: var(--orange-100);
    color: var(--orange-700);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.02;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero h1 em {
    font-style: italic;
    color: var(--orange-600);
    font-weight: 500;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--ink-500);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.5;
}

/* Search bar */
.search-bar {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    padding: .5rem .5rem .5rem 1.5rem;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--ink-100);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.search-bar:focus-within {
    border-color: var(--orange-400);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(249,115,22,.12);
}
.search-bar svg { color: var(--ink-300); flex-shrink: 0; }
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font: inherit;
    font-size: 1.05rem;
    color: var(--ink-900);
    background: transparent;
    min-width: 0;
}
.search-bar input::placeholder { color: var(--ink-300); }

.quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    color: var(--ink-500);
    font-size: .9rem;
}
.quick-chips span { padding-right: .5rem; }
.chip {
    display: inline-block;
    padding: .35rem .85rem;
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: 999px;
    font-size: .87rem;
    font-weight: 500;
    color: var(--ink-700);
    transition: all var(--transition);
}
.chip:hover {
    border-color: var(--orange-400);
    background: var(--orange-50);
    color: var(--orange-700);
}

/* Hero stats */
.hero-stats {
    display: grid;
    /* 4 kaarten × ~170px + 3 gaps × 24px ≈ 752px, dus 920px max-width geeft
       ruim plek. Wrapt netjes naar 2 kolommen op tablet, 1 op smal mobile. */
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
    max-width: 920px;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--transition);
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1;
    margin-bottom: .35rem;
    letter-spacing: -.03em;
}
.stat-value.accent { color: var(--orange-600); }
.stat-label {
    font-size: .875rem;
    color: var(--ink-500);
    font-weight: 500;
}

/* ============================================================
   Page header (non-hero)
   ============================================================ */

.page-header {
    padding: 3rem 0 2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--ink-100);
}
.page-header .eyebrow {
    color: var(--orange-600);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .65rem;
}
.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin: 0 0 .5rem;
}
.page-header p {
    color: var(--ink-500);
    font-size: 1.1rem;
    max-width: 700px;
}

/* ============================================================
   Layout: archive (filters sidebar + results)
   ============================================================ */

.archive-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3rem 0 6rem;
}
@media (max-width: 960px) {
    .archive-layout { grid-template-columns: 1fr; }
    .filters-sidebar { order: 2; }
}

.filters-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 1rem;
}
@media (max-width: 960px) { .filters-sidebar { position: static; max-height: none; } }

.filter-group { margin-bottom: 2rem; }
.filter-group h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-500);
    margin-bottom: .85rem;
}
.filter-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.filter-group li {
    margin: .1rem 0;
}
.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-size: .92rem;
    font-weight: 500;
    transition: background var(--transition);
}
.filter-link:hover {
    background: var(--orange-50);
    color: var(--orange-700);
}
.filter-link.active {
    background: var(--ink-900);
    color: white;
}
.filter-link.active .count { background: rgba(255,255,255,.15); color: white; }
.filter-link .count {
    background: var(--ink-100);
    color: var(--ink-500);
    border-radius: 999px;
    padding: 1px 8px;
    font-size: .78rem;
    font-weight: 600;
}

/* Active filters bar */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: .85rem 1.15rem;
    background: var(--orange-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--orange-100);
}
.active-filters-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--orange-700);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.active-filter {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--surface);
    color: var(--ink-900);
    padding: .3rem .25rem .3rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    border: 1px solid var(--orange-200);
}
.active-filter button {
    background: none;
    border: none;
    color: var(--ink-500);
    padding: 0;
    margin-left: .15rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    transition: all var(--transition);
}
.active-filter button:hover { background: var(--orange-100); color: var(--orange-700); }
.clear-all {
    margin-left: auto;
    font-size: .85rem;
    color: var(--orange-700);
    font-weight: 600;
    background: none;
    border: none;
    text-decoration: underline;
}

/* Results header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.results-count {
    font-size: .95rem;
    color: var(--ink-500);
}
.results-count strong { color: var(--ink-900); font-weight: 700; }

.sort-select {
    padding: .55rem .9rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font: inherit;
    font-size: .92rem;
    color: var(--ink-700);
    cursor: pointer;
}

/* ============================================================
   Regeling cards
   ============================================================ */

.regeling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.regeling-card {
    background: var(--surface);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.regeling-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
    opacity: 0;
    transition: opacity var(--transition);
}
.regeling-card:hover {
    border-color: var(--ink-200);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}
.regeling-card:hover::before { opacity: 1; }

.card-meta {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .85rem;
    font-size: .82rem;
    color: var(--ink-500);
    flex-wrap: wrap;
}
.card-meta .verstrekker {
    font-weight: 600;
    color: var(--ink-700);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-badge.open {
    background: var(--green-100);
    color: var(--green-700);
}
.status-badge.open::before { background: var(--green-500); }
.status-badge.closing-soon {
    background: #FEF3C7;
    color: #92400E;
}
.status-badge.closing-soon::before { background: #F59E0B; }
.status-badge.closed {
    background: var(--ink-100);
    color: var(--ink-500);
}
.status-badge.closed::before { background: var(--ink-300); }
.status-badge.upcoming {
    background: #DBEAFE;
    color: #1E40AF;
}
.status-badge.upcoming::before { background: #3B82F6; }

.regeling-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: .65rem;
    color: var(--ink-900);
    letter-spacing: -.015em;
}

.card-intro {
    color: var(--ink-500);
    font-size: .94rem;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1.25rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.25rem;
}
.tag {
    display: inline-block;
    padding: .22rem .65rem;
    background: var(--ink-50);
    color: var(--ink-700);
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--ink-100);
}
.card-amount {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--green-700);
    font-size: 1rem;
    letter-spacing: -.01em;
}
.card-amount.unknown { color: var(--ink-300); font-style: italic; font-size: .85rem; font-weight: 500; }

.card-deadline {
    font-size: .85rem;
    color: var(--ink-500);
    font-weight: 500;
}

/* ============================================================
   Single regeling
   ============================================================ */

.single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    padding: 3rem 0 6rem;
    align-items: start;
}
@media (max-width: 960px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { order: 2; }
}

.single-main { min-width: 0; }
.breadcrumbs {
    font-size: .85rem;
    color: var(--ink-500);
    margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--orange-600); }
.breadcrumbs span { margin: 0 .35rem; }

.single-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.single-title-row h1 {
    flex: 1;
    margin: 0;
    line-height: 1.1;
}
.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ink-100);
    color: var(--ink-500);
    font-size: .92rem;
}
.single-meta .meta-item { display: inline-flex; align-items: center; gap: .4rem; }
.single-meta strong { color: var(--ink-700); font-weight: 600; }

.single-summary {
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--ink-700);
    border-left: 3px solid var(--orange-500);
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.single-section {
    margin-bottom: 2.5rem;
}
.single-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.single-section p { color: var(--ink-700); font-size: 1.02rem; line-height: 1.7; }

.voorwaarden-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}
.voorwaarden-list li {
    display: flex;
    gap: .85rem;
    padding: 1rem 1.25rem;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-size: .96rem;
    line-height: 1.5;
}
.voorwaarden-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--green-500);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M13.854 3.146a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3-3a.5.5 0 11.708-.708L6.5 9.793l6.646-6.647a.5.5 0 01.708 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* Sidebar (single page) */
.single-sidebar {
    position: sticky;
    top: 96px;
}
.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}
.sidebar-card h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-500);
    margin-bottom: 1rem;
}
.sidebar-card .big-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-700);
    line-height: 1.1;
    letter-spacing: -.02em;
}
.sidebar-card .big-amount.unknown { color: var(--ink-300); font-style: italic; font-size: 1.05rem; font-weight: 500; }
.sidebar-card .small { font-size: .9rem; color: var(--ink-500); margin-top: .35rem; }

.info-rows { display: grid; gap: 1rem; }
.info-rows .row { display: flex; flex-direction: column; gap: .15rem; }
.info-rows .row .label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-500);
    font-weight: 600;
}
.info-rows .row .value {
    font-size: .98rem;
    color: var(--ink-900);
    font-weight: 500;
}

.apply-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.1rem;
    margin-top: 1.25rem;
}

/* ============================================================
   Pagination
   ============================================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 3rem;
}
.pagination a, .pagination span {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--ink-200);
    color: var(--ink-700);
    font-weight: 500;
    text-decoration: none;
    padding: 0 .75rem;
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--orange-500); color: var(--orange-600); }
.pagination .current {
    background: var(--ink-900);
    color: white;
    border-color: var(--ink-900);
}
.pagination .disabled {
    color: var(--ink-300);
    cursor: not-allowed;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    background: var(--ink-900);
    color: var(--ink-200);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}
.site-footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }

.footer-brand .brand { color: white; margin-bottom: 1rem; }
.footer-brand p {
    color: var(--ink-300);
    font-size: .94rem;
    line-height: 1.6;
    max-width: 320px;
}

.site-footer h5 {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-300);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 700;
}
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer li { margin-bottom: .65rem; }
.site-footer a {
    color: var(--ink-200);
    font-size: .92rem;
    transition: color var(--transition);
}
.site-footer a:hover { color: var(--orange-400); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--ink-700);
    font-size: .85rem;
    color: var(--ink-300);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================================
   Featured section (homepage)
   ============================================================ */

.section {
    padding: 5rem 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-header .eyebrow {
    color: var(--orange-600);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .5rem;
}
.section-header h2 { margin: 0; }
.section-header p {
    color: var(--ink-500);
    max-width: 480px;
    margin-top: .5rem;
}

/* Themes grid (homepage SEO bait) */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.theme-card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    transition: all var(--transition);
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.theme-card:hover {
    transform: translateY(-2px);
    border-color: var(--orange-300);
    box-shadow: var(--shadow);
    color: inherit;
}
.theme-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--orange-100);
    color: var(--orange-600);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.theme-card .count {
    color: var(--orange-600);
    font-size: .85rem;
    font-weight: 600;
}
.theme-card h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -.01em;
}

.bg-tinted {
    background: linear-gradient(180deg, transparent, var(--orange-50));
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--ink-500);
}
.empty-state h3 {
    font-family: var(--font-display);
    color: var(--ink-700);
    margin-bottom: .5rem;
}

/* ============================================================
   Utility classes
   ============================================================ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.flex { display: flex; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   Verstrekker grid (homepage: RVO + 12 provincies)
   ============================================================ */

.verstrekker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.verstrekker-card {
    display: block;
    padding: 1.5rem 1.25rem;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    position: relative;
    overflow: hidden;
}

.verstrekker-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border-color: var(--accent-orange, #F97316);
}

.verstrekker-card.rvo {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: #FED7AA;
}
.verstrekker-card.rvo:hover {
    border-color: #F97316;
}

.verstrekker-card .card-eyebrow {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-500, #6B7280);
    margin-bottom: .35rem;
}
.verstrekker-card.rvo .card-eyebrow {
    color: #C2410C;
}

.verstrekker-card h3 {
    margin: 0 0 .5rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
}

.verstrekker-card .card-meta {
    font-size: .85rem;
    color: var(--ink-500, #6B7280);
}

/* ============================================================
   SEO content section (below grids on every key page)
   ============================================================ */

.seo-section {
    padding: 4rem 0 5rem;
    background: var(--bg-tinted, #FAFAF9);
    border-top: 1px solid var(--border, #E5E7EB);
}

.seo-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-700, #374151);
}

.seo-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--ink-900, #111827);
}

.seo-content h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 2.25rem 0 .75rem 0;
    color: var(--ink-900, #111827);
}

.seo-content p {
    margin: 0 0 1.1rem 0;
}

.seo-content a {
    color: var(--accent-orange, #F97316);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 720px) {
    .seo-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    .seo-content h2 { font-size: 1.65rem; }
    .seo-content h3 { font-size: 1.2rem; }
    .seo-section { padding: 3rem 0 3.5rem; }
}

/* ============================================================
   Legal pages (/privacy/, /voorwaarden/)
   ============================================================ */

.legal-page {
    padding: 3rem 0 5rem;
    background: var(--bg-tinted, #FAFAF9);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    background: var(--surface, #fff);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--ink-100, #E5E7EB);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-700, #374151);
}

.legal-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 2.5rem 0 1rem;
    color: var(--ink-900, #111827);
}

.legal-content h2:first-of-type { margin-top: 1rem; }

.legal-content h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.75rem 0 .5rem;
    color: var(--ink-900, #111827);
}

.legal-content p { margin: 0 0 1rem; }

.legal-content ul {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.legal-content li { margin-bottom: .35rem; }

.legal-content a {
    color: var(--orange-600, #EA580C);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 720px) {
    .legal-content {
        padding: 1.75rem 1.5rem;
        font-size: .95rem;
    }
    .legal-content h2 { font-size: 1.4rem; }
    .legal-content h3 { font-size: 1.1rem; }
    .legal-page { padding: 2rem 0 3rem; }
}
