/* =====================================================================
   HED Real Estate — main.css  ·  Version 2.0
   Handgeschrieben. Kein Framework, kein CDN, keine externen Ressourcen.

   Gestaltung: helle, luftige Flächen, weich getönte Paneele, eine starke
   Akzentfarbe (Sand) und ruhige, präzise Bewegung beim Scrollen.
   Alle Animationen respektieren „Bewegung reduzieren“ des Betriebssystems.

   Inhalt
   00  Schrift (lokal)          08  Über uns, Team
   01  Design-Tokens            09  Warum HED (dunkel)
   02  Reset                    10  Ablauf (Reiter)
   03  Typografie               11  Objekte
   04  Layout & Abschnitte      12  Referenzen, Kundenstimmen
   05  Bausteine                13  FAQ
   06  Kopfzeile & Menü         14  Kontakt & Formular
   07  Hero, Zahlen, Leistungen 15  Fußzeile, CTA, Banner, Seiten
                                16  Bewegung
   ================================================================== */

/* =====================================================================
   00  SCHRIFT — Plus Jakarta Sans (SIL OFL 1.1), lokal gehostet.
   Kein Aufruf an fonts.googleapis.com / fonts.gstatic.com.
   ================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"),
	     url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations"),
	     url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =====================================================================
   01  DESIGN-TOKENS
   ================================================================== */

:root {
	/* Farben — Schwarz/Weiß als Basis, Sand als Markenakzent */
	--ink:        #111111;   /* Text, dunkle Flächen, Hauptknopf */
	--ink-2:      #1b1b1b;   /* Karten auf Dunkel */
	--ink-3:      #2b2b2b;   /* Symbolkreise auf Dunkel */
	--paper:      #ffffff;
	--soft:       #f5f5f5;   /* ruhige Abschnittsfläche */
	--tint:       #ebebeb;   /* getöntes Paneel (Hero-Karte, aktive Reiter) */
	--tint-50:    #f3f3f3;   /* Kopfzeilen-Pille, Kartenflächen */
	--sand:       #111111;   /* Akzent: Schwarz (Kundenwunsch 22.10.: nur Schwarz/Weiß, kein Gold) */
	--sand-80:    #333333;
	--sand-40:    #d6d6d6;
	--sand-deep:  #555555;   /* Auszeichnungstext auf Hell (Kontrast ≥ 6 : 1, auch auf Grau) */
	--sand-on-dark: #e8e8e8; /* Auszeichnungstext auf Dunkel */
	--mute:       #5c5c5c;   /* Fließtext gedämpft (Kontrast 7,2 : 1) */
	--mute-dark:  #a8a8a8;   /* gedämpft auf Dunkel (Kontrast 7,6 : 1) */
	--line:       #e6e6e6;
	--line-dark:  rgba(255, 255, 255, .1);
	--ok:         #1f6b45;
	--err:        #a3352a;

	/* Form */
	--r:      24px;
	--r-m:    18px;
	--r-s:    12px;
	--pill:   999px;
	--leaf:   var(--r) var(--r) var(--r) 0;   /* Signatur: eine spitze Ecke unten links */

	/* Schrift */
	--font:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--fs-display: clamp(2.05rem, 1.25rem + 2.6vw, 3.6rem);
	--fs-h1:      clamp(2.1rem, 1.5rem + 2vw, 3.25rem);
	--fs-h2:      clamp(1.75rem, 1.3rem + 1.35vw, 2.6rem);
	--fs-h3:      clamp(1.15rem, 1.07rem + .3vw, 1.375rem);
	--fs-sub:     clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
	--fs-body:    1.0625rem;
	--fs-small:   .9375rem;
	--fs-cap:     .875rem;
	--ls-head:    -.028em;
	--ls-body:    -.012em;

	/* Raum */
	--max:     1160px;
	--gutter:  clamp(20px, 4vw, 40px);
	--sec-y:   clamp(3.5rem, 2.4rem + 4vw, 6.25rem);
	--gap:     clamp(16px, .8rem + .8vw, 24px);
	--header-h: 112px;

	/* Bewegung */
	--ease:      cubic-bezier(.2, 0, 0, 1);
	--ease-out:  cubic-bezier(.28, .11, .32, 1);
	--ease-expo: cubic-bezier(.16, 1, .3, 1);
	--dur:       .9s;
}

@media (max-width: 900px) {
	:root { --header-h: 76px; --fs-body: 1rem; }
}

/* =====================================================================
   02  RESET
   ================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.55;
	letter-spacing: var(--ls-body);
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "ss01" 0;
	overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; }
address { font-style: normal; }
::selection { background: var(--sand-40); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--sand-on-dark); }

/* =====================================================================
   03  TYPOGRAFIE
   ================================================================== */

h1, h2, h3, h4 {
	font-weight: 400;
	letter-spacing: var(--ls-head);
	line-height: 1.1;
	text-wrap: balance;
	hyphens: manual;
}

.h1 { font-size: var(--fs-h1); line-height: 1.06; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.02em; }

.lead {
	font-size: var(--fs-sub);
	line-height: 1.55;
	color: var(--mute);
	text-wrap: pretty;
}
.on-dark .lead { color: var(--mute-dark); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-size: var(--fs-cap);
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--sand-deep);
	margin-bottom: 1rem;
}
.eyebrow::before {
	content: "";
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--sand);
	flex: none;
}
.on-dark .eyebrow { color: var(--sand-on-dark); }
.on-dark .eyebrow::before { background: var(--paper); }

.body-text p + p { margin-top: 1em; }
.body-text p { color: var(--mute); text-wrap: pretty; }

.muted { color: var(--mute); }
.nowrap { white-space: nowrap; }

/* =====================================================================
   04  LAYOUT & ABSCHNITTE
   ================================================================== */

.wrap {
	width: min(var(--max), 100% - 2 * var(--gutter));
	margin-inline: auto;
}
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

.section { padding-block: var(--sec-y); position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--tight { padding-block: calc(var(--sec-y) * .66); }

/* Abschnittskopf: Überschrift links, optional Steuerung rechts */
.sec-head {
	display: grid;
	gap: 1.1rem;
	max-width: 46rem;
	margin-bottom: clamp(2.25rem, 1.5rem + 2.4vw, 3.75rem);
}
.sec-head .eyebrow { margin-bottom: 0; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--row {
	max-width: none;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 1.5rem 3rem;
}
.sec-head--row > :not(.sec-head__side) { grid-column: 1; }
.sec-head__side { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
@media (max-width: 760px) {
	.sec-head--row { grid-template-columns: 1fr; }
	.sec-head__side { grid-column: 1; grid-row: auto; justify-self: start; }
}
.sec-head .lead { max-width: 40rem; }

.sec-foot {
	display: flex;
	justify-content: flex-end;
	margin-top: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }

/* =====================================================================
   05  BAUSTEINE
   ================================================================== */

/* --- Knöpfe ------------------------------------------------------- */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--paper);
	--btn-bd: var(--ink);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 52px;
	padding: 0 1.6rem;
	border-radius: var(--pill);
	border: 1.5px solid var(--btn-bd);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.1;
	white-space: nowrap;
	cursor: pointer;
	isolation: isolate;
	overflow: hidden;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
}
.btn .ic { width: 1.1rem; height: 1.1rem; flex: none; transition: transform .35s var(--ease-expo); }
.btn:hover .ic { transform: translateX(3px); }
.btn:hover { --btn-bg: #000; --btn-bd: #000; box-shadow: 0 14px 30px -16px rgba(17, 17, 17, .6); }
.btn:active { transform: scale(.98); }

.btn--accent { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--accent:hover { --btn-bg: #e6e6e6; --btn-bd: #e6e6e6; }

.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: var(--tint); --btn-bd: var(--tint); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(17, 17, 17, .22); }
.btn--ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--ink); box-shadow: none; }
.on-dark .btn--ghost { --btn-fg: var(--paper); --btn-bd: rgba(255, 255, 255, .28); }
.on-dark .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: var(--paper); --btn-bd: var(--paper); }

