/* ==========================================================================
   MijnKleutergroep — eigen styling
   ========================================================================== */

/* --- Lettertypes --- */
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-semibolditalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Montserrat';
    src: url('../fonts/montserrat-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MKG Caveat Brush';
    src: url('../fonts/caveat-brush.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- Huisstijl ---
   Kleuren: blauw-donker #0c2472, blauw #0ca3d1, oranje #ff7b00, groen #a6ce00,
   geel #ffbf00, crème (tekstballon) #fff9d8, wit #ffffff.
   Letters: 'MKG Montserrat' (tekst) en 'MKG Caveat Brush' (handschrift). */
:root {
    --header-hoogte: 90px;
    --container-breedte: 1310px;
    --container-marge: 50px;
}

html {
    scroll-padding-top: var(--header-hoogte);
}

/* Standaardmarge van de browser weg */
body {
    margin: 0;
}

/* --- Basis voor alle pagina's (body.mkg-pagina) ---
   :where() houdt de specificiteit op 0, zodat component-classes altijd winnen. */
.mkg-pagina {
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #0c2472;
    background: #ffffff;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Schuine labels en puntjes mogen niet voor horizontaal scrollen zorgen (clip houdt sticky werkend) */
    overflow-x: clip;
}
:where(.mkg-pagina) *,
:where(.mkg-pagina) *::before,
:where(.mkg-pagina) *::after {
    box-sizing: border-box;
}
:where(.mkg-pagina) img {
    max-width: 100%;
    height: auto;
}
:where(.mkg-pagina) :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    line-height: 1.1;
}
:where(.mkg-pagina) p {
    margin: .85em 0;
}
:where(.mkg-pagina) a {
    color: #0ca3d1;
}
:where(.mkg-pagina main) a {
    text-decoration: none;
}
@media (max-width: 479px) {
    .mkg-pagina { font-size: 15px; }
}

.visueel-verborgen {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- Knoppen --- */
.knop {
    display: inline-block;
    padding: 10px 17px;
    border-radius: 6px;
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s ease-in-out;
}
.knop:hover,
.knop:focus-visible {
    opacity: .9;
    color: #ffffff;
    text-decoration: none;
}
.knop--oranje { background: #ff7b00; }
.knop--blauw  { background: #0ca3d1; }
/* Witte knop met oranje tekst (footer) */
.knop--wit {
    background: #ffffff;
    color: #ff7b00;
}
.knop--wit:hover,
.knop--wit:focus-visible { color: #ff7b00; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .1);
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container-breedte);
    height: var(--header-hoogte);
    margin: 0 auto;
    padding: 0 var(--container-marge);
}

.site-header__logo {
    display: block;
    height: 100%;
    flex-shrink: 0;
}
.site-header__logo img {
    display: block;
    width: auto;
    height: 100%;
}

/* --- Menu (desktop) --- */
.site-nav__lijst {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-nav__item--knop {
    margin-left: 10px;
}
.site-nav__item--knop .knop {
    padding: 8px 16px;
    font-size: 15px;
}

.site-nav__link {
    display: block;
    padding: 10px 13px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #0c2472;
    text-decoration: none;
    transition: color .2s ease-in-out;
}
.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-actief {
    color: #0ca3d1;
    text-decoration: none;
}

/* Submenu */
.site-nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 208px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility .2s;
}
.site-nav__item--sub:hover > .site-nav__sub,
.site-nav__item--sub:focus-within > .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.site-nav__sub li {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #eef1f6;
}
.site-nav__sub li:first-child { border-top: 0; }
.site-nav__sub a {
    display: block;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    color: #0c2472;
    text-decoration: none;
}
.site-nav__sub a:hover,
.site-nav__sub a:focus-visible {
    background: #f6f8fb;
    color: #0ca3d1;
}

/* --- Hamburgerknop (alleen mobiel zichtbaar) --- */
.site-header__toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.site-header__toggle-lijnen,
.site-header__toggle-lijnen::before,
.site-header__toggle-lijnen::after {
    position: absolute;
    left: 6px;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: #0c2472;
    transition: transform .25s ease-in-out, opacity .2s;
}
.site-header__toggle-lijnen { top: 50%; margin-top: -1.5px; }
.site-header__toggle-lijnen::before,
.site-header__toggle-lijnen::after { content: ''; left: 0; }
.site-header__toggle-lijnen::before { top: -10px; }
.site-header__toggle-lijnen::after  { top: 10px; }

.site-header.is-open .site-header__toggle-lijnen { background: transparent; }
.site-header.is-open .site-header__toggle-lijnen::before { transform: translateY(10px) rotate(45deg); }
.site-header.is-open .site-header__toggle-lijnen::after  { transform: translateY(-10px) rotate(-45deg); }

/* --- Transparante header (homepage): over de hero heen tot er gescrold wordt --- */
@media (min-width: 1024px) {
    .site-header--transparant {
        position: fixed;
        left: 0;
        right: 0;
    }
    .site-header--transparant:not(.is-gescrold) {
        background: transparent;
        box-shadow: none;
    }
    .site-header--transparant:not(.is-gescrold) .site-nav__link {
        color: #ffffff;
    }
    .site-header--transparant:not(.is-gescrold) .site-nav__link:hover,
    .site-header--transparant:not(.is-gescrold) .site-nav__link:focus-visible {
        color: #ffffff;
        opacity: .8;
    }
}

/* --- Mobiel menu --- */
@media (max-width: 1023px) {
    :root {
        --header-hoogte: 80px;
        --container-marge: 7.5%;
    }

    .site-header__toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-hoogte));
        overflow-y: auto;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
        display: none;
    }
    .site-header.is-open .site-nav {
        display: block;
    }

    .site-nav__lijst {
        flex-direction: column;
        align-items: stretch;
        padding: 10px var(--container-marge) 24px;
    }
    .site-nav__item {
        border-bottom: 1px solid #eef1f6;
    }
    .site-nav__item--knop {
        margin: 14px 0 0;
        border-bottom: 0;
    }
    .site-nav__item--knop .knop {
        display: block;
        text-align: center;
    }
    .site-nav__link {
        padding: 14px 0;
        font-size: 17px;
    }

    /* Submenu staat op mobiel gewoon uitgeklapt onder het hoofditem */
    .site-nav__sub {
        position: static;
        min-width: 0;
        padding: 0 0 10px 16px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .site-nav__sub li { border-top: 0; }
    .site-nav__sub a {
        padding: 8px 0;
        font-size: 15px;
    }
}

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

.site-footer {
    background: #0ca3d1;
    color: #ffffff;
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

/* Drie kolommen zoals op de oude site; de middelste is leeg */
.site-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5%;
    row-gap: 10px;
    max-width: var(--container-breedte);
    margin: 0 auto;
    padding: 50px var(--container-marge);
}

.site-footer p {
    margin: 13.6px 0;
    color: #ffffff;
}

.site-footer a {
    color: #ffffff;
}
.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
    opacity: .85;
}
.site-footer .knop--wit,
.site-footer .knop--wit:hover,
.site-footer .knop--wit:focus-visible {
    color: #ff7b00;
}

