/* ==========================================================================
   PRADO Companions – Designsystem
   Referenz: Designentwurf 1024 px, umgerechnet auf 1440 px (Faktor ≈ 1.406)
   ========================================================================== */

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader.woff2") format("woff2-variations"), url("../fonts/newsreader.woff2") format("woff2");
	font-weight: 360 480;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost.woff2") format("woff2-variations"), url("../fonts/jost.woff2") format("woff2");
	font-weight: 300 500;
	font-style: normal;
	font-display: swap;
}

/* Fallback-Metriken, damit beim Laden der Schriften nichts springt */
@font-face {
	font-family: "Newsreader Fallback";
	src: local("Georgia"), local("Times New Roman");
	size-adjust: 96%;
	ascent-override: 92%;
	descent-override: 25%;
}

@font-face {
	font-family: "Jost Fallback";
	src: local("Arial"), local("Helvetica");
	size-adjust: 93%;
	ascent-override: 105%;
	descent-override: 32%;
}

:root {
	/* Farben */
	--cream: #f9f6f1;
	--paper: #fcfaf6;
	--sand: #f2ede4;
	--ink: #111d18;
	--green: #10231f;
	--green-hover: #1d3a33;
	--text: #55534f;
	--muted: #6b6964;
	--line: #ddd6ca;
	--line-strong: #b9b3a8;
	--light: #f7f4ef;

	/* Schrift */
	--serif: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Jost Fallback", Arial, Helvetica, sans-serif;

	/* Raster */
	--gutter: clamp(20px, 5.4vw, 48px);
	--container: 1210px;
	--container-wide: 1364px;
	--header-h: 96px;

	/* Abstände */
	--space-section: clamp(72px, 9vw, 128px);

	/* Bewegung */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Basis ---------- */

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

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 380;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.012em;
	font-variation-settings: "opsz" 72;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

address {
	font-style: normal;
}

::selection {
	background: var(--green);
	color: var(--light);
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--green);
	color: var(--light);
	text-decoration: none;
}

.skip-link:focus {
	top: 16px;
}