.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Text-Link mit Pfeil */
.link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--ink);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	padding-bottom: 2px;
	transition: background-size .45s var(--ease-expo), color .2s var(--ease);
}
.link .ic { width: 1rem; height: 1rem; transition: transform .35s var(--ease-expo); }
.link:hover { background-size: 100% 1.5px; }
.link:hover .ic { transform: translateX(3px); }
.on-dark .link { color: var(--paper); }

/* Runde Pfeilknöpfe (Slider) */
.round {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--tint-50);
	color: var(--ink);
	transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease);
}
.round .ic { width: 1.1rem; height: 1.1rem; }
.round:hover { background: var(--ink); color: var(--paper); }
.round:active { transform: scale(.94); }
.round[disabled] { opacity: .35; cursor: default; }
.round[disabled]:hover { background: var(--tint-50); color: var(--ink); }
.round--prev .ic { transform: rotate(180deg); }
.rounds { display: flex; gap: .5rem; }

/* Symbolkreis */
.chip-ic {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--paper);
	color: var(--sand-deep);
	flex: none;
}
.chip-ic .ic { width: 22px; height: 22px; }

/* Icons */
.ic { width: 1.25rem; height: 1.25rem; flex: none; }

/* Bildplatzhalter (bis echte Fotos vorliegen) */
.ph {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 80% 0%, #f0f0f0 0%, #e7e7e7 45%, #dddddd 100%);
	isolation: isolate;
}
.ph::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/hed-mark-black.png") no-repeat center / 26% auto;
	opacity: .07;
	z-index: -1;
}
.ph__label {
	position: absolute;
	left: 1rem; bottom: .9rem;
	font-size: .75rem;
	font-weight: 500;
	color: var(--mute);
}
.ph--4x5  { aspect-ratio: 4 / 5; }
.ph--3x2  { aspect-ratio: 3 / 2; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--16x9 { aspect-ratio: 16 / 9; }

.ph-note {
	margin-top: 1.25rem;
	font-size: .8125rem;
	color: var(--mute);
}

.sr-only {
	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: fixed;
	top: 12px; left: 12px;
	z-index: 2000;
	padding: .75rem 1.1rem;
	border-radius: var(--pill);
	background: var(--ink);
	color: var(--paper);
	font-weight: 600;
	transform: translateY(-160%);
	transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.hed-todo {
	background: #fff3cd;
	color: #6b4e00;
	border: 1px dashed #d9b23a;
	padding: .1em .5em;
	font-size: .88em;
	font-weight: 600;
	border-radius: 6px;
}
/* =====================================================================
   06  KOPFZEILE & MENÜ
   Oben eine schmale Servicezeile (Sprechzeiten, Telefon, E-Mail), darunter
   die Navigation als schwebende, getönte Pille. Beim Scrollen faltet sich
   die Servicezeile ein, die Pille bekommt Tiefe.
   ================================================================== */

.hdr {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	padding-bottom: 12px;
	transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.hdr.is-scrolled { box-shadow: 0 1px 0 rgba(17, 17, 17, .06); }

/* Servicezeile */
.hdr__util {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease);
}
.hdr__util > .wrap { overflow: hidden; min-height: 0; }
.hdr.is-scrolled .hdr__util { grid-template-rows: 0fr; opacity: 0; }
.hdr__util-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: 38px;
	font-size: .8125rem;
	color: var(--mute);
	padding-inline: 8px;
}
.hdr__hours { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr__hours .ic { width: 15px; height: 15px; color: var(--sand-deep); }
.hdr__util-links { display: flex; gap: 1.5rem; white-space: nowrap; }
.hdr__util-links a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s var(--ease); }
.hdr__util-links a:hover { color: var(--ink); }
.hdr__util-links .ic { width: 15px; height: 15px; }

/* Pille */
.hdr__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: 64px;
	padding: 0 8px 0 22px;
	border-radius: var(--pill);
	background: var(--tint-50);
	transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.hdr.is-scrolled .hdr__bar {
	background: rgba(243, 243, 243, .96);
	box-shadow: 0 10px 30px -18px rgba(17, 17, 17, .35);
}
.hdr__top-space { height: 0; }

.brand { display: flex; align-items: center; flex: none; }

/* Wortmarke: Bildmarke aus dem Originallogo + gesetzter Schriftzug */
.lockup { display: inline-flex; align-items: center; gap: .65rem; }
.lockup__mark { height: 24px; width: auto; flex: none; }
.lockup__mark--light { display: none; }
.lockup__txt { display: grid; gap: .3em; justify-items: start; }
.lockup__name {
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}
.lockup__sub {
	font-size: .5rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	color: var(--mute);
}
.lockup--footer .lockup__mark--light { display: block; height: 40px; }
.lockup--footer .lockup__mark--dark { display: none; }
.lockup--footer .lockup__name { font-size: 1.25rem; color: var(--paper); }
.lockup--footer .lockup__sub { font-size: .58rem; color: var(--mute-dark); }

/* Navigation */
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
	position: relative;
	padding: .55rem .85rem;
	border-radius: var(--pill);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--ink);
	white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgba(255, 255, 255, .75); }
.nav a.is-active { background: var(--paper); box-shadow: 0 1px 0 rgba(17, 17, 17, .04); }

.hdr__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.hdr__cta { min-height: 48px; padding: 0 1.3rem; font-size: .9rem; }
.hdr__cta-short { display: none; }

/* Fortschrittsbalken der Seite (dezent, Sand) */
.hdr__progress {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	pointer-events: none;
}
.hdr__progress span {
	display: block;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, var(--sand-40), var(--sand));
	transform-origin: 0 50%;
	transform: scaleX(var(--progress, 0));
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.hdr.is-scrolled .hdr__progress span { opacity: 1; }

/* Burger */
.burger {
	display: none;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--paper);
	place-items: center;
	color: var(--ink);
}
.burger .ic { width: 22px; height: 22px; }
.burger__close { display: none; }
body.menu-open .burger__open { display: none; }
body.menu-open .burger__close { display: block; }

@media (max-width: 1440px) { .hdr__cta { padding: 0 1.1rem; } }
@media (max-width: 1180px) {
	.nav { display: none; }
	.burger { display: grid; }
}
@media (max-width: 900px) {
	.hdr { padding-bottom: 8px; }
	.hdr__util { display: none; }
	.hdr__bar { height: 60px; margin-top: 8px; padding-left: 18px; gap: .75rem; }
	.hdr__cta { min-height: 44px; padding: 0 1rem; }
}
@media (max-width: 520px) {
	.hdr__cta-long { display: none; }
	.hdr__cta-short { display: inline; }
	.lockup__sub { display: none; }
	.lockup__mark { height: 22px; }
	.lockup__name { font-size: .82rem; letter-spacing: .1em; }
}
@media (max-width: 420px) {
	.hdr__bar { padding-left: 14px; gap: .5rem; }
	.hdr__actions { gap: 4px; }
	.hdr__cta { padding: 0 .85rem; }
	.lockup { gap: .5rem; }
	.lockup__mark { height: 20px; }
	.lockup__name { font-size: .74rem; letter-spacing: .08em; }
}
@media (max-width: 352px) {
	.lockup__txt { display: none; }
}

/* --- Mobiles Menü ------------------------------------------------- */
.menu {
	position: fixed;
	inset: 0;
	z-index: 850;
	background: var(--paper);
	padding: calc(var(--header-h) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	clip-path: inset(0 0 100% 0 round 0 0 24px 24px);
	transition: clip-path .6s var(--ease-expo), opacity .3s var(--ease), visibility 0s linear .6s;
}
.menu.is-open {
	visibility: visible;
	opacity: 1;
	clip-path: inset(0 0 0 0 round 0);
	transition: clip-path .7s var(--ease-expo), opacity .2s var(--ease), visibility 0s;
}
.menu__nav { display: grid; }
.menu__nav a {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--line);
	font-size: clamp(1.5rem, 1.1rem + 2vw, 2.1rem);
	letter-spacing: var(--ls-head);
	line-height: 1.15;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s var(--ease), transform .7s var(--ease-expo);
}
.menu__nav a span { font-size: .8rem; color: var(--sand-deep); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .2s; }

