/* ==========================================================================
   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.62) 0%, rgba(249, 246, 241, 0.34) 34%, rgba(249, 246, 241, 0) 56%);
	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: 30% 55%;
}

.band__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 20, 17, 0.55) 0%, rgba(8, 20, 17, 0.25) 45%, rgba(8, 20, 17, 0.05) 70%);
}

.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
   ========================================================================== */

.page-hero {
	padding-top: clamp(64px, 8vw, 120px);
	padding-bottom: clamp(36px, 4vw, 56px);
}

.page-hero__title {
	font-size: clamp(40px, 5vw, 66px);
	line-height: 1.02;
}

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

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

.entry-content h2 {
	margin: 1.8em 0 0.6em;
	font-size: clamp(28px, 2.6vw, 36px);
}

.entry-content h3 {
	margin: 1.6em 0 0.5em;
	font-size: 24px;
}

.entry-content a:not(.btn) {
	color: var(--ink);
}

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

/* ---------- 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;
	}
}
