/* =========================================================
   NTSN Website - Mobile First Design System
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    /* Brand colors */
    --ntsn-primary: #1a4d8c;
    --ntsn-primary-dark: #143a6b;
    --ntsn-primary-darker: #0e2a4e;
    --ntsn-primary-light: #e8f0fa;
    --ntsn-accent: #2e7dd1;
    --ntsn-bg: #ffffff;
    --ntsn-bg-soft: #f4f7fb;
    --ntsn-bg-section: #eef3f9;
    --ntsn-text: #1a2433;
    --ntsn-text-muted: #5a6b80;
    --ntsn-border: #dde5ef;

    /* Typography scale (mobile first) */
    --fs-display: clamp(1.75rem, 5vw + 0.5rem, 2rem);
    --fs-h2:      clamp(1.4rem, 2.5vw + 0.6rem, 1.1rem);
    --fs-h3:      clamp(1.1rem, 1vw + 0.8rem, 1.4rem);
    --fs-lead:    clamp(0.9rem, 0.5vw + 0.9rem, 0.8rem);
    --fs-body:    0.9rem;
    --fs-small:   0.875rem;

    /* Spacing */
    --space-section: clamp(2.5rem, 6vw, 5rem);
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(20, 40, 80, 0.06);
    --shadow-md: 0 6px 24px rgba(20, 40, 80, 0.08);
    --shadow-lg: 0 18px 40px rgba(20, 40, 80, 0.12);

    --transition: 200ms ease;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ntsn-bg);
    color: var(--ntsn-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    color: var(--ntsn-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

p { margin-top: 0; }

a {
    color: var(--ntsn-primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--ntsn-primary-dark); text-decoration: underline; }

/* Focus visible voor WCAG */
:focus-visible {
    outline: 3px solid var(--ntsn-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--ntsn-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus { top: 1rem; color: #fff; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--fs-body);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--ntsn-primary);
    color: #fff !important;
    border-color: var(--ntsn-primary);
}
.btn-primary:hover { background: var(--ntsn-primary-dark); border-color: var(--ntsn-primary-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline-primary {
    background: transparent;
    color: var(--ntsn-primary) !important;
    border-color: var(--ntsn-primary);
}
.btn-outline-primary:hover { background: var(--ntsn-primary); color: #fff !important; box-shadow: var(--shadow-md); }

.btn-arrow svg { transition: transform var(--transition); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ---------- Container ---------- */
.container-ntsn {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .container-ntsn { padding: 0 2rem; } }

/* ---------- Header / Navigatie ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 6px solid var(--ntsn-border);
    padding-top: 1rem;
    padding-bottom: 0.7rem;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ntsn-primary);
}
.brand:hover { text-decoration: none; }
.brand-logo {
    width: auto;
    height: auto;
    max-width: 200px;
}
.site-footer .brand-logo { width: auto; max-width: 200px; }

@media (min-width: 992px) {
    .brand-logo {  }
    .brand-text { font-size: 0.82rem; }
    .brand-text strong { font-size: 1rem; }
}

/* Hamburger */
.nav-toggle {
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ntsn-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 992px) {
    .nav-toggle { display: none; }
}

/* Mobile menu */
.main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: #fff;
    padding: 1.5rem 1.25rem 2rem;
    transform: translateX(100%);
    transition: transform 300ms ease;
    overflow-y: auto;
    border-top: 1px solid var(--ntsn-border);
}
.main-nav[data-open="true"] { transform: translateX(0); }

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.nav-link {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--ntsn-text);
    font-weight: 500;
    border-radius: var(--radius);
    transition: color var(--transition);
}
.nav-link:hover {
    color: var(--ntsn-primary);
    text-decoration: none;
}
.nav-link.active {
    color: var(--ntsn-primary);
    font-weight: 700;
    text-decoration: none;
}

/* Desktop nav */
@media (min-width: 992px) {
    .main-nav {
        position: static;
        inset: auto;
        transform: none;
        padding: 0;
        background: transparent;
        border: 0;
        overflow: visible;
    }
    .nav-list {
        flex-direction: row;
        gap: 0.25rem;
        align-items: center;
    }
    .nav-link {
        padding: 0.5rem 1rem;
        position: relative;
        border-radius: 0;
    }
    /* Animated underline voor hover én actief */
    .nav-link::after {
        content: "";
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: -2px;
        height: 2px;
        background: var(--ntsn-primary);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-link:hover::after {
        transform: scaleX(1);
    }
    .nav-link.active::after {
        transform: scaleX(1);
        background: var(--ntsn-primary);
    }
}

.nav-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ntsn-primary);
    color: #fff !important;
    border-radius: 8px;
    margin-left: 0.5rem;
}
.nav-cta-icon:hover { background: var(--ntsn-primary-dark); }

/* Body lock when mobile nav open */
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hp-hero {
    background: linear-gradient(160deg, var(--ntsn-primary-light) 0%, #f8fbff 60%, #fff 100%);
    padding: 3rem 0 2.5rem;
    overflow: hidden;
}
.hp-hero__inner {
    display: block;
    position: relative;
}
.hp-hero__content {
    max-width: 560px;
    position: relative;
    z-index: 1;
}
@media (min-width: 992px) {
    .hp-hero {
        padding: 0rem 0 0rem;
    }
    .hp-hero__inner {
        background: url('/site/home-hero.jpg') no-repeat right center / auto 100%;
        padding-top: 1rem;
        min-height: 420px;
    }
}
.hp-hero__title {
    font-size: var(--fs-display);
    color: var(--ntsn-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1.1rem;
    line-height: 1.1;
}
.hp-hero__lead {
    font-size: var(--fs-lead);
    color: var(--ntsn-text-muted);
    margin: 0 0 1.75rem;
    max-width: 62ch;
}
.hp-hero__lead p { margin: 0 0 0.75rem; }
.hp-hero__lead p:last-child { margin-bottom: 0; }
.hp-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}


/* ---------- Section base ---------- */
.section { padding: var(--space-section) 0; }
.section-soft { background: var(--ntsn-bg-soft); }
.section-section { background: var(--ntsn-bg-section); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
}
.section-title {
    font-size: var(--fs-h2);
    margin: 0 0 0.75rem;
}
.section-lead {
    color: var(--ntsn-text-muted);
    font-size: var(--fs-lead);
    margin: 0;
}

/* ---------- Features (Wat wij doen) ---------- */
.features-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 576px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
    background: #fff;
    border: 1px solid var(--ntsn-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ntsn-primary-light);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--ntsn-primary-light);
    color: var(--ntsn-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
    font-size: var(--fs-h3);
    margin: 0 0 0.5rem;
}
.feature-card p {
    color: var(--ntsn-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- News ---------- */
.news-header {
    text-align: left;
    max-width: none;
    margin: 0 0 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ntsn-border);
}
.news-header .section-title { margin-bottom: 0.5rem; }
.news-header .section-lead { font-size: 1rem; }
.news-header .section-lead p:last-child { margin-bottom: 0; }

.news-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Bij 1 of 2 artikelen: centreren en maximale kaartbreedte beperken,
   zodat de cards niet uitrekken over de hele breedte. */
@media (min-width: 640px) {
    .news-grid--count-1 {
        grid-template-columns: minmax(0, 460px);
        justify-content: center;
    }
    .news-grid--count-2 {
        grid-template-columns: repeat(2, minmax(0, 420px));
        justify-content: center;
    }
}
@media (min-width: 992px) {
    .news-grid--count-1 { grid-template-columns: minmax(0, 520px); }
    .news-grid--count-2 { grid-template-columns: repeat(2, minmax(0, 460px)); }
}

.news-card {
    background: #fff;
    border: 1px solid var(--ntsn-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.news-card:focus-within {
    box-shadow: var(--shadow-lg);
    border-color: var(--ntsn-accent);
}

.news-card__media-link {
    display: block;
    overflow: hidden;
    line-height: 0;
}
.news-card__media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--ntsn-primary-light), #ffffff);
    overflow: hidden;
}
.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ntsn-primary);
    opacity: 0.55;
}

.news-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}
.news-card__date {
    font-size: var(--fs-small);
    color: var(--ntsn-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.news-card__title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0;
    color: var(--ntsn-primary);
}
.news-card__title a {
    color: inherit;
    text-decoration: none;
}
.news-card__title a:hover { color: var(--ntsn-primary-dark); text-decoration: none; }

.news-card__excerpt {
    color: var(--ntsn-text-muted);
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__link {
    margin-top: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ntsn-primary);
    position: relative;
    z-index: 1;
}
.news-card__link svg { transition: transform var(--transition); }
.news-card__link:hover svg { transform: translateX(3px); }

.news-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--ntsn-bg-soft);
    border: 1px dashed var(--ntsn-border);
    border-radius: var(--radius-lg);
    color: var(--ntsn-text-muted);
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.news-empty__icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--ntsn-primary-light);
    color: var(--ntsn-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.news-empty__title {
    color: var(--ntsn-primary);
    font-size: 1.35rem;
    margin: 0;
}
.news-empty__text {
    margin: 0;
    max-width: 440px;
    line-height: 1.55;
}
.news-empty .btn { margin-top: 1rem; }

/* ---------- News detail ---------- */
.news-detail { padding-bottom: var(--space-section); }

.news-detail__header {
    padding: 2.5rem 0 1.5rem;
}
.news-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ntsn-text-muted);
    margin-bottom: 1.25rem;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}
.news-detail__back:hover {
    color: var(--ntsn-primary);
    text-decoration: none;
}
.news-detail__back:hover svg { transform: translateX(-3px); }
.news-detail__back svg { transition: transform var(--transition); }

.news-detail__title {
    font-size: var(--fs-h2);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--ntsn-primary);
    max-width: 28ch;
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    color: var(--ntsn-text-muted);
    font-size: 0.9rem;
}
.news-detail__meta time,
.news-detail__meta span:not(.news-detail__meta-sep) {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.news-detail__meta svg { opacity: 0.8; }
.news-detail__meta-sep { color: var(--ntsn-border); }

.news-detail__hero {
    margin: 0 0 2.5rem;
}
.news-detail__hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.news-detail__body { }
.news-detail__content {
    max-width: 72ch;
    margin: 0 auto;
}

.news-detail__lead {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--ntsn-text);
    font-weight: 500;
    margin: 0 0 1.75rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--ntsn-accent);
}