.site-main:focus {
	outline: none;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.container--narrow {
	--container: 760px;
}

/* ---------- Typo-Bausteine ---------- */

.eyebrow {
	margin: 0 0 18px;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 480;
	line-height: 1.4;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.eyebrow--light {
	color: rgba(247, 244, 239, 0.86);
}

.h2 {
	font-size: clamp(36px, 3.7vw, 53px);
	line-height: 1.08;
	text-wrap: wrap;
}

.rule {
	display: block;
	width: 56px;
	height: 1.5px;
	background: var(--ink);
}

.rule--muted {
	width: 54px;
	height: 1px;
	background: var(--line-strong);
}

.rule--light {
	background: rgba(247, 244, 239, 0.85);
}

/* ---------- Buttons und Links ---------- */

.btn {
	--arrow-shift: 0px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 54px;
	padding: 14px 30px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 420;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn .icon-arrow {
	flex: none;
	transform: translateX(var(--arrow-shift));
	transition: transform 0.35s var(--ease);
}

.btn:hover,
.btn:focus-visible {
	--arrow-shift: 4px;
}

.btn--dark {
	background: var(--green);
	color: var(--light);
}

.btn--dark:hover,
.btn--dark:focus-visible {
	background: var(--green-hover);
}

.btn--light {
	background: var(--light);
	color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
	background: #fff;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-weight: 460;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	transition: color 0.3s var(--ease);
}

.link-arrow .icon-arrow {
	transition: transform 0.35s var(--ease);
}

.link-arrow:hover .icon-arrow,
.link-arrow:focus-visible .icon-arrow {
	transform: translateX(4px);
}

.link-arrow:hover {
	color: var(--green-hover);
}

.link-arrow--sm {
	font-size: 16px;
}

/* ---------- Wortmarke ---------- */

.wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	color: var(--ink);
	line-height: 1;
}

.wordmark__main {
	font-family: var(--serif);
	font-size: 46px;
	font-weight: 400;
	letter-spacing: 0.075em;
	font-variation-settings: "opsz" 72;
	margin-right: -0.075em;
	transition: font-size 0.4s var(--ease);
}

.wordmark__sub {
	margin-top: 7px;
	margin-right: -0.62em;
	font-family: var(--sans);
	font-size: 11.5px;
	font-weight: 420;
	letter-spacing: 0.62em;
	text-transform: uppercase;
	transition: font-size 0.4s var(--ease), margin 0.4s var(--ease);
}

.wordmark--sm .wordmark__main {
	font-size: 30px;
}

.wordmark--sm .wordmark__sub {
	margin-top: 5px;
	font-size: 8px;
	letter-spacing: 0.56em;
	margin-right: -0.56em;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(249, 246, 241, 0.94);
	border-bottom: 1px solid transparent;
	transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.has-hero .site-header {
	position: fixed;
	inset: 0 0 auto;
	background: transparent;
}

.site-header.is-scrolled,
.has-hero .site-header.is-scrolled {
	background: rgba(249, 246, 241, 0.92);
	border-bottom-color: rgba(17, 29, 24, 0.08);
	box-shadow: 0 10px 30px -24px rgba(17, 29, 24, 0.35);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	width: min(100% - 2 * var(--gutter), var(--container-wide));
	margin-inline: auto;
	min-height: 118px;
	transition: min-height 0.4s var(--ease);
	padding-inline: calc((min(100vw - 2 * var(--gutter), var(--container-wide)) - min(100vw - 2 * var(--gutter), var(--container))) / 2) 0;
}

.is-scrolled .site-header__inner {
	min-height: 78px;
}

.is-scrolled .wordmark__main {
	font-size: 34px;
}

.is-scrolled .wordmark__sub {
	margin-top: 5px;
	font-size: 9px;
}

.site-header__brand {
	flex: none;
	text-decoration: none;
}

.site-header__divider {
	align-self: center;
	width: 1px;
	height: 42px;
	margin-inline: clamp(28px, 4.4vw, 64px) clamp(24px, 3.4vw, 50px);
	background: rgba(17, 29, 24, 0.22);
}

.site-nav__list {
	display: flex;
	gap: clamp(28px, 3.8vw, 54px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: inline-block;
	padding-block: 10px;
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 420;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease);
}

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after,
.site-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-header__cta {
	margin-left: auto;
	min-height: 58px;
	padding-inline: 36px;
}

.site-nav__mobile-cta,
.nav-toggle {
	display: none;
}

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

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(660px, 52vw, 840px);
	overflow: hidden;
	background: var(--cream);
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__media picture,
.hero__img {
	width: 100%;
	height: 100%;
}

.hero__img {
	object-fit: cover;
	object-position: 70% 50%;
	animation: hero-settle 2.4s var(--ease-out) both;
}

/* Leichter Schleier links für Lesbarkeit, Bild bleibt hell */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(249, 246, 241, 0.8) 0%, rgba(249, 246, 241, 0.62) 30%, rgba(249, 246, 241, 0.2) 50%, rgba(249, 246, 241, 0) 62%);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	padding-top: 92px;
	padding-bottom: 64px;
}

.hero__eyebrow {
	margin-bottom: 22px;
	font-size: 12.5px;
	letter-spacing: 0.32em;
}

.hero__title {
	font-size: clamp(48px, 5.6vw, 82px);
	line-height: 0.96;
	letter-spacing: -0.018em;
	max-width: 12ch;
}

.hero .rule {
	margin: 40px 0 34px;
}

.hero__lead {
	max-width: 30em;
	margin-bottom: 30px;
	color: var(--ink);
	font-size: clamp(18px, 1.42vw, 20.5px);
	font-weight: 360;
	line-height: 1.55;
}

.hero__cta {
	font-size: 16px;
}

@keyframes hero-settle {
	from {
		transform: scale(1.06);
	}
	to {
		transform: scale(1);
	}
}

/* ==========================================================================
   Tätigkeitsfelder
   ========================================================================== */

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

.areas {
	padding-top: clamp(64px, 6.6vw, 96px);
	padding-bottom: clamp(56px, 6vw, 88px);
}

.areas__head {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-bottom: clamp(36px, 3.6vw, 52px);
}

.areas__head .eyebrow {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 11.5px;
	letter-spacing: 0.34em;
}

.areas__intro {
	padding-top: 34px;
	max-width: 30em;
}

.areas__intro p {
	margin-bottom: 26px;
	color: var(--ink);
	font-size: 17.5px;
	line-height: 1.6;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: min(100% - 2 * var(--gutter) * 0.6, var(--container-wide));
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	box-shadow: 0 1px 0 rgba(17, 29, 24, 0.03), 0 18px 40px -36px rgba(17, 29, 24, 0.25);
	transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}

.card:hover {
	box-shadow: 0 1px 0 rgba(17, 29, 24, 0.04), 0 30px 60px -40px rgba(17, 29, 24, 0.35);
}

.card__media {
	overflow: hidden;
	aspect-ratio: 800 / 510;
	background: var(--sand);
}

.card__media picture,
.card__img {
	width: 100%;
	height: 100%;
}

.card__img {
	object-fit: cover;
	transform: scale(1.001);
	transition: transform 1.1s var(--ease);
}

.card:hover .card__img {
	transform: scale(1.045);
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 30px 34px 42px;
}

.card__num {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.14em;
}

.card__num::after {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--line-strong);
}

