/*
 * edium – web solutions · Onepager
 * Plain CSS, no build. Colors sampled from the brand banner.
 */

/* =========================================================
   Fonts
   ========================================================= */

@font-face {
	font-family: "Quicksand";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/quicksand-400.woff2") format("woff2");
}

@font-face {
	font-family: "Quicksand";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/quicksand-700.woff2") format("woff2");
}

/* =========================================================
   Tokens
   ========================================================= */

:root {
	--night: #031940;
	--night-2: #06224f;
	--royal: #023c7b;
	--sky: #00a4ea;
	--sky-ink: #00649a;   /* sky darkened for text on light backgrounds (AA) */
	--lime: #aac307;
	--sun: #ffc501;
	--paper: #f4f7fb;
	--white: #fff;
	--ink: #0a1a3a;
	--muted: #45536f;
	--on-dark: #fff;
	--on-dark-muted: #b9c6dc;
	--line-light: #d9e1ec;
	--line-dark: rgb(255 255 255 / .14);

	--font: "Quicksand", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;

	--step--1: .875rem;
	--step-0: 1.0625rem;
	--step-1: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
	--step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	--step-3: clamp(1.875rem, 1.4rem + 2vw, 2.875rem);
	--step-4: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem);

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section-space: clamp(4rem, 3rem + 5vw, 8rem);
	--radius: .5rem;
}

/* =========================================================
   Base
   ========================================================= */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 5.5rem;
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 400;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure {
	margin: 0;
}

h1, h2, h3 {
	font-weight: 700;
	line-height: 1.15;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

img, svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

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

.container {
	width: 100%;
	max-width: 76rem;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	top: .75rem;
	left: .75rem;
	z-index: 100;
	padding: .6rem 1rem;
	background: var(--sun);
	color: var(--night);
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

/* =========================================================
   Buttons
   ========================================================= */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: .75rem 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 999px;
	border: 2px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.button--primary {
	background: var(--sky);
	color: var(--night);
}

.button--primary:hover {
	background: var(--white);
}

.button--ghost {
	border-color: rgb(255 255 255 / .55);
	color: var(--white);
}

.button--ghost:hover {
	border-color: var(--white);
	background: rgb(255 255 255 / .08);
}

/* =========================================================
   Header (fixed; transparent over the hero, solid once scrolled)
   ========================================================= */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	padding-block: calc(env(safe-area-inset-top, 0px) + clamp(1rem, 2.5vw, 2rem)) clamp(1rem, 2.5vw, 2rem);
	color: var(--white);
	transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.site-header.is-stuck {
	padding-block: calc(env(safe-area-inset-top, 0px) + .6rem) .6rem;
	background: rgb(3 25 64 / .94);
	box-shadow: 0 .25rem 1.5rem rgb(3 25 64 / .18);
}

@supports (backdrop-filter: blur(1px)) {
	.site-header.is-stuck {
		background: rgb(3 25 64 / .9);
		backdrop-filter: blur(12px) saturate(1.2);
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.site-header__logo {
	flex: none;
	margin-right: auto;
}

.site-header__logo img {
	width: auto;
	height: clamp(2.75rem, 1.75rem + 3vw, 5rem);
	transition: height .25s ease;
}

.site-header.is-stuck .site-header__logo img {
	height: clamp(2.25rem, 1.75rem + 1.2vw, 3rem);
}

.site-nav ul {
	display: flex;
	gap: clamp(1.25rem, 2.2vw, 2.25rem);
	padding: 0;
	list-style: none;
}

.site-nav a {
	position: relative;
	display: block;
	padding-block: .5rem;
	font-weight: 700;
	font-size: var(--step-0);
	text-decoration: none;
	color: var(--on-dark-muted);
	transition: color .15s ease;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--sky);
	transform: scaleX(0);
	transition: transform .2s ease;
}

/* extra legibility while the header floats over the bright part of the photo */
.site-header:not(.is-stuck) .site-nav a {
	color: rgb(255 255 255 / .9);
	text-shadow: 0 1px 2px rgb(3 25 64 / .6), 0 0 1rem rgb(3 25 64 / .8);
}

.site-nav a:hover,
.site-nav a[aria-current] {
	color: var(--white);
}

.site-nav a[aria-current]::after {
	transform: scaleX(1);
}

.site-header__cta {
	min-height: 2.5rem;
	padding: .5rem 1.1rem;
	font-size: var(--step--1);
}

@media (min-width: 60.01rem) {
	.site-header__cta {
		display: none;
	}
}

@media (max-width: 60rem) {
	.site-nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-header__logo img,
	.site-nav a::after {
		transition: none;
	}
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	--stripes-w: clamp(16rem, 34vw, 40rem);
	min-height: min(100svh, 58rem);
	padding-block: clamp(8.5rem, 7rem + 6vw, 12rem) calc(var(--stripes-w) * .38 + 3rem);
	background: var(--night);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}

.hero__media,
.hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
}

.hero__media img {
	object-fit: cover;
	object-position: 68% 50%;
}

/* keeps text readable over the photo: strongest on the left like in the banner, plus a top band for the header */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgb(3 25 64 / .9) 0, rgb(3 25 64 / .55) 7rem, rgb(3 25 64 / 0) 14rem),
		linear-gradient(90deg, rgb(3 25 64 / .92) 0%, rgb(3 25 64 / .7) 38%, rgb(3 25 64 / 0) 68%);
}