.news-detail__share {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ntsn-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.news-detail__share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ntsn-text-muted);
    margin-right: 0.25rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ntsn-bg-soft);
    color: var(--ntsn-primary);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.share-btn:hover {
    background: var(--ntsn-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ---------- News detail pager ---------- */
.news-detail__pager {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ntsn-border);
}
.news-pager {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .news-pager { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.news-pager__item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--ntsn-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ntsn-text);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.news-pager__item:hover {
    border-color: var(--ntsn-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    text-decoration: none;
}
.news-pager__item--next { text-align: right; align-items: flex-end; }
.news-pager__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ntsn-text-muted);
    font-weight: 600;
}
.news-pager__title {
    font-weight: 600;
    color: var(--ntsn-primary);
    font-size: 1rem;
    line-height: 1.3;
}

/* ---------- CTA tiles ---------- */
.cta-tiles {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .cta-tiles { grid-template-columns: repeat(3, 1fr); } }

.cta-tile {
    background: #fff;
    border: 1px solid var(--ntsn-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}
.cta-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cta-tile__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ntsn-primary-light);
    color: var(--ntsn-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.cta-tile__body { margin-bottom: 1.5rem; }
.cta-tile__body h3 { font-size: var(--fs-h3); margin: 0 0 0.4rem; }
.cta-tile__body p { color: var(--ntsn-text-muted); font-size: 0.9rem; margin: 0; line-height: 1.55; }
.cta-tile .btn { align-self: end; }

/* ---------- Text link button ---------- */
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ntsn-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap var(--transition), color var(--transition);
}
.btn-text-link:hover { color: var(--ntsn-primary-dark); gap: 0.55rem; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ntsn-primary-darker);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
    /*margin-top: var(--space-section);*/
}
.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 576px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