.site-footer__bedrijf,
.site-footer__contact {
    padding: 30px;
}
.site-footer__contact {
    grid-column: 3;
}

.site-footer__logo {
    display: block;
    width: 124px;
    height: auto;
}

.site-footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.site-footer__social img {
    display: block;
    width: 26px;
    height: 26px;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer__links li {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}
.site-footer__links a {
    text-decoration: underline;
}

.site-footer__handje {
    display: block;
    width: fit-content;
    margin: 20px 0 0 auto;
}
.site-footer__handje img {
    display: block;
    width: 118px;
    height: auto;
}

@media (max-width: 767px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .site-footer__bedrijf,
    .site-footer__contact {
        padding: 0;
    }
    .site-footer__contact {
        grid-column: auto;
    }
}

/* --- Knop "terug naar boven" --- */
.naar-boven {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out, visibility .2s;
}
.naar-boven.is-zichtbaar {
    opacity: .5;
    visibility: visible;
}
.naar-boven:hover,
.naar-boven:focus-visible {
    opacity: .8;
}
.naar-boven svg {
    width: 19px;
    height: 32px;
    fill: #ffffff;
}
@media (max-width: 767px) {
    .naar-boven { right: 20px; bottom: 20px; }
}

/* ==========================================================================
   Hero (homepage)
   ========================================================================== */

.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: #0c2472;
}

/* Video met een foto als voorbeeld tot de video speelt */
.hero__achtergrond {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__inhoud {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    max-width: var(--container-breedte);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-marge);
    animation: hero-in .6s ease-out both;
}

#top .hero__titel {
    max-width: 600px;
    margin: 0;
    font-size: 60px;
    font-weight: 800;
    line-height: 55px;
    letter-spacing: -1px;
    color: #ffffff;
}

#top .hero__knop {
    display: inline-block;
    padding: 2px 18px;
    border-radius: 8px;
    background: #0ca3d1;
    font-size: 17px;
    font-weight: 800;
    line-height: 40px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color .2s ease-out, color .2s ease-out, border-radius .2s ease-out;
}
#top .hero__knop:hover,
#top .hero__knop:focus-visible {
    border-radius: 10px;
    background: #ffffff;
    color: #0ca3d1;
}

@keyframes hero-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 1239px) {
    .hero { height: 600px; }
}
@media (max-width: 1023px) {
    #top .hero__titel {
        font-size: 50px;
        line-height: 48px;
        letter-spacing: 0;
    }
}
@media (max-width: 777px) {
    .hero { height: 420px; }
    .hero__inhoud {
        justify-content: flex-end;
        gap: 14px;
        padding: 0 7.5% 50px;
    }
    #top .hero__titel {
        font-size: 30px;
        line-height: 1.05;
    }
    #top .hero__knop {
        font-size: 15px;
        line-height: 30px;
        padding: 2px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__inhoud { animation: none; }
}

/* ==========================================================================
   Bouwstenen (maten overgenomen van de oude site)
   ========================================================================== */

/* --- Secties --- */
.sectie {
    padding: 70px 0;
}
.sectie--groot { padding: 130px 0; }

.sectie__inner {
    max-width: var(--container-breedte);
    margin: 0 auto;
    padding: 0 var(--container-marge);
}

/* Achtergrond met blauwe MKG-tekeningetjes */
.sectie--patroon {
    background: #ffffff url('../img/algemeen/patroon-blauw.png') no-repeat 50% 50% / cover;
}
@media (min-width: 1025px) and (hover: hover) {
    .sectie--patroon { background-attachment: fixed; }
}

@media (max-width: 767px) {
    .sectie--groot { padding: 70px 0; }
}

/* --- Koppen --- */
.kop-groot {
    margin: 0 0 30px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    color: #0c2472;
}
/* Zoals op de oude site: op kleine schermen staat deze kop er niet */
@media (max-width: 767px) {
    .kop-groot--niet-mobiel { display: none; }
}

/* Handgeschreven kop (Caveat Brush) */
.kop-hand {
    margin: 0;
    padding-bottom: 10px;
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}
.kop-hand--groot { font-size: 51px; }

