/* Fontys Portfolio Onderwijstools - thema
   Lettertypen worden lokaal geladen; er wordt geen externe bron aangesproken.
   Wil je de huisstijlletter gebruiken, plaats de woff2-bestanden in
   assets/fonts/ en zet ze hieronder in het @font-face blok. */

:root {
	--fpt-primair: #6E1E78;
	--fpt-accent: #E2007A;
	--fpt-inkt: #1E1B2E;
	--fpt-papier: #FAF8FB;
	--fpt-lijn: rgba(30, 27, 46, .12);
	--fpt-breedte: 1240px;
	--fpt-kopzone: 74px;
}

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

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

body {
	margin: 0;
	background: var(--fpt-papier);
	color: var(--fpt-inkt);
	font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--fpt-primair); }

.fpt-breedte {
	width: min(100% - 40px, var(--fpt-breedte));
	margin-inline: auto;
}

.fpt-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	background: #fff;
	padding: 12px 18px;
	border-radius: 8px;
	z-index: 100;
}
.fpt-skip:focus { left: 16px; }

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

/* ---------- Koptekst ---------- */

.fpt-kop {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--fpt-papier) 82%, transparent);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, background-color .3s ease;
}

.fpt-kop.is-gescrold {
	border-bottom-color: var(--fpt-lijn);
	background: color-mix(in srgb, var(--fpt-papier) 94%, transparent);
}

.fpt-kop__binnen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--fpt-kopzone);
}

.fpt-merk__tekst { text-decoration: none; color: var(--fpt-inkt); }

.fpt-merk__naam {
	font-weight: 650;
	font-size: 1.0625rem;
	letter-spacing: -.01em;
}

.fpt-merk img { max-height: 44px; width: auto; }

.fpt-nav__lijst {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fpt-nav__lijst a {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 999px;
	text-decoration: none;
	color: color-mix(in srgb, var(--fpt-inkt) 82%, transparent);
	font-size: .9688rem;
	transition: background-color .2s ease, color .2s ease;
}

.fpt-nav__lijst a:hover,
.fpt-nav__lijst .current-menu-item > a {
	background: color-mix(in srgb, var(--fpt-primair) 10%, transparent);
	color: var(--fpt-primair);
}

.fpt-menuknop {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--fpt-lijn);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.fpt-menuknop__streep,
.fpt-menuknop__streep::before,
.fpt-menuknop__streep::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--fpt-inkt);
	border-radius: 2px;
	transform: translateX(-50%);
	transition: transform .25s ease, opacity .25s ease;
}
.fpt-menuknop__streep { top: 50%; margin-top: -1px; }
.fpt-menuknop__streep::before { content: ""; top: -6px; left: 0; transform: none; }
.fpt-menuknop__streep::after { content: ""; top: 6px; left: 0; transform: none; }

.fpt-menuknop[aria-expanded="true"] .fpt-menuknop__streep { background: transparent; }
.fpt-menuknop[aria-expanded="true"] .fpt-menuknop__streep::before { transform: translateY(6px) rotate(45deg); }
.fpt-menuknop[aria-expanded="true"] .fpt-menuknop__streep::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 782px) {
	.fpt-menuknop { display: block; }
	.fpt-nav {
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		padding: 14px 20px 20px;
		background: var(--fpt-papier);
		border-bottom: 1px solid var(--fpt-lijn);
		display: none;
	}
	.fpt-nav.is-open { display: block; }
	.fpt-nav__lijst { flex-direction: column; gap: 2px; }
	.fpt-kop__binnen { position: relative; }
}

/* ---------- Hero ---------- */

.fpt-hero {
	position: relative;
	padding: clamp(56px, 9vw, 110px) 0 clamp(30px, 4vw, 52px);
	overflow: hidden;
}

.fpt-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--fpt-lijn) 22%, var(--fpt-lijn) 78%, transparent);
}

.fpt-hero__binnen { position: relative; max-width: 920px; }

.fpt-hero__label {
	margin: 0 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: .875rem;
	color: color-mix(in srgb, var(--fpt-inkt) 62%, transparent);
}

.fpt-hero__label::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--fpt-accent);
	border-radius: 2px;
}