.hero__content {
	position: relative;
	z-index: 1;
}

/* brand stripes from the banner, drawn as vector above the readability overlay */
.hero__stripes {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
	width: var(--stripes-w);
	height: auto;
	pointer-events: none;
}

.hero__title {
	max-width: 17ch;
	font-size: var(--step-4);
	letter-spacing: -.01em;
}

.hero__claim {
	display: block;
	margin-top: .35em;
	color: var(--sky);
}

.hero__lead {
	max-width: 36rem;
	margin-top: 1.5rem;
	font-size: var(--step-1);
	color: var(--on-dark-muted);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 2.25rem;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.75rem;
	margin-top: 2.25rem;
	padding: 0;
	list-style: none;
	font-size: var(--step--1);
	color: var(--on-dark-muted);
}

.hero__facts strong {
	color: var(--white);
}

/* phones: tidy 2-column grid, the long customer fact on its own row first */
@media (max-width: 40rem) {
	.hero__facts {
		display: grid;
		grid-template-columns: repeat(2, max-content);
		gap: .5rem 1.5rem;
	}

	.hero__facts li:nth-child(2) {
		grid-column: 1 / -1;
		order: -1;
	}
}

@media (max-width: 48rem) {
	.hero {
		align-items: flex-end;
		padding-block: 7rem calc(var(--stripes-w) * .46 + 2rem);
	}

	.hero::before {
		background: linear-gradient(180deg, rgb(3 25 64 / .55) 0%, rgb(3 25 64 / .78) 40%, rgb(3 25 64 / .95) 70%);
	}

	.hero__media img {
		object-position: 78% 50%;
	}
}

/* =========================================================
   Sections
   ========================================================= */

.section {
	padding-block: var(--section-space);
}

.section--light {
	background: var(--white);
}

.section--paper {
	background: var(--paper);
}

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

.section-head {
	max-width: 44rem;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head h2 {
	font-size: var(--step-3);
	letter-spacing: -.01em;
}

.section-head p {
	margin-top: 1rem;
	font-size: var(--step-1);
	color: var(--muted);
}

.section--dark .section-head p {
	color: var(--on-dark-muted);
}

.section-head--wide {
	max-width: 52rem;
}

/* =========================================================
   Zusammenarbeit (three paths)
   ========================================================= */

.paths {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.path {
	display: flex;
	flex-direction: column;
	padding-top: 1.5rem;
	border-top: 5px solid var(--accent);
}

.path--sky { --accent: var(--sky); }
.path--lime { --accent: var(--lime); }
.path--sun { --accent: var(--sun); }

.path h3 {
	font-size: var(--step-2);
}

.path__claim {
	margin-top: .35rem;
	font-weight: 700;
	color: var(--sky-ink);
}

.path p + p {
	margin-top: 1rem;
	color: var(--muted);
}

.path ul {
	margin-top: 1.25rem;
	padding: 0;
	list-style: none;
}

.path li {
	position: relative;
	padding: .55rem 0 .55rem 1.5rem;
	border-top: 1px solid var(--line-light);
	font-weight: 700;
	font-size: var(--step--1);
}

/* CTAs sit on one line across all cards */
.path__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	margin-top: auto;
}

.path__cta {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .6rem 1.25rem;
	background: var(--night);
	color: var(--white);
	font-weight: 700;
	font-size: var(--step--1);
	text-decoration: none;
	border-radius: 999px;
	transition: background-color .15s ease, color .15s ease;
}

.path__cta:hover {
	background: var(--accent);
	color: var(--night);
}

.path__cta--ghost {
	background: transparent;
	color: var(--night);
	box-shadow: inset 0 0 0 2px var(--night);
}

.path__cta--ghost:hover {
	box-shadow: inset 0 0 0 2px var(--accent);
}

.path ul {
	margin-bottom: 1.75rem;
}

.path__more {
	padding-block: .5rem;
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--sky-ink);
	text-underline-offset: .2em;
}

