/* Digital Identity, nyt design. Ingen eksterne afhængigheder. */

:root {
	--ink: #0b1b33;
	--ink-2: #1c2f4d;
	--text: #33415a;
	--muted: #66748c;
	--line: #e3e8f0;
	--bg: #ffffff;
	--bg-soft: #f5f7fb;
	--accent: #4765a0;
	--accent-strong: #38528a;
	--accent-soft: #e9eef8;
	--on-dark: #dbe4f3;
	--radius: 14px;
	--wrap: 1160px;
	--font: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 85px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--accent-strong);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3 {
	color: var(--ink);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.skip {
	position: absolute;
	left: -9999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	z-index: 100;
	background: #fff;
	padding: 10px 16px;
	border-radius: 8px;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Topmenu */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 84px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.02em;
	color: var(--ink);
	white-space: nowrap;
}

.brand:hover {
	text-decoration: none;
}

.brand svg {
	width: 34px;
	height: 34px;
	flex: none;
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
}

.nav a {
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
}

.nav a:hover {
	color: var(--accent-strong);
	text-decoration: none;
}

.nav .nav-ext {
	color: var(--muted);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 1px solid transparent;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
}

.btn-primary:hover {
	background: var(--accent-strong);
}

.btn-ghost {
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.btn-ghost:hover {
	border-color: #fff;
}

.nav .btn-outline {
	border-color: var(--line);
	color: var(--ink);
	padding: 9px 18px;
}

.nav .btn-outline:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	margin: 0 auto;
	position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle span::before {
	top: -6px;
}

.nav-toggle span::after {
	top: 6px;
}

/* Hero */

.hero {
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(71, 101, 160, 0.6), transparent 60%),
		linear-gradient(160deg, #0b1b33 0%, #102a4c 100%);
	color: var(--on-dark);
	padding: 96px 0 104px;
	overflow: hidden;
}

.hero .wrap {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 64px;
	align-items: center;
}

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}

.hero .eyebrow {
	color: #a9c0f2;
}

.hero h1 {
	color: #fff;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 700;
}

.hero .lead {
	margin-top: 24px;
	font-size: 19px;
	max-width: 34em;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

/* Nøgletal */

.stats {
	border-bottom: 1px solid var(--line);
}

.stats .wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.stat {
	padding: 40px 24px;
	border-left: 1px solid var(--line);
}

.stat:first-child {
	border-left: 0;
	padding-left: 0;
}

.stat strong {
	display: block;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.stat span {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	color: var(--muted);
}

.stat strong span {
	display: inline;
	margin: 0;
	font-size: inherit;
	color: inherit;
}

/* Markerer tal og tekst der mangler at blive udfyldt */
.todo {
	outline: 2px dashed #e0a100;
	outline-offset: 4px;
	border-radius: 4px;
	background: #fff8e1;
}

/* Sektioner */

.section {
	padding: 96px 0;
}

.section-soft {
	background: var(--bg-soft);
}

.section-head {
	max-width: 720px;
	margin-bottom: 56px;
}

.section-head h2 {
	font-size: clamp(28px, 3.4vw, 40px);
}

.section-head p {
	margin-top: 18px;
	font-size: 18px;
}

/* Produkter */

.group + .group {
	margin-top: 56px;
}

.group-head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.group-head h3 {
	font-size: 20px;
}

.group-head p {
	font-size: 15px;
	color: var(--muted);
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card:hover {
	border-color: #c9d3e2;
	box-shadow: 0 12px 32px rgba(11, 27, 51, 0.08);
	transform: translateY(-2px);
}

.card img {
	height: 24px;
	width: auto;
	margin-bottom: 20px;
	align-self: flex-start;
}

.card p {
	font-size: 15.5px;
	line-height: 1.6;
}

.card .more {
	margin-top: auto;
	padding-top: 20px;
	font-size: 14.5px;
	font-weight: 600;
}

.more::after {
	content: " \2192";
}

/* Tilgang */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: start;
}

.split h2 {
	font-size: clamp(28px, 3.4vw, 40px);
}

.split .intro {
	margin-top: 18px;
	font-size: 18px;
}

.principles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 28px;
}

.principles li {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 18px;
}

.principles .num {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-weight: 700;
	display: grid;
	place-items: center;
}

.principles h3 {
	font-size: 18px;
	margin-bottom: 6px;
}

.principles p {
	font-size: 16px;
}

/* Sikkerhed og drift */

.dark {
	background: var(--ink);
	color: var(--on-dark);
}

.dark h2,
.dark h3 {
	color: #fff;
}

.dark .eyebrow {
	color: #a9c0f2;
}

.dark a {
	color: #a9c0f2;
}

.facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.fact {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	padding: 26px;
	background: rgba(255, 255, 255, 0.04);
}

.fact svg {
	width: 28px;
	height: 28px;
	color: #a9c0f2;
	margin-bottom: 18px;
}

.fact h3 {
	font-size: 17px;
	margin-bottom: 8px;
}

.fact p {
	font-size: 15px;
	line-height: 1.6;
}

/* Kunder */

.logos {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	align-items: center;
}

.logos div {
	display: grid;
	place-items: center;
	height: 96px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}

.logos img {
	max-height: 44px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.15s, opacity 0.15s;
}

.logos div:hover img {
	filter: none;
	opacity: 1;
}

/* Kontaktbånd */

.cta {
	padding: 88px 0;
}

.cta .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.cta h2 {
	font-size: clamp(26px, 3vw, 34px);
}

.cta p {
	margin-top: 12px;
	font-size: 18px;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.cta .btn-plain {
	color: var(--ink);
	border-color: var(--line);
}

.cta .btn-plain:hover {
	border-color: var(--ink);
}

/* Sidefod */

.site-footer {
	background: var(--bg-soft);
	border-top: 1px solid var(--line);
	padding: 64px 0 32px;
	font-size: 15px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}

.site-footer h3 {
	font-size: 13px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 16px;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.site-footer a {
	color: var(--ink-2);
}

.site-footer address {
	font-style: normal;
	margin-top: 16px;
	line-height: 1.7;
}

.footer-bottom {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

/* Mindre skærme */

@media (max-width: 1000px) {
	.hero .wrap,
	.split {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.cards,
	.facts {
		grid-template-columns: repeat(2, 1fr);
	}

	.logos {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.nav-toggle {
		display: block;
	}

	.nav {
		display: none;
		position: absolute;
		top: 84px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
		padding: 8px 24px 24px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px rgba(11, 27, 51, 0.1);
	}

	.nav.open {
		display: flex;
	}

	.nav a {
		padding: 14px 0;
		font-size: 17px;
		border-bottom: 1px solid var(--line);
	}

	.nav .btn-outline {
		margin-top: 16px;
		padding: 14px 18px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.wrap {
		padding: 0 16px;
	}

	.nav {
		padding: 8px 16px 24px;
	}

	.hero {
		padding: 64px 0 72px;
	}

	.section {
		padding: 64px 0;
	}

	.section-head {
		margin-bottom: 40px;
	}

	.stats .wrap {
		grid-template-columns: 1fr 1fr;
	}

	.stat {
		padding: 24px 16px;
	}

	.stat:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.stat:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.stat:nth-child(3):last-child {
		grid-column: 1 / -1;
	}

	.stat strong {
		font-size: 30px;
	}

	.stat span {
		font-size: 14px;
		line-height: 1.45;
	}

	.cards,
	.facts,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.logos {
		grid-template-columns: 1fr 1fr;
	}

	.group-head {
		flex-direction: column;
		gap: 4px;
	}
}

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

	* {
		transition: none !important;
	}
}

/* Logo */

.brand img {
	height: 48px;
	width: auto;
}

/* Produktnavn hvor der endnu ikke findes et logo */

.card .name {
	margin: 0 0 20px;
	font-size: 22px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ink);
}


@media (max-width: 640px) {
	.brand img {
		height: 38px;
	}
}

/* Undersider */

.nav a[aria-current="page"] {
	color: var(--accent-strong);
	font-weight: 600;
}

.page-hero {
	background:
		radial-gradient(700px 320px at 90% -20%, rgba(71, 101, 160, 0.6), transparent 60%),
		linear-gradient(160deg, #0b1b33 0%, #102a4c 100%);
	color: var(--on-dark);
	padding: 72px 0 80px;
}

.page-hero .eyebrow {
	color: #a9c0f2;
}

.page-hero h1 {
	color: #fff;
	font-size: clamp(32px, 4.4vw, 50px);
	max-width: 18em;
}

.page-hero .lead {
	margin-top: 20px;
	font-size: 19px;
	max-width: 38em;
}

.group-head h2 {
	font-size: 24px;
}

.prose h2 {
	font-size: clamp(26px, 3vw, 34px);
	margin-bottom: 20px;
}

.prose h3 {
	font-size: 20px;
	margin: 36px 0 10px;
}

.prose p + p {
	margin-top: 16px;
}

.bullets {
	margin: 16px 0 0;
	padding-left: 20px;
	display: grid;
	gap: 8px;
	font-size: 16px;
}

/* Produktside */

.product {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: 100px;
}

.group .product:last-child {
	border-bottom: 0;
}

.product-side img {
	height: 30px;
	width: auto;
}

.badge {
	display: inline-block;
	margin-top: 18px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-size: 13.5px;
	font-weight: 600;
}

.product-body p + p {
	margin-top: 14px;
}

.product-links {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 15px;
	font-weight: 600;
}

.product-links a::after {
	content: " \2197";
}

/* Kontakt */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.contact-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px;
	background: #fff;
}

.contact-card + .contact-card {
	margin-top: 0;
}

.split .contact-card + .contact-card {
	margin-top: 20px;
}

.contact-card h2 {
	font-size: 20px;
	margin-bottom: 10px;
}

.contact-card p {
	font-size: 16px;
}

.contact-card .btn {
	margin-top: 20px;
}

.contact-card address {
	font-style: normal;
	line-height: 1.7;
}

.btn-plain {
	color: var(--ink);
	border-color: var(--line);
	background: #fff;
}

.btn-plain:hover {
	border-color: var(--ink);
}

.team {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.person {
	display: flex;
	gap: 20px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	min-width: 0;
}

.person img,
.person .avatar {
	flex: none;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--accent-soft);
}

.person .avatar {
	display: grid;
	place-items: center;
	font-size: 26px;
	font-weight: 700;
	color: var(--accent-strong);
}

.person div {
	min-width: 0;
}

.person h3 {
	font-size: 17px;
	line-height: 1.3;
}

.person .role {
	font-size: 14.5px;
	color: var(--muted);
	margin-bottom: 6px;
}

.person a {
	display: block;
	font-size: 14.5px;
	overflow-wrap: anywhere;
}

/* Downloads */

.downloads {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.downloads li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 26px;
	border-top: 1px solid var(--line);
}

.downloads li:first-child {
	border-top: 0;
}

.downloads h3 {
	font-size: 17px;
	margin-bottom: 2px;
}

.downloads p {
	font-size: 15px;
	color: var(--muted);
}

@media (max-width: 1000px) {
	.contact-grid,
	.team {
		grid-template-columns: 1fr 1fr;
	}

	.product {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.badge {
		margin-top: 14px;
	}
}

@media (max-width: 640px) {
	.contact-grid,
	.team {
		grid-template-columns: 1fr;
	}

	.page-hero {
		padding: 48px 0 56px;
	}
}

/* Integrationer */

.integrations {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 56px;
}

.integration-row {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	padding: 22px 28px;
	border-top: 1px solid var(--line);
	align-items: start;
}

.integration-row:first-child {
	border-top: 0;
}

.integration-row h3 {
	font-size: 16px;
	line-height: 34px;
}

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

.chips li {
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-2);
	line-height: 1.5;
}

@media (max-width: 1000px) {
	.integration-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 20px;
	}
}

/* Eksterne links i topmenuen */

.nav .btn-outline {
	margin-left: -16px;
	font-size: 14px;
	color: var(--ink-2);
	background: var(--bg-soft);
}

.nav .btn-outline::after {
	content: "\2197";
	font-size: 12px;
	color: var(--muted);
}

.nav-sep {
	width: 1px;
	height: 24px;
	background: var(--line);
	margin-right: 16px;
}

@media (max-width: 1000px) {
	.nav-sep {
		display: none;
	}

	.nav .btn-outline {
		margin-left: 0;
		font-size: 16px;
		border-bottom: 1px solid var(--line);
	}

	.nav .btn-outline + .btn-outline {
		margin-top: 10px;
	}
}

/* Kassen i hero: forløbet fra ansættelse til fratrædelse */

.flow2 {
	position: relative;
	border-radius: 24px;
	padding: 1px;
	background: linear-gradient(145deg, rgba(169, 192, 242, 0.75), rgba(169, 192, 242, 0.08) 38%, rgba(71, 101, 160, 0.15) 62%, rgba(120, 150, 215, 0.7));
	box-shadow: 0 40px 90px rgba(3, 10, 24, 0.55), 0 0 90px rgba(71, 101, 160, 0.35);
}

.flow2-inner {
	border-radius: 23px;
	padding: 26px 26px 24px;
	background:
		radial-gradient(420px 220px at 100% 0%, rgba(71, 101, 160, 0.35), transparent 70%),
		linear-gradient(180deg, #13294b 0%, #0c1d38 100%);
}

.flow2-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #b9c8e3;
	margin-bottom: 18px;
}

.journey {
	--row: 54px;
	--start: 0.5s;
	--step: 0.45s;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Skinnen der forbinder trinnene */
.journey::before {
	content: "";
	position: absolute;
	left: 19px;
	top: calc(var(--row) / 2);
	bottom: calc(var(--row) / 2);
	width: 2px;
	background: linear-gradient(180deg, rgba(169, 192, 242, 0.55), rgba(169, 192, 242, 0.18));
	border-radius: 2px;
}

/* Lyspunktet der løber ned ad skinnen */
.journey::after {
	content: "";
	position: absolute;
	left: 14px;
	top: calc(var(--row) / 2 - 6px);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(169, 192, 242, 0.25), 0 0 22px 6px rgba(140, 175, 255, 0.85);
	animation: travel 2.5s linear var(--start) 1 both;
	z-index: 2;
}

.journey li {
	position: relative;
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	gap: 14px;
	height: var(--row);
	padding-right: 12px;
}

.node {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #12284a;
	border: 1px solid rgba(169, 192, 242, 0.4);
	color: #a9c0f2;
}

/* Hviletilstand: trinnet er tændt. Animationen tænder det én gang ved indlæsning. */
.journey .node {
	background: #1f3b6b;
	border-color: rgba(169, 192, 242, 0.75);
	color: #fff;
	animation: on 0.9s ease-out calc(var(--start) + var(--i) * var(--step)) 1 backwards;
}

.node svg {
	width: 19px;
	height: 19px;
}

.flow2 .label {
	color: #e8eefb;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.flow2 .chip {
	font-size: 12px;
	font-weight: 600;
	color: #a9c0f2;
	background: rgba(169, 192, 242, 0.12);
	border: 1px solid rgba(169, 192, 242, 0.18);
	border-radius: 999px;
	padding: 4px 10px;
	white-space: nowrap;
}

/* Compliance som fundament under forløbet */
.across {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 12px 12px 12px 0;
	border-top: 1px solid rgba(169, 192, 242, 0.18);
	padding-top: 18px;
}

.across .node {
	background: linear-gradient(145deg, #4765a0, #2c4578);
	border-color: rgba(169, 192, 242, 0.7);
	color: #fff;
	box-shadow: 0 0 24px rgba(71, 101, 160, 0.7);
}

.across .label {
	white-space: normal;
	line-height: 1.3;
}

.across small {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #8fa5c9;
	margin-bottom: 2px;
}

@keyframes travel {
	0% { transform: translateY(0); opacity: 0; }
	5% { opacity: 1; }
	90% { transform: translateY(calc(var(--row) * 5)); opacity: 1; }
	100% { transform: translateY(calc(var(--row) * 5)); opacity: 0; }
}

@keyframes on {
	0% { background: #12284a; border-color: rgba(169, 192, 242, 0.3); color: #7f95bd; box-shadow: none; }
	35% { background: #4765a0; border-color: #cfdcf7; color: #fff; box-shadow: 0 0 22px rgba(120, 155, 235, 0.8); }
	100% { box-shadow: none; }
}

@media (max-width: 640px) {
	.flow2-inner {
		padding: 20px 16px;
	}

	.journey li,
	.across {
		gap: 10px;
	}

	.flow2 .label {
		font-size: 14px;
	}

	.flow2 .chip {
		font-size: 11px;
		padding: 3px 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.journey::after {
		display: none;
	}

	.journey .node {
		animation: none;
	}
}

/* Lidt mere plads til kassen, så teksterne ikke klippes */

@media (min-width: 1001px) {
	.hero .wrap {
		grid-template-columns: 1.08fr 0.92fr;
		gap: 56px;
	}

	.flow2-inner {
		padding: 24px 22px 22px;
	}

	.journey li,
	.across {
		gap: 12px;
		padding-right: 6px;
	}

	.flow2 .label {
		font-size: 14.5px;
	}

	.flow2 .chip {
		font-size: 11.5px;
		padding: 4px 9px;
	}
}

@media (min-width: 1001px) {
	.hero h1 {
		font-size: clamp(36px, 4.3vw, 52px);
	}
}

/* På smalle skærme må teksten i trinnene bryde over to linjer */

@media (max-width: 640px) {
	.journey {
		--row: 60px;
	}

	.flow2 .label {
		white-space: normal;
		line-height: 1.25;
	}
}

/* Lange danske ord i overskrifter må deles på smalle skærme */

@media (max-width: 640px) {
	h1,
	h2 {
		hyphens: auto;
		overflow-wrap: anywhere;
	}

	.page-hero h1 {
		font-size: 30px;
	}
}

/* Topmenuen må ikke brydes, når logoet fylder mere */

.nav a {
	white-space: nowrap;
}

@media (min-width: 1001px) and (max-width: 1180px) {
	.nav {
		gap: 18px;
	}

	.brand img {
		height: 42px;
	}

	.nav .btn-outline {
		margin-left: -8px;
	}
}




/* Nøgletal som et lavt glaskort nederst i hero */

.hero {
	padding-bottom: 64px;
}

.hero .wrap.hero-stats {
	display: block;
	margin-top: 64px;
}

.stats-card {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: space-between;
	gap: 16px 32px;
	padding: 22px 36px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(169, 192, 242, 0.28);
	border-radius: 14px;
}

.stats-card .stat,
.stats-card .stat:first-child {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 0;
	border: 0;
}

.stats-card .stat strong {
	font-size: 30px;
	color: #fff;
}

.stats-card .stat span {
	margin: 0;
	font-size: 15px;
	color: #b9c8e3;
}

@media (max-width: 1000px) {
	.hero .wrap.hero-stats {
		margin-top: 48px;
	}

	.stats-card {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 20px 22px;
	}

	.stats-card .stat strong {
		min-width: 46px;
		font-size: 26px;
	}
}

@media (max-width: 640px) {
	.hero {
		padding-bottom: 48px;
	}
}