.tekst-groen  { color: #a6ce00; }
.tekst-geel   { color: #ffbf00; }
.tekst-oranje { color: #ff7b00; }
.tekst-blauw  { color: #0ca3d1; }

@media (max-width: 989px) {
    .kop-hand--groot { font-size: 40px; }
}
@media (max-width: 767px) {
    .kop-hand { font-size: 25.6px; }
}
@media (max-width: 479px) {
    .kop-hand--groot { font-size: 36px; }
}

/* --- Drie kolommen met tekst ("Waarom kiezen voor MijnKleutergroep?") --- */
.drieluik {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5%;
    row-gap: 20px;
}
.drieluik__vak {
    padding: 35px;
    text-align: center;
}
@media (max-width: 767px) {
    .drieluik { grid-template-columns: minmax(0, 1fr); }
    .drieluik__vak { padding: 20px 0; }
}

/* --- Rij met knoppen --- */
.knoppenrij {
    margin-top: 5px;
    text-align: center;
}
.knoppenrij .knop {
    margin: 3px 3px 5px;
    transition: opacity .4s ease-in-out;
}
@media (max-width: 479px) {
    .knoppenrij .knop {
        display: table;
        margin: 0 auto 10px;
    }
}

/* --- Foto over de volle breedte met een wit tekstvak erop --- */
.fotovlak {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding: 50px 0;
    background: #ffffff no-repeat 100% 50% / cover;
}
.fotovlak__inner {
    width: 100%;
    max-width: var(--container-breedte);
    margin: 0 auto;
    padding: 0 var(--container-marge);
}
.fotovlak__vak {
    width: 29.333%;
    min-width: 280px;
    padding: 4%;
    background: #ffffff;
}
/* Op de telefoon een aparte (staande) foto onder het tekstvak */
.fotovlak__foto-mobiel {
    display: none;
}

/* Kop opgebouwd uit dunne en dikke regels */
.kop-mix {
    margin: 0;
    line-height: 1.1;
    color: #0c2472;
}
.kop-mix__dun {
    display: block;
    font-size: 25px;
    font-weight: 200;
}
.kop-mix__dik {
    display: block;
    font-size: 36px;
    font-weight: 800;
}

/* Zoals op de oude site: op de telefoon een donkerblauw vlak met witte tekst en de foto eronder */
@media (max-width: 479px) {
    .fotovlak {
        display: block;
        min-height: 0;
        padding: 0;
        background-image: none !important;
    }
    .fotovlak__inner { padding: 0; }
    .fotovlak__vak {
        width: 100%;
        min-width: 0;
        padding: 30px 7.5%;
        background: #0c2472;
    }
    .fotovlak__vak .kop-mix { color: #ffffff; }
    .fotovlak__foto-mobiel {
        display: block;
        width: 100%;
        height: 60vh;
        object-fit: cover;
        object-position: 100% 50%;
    }
    .kop-mix__dun { font-size: 22px; }
    .kop-mix__dik { font-size: 30px; }
}

/* --- Ervaringen van gebruikers (tekstballon met foto en naam) --- */
.ervaringen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 6%;
    row-gap: 20px;
    margin-top: 40px;
}
.ervaring {
    margin: 0;
}
.ervaring__tekst {
    position: relative;
    margin: 0;
    padding: 25px;
    border-radius: 2px;
    background: #fff9d8;
}
.ervaring__tekst p {
    margin: 0 0 13.6px;
}
.ervaring__tekst p:last-child {
    margin-bottom: 0;
}
.ervaring__tekst a {
    font-weight: 700;
    color: #0ca3d1;
}
/* Puntje van de tekstballon */
.ervaring__tekst::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 47px;
    width: 85px;
    height: 43px;
    background: #fff9d8;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.ervaring__wie {
    display: flex;
    align-items: flex-start;
    margin: 13px 0 0 20px;
    font-size: 17px;
}
/* De gekleurde rand zit al in de foto zelf */
.ervaring__foto {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    margin-right: 10px;
    border-radius: 50%;
}
.ervaring__naam {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 68px 0 0 20px;
    line-height: 1.3;
}
.ervaring__naam strong {
    display: block;
    padding-bottom: 15px;
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}
.ervaring__functie--oranje {
    color: #ff7b00;
    opacity: .7;
}
@media (max-width: 767px) {
    .ervaringen {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 40px;
    }
    .ervaring__wie {
        margin-left: 0;
        font-size: 15px;
    }
    .ervaring__foto { width: 120px; height: 120px; }
    .ervaring__naam { padding-top: 30px; }
    .ervaring__naam strong { font-size: 23px; }
}

/* ==========================================================================
   Gewone pagina's
   ========================================================================== */

/* Grote kop bovenaan een pagina */
.kop-pagina {
    margin: 0 0 30px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    color: #0c2472;
}
.kop-pagina--blauw { color: #0ca3d1; }
@media (max-width: 767px) {
    .kop-pagina { font-size: 34px; }
}

/* Dunne introductietekst onder de paginakop (over ons) */
.intro-dun {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 200;
    line-height: 1.1;
    text-align: center;
}

.sectie--klein { padding: 50px 0; }
/* Sectie direct onder een paginakop: minder ruimte erboven */
.sectie--na-kop { padding-top: 30px; }
.bg-creme { background-color: #fff9d8; }

/* Foto over de volle breedte onderaan een pagina */
.fotoband {
    display: block;
    width: 100%;
    height: auto;
}
.fotoband--hoog {
    min-height: 60vh;
    background: #ffffff no-repeat 50% 0 / cover;
}

/* --- Tijdlijn met genummerde stappen, horizontaal te schuiven (implementatie) --- */
.stappen {
    position: relative;
}
.stappen__spoor {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 50px) / 4);
    column-gap: 50px;
    margin: 0;
    padding: 0 0 20px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.stappen__spoor::-webkit-scrollbar { display: none; }
.stap {
    position: relative;
    margin: 0;
    scroll-snap-align: start;
    list-style: none;
}
/* Stippellijn vanaf het bolletje naar de volgende stap */
.stap::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 90px;
    right: -50px;
    border-top: 1px dashed #0c2472;
}
.stap:last-child::before { display: none; }
.stap__nummer {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ff7b00;
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 45px;
    line-height: 90px;
    text-align: center;
    color: #ffffff;
}
.stap__kaart {
    position: relative;
    min-height: 128px;
    margin: 30px 0 0;
    padding: 30px 32px;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}
/* Puntje naar het bolletje */
.stap__kaart::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 37px;
    width: 16px;
    height: 16px;
    background: inherit;
    transform: rotate(45deg);
}
.stap__titel {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    color: #0ca3d1;
}
/* Vorige/volgende-knoppen rechts naast de bolletjes */
.stappen__knoppen {
    position: absolute;
    top: 27px;
    right: -10px;
    display: flex;
    gap: 2px;
}
.stappen__knop {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(12, 163, 209, .5);
    cursor: pointer;
    transition: background-color .2s ease-in-out;
}
.stappen__knop:hover,
.stappen__knop:focus-visible { background: #0ca3d1; }
.stappen__knop svg {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
}
@media (max-width: 989px) {
    .stappen__spoor { grid-auto-columns: calc((100% - 50px) / 2); }
}
@media (max-width: 599px) {
    .stappen__spoor { grid-auto-columns: 85%; column-gap: 30px; }
    .stap::before { right: -30px; }
    .stappen__knoppen { position: static; justify-content: center; margin-top: 10px; }
}

/* --- Twee kolommen: tekst + video (implementatie) --- */
.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 6%;
    align-items: center;
}
.duo__kop {
    margin: 0 0 .85em;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
    color: #0ca3d1;
}
.video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 767px) {
    .duo {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 30px;
    }
}

/* --- Tegels: tekstvak naast foto, afwisselend (over ons) --- */
.tegels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px 4%;
}
.tegel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 10%;
}
img.tegel {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}
.tegel .kop-hand {
    margin-bottom: 10px;
    color: #0ca3d1;
    text-align: left;
}
.tegel p {
    margin: 0;
    font-size: 15px;
}
.tegel--creme { background: #fff9d8; }
.tegel--groen { background: #edf4d3; }
.tegel--blauw { background: #e8f7fc; }
@media (max-width: 767px) {
    .tegels { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .tegel { aspect-ratio: auto; }
    /* Op mobiel staat de foto steeds onder de tekst */
    img.tegel { aspect-ratio: 1 / 1; margin-bottom: 30px; }
    .tegel--na-foto { order: -1; }
}

/* --- Prijskaarten --- */
.sectie--patroon-boven {
    background: #ffffff url('../img/algemeen/patroon-blauw.png') no-repeat 0 0 / cover;
}
@media (min-width: 1025px) and (hover: hover) {
    .sectie--patroon-boven { background-attachment: fixed; }
}
.prijzen-intro {
    text-align: center;
}
.prijzen-intro p { margin: 0 0 13.6px; }
.prijskaarten {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 4%;
    margin-top: 40px;
}
.prijskaarten--twee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 6%;
    margin-top: 50px;
}
.prijskaart {
    padding: 48px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 0 10px 0 #d5dfe2;
    text-align: center;
}
.prijskaart__prijs {
    margin: 0;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
}
.prijskaart__eenheid {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.3;
    opacity: .75;
}
/* Kort lichtblauw streepje tussen prijs en naam */
.prijskaart__streep {
    width: 70px;
    margin: 25px auto;
    border: 0;
    border-top: 1px solid #6ec5e5;
}
.prijskaart .kop-hand {
    padding-bottom: 0;
}
.prijskaart ul {
    margin: .85em 0;
    padding-left: 20px;
    text-align: left;
}
.tekst-donkerblauw { color: #0c2472; }
@media (max-width: 989px) {
    .prijskaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .prijskaarten,
    .prijskaarten--twee { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .prijskaart { padding: 30px; }
}

/* Tekst met knop, gecentreerd (onder de prijzen) */
.afsluiter {
    text-align: center;
}
.afsluiter p { margin: 0 0 13.6px; }

/* --- Doelgroepen --- */
.sectie--icoontjes-rechts {
    background: #ffffff url('../img/doelgroepen/icoontjes-groen-rechts.png') no-repeat 100% 0 / auto 400px;
}
.doelgroepen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px 4%;
    margin-top: 50px;
}
.doelgroep {
    padding: 35px;
}
.doelgroep .kop-hand {
    margin-bottom: 30px;
    padding-bottom: 0;
    font-size: 39px;
}
.doelgroep__logo {
    display: block;
    width: 80px;
    height: auto;
    margin: 10px 0 0 auto;
}
/* Speciaal onderwijs staat rechts uitgelijnd en is breder dan de helft */
.doelgroep--breed {
    grid-column: 1 / -1;
    margin-left: 8%;
}
.doelgroep--lichtblauw { background: #f2fafc; }
.doelgroep--creme      { background: #fff9d8; }
.doelgroep--groen      { background: #edf4d3; }
@media (max-width: 767px) {
    .doelgroepen { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .doelgroep--breed { margin-left: 0; }
    .doelgroep .kop-hand { font-size: 32px; }
}

/* Lijst met donkerblauwe vinkjes */
.vinklijst {
    margin: 0;
    padding: 0;
    list-style: none;
}
.vinklijst li {
    position: relative;
    margin: 0 0 13px;
    padding: 4px 0 0 40px;
    line-height: 1.3;
    list-style: none;
}
.vinklijst__icoon {
    position: absolute;
    left: 2px;
    top: 0;
    width: 28px;
    height: 28px;
    fill: #0c2472;
}

/* ==========================================================================
   Formulieren (vervangen Contact Form 7; zelfde uiterlijk)
   ========================================================================== */

.formulier__veld {
    margin: 0 0 20px;
}

#top .formulier label {
    display: block;
    font-weight: 700;
    line-height: 22px;
}

#top .formulier input:not([type="file"], [type="checkbox"]),
#top .formulier select,
#top .formulier textarea {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    padding: 12px 17px;
    line-height: 16px;
    border: 0;
    border-radius: 6px;
    background: #f2fafc;
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #0c2472;
    box-shadow: none;
}
#top .formulier input:focus-visible,
#top .formulier select:focus-visible,
#top .formulier textarea:focus-visible {
    outline: 2px solid #0ca3d1;
    outline-offset: 2px;
}
#top .formulier textarea {
    min-height: 210px;
    resize: vertical;
}
#top .formulier input::placeholder {
    color: #0c2472;
    opacity: .85;
}
#top .formulier input[type="file"] {
    display: block;
    margin-top: 6px;
    font-weight: 400;
}
/* Velden zonder label (demoformulier): alleen een placeholder */
#top .formulier--compact input:not([type="file"], [type="checkbox"]),
#top .formulier--compact select {
    margin-top: 0;
}
.formulier__uitleg {
    margin: 0 0 4px;
}

#top .formulier__knop {
    display: inline-block;
    padding: 14px 17px;
    border: 0;
    border-radius: 6px;
    background: #0ca3d1;
    font-family: 'MKG Montserrat', Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    cursor: pointer;
    transition: opacity .2s;
}
#top .formulier__knop:hover,
#top .formulier__knop:focus-visible {
    opacity: .9;
}

