/* Fonts loaded via HTML link tags */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
    /* Kleuren: navy en warm goud, aansluitend op het logo */
    --color-bg:            #f8f7f4;
    --color-bg-alt:        #f0ede8;
    --color-heading:       #1d3461;
    --color-text:          #383530;
    --color-text-muted:    #6e6a63;
    --color-accent:        #b8943a;
    --color-accent-dark:   #9a7b2e;
    --color-accent-light:  #f3ead8;
    --color-border:        #dcd8d0;
    --color-white:         #ffffff;
    --color-footer:        #131f3a;
    --color-footer-sub:    #0d1628;

    /* Typografie */
    --font-heading:        'DM Serif Display', Georgia, serif;
    --font-body:           'Inter', 'Segoe UI', sans-serif;
    --font-regular:        400;
    --font-medium:         500;
    --font-semibold:       600;

    /* Ruimte */
    --space-xs:   8px;
    --space-sm:   16px;
    --space-md:   32px;
    --space-lg:   64px;
    --space-xl:   96px;

    --max-width:     1140px;
    --radius:        6px;
    --radius-lg:     10px;
    --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: var(--font-regular);
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

@media (min-width: 640px) {
    .container { padding: 0 var(--space-md); }
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
}
a:hover {
    color: var(--color-heading);
    text-decoration: underline;
}

/* ============================================================
   Typografie
   ============================================================ */
h1, h2 {
    font-family: var(--font-heading);
    font-weight: var(--font-regular);
    color: var(--color-heading);
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: var(--space-sm);
}

h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: var(--font-semibold);
    color: var(--color-heading);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

h1 { font-size: 40px; margin-bottom: var(--space-md); }
h2 { font-size: 30px; margin-bottom: var(--space-md); }
h3 { font-size: 18px; }

p { margin-bottom: var(--space-sm); }

ul {
    list-style: none;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
}

ul li {
    position: relative;
    padding-left: var(--space-sm);
    margin-bottom: var(--space-xs);
}

ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 13px;
    line-height: 1.9;
}

/* ============================================================
   Knoppen
   ============================================================ */
.button {
    display: inline-block;
    padding: 11px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--font-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
    white-space: nowrap;
}
.button:hover {
    transform: translateY(-1px);
}
.button:active {
    transform: translateY(1px) scale(0.99);
}
.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(184, 148, 58, 0.45);
    outline-offset: 3px;
}

.primary-cta-button {
    background-color: var(--color-heading);
    color: var(--color-white);
    box-shadow: 0 10px 22px rgba(19, 31, 58, 0.12);
}
.primary-cta-button:hover {
    background-color: var(--color-accent-dark);
    color: var(--color-white);
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(19, 31, 58, 0.16);
}

.secondary-button {
    background-color: transparent;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent-dark);
}
.secondary-button:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
}

.ghost-button {
    background-color: transparent;
    border: none;
    color: var(--color-accent-dark);
    padding: 8px 0;
    font-size: 12px;
    letter-spacing: 0.08em;
}
.ghost-button:hover {
    color: var(--color-heading);
    text-decoration: none;
}

/* ============================================================
   Header
   ============================================================ */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    border-bottom: 1px solid rgba(220, 216, 208, 0.74);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    transition: background-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.24s var(--ease-out), padding 0.24s var(--ease-out);
}
header.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(220, 216, 208, 0.9);
    box-shadow: 0 12px 30px rgba(19, 31, 58, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    transition: min-height 0.24s var(--ease-out);
}
header.scrolled .header-content {
    min-height: 48px;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    transition: height 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}
.logo:hover img {
    transform: translateY(-1px);
}
header.scrolled .logo img {
    height: 34px;
}

/* Desktopnavigatie, verborgen op mobiel */
.desktop-nav { display: none; }

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.desktop-nav ul li {
    margin: 0;
    padding-left: 0;
}
.desktop-nav ul li::before { display: none; }

.desktop-nav ul li a {
    color: var(--color-text);
    font-weight: var(--font-medium);
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 9px 10px;
    position: relative;
    border-radius: var(--radius);
    transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.desktop-nav ul li a:hover {
    color: var(--color-heading);
    background-color: rgba(184, 148, 58, 0.08);
    text-decoration: none;
}
.desktop-nav ul li a.active {
    color: var(--color-heading);
}
.desktop-nav ul li a.active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 3px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 999px;
}

/* Hamburger */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-heading);
    transition: transform 0.24s var(--ease-out), opacity 0.2s var(--ease-out);
}
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobiele navigatie */
.mobile-nav {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    z-index: 999;
    padding: var(--space-sm) 0;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    backdrop-filter: blur(18px);
    transition: max-height 0.34s var(--ease-out), opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}
