/* ==========================================================================
   Design-sektioner: stats, steps, logos, features, content-split.
   Bruger temaets CSS-variabler med fallback.
   ========================================================================== */

/* ---- Stats / tal-bånd --------------------------------------------------- */
.stats__head {
	text-align: center;
	margin-bottom: 32px;
}

.stats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 24px;
	text-align: center;
}

.stats__value {
	display: block;
	font-size:2.75rem;
	font-weight: 800;
	line-height: 1;
	color: var(--color-primary, #1f3a5f);
}

.stats__suffix {
	font-size: 0.6em;
	margin-left: 2px;
}

.stats__label {
	display: block;
	margin-top: 8px;
	color: var(--color-muted, #6b7280);
	font-size: 0.95rem;
}

/* ---- Steps / proces ----------------------------------------------------- */
.steps__head {
	max-width: 680px;
	margin-bottom: 36px;
}

.steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
	counter-reset: step;
}

.steps__step {
	position: relative;
	padding-top: 8px;
}

.steps__nr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--color-primary, #1f3a5f);
	color: var(--color-on-primary, var(--paper));
	font-weight: 800;
	margin-bottom: 14px;
}

.steps__title {
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.steps__text {
	color: var(--color-muted, #4b5563);
	margin: 0;
}

/* ---- Logo-stribe -------------------------------------------------------- */
.logos__head {
	text-align: center;
	margin-bottom: 24px;
}

.logos__strip {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 36px;
}

.logos__img {
	max-height: 48px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.logos__item:hover .logos__img {
	filter: grayscale(0);
	opacity: 1;
}

/* ---- Features / ydelses-grid -------------------------------------------- */
.features__head {
	max-width: 680px;
	margin-bottom: 32px;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.feature-card {
	display: block;
	background: var(--paper);
	border: 1px solid var(--color-border, #eceef1);
	border-radius: var(--radius-md, 14px);
	padding: 24px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-card, 0 10px 28px rgba(0, 0, 0, 0.08));
}

.feature-card__icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--color-surface, #eef1f5);
	color: var(--color-primary, #1f3a5f);
	margin-bottom: 14px;
}

.feature-card__title {
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.feature-card__text {
	color: var(--color-muted, #4b5563);
	margin: 0;
}

.feature-card__more {
	display: inline-block;
	margin-top: 12px;
	font-weight: 600;
	color: var(--color-primary, #1f3a5f);
}

/* ---- Content-split ------------------------------------------------------ */
.content-split__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.content-split--image-left .content-split__media {
	order: -1;
}

.content-split__img {
	width: 100%;
	border-radius: var(--radius-lg, 18px);
}

.content-split__body {
	color: var(--color-text, #374151);
	line-height: 1.65;
}

.content-split__body > * + * {
	margin-top: 14px;
}

@media (max-width: 768px) {
	.content-split__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.content-split--image-left .content-split__media {
		order: 0;
	}
}

/* 404: telefon-linje under genvejene */
.error404-phone { margin-top: 22px; }
.error404-phone a { font-weight: 700; text-decoration: underline; }