/* --- Contact: formulier links, telefonische support rechts --- */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 6%;
    row-gap: 40px;
    align-items: start;
}
.contact__kop {
    margin: 0 0 .85em;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
    text-align: center;
    color: #0ca3d1;
}
.contact__telefoon {
    text-align: left;
}
.contact__telefoon .knop {
    display: table;
    margin: 0 auto;
    font-size: 16px;
}
.contact__telefoon .knop svg {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    fill: currentColor;
    vertical-align: -1px;
}
@media (max-width: 767px) {
    .contact { grid-template-columns: minmax(0, 1fr); }
    /* Op de telefoon eerst het terugbelverzoek, daarna het formulier */
    .contact__telefoon { order: -1; }
}

/* --- Demopakket aanvragen --- */
.sectie--icoontjes-geel {
    background: #ffffff url('../img/demo/icoontjes-geel-rechts.png') no-repeat 100% 100% / min(700px, 60%) auto;
}
.demo-intro {
    text-align: center;
}
.demo-intro p { margin: 0 0 13.6px; }
.demo {
    display: grid;
    grid-template-columns: 2fr 3fr;
    column-gap: 3%;
    row-gap: 40px;
    align-items: start;
    margin-top: 50px;
}
.demo__formulier {
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .15);
}
.demo__formulier .formulier__veld { margin-bottom: 20px; }