.mobile-nav.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav ul li { margin: var(--space-xs) 0; padding-left: 0; }
.mobile-nav ul li::before { display: none; }
.mobile-nav ul li a {
    display: block;
    padding: 9px var(--space-md);
    color: var(--color-text);
    font-weight: var(--font-medium);
    font-size: 15px;
}
.mobile-nav ul li a:hover {
    background-color: var(--color-accent-light);
    text-decoration: none;
}
.mobile-nav ul li a.active { color: var(--color-heading); }
.mobile-nav .primary-cta-button {
    margin-top: var(--space-md);
    display: inline-block;
}

/* ============================================================
   Secties
   ============================================================ */
.section-content { padding: var(--space-xl) 0; }
.section-alt-bg  { background-color: var(--color-bg-alt); }
main section { scroll-margin-top: 86px; }

.eyebrow {
    margin-bottom: var(--space-xs);
    color: var(--color-accent-dark);
    font-size: 11px;
    font-weight: var(--font-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading-row {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}
.section-heading-row h2 {
    max-width: 760px;
    margin-bottom: 0;
}
.section-heading-row > p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.section-action {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ============================================================
   Motion
   ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0.72;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.js .reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
    will-change: opacity, transform;
}
.js .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.js .service-feature-grid .reveal-on-scroll:nth-child(2),
.js .course-link-list .reveal-on-scroll:nth-child(2),
.js .stats-bar .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.08s;
}
.js .service-feature-grid .reveal-on-scroll:nth-child(3),
.js .course-link-list .reveal-on-scroll:nth-child(3),
.js .stats-bar .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.14s;
}
.js .service-feature-grid .reveal-on-scroll:nth-child(4),
.js .stats-bar .reveal-on-scroll:nth-child(4) {
    transition-delay: 0.2s;
}
.js .service-feature-grid .reveal-on-scroll:nth-child(5) {
    transition-delay: 0.26s;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-dark);
    font-size: 12px;
    font-weight: var(--font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.text-link::after {
    content: '→';
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}
.text-link:hover {
    color: var(--color-heading);
    text-decoration: none;
}
.text-link:hover::after {
    transform: translate(4px, -1px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
    background-color: var(--color-heading);
    padding: var(--space-xl) 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 48px;
    color: var(--color-white);
    letter-spacing: 0;
    margin-bottom: var(--space-sm);
}
.hero-section p {
    font-size: 18px;
    max-width: 660px;
    margin: 0 auto var(--space-md);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

/* Knopoverrides op donkere hero */
.hero-section .primary-cta-button {
    background-color: var(--color-accent);
    color: var(--color-white);
}
.hero-section .primary-cta-button:hover {
    background-color: var(--color-accent-dark);
}
.hero-section .secondary-button {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.8);
}
.hero-section .secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    margin-top: var(--space-md);
}

.home-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 620px;
    padding: calc(var(--space-xl) * 1.35) 0 var(--space-xl);
    text-align: left;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(19, 31, 58, 0.95) 0%, rgba(19, 31, 58, 0.82) 38%, rgba(19, 31, 58, 0.24) 100%),
        url('images/home-hero.webp');
    background-size: cover;
    background-position: center 42%;
}
.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(19, 31, 58, 0.28), rgba(19, 31, 58, 0));
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
}
.hero-copy {
    max-width: 680px;
}
.home-hero .eyebrow {
    color: rgba(243, 234, 216, 0.86);
    animation: heroFadeUp 0.58s var(--ease-out) both;
}
.home-hero h1 {
    max-width: 680px;
    margin-bottom: var(--space-md);
    color: var(--color-white);
    font-size: 34px;
    text-wrap: balance;
    animation: heroFadeUp 0.62s var(--ease-out) 0.04s both;
}
.home-hero .hero-copy p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 0 var(--space-md);
    color: rgba(255, 255, 255, 0.76);
    animation: heroFadeUp 0.62s var(--ease-out) 0.08s both;
}
.home-hero .hero-buttons {
    justify-content: flex-start;
    align-items: flex-start;
    animation: heroFadeUp 0.62s var(--ease-out) 0.12s both;
}

/* Kleine hero (subpagina's) */
.hero-section.small-hero {
    padding: var(--space-lg) 0;
}
.hero-section.small-hero h1 {
    font-size: 36px;
    margin-bottom: var(--space-xs);
}
.hero-section.small-hero p {
    font-size: 16px;
    margin-bottom: 0;
}