.menu__foot {
	display: grid;
	gap: 1.25rem;
	padding: 1.5rem;
	border-radius: var(--r);
	background: var(--tint-50);
}
.menu__contact { display: grid; gap: .3rem; font-size: .95rem; color: var(--mute); }
.menu__contact strong { color: var(--ink); font-weight: 600; }
.menu__contact a { color: var(--ink); }
/* =====================================================================
   07  HERO · ZAHLEN · LEISTUNGEN
   ================================================================== */

/* --- Hero: Video des Kunden randlos, darauf links unten eine helle
       Karte mit wechselnder Kernaussage (Ticker). ------------------ */
.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-height: clamp(600px, calc(100svh - var(--header-h)), 920px);
	padding: clamp(20px, 3.5vw, 56px) var(--gutter);
	overflow: hidden;
	background: var(--ink);
	isolation: isolate;
}
.hero__photo {
	position: absolute;
	inset: -4% 0;
	z-index: -1;
	overflow: hidden;
	transform: translate3d(0, var(--py, 0px), 0);
	will-change: transform;
}
.hero__photo > img,
.hero__photo > video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% 40%;
	transform: scale(var(--hs, 1));
}
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(17, 17, 17, .28) 0%, rgba(17, 17, 17, 0) 55%),
		linear-gradient(180deg, rgba(17, 17, 17, .1) 0%, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .3) 100%);
}

.hero__wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
	justify-items: start;
}
.hero__wrap > * { grid-area: 1 / 1; }

.hero__card {
	position: relative;
	width: min(580px, 100%);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: start;
	text-align: left;
	padding: clamp(28px, 1.4rem + 2.2vw, 52px);
	border-radius: var(--r);
	background: rgba(245, 245, 245, .9);
	-webkit-backdrop-filter: blur(14px) saturate(1.1);
	backdrop-filter: blur(14px) saturate(1.1);
	box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .6);
}
.hero__brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: var(--fs-cap);
	font-weight: 500;
	color: var(--sand-deep);
	margin-bottom: clamp(1.25rem, .8rem + 1.4vw, 2rem);
}
.hero__brand img { height: 32px; width: auto; }

.hero__title {
	font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.75rem);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -.032em;
	max-width: 15ch;
	width: 100%;
}
.ticker { display: grid; align-items: end; }
.ticker__line {
	grid-area: 1 / 1;
	justify-self: start;
	text-wrap: balance;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 18px, 0);
	filter: blur(8px);
	transition: opacity .7s var(--ease), transform .9s var(--ease-expo), filter .7s var(--ease), visibility 0s linear .9s;
}
.ticker__line.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	filter: none;
	transition: opacity .8s var(--ease) .15s, transform 1s var(--ease-expo) .15s, filter .8s var(--ease) .15s, visibility 0s;
}
.ticker__line.is-out { transform: translate3d(0, -18px, 0); }

/* Fortschritt / Auswahl der Aussagen */
.ticker-nav {
	display: flex;
	gap: .25rem;
	margin-top: clamp(1.4rem, 1rem + 1vw, 2rem);
}
.ticker-dot {
	position: relative;
	width: 34px;
	height: 24px;
	display: grid;
	align-items: center;
}
.ticker-dot::before {
	content: "";
	height: 3px;
	border-radius: var(--pill);
	background: rgba(17, 17, 17, .14);
	grid-area: 1 / 1;
}
.ticker-dot i {
	grid-area: 1 / 1;
	height: 3px;
	border-radius: var(--pill);
	background: var(--ink);
	transform-origin: 0 50%;
	transform: scaleX(0);
}
.ticker-dot.is-done i { transform: scaleX(1); }
.ticker-dot.is-on i { animation: tick-fill var(--tick, 4.2s) linear forwards; }
.ticker.is-paused + .ticker-nav .ticker-dot.is-on i,
.ticker-nav.is-paused .ticker-dot.is-on i { animation-play-state: paused; }
@keyframes tick-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__lead {
	margin-top: clamp(1.4rem, 1rem + 1vw, 2rem);
	max-width: 38rem;
	font-size: var(--fs-sub);
	line-height: 1.55;
	color: var(--mute);
	text-wrap: pretty;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: .75rem;
	margin-top: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
}
.hero__actions .btn--ghost { --btn-bd: rgba(17, 17, 17, .25); }
.hero__actions .btn { padding: 0 1.3rem; }
.hero__cta-long { display: none; }
.hero__cta-short { display: inline; }
.hero__actions .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .6); }

/* Pause-Knopf für das Video (WCAG 2.2.2) */
.hero__toggle {
	align-self: end;
	justify-self: end;
	width: 48px; height: 48px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--paper);
	background: rgba(17, 17, 17, .35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
	transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero__toggle[hidden] { display: none; }
.hero__toggle:hover { background: rgba(17, 17, 17, .6); box-shadow: inset 0 0 0 1.5px var(--paper); }
.hero__toggle svg { width: 18px; height: 18px; }
.hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }

@media (max-width: 760px) {
	.hero__toggle { align-self: start; width: 42px; height: 42px; }
	.hero__photo > img, .hero__photo > video { object-position: 50% 35%; }
}
@media (max-width: 600px) {
	.hero { min-height: calc(100svh - var(--header-h)); padding-block: 16px 20px; }
	.hero__lead { display: none; }
	.hero__card { padding: 24px 22px 22px; }
	.hero__brand { margin-bottom: 1rem; }
	.hero__brand img { height: 26px; }
	.hero__title { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 1.95rem); }
	.hero__cta-long { display: none; }
	.hero__cta-short { display: inline; }
	.hero__actions { width: 100%; }
	.hero__actions .btn { width: 100%; white-space: normal; text-align: center; }
	.hero__title { max-width: none; }
}

/* --- Zahlen ------------------------------------------------------- */
.stats {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
	gap: var(--gap);
}
.stats__feature {
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(28px, 1.5rem + 1.2vw, 40px);
	border-radius: var(--r);
	background: var(--ink);
	color: var(--paper);
	position: relative;
	overflow: hidden;
}
.stats__feature::after {
	content: "";
	position: absolute;
	right: -18%;
	bottom: -26%;
	width: 70%;
	aspect-ratio: 531 / 360;
	background: url("../img/hed-mark-white.png") no-repeat center / contain;
	opacity: .06;
	pointer-events: none;
}
.stats__feature h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.15; max-width: 15ch; }
.stats__feature p { color: var(--mute-dark); font-size: var(--fs-small); max-width: 32ch; }
.stats__feature .link { margin-top: auto; color: var(--sand-on-dark); }

.stat {
	display: grid;
	align-content: start;
	gap: .35rem;
	padding: clamp(24px, 1.2rem + 1vw, 34px);
	border-radius: var(--r);
	background: var(--paper);
	transition: transform .45s var(--ease-expo), box-shadow .45s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(17, 17, 17, .35); }