.card__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.card__title {
	font-size: clamp(24px, 1.86vw, 27px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-variation-settings: "opsz" 36;
}

.card__btn {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid #a9a397;
	border-radius: 50%;
	color: var(--ink);
	transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}

/* Ganze Karte klickbar */
.card__btn::before {
	content: "";
	position: absolute;
	inset: -2000px;
	z-index: 0;
}

.card {
	isolation: isolate;
}

.card__btn svg {
	transition: transform 0.4s var(--ease);
}

.card:hover .card__btn,
.card__btn:focus-visible {
	background: var(--green);
	border-color: var(--green);
	color: var(--light);
}

.card:hover .card__btn svg {
	transform: translateX(2px);
}

.card__text {
	color: var(--text);
	font-size: 16.5px;
	line-height: 1.55;
}

.card__text p {
	margin-bottom: 0;
	max-width: 24em;
}

.card__person {
	color: var(--text);
}

.card__links {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 8px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

/* Der Kartenlink überdeckt die Karte; Zusatzlinks liegen darüber */
.card__media,
.card__body {
	position: relative;
}

.card {
	overflow: hidden;
}

/* ==========================================================================
   Über PRADO
   ========================================================================== */

.about {
	padding-top: clamp(24px, 3vw, 40px);
	padding-bottom: clamp(80px, 9vw, 132px);
}

.about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 48px;
	padding-top: clamp(56px, 6vw, 88px);
	border-top: 1px solid var(--line);
}

.about__heading .eyebrow {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 11.5px;
	letter-spacing: 0.34em;
}

.about__text {
	padding-top: 34px;
	max-width: 30em;
	color: var(--ink);
	font-size: 17.5px;
	line-height: 1.65;
}

.about__text p:last-child {
	margin-bottom: 0;
}

.about__photos {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 640px;
}

.about__photo {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* ==========================================================================
   Kontaktband
   ========================================================================== */

.band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--green);
	color: var(--light);
}

.band__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.band__media picture,
.band__img {
	width: 100%;
	height: 100%;
}

.band__img {
	object-fit: cover;
	object-position: 50% 50%;
}

.band__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 20, 17, 0.66) 0%, rgba(8, 20, 17, 0.38) 45%, rgba(8, 20, 17, 0.12) 75%);
}

.band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	min-height: 400px;
	padding-block: 44px;
}

.band__claim {
	max-width: 520px;
	padding-block: 12px;
}

.band__claim .eyebrow {
	margin-bottom: 18px;
	font-size: 12px;
	letter-spacing: 0.3em;
}

.band__title {
	margin: 0 0 30px;
	color: var(--light);
	font-family: var(--serif);
	font-size: clamp(38px, 3.8vw, 54px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.015em;
	font-variation-settings: "opsz" 72;
}

.band .rule {
	margin-bottom: 30px;
}

.band__text {
	max-width: 27em;
	margin: 0;
	color: rgba(247, 244, 239, 0.92);
	font-size: 17.5px;
	line-height: 1.6;
}

.band__box {
	flex: none;
	width: min(100%, 440px);
	margin-right: calc(-1 * clamp(0px, 3vw, 44px));
	padding: 44px 48px 50px;
	background: var(--green);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6);
}

.band__box .eyebrow {
	margin-bottom: 22px;
	font-size: 11.5px;
	letter-spacing: 0.32em;
}

.band__box-title {
	margin-bottom: 30px;
	color: var(--light);
	font-size: clamp(30px, 2.6vw, 38px);
	line-height: 1.12;
	font-variation-settings: "opsz" 48;
}

.band__box .btn {
	min-height: 58px;
	padding-inline: 36px;
}

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

.site-footer {
	padding-block: 38px 28px;
	background: var(--light);
	color: var(--ink);
	font-size: 14.5px;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 32px;
}

