@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
    --blue: #00489a;
    --blue-dark: #023c7e;
    --red: #ce1216;
    --red-dark: #a90f12;
    --ink: #1f2a37;
    --muted: #55606e;
    --tint: #eef3f9;
    --line: #d9e2ec;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; font-size: 18px; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
h1 { font-size: 48px; margin: 0 0 16px; color: var(--blue); }
h2 { font-size: 32px; margin: 0 0 16px; color: var(--blue); }
h3 { font-size: 22px; margin: 32px 0 8px; color: var(--red); }
h1 span, h2 span { color: var(--red); }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.site-header .logo img { width: 230px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 700; color: var(--ink); padding: 6px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--red); }
[data-page="home"] .nav a[href="/"], [data-page="cursussen"] .nav a[href="/cursussen"], [data-page="vergoedingen"] .nav a[href="/vergoedingen"], [data-page="over"] .nav a[href="/over"] { color: var(--blue); border-bottom-color: var(--red); }

/* Buttons */
.btn, .nav a.btn { display: inline-block; text-decoration: none; font-weight: 800; padding: 12px 26px; border-radius: 999px; background: var(--red); color: #fff; border: 0; }
.btn:hover, .nav a.btn:hover { background: var(--red-dark); color: #fff; }
.btn.blue { background: var(--blue); }
.btn.blue:hover { background: var(--blue-dark); }
.btn.ghost { background: #fff; color: var(--blue); }
.btn.ghost:hover { background: #fff; color: var(--red); }

/* Hero (home) and page head (other pages) */
.hero, .page-head { background: var(--tint); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 72, 154, .18); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-head .wrap { padding-top: 44px; padding-bottom: 40px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 8px 0 0; font-size: 20px; color: var(--muted); }
.eyebrow { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--red); margin: 0 0 12px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.facts { display: flex; gap: 28px; margin: 32px 0 0; padding: 0; list-style: none; font-weight: 700; color: var(--blue); font-size: 16px; }
.facts li::before { content: '♥'; color: var(--red); margin-right: 8px; }

/* Heartbeat line */
.pulse { height: 60px; background: url('/images/heartbeat.svg') left center no-repeat; }

/* Content */
section { padding: 56px 0; }
.tinted { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img, .photos img { border-radius: var(--radius); }
.split + .prose, .split + .split { margin-top: 48px; }
.prose { max-width: 820px; }
.prose > :last-child { margin-bottom: 0; }
.intro { font-weight: 700; color: var(--blue); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.photos figure { margin: 0; }
.photos figcaption { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--muted); text-align: center; }
.portrait { float: left; width: 200px; margin: 6px 32px 16px 0; border-radius: var(--radius); }
.logo-nrr { max-width: 350px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card > div { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h2, .card h3 { margin: 0 0 8px; font-size: 22px; color: var(--blue); }
.card p { font-size: 16px; color: var(--muted); }
.card .meta { font-weight: 800; color: var(--red); font-size: 15px; margin-bottom: 12px; }
.card .more { margin-top: auto; font-weight: 800; text-decoration: none; }
.card .btn { margin-top: auto; align-self: flex-start; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
address { font-style: normal; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { margin-bottom: 16px; }
.contact-list b { display: block; color: var(--blue); }

/* Footer */
.site-footer { background: var(--blue); color: #dbe7f5; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto auto auto; gap: 40px; padding-top: 44px; padding-bottom: 28px; }
.site-footer h2 { margin: 0 0 8px; color: #fff; font-size: 17px; }
.site-footer p { margin: 0; }
.site-footer address { white-space: nowrap; }
.site-footer a { color: #fff; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; font-size: 14px; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }

@media (max-width: 900px) {
    .nav { gap: 6px 20px; flex-wrap: wrap; width: 100%; font-size: 16px; }
    .nav a.btn { order: -1; position: absolute; top: 14px; right: 24px; padding: 9px 20px; }
    .site-header .wrap { position: relative; }
    .site-header .logo img { width: 180px; }
    .hero .wrap, .split, .cards, .cards.three, .site-footer .wrap { grid-template-columns: 1fr; }
    .hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
    .split { gap: 24px; }
    .photos { grid-template-columns: 1fr; }
    h1 { font-size: 36px; }
    h2 { font-size: 27px; }
    .facts { flex-direction: column; gap: 6px; }
    section { padding: 40px 0; }
    .portrait { float: none; margin: 0 0 20px; }
}

@media (max-width: 420px) {
    .wrap { padding: 0 16px; }
    .nav { font-size: 15px; gap: 6px 8px; justify-content: space-between; }
    .nav a.btn { right: 16px; }
}

@media (max-width: 340px) {
    .nav { font-size: 14px; }
    .site-header .logo img { width: 150px; }
}