/* ============================================================
   Statistiekenregel
   ============================================================ */
.stats-bar-section {
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    text-align: center;
}
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: var(--space-sm);
}
.stats-bar div {
    flex: 1 1 45%;
    padding: var(--space-xs);
    font-size: 12px;
    font-weight: var(--font-medium);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.stats-bar div span {
    display: block;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: var(--font-regular);
    color: var(--color-heading);
    letter-spacing: 0;
    margin-bottom: 2px;
}

.home-trust-strip {
    position: relative;
    z-index: 2;
    padding: 26px 0;
    background-color: var(--color-bg);
}

/* ============================================================
   Homepage dienstenoverzicht
   ============================================================ */
.service-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}
.service-card {
    background-color: var(--color-white);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: flex-start;
}
.service-card h3 {
    font-size: 20px;
}
.service-card p {
    flex: 1;
    color: var(--color-text-muted);
    font-size: 15px;
}
/* ============================================================
   Homepage beeld + tekst
   ============================================================ */
.image-text-grid {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}
.two-column-section {
    display: grid;
    gap: var(--space-lg);
    align-items: start;
}
.image-panel {
    margin: 0;
}
.image-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}
.content-panel p {
    max-width: 680px;
    color: var(--color-text-muted);
}
.content-panel .hero-buttons {
    justify-content: flex-start;
    margin-top: var(--space-md);
}
.process-list {
    counter-reset: process;
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}
.process-list li {
    counter-increment: process;
    position: relative;
    padding: 0 0 var(--space-md) 54px;
    color: var(--color-text-muted);
    border-left: 1px solid var(--color-border);
}
.process-list li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}
.process-list li::before {
    content: counter(process, decimal-leading-zero);
    position: absolute;
    left: -16px;
    top: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-heading);
    font-size: 11px;
    font-weight: var(--font-semibold);
}
.process-list span {
    display: block;
    color: var(--color-heading);
    font-weight: var(--font-semibold);
}

.check-list {
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--color-text-muted);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px;
    height: 2px;
    background-color: var(--color-accent);
}

/* ============================================================
   Homepage cursuspreview
   ============================================================ */
.course-program-layout {
    display: grid;
    gap: var(--space-md);
    align-items: stretch;
}
.course-program-image {
    margin: 0;
}
.course-program-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}
.course-link-list {
    display: grid;
    gap: var(--space-sm);
}
.course-link-list article {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}
.course-link-list h3 {
    font-size: 20px;
}
.course-link-list p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.course-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
.course-preview-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.course-preview-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.course-preview-card div {
    padding: var(--space-md);
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}
.course-preview-card p {
    flex: 1;
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ============================================================
   Kaarten
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.card {
    background-color: var(--color-white);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.card img {
    max-width: 56px;
    height: auto;
    margin-bottom: var(--space-sm);
}
.card h3 {
    color: var(--color-heading);
    margin-bottom: var(--space-xs);
}
.card p {
    flex-grow: 1;
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
}
.card .button { margin-top: auto; }

/* ============================================================
   CTA-banner (donkere sectie)
   ============================================================ */
.cta-banner {
    text-align: center;
    padding: var(--space-xl) 0;
    background-color: var(--color-heading);
}
.cta-banner h2 {
    color: var(--color-white);
}
.cta-banner p {
    font-size: 17px;
    max-width: 580px;
    margin: 0 auto var(--space-md);
    color: rgba(255, 255, 255, 0.65);
}
.cta-banner .primary-cta-button {
    background-color: var(--color-accent);
    color: var(--color-white);
}
.cta-banner .primary-cta-button:hover {
    background-color: var(--color-accent-dark);
}
.cta-banner .secondary-button {
    border-color: rgba(255, 255, 255, 0.36);
    color: rgba(255, 255, 255, 0.82);
}
.cta-banner .secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
}

/* ============================================================
   Cursuskaarten
   ============================================================ */
.course-grid { margin-top: var(--space-lg); }

.course-card {
    padding: var(--space-md);
    text-align: left;
    align-items: flex-start;
    border-top: 3px solid var(--color-accent);
}
.course-card img {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    margin: var(--space-sm) 0 var(--space-md) 0;
    align-self: flex-start;
}
.course-card h3 {
    text-align: left;
    width: 100%;
    font-family: var(--font-heading);
    font-weight: var(--font-regular);
    font-size: 20px;
    color: var(--color-heading);
    margin-bottom: var(--space-sm);
}
.course-card h4 {
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    font-weight: var(--font-semibold);
}
.course-card p { flex-grow: 0; }
.course-card ul {
    margin-bottom: var(--space-md);
    padding-left: 0;
}
.course-card ul li { padding-left: var(--space-sm); }
.course-card .button { align-self: flex-start; }

.section-alt-bg-card { background-color: var(--color-white); }

/* ============================================================
   Formulieren
   ============================================================ */
.form-section { padding-top: var(--space-lg); }

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-md);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.form-group { margin-bottom: var(--space-sm); }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: var(--font-semibold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-white);
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    margin-top: var(--space-md);
}

