/*
 * Fortuna UI — voet. Donkergroen; rubrieken met hun sublinks (zoals Apple), daaronder privacy, cookies
 * en socials, en als afsluiter de naam groot en rustig. Telefoon: rubrieken klappen uit.
 */
.fu-footer {
	--fu-c-kop: var(--fu-c-on-brand);
	--fu-c-fg: var(--fu-c-on-brand);
	--fu-c-fg-sub: var(--fu-op-donker-tekst-sub);
	--fu-c-line: var(--fu-op-donker-lijn);
	--fu-c-focus: var(--fu-c-accent);
	overflow: hidden;
	padding-top: var(--fu-space-16);
	background: var(--fu-groen-950);
	color: var(--fu-c-fg);
	font-family: var(--fu-font-text);
}

.fu-footer a { color: inherit; text-decoration: none; }
.fu-footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.fu-footer a:focus-visible { outline: var(--fu-focus-breedte) solid var(--fu-c-focus); outline-offset: var(--fu-focus-afstand); border-radius: var(--fu-r-xs); }

.fu-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fu-space-6);
	padding-bottom: var(--fu-space-10);
	border-bottom: var(--fu-lijn) solid var(--fu-c-line);
}

.fu-footer__brand { display: grid; gap: var(--fu-space-1-5); max-width: 34rem; }
.fu-footer__name { color: var(--fu-c-fg); font-family: var(--fu-font-display); font-size: var(--fu-fs-lg); font-weight: var(--fu-display-weight); letter-spacing: -0.015em; }
.fu-footer__brand p { margin: 0; color: var(--fu-c-fg-sub); font-size: var(--fu-fs-base); line-height: 1.5; }

.fu-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--fu-voet-kolom-min), 1fr));
	gap: var(--fu-space-8) var(--fu-space-6);
	padding-block: var(--fu-space-10);
}

.fu-footer__col .fu-acc__paneel > ul { display: grid; gap: var(--fu-space-1); }
.fu-footer .fu-footer__col li a {
	display: flex;
	align-items: center;
	min-height: var(--fu-doel-min);
	padding: 0;
	color: var(--fu-c-fg-sub);
	font-size: var(--fu-fs-sm);
}
.fu-footer .fu-footer__col li:last-child a { padding-bottom: 0; }
.fu-footer__col li a:hover { color: var(--fu-c-fg); }

.fu-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fu-space-4);
	padding-block: var(--fu-space-6);
	padding-inline-end: calc(var(--fu-control-l) + var(--fu-space-6)); /* ruimte voor de knop Terug naar boven (boven.css) */
	border-top: var(--fu-lijn) solid var(--fu-c-line);
	color: var(--fu-c-fg-sub);
	font-size: var(--fu-fs-sm);
}

.fu-footer__legal { display: flex; flex-wrap: wrap; gap: var(--fu-space-1-5) var(--fu-space-5); margin: 0; padding: 0; list-style: none; }
.fu-footer__social { display: flex; gap: var(--fu-space-1); margin: 0; padding: 0; list-style: none; }

.fu-footer__social a {
	display: grid;
	place-items: center;
	width: var(--fu-control-m);
	height: var(--fu-control-m);
	border-radius: var(--fu-r-pill);
	color: var(--fu-c-fg-sub);
	transition: background-color var(--fu-beweging-hover), color var(--fu-beweging-hover);
}

.fu-footer__social a:hover { background: var(--fu-op-donker-zacht); color: var(--fu-c-fg); text-decoration: none; }
.fu-footer__social .fu-icon { width: var(--fu-icoon-l); height: var(--fu-icoon-l); }

/* De naam groot, net zichtbaar: één rustig moment onderaan. */
.fu-footer__word {
	margin: 0 0 -0.18em;
	color: var(--fu-groen-900);
	font-family: var(--fu-font-display);
	font-stretch: var(--fu-display-stretch);
	font-size: clamp(3.5rem, 15vw, 14rem);
	font-weight: var(--fu-display-weight);
	letter-spacing: -0.04em;
	line-height: 0.9;
	white-space: nowrap;
	user-select: none;
}

/* Rubrieken: dezelfde accordion als het telefoonmenu (accordion.css). Vanaf tablet staan ze altijd open. */
.fu-footer {
	--fu-acc-titel: 600 var(--fu-fs-base) / 1.3 var(--fu-font-text);
	--fu-acc-link-maat: var(--fu-fs-sm);
	--fu-acc-pad: var(--fu-space-4);
}

@media (min-width: 720px) {
	.fu-footer { --fu-acc-titel: 600 var(--fu-fs-sm) / 1.3 var(--fu-font-text); --fu-acc-pad: 0; }
	.fu-footer .fu-acc__titel { padding-bottom: var(--fu-space-3); }
	.fu-footer .fu-acc__toggle:not(.fu-acc__toggle--rij) { display: none; }
	.fu-footer .fu-acc__toggle--rij { pointer-events: none; cursor: default; }
	.fu-footer .fu-acc__toggle--rij .fu-icon { display: none; }
	.fu-footer .fu-acc__paneel { grid-template-rows: 1fr; visibility: visible; }
}

@media (max-width: 719.98px) {
	.fu-footer__cols { grid-template-columns: 1fr; gap: 0; padding-block: var(--fu-space-4); }
	.fu-footer__col { border-bottom: var(--fu-lijn) solid var(--fu-c-line); }
	/* Ruimte onder de laatste link zit in de link zelf: een dicht paneel heeft dan hoogte 0 en de titel staat in het midden van de rij. */
	.fu-footer .fu-footer__col li:last-child a { padding-bottom: var(--fu-space-4); }
	.fu-footer__col:last-child { border-bottom: 0; }
}