/* Stappen van de aanvraag: één tegelijk, met vorige/volgende */
.demo-stappen {
    position: relative;
    padding-left: 110px;
}
/* Stippellijn naast de bolletjes, bolletje links met verticale lijn eronder */
.demo-stappen::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 90px;
    right: 0;
    border-top: 1px dashed #0c2472;
}
.demo-stappen__lijn {
    position: absolute;
    top: 90px;
    bottom: 0;
    left: 44px;
    border-left: 2px solid #ffbf00;
}
.demo-stappen__lijn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffbf00;
}
.demo-stap {
    display: none;
}
.demo-stap.is-actief {
    display: block;
}
.demo-stap__icoon {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border: 1px solid #a6ce00;
    border-radius: 50%;
    background: #ffbf00;
}
.demo-stap__icoon svg {
    width: 44px;
    height: 44px;
    fill: #0ca3d1;
}
.demo-stap--groen .demo-stap__icoon { background: #a6ce00; }
.demo-stap--oranje .demo-stap__icoon { background: #ff7b00; }
.demo-stap__titel {
    margin: 120px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}
.demo-stap__tekst {
    min-height: 110px;
    margin: 14px 0 50px;
    text-align: center;
    color: #000000;
}
.demo-stap img {
    display: block;
    width: 100%;
}
.demo-stappen .stappen__knoppen {
    top: 27px;
    right: 0;
}
@media (max-width: 989px) {
    .demo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
    .demo-stappen { padding-left: 0; }
    .demo-stappen__lijn { display: none; }
    .demo-stap__titel { margin-top: 110px; }
}

/* --- Vacatures --- */
.vacatures {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 6%;
    row-gap: 30px;
}
.vacatures__kop {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
    color: #0ca3d1;
}
.vacatures p { margin: 0 0 .85em; }
.vacatures .vacatures__kop + p { margin-top: 0; }
.vacatures__kop--los { margin-bottom: .85em; }
.vacatures a { font-weight: 700; }
.icoontjesband {
    height: 160px;
    background: #ffffff url('../img/vacatures/icoontjes-groen.png') repeat-x 0 100% / auto 160px;
}
@media (max-width: 767px) {
    .vacatures { grid-template-columns: minmax(0, 1fr); }
    .icoontjesband { height: 100px; background-size: auto 100px; }
}

/* ==========================================================================
   Slider (algemeen)
   ========================================================================== */

.slider {
    position: relative;
}

/* Alle slides op dezelfde plek; de hoogste bepaalt de hoogte */
.slider__spoor {
    display: grid;
}

/* Scroll-modus: de slider blijft onder de header staan terwijl je door de slides scrolt */
.slider[data-slider-scroll] .slider__spoor {
    position: sticky;
    top: var(--slider-top, var(--header-hoogte));
}
.slider[data-slider-scroll] .slider__slide {
    min-height: calc(100vh - var(--slider-top, var(--header-hoogte)));
}
.slider__slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease-in-out, visibility .6s;
}
.slider__slide.is-actief {
    opacity: 1;
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    .slider__slide { transition: none; }
}

/* ==========================================================================
   Ontdek
   ========================================================================== */

/* Introkop met (al blauw gekleurde) foto */
.ontdek-hero {
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 50px 0;
    background: #0ca3d1 url('../img/ontdek/hero-ontdek-1500x815.jpg') no-repeat 100% 50% / cover;
    text-align: center;
}
.ontdek-hero__inner {
    width: 100%;
    max-width: var(--container-breedte);
    margin: 0 auto;
    padding: 0 var(--container-marge);
}
.ontdek-hero__titel {
    margin: 0 0 30px;
    font-size: 75px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}
.ontdek-hero__pijl {
    display: block;
    width: 62px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .ontdek-hero { min-height: 360px; }
    .ontdek-hero__titel { font-size: 40px; }
    .ontdek-hero__pijl { width: 40px; }
}
@media (max-width: 479px) {
    .ontdek-hero__titel { font-size: 32px; }
}

/* --- Ontdek-slider (observeren en handige overzichten) --- */
.ontdek-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 700px;
    padding: 50px var(--container-marge) 70px;
    background: #fff9d8;
}
.ontdek-slide__titel {
    margin: 0 0 30px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    color: #0c2472;
}
.ontdek-slide__raster {
    display: grid;
    grid-template-columns: minmax(0, 1060px) minmax(0, 320px);
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1428px;
    width: 100%;
    margin: 0 auto;
}
.ontdek-slide__beeld {
    position: relative;
}
.ontdek-slide__beeld img {
    display: block;
    width: 100%;
    height: auto;
}
/* Zo groot mogelijk, maar nooit hoger dan het scherm (beeldverhouding iPad = 1030 / 788).
   --slide-rest = ruimte voor titel en witruimte boven/onder in de slide */
