:root {
	--ink: #121d2b;
	--muted: #546170;
	--accent: #167b86;
	--accent-soft: #edf6f7;
	--line: #dce5e7;
	--paper: #ffffff;
	--wash: #f5f9fa;
	--page-width: 1180px;
}

/* Legal content pages */
.legal-main {
	padding-block: clamp(3.5rem, 8vw, 7rem);
	background: var(--wash);
}

.legal-layout {
	display: grid;
	grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
	gap: clamp(2.5rem, 8vw, 7rem);
	align-items: start;
}

.legal-intro {
	position: sticky;
	top: 2rem;
}

.legal-eyebrow {
	margin: 0 0 0.7rem;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.legal-intro h1 {
	margin: 0;
	font-size: clamp(2.35rem, 5vw, 4.5rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.legal-updated {
	margin: 1.5rem 0 0;
	color: var(--muted);
}

.legal-content {
	padding: clamp(1.5rem, 5vw, 4rem);
	border: 1px solid var(--line);
	background: var(--paper);
	box-shadow: 0 24px 70px rgba(18, 29, 43, 0.07);
}

.legal-section + .legal-section {
	margin-top: 2.8rem;
	padding-top: 2.8rem;
	border-top: 1px solid var(--line);
}

.legal-section h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.legal-section p {
	margin: 0.85rem 0 0;
	color: #354353;
}

.legal-section ul {
	margin: 1rem 0 0;
	padding-left: 1.3rem;
	color: #354353;
}

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

.legal-address {
	margin-top: 1rem;
	font-style: normal;
	line-height: 1.75;
}

.legal-placeholder {
	padding: 0.8rem 1rem;
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
}

@media (max-width: 820px) {
	.legal-layout {
		grid-template-columns: 1fr;
	}

	.legal-intro {
		position: static;
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible {
	outline: 3px solid rgba(22, 123, 134, 0.32);
	outline-offset: 4px;
	border-radius: 3px;
}

.skip-link {
	position: absolute;
	top: -5rem;
	left: 1rem;
	z-index: 20;
	padding: 0.7rem 1rem;
	background: var(--ink);
	color: #fff;
}

.skip-link:focus {
	top: 1rem;
}

.shell {
	width: min(calc(100% - 3rem), var(--page-width));
	margin-inline: auto;
}

.site-header {
	position: relative;
	z-index: 10;
	border-bottom: 1px solid rgba(220, 229, 231, 0.78);
	background: rgba(255, 255, 255, 0.96);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 74px;
	gap: 2rem;
}

.wordmark {
	font-size: 1.28rem;
	font-weight: 750;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.navigation {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 3vw, 2.8rem);
	font-size: 0.95rem;
	font-weight: 520;
}

.navigation a {
	position: relative;
	padding-block: 0.3rem;
}

.navigation a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--accent);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.navigation a:hover::after,
.navigation a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	height: 700px; /* Overall desktop hero height. */
}

.hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4.5rem) max(1.5rem, calc((100vw - var(--page-width)) / 2));
}

.hero h1 {
	max-width: 650px;
	margin: 0;
	font-size: clamp(3rem, 6.2vw, 5.7rem);
	font-weight: 740;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.hero-copy p {
	max-width: 560px;
	margin: 2rem 0 0;
	color: var(--muted);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	line-height: 1.58;
}

.hero-media {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(18, 29, 43, 0.08), rgba(22, 123, 134, 0.13)),
		repeating-linear-gradient(0deg, transparent 0 47px, rgba(18, 29, 43, 0.045) 48px),
		repeating-linear-gradient(90deg, transparent 0 47px, rgba(18, 29, 43, 0.045) 48px),
		#e9eff0;
}

.hero-media::before,
.hero-media::after {
	position: absolute;
	border: 1px solid rgba(18, 29, 43, 0.14);
	content: "";
}

.hero-media::before {
	width: 38%;
	aspect-ratio: 1;
	transform: rotate(45deg);
}

.hero-media::after {
	width: 55%;
	aspect-ratio: 1.8;
	border-radius: 50%;
}

.image-placeholder {
	position: absolute;
	top: 50%;
	right: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%; /* Original image area: the 448px hero masks 10% at each edge. */
	object-fit: cover;
	object-position: center;
	transform: translateY(-50%);
	background-color:transparent;
}

.section {
	padding-block: clamp(4.25rem, 8vw, 7rem);
}

.section + .section {
	border-top: 1px solid var(--line);
}

.section-tinted {
	border-top: 0 !important;
	background: linear-gradient(120deg, #f0f7f8 0%, #f8fbfb 55%, #edf5f6 100%);
}

.section h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 720;
	letter-spacing: -0.042em;
	line-height: 1.08;
}

.section h2::after {
	display: block;
	width: 42px;
	height: 3px;
	margin-top: 1rem;
	background: var(--accent);
	content: "";
}

.lead {
	max-width: 900px;
	margin: 2rem 0 0;
	color: var(--muted);
	font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.lead + .lead {
	margin-top: 0.45rem;
}

.disciplines {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 2.8rem;
	border-block: 1px solid rgba(22, 123, 134, 0.16);
}

.discipline {
	position: relative;
	padding: 1.5rem 1.4rem;
	font-size: clamp(1rem, 1.6vw, 1.12rem);
	font-weight: 560;
	text-align: center;
}

.discipline + .discipline::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 1.8rem;
	background: rgba(18, 29, 43, 0.18);
	content: "";
	transform: translateY(-50%);
}

.company-copy {
	max-width: 930px;
	margin: 2rem 0 0;
	color: var(--muted);
	font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.contact-strip {
	padding-block: clamp(4.25rem, 8vw, 6.5rem);
	background: var(--wash);
}

.contact-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(3rem, 8vw, 7rem);
}

.contact-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 720;
	letter-spacing: -0.042em;
	line-height: 1.08;
}