.stat__num {
	font-size: clamp(2.2rem, 1.7rem + 1.4vw, 3rem);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -.035em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.stat__num small { font-size: .5em; letter-spacing: -.01em; color: var(--sand-deep); margin-left: .12em; font-weight: 400; }
.stat__lbl { font-size: var(--fs-small); color: var(--mute); max-width: 22ch; }

@media (max-width: 980px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats__feature { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
}
@media (max-width: 460px) {
	.stats { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stat { padding: 20px; }
	.stat__lbl { font-size: .875rem; }
}

/* --- Leistungen: wischbare Kartenschiene -------------------------- */
.rail-wrap { position: relative; }
.track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
	gap: var(--gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 6px;
	margin: -6px;
	scroll-padding-inline: 6px;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -2px; }
.track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1023px) { .track { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 640px)  { .track { grid-auto-columns: 86%; } }

.svc {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 1.2rem + 1vw, 32px);
	border-radius: var(--r);
	background: var(--tint-50);
	overflow: hidden;
	isolation: isolate;
	transition: background-color .3s var(--ease), transform .5s var(--ease-expo);
}
.svc:hover { background: var(--tint); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.svc__no { font-size: var(--fs-cap); color: var(--sand-deep); font-variant-numeric: tabular-nums; }
.svc h3 { margin-top: clamp(1.4rem, 1rem + 1vw, 2rem); }
.svc__lead { margin-top: .4rem; font-size: var(--fs-cap); color: var(--sand-deep); font-weight: 500; }
.svc__text {
	margin-top: .9rem;
	font-size: var(--fs-small);
	line-height: 1.6;
	color: var(--mute);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.svc.is-open .svc__text { -webkit-line-clamp: unset; display: block; }
.svc__more {
	display: none;
	align-self: flex-start;
	margin-top: .5rem;
	font-size: var(--fs-cap);
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--sand);
	padding: .25rem 0;
}
.svc.has-more .svc__more { display: inline-block; }
.svc__foot { margin-top: auto; padding-top: 1.5rem; }

/* Lichtwelle, die in Ruhe über die Karten zieht (nur Leistungen) */
.svc::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(104deg, transparent 32%, rgba(255, 255, 255, .7) 50%, transparent 68%);
	opacity: 0;
	transform: translateX(-120%);
}
.js-anim .svc.is-in::before {
	animation: wave 8s linear infinite;
	animation-delay: calc(var(--d, 0) * 140ms + 1.2s);
}
@keyframes wave {
	0%   { opacity: 0; transform: translateX(-110%); }
	3%   { opacity: .9; }
	15%  { opacity: .9; }
	18%  { opacity: 0; transform: translateX(110%); }
	100% { opacity: 0; transform: translateX(110%); }
}

/* Fortschrittsleiste unter der Schiene */
.rail {
	position: relative;
	height: 4px;
	width: min(240px, 60%);
	margin: clamp(1.5rem, 1rem + 1vw, 2.25rem) auto 0;
	border-radius: var(--pill);
	background: var(--line);
	overflow: hidden;
}
.rail[hidden] { display: none; }
.rail__thumb {
	position: absolute;
	inset-block: 0;
	left: 0;
	width: 30%;
	border-radius: var(--pill);
	background: var(--sand);
	transform: translateX(var(--rx, 0));
	transition: transform .25s var(--ease-expo), width .25s var(--ease-expo);
}
/* =====================================================================
   08  ÜBER UNS · TEAM
   ================================================================== */

.about {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	gap: clamp(2.5rem, 1rem + 5vw, 6.5rem);
	align-items: center;
}
.about__media { position: relative; }
.media {
	position: relative;
	border-radius: var(--leaf);
	overflow: hidden;
	background: var(--soft);
	isolation: isolate;
}
.media img,
.media .ph { width: 100%; height: 100%; object-fit: cover; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media__in { position: absolute; inset: -6% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.media__in img { height: 100%; }

.about__badge {
	position: absolute;
	right: clamp(-28px, -2vw, -12px);
	bottom: clamp(24px, 3vw, 44px);
	display: grid;
	gap: .1rem;
	padding: 1rem 1.35rem 1.1rem;
	border-radius: var(--r-m);
	background: var(--paper);
	box-shadow: 0 24px 50px -28px rgba(17, 17, 17, .45);
}
.about__badge b { font-size: 2rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.about__badge span { font-size: var(--fs-cap); color: var(--mute); }

.about__text { margin-top: 1.5rem; }
.sig {
	display: inline-flex;
	align-items: center;
	gap: .9rem;
	margin-top: 2rem;
	padding: 10px 22px 10px 10px;
	border-radius: var(--pill);
	background: var(--tint-50);
}
.sig .sig__mark {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--ink);
	display: grid; place-items: center;
	flex: none;
}
.sig__mark img { width: 24px; height: auto; }
.sig b { display: block; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.sig span { display: block; font-size: .8125rem; color: var(--mute); }

.about__video { margin-top: 2rem; }

@media (max-width: 900px) {
	.about { grid-template-columns: minmax(0, 1fr); }
	.about__media { max-width: 480px; }
	.about__badge { right: 14px; }
}

/* Team */
.team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
}
.tcard__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: var(--soft); }
.tcard__photo .ph { aspect-ratio: auto; }
.tcard__photo img, .tcard__photo .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.tcard:hover .tcard__photo img { transform: scale(1.03); }
.tcard__meta { padding: 1.1rem .25rem 0; display: grid; gap: .2rem; }
.tcard__meta span { font-size: var(--fs-small); color: var(--mute); }
.tcard--soon .h3 { color: var(--mute); }
@media (max-width: 760px) {
	.team {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 74%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding: 6px; margin: -6px;
	}
	.team::-webkit-scrollbar { display: none; }
	.tcard { scroll-snap-align: start; }
}

/* =====================================================================
   09  WARUM HED (dunkler Abschnitt)
   ================================================================== */

.why { overflow: hidden; }
.why::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -30%;
	width: min(1100px, 140vw);
	aspect-ratio: 2 / 1;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent 70%);
	pointer-events: none;
}
.why .wrap { position: relative; }
.values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
}
.value {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: .9rem;
	text-align: center;
	padding: clamp(28px, 1.5rem + 1.2vw, 40px) clamp(22px, 1.2rem + 1vw, 34px) clamp(30px, 1.6rem + 1.2vw, 44px);
	border-radius: var(--r);
	background: var(--ink-2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
	transition: transform .5s var(--ease-expo), box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); background: #222222; }
.value .chip-ic { background: var(--ink-3); color: var(--sand-on-dark); margin-bottom: .35rem; }
.value h3 { color: var(--paper); }
.value p { font-size: var(--fs-small); line-height: 1.6; color: var(--mute-dark); max-width: 34ch; text-wrap: pretty; }
@media (max-width: 980px) {
	.values { grid-template-columns: 1fr; }
	/* Mobil: Symbol steht in einer Zeile mit dem Titel, Text darunter über die volle Breite */
	.value { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; column-gap: .9rem; text-align: left; }
	.value .chip-ic { margin-bottom: 0; }
	.value p { grid-column: 1 / -1; max-width: none; }
}

/* =====================================================================
   10  ABLAUF — Reiter mit automatischem Weiterblättern
   Ohne JavaScript stehen alle vier Schritte untereinander.
   ================================================================== */

.steps-nav {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.32fr) minmax(0, 1.06fr) minmax(0, 1fr);
	gap: 6px;
	padding: 6px;
	border-radius: var(--pill);
	background: var(--tint-50);
	margin-bottom: var(--gap);
}
.steps-nav[hidden] { display: none; }
.steps-tab {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 58px;
	padding: 0 .75rem;
	border-radius: var(--pill);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--mute);
	overflow: hidden;
	isolation: isolate;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
.steps-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.steps-tab__n {
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	font-size: .8125rem;
	font-weight: 600;
	flex: none;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
.steps-tab__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.steps-tab[aria-selected="true"] .steps-tab__n { background: var(--paper); color: var(--ink); }
/* Laufzeit des aktiven Schritts (füllt sich, solange automatisch geblättert wird) */
.steps-tab__bar {
	position: absolute;
	left: 18px; right: 18px; bottom: 7px;
	height: 2px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, .12);
	opacity: 0;
	overflow: hidden;
}
.steps-tab__bar i { display: block; height: 100%; background: var(--paper); transform-origin: 0 50%; transform: scaleX(0); }
.steps.is-auto .steps-tab[aria-selected="true"] .steps-tab__bar { opacity: 1; }
.steps.is-auto .steps-tab[aria-selected="true"] .steps-tab__bar i { animation: tick-fill var(--step-time, 6.5s) linear forwards; }
.steps.is-paused .steps-tab[aria-selected="true"] .steps-tab__bar i { animation-play-state: paused; }
@media (max-width: 1100px) {
	.steps-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.steps-tab__t { display: none; }
	.steps-tab { min-height: 52px; }
}

