/* ══════════════════════════════════════════════════════════════════════════════
   Ten Dam Vloeren — Base / Reset / Typography
   ══════════════════════════════════════════════════════════════════════════════ */

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

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

body {
	font-family: var(--font-body);
	font-size: var(--text-reg);
	line-height: var(--lh-body);
	color: var(--tdv-black);
	background-color: var(--tdv-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul, ol {
	list-style: none;
}

button {
	cursor: pointer;
	border: none;
	background: none;
	font: inherit;
	color: inherit;
}

input, textarea, select {
	font: inherit;
	color: inherit;
}

/* ── Typography (fluid via clamp in variables) ───────────────────────────── */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: var(--lh-heading);
}

h1 { font-size: var(--h2); }
h2 { font-size: var(--h3); }
h3 { font-size: var(--h4); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

p {
	margin-bottom: 1em;
}
p:last-child {
	margin-bottom: 0;
}

/* ── Inner Container (replaces padding-based approach) ───────────────────── */
.inner {
	width: 100%;
	max-width: var(--inner-max);
	margin: 0 auto;
	padding-left: clamp(24px, -0.5rem + 7vw, 112px);
	padding-right: clamp(24px, -0.5rem + 7vw, 112px);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	border-radius: var(--radius-btn);
	padding: 18px 32px;
	font-size: var(--text-reg);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: var(--lh-body);
	text-decoration: none;
	transition: all var(--duration) var(--ease);
	cursor: pointer;
	white-space: nowrap;
}

.btn--primary,
.btn--cta {
	background-color: var(--tdv-terracotta);
	color: var(--tdv-white);
	border: 1px solid var(--tdv-terracotta);
}
.btn--primary:hover,
.btn--cta:hover {
	background-color: #a8401f;
	border-color: #a8401f;
}

.btn--ghost {
	background-color: transparent;
	color: var(--tdv-white);
	border: 1px solid var(--tdv-white);
}
.btn--ghost:hover {
	background-color: rgba(255,255,255,0.1);
}

.btn--outline {
	background-color: transparent;
	color: var(--tdv-black);
	border: 1px solid var(--tdv-black);
}
.btn--outline:hover {
	background-color: var(--tdv-black);
	color: var(--tdv-white);
}

.btn--small {
	padding: 18px 24px;
	font-size: var(--text-sm);
}

.btn--full {
	width: 100%;
	justify-content: center;
}

.btn--link {
	background: none;
	border: none;
	padding: 0;
	font-size: var(--text-sm);
	display: inline-flex;
	align-items: center;
	gap: 16px;
}
.btn--link:hover {
	opacity: 0.7;
}

.btn svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

/* ── Screen reader only ───────────────────────────────────────────────────── */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
