/* Site footer, scoped under .mf-footer. Brand tokens only — no hard-coded hex. */

.mf-footer {
	font-family: var(--mf-font);
	background: var(--mf-dark-blue);
	color: var(--mf-mid-blue);
	line-height: 1.6;
}

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

.mf-footer__inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	padding: 64px 24px 48px;
	display: grid;
	/* brand block is wider; three link columns share the rest */
	grid-template-columns: 1.6fr 1.1fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
}

/* brand block */

.mf-footer__brand-link {
	display: inline-block;
	text-decoration: none;
}

.mf-footer__logo {
	display: block;
	height: 36px;
	width: auto;
	max-width: 100%;
}

.mf-footer__mission {
	margin: 20px 0 0;
	max-width: 42ch;
	font-size: 14.5px;
	color: var(--mf-mid-blue);
}

/* link columns */

.mf-footer__col {
	min-width: 0;
}

.mf-footer__group + .mf-footer__group {
	margin-top: 26px;
}

.mf-footer__heading {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mf-white);
}

.mf-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.mf-footer__link,
.mf-footer__link:link,
.mf-footer__link:visited,
.mf-footer__link:hover,
.mf-footer__link:focus,
.mf-footer__link:active {
	display: inline-block;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
	color: var(--mf-mid-blue) !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	transition: color 0.18s ease, transform 0.18s ease;
}

.mf-footer__link:hover,
.mf-footer__link:focus-visible {
	color: var(--mf-white) !important;
	transform: translateX(2px);
}

/* "Alle events" leads the primary column */
.mf-footer__link--strong,
.mf-footer__link--strong:link,
.mf-footer__link--strong:visited {
	font-weight: 700;
	color: var(--mf-white) !important;
}

.mf-footer__link:focus-visible {
	outline: 2px solid var(--mf-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

/* "Word coach" CTA in the coaches column */

.mf-footer__cta,
.mf-footer__cta:link,
.mf-footer__cta:visited,
.mf-footer__cta:hover,
.mf-footer__cta:focus,
.mf-footer__cta:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	padding: 10px 20px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	color: var(--mf-white) !important;
	background: var(--mf-blue) !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 999px;
	transition: background 0.18s ease, transform 0.15s ease;
}

.mf-footer__cta:hover,
.mf-footer__cta:focus-visible {
	background: var(--mf-white) !important;
	color: var(--mf-dark-blue) !important;
	transform: translateY(-1px);
}

/* regions row */

.mf-footer__regions {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mf-footer__regions-inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.mf-footer__regions-label {
	flex: none;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mf-white);
}

.mf-footer__regions-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.mf-footer__region-link,
.mf-footer__region-link:link,
.mf-footer__region-link:visited,
.mf-footer__region-link:hover,
.mf-footer__region-link:focus,
.mf-footer__region-link:active {
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	color: var(--mf-mid-blue) !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	transition: color 0.18s ease;
}

.mf-footer__region-link:hover,
.mf-footer__region-link:focus-visible {
	color: var(--mf-white) !important;
}

.mf-footer__region-link:focus-visible {
	outline: 2px solid var(--mf-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

/* bottom bar */

.mf-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mf-footer__bar-inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.mf-footer__bar-left {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.mf-footer__copy {
	margin: 0;
	font-size: 13.5px;
	color: var(--mf-mid-blue);
}

.mf-footer__origin {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--mf-mid-blue);
	opacity: 0.85;
}

.mf-footer__origin svg {
	flex: none;
	color: var(--mf-blue);
}

.mf-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.mf-footer__legal-link,
.mf-footer__legal-link:link,
.mf-footer__legal-link:visited,
.mf-footer__legal-link:hover,
.mf-footer__legal-link:focus,
.mf-footer__legal-link:active {
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none !important;
	color: var(--mf-mid-blue) !important;
	background: transparent !important;
	transition: color 0.18s ease;
}

.mf-footer__legal-link:hover,
.mf-footer__legal-link:focus-visible {
	color: var(--mf-white) !important;
}

/* Responsive */

/* Tablet: brand on its own top row, three link columns beneath. */
@media (max-width: 900px) {
	.mf-footer__inner {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px 28px;
	}

	.mf-footer__brand {
		grid-column: 1 / -1;
		max-width: 52ch;
	}
}

/* Mobile: link columns stay two-wide so the footer stays short. */
@media (max-width: 600px) {
	.mf-footer__inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
		padding: 48px 20px 40px;
	}

	.mf-footer__brand {
		grid-column: 1 / -1;
	}

	.mf-footer__list {
		gap: 14px;
	}

	.mf-footer__bar-inner {
		padding: 18px 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.mf-footer__bar-left {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.mf-footer__regions-inner {
		padding: 16px 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mf-footer__link,
	.mf-footer__region-link,
	.mf-footer__cta {
		transition: none !important;
	}
}