@media (min-width: 1024px) {
    .ontdek-slide__raster {
        --slide-rest: 220px;
        --beeld-max: calc((100vh - var(--header-hoogte, 80px) - var(--slide-rest)) * 1.307);
        grid-template-columns: minmax(0, min(1060px, var(--beeld-max))) minmax(0, 320px);
        gap: 40px;
    }
    .ontdek-slide__beeld {
        width: 100%;
        max-width: var(--beeld-max);
    }
}
@media (min-width: 1024px) and (max-height: 820px) {
    .ontdek-slide__raster { --slide-rest: 150px; }
}

/* Schuin blauw label over de onderkant van de iPad */
.ontdek-slide__label {
    position: absolute;
    left: -5%;
    bottom: -40px;
    width: 380px;
    max-width: 70%;
    margin: 0;
    padding: 14px 20px;
    background: #0ca3d1;
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 26px;
    line-height: 1.1;
    text-align: center;
    color: #ffffff;
    transform: rotate(2deg);
}

.ontdek-slide__tekst p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.35;
}
.ontdek-slide__subtitel {
    margin: 0 0 14px;
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
}
.ontdek-slide__pijl {
    display: block;
    height: auto;
}
.ontdek-slide__pijl--groen {
    width: 110px;
    margin: 0 0 14px -30px;
}
.ontdek-slide__pijl--oranje {
    width: 60px;
    margin: 0 0 14px -10px;
}

/* Lijst met vinkjes in de eerste slide: groter en lichter */
.vinklijst--groot li {
    margin-bottom: 20px;
    padding-left: 24px;
    font-size: 19px;
    line-height: 1.2;
    color: #4a5684;
}
.vinklijst--groot .vinklijst__icoon {
    top: 3px;
    left: 0;
    width: 18px;
    height: 18px;
    fill: #4a5684;
}

@media (max-width: 1023px) {
    .ontdek-slide {
        min-height: 0;
    }
    .ontdek-slide__raster {
        grid-template-columns: 1fr;
        gap: 56px;
        max-width: 640px;
    }
    .ontdek-slide__pijl { display: none; }
}

/* Kleine schermen: geen vaste slider, de slides staan gewoon onder elkaar */
@media (max-width: 767px) {
    .slider[data-slider-scroll] .slider__spoor {
        position: static;
        display: block;
    }
    .slider[data-slider-scroll] .slider__slide {
        min-height: 0;
        opacity: 1;
        visibility: visible;
    }
    .ontdek-slide {
        padding: 40px var(--container-marge) 60px;
    }
    .ontdek-slide__titel { font-size: 32px; }
    .ontdek-slide__label { font-size: 20px; bottom: -30px; left: 0; }
}

/* Lage schermen (laptops): minder witruimte zodat de vaste slider helemaal in beeld past */
@media (min-width: 768px) and (max-height: 820px) {
    .ontdek-slide {
        padding-top: 28px;
        padding-bottom: 52px;
    }
    .ontdek-slide__titel { margin-bottom: 20px; }
}