.path li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background: var(--accent);
}

/* =========================================================
   Referenzen (timeline)
   ========================================================= */

.timeline__caption {
	margin-bottom: 1.5rem;
	font-size: var(--step-0);
	font-weight: 700;
	color: var(--on-dark-muted);
}

.timeline__axis {
	position: relative;
	height: 1.75rem;
	margin-left: var(--info-width, 0px);
	font-size: var(--step--1);
	color: var(--on-dark-muted);
	border-bottom: 1px solid var(--line-dark);
}

.timeline__axis span {
	position: absolute;
	left: calc(var(--x) * 1%);
	transform: translateX(-50%);
}

/* positions in % of the 2005 to today (Sept 2026) range */
.timeline__tick--y2005 { --x: 0; }
.timeline__tick--y2010 { --x: 22.99; }
.timeline__tick--y2015 { --x: 45.98; }
.timeline__tick--y2020 { --x: 68.97; }
.timeline__tick--today { --x: 100; }

.timeline__axis span:first-child { transform: none; }
.timeline__axis span:last-child { transform: translateX(-100%); }

.timeline__list {
	padding: 0;
	list-style: none;
}

.timeline__row {
	display: grid;
	gap: .75rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--line-dark);
}

.timeline__info h3 {
	font-size: var(--step-1);
}

.timeline__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem 1rem;
	margin-block: .35rem .5rem;
	font-size: var(--step-0);
	font-weight: 700;
	color: var(--white);
}

.timeline__duration {
	color: var(--sky);
}

.timeline__info p:last-child {
	font-size: var(--step-0);
	color: var(--on-dark-muted);
}

.timeline__track {
	position: relative;
	align-self: center;
	height: .75rem;
	border-radius: 999px;
	background:
		repeating-linear-gradient(90deg, transparent 0 calc(22.99% - 1px), var(--line-dark) calc(22.99% - 1px) 22.99%),
		rgb(255 255 255 / .05);
}

.timeline__bar {
	background: var(--sky);
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--s) * 1%);
	width: calc(var(--w) * 1%);
	border-radius: 999px;
	transform-origin: left center;
}

.timeline__bar--r1 { --s: 1.93; --w: 49.43; }
.timeline__bar--r2 { --s: 14.57; --w: 72.78; }
.timeline__bar--r3 { --s: 22.99; --w: 77.01; }
.timeline__bar--r4 { --s: 25.66; --w: 38.34; }
.timeline__bar--r5 { --s: 63.22; --w: 28.74; }
.timeline__bar--r6 { --s: 80.46; --w: 19.54; }
.timeline__bar--r7 { --s: 89.29; --w: 10.71; }


/* ongoing relationships fade out to the right: "until today" */
.timeline__bar--open {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), rgb(0 0 0 / .35));
	mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), rgb(0 0 0 / .35));
}

.timeline__invite {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line-dark);
}

.timeline__invite p {
	font-size: var(--step-2);
	font-weight: 700;
}

.timeline__more {
	max-width: 52rem;
	margin-top: 2rem;
	font-size: var(--step-0);
	color: var(--on-dark-muted);
}

@media (min-width: 56rem) {
	.timeline {
		--info-width: 26rem;
	}

	.timeline__row {
		grid-template-columns: var(--info-width) 1fr;
		gap: 2rem;
	}

	.timeline__row .timeline__track {
		margin-left: -2rem;
	}
}

@media (max-width: 55.99rem) {
	.timeline__axis {
		display: none;
	}
}

/* the one orchestrated motion: bars grow along the years when scrolled into view */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.timeline__bar {
			animation: bar-grow linear both;
			animation-timeline: view();
			animation-range: entry 10% cover 35%;
		}
	}
}

@keyframes bar-grow {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* =========================================================
   Leistungen
   ========================================================= */

.services {
	display: grid;
	gap: 1rem 4rem;
}

@media (min-width: 64rem) {
	.services {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
	}

	/* sticks below the fixed, compact header */
	.services__head {
		position: sticky;
		top: 6.5rem;
	}
}

.services__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 2.25rem 2.5rem;
	padding: 0;
	list-style: none;
}

