/* ==========================================================================
   Stadtjäger Herrenberg – Stylesheet
   Static one-pager. No external requests, no frameworks.
   ========================================================================== */

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

* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

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

img {
	height: auto;
}

ul,
ol {
	list-style: none;
	padding: 0;
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

table {
	border-collapse: collapse;
}

/* ---------- Design tokens ---------- */
:root {
	--green-950: #0e2b18;
	--green-900: #143d1e;
	--green-800: #1d4f2b;
	--green-700: #1f6b34;
	--gold: #e0a500;
	--gold-600: #c48f00;
	--gold-light: #f2c14e;
	--bronze: #7a5e18;
	--red: #c1352b;
	--cream: #faf6ee;
	--cream-alt: #f2ece0;
	--cream-card: #fffdf8;
	--ink: #1d1b16;
	--muted: #5c554a;
	--line: #e3dccd;
	--line-dark: rgba(255, 255, 255, 0.14);
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 6px 24px rgba(20, 61, 30, 0.10);
	--maxw: 1200px;
	--header-h: 4.5rem;
	--stack-h: 124px;

	/* --font-display mimics the redesign's "Archivo" (grotesque sans) using
	   system fonts only – no Google Fonts / external requests (DSGVO). */
	--font-display: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	/* --font-text mimics the redesign's "Source Serif 4" using system serif. */
	--font-text: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;

	--focus: var(--green-900);
}

@media (max-width: 640px) {
	:root {
		/* Topbar may wrap to two lines on narrow phones */
		--stack-h: 156px;
	}
}

/* ---------- Base typography ---------- */
html {
	font-size: 100%;
}

body {
	font-family: var(--font-text);
	background: var(--cream);
	color: var(--ink);
	line-height: 1.65;
	font-size: 1rem;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--band h1,
.section--band h2,
.section--band h3 {
	color: var(--cream);
}

h1 {
	font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
	line-height: 1.05;
}

h2 {
	font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
	margin-bottom: 1rem;
}

h3 {
	font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
	margin-bottom: 0.5rem;
	letter-spacing: -0.01em;
}

p {
	margin-bottom: 1rem;
}

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

a {
	text-decoration-thickness: from-font;
}

.section--cream a,
body > main a {
	color: var(--green-700);
}

.section--dark a:not(.btn),
.section--band a:not(.btn),
.site-footer a:not(.btn) {
	color: #ffffff;
	text-decoration: underline;
}

/* Small uppercase eyebrow label used above most section headings */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.85rem;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bronze);
}

.section--dark .eyebrow,
.eyebrow--on-dark {
	color: var(--gold-light);
}

.eyebrow__rule {
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
	flex-shrink: 0;
}

/* ---------- Layout helpers ---------- */
.container {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

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

.section--cream {
	background: var(--cream-alt);
}

.section--dark {
	background: var(--green-900);
	color: var(--cream);
	--focus: #fff;
}

.section--band {
	background: var(--green-800);
	color: var(--cream);
	--focus: #fff;
}

.site-footer {
	--focus: #fff;
}

/* ---------- Accessibility utilities ---------- */
.visually-hidden {
	position: absolute;
	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: 1rem;
	top: -4.5rem;
	background: var(--green-950);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius-sm);
	z-index: 100;
	transition: top 0.15s ease;
}

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

:focus-visible {
	outline: 3px solid var(--focus, #143d1e);
	outline-offset: 3px;
	border-radius: 3px;
}

section[id],
#main {
	scroll-margin-top: calc(var(--stack-h) + 1rem);
}

/* ---------- Header stack (topbar + header), fixed above all content ---------- */
.site-header-stack {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 50;
}

.topbar {
	background: var(--green-950);
	color: #e6e2d6;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
}

.topbar__inner {
	padding-block: 0.55rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem 1.5rem;
}

.topbar__msg a {
	color: var(--gold-light);
	font-weight: 600;
	text-decoration: none;
}

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

.topbar__area {
	opacity: 0.75;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.topbar__area {
		display: none;
	}
}

.site-header {
	position: relative;
	background: var(--green-800);
	border-bottom: 1px solid var(--line-dark);
	--focus: #fff;
	transition: background 0.25s ease, border-color 0.25s ease;
}

/* Transparent-over-hero effect: opt-in per page (index.html only), and only
   while JS confirms we're still scrolled to the very top. No-JS and legal
   pages always get the safe, always-solid header above. */
body.has-hero .site-header-stack.is-top .site-header {
	background: transparent;
	border-bottom-color: transparent;
}

body.has-hero .site-header-stack.is-top .topbar {
	background: rgba(14, 43, 24, 0.55);
}

.site-header__inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	position: relative;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--cream);
	min-height: 44px;
}

.brand__logo {
	width: 2.375rem;
	height: auto;
}

.brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	font-size: 1.05rem;
}

.brand__name small {
	font-weight: 500;
	font-size: 0.7em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold-light);
}

/* Nav toggle: mobile only */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	position: relative;
	flex-shrink: 0;
}

.nav-toggle__box,
.nav-toggle__box::before,
.nav-toggle__box::after {
	width: 22px;
	height: 2px;
	background: var(--cream);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__box {
	position: relative;
	display: block;
}

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

.nav-toggle__box::before {
	top: -7px;
}

.nav-toggle__box::after {
	top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box::before {
	top: 0;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box::after {
	top: 0;
	transform: rotate(-45deg);
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	flex-wrap: wrap;
	font-family: var(--font-display);
}

.nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 0.7rem;
	text-decoration: none;
	color: var(--cream);
	font-weight: 500;
	font-size: 0.95rem;
	border-radius: var(--radius-sm);
}

.nav__link:hover {
	color: var(--gold-light);
}

.nav__link--active {
	color: var(--gold-light);
	text-decoration: underline;
}

.nav__link--cta {
	margin-left: 0.4rem;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.8rem 1.2rem;
	border-radius: 3px;
	font-family: var(--font-display);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
	border: 2px solid transparent;
}

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

.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--gold-600);
}

.btn--secondary {
	background: transparent;
	border: 2px solid currentColor;
	color: inherit;
}

.btn--secondary:hover {
	background: rgba(255, 255, 255, 0.12);
}

.section--cream .btn--secondary:hover,
body > main .btn--secondary:hover {
	background: rgba(20, 61, 30, 0.06);
}

.btn--ghost {
	background: transparent;
	color: inherit;
	text-decoration: underline;
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.btn__icon {
	width: 0.95rem;
	height: 0.95rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ---------- Hero (full-bleed) ---------- */
.hero {
	position: relative;
	background: var(--green-900);
	color: var(--cream);
	isolation: isolate;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
	z-index: -2;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(14, 43, 24, 0.94) 0%, rgba(14, 43, 24, 0.82) 38%, rgba(14, 43, 24, 0.3) 72%, rgba(14, 43, 24, 0.12) 100%);
}

.hero__inner {
	padding-block: clamp(184px, 15vw, 244px) clamp(96px, 10vw, 150px);
	min-height: min(84vh, 800px);
	display: flex;
	align-items: center;
}

.hero__content {
	max-width: 41rem;
}

.hero__title {
	margin-bottom: 0;
	color: var(--cream);
	text-wrap: balance;
}

.hero__sub {
	max-width: 34rem;
	margin-top: 1.6rem;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.28rem);
	line-height: 1.6;
	color: #e3e6de;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.3rem;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-top: 2.1rem;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	color: #cdd6cb;
}

.hero__trust span[aria-hidden] {
	opacity: 0.5;
}

/* ---------- Grundsätze band ---------- */
.grundsaetze {
	background: var(--green-800);
	border-top: 1px solid var(--line-dark);
}

.grundsaetze__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grundsatz {
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
	border-right: 1px solid var(--line-dark);
}

.grundsatz:last-child {
	border-right: 0;
}

.grundsatz__num {
	margin: 0 0 0.6rem;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-light);
}

.grundsatz__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--cream);
}

.grundsatz__text {
	margin: 0;
	color: #c7d0c5;
}

/* ---------- Ansatz ---------- */
.ansatz__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: clamp(2.5rem, 5vw, 5.5rem);
	align-items: start;
}

.ansatz__quote {
	margin-top: 1.75rem;
	padding-left: 1.25rem;
	border-left: 2px solid var(--gold);
	font-size: 1.12rem;
	line-height: 1.55;
	color: var(--muted);
}

.ansatz__body p {
	font-size: 1.08rem;
	line-height: 1.72;
}

/* ---------- Leistungen (editorial line-grid) ---------- */
.leistungen__lead {
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.leistungen__intro {
	font-size: 1.05rem;
	color: var(--muted);
}

.line-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(max(260px, (100% - 2px) / 3), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.line-cell {
	background: var(--cream-card);
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

.line-cell__icon {
	width: 1.9rem;
	height: 1.9rem;
	color: var(--bronze);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	margin-bottom: 1.1rem;
}

.line-cell__title {
	margin-bottom: 0.5rem;
}

.line-cell__text {
	color: var(--muted);
	margin-bottom: 0;
}

/* ---------- Tiere (gallery) ---------- */
.tiere__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.tiere__head-main {
	max-width: 40rem;
}

.tiere__intro {
	margin: 0;
	max-width: 26rem;
	color: var(--muted);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.4vw, 2rem);
}

@media (max-width: 900px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.gallery {
		grid-template-columns: 1fr;
	}
}

.figure {
	margin: 0;
}

.figure__frame {
	overflow: hidden;
	background: var(--line);
}

.figure__frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.figure:hover .figure__frame img {
	transform: scale(1.04);
}

.figure figcaption {
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid var(--line);
}

.figure__name {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--ink);
}

.figure__text {
	margin: 0;
	color: var(--muted);
}

/* ---------- Ablauf (numbered dark band) ---------- */
.ablauf__lead {
	max-width: 44rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ablauf__intro {
	font-size: 1.05rem;
	color: #c7d0c5;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line-dark);
	border: 1px solid var(--line-dark);
}

@media (max-width: 900px) {
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.steps {
		grid-template-columns: 1fr;
	}
}

.step {
	background: var(--green-800);
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

.step__num {
	display: block;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--gold-light);
	opacity: 0.9;
	margin-bottom: 1rem;
}

.step h3 {
	color: var(--cream);
}

.step p {
	margin: 0;
	color: #c7d0c5;
}

/* ---------- Preise ---------- */
.preise__lead {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.preise__intro {
	font-size: 1.05rem;
	color: var(--muted);
}

.stat-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.stat-card {
	padding: clamp(1.6rem, 3vw, 2.1rem);
	background: var(--cream-card);
	border: 1px solid var(--line);
}

.stat-card--highlight {
	background: var(--green-800);
	border-color: var(--green-800);
}

.stat-card__label {
	margin: 0 0 0.6rem;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bronze);
}

.stat-card--highlight .stat-card__label {
	color: var(--gold-light);
}

.stat-card__value {
	margin: 0 0 0.6rem;
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--ink);
}

.stat-card--highlight .stat-card__value {
	color: var(--cream);
}

.stat-card__text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--muted);
}

.stat-card--highlight .stat-card__text {
	color: #c7d0c5;
}

/* ---------- Price table ---------- */
.table-scroll {
	overflow-x: auto;
	border-top: 1px solid var(--line);
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
	font-family: var(--font-text);
}

.price-table caption {
	text-align: left;
}

.price-table thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.price-table th,
.price-table td {
	text-align: left;
	padding: 1.15rem 0.5rem;
	border-bottom: 1px solid var(--line);
	vertical-align: baseline;
}

.price-table th[scope="row"] {
	width: 2rem;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--muted);
	white-space: nowrap;
}

.price-table td:first-of-type {
	color: var(--ink);
}

.price-table td:last-child {
	font-family: var(--font-display);
	font-weight: 600;
	white-space: nowrap;
	text-align: right;
}

.fineprint {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.1rem;
	align-items: baseline;
	font-family: var(--font-display);
	color: var(--muted);
	font-size: 0.85rem;
	margin-top: 1.75rem;
}

.fineprint a {
	font-weight: 600;
}

/* ---------- Über mich ---------- */
.ueber__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(2.25rem, 5vw, 5rem);
	align-items: start;
}

.portrait-placeholder {
	aspect-ratio: 4 / 5;
	background: repeating-linear-gradient(135deg, var(--line) 0 8px, var(--cream-alt) 8px 16px);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	text-align: center;
	padding: 1.5rem;
}

.portrait-placeholder__label,
.portrait-placeholder__hint {
	font-family: ui-monospace, 'SF Mono', Menlo, monospace;
	color: var(--muted);
}

.portrait-placeholder__label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.portrait-placeholder__hint {
	font-size: 0.7rem;
}

.bio-placeholder {
	border: 1px dashed #c9b877;
	background: var(--cream-alt);
	padding: 1.2rem 1.35rem;
	margin-bottom: 1.5rem;
}

.bio-placeholder p {
	margin: 0;
	font-family: ui-monospace, 'SF Mono', Menlo, monospace;
	font-size: 0.8rem;
	line-height: 1.7;
	color: var(--muted);
}

.ueber__legal {
	margin-bottom: 1.75rem;
}

.ueber__creds-title {
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1.25rem;
}

.creds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.75rem;
}

.cred {
	text-align: center;
	background: var(--cream-card);
	border: 1px solid var(--line);
	padding: 1.1rem 0.85rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.cred__img {
	max-height: 3.5rem;
	width: auto;
	object-fit: contain;
}

.cred__label {
	font-family: var(--font-display);
	font-size: 0.72rem;
	line-height: 1.4;
	color: var(--muted);
	margin-bottom: 0;
}

/* ---------- Kontakt ---------- */
.kontakt__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: start;
}

.kontakt__lead {
	max-width: 30rem;
	font-size: 1.1rem;
	line-height: 1.65;
	color: #d7ddd3;
}

.kontakt__phone {
	display: inline-block;
	font-family: var(--font-display);
	font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--gold-light);
	text-decoration: none;
}

.kontakt__phone:hover {
	color: var(--gold);
}

.kontakt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.kontakt__details {
	border-top: 2px solid var(--gold-light);
	padding-top: 1.75rem;
	display: grid;
	gap: 1.5rem;
	font-family: var(--font-display);
}

.kontakt__details-label {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #9fb09b;
}

.kontakt__details p:not(.kontakt__details-label) {
	margin: 0;
	font-size: 1.02rem;
	color: var(--cream);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--green-950);
	color: var(--cream);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	border-bottom: 1px solid var(--line-dark);
}

.footer-brand-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.footer-brand-row img {
	height: 2.25rem;
	width: auto;
}

.footer-brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
}

.footer-col-title {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #9fb09b;
	margin-bottom: 0.6rem;
}

.footer-legal {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.9rem;
}

.footer-legal a {
	text-decoration: none;
}

.footer-legal a:hover {
	text-decoration: underline;
}

.footer-copy {
	padding-block: 1.25rem;
	font-size: 0.8rem;
	font-family: var(--font-display);
	opacity: 0.75;
}

/* ---------- Legal pages (Impressum / Datenschutz / AGB) ---------- */
.legal-page {
	padding-top: calc(var(--stack-h) + clamp(2rem, 5vw, 3.5rem));
}

.legal {
	max-width: 72ch;
}

.legal h1 {
	margin-bottom: 0.25rem;
}

.legal > section {
	margin-top: 2rem;
}

.legal h2 {
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
	margin-bottom: 0.6rem;
}

.legal ol {
	list-style: decimal;
	padding-left: 1.5rem;
}

.legal ol li {
	margin-bottom: 1rem;
}

/* ---------- Reveal-on-scroll (progressive enhancement) ---------- */
/* Content is fully visible without JS. Only hidden once html.js is set, */
/* then revealed by IntersectionObserver in js/main.js. */
html.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	html.js .reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Mobile navigation ---------- */
@media (max-width: 800px) {
	.nav-toggle {
		display: inline-flex;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--green-950);
		border-bottom: 1px solid var(--line-dark);
		box-shadow: var(--shadow);
		display: none;
	}

	.nav.is-open,
	html.no-js .nav {
		display: block;
	}

	/* Without JS the menu is always shown, so the toggle would be a dead control */
	html.no-js .nav-toggle {
		display: none;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 0;
	}

	.nav__link {
		width: 100%;
		padding: 0.75rem 1.25rem;
	}

	.nav__link--cta {
		margin: 0.5rem 1.25rem;
		width: calc(100% - 2.5rem);
	}
}

@media (min-width: 801px) {
	.nav-toggle {
		display: none !important;
	}

	.nav {
		display: block !important;
	}
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 800px) {
	.grundsatz {
		border-right: 0;
		border-bottom: 1px solid var(--line-dark);
	}

	.grundsatz:last-child {
		border-bottom: 0;
	}
}

/* ---------- Small screens: avoid horizontal scroll ---------- */
@media (max-width: 480px) {
	.hero__actions,
	.kontakt__actions {
		flex-direction: column;
		align-items: stretch;
	}
}