.site-footer__brand {
	justify-self: start;
	text-decoration: none;
}

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

.site-footer__list a,
.site-footer__address a {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.4s var(--ease);
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible,
.site-footer__address a:hover {
	background-size: 100% 1px;
}

.site-footer__list a {
	display: inline-block;
	padding-block: 8px;
}

.site-footer__address {
	justify-self: end;
	line-height: 1.55;
}

.site-footer__address strong {
	font-weight: 420;
}

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}

.site-footer__meta p {
	margin: 0;
}

.site-footer__external {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__external a {
	color: var(--muted);
	text-decoration: none;
}

.site-footer__external a:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

.eyebrow--muted {
	color: var(--muted);
	font-size: 11.5px;
	letter-spacing: 0.34em;
}

.page-hero {
	padding-top: clamp(72px, 9vw, 132px);
	padding-bottom: clamp(40px, 4.4vw, 64px);
}

.page-hero__title {
	font-size: clamp(42px, 5.2vw, 70px);
	line-height: 1.02;
	letter-spacing: -0.016em;
}

.page-hero .rule {
	margin-top: 34px;
}

.page-hero__intro {
	max-width: 34em;
	margin: 28px 0 0;
	color: var(--ink);
	font-size: clamp(18px, 1.4vw, 20px);
	font-weight: 360;
	line-height: 1.55;
}

.page-hero--404 {
	padding-bottom: var(--space-section);
}

.link-list {
	display: grid;
	gap: 14px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

/* ---------- Fliesstext ---------- */

.entry-content {
	padding-bottom: var(--space-section);
	color: var(--text);
	font-size: 17.5px;
	line-height: 1.72;
}

.entry-content > * {
	max-width: 40em;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content h2 {
	scroll-margin-top: 110px;
	margin: 2.4em 0 0.7em;
	padding-top: 1.4em;
	border-top: 1px solid var(--line);
	font-size: clamp(26px, 2.3vw, 32px);
	line-height: 1.15;
	font-variation-settings: "opsz" 36;
}

.entry-content h3 {
	margin: 1.8em 0 0.5em;
	font-size: 23px;
	font-variation-settings: "opsz" 28;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.1em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2em;
}

.entry-content li {
	margin-bottom: 0.4em;
	padding-left: 0.3em;
}

.entry-content ul li::marker {
	color: var(--line-strong);
}

.entry-content a:not(.btn):not(.link-arrow) {
	color: var(--ink);
	text-decoration-color: var(--line-strong);
	transition: text-decoration-color 0.3s var(--ease);
}

.entry-content a:not(.btn):not(.link-arrow):hover {
	text-decoration-color: var(--ink);
}

.entry-content strong {
	color: var(--ink);
	font-weight: 460;
}

.entry-content .lead {
	color: var(--ink);
	font-size: 19px;
	line-height: 1.6;
}

.entry-content .meta-note {
	margin-top: 3em;
	color: var(--muted);
	font-size: 14.5px;
}

.placeholder-note,
.entry-content .placeholder-note {
	margin-bottom: 2.4em;
	padding: 18px 22px;
	border-left: 3px solid #b8892b;
	background: #fbf3e2;
	color: #5a4410;
	font-size: 15.5px;
	line-height: 1.6;
}

.placeholder-note strong {
	color: inherit;
}

mark.todo {
	padding: 1px 5px;
	background: #fbe7b0;
	color: #5a4410;
	font-size: 0.92em;
	border-radius: 2px;
}

/* Inhaltsverzeichnis */

.toc {
	margin: 2em 0 0.5em;
	padding: 26px 30px 22px;
	background: var(--paper);
	box-shadow: 0 1px 0 rgba(17, 29, 24, 0.03), 0 18px 40px -36px rgba(17, 29, 24, 0.25);
}

.toc__title {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 11.5px;
	font-weight: 480;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.toc__list {
	columns: 2;
	column-gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
}

.toc__list li {
	break-inside: avoid;
	margin: 0;
	padding: 0;
}

.toc__list a {
	display: inline-block;
	padding-block: 5px;
	color: var(--ink);
	text-decoration: none;
}

.toc__list a:hover {
	text-decoration: underline;
}

/* ---------- Inhaltsseiten mit Bild im Kopf ---------- */

.page-hero__eyebrow a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}

.page-hero__eyebrow a:hover {
	color: var(--ink);
	background-size: 100% 1px;
}

.page-hero--media .page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.page-hero__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	background: var(--sand);
	box-shadow: 0 30px 60px -44px rgba(17, 29, 24, 0.35);
}

.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-settle 2.2s var(--ease-out) both;
}

.page-article--content .page-hero {
	padding-bottom: clamp(56px, 6vw, 96px);
}

/* Fliesstext auf Inhaltsseiten: volle Containerbreite, Text bleibt lesbar */

.entry-content--wide > * {
	max-width: none;
}

.entry-content--wide > p,
.entry-content--wide > ul,
.entry-content--wide > ol {
	max-width: 40em;
}

.entry-content--wide > h2 {
	margin-top: clamp(56px, 6vw, 88px);
	margin-bottom: 32px;
}

.entry-content--wide .split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 48px;
	margin: 0;
	padding: clamp(48px, 5vw, 72px) 0;
	border-top: 1px solid var(--line);
}