.steps-panels { display: grid; gap: var(--gap); }
.step-panel {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(1.5rem, 1rem + 3vw, 4rem);
	align-items: start;
	padding: clamp(28px, 1.2rem + 3vw, 60px);
	border-radius: var(--leaf);
	background: var(--tint);
}
.step-panel[hidden] { display: none; }
.step-panel.is-entering { animation: panel-in .6s var(--ease-expo) both; }
@keyframes panel-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.step-panel__no {
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--paper);
	font-weight: 600;
	margin-bottom: 1.4rem;
}
.step-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.12; letter-spacing: var(--ls-head); hyphens: manual; }
.step-panel p { font-size: var(--fs-sub); line-height: 1.6; color: #3d3d3d; text-wrap: pretty; }
.step-panel .step-panel__meta { margin-top: 1.25rem; font-size: var(--fs-cap); color: var(--sand-deep); font-weight: 500; }
@media (max-width: 760px) { .step-panel { grid-template-columns: 1fr; } .step-panel__no { margin-bottom: 1rem; } }

.switch-note {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem 3rem;
	align-items: center;
	margin-top: var(--gap);
	padding: clamp(24px, 1.2rem + 1.5vw, 40px);
	border-radius: var(--r);
	background: var(--soft);
}
.switch-note h3 { margin-bottom: .5rem; }
.switch-note p { color: var(--mute); font-size: var(--fs-small); max-width: 60ch; text-wrap: pretty; }
@media (max-width: 760px) { .switch-note { grid-template-columns: 1fr; } .switch-note .btn { width: 100%; } }

/* =====================================================================
   11  OBJEKTE
   ================================================================== */

.objects {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.6fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
}
.objects__head { position: sticky; top: calc(var(--header-h) + 32px); }
.objects__head .sec-head { margin-bottom: 0; }
.obj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.obj {
	padding: 10px 10px 18px;
	border-radius: calc(var(--r) + 4px);
	transition: background-color .35s var(--ease);
}
.obj:hover { background: var(--tint); }
.obj__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint-50); }
.obj__img img, .obj__img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.obj:hover .obj__img img { transform: scale(1.045); }
.obj__meta { padding: 14px 6px 0; display: grid; gap: .15rem; }
.obj__meta span { font-size: var(--fs-cap); color: var(--sand-deep); font-weight: 500; }
.obj__meta h3 { font-size: 1.125rem; letter-spacing: -.015em; hyphens: auto; overflow-wrap: break-word; }
.obj__meta span { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 900px) {
	.objects { grid-template-columns: minmax(0, 1fr); }
	.objects__head { position: static; }
}
@media (max-width: 460px) { .obj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .obj { padding: 6px 6px 12px; } .obj__meta h3 { font-size: 1rem; } }

/* =====================================================================
   12  REFERENZEN · KUNDENSTIMMEN
   ================================================================== */

.marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
	padding-block: 4px;
}
.marquee__track { display: flex; width: max-content; }
.marquee__set { display: flex; gap: 14px; padding-right: 14px; }
.logo-tile {
	width: clamp(150px, 10rem + 3vw, 210px);
	height: clamp(84px, 5rem + 1.5vw, 108px);
	display: grid;
	place-items: center;
	padding: 16px 26px;
	border-radius: var(--r-m);
	background: var(--soft);
	transition: background-color .3s var(--ease), transform .4s var(--ease-expo);
}
.logo-tile:hover { background: var(--tint-50); transform: translateY(-2px); }
.logo-tile img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }

.js-anim .marquee__track { animation: marquee var(--marquee-time, 48s) linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* Ohne Bewegung: Logos ruhig umbrechen, Dublette ausblenden */
html:not(.js-anim) .marquee { -webkit-mask-image: none; mask-image: none; }
html:not(.js-anim) .marquee__track { width: auto; justify-content: center; }
html:not(.js-anim) .marquee__set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
html:not(.js-anim) .marquee__set[aria-hidden="true"] { display: none; }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr; } }
.quote {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: clamp(24px, 1.2rem + 1vw, 34px);
	border-radius: var(--r);
	background: var(--soft);
}
.quote blockquote { font-size: var(--fs-small); line-height: 1.6; }
.quote figcaption { margin-top: auto; font-size: var(--fs-cap); color: var(--mute); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.quotes-head { margin-top: clamp(3.5rem, 2.5rem + 3vw, 6rem); }

/* =====================================================================
   13  FAQ
   ================================================================== */

.faq { display: grid; gap: 10px; }
.faq__item {
	border-radius: var(--r-m);
	background: var(--paper);
	transition: box-shadow .3s var(--ease);
}
.faq__item[open] { box-shadow: 0 18px 40px -32px rgba(17, 17, 17, .4); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.3rem 1.25rem 1.3rem 1.6rem;
	font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
	letter-spacing: -.02em;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
	border-radius: var(--r-m);
	transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sand-deep); }
.faq__plus {
	position: relative;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--tint-50);
	flex: none;
	transition: background-color .25s var(--ease), transform .45s var(--ease-expo);
}
.faq__plus::before, .faq__plus::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 13px; height: 1.6px;
	border-radius: 2px;
	background: var(--ink);
	transform: translate(-50%, -50%);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--ink); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--paper); }
.faq__body { padding: 0 1.6rem 1.5rem; max-width: 64ch; color: var(--mute); font-size: var(--fs-small); line-height: 1.65; }
.faq__body p + p { margin-top: .75em; }
.faq__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sand); }
.faq__item[open] .faq__body { animation: faq-in .5s var(--ease-expo) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* =====================================================================
   14  KONTAKT & FORMULAR
   Eine dunkle Bühne mit spitzer Ecke; das Formular liegt als helle
   Karte darin. Direkter Anruf steht gleichwertig daneben.
   ================================================================== */

.contact {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: 12px;
	padding: 12px;
	border-radius: var(--leaf);
	background: var(--ink);
	color: var(--paper);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.contact::before {
	content: "";
	position: absolute;
	left: -20%;
	top: -40%;
	width: 80%;
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(255, 255, 255, .08), transparent 70%);
	z-index: -1;
	pointer-events: none;
}
.contact__intro {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: clamp(20px, 1rem + 3vw, 52px) clamp(14px, .5rem + 3vw, 44px);
}
.contact__intro .eyebrow { margin-bottom: 0; }
.contact__intro .lead { color: var(--mute-dark); max-width: 30rem; }

.ccall {
	margin-top: 1rem;
	padding: 1.4rem;
	border-radius: var(--r-m);
	background: rgba(255, 255, 255, .05);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
	display: grid;
	gap: .9rem;
	justify-items: start;
}
.ccall__label { font-size: var(--fs-cap); color: var(--mute-dark); }
.ccall__btn .ic { width: 1.05rem; height: 1.05rem; }
.ccall__btn:hover .ic { transform: none; }
.ccall__hours { display: grid; gap: .15rem; font-size: var(--fs-cap); color: var(--mute-dark); }
.ccall__hours b { color: var(--paper); font-weight: 500; }
.contact__mail { font-size: var(--fs-small); color: var(--mute-dark); }
.contact__mail a { white-space: nowrap; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.contact__mail a:hover { text-decoration-color: var(--paper); }

.contact__form {
	background: var(--paper);
	color: var(--ink);
	border-radius: calc(var(--r) - 6px);
	padding: clamp(22px, 1rem + 2.4vw, 48px);
}
@media (max-width: 980px) {
	.contact { grid-template-columns: 1fr; padding: 8px; }
}

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; min-width: 0; }
.field label { font-size: var(--fs-cap); font-weight: 500; color: var(--ink); }
.field .req { color: var(--sand-deep); }
.opt { color: var(--mute); font-weight: 400; }

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: .85rem 1.05rem;
	background: var(--tint-50);
	border: 1.5px solid transparent;
	border-radius: var(--r-s);
	font-size: 1rem;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #6b6b6b; }
.field select {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23161412' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.05rem center;
	padding-right: 2.75rem;
	cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { background-color: var(--tint); }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	background-color: var(--paper);
	border-color: var(--ink);
	box-shadow: 0 0 0 4px rgba(17, 17, 17, .12);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--err); }

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