.footer-brand p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-small);
    max-width: 32ch;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text strong { color: #fff; }

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a, .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-list a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}
.footer-contact svg {
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.65);
}
.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.footer-bottom-links a { color: rgba(255, 255, 255, 0.75); }
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Cookie banner ---------- */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1049;
    animation: cookie-overlay-fade 0.25s ease-out;
}
@keyframes cookie-overlay-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
body.cookie-open { overflow: hidden; }

.cookie-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    color: var(--ntsn-text);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ntsn-border);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.cookie-consent.is-visible { animation: cookie-pop-in 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes cookie-pop-in {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.cookie-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ntsn-primary-light);
    color: var(--ntsn-primary);
}
.cookie-body { display: flex; flex-direction: column; gap: 0.35rem; }
.cookie-title { font-size: var(--fs-h3); margin: 0; }
.cookie-consent p { margin: 0; font-size: 0.95rem; color: var(--ntsn-text-muted); }
.cookie-consent p a { font-weight: 600; text-decoration: underline; }

.cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
}
.cookie-actions .btn { width: 100%; padding: 0.7rem 1.1rem; }

@media (min-width: 600px) {
    .cookie-consent {
        flex-direction: row;
        text-align: left;
        align-items: center;
        max-width: 760px;
        gap: 1.25rem;
    }
    .cookie-body { flex: 1 1 auto; }
    .cookie-actions { width: auto; flex-shrink: 0; }
    .cookie-actions .btn { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-overlay,
    .cookie-consent.is-visible { animation: none; }
}

/* ---------- Content (generic pages) ---------- */
.content-area { font-size: 0.95rem; line-height: 1.7; max-width: 72ch; }
.content-area h2 { margin: 1.75rem 0 0.85rem; font-size: var(--fs-h2); }
.content-area h3 { margin: 1.35rem 0 0.6rem; font-size: var(--fs-h3); }
.content-area p { margin-bottom: 0.85rem; }
.content-area ul, .content-area ol { padding-left: 1.4rem; margin-bottom: 0.85rem; }
.content-area li { margin-bottom: 0.3rem; }
.content-area img { border-radius: var(--radius); margin: 1rem 0; }

/* ---------- Breadcrumb bar ---------- */
.page-breadcrumb-bar {
    background: var(--ntsn-primary-light);
    border-bottom: 1px solid var(--ntsn-border);
    padding: 0.55rem 0;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    color: var(--ntsn-text-muted);
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
/* Subtiel chevron-separator: kleiner, lichter, perfect uitgelijnd */
.breadcrumb li + li::before {
    content: "";
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.25rem;
    border-top: 1.5px solid var(--ntsn-text-muted);
    border-right: 1.5px solid var(--ntsn-text-muted);
    opacity: 0.7;
    transform: rotate(45deg);
    transition: border-color 0.2s ease;
}
.breadcrumb a {
    position: relative;
    color: var(--ntsn-primary);
    font-weight: 500;
    text-decoration: none;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.breadcrumb a:hover {
    background-color: rgba(var(--ntsn-primary-rgb, 17, 71, 161), 0.08);
    text-decoration: none;
    transform: translateY(-1px);
}
.breadcrumb a:focus-visible {
    outline: 2px solid var(--ntsn-primary);
    outline-offset: 2px;
}
.breadcrumb li:last-child {
    color: var(--ntsn-text);
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    background: #fff;
    border: 1px solid var(--ntsn-border);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* ---------- Contactpagina layout ---------- */
.contact-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1.4fr 1fr;
        gap: 3rem;
    }
}

/* ---------- Contactgegevens-kaart ---------- */
.contact-card {
    background: var(--ntsn-primary-light);
    border: 1px solid var(--ntsn-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
@media (min-width: 900px) {
    .contact-card { position: sticky; top: 2rem; }
}
.contact-card__title {
    font-size: var(--fs-h3);
    margin: 0 0 1.25rem;
}
.contact-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.contact-card__item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}
.contact-card__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    color: var(--ntsn-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.contact-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ntsn-text-muted);
}
.contact-card__value {
    font-size: 0.95rem;
    color: var(--ntsn-text);
    word-break: break-word;
}
.contact-card__value a {
    color: var(--ntsn-primary);
    text-decoration: none;
    font-weight: 500;
}
.contact-card__value a:hover { text-decoration: underline; }

/* ---------- Contactformulier ---------- */
.contact-form {
    max-width: 640px;
}
.contact-layout .contact-form { max-width: none; }

.contact-form__alert {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
}
.contact-form__alert--success {
    background: #e7f6ec;
    border-color: #b6e0c4;
    color: #1c6b3a;
}
.contact-form__alert--error {
    background: #fdecec;
    border-color: #f5c2c2;
    color: #9b2222;
}

.contact-form__summary:not(:empty) {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    border-radius: var(--radius);
    color: #9b2222;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.contact-form__summary ul { margin: 0; padding-left: 1.2rem; }

.form-field {
    margin-bottom: 1.25rem;
}
.form-field__label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--ntsn-text);
    font-size: 0.95rem;
}
.form-field__required { color: #c0392b; }

.form-field__control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ntsn-text);
    background: #fff;
    border: 1px solid var(--ntsn-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field__control:focus {
    outline: none;
    border-color: var(--ntsn-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 209, 0.18);
}
textarea.form-field__control { resize: vertical; min-height: 7rem; }
.form-field__control.input-validation-error {
    border-color: #c0392b;
    background: #fdf6f6;
}

.form-field--consent {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.6rem;
}
.form-field__check {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--ntsn-primary);
}
.form-field__check-label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ntsn-text);
}
.form-field--consent .form-field__error { grid-column: 1 / -1; }

.form-field__error,
.field-validation-error {
    display: block;
    margin-top: 0.35rem;
    color: #c0392b;
    font-size: 0.85rem;
}

/* Honeypot: voor mensen onzichtbaar, voor bots aantrekkelijk */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .cookie-consent, .nav-toggle, .skip-link { display: none !important; }
    main { padding: 0; }
    a { color: #000; text-decoration: underline; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