.entry-content--wide > .split:first-child {
	padding-top: 0;
	border-top: 0;
}

.entry-content--wide .split > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.entry-content--wide .split h2 {
	margin: 0;
	padding: 0;
	border: 0;
	max-width: 12em;
}

.entry-content--wide .split p,
.entry-content--wide .split ul,
.entry-content--wide .split ol {
	max-width: 36em;
}

.entry-content--wide .split p:last-child {
	margin-bottom: 0;
}

.entry-content--wide .split--media {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	align-items: center;
}

.entry-content--wide .split--media h2 {
	margin-bottom: 28px;
	max-width: none;
}

.entry-content .wp-block-image {
	margin: 0;
}

.entry-content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-content--wide .split--media .wp-block-image {
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--sand);
}

.entry-content--wide .split--media .wp-block-image img {
	height: 100%;
	object-fit: cover;
}

/* Angebotsraster */

.entry-content--wide .offer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 clamp(48px, 5vw, 72px);
}

.offer-grid > .wp-block-column {
	padding: 32px 32px 36px;
	background: var(--paper);
	box-shadow: 0 1px 0 rgba(17, 29, 24, 0.03), 0 18px 40px -36px rgba(17, 29, 24, 0.25);
}

.entry-content .offer-grid h3 {
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1.2;
}

.offer-grid p {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.6;
}

/* Bereichskarten innerhalb von Seiten */

.entry-content .area-cards {
	margin: 0 0 clamp(56px, 6vw, 88px);
}

.entry-content .area-cards .cards {
	width: 100%;
	margin: 0;
	padding: 0;
}

.entry-content .area-cards .card {
	margin: 0;
	padding: 0;
}

.entry-content .area-cards .card__text p,
.entry-content .area-cards .card__links {
	max-width: none;
	margin-bottom: 0;
}

.entry-content .area-cards .card__links {
	margin-top: 26px;
}

.entry-content .area-cards ul.cards li::marker {
	content: none;
}