.callback { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.callback__check { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-small); cursor: pointer; }
.callback__check input, .consent-box input { width: 1.15rem; height: 1.15rem; accent-color: var(--ink); flex: none; }
.callback__time { display: flex; align-items: center; gap: .7rem; }
.callback__time label { white-space: nowrap; color: var(--mute); font-weight: 400; }
.callback__time select { min-width: 15rem; }
@media (max-width: 520px) { .callback__time { width: 100%; } .callback__time select { min-width: 0; flex: 1; } }

.consent-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .85rem;
	align-items: start;
	padding: 1rem 1.15rem;
	border-radius: var(--r-s);
	background: var(--soft);
}
.consent-box input { margin-top: .2rem; }
.consent-box label { font-size: .8125rem; line-height: 1.55; color: var(--mute); }
.consent-box a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-top: .25rem; }
.form__note { font-size: .78rem; color: var(--mute); max-width: 24rem; line-height: 1.5; }
@media (max-width: 520px) { .form__foot .btn { width: 100%; } }

.notice {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
	padding: 1.1rem 1.25rem;
	border-radius: var(--r-s);
	font-size: var(--fs-small);
	line-height: 1.55;
}
.notice .ic { width: 1.15rem; height: 1.15rem; margin-top: .2em; }
.notice--ok  { background: #e9f2ec; color: #1d4a31; }
.notice--err { background: #f8e9e6; color: #6d2424; margin-bottom: 1.25rem; }
.notice a { text-decoration: underline; }

/* Video (Zwei-Klick-Lösung) */
.videobox {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--ink);
	color: var(--paper);
}
.videobox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.videobox__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; text-align: center; }
.videobox__inner { max-width: 27rem; display: grid; gap: .75rem; justify-items: center; }
.videobox__play { width: 3rem; height: 3rem; color: var(--sand-on-dark); }
.videobox__title { font-weight: 600; }
.videobox__note { font-size: .8rem; line-height: 1.55; color: var(--mute-dark); text-wrap: pretty; }

/* =====================================================================
   15  FUSSZEILE · MITWANDERNDE CTA · BANNER · UNTERSEITEN
   ================================================================== */

.footer {
	background: var(--ink);
	color: var(--mute-dark);
	padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
	font-size: var(--fs-small);
}
.footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
	padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.footer__brand p { margin-top: 1.25rem; max-width: 26ch; }
.fcol h4 { font-size: var(--fs-cap); font-weight: 600; color: var(--paper); margin-bottom: 1rem; letter-spacing: 0; }
.fcol ul { display: grid; gap: .55rem; list-style: none; }
.fcol a { transition: color .2s var(--ease); }
.fcol a:hover { color: var(--paper); }
.fcol address { line-height: 1.6; }
.fcol__line { margin-top: .9rem; line-height: 1.7; }
.fcol__hours { margin-top: .9rem; display: grid; gap: .1rem; }
.fcol__label { color: var(--paper); font-weight: 500; }
.fcol__hours b { font-weight: 500; color: var(--mute-dark); }

.social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social a, .social span {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--ink-3);
	color: var(--paper);
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.social a:hover { background: var(--paper); color: var(--ink); }
.social .ic { width: 18px; height: 18px; }
.social__soon { opacity: .45; cursor: default; }

.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line-dark);
	font-size: .8125rem;
}
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.footer__legal > * + *::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .25); }
.footer__legal a, .footer__legal .cc-reopen { color: rgba(255, 255, 255, .82); transition: color .2s var(--ease); }
.footer__legal a:hover, .footer__legal .cc-reopen:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.cc-reopen { font: inherit; font-size: inherit; color: inherit; cursor: pointer; padding: 0; }

@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
body.fcta-on .footer__bottom { padding-bottom: calc(1.6rem + 84px + env(safe-area-inset-bottom)); }
@media (min-width: 761px) { body.fcta-on .footer__bottom { padding-bottom: calc(1.6rem + env(safe-area-inset-bottom)); } }

/* --- Mitwandernde CTA -------------------------------------------- */
.fcta {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom));
	z-index: 800;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border-radius: var(--pill);
	background: rgba(17, 17, 17, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
	transform: translate3d(-50%, 160%, 0);
	opacity: 0;
	transition: transform .7s var(--ease-expo), opacity .4s var(--ease);
	max-width: calc(100vw - 24px);
}
.fcta.is-on { transform: translate3d(-50%, 0, 0); opacity: 1; }
.fcta__main {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 48px;
	padding: 0 1.4rem;
	border-radius: var(--pill);
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	font-size: .95rem;
	min-width: 0;
	transition: background-color .2s var(--ease);
}
.fcta__main:hover { background: #e6e6e6; }
.fcta__main .ic { width: 1.05rem; height: 1.05rem; }
.fcta__label { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .18s var(--ease), transform .25s var(--ease); }
.fcta__label.is-swap { opacity: 0; transform: translateY(6px); }
.fcta__call {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 48px;
	padding: 0 1.15rem 0 1rem;
	border-radius: var(--pill);
	color: var(--paper);
	font-weight: 500;
	font-size: .95rem;
	transition: background-color .2s var(--ease);
}
.fcta__call:hover { background: rgba(255, 255, 255, .08); }
.fcta__call .ic { width: 1.05rem; height: 1.05rem; color: var(--sand-on-dark); }
@media (max-width: 760px) {
	.fcta { left: 12px; right: 12px; transform: translate3d(0, 160%, 0); }
	.fcta.is-on { transform: none; }
	.fcta__main { flex: 1; justify-content: center; }
}
@media (max-width: 360px) { .fcta__call-txt { display: none; } .fcta__call { padding: 0 1rem; } }

.to-top {
	position: fixed;
	right: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom));
	z-index: 790;
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--tint-50);
	color: var(--ink);
	box-shadow: 0 10px 30px -14px rgba(17, 17, 17, .4);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .3s var(--ease), transform .4s var(--ease-expo), background-color .2s var(--ease);
}
.to-top .ic { transform: rotate(180deg); width: 1.1rem; height: 1.1rem; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .to-top { display: none; } }

/* --- Consent-Banner ----------------------------------------------
   „Alle ablehnen“ und „Alle akzeptieren“: identische Knöpfe, gleiche
   Größe, gleiche Farbe, gleiche Position im Raster. Nichts vorausgewählt. */