/* Foto als sfeerbeeld tussen twee secties, met vaste achtergrond */
.fotoband--vast {
    min-height: 450px;
    background: #ffffff no-repeat 50% 50% / cover;
}
@media (min-width: 1025px) and (hover: hover) {
    .fotoband--vast { background-attachment: fixed; }
}
@media (max-width: 767px) {
    .fotoband--vast { min-height: 260px; }
}

/* Twee kolommen, verhouding 2 : 3 (tekst + beeld) of 2 : 1 (beeld + tekst) */
.kolommen {
    display: grid;
    align-items: center;
    column-gap: 6%;
    row-gap: 30px;
}
.kolommen--tekst-beeld { grid-template-columns: 2fr 3fr; }
.kolommen--beeld-tekst { grid-template-columns: 2fr 1fr; }
.kolommen > img {
    display: block;
    width: 100%;
}
.sectie__titel {
    margin: 0 0 25px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    color: #0c2472;
}
@media (max-width: 767px) {
    .kolommen--tekst-beeld,
    .kolommen--beeld-tekst { grid-template-columns: minmax(0, 1fr); }
    .sectie__titel { font-size: 34px; }
}

/* Vinkjes met een titel per punt (planmodule) */
.vinklijst--titels li {
    margin-bottom: 30px;
    padding: 0 0 0 50px;
    line-height: 1.65;
}
.vinklijst--titels .vinklijst__icoon {
    top: 0;
    width: 30px;
    height: 30px;
}
.vinklijst__titel {
    display: block;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: #0c2472;
}

/* Oranje oproep met witte knop ("Wil jij dit ook?") */
.sectie--oranje {
    background: #ff7b00;
}
.oproep {
    text-align: center;
    color: #ffffff;
}
.oproep__titel {
    margin: 0 0 20px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
}
.oproep__tekst {
    margin: 0 0 30px;
    font-size: 22px;
    font-weight: 200;
    line-height: 1.1;
}
.knop--wit-blauw {
    background: #ffffff;
    color: #0ca3d1;
}
.knop--wit-blauw:hover,
.knop--wit-blauw:focus-visible { color: #0ca3d1; }
@media (max-width: 767px) {
    .oproep__titel { font-size: 36px; }
    .oproep__tekst { font-size: 19px; }
}

/* ==========================================================================
   Algemene bouwstenen voor de overige pagina's (webinars, posters, formulieren)
   ========================================================================== */

/* Ruimte boven/onder een sectie (zelfde stappen als op de oude site) */
.sectie--geen   { padding: 0; }
.sectie--smal   { padding: 20px 0; }
.sectie--middel { padding: 70px 0; }
.sectie--geen,
.sectie--smal,
.sectie--klein,
.sectie--middel,
.sectie--groot {
    background-repeat: no-repeat;
}
@media (min-width: 1025px) and (hover: hover) {
    .sectie--vast { background-attachment: fixed; }
}

/* Rij met kolommen; de verdeling staat per rij in grid-template-columns */
.rij {
    display: grid;
    column-gap: 3%;
    row-gap: 30px;
    align-items: start;
}
.rij + .rij,
.rij + .kol--vol,
.kol--vol + .rij,
.kol--vol + .kol--vol { margin-top: 30px; }
.rij--vol { column-gap: 0; }
.kol { min-width: 0; }
.kol > :first-child { margin-top: 0; }
.kol > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    /* Op de telefoon staan alle kolommen onder elkaar */
    .rij { grid-template-columns: minmax(0, 1fr) !important; }
}

.kop { margin: 0 0 10px; }
/* Lange woorden (zoals "MijnKleutergroep") in grote koppen mogen op kleine schermen afbreken */
.kop,
.tekstblok :is(h1, h2, h3, h4, h5, h6),
.stap__titel {
    overflow-wrap: break-word;
    hyphens: auto;
}
.kop-sub { margin: 0 0 10px; }
/* Vaste regelhoogte zoals op de oude site (ook bij grotere letters) */
.tekstblok { margin: 0 0 20px; line-height: 26.4px; }
.tekstblok strong,
.tekstblok b { font-weight: 700; }
.tekstblok > :first-child { margin-top: 0; }
.tekstblok > :last-child { margin-bottom: 0; }
.tekstblok ul,
.tekstblok ol { padding-left: 20px; }
.tekstblok a { text-decoration: underline; }
.tekstblok table {
    width: 100%;
    border-collapse: collapse;
}
.tekstblok td,
.tekstblok th {
    padding: 6px 10px;
    border: 1px solid #e3e5ef;
    text-align: left;
    vertical-align: top;
}

/* Afbeeldingen */
.beeldvak { margin: 0 0 20px; }
.beeldvak--midden { text-align: center; }
.beeldvak--rechts { text-align: right; }
.beeld {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.beeld--midden { display: block; margin: 0 auto; }
.beeld--rechts { float: right; margin: 0 0 10px 20px; }
.beeld--links  { float: left; margin: 0 20px 10px 0; }
.tekstblok::after { content: ''; display: table; clear: both; }

.knoppenrij--links  { text-align: left; }
.knoppenrij--midden { text-align: center; }
.knoppenrij--rechts { text-align: right; }
.knoppenrij { margin-bottom: 20px; }
.knoppenrij .knop { white-space: normal; }

.tussenruimte { display: block; }
hr.streep {
    max-width: 100%;
    margin: 20px auto;
    border: 0;
    border-top: 1px solid #6ec5e5;
}

/* Video met eigen bestand (geen YouTube) */
.video--eigen { aspect-ratio: auto; margin-bottom: 20px; }
.video--eigen video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000000;
}

