/**
 * Reset en basistypografie.
 */

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

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

body {
	margin: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	line-height: 1.2;
	margin: 0 0 var(--space-sm);
	color: var(--color-text);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

a {
	color: var(--color-accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
	color: var(--color-accent);
}

:focus-visible {
	outline: 2px solid var(--color-accent-dark);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-sm);
	z-index: 1000;
	background: var(--color-surface);
	color: var(--color-text);
	padding: var(--space-2xs) var(--space-sm);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-soft);
}

.skip-link:focus {
	top: var(--space-sm);
	width: auto;
	height: auto;
	clip: auto;
}

/* Respecteer voorkeur voor minder beweging: schakel animaties direct uit. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