.cc {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 1000;
	padding: 16px;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.cc[hidden] { display: none !important; }
.cc__panel {
	pointer-events: auto;
	width: 100%;
	max-width: 46rem;
	background: var(--paper);
	color: var(--ink);
	border-radius: var(--r);
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(17, 17, 17, .06);
	padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
	transform: translateY(1.5rem);
	opacity: 0;
	transition: opacity .45s var(--ease), transform .6s var(--ease-expo);
	max-height: calc(100svh - 32px);
	overflow-y: auto;
}
.cc.is-in .cc__panel { opacity: 1; transform: none; }
.cc__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.cc__head .ic { width: 1.3rem; height: 1.3rem; color: var(--sand-deep); }
.cc__head h2 { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.cc__text { font-size: .875rem; line-height: 1.6; color: var(--mute); }
.cc__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.4rem; }
.cc__actions .btn { width: 100%; }
.cc .btn--ghost { --btn-bd: var(--ink); }
.cc .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
@media (max-width: 560px) { .cc__actions { grid-template-columns: 1fr; } }
.cc__secondary { margin-top: .6rem; display: flex; justify-content: center; }
.cc__link { padding: .5rem 0; font-size: .8125rem; font-weight: 500; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.cc__link:hover { color: var(--ink); }
.cc__details { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.cc__details[hidden] { display: none; }
.cc__group {
	padding: 1rem 1.15rem;
	border-radius: var(--r-s);
	background: var(--soft);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .55rem 1.25rem;
	align-items: center;
}
.cc__group h3 { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.cc__group p { grid-column: 1 / -1; font-size: .8125rem; line-height: 1.6; color: var(--mute); }
.cc__group dl { grid-column: 1 / -1; display: grid; grid-template-columns: 9rem 1fr; gap: .3rem 1rem; font-size: .78rem; color: var(--mute); border-top: 1px dashed var(--line); padding-top: .7rem; }
.cc__group dt { font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .cc__group dl { grid-template-columns: 1fr; gap: .1rem; } .cc__group dt { margin-top: .5rem; } }
.cc__lock { font-size: .75rem; font-weight: 500; color: var(--mute); white-space: nowrap; }

.sw { position: relative; display: inline-flex; align-items: center; }
.sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw span { width: 3rem; height: 1.65rem; border-radius: 1rem; background: #d4d4d4; position: relative; transition: background-color .3s var(--ease); flex: none; }
.sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.65rem - 6px); height: calc(1.65rem - 6px); border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-expo); }
.sw input:checked + span { background: var(--ink); }
.sw input:checked + span::after { transform: translateX(1.35rem); }
.sw input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

/* --- Unterseiten: Seitenkopf als getöntes Paneel ------------------ */
.pagehead { padding-top: 8px; }
.pagehead > .wrap {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 1.5rem + 4vw, 88px) clamp(22px, 1rem + 4vw, 72px);
	border-radius: var(--leaf);
	background: var(--tint);
}
.pagehead > .wrap::after {
	content: "";
	position: absolute;
	right: -3%;
	bottom: -22%;
	width: min(36vw, 380px);
	aspect-ratio: 531 / 360;
	background: url("../img/hed-mark-black.png") no-repeat center / contain;
	opacity: .06;
	pointer-events: none;
}
.pagehead .h1 { position: relative; max-width: 20ch; }
.pagehead p:not(.crumbs) { position: relative; margin-top: 1rem; max-width: 42rem; color: var(--mute); font-size: var(--fs-sub); }
.pagehead p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sand); color: var(--ink); }
.crumbs { position: relative; font-size: var(--fs-cap); color: var(--sand-deep); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pagehead + .section { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

.legal { max-width: 50rem; }
.legal h2 {
	font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
	margin: 3rem 0 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin: 2rem 0 .6rem; letter-spacing: -.015em; }
.legal h4 { font-size: .95rem; font-weight: 600; margin: 1.5rem 0 .4rem; }
.legal p { margin-bottom: 1rem; color: var(--mute); line-height: 1.75; }
.legal a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.legal ul { margin: 0 0 1.25rem; padding-left: 1.25rem; list-style: disc; color: var(--mute); }
.legal ul li { margin-bottom: .45rem; line-height: 1.7; }
.legal ul li::marker { color: var(--sand); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal address { color: var(--mute); line-height: 1.8; margin-bottom: 1rem; }
.dl-legal {
	display: grid;
	grid-template-columns: 15rem 1fr;
	gap: .1rem 1.5rem;
	margin-bottom: 1.5rem;
	padding: 1.5rem 1.75rem;
	border-radius: var(--r-m);
	background: var(--soft);
}
.dl-legal dt { font-weight: 600; padding-block: .55rem; }
.dl-legal dd { color: var(--mute); padding-block: .55rem; }
@media (max-width: 700px) {
	.dl-legal { grid-template-columns: 1fr; gap: 0; padding: 1.25rem; }
	.dl-legal dt { padding-bottom: 0; }
	.dl-legal dd { padding-top: .15rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
	.dl-legal dd:last-child { border-bottom: 0; }
}
.toc { padding: 1.5rem 1.75rem; margin-bottom: 3rem; border-radius: var(--r-m); background: var(--soft); }
.toc h2 { font-size: var(--fs-cap) !important; color: var(--sand-deep); margin: 0 0 1rem !important; padding: 0 !important; border: 0 !important; letter-spacing: 0; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: .5rem; }
.toc li { counter-increment: toc; }
.toc a { text-decoration: none; font-size: .92rem; display: inline-flex; gap: .75rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--sand-deep); font-variant-numeric: tabular-nums; font-size: .78rem; padding-top: .18em; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tbl-wrap { overflow-x: auto; margin-bottom: 1.5rem; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 34rem; }
.tbl th, .tbl td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--soft); font-weight: 600; font-size: .8rem; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--mute); line-height: 1.6; }
.tbl td:first-child { color: var(--ink); font-weight: 500; }

/* --- Immobilien --------------------------------------------------- */
.immo-filter { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--pill); background: var(--tint-50); margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.immo-filter__btn { min-height: 44px; padding: 0 1.25rem; border-radius: var(--pill); font-size: .9rem; font-weight: 500; color: var(--mute); transition: background-color .2s var(--ease), color .2s var(--ease); }
.immo-filter__btn:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.immo-filter__btn.is-active { background: var(--ink); color: var(--paper); }
.immo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 900px) { .immo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .immo-grid { grid-template-columns: 1fr; } }
.immo-card {
	display: flex;
	flex-direction: column;
	padding: 10px;
	border-radius: calc(var(--r) + 4px);
	background: var(--soft);
	color: inherit;
	transition: background-color .3s var(--ease), transform .5s var(--ease-expo);
}
a.immo-card:hover { background: var(--tint); transform: translateY(-3px); }
.immo-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--tint-50); }
.immo-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
a.immo-card:hover .immo-card__media img { transform: scale(1.04); }
.immo-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sand-deep); opacity: .5; }
.immo-card__ph .ic { width: 3rem; height: 3rem; }
.immo-badge { position: absolute; top: .75rem; font-size: .75rem; font-weight: 600; padding: .35rem .75rem; border-radius: var(--pill); }
.immo-badge--deal { left: .75rem; background: var(--ink); color: var(--paper); }
.immo-badge--status { right: .75rem; background: var(--paper); color: var(--ink); }
.immo-badge--status.is-reserviert { background: #333333; color: var(--paper); }
.immo-badge--status.is-verkauft, .immo-badge--status.is-vermietet { background: var(--tint); color: var(--mute); }
.immo-card__body { padding: 1rem .5rem .4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.immo-card__type { font-size: var(--fs-cap); font-weight: 500; color: var(--sand-deep); }
.immo-card__title { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; }
.immo-card__facts { font-size: .9rem; color: var(--mute); }
.immo-card__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.immo-card__price { font-weight: 600; }
.immo-card__more { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; }
.immo-card__more .ic { width: 1rem; height: 1rem; transition: transform .35s var(--ease-expo); }
a.immo-card:hover .immo-card__more .ic { transform: translateX(3px); }

.immo-single { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
@media (max-width: 900px) { .immo-single { grid-template-columns: 1fr; } }
.immo-single__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--leaf); overflow: hidden; background: var(--tint-50); }
.immo-single__media img { width: 100%; height: 100%; object-fit: cover; }
.immo-single__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sand-deep); opacity: .5; }
.immo-single__ph .ic { width: 4rem; height: 4rem; }
.immo-single__price { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 400; margin-top: .75rem; position: relative; }
.immo-single__facts { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--r); background: var(--soft); display: grid; gap: 1rem; }
.immo-single__facts dl { display: grid; gap: .75rem; }
.immo-single__facts dl > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
.immo-single__facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.immo-single__facts dt { color: var(--mute); font-size: .9rem; }
.immo-single__facts dd { font-weight: 600; font-size: .92rem; text-align: right; }
.immo-single__facts .btn { width: 100%; }
.immo-single__desc { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: 62ch; }