.fpt-hero__kop {
	margin: 0 0 18px;
	font-size: clamp(2rem, 5.2vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -.028em;
	font-weight: 650;
	max-width: 17ch;
}

.fpt-hero__intro {
	margin: 0;
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.6;
	max-width: 58ch;
	color: color-mix(in srgb, var(--fpt-inkt) 76%, transparent);
}

/* Eenmalige binnenkomst bij het laden van de pagina. */
.fpt-hero__label,
.fpt-hero__kop,
.fpt-hero__intro {
	animation: fpt-op .8s cubic-bezier(.2, .7, .3, 1) both;
}
.fpt-hero__kop { animation-delay: .07s; }
.fpt-hero__intro { animation-delay: .14s; }

@keyframes fpt-op {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.fpt-hero__label,
	.fpt-hero__kop,
	.fpt-hero__intro { animation: none; }
}

/* ---------- Toolraster ---------- */

.fpt-tools { padding: clamp(34px, 5vw, 64px) 0 clamp(60px, 9vw, 110px); }

.fpt-inhoud--voor { margin: 0 0 40px; }

.fpt-waarschuwing {
	padding: 22px;
	border: 1px dashed var(--fpt-lijn);
	border-radius: 14px;
	text-align: center;
}

/* ---------- Pagina's en toolpagina ---------- */

.fpt-pagina,
.fpt-artikelen { padding: clamp(40px, 6vw, 80px) 0; max-width: 820px; }

.fpt-pagina__titel {
	margin: 0 0 24px;
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	line-height: 1.14;
	letter-spacing: -.024em;
	font-weight: 650;
}

.fpt-inhoud > * { max-width: 760px; }
.fpt-inhoud > .alignwide { max-width: var(--fpt-breedte); }
.fpt-inhoud > .alignfull { max-width: none; }
.fpt-inhoud iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }

.fpt-tool__kop { padding: clamp(34px, 5vw, 64px) 0 26px; }

.fpt-tool__terug {
	display: inline-block;
	margin-bottom: 20px;
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
}
.fpt-tool__terug:hover { text-decoration: underline; }

.fpt-tool__kicker {
	margin: 0 0 8px;
	color: color-mix(in srgb, var(--fpt-inkt) 60%, transparent);
	font-size: .9375rem;
}

.fpt-tool__titel {
	margin: 0;
	font-size: clamp(2rem, 4.4vw, 3rem);
	line-height: 1.1;
	letter-spacing: -.026em;
	font-weight: 650;
	max-width: 20ch;
}

.fpt-tool__cats { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

.fpt-tool__cat {
	padding: 6px 13px;
	border-radius: 999px;
	font-size: .8125rem;
	background: color-mix(in srgb, var(--fpt-primair) 12%, transparent);
	color: color-mix(in srgb, var(--fpt-primair) 90%, #000);
}

.fpt-tool .fpt-inhoud { padding-bottom: clamp(60px, 9vw, 110px); }

.fpt-knop {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--fpt-primair);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	transition: transform .2s ease, box-shadow .2s ease;
}
.fpt-knop:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(20, 12, 30, .7); }

.fpt-item { padding: 26px 0; border-bottom: 1px solid var(--fpt-lijn); }
.fpt-item__titel { margin: 0 0 6px; font-size: 1.35rem; }
.fpt-item__titel a { text-decoration: none; }

/* ---------- Voettekst ---------- */

.fpt-voet {
	border-top: 1px solid var(--fpt-lijn);
	background: color-mix(in srgb, var(--fpt-primair) 4%, var(--fpt-papier));
}

.fpt-voet__binnen {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	align-items: center;
	justify-content: space-between;
	padding: 30px 0;
	font-size: .9375rem;
	color: color-mix(in srgb, var(--fpt-inkt) 70%, transparent);
}

.fpt-voet__tekst { margin: 0; }

.fpt-voet__lijst {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fpt-voet__lijst a { text-decoration: none; color: inherit; }
.fpt-voet__lijst a:hover { color: var(--fpt-primair); }

:where(a, button, input, [tabindex]):focus-visible {
	outline: 3px solid var(--fpt-primair);
	outline-offset: 3px;
	border-radius: 4px;
}