.services__list svg {
	width: 2rem;
	height: 2rem;
	margin-bottom: .75rem;
	fill: none;
	stroke: var(--sky-ink);
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* 7 items: let the last one span the row on two-column layouts */
@media (min-width: 40rem) {
	.services__list li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

.services__list h3 {
	font-size: var(--step-1);
}

.services__list p {
	margin-top: .4rem;
	color: var(--muted);
}

/* =========================================================
   Team
   ========================================================= */

.team {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: 2.5rem;
	padding: 0;
	list-style: none;
}

.person__photo {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--line-light);
	margin-bottom: 1.25rem;
}

.person__photo {
	position: relative;
}

.person__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* hover: brand stripes from the hero slide into the corner */
.person__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(203deg,
		transparent 0 85%,
		var(--sky) 85% 87.5%,
		transparent 87.5% 88.75%,
		var(--lime) 88.75% 91%,
		transparent 91% 92.25%,
		var(--sun) 92.25% 94.5%,
		transparent 94.5%);
	-webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 60%);
	mask-image: linear-gradient(90deg, #000 10%, transparent 60%);
	opacity: 0;
	transform: translate(-12%, 12%);
}

@media (hover: hover) {
	.person__photo img,
	.person__photo::after {
		transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
	}

	.person:hover .person__photo img {
		transform: scale(1.04);
	}

	.person:hover .person__photo::after {
		opacity: .85;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.person__photo img,
	.person__photo::after {
		transition: none;
	}

	.person:hover .person__photo img {
		transform: none;
	}
}

.person h3 {
	font-size: var(--step-1);
}

.person__role {
	margin-top: .2rem;
	font-weight: 700;
	font-size: var(--step-0);
	color: var(--sky-ink);
}

.person__role + p {
	margin-top: .6rem;
	color: var(--muted);
}

/* =========================================================
   Kontakt
   ========================================================= */

.contact {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-bottom: calc(var(--section-space) + clamp(3rem, 7vw, 6rem));
}

.contact__stripes {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
	width: min(40rem, 85%);
	height: auto;
}

.contact__inner {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 52rem) {
	.contact__inner {
		grid-template-columns: 16rem minmax(0, 40rem);
		gap: 4rem;
	}
}

.contact__person {
	max-width: 16rem;
	color: var(--on-dark-muted);
}

.contact__person p {
	margin-top: 1rem;
	line-height: 1.5;
}

/* phones: small portrait next to the name, so the headline stays high */
@media (max-width: 51.99rem) {
	.contact__person {
		display: grid;
		grid-template-columns: 6rem 1fr;
		align-items: center;
		gap: 1rem;
		max-width: none;
	}

	.contact__person .person__photo {
		margin-bottom: 0;
	}

	.contact__person p {
		margin-top: 0;
	}
}

.contact__person strong {
	color: var(--white);
	font-size: var(--step-1);
}

.contact__label {
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--sky);
}

.contact__body h2 {
	font-size: var(--step-4);
}

.contact__lead {
	margin-top: 1rem;
	font-size: var(--step-1);
	color: var(--on-dark-muted);
}

.contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 2rem;
}

/* =========================================================
   DMEXCO 2026 (temporary, remove after the fair)
   Round "Störer" sticker on the hero photo
   ========================================================= */