.contact-form button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.form-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: var(--space-md);
}

.form-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-heading);
}

.form-consent label {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.contact-form[aria-busy="true"] {
    cursor: wait;
}

.form-message {
    display: none;
    margin-top: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
}
.form-message.success {
    background-color: #e8efe8;
    color: #253325;
    border: 1px solid var(--color-accent);
}
.form-message.error {
    background-color: #f8e8e8;
    color: #4a2525;
    border: 1px solid #c08080;
}

/* ============================================================
   Homepage contact
   ============================================================ */
.home-contact-section {
    background:
        linear-gradient(135deg, rgba(248, 247, 244, 0.98), rgba(240, 237, 232, 0.98));
    border-top: 1px solid var(--color-border);
}
.home-contact-section .contact-grid {
    align-items: start;
}
.home-contact-section .contact-form-column > p:not(.eyebrow) {
    max-width: 620px;
    color: var(--color-text-muted);
}
.home-contact-section .contact-form {
    max-width: none;
    margin: var(--space-md) 0 0;
    padding: var(--space-md);
    box-shadow: 0 20px 44px rgba(19, 31, 58, 0.08);
}
.home-contact-section .form-group input,
.home-contact-section .form-group textarea {
    background-color: #fbfaf8;
}
.home-contact-section .form-group input::placeholder,
.home-contact-section .form-group textarea::placeholder {
    color: rgba(110, 106, 99, 0.52);
}

.home-contact-card {
    position: relative;
    background:
        radial-gradient(circle at 100% 100%, rgba(184, 148, 58, 0.18), rgba(184, 148, 58, 0) 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        var(--color-heading);
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: 0 24px 58px rgba(19, 31, 58, 0.16);
}
.home-contact-card .eyebrow {
    color: rgba(243, 234, 216, 0.78);
}
.home-contact-card h2 {
    color: var(--color-white);
}
.contact-lead {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.7);
}
.contact-actions {
    display: grid;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}
.contact-action {
    display: block;
    padding: 18px 0;
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.contact-action:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-action span {
    display: block;
    margin-bottom: 3px;
    color: var(--color-accent-light);
    font-size: 11px;
    font-weight: var(--font-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.contact-action:hover {
    color: var(--color-accent-light);
    text-decoration: none;
    transform: translateX(3px);
}
.contact-address-grid {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
.home-contact-card .contact-address-grid {
    grid-template-columns: 1fr;
}
.home-contact-card .contact-detail {
    margin-bottom: 0;
}
.home-contact-card .contact-detail h3 {
    color: rgba(243, 234, 216, 0.72);
}
.home-contact-card .contact-detail p {
    color: rgba(255, 255, 255, 0.74);
}

/* ============================================================
   Over ons
   ============================================================ */
.story-section h2,
.values-section h2,
.approach-section h2 {
    margin-bottom: var(--space-md);
}
.story-section p,
.approach-section p {
    max-width: 840px;
}

.value-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}
.value-item {
    flex: 1 1 260px;
    max-width: 320px;
    background-color: var(--color-white);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.value-item img {
    max-width: 52px;
    height: auto;
    margin-bottom: var(--space-sm);
}
.value-item h3 { color: var(--color-heading); }
.value-item p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ============================================================
   Contactpagina
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
.contact-form-column,
.contact-info-column { padding: var(--space-sm); }

.contact-form-column h2,
.contact-info-column h2 {
    margin-bottom: var(--space-md);
}
.contact-info-column p {
    margin-bottom: var(--space-xs);
}

.contact-detail { margin-bottom: var(--space-md); }
.contact-detail h3 {
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 4px;
    font-weight: var(--font-semibold);
}
.map-placeholder { margin-top: var(--space-md); }
.map-placeholder img { border-radius: var(--radius); }

/* ============================================================
   Blog
   ============================================================ */
.blog-placeholder { text-align: left; }
.blog-placeholder h2 {
    color: var(--color-heading);
    margin-bottom: var(--space-md);
}
.blog-placeholder p {
    max-width: 760px;
    color: var(--color-text-muted);
    margin: 0 0 var(--space-lg);
}

.blog-card-grid { margin-top: var(--space-lg); }

.coming-soon-card {
    background-color: var(--color-white);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 200px;
}
.coming-soon-card h3 {
    color: var(--color-heading);
    margin-bottom: var(--space-xs);
}
.coming-soon-card p {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 0;
}
.coming-soon-card .teaser {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

/* ============================================================
   Privacy
   ============================================================ */
.privacy-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 22px;
}
.privacy-content h2:first-of-type { margin-top: 0; }
.privacy-content p { margin-bottom: var(--space-sm); }
.privacy-content ul { margin-bottom: var(--space-md); }

.legal-version {
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: var(--font-medium);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    background-color: var(--color-footer);
    color: rgba(255, 255, 255, 0.55);
    padding-top: var(--space-lg);
    font-size: 14px;
    line-height: 1.65;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col { padding: 0 var(--space-xs); }

.footer-col h3 {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--font-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-col p { margin-bottom: var(--space-xs); }

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.footer-col a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: var(--space-xs); padding-left: 0; }
.footer-col ul li::before { display: none; }

.certification-icons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}
.certification-icons img {
    max-height: 34px;
    width: auto;
    filter: brightness(0) invert(0.6);
}

.footer-bottom {
    background-color: var(--color-footer-sub);
    padding: var(--space-sm) 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.03em;
}

/* ============================================================
   Media queries
   ============================================================ */

/* Tablet ≥ 640px */
@media (min-width: 640px) {
    h1 { font-size: 46px; }
    h2 { font-size: 34px; }

    .hero-section h1       { font-size: 58px; }
    .home-hero h1 {
        max-width: 760px;
        font-size: 54px;
    }
    .hero-section.small-hero h1 { font-size: 42px; }

    .hero-buttons { flex-direction: row; }
    .cta-actions  { flex-direction: row; }

    .stats-bar div        { flex: 1 1 auto; }
    .stats-bar div span   { font-size: 40px; }

    .card-grid    { grid-template-columns: repeat(2, 1fr); }
    .course-grid  { grid-template-columns: repeat(2, 1fr); }
    .service-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .course-preview-grid  { grid-template-columns: repeat(2, 1fr); }

    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { max-width: none; }
    .home-contact-section .contact-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--space-sm);
        row-gap: var(--space-sm);
    }
    .home-contact-section .form-group {
        margin-bottom: 0;
    }
    .home-contact-section .form-group-wide,
    .home-contact-section .form-consent,
    .home-contact-section .contact-form button,
    .home-contact-section .form-message {
        grid-column: 1 / -1;
    }
    .contact-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-card-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop ≥ 1024px */
@media (min-width: 1024px) {
    .hamburger-menu { display: none; }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }
    .desktop-nav ul { margin-right: var(--space-sm); }

    h1 { font-size: 52px; }
    h2 { font-size: 38px; }

    .hero-section        { padding: calc(var(--space-xl) * 1.25) 0; }
    .hero-section h1     { font-size: 68px; }
    .home-hero {
        min-height: 700px;
        padding: calc(var(--space-xl) * 1.55) 0 var(--space-xl);
        background-size: 118% auto;
        background-position: 24% 38%;
    }
    .home-hero .hero-inner {
        max-width: 760px;
        margin-left: clamp(32px, 9vw, 220px);
        margin-right: auto;
    }
    .home-hero h1 {
        max-width: 760px;
        font-size: 62px;
    }

    .section-heading-row {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
        align-items: end;
    }
    .home-contact-section .contact-grid {
        grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.68fr);
        gap: var(--space-xl);
    }
    .home-contact-card {
        margin-top: 52px;
        padding: var(--space-lg);
    }

    .service-feature-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: var(--space-md);
    }
    .service-card {
        grid-column: span 2;
    }
    .service-card-wide {
        grid-column: span 3;
    }

    .image-text-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
    .two-column-section {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    }
    .image-text-grid-reverse {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    }
    .image-panel img {
        min-height: 520px;
    }
    .course-program-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    }
    .course-link-list {
        gap: var(--space-md);
    }

    .card-grid       { grid-template-columns: repeat(3, 1fr); }
    .course-grid     { grid-template-columns: repeat(2, 1fr); }
    .course-preview-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-card-grid  { grid-template-columns: repeat(3, 1fr); }
    .footer-grid     { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .js .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Groot scherm ≥ 1440px */
@media (min-width: 1440px) {
    .container { padding: 0 var(--space-lg); }
}