.entry-content .area-cards .card__title {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Listen mit Gewicht */

.entry-content .feature-list,
.entry-content .step-list {
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.entry-content .feature-list li,
.entry-content .step-list li {
	position: relative;
	margin: 0;
	padding: 18px 0 18px 0;
	border-bottom: 1px solid var(--line);
}

.entry-content .feature-list li:first-child,
.entry-content .step-list li:first-child {
	padding-top: 0;
}

.entry-content .step-list li {
	padding-left: 52px;
	counter-increment: step;
}

.entry-content .step-list li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 21px;
	color: var(--muted);
	font-size: 12.5px;
	letter-spacing: 0.14em;
}

.entry-content .step-list li:first-child::before {
	top: 3px;
}

.link-stack {
	display: grid;
	gap: 10px;
	line-height: 1.4;
}

.link-stack br {
	display: none;
}

/* Personen */

.entry-content--wide .people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

.people > .wp-block-column {
	padding: 0 0 36px;
	background: var(--paper);
	box-shadow: 0 1px 0 rgba(17, 29, 24, 0.03), 0 18px 40px -36px rgba(17, 29, 24, 0.25);
}

.people > .wp-block-column > :not(figure):not(.people__placeholder) {
	margin-inline: 34px;
}

.people .wp-block-image,
.people__placeholder {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin: 0 0 28px !important;
	background: var(--sand);
}

.people .wp-block-image img {
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

.entry-content .people__placeholder {
	display: grid;
	place-items: center;
	max-width: none;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.entry-content .people h3 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 28px;
}

.entry-content .people__role {
	margin-bottom: 18px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 480;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

/* Kontaktband am Seitenende */

.page-article--content + .band {
	margin-top: 0;
}

.about__more {
	margin-top: 26px;
}

@media (max-width: 1099px) {
	.entry-content--wide .offer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 899px) {
	.page-hero--media .page-hero__inner {
		grid-template-columns: 1fr;
	}

	.page-hero__media {
		aspect-ratio: 4 / 3;
	}

	.entry-content--wide .split,
	.entry-content--wide .split--media {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.entry-content--wide .people {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.offer-grid > .wp-block-column {
		padding: 26px 24px 28px;
	}

	.people > .wp-block-column > :not(figure):not(.people__placeholder) {
		margin-inline: 24px;
	}

	.entry-content .step-list li {
		padding-left: 44px;
	}
}

/* ---------- Kontaktseite ---------- */

.contact-page {
	padding-top: clamp(72px, 8vw, 120px);
	padding-bottom: var(--space-section);
}

.contact-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(48px, 6vw, 96px);
	align-items: start;
}

.contact-page__head .page-hero__title {
	max-width: 11em;
	font-size: clamp(40px, 4.5vw, 62px);
}

.contact-page__head .rule {
	margin-top: 34px;
}

.contact-page__intro {
	max-width: 30em;
	margin-top: 30px;
	color: var(--ink);
	font-size: clamp(18px, 1.4vw, 20px);
	font-weight: 360;
	line-height: 1.55;
}

.contact-page__intro p:last-child {
	margin-bottom: 0;
}

.contact-details {
	display: grid;
	gap: 0;
	margin: 44px 0 0;
	border-top: 1px solid var(--line);
}

.contact-details > div {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.contact-details dt {
	padding-top: 3px;
	color: var(--muted);
	font-size: 11.5px;
	font-weight: 480;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.contact-details dd {
	margin: 0;
	color: var(--ink);
	font-size: 16.5px;
	line-height: 1.55;
}

.contact-details a {
	color: var(--ink);
	text-decoration-color: var(--line-strong);
}

.contact-page__media {
	margin: 44px 0 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--sand);
}

.contact-page__media picture,
.contact-page__img {
	width: 100%;
	height: 100%;
}

.contact-page__img {
	object-fit: cover;
}

.contact-card {
	padding: clamp(28px, 3.6vw, 52px);
	background: var(--paper);
	box-shadow: 0 1px 0 rgba(17, 29, 24, 0.03), 0 30px 60px -44px rgba(17, 29, 24, 0.3);
}

.contact-card__title {
	font-size: clamp(28px, 2.4vw, 34px);
	font-variation-settings: "opsz" 40;
}

.contact-card__note {
	margin: 12px 0 0;
	color: var(--text);
	font-size: 15px;
}

.contact-card .contact-form {
	margin-top: 28px;
}

.contact-card .btn {
	width: 100%;
}

@media (max-width: 899px) {
	.contact-page__grid {
		grid-template-columns: 1fr;
	}

	.contact-page__info {
		display: contents;
	}

	.contact-page__head,
	.contact-page__intro {
		order: 1;
	}

	.contact-page__form {
		order: 2;
	}

	.contact-details {
		order: 3;
		margin-top: 0;
	}

	.contact-page__media {
		order: 4;
		margin-top: 0;
	}

	.contact-page__intro {
		margin-top: -24px;
	}
}

@media (max-width: 767px) {
	.contact-details > div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.toc {
		padding: 22px 22px 18px;
	}

	.toc__list {
		columns: 1;
	}

	.entry-content h2 {
		margin-top: 2em;
	}
}

/* ---------- Kontaktformular ---------- */

.contact-form {
	margin-top: 32px;
	scroll-margin-top: 120px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 24px;
}

.form-field {
	display: grid;
	gap: 8px;
	margin: 0 0 18px;
}

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

.form-field label {
	color: var(--ink);
	font-size: 15px;
	font-weight: 440;
}

.form-optional {
	color: var(--muted);
	font-weight: 360;
}

.form-field input,
.form-field textarea {
	width: 100%;
	min-height: 54px;
	padding: 14px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 17px;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-field textarea {
	min-height: 160px;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--green);
	outline: none;
	box-shadow: 0 0 0 3px rgba(16, 35, 31, 0.14);
}

.form-check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	margin: 6px 0 28px;
	font-size: 15px;
	line-height: 1.55;
}

.form-check input {
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--green);
}

.form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: 16px 20px;
	font-size: 16px;
}

.form-notice--ok {
	border-left: 3px solid var(--green);
	background: #e9efe9;
	color: var(--green);
}

.form-notice--error {
	border-left: 3px solid #a3341f;
	background: #f8e6e1;
	color: #6d1f10;
}

/* ==========================================================================
   Einblenden beim Scrollen
   ========================================================================== */

.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.js .hero__content > * {
	animation: rise 1s var(--ease-out) both;
}

.js .hero__content > :nth-child(2) {
	animation-delay: 0.08s;
}

.js .hero__content > :nth-child(3) {
	animation-delay: 0.2s;
}

.js .hero__content > :nth-child(4) {
	animation-delay: 0.28s;
}

.js .hero__content > :nth-child(5) {
	animation-delay: 0.36s;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translate3d(0, 16px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-delay: 0ms !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0ms !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.card:hover .card__img {
		transform: none;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
	.site-header__inner {
		padding-inline: 0;
		width: min(100% - 2 * var(--gutter), var(--container));
	}

	.site-header__cta {
		padding-inline: 24px;
	}

	.card__body {
		padding: 26px 26px 34px;
	}
}

@media (max-width: 1099px) {
	/* Header: Burger-Menü */
	:root {
		--header-h: 76px;
	}

	.site-header__inner,
	.is-scrolled .site-header__inner {
		min-height: 76px;
	}

	.wordmark__main,
	.is-scrolled .wordmark__main {
		font-size: 32px;
	}

	.wordmark__sub,
	.is-scrolled .wordmark__sub {
		margin-top: 5px;
		font-size: 8.5px;
	}

	.site-header__divider,
	.site-header__cta {
		display: none;
	}

	.nav-toggle {
		position: relative;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		gap: 12px;
		margin-left: auto;
		min-height: 48px;
		padding: 0 4px 0 12px;
		border: 0;
		background: none;
		color: var(--ink);
		font: inherit;
		font-size: 15px;
		font-weight: 420;
		cursor: pointer;
	}

	.nav-toggle__bars {
		position: relative;
		display: block;
		width: 26px;
		height: 12px;
	}

	.nav-toggle__bars span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 1.5px;
		background: currentColor;
		transition: transform 0.4s var(--ease), top 0.4s var(--ease);
	}

	.nav-toggle__bars span:first-child {
		top: 0;
	}

	.nav-toggle__bars span:last-child {
		top: 10px;
	}

	.nav-open .nav-toggle__bars span:first-child {
		top: 5px;
		transform: rotate(45deg);
	}

	.nav-open .nav-toggle__bars span:last-child {
		top: 5px;
		transform: rotate(-45deg);
	}

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 40px;
		padding: 110px var(--gutter) 48px;
		background: var(--cream);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.45s var(--ease), visibility 0s;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 4px;
	}

	.site-nav__list a {
		padding-block: 8px;
		font-family: var(--serif);
		font-size: clamp(34px, 8vw, 46px);
		font-weight: 400;
		letter-spacing: -0.01em;
		line-height: 1.15;
	}

	.site-nav__list a::after {
		bottom: 6px;
	}

	.nav-open .site-nav__list li {
		animation: rise 0.7s var(--ease-out) both;
	}

	.nav-open .site-nav__list li:nth-child(2) {
		animation-delay: 0.05s;
	}

	.nav-open .site-nav__list li:nth-child(3) {
		animation-delay: 0.1s;
	}

	.nav-open .site-nav__list li:nth-child(4) {
		animation-delay: 0.15s;
	}

	.site-nav__mobile-cta {
		display: inline-flex;
		align-self: flex-start;
	}

	.nav-open {
		overflow: hidden;
	}

	.nav-open .site-header {
		background: var(--cream);
	}

	/* Hero: Text oben, Bild darunter */
	.hero {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	.hero__content {
		order: 1;
		padding-top: calc(var(--header-h) + clamp(40px, 7vw, 72px));
		padding-bottom: clamp(44px, 6vw, 64px);
	}

	.hero__media {
		position: relative;
		order: 2;
		aspect-ratio: 1024 / 462;
		width: 100%;
		overflow: hidden;
	}

	.hero__media::after {
		display: none;
	}

	.hero__img {
		object-position: 50% 50%;
	}

	.hero__title {
		max-width: none;
	}

	/* Karten: zwei Spalten, dritte quer */
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: min(100% - 2 * var(--gutter), var(--container));
	}

	.card:nth-child(3) {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.card:nth-child(3) .card__media {
		aspect-ratio: auto;
		min-height: 100%;
	}

	/* Kontaktband */
	.band {
		display: grid;
		grid-template-areas: "claim" "box";
	}

	.band__inner {
		display: contents;
	}

	.band__media {
		position: relative;
		grid-area: claim;
	}

	.band__claim {
		position: relative;
		z-index: 1;
		grid-area: claim;
		max-width: none;
		padding: clamp(64px, 10vw, 96px) var(--gutter);
	}

	.band__box {
		grid-area: box;
	}

	.band__box {
		width: 100%;
		margin: 0;
		padding: clamp(44px, 7vw, 64px) var(--gutter) clamp(52px, 8vw, 72px);
		box-shadow: none;
	}

	.band__box-title {
		max-width: 16em;
	}
}

@media (max-width: 899px) {
	.areas__head,
	.about__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.areas__intro,
	.about__text {
		padding-top: 28px;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 16.5px;
	}

	.hero__media {
		aspect-ratio: 584 / 462;
	}

	.hero__img {
		object-position: 50% 50%;
	}

	.hero__title {
		font-size: clamp(38px, 11vw, 58px);
		line-height: 0.98;
	}

	.hero .rule {
		margin: 32px 0 26px;
	}

	.hero__lead {
		font-size: 18px;
	}

	.eyebrow,
	.hero__eyebrow {
		font-size: 11.5px;
		letter-spacing: 0.26em;
	}

	.areas__head .eyebrow,
	.about__heading .eyebrow {
		font-size: 11px;
		letter-spacing: 0.28em;
	}

	.h2 {
		font-size: clamp(34px, 9.4vw, 44px);
		line-height: 1.1;
	}

	.cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.card:nth-child(3) {
		display: flex;
	}

	.card:nth-child(3) .card__media {
		aspect-ratio: 800 / 510;
		min-height: 0;
	}

	.card__body {
		padding: 24px 24px 32px;
	}

	.card__title {
		font-size: 27px;
	}

	.card__btn {
		width: 52px;
		height: 52px;
	}

	.band__claim {
		padding-block: 72px 64px;
	}

	.band__img {
		object-position: 40% 50%;
	}

	.band__box .btn {
		width: 100%;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		justify-items: start;
		gap: 22px;
	}

	.site-footer__address {
		justify-self: start;
	}

	.site-footer__list {
		gap: 0 28px;
	}

	.site-footer__meta {
		flex-direction: column;
	}

	.site-footer__external {
		flex-wrap: wrap;
		gap: 4px 20px;
	}

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

	.site-nav__mobile-cta {
		align-self: stretch;
	}
}

@media (min-width: 1100px) {
	.site-nav {
		display: flex;
		align-items: center;
	}
}

/* Korrekturen Inhaltsseiten */
.page-hero__img {
	object-position: 50% 18%;
}

.entry-content .area-cards ul,
.entry-content .area-cards li {
	padding-left: 0;
}

.entry-content .area-cards .card__links li {
	margin: 0;
}

.site-nav__list .current-menu-parent > a::after,
.site-nav__list .current-page-ancestor > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

@media (min-width: 768px) and (max-width: 1099px) {
	.site-footer__inner {
		grid-template-columns: auto 1fr;
	}

	.site-footer__nav {
		justify-self: end;
	}

	.site-footer__address {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

/* Werdegang */
.entry-content--wide .timeline {
	max-width: none;
	margin: 0 0 clamp(56px, 6vw, 88px);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.entry-content .timeline li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 48px;
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
}

.entry-content .timeline strong {
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 480;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding-top: 4px;
}

.people .wp-block-image img[src*="mario"] {
	object-position: 50% 0%;
}

@media (max-width: 767px) {
	.entry-content .timeline li {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

/* Personenfotos vollständig zeigen (quadratische Originale) */
.people .wp-block-image {
	aspect-ratio: 1 / 1;
}

.people .wp-block-image img,
.people .wp-block-image img[src*="mario"] {
	object-position: 50% 50%;
}

.page-hero__media:has(img[src*="mario"]) {
	aspect-ratio: 1 / 1;
	max-width: 480px;
	justify-self: end;
	width: 100%;
}