.dmexco-badge {
	position: absolute;
	z-index: 1;
	top: clamp(6.5rem, 5rem + 3vw, 8rem);
	right: clamp(1rem, 7vw, 8rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: clamp(8.5rem, 6rem + 7vw, 11.5rem);
	aspect-ratio: 1;
	padding: 1rem;
	border-radius: 50%;
	background: var(--sun);
	color: var(--night);
	text-align: center;
	text-decoration: none;
	line-height: 1.15;
	box-shadow: 0 .75rem 2rem rgb(0 0 0 / .35), inset 0 0 0 .3rem rgb(255 255 255 / .35);
	transform: rotate(-10deg);
	transition: transform .2s ease, background-color .2s ease;
}

.dmexco-badge:hover {
	transform: rotate(-4deg) scale(1.04);
	background: #ffd23f;
}

.dmexco-badge__small {
	font-size: clamp(.75rem, .65rem + .3vw, .9375rem);
	font-weight: 700;
}

.dmexco-badge__big {
	margin-block: .2rem;
	font-size: clamp(1rem, .8rem + .7vw, 1.375rem);
	font-weight: 700;
}

/* on phones the hero text sits at the bottom, so the sticker goes top right */
@media (max-width: 48rem) {
	.dmexco-badge {
		top: 5.5rem;
		right: 1rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.dmexco-badge {
		animation: badge-in .6s cubic-bezier(.2, .9, .3, 1.3) .5s backwards;
	}
}

@keyframes badge-in {
	from { transform: rotate(-30deg) scale(.4); opacity: 0; }
	to { transform: rotate(-10deg) scale(1); opacity: 1; }
}

.dmexco {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border-left: 5px solid var(--sun);
	background: rgb(255 255 255 / .06);
	border-radius: 0 var(--radius) var(--radius) 0;
	scroll-margin-top: 2rem;
}

.dmexco h3 {
	font-size: var(--step-1);
	color: var(--sun);
}

.dmexco p {
	margin-top: .4rem;
	color: var(--on-dark-muted);
}

.dmexco__link {
	display: inline-block;
	margin-top: .75rem;
	font-weight: 700;
	color: var(--white);
	text-decoration-color: var(--sun);
	text-decoration-thickness: 2px;
	text-underline-offset: .25em;
	padding-block: .25rem;
}

/* =========================================================
   Subpages (Impressum, Datenschutz)
   ========================================================= */

.page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(9rem, 7rem + 6vw, 12rem) clamp(4rem, 3rem + 5vw, 7rem);
	background: linear-gradient(140deg, var(--night) 0%, #06265a 70%, var(--royal) 100%);
	color: var(--on-dark);
}

.page-hero h1 {
	font-size: clamp(1.875rem, 1.2rem + 3.4vw, 4.25rem);
	letter-spacing: -.01em;
	hyphens: auto;
	overflow-wrap: break-word;
}

.page-hero p {
	margin-top: .75rem;
	font-size: var(--step-1);
	color: var(--on-dark-muted);
}

.page-hero__stripes {
	position: absolute;
	z-index: -1;
	left: 0;
	bottom: 0;
	width: clamp(12rem, 24vw, 28rem);
	height: auto;
	pointer-events: none;
}

.legal {
	max-width: 46rem;
}

.legal section + section {
	margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}

.legal h2 {
	margin-bottom: .75rem;
	font-size: var(--step-2);
}

.legal p,
.legal address,
.legal li {
	color: var(--muted);
}

.legal p + p,
.legal p + ul,
.legal ul + p {
	margin-top: .75rem;
}

.legal address {
	font-style: normal;
}

.legal ul {
	padding-left: 1.25rem;
}

.legal li + li {
	margin-top: .25rem;
}

.legal li::marker {
	color: var(--sky-ink);
}

.legal a {
	color: var(--sky-ink);
	text-underline-offset: .2em;
}

.legal strong {
	color: var(--ink);
}

.legal__date {
	margin-top: 3rem;
	font-size: var(--step--1);
}

/* =========================================================
   Footer
   ========================================================= */

.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.site-footer {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(3rem, 2.5rem + 3vw, 5rem) 2rem;
	background: #020f29;
	color: var(--on-dark-muted);
	font-size: var(--step-0);
}

/* large, faint brand mark as watermark */
.site-footer__watermark {
	position: absolute;
	z-index: -1;
	right: -5rem;
	bottom: -10rem;
	width: clamp(16rem, 30vw, 26rem);
	height: clamp(16rem, 30vw, 26rem);
	fill: rgb(255 255 255 / .04);
}

.site-footer__grid {
	display: grid;
	gap: 2rem 3rem;
	align-items: start;
}

/* three blocks with equal gaps between them */
@media (min-width: 52rem) {
	.site-footer__grid {
		display: flex;
		justify-content: space-between;
		gap: 3rem;
	}

	.site-footer__legal {
		text-align: right;
	}
}

.site-footer__brand {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.site-footer__mark {
	flex: none;
	width: 3rem;
	height: 3rem;
	fill: var(--white);
}

.site-footer__brand strong {
	color: var(--white);
}

.site-footer__contact {
	font-style: normal;
	line-height: 1.7;
}

.site-footer__legal ul {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: 0;
	list-style: none;
}

.site-footer a {
	display: inline-block;
	padding-block: .2rem;
	color: var(--on-dark-muted);
	text-decoration-color: rgb(185 198 220 / .4);
	text-underline-offset: .2em;
}

/* keep even line spacing inside the address block */
.site-footer__contact a {
	display: inline;
	padding-block: 0;
}

.site-footer a:hover {
	color: var(--white);
	text-decoration-color: var(--sky);
}

.site-footer a[aria-current="page"] {
	color: var(--white);
	font-weight: 700;
	text-decoration-color: var(--sky);
	text-decoration-thickness: 2px;
}

.site-footer__copy {
	margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-dark);
	font-size: .9375rem;
}

/* focus ring needs contrast on light sections too */
.section--light :focus-visible,
.section--paper :focus-visible {
	outline-color: var(--sky-ink);
}