/* Grote foto met kleine voorbeelden eronder */
.galerij-groot > a > img {
    display: block;
    width: 100% !important;
    margin-bottom: 10px;
}
.galerij.galerij--duimpjes {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 6px;
}

/* Submenu-balk (Ontdek-onderdelen) */
.subnav {
    background: #f2fafc;
    border-bottom: 1px solid #e3eef3;
}
.subnav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 24px;
    max-width: var(--container-breedte);
    margin: 0 auto;
    padding: 10px var(--container-marge);
    list-style: none;
}
.subnav a {
    font-size: 14px;
    font-weight: 700;
    color: #0c2472;
    text-decoration: none;
}
.subnav a:hover,
.subnav a:focus-visible,
.subnav a.is-actief { color: #0ca3d1; }
.video { margin-bottom: 20px; }

/* Fotogalerij (kleine afbeeldingen naast elkaar) */
.galerij {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.galerij img {
    display: block;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Keuzevakjes in formulieren */
.formulier__keuze {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 16px 6px 0;
    font-weight: 400;
}

/* Zichtbaarheid per schermbreedte (zoals op de oude site) */
@media (min-width: 990px) { .verberg-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 989px) { .verberg-medium { display: none !important; } }
@media (min-width: 480px) and (max-width: 767px) { .verberg-klein { display: none !important; } }
@media (max-width: 479px) { .verberg-mini { display: none !important; } }

/* ==========================================================================
   Mijn Kleutergroep (oudere versie van de homepage)
   ========================================================================== */

/* Hero met icoontjesband onderaan en een blauw handje rechtsonder */
.hero--icoontjes { height: 700px; }
.hero__icoontjes {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: auto;
}
.hero__handje {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 2;
    width: min(32%, 375px);
    height: auto;
}
@media (max-width: 777px) {
    .hero--icoontjes { height: 420px; }
    .hero__handje { right: 10px; bottom: 20px; width: 45%; }
}

/* iPad met vier handgeschreven tekstballonnen eromheen */
.ipad-ballonnen {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
}
.ipad-ballonnen__ipad {
    display: block;
    width: 62%;
    margin: 0 auto;
}
.ipad-ballonnen__ballon {
    position: absolute;
    height: auto;
}
.ipad-ballonnen__ballon--1 { left: 0;    top: 6%;     width: 24%; }
.ipad-ballonnen__ballon--2 { right: 2%;  top: 12%;    width: 17%; }
.ipad-ballonnen__ballon--3 { left: 6%;   bottom: 18%; width: 25%; }
.ipad-ballonnen__ballon--4 { right: 0;   bottom: 4%;  width: 28%; }
@media (max-width: 767px) {
    .ipad-ballonnen {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .ipad-ballonnen__ipad { grid-column: 1 / -1; width: 100%; }
    .ipad-ballonnen__ballon { position: static; width: 100%; }
}

/* Genummerde blokken met gekleurde achtergrond en een groot cijfer ernaast */
.nummerblok {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    column-gap: 4%;
    margin-bottom: 40px;
}
.nummerblok--omgekeerd { grid-template-columns: 3fr 1fr; }
.nummerblok--omgekeerd .nummerblok__cijfer { order: 2; }
.nummerblok__cijfer {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto;
}
.nummerblok__vak {
    padding: 35px;
    background: no-repeat 50% 50% / cover;
    color: #ffffff;
}
.nummerblok__vak p { margin: 0; color: #ffffff; }
.nummerblok__titel {
    margin: 0 0 10px;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}
@media (max-width: 767px) {
    .nummerblok,
    .nummerblok--omgekeerd { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
    .nummerblok--omgekeerd .nummerblok__cijfer { order: 0; }
    .nummerblok__cijfer { width: 70px; }
    .nummerblok__titel { font-size: 30px; }
}

/* Kop-mix met handgeschreven dunne regels */
.kop-mix--hand .kop-mix__dun {
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 28px;
    font-weight: 400;
}

/* Ervaringen onder elkaar (lange teksten) */
.ervaringen--onder-elkaar { grid-template-columns: minmax(0, 1fr); row-gap: 50px; }

/* --- Losse ervaringspagina (volledige tekst achter "Lees meer") --- */
.terugbalk {
    padding: 5px 15px;
    background: #f2fafc;
}
.terugbalk a {
    display: inline-block;
    padding: 6px 0;
    font-weight: 700;
    color: #0ca3d1;
    text-decoration: none;
}
.terugbalk a:hover { text-decoration: underline; }
.ervaring-kop {
    margin: 0;
    text-align: center;
}
.ervaring-kop__foto {
    display: block;
    width: 340px;
    margin: 0 auto 50px;
}
.ervaring-kop__naam {
    margin: 0;
    font-family: 'MKG Caveat Brush', 'Comic Sans MS', cursive;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.1;
    color: #0ca3d1;
}
.ervaring-kop__functie {
    margin: 4px 0 0;
    font-size: 22px;
    line-height: 1.35;
}
.ervaring-tekst {
    margin-top: 30px;
    padding: 4%;
    background: #fff9d8;
}
.ervaring-tekst p { margin: 0 0 13.6px; }
.ervaring-tekst p:last-child { margin-bottom: 0; }
.fotoband--ervaring {
    height: 450px;
    object-fit: cover;
    object-position: 50% 50%;
}
@media (max-width: 767px) {
    .ervaring-kop__foto { width: 220px; margin-bottom: 30px; }
    .ervaring-kop__naam { font-size: 36px; }
    .ervaring-kop__functie { font-size: 18px; }
    .fotoband--ervaring { height: 260px; }
}