.contact-title::after {
	display: block;
	width: 42px;
	height: 3px;
	margin-top: 1rem;
	background: var(--accent);
	content: "";
}

.contact-note {
	max-width: 360px;
	margin: 1.8rem 0 0;
	color: var(--muted);
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.form-field {
	display: grid;
	gap: 0.45rem;
}

.form-field-full,
.form-consent,
.form-actions {
	grid-column: 1 / -1;
}

.form-field label {
	font-size: 0.9rem;
	font-weight: 650;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid #cbd8da;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input {
	height: 50px;
	padding-inline: 0.95rem;
}

.form-field textarea {
	min-height: 160px;
	padding: 0.85rem 0.95rem;
	line-height: 1.5;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(22, 123, 134, 0.14);
	outline: none;
}

.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.form-consent input {
	width: 1rem;
	height: 1rem;
	margin: 0.2rem 0 0;
	accent-color: var(--accent);
}

.form-consent a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.form-actions {
	display: flex;
	justify-content: flex-end;
}

.submit-button {
	min-height: 50px;
	padding: 0.75rem 1.35rem;
	border: 1px solid var(--accent);
	border-radius: 5px;
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 680;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

.submit-button:hover {
	background: #0f6972;
}

.submit-button:active {
	transform: translateY(1px);
}

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

.site-footer {
	border-top: 1px solid var(--line);
	background: #101b28;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.9rem;
}

.imprint {
	display: grid;
	grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
	gap: clamp(2rem, 7vw, 6rem);
	padding-block: clamp(3rem, 6vw, 5rem);
}

.imprint h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	letter-spacing: -0.035em;
}

.imprint h2::after {
	display: block;
	width: 38px;
	height: 3px;
	margin-top: 0.9rem;
	background: var(--accent);
	content: "";
}

.imprint-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem clamp(2rem, 6vw, 5rem);
}

.imprint-block {
	margin: 0;
	font-style: normal;
	line-height: 1.75;
}

.imprint-label {
	display: block;
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.imprint a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.35);
	text-underline-offset: 0.22em;
}

.imprint a:hover {
	color: #8ed3d8;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
	display: flex;
	gap: 2rem;
}

.footer-links a:hover {
	color: #8ed3d8;
}

@media (max-width: 820px) {
	.shell {
		width: min(calc(100% - 2rem), var(--page-width));
	}

	.hero {
		grid-template-columns: 1fr;
		height: auto;
	}

	.hero-copy {
		padding: 5rem 1.5rem;
	}

	.hero-media {
		height: 312px; /* Visible mobile/tablet image height. */
	}

	.image-placeholder {
		height: 390px; /* 10% is hidden at the top and bottom. */
	}

	.contact-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

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

	.discipline:nth-child(3)::before {
		display: none;
	}

	.discipline:nth-child(-n + 2) {
		border-bottom: 1px solid rgba(22, 123, 134, 0.16);
	}
}

@media (max-width: 560px) {
	.header-inner {
		min-height: 68px;
	}

	.wordmark {
		font-size: 1.1rem;
	}

	.navigation {
		gap: 1rem;
		font-size: 0.88rem;
	}

	.hero-copy {
		padding: 4.25rem 1rem;
	}

	.hero h1 {
		font-size: clamp(2.8rem, 15vw, 4.6rem);
	}

	.hero-media {
		height: 240px;
	}

	.image-placeholder {
		height: 300px;
	}

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

	.discipline + .discipline::before {
		display: none;
	}

	.discipline:nth-child(-n + 3) {
		border-bottom: 1px solid rgba(22, 123, 134, 0.16);
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.imprint,
	.imprint-details {
		grid-template-columns: 1fr;
	}

	.contact-form {
		grid-template-columns: 1fr;
	}

	.form-field,
	.form-field-full,
	.form-consent,
	.form-actions {
		grid-column: 1;
	}

	.form-actions {
		justify-content: stretch;
	}

	.submit-button {
		width: 100%;
	}

	.footer-links {
		gap: 1.4rem;
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