/* Druck */
@media print {
	.hdr, .footer__top, .cc, .to-top, .fcta, .form, .burger, .menu, .marquee { display: none !important; }
	body { color: #000; font-size: 11pt; }
	.pagehead > .wrap { background: none; padding: 0; }
	.legal { max-width: none; }
}
/* =====================================================================
   16  BEWEGUNG
   Aktiv nur, wenn das Inline-Skript im <head> die Klasse .js-anim
   gesetzt hat. Das passiert NICHT bei „Bewegung reduzieren“. Startet
   main.js nicht, macht ein Sicherheitsnetz nach 4 s alles sichtbar
   (html.anim-done). Kein Inhalt hängt von der Animation ab.
   ================================================================== */

/* 1. Einblenden beim Scrollen: sanft von unten, leicht skaliert.
      Geschwister erscheinen versetzt (--d wird von main.js gesetzt). */
.js-anim .rv {
	opacity: 0;
	transform: translate3d(0, 32px, 0) scale(.99);
}
.js-anim .rv.is-in {
	opacity: 1;
	transform: none;
}
.js-anim .rv.is-in:not(.rv-done) {
	transition:
		opacity var(--dur) var(--ease-out) calc(var(--d, 0) * 110ms),
		transform var(--dur) var(--ease-out) calc(var(--d, 0) * 110ms);
}

/* 2. Überschriften: Wörter steigen einzeln aus einer Maske auf. */
.js-anim .split:not(.is-split) { visibility: hidden; }
.js-anim .split .w {
	display: inline-block;
	overflow: clip;
	vertical-align: top;
	padding: .06em 0 .14em;
	margin: -.06em 0 -.14em;
}
.js-anim .split .wi {
	display: inline-block;
	transform: translate3d(0, 112%, 0);
}
.js-anim .split.is-in .wi {
	transform: none;
	transition: transform 1.05s var(--ease-expo) calc(var(--wi, 0) * 34ms + var(--d, 0) * 110ms);
}

/* 3. Bilder: öffnen sich von oben nach unten, das Foto setzt sich. */
.js-anim .rv-media {
	clip-path: inset(0 0 100% 0);
}
.js-anim .rv-media img,
.js-anim .rv-media .ph {
	transform: scale(1.14);
}
.js-anim .rv-media.is-in {
	clip-path: inset(0 0 0 0);
	transition: clip-path 1.3s var(--ease-expo) calc(var(--d, 0) * 120ms);
}
.js-anim .rv-media.is-in img,
.js-anim .rv-media.is-in .ph {
	transform: scale(1);
	transition: transform 1.8s var(--ease-expo) calc(var(--d, 0) * 120ms);
}
.js-anim .obj:hover .rv-media.is-in img { transform: scale(1.045); }

/* 4. Hero: Karte schwebt ein, das Foto setzt sich langsam (Ken Burns). */
.js-anim .hero__card {
	opacity: 0;
	transform: translate3d(0, 36px, 0) scale(.985);
}
.js-anim .hero.is-in .hero__card {
	opacity: 1;
	transform: none;
	transition: opacity 1s var(--ease-out) .1s, transform 1.2s var(--ease-expo) .1s;
}
.js-anim .hero__photo > img, .js-anim .hero__photo > video { --hs: 1.1; }
.js-anim .hero.is-in .hero__photo > img, .js-anim .hero.is-in .hero__photo > video {
	--hs: 1.06;
	transition: transform 2.6s var(--ease-expo);
}
.js-anim .hero.is-in.is-settled .hero__photo > img { transition: none; }
.js-anim .hero.is-in .hero__photo > video { transition: transform 2.6s var(--ease-expo), opacity 1.2s var(--ease); }
.js-anim .hero.is-in.is-settled .hero__photo > video { transition: opacity 1.2s var(--ease); }

/* 5. Zahlen zählen hoch: Breite stabil halten, damit nichts springt. */
[data-count] { font-variant-numeric: tabular-nums; }

/* Sicherheitsnetz, Druck, Barrierefreiheit: alles sofort sichtbar. */
html.anim-done .split { visibility: visible !important; }
html.anim-done .rv,
html.anim-done .hero__card,
html.anim-done .split .wi,
html.anim-done .rv-media,
html.anim-done .rv-media img {
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
}
@media print {
	.rv, .hero__card, .split .wi, .rv-media, .rv-media img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.svc::before { display: none; }
}

/* =====================================================================
   17  ECHTE FOTOS & KUNDENVIDEO (24.10.)
   ================================================================== */

/* „Auf einen Blick“: Foto hinter der dunklen Karte, Text unten */
.stats__feature--photo { justify-content: flex-end; min-height: 420px; isolation: isolate; }
.stats__feature--photo::after { display: none; }
.stats__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 30%;
	z-index: -2;
	transition: transform 1.4s var(--ease-expo);
}
.stats__feature--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0) 25%, rgba(17, 17, 17, .62) 58%, rgba(17, 17, 17, .92) 100%);
}
.stats__feature--photo:hover .stats__photo { transform: scale(1.04); }
.stats__feature--photo .link { margin-top: .5rem; }
.stats__feature--photo p { color: rgba(255, 255, 255, .8); }
@media (max-width: 980px) { .stats__feature--photo { min-height: 380px; } }

/* Kontakt: persönlicher Ansprechpartner mit Foto */
.ccall__who { display: flex; align-items: center; gap: .9rem; }
.ccall__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.ccall__who > span { display: grid; gap: .1rem; }
.ccall__who b { color: var(--paper); font-weight: 600; font-size: .95rem; }

/* 02.11.: Kennzahlen mit „+“, CTA statt Signatur im Abschnitt „Über uns“ */
.stat__plus { margin-left: .02em; }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.about__cta .link .ic { width: 1rem; height: 1rem; }
.about__cta .link:hover .ic { transform: none; }
@media (max-width: 520px) { .about__cta .btn { width: 100%; } }

/* 2.0.5: Kundenstimmen (ersetzt „Unser Team“) */
.fb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 1040px; }
.fb--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.fb__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: clamp(22px, 1rem + 1vw, 32px);
	border-radius: var(--r);
	background: var(--soft);
	transition: transform .5s var(--ease-expo);
}
.fb__card:hover { transform: translateY(-3px); }
.fb__card--dark { background: var(--ink); color: var(--paper); }
.fb__mark { width: 28px; height: auto; fill: currentColor; opacity: .16; flex: none; }
.fb__text p {
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 500;
	letter-spacing: -.005em;
	text-wrap: pretty;
}
.fb__text p::before { content: "„"; }
.fb__text p::after { content: "“"; }
.fb__who { display: flex; align-items: center; gap: .9rem; margin-top: auto; font-size: var(--fs-cap); color: var(--mute); }
.fb__who > span:last-child { display: grid; gap: .1rem; min-width: 0; }
.fb__who b { color: var(--ink); font-weight: 600; font-size: .92rem; }
.fb__avatar {
	width: 40px; height: 40px; flex: none;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--ink); color: var(--paper);
	font-weight: 600; font-size: .8rem; letter-spacing: .04em;
}
.fb__card--dark .fb__who { color: var(--mute-dark); }
.fb__card--dark .fb__who b { color: var(--paper); }
.fb__card--dark .fb__avatar { background: var(--paper); color: var(--ink); }
.fb__note { margin-top: 1rem; font-size: .8rem; color: var(--mute); }
@media (max-width: 860px) {
	.fb { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .fb__card, .fb__card:hover { transition: none; transform: none; } }
