/* Base & Reset */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font);
    font-size: var(--tekst-basis);
    line-height: 1.6;
    background-color: var(--kleur-ondergrond);
    color: var(--kleur-inkt);
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.1;
}

ul, ol {
    list-style: none;
}

a {
    color: var(--kleur-bord);
}

a:hover {
    color: var(--kleur-inkt);
}

/* Duidelijke focusrand voor wie met het toetsenbord navigeert */
:focus-visible {
    outline: 3px solid var(--kleur-inkt);
    outline-offset: 3px;
}

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