/* ==========================================================================
   Reuter Projektentwicklung – Hauptstylesheet
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-var.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--green: #44784b;
	--green-600: #3a6a41;
	--green-700: #2f5935;
	--green-900: #1b3320;
	--green-50: #eef4ee;
	--red: #e3051a;
	--ink: #17201b;
	--text: #2c3830;
	--muted: #5f6d64;
	--line: #e2e8e1;
	--bg: #ffffff;
	--bg-alt: #f4f7f3;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(23, 32, 27, .06), 0 8px 24px rgba(23, 32, 27, .08);
	--shadow-lg: 0 2px 4px rgba(23, 32, 27, .06), 0 20px 48px rgba(23, 32, 27, .14);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 0px; /* Header scrollt mit (wie bisherige Website) */
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.icon--lg { width: 2.2rem; height: 2.2rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--accent { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(68, 120, 75, .35); }
.btn--accent:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }
.btn--primary { background: var(--green-900); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--outline { border-color: var(--green); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-50); color: var(--green-900); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--green-900); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--green-700); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--back:hover .icon { transform: translateX(-3px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green);
	margin-bottom: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.eyebrow--light { color: #fff; }
.lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.muted { color: var(--muted); font-size: .95rem; }

/* ---------- Header (Aufbau wie bisherige Website) ---------- */
.site-header { --nav-green: #6a9170; --nav-bg: #3b6240; position: relative; z-index: 100; background: #fff; }
.header-top__inner { display: flex; align-items: center; gap: 40px; min-height: 140px; }
@media (min-width: 1100px) {
	.header-top__inner { display: grid; grid-template-columns: 242px 262px 262px 1fr; column-gap: 37px; }
}
.logo { flex: none; }
.logo img { width: 180px; height: auto; }
.header-info { display: flex; align-items: center; gap: 16px; flex: 0 1 260px; }
.header-info__icon { width: 20px; height: 20px; flex: none; color: var(--nav-green); }
.header-info p { margin: 0; font-size: 15px; line-height: 1.5; color: #000; }
.header-info strong { font-weight: 700; }
.header-info a { color: inherit; text-decoration: none; }
.header-info a:hover { color: var(--red); }
.header-icons { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-icons a { display: block; transition: transform .2s var(--ease); }
.header-icons a:hover { transform: translateY(-2px); }
.header-icons img { width: 22px; height: 22px; object-fit: contain; }

.main-nav { background: var(--nav-bg); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > .container > ul { display: flex; align-items: center; min-height: 56px; margin-left: -22px; }
.main-nav a {
	display: block; padding: 11px 22px;
	font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase;
	color: #fff; text-decoration: none; transition: color .15s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--red); }
.has-sub { position: relative; }
.sub-nav {
	position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--nav-bg);
	opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; z-index: 10;
}
.sub-nav a { padding: 10px 20px; }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; }

.nav-toggle { display: none; margin-left: 4px; background: none; border: 0; padding: 8px; color: var(--nav-green); cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--open { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

@media (max-width: 1099px) {
	.header-top__inner { gap: 24px; }
	.header-info:nth-of-type(1) { display: none; }
}
@media (max-width: 979px) {
	.header-top__inner { min-height: 88px; }
	.logo img { width: 150px; }
	.header-info { display: none; }
	.nav-toggle { display: block; }
	.main-nav { display: none; }
	.nav-open .main-nav { display: block; }
	.main-nav > .container > ul { flex-direction: column; align-items: stretch; margin: 0; padding: 8px 0 16px; }
	.main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.sub-nav { position: static; opacity: 1; visibility: visible; background: none; }
	.sub-nav a { padding-left: 20px; font-size: 16px; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; min-height: clamp(520px, 78vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--green-900); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide picture, .page-header__bg picture, .card__media picture, .news-card__media picture,
.gallery__item picture, .person__photo picture { width: 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(10, 20, 13, .72) 0%, rgba(10, 20, 13, .45) 38%, rgba(10, 20, 13, 0) 72%),
	            linear-gradient(180deg, rgba(10, 20, 13, .1) 0%, rgba(10, 20, 13, 0) 60%, rgba(10, 20, 13, .45) 100%);
}
.hero__content { position: relative; z-index: 2; padding-block: 96px 112px; } /* unten Platz für die Slider-Punkte */
@media (max-width: 699px) { .hero__content { padding-block: 64px 88px; } }
.hero h1 { color: #fff; max-width: 15ch; text-wrap: balance; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 40ch; color: rgba(255, 255, 255, .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hero__dots button[aria-selected="true"] { background: #fff; }

/* ---------- Page header (Unterseiten) ---------- */
.page-header { position: relative; padding-block: 48px 40px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 22ch; text-wrap: balance; margin-bottom: .25em; }
.page-header__subtitle { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0; }
.page-header__meta { display: flex; align-items: center; gap: .5em; color: var(--muted); font-weight: 600; margin: .5em 0 0; }
.page-header--image {
	display: flex; align-items: center; min-height: clamp(260px, 26vw, 360px); padding-block: 48px;
	color: #fff; background: var(--green-900); border: 0; overflow: hidden;
}
.page-header__bg { position: absolute; inset: 0; }
.page-header__bg picture { width: 100%; height: 100%; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-header--image::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(27, 51, 32, .88) 0%, rgba(27, 51, 32, .7) 45%, rgba(27, 51, 32, .35) 100%);
}
.page-header--image .container { position: relative; z-index: 1; }
.page-header--image h1, .page-header--image .page-header__subtitle, .page-header--image .page-header__meta,
.page-header--image .breadcrumbs a, .page-header--image .breadcrumbs li { color: #fff; }
.page-header--image .page-header__subtitle, .page-header--image .breadcrumbs a { color: rgba(255, 255, 255, .85); }
.page-header--image .breadcrumbs a:hover { color: #fff; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3em; margin: 0 0 18px; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .3em; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-700); text-decoration: underline; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badges:empty { display: none; }
.badge {
	display: inline-flex; align-items: center; gap: .4em;
	padding: .35em .85em; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .02em;
	background: var(--green); color: #fff;
}
.badge--vertrieb { background: var(--green); }
.badge--planung { background: #2f6f9b; }
.badge--bezugsfertig { background: var(--green-900); }
.badge--verkauft { background: #6b7280; }
.badge--highlight { background: var(--red); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--bg-alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-title { margin: 48px 0 24px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.section-title:first-child { margin-top: 0; }
.more-link { margin-top: 40px; }

.split { display: grid; gap: clamp(24px, 5vw, 72px); }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1.15fr; align-items: center; }
	.split--top { align-items: start; }
}

/* ---------- „Das zeichnet uns aus“ (Startseite: Aufbau wie bisherige Website, Optik neues Design) ---------- */
.intro { background: var(--bg-alt); }
.intro__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1fr 1fr; } }
.intro__grid > * { min-width: 0; }
.intro__text h2 { text-wrap: balance; }
.intro__text .lead { margin-bottom: 1.1em; }
.intro__text .prose p { color: var(--muted); }
.intro__claim {
	margin: 24px 0 0; padding: 16px 20px; border-left: 4px solid var(--green);
	background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-weight: 700; color: var(--green-900);
}
.intro__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro__img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.intro__img picture { width: 100%; height: 100%; }
.intro__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.intro__img:hover img { transform: scale(1.05); }
.intro__img:hover .gallery__zoom, .intro__img:focus-visible .gallery__zoom { opacity: 1; transform: none; }
@media (min-width: 600px) {
	.intro__gallery { padding-bottom: 24px; }
	.intro__img:nth-child(2n) { transform: translateY(24px); }
}

/* Leistungsmerkmale: vier Spalten mit Kreis-Icon */
.usp__grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.usp__item { text-align: center; padding: 8px 4px; }
.usp__icon {
	display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 20px;
	border-radius: 50%; background: var(--green-50); color: var(--green);
	box-shadow: inset 0 0 0 2px var(--green);
	transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.usp__icon .icon { width: 36px; height: 36px; }
.usp__item:hover .usp__icon { background: var(--green); color: #fff; transform: translateY(-4px); }
.usp__item h3 { margin: 0 0 .5em; }
.usp__item p { margin: 0 auto; max-width: 34ch; color: var(--muted); font-size: .97rem; }

/* ---------- Features ---------- */
.features { display: grid; gap: 20px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--green); color: #fff; margin-bottom: 18px; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Stats ---------- */
.stats { background: var(--green-700); color: #fff; padding-block: 56px; background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .08), transparent 45%); }
.stats__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 2px; border-left: 2px solid rgba(255, 255, 255, .25); padding-left: 20px; }
.stat__num, .stat__plus { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stat__plus { color: #b9dbbd; }
.stat__label { flex-basis: 100%; margin-top: 8px; color: rgba(255, 255, 255, .85); font-weight: 600; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { height: 100%; }
.card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.05); }
.card__media .badge { position: absolute; top: 14px; left: 14px; }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--green); opacity: .35; }
.card__placeholder .icon { width: 64px; height: 64px; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-size: 1.25rem; margin: 0 0 4px; }
.card__meta { display: flex; align-items: center; gap: .4em; margin: 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.card__price { margin: 6px 0 0; font-weight: 800; color: var(--green-700); font-size: 1.05rem; }
.card__facts { margin: 0; color: var(--muted); font-size: .92rem; }

.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card a:hover img { transform: scale(1.05); }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: .85rem; font-weight: 700; color: var(--green); }
.news-card h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.news-card p { color: var(--muted); font-size: .95rem; }
.news-card .more { margin-top: auto; font-weight: 700; color: var(--green-700); display: inline-flex; gap: .4em; align-items: center; }

/* ---------- Filter (Referenzen) ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter__btn { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .55em 1.1em; border-radius: 999px; font-weight: 650; cursor: pointer; transition: .2s; }
.filter__btn span { display: inline-block; margin-left: .3em; padding: 0 .5em; border-radius: 999px; background: var(--bg-alt); font-size: .8rem; color: var(--muted); }
.filter__btn:hover { border-color: var(--green); }
.filter__btn.is-active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.filter__btn.is-active span { background: rgba(255, 255, 255, .15); color: #fff; }
.cards__item[hidden] { display: none; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose .lead { margin-bottom: 1.2em; }
.prose--intro { margin-bottom: 40px; font-size: 1.1rem; }
.prose--legal { font-size: .98rem; }
.prose--legal h2 { font-size: 1.35rem; }
.prose--legal h3 { font-size: 1.1rem; }
.prose--legal a { word-break: break-word; }
ul.checklist { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 1.4em; }
@media (min-width: 700px) { #ausstattung ul.checklist { grid-template-columns: 1fr 1fr; } }
ul.checklist li { position: relative; padding-left: 34px; margin: 0; }
ul.checklist li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344784b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Projekt-Detail ---------- */
.project-layout, .reference-layout { display: grid; gap: 40px; }
.project-layout > *, .reference-layout > *, .contact-layout > *, .split > * { min-width: 0; }
@media (min-width: 1000px) {
	.project-layout, .reference-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
	.project-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.project-hero { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-hero img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; }
.subnav {
	position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 4px; overflow-x: auto;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
	padding: 10px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .45em .95em; border-radius: 999px; font-weight: 650; font-size: .92rem; color: var(--muted); text-decoration: none; }
.subnav a:hover, .subnav a.is-active { background: var(--green-50); color: var(--green-900); }
.project-section { padding-top: 40px; }
.project-section + .project-section { border-top: 1px solid var(--line); margin-top: 40px; }

.facts { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; border-top: 5px solid var(--green); }
.facts__price { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.facts__label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts__price strong { display: block; font-size: 1.45rem; line-height: 1.3; color: var(--green-700); letter-spacing: -.01em; }
.facts__list { margin: 0 0 22px; display: grid; gap: 14px; }
.facts__list div { display: grid; gap: 2px; }
.facts__list dt { display: flex; align-items: center; gap: .45em; font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts__list dt .icon { color: var(--green); }
.facts__list dd { margin: 0; font-weight: 650; color: var(--ink); }
.facts .btn + .btn { margin-top: 10px; }
.facts__contact { margin: 18px 0 0; font-size: .92rem; color: var(--muted); text-align: center; }
.facts__contact strong { color: var(--ink); }

/* ---------- Einheiten (Propstack) ---------- */
.units-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.units-head h2 { margin: 0; }
.units-summary { margin: 0; color: var(--muted); }
.units-summary strong { color: var(--green-700); font-size: 1.1em; }
.units-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; box-shadow: var(--shadow); }
.units-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.units-table th, .units-table td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.units-table thead th { background: var(--bg-alt); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.units-table tbody tr:last-child > * { border-bottom: 0; }
.units-table tbody tr { transition: background .15s; }
.units-table tbody tr:hover { background: var(--green-50); }
.units-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.units-table tbody th a { font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.units-table tbody th a:hover { color: var(--green-700); }
.units-table__sub { display: block; font-weight: 500; font-size: .83rem; color: var(--muted); }
.units-table__row { cursor: pointer; }
.units-table td:last-child { white-space: nowrap; }
.units-table__arrow { display: inline-flex; vertical-align: middle; margin-left: 10px; color: var(--green); opacity: .5; transition: transform .2s var(--ease), opacity .2s; }
.units-table__row:hover .units-table__arrow { opacity: 1; transform: translateX(3px); }
.units-table .price { font-weight: 800; color: var(--green-700); }
.units-table tr.is-unavailable { color: var(--muted); }
.units-table tr.is-unavailable th a, .units-table tr.is-unavailable .price { color: var(--muted); }
.unit-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; white-space: nowrap; }
.unit-status__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
@media (max-width: 759px) {
	.units-table-wrap { border: 0; box-shadow: none; background: none; overflow: visible; }
	.units-table thead { display: none; }
	.units-table, .units-table tbody, .units-table tr, .units-table th, .units-table td { display: block; }
	.units-table tr { margin-bottom: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
	.units-table th, .units-table td { padding: 6px 0; border: 0; text-align: left; }
	.units-table td[data-label] { display: flex; justify-content: space-between; gap: 16px; }
	.units-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
	.units-table .num { text-align: right; }
	.units-table__arrow { display: none; }
}

.badge--unit { background: #fff; color: var(--ink); gap: 8px; }
.project-hero--plan { background: #fff; border: 1px solid var(--line); }
.project-hero--plan img { aspect-ratio: auto; object-fit: contain; max-height: 640px; padding: 16px; }
.unit-keyfacts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.unit-keyfacts li { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line); }
.unit-keyfacts__value { display: block; font-size: 1.35rem; font-weight: 800; color: var(--green-700); letter-spacing: -.01em; line-height: 1.2; }
.unit-keyfacts__label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.facts__list dd a { color: var(--green-700); }

.unit-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.unit-card {
	display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
	box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.unit-card__number { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.unit-card__title { font-weight: 750; color: var(--ink); line-height: 1.3; }
.unit-card__facts { color: var(--muted); font-size: .92rem; }
.unit-card__price { margin-top: 6px; font-weight: 800; color: var(--green-700); }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery__item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--green-900); opacity: 0; transform: translateY(6px); transition: .25s var(--ease); }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery--plans .gallery__item { background: #fff; border: 1px solid var(--line); }
.gallery--plans .gallery__item img { object-fit: contain; padding: 8px; }

/* ---------- Karte (2-Klick) ---------- */
.map-consent { margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt) repeating-linear-gradient(45deg, transparent 0 22px, rgba(68, 120, 75, .05) 22px 44px); border: 1px solid var(--line); aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; }
.map-consent__inner { max-width: 440px; padding: 24px; display: grid; justify-items: center; gap: 12px; color: var(--muted); }
.map-consent__inner .icon { color: var(--green); }
.map-consent__inner p { margin: 0; font-size: .95rem; }
.map-consent iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent.is-loaded { display: block; background: none; }

.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.downloads a { display: flex; align-items: center; gap: .6em; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.downloads a:hover { border-color: var(--green); background: var(--green-50); }
.downloads small { color: var(--muted); font-weight: 500; }

.pager-prevnext { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.pager-prevnext a { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }

/* ---------- News-Artikel ---------- */
.article-image { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pagination ul { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: 48px 0 0; }
.pagination a, .pagination span { display: block; padding: .5em .9em; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; }
.pagination .is-current a { background: var(--green-900); color: #fff; border-color: var(--green-900); }

/* ---------- Über uns ---------- */
/* Geschichte + Pipeline (vertikale Zeitleiste wie bisherige Website, neues Design) */
.story { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: 1.1fr 1fr; } }
.story > * { min-width: 0; }
.story__text .prose { margin-bottom: 24px; }
.pipeline { list-style: none; margin: 0; padding: 32px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--line); }
.pipeline__item { position: relative; display: grid; grid-template-columns: 64px 52px 1fr; column-gap: 18px; align-items: start; padding-bottom: 32px; }
.pipeline__item:last-child { padding-bottom: 0; }
.pipeline__item:not(:last-child)::before {
	content: ""; position: absolute; left: calc(64px + 18px + 25px); top: 52px; bottom: 0; width: 2px;
	background: linear-gradient(var(--green), rgba(68, 120, 75, .25));
}
.pipeline__year { padding-top: 13px; font-size: 1.15rem; font-weight: 800; color: var(--green-700); letter-spacing: -.01em; text-align: right; }
.pipeline__dot {
	position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px;
	border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 6px var(--bg-alt), 0 6px 16px rgba(68, 120, 75, .35);
}
.pipeline__dot .icon { width: 24px; height: 24px; }
.pipeline__body { padding-top: 4px; }
.pipeline__body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.pipeline__body p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 479px) {
	.pipeline { padding: 24px 18px; }
	.pipeline__item { grid-template-columns: 44px 1fr; column-gap: 14px; }
	.pipeline__year { grid-column: 2; grid-row: 1; text-align: left; padding: 0; font-size: 1rem; }
	.pipeline__dot { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; }
	.pipeline__body { grid-column: 2; padding-top: 2px; }
	.pipeline__item:not(:last-child)::before { left: 21px; top: 44px; }
}

/* Vision */
.vision { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .vision { grid-template-columns: 1fr 1fr; } }
.vision > * { min-width: 0; }
.vision__media { position: relative; margin: 0 0 24px; }
.vision__media picture { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.vision__media img { width: 100%; aspect-ratio: 25 / 19; object-fit: cover; }
.vision__badge {
	position: absolute; right: -12px; bottom: -24px; padding: 18px 22px; border-radius: var(--radius);
	background: var(--green); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); line-height: 1.2;
}
.vision__badge strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 599px) { .vision__badge { right: 12px; } }

.section-head--center { justify-content: center; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Team-Teaser */
.team-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.team-teaser__faces { display: flex; }
.team-teaser__faces picture { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); }
.team-teaser__faces picture + picture { margin-left: -18px; }
.team-teaser__faces img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-teaser__text { flex: 1 1 320px; }
.team-teaser__text h2 { margin: 0 0 .2em; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); }
.team-teaser__text p { margin: 0; color: var(--muted); }

.rounded-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 24px; counter-reset: tl; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline__item { position: relative; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.timeline__year { display: block; font-size: 2.2rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.timeline__item p { margin: 0; color: var(--muted); }
.companies { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 800px) { .companies { grid-template-columns: 1fr 1fr; } }
.company { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.company img { height: 64px; width: auto; object-fit: contain; object-position: left; }
.company p { margin: 0; }
.companies__details { margin-top: 32px; max-width: none; display: grid; gap: 0 48px; }
@media (min-width: 800px) { .companies__details { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; } .companies__details h3:nth-of-type(2) { grid-column: 2; grid-row: 1; } .companies__details p:nth-of-type(2) { grid-column: 2; grid-row: 2; } }
.companies__details h3 { margin-top: 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; color: var(--muted); }
.about-teaser { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-teaser { grid-template-columns: 1fr 1.3fr; } }
.about-teaser__logos { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 40px; border-radius: var(--radius); background: var(--bg-alt); }
.about-teaser__logos img:first-child { width: 180px; }
.about-teaser__logos img:last-child { width: 120px; }

/* ---------- Team ---------- */
.team-intro { margin-bottom: 8px; }
.team-group { margin-top: 48px; }
.team-group__title { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.team-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.person {
	display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 28px; align-content: center;
	padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Fotos liegen nur in 225×180 px vor: im Originalformat (5:4) und max. 200 px breit anzeigen */
.person__photo { grid-row: 1 / span 2; align-self: center; width: 200px; aspect-ratio: 5 / 4; border-radius: calc(var(--radius) - 4px); overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; color: var(--green); }
.person__photo picture { width: 100%; height: 100%; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo > .icon { width: 48px; height: 48px; opacity: .4; }
.person__head { align-self: end; min-width: 0; }
.person__head h3 { margin: 0 0 2px; font-size: 1.25rem; }
.person__role { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--green-700); font-weight: 650; font-size: .95rem; }
.person__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-self: start; min-width: 0; }
.person__contact a { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--text); text-decoration: none; font-size: .93rem; line-height: 1.35; overflow-wrap: anywhere; }
.person__contact a > span:last-child { min-width: 0; }
.person__contact a:hover { color: var(--green-700); }
.person__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-50); color: var(--green); transition: background .2s, color .2s; }
.person__icon .icon { width: 15px; height: 15px; }
.person__contact a:hover .person__icon { background: var(--green); color: #fff; }

/* Tablet: etwas kleineres Foto */
@media (max-width: 759px) {
	.person { grid-template-columns: 150px minmax(0, 1fr); column-gap: 20px; }
	.person__photo { width: 150px; }
}
/* Handy: kompakt – rundes Foto + Name nebeneinander, Kontakt darunter über die volle Breite */
@media (max-width: 559px) {
	.team-grid { gap: 16px; }
	.person { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding: 16px; align-content: start; }
	.person:hover { transform: none; }
	.person__photo { grid-row: 1; width: 88px; aspect-ratio: 1; border-radius: 50%; }
	.person__photo img { object-position: center 20%; }
	.person__head { align-self: center; }
	.person__head h3 { font-size: 1.12rem; }
	.person__role { margin: 0; padding: 0; border: 0; font-size: .9rem; line-height: 1.35; }
	.person__contact { grid-column: 1 / -1; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
	.person__contact a { display: flex; min-height: 44px; }
}

/* ---------- Kontakt & Formular ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.contact-cards { display: grid; gap: 16px; margin-top: 28px; }
.contact-card { position: relative; padding: 24px 24px 24px 88px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.contact-card h2 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-card p { margin: 0 0 .4em; }
.contact-card__icon { position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); border-top: 5px solid var(--green); }
.form-card h2 { font-size: 1.5rem; }

.form__grid { display: grid; gap: 18px; margin-bottom: 22px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .93rem; color: var(--ink); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field select {
	width: 100%; padding: .8em 1em; font: inherit; font-size: 1rem; color: var(--ink);
	background: #fff; border: 1.5px solid #cfd8cf; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; padding-right: 2.6em; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344784b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(68, 120, 75, .15); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: .87rem; font-weight: 600; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.field--check label { font-weight: 500; color: var(--muted); }
.field--check .field__error { grid-column: 2; }
.form__note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 22px; }
.alert--success { background: var(--green-50); color: var(--green-900); border: 1px solid #cfe2d0; }
.alert--success .icon { width: 26px; height: 26px; color: var(--green); }
.alert--error { display: block; background: #fdecee; color: #8a0b17; border: 1px solid #f6c3c8; }

/* ---------- Kontaktseite ---------- */
@media (min-width: 1000px) { .contact-layout .form-card { position: sticky; top: 24px; } }
.form-card__intro { margin: -.3em 0 22px; color: var(--muted); }
.contact-person {
	display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; margin-top: 32px;
	padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-person__photo { width: 150px; aspect-ratio: 5 / 6; border-radius: calc(var(--radius) - 4px); overflow: hidden; background: var(--bg-alt); }
.contact-person__photo picture, .contact-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-person .eyebrow { margin-bottom: .3em; }
.contact-person h2 { margin: 0; font-size: 1.45rem; }
.contact-person__role { margin: 2px 0 16px; color: var(--green-700); font-weight: 650; }
.contact-person__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-person__actions .btn { padding: .7em 1.2em; font-size: .92rem; }
@media (max-width: 559px) { .contact-person { grid-template-columns: 1fr; } .contact-person__photo { width: 100%; max-width: 225px; aspect-ratio: 5 / 4; } }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 4px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { color: var(--ink); }
.contact-list__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--green); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: none; }
.steps__item { position: relative; padding: 32px 26px 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.steps__num { position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--green-50); letter-spacing: -.03em; }
.steps__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 18px; }
.steps__icon .icon { width: 24px; height: 24px; }
.steps__item h3 { margin: 0 0 .4em; }
.steps__item p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 1000px) {
	.steps__item:not(:last-child)::after {
		content: ""; position: absolute; top: 57px; right: -24px; width: 24px; height: 2px; background: var(--green); opacity: .35;
	}
}

.contact-map { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .contact-map { grid-template-columns: 1fr 2fr; } }
.contact-map > * { min-width: 0; }
.contact-map .map-consent { margin-top: 0; background-color: #fff; }

/* ---------- 404 ---------- */
.error-page { display: flex; flex-direction: column; align-items: center; text-align: center; }
.error-page__media { position: relative; width: min(320px, 70vw); margin-bottom: 28px; }
.error-page__media::before {
	content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50%;
	background: radial-gradient(circle, var(--green-50) 0%, rgba(238, 244, 238, 0) 70%);
}
.error-page__media img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(27, 51, 32, .18)); animation: helm-float 4s ease-in-out infinite; }
@keyframes helm-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.error-page .eyebrow { margin-bottom: .4em; }
.error-page h2 { margin: 0 0 .3em; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); color: var(--green-700); }
.error-page .prose { margin: 0 auto; color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta h2 { color: #fff; margin: 0 0 .2em; }
.footer-cta p { margin: 0; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .btn:hover { text-decoration: none; }
/* Buttons im Footer: eigene Farben, damit die allgemeine Footer-Linkfarbe sie nicht überschreibt */
.site-footer .btn--light { background: #fff; color: var(--green-900); border-color: #fff; }
.site-footer .btn--light:hover { background: var(--green-50); color: var(--green-900); }
.site-footer .btn--accent { background: var(--green); color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.site-footer .btn--accent:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.footer-grid { display: grid; gap: 32px; padding-block: 48px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.15fr 1.25fr .7fr 1fr; gap: 40px; } }
.footer-block { margin-top: 28px; }
.footer-sitemap ul, .footer-projects ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-sitemap ul ul { margin-top: 8px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .2); }
.footer-sitemap a { display: inline-flex; align-items: center; gap: .4em; }
.footer-projects ul { gap: 14px; }
.footer-projects a { display: block; line-height: 1.4; }
.footer-projects small { display: block; color: rgba(255, 255, 255, .6); font-size: .82rem; }
.footer-projects a[aria-current] { color: #fff; font-weight: 700; }
.footer-sitemap a[aria-current] { color: #fff; font-weight: 700; }
.footer-company { white-space: nowrap; }
.footer-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-logo { width: 150px; padding: 10px 12px; background: #fff; border-radius: var(--radius-sm); margin-bottom: 16px; }
.footer-parent { display: inline-block; padding: 12px 14px; background: #fff; border-radius: var(--radius-sm); }
.footer-parent img { width: 176px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .87rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 14, 10, .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(8, 14, 10, .7); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 56px 0 24px; height: 100vh; grid-template-rows: 1fr auto; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; align-self: center; border-radius: 6px; }
.lightbox figcaption { font-size: .95rem; color: rgba(255, 255, 255, .8); text-align: center; padding: 0 16px; }
.lightbox button { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 640px) {
	.lightbox[open] { grid-template-columns: 1fr; }
	.lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
	.lightbox__prev { left: 20px; }
	.lightbox__next { right: 20px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
	.topbar, .site-header, .site-footer, .subnav, .map-consent, .form, .hero__dots, .project-aside .btn { display: none !important; }
	.project-layout { display: block; }
}
