/* ==========================================================================
   FOPAX Immobilien. Gestaltung nach der bisherigen fopax.de (gemessen am 21.10.2026),
   modernisiert am 21.10.2026: Deckblatt, das beim Scrollen wegkippt, Blatt mit runden Ecken,
   Wörter und Bilder decken sich auf, Kennzahlen, Laufband, mitlaufender Anfrage-Knopf.

   Schriften: Lato 300/700 für Text und Überschriften, Times-Serife (Tinos) im Deckblatt,
   Helvetica für Menü und Knöpfe (so sehen Besucher die bisherige Seite; Josefin Sans lud dort nie).
   ========================================================================== */

:root {
	--fx-text: #000;
	--fx-dunkel: #414347;
	--fx-tief: #1d1e20;
	--fx-blau: #6fc4e9;
	--fx-blau-dunkel: #1f6f96;
	--fx-grau: #f3f3f2;
	--fx-linie: #e3e3e3;
	--fx-weiss: #fff;
	--fx-leiste-bg: #f1f1f1;
	--fx-flaeche: #d7f3ff;
	--fx-leiste: #b5e6fa;
	--fx-schrift: #4fa9d1;
	--fx-seitenleiste: 90px;
	--fx-kopf-handy: 64px;
	--fx-rahmen: 1035px;
	--fx-rand: clamp(20px, 5vw, 48px);
	--fx-abstand: clamp(90px, 12vw, 170px);
	--fx-versatz: 33px;
	--fx-rund: clamp(22px, 3vw, 44px);
	--fx-weich: cubic-bezier(.2, .7, .2, 1);
	--fx-lato: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	--fx-serif: 'Tinos', 'Times New Roman', Times, serif;
	--fx-knopf: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; overflow-x: clip; }
body {
	margin: 0; background: var(--fx-weiss); color: var(--fx-text); overflow-x: clip;
	font-family: var(--fx-lato); font-size: 16px; font-weight: 300; line-height: 26px; letter-spacing: .05em;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fx-blau-dunkel); }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 { color: var(--fx-dunkel); font-weight: 700; text-transform: uppercase; margin: 0; }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fx-blau); outline-offset: 3px; }
::selection { background: var(--fx-flaeche); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fx-sprung { position: absolute; left: -9999px; top: 8px; z-index: 300; background: #000; color: #fff; padding: 10px 16px; }
.fx-sprung:focus { left: 8px; }

.fx-haupt { margin-left: var(--fx-seitenleiste); min-height: 60vh; }
.fx-rahmen { width: min(var(--fx-rahmen), 100% - 2 * var(--fx-rand)); margin-inline: auto; }
.fx-rahmen--schmal { width: min(890px, 100% - 2 * var(--fx-rand)); }
.fx-rahmen--lesen { width: min(760px, 100% - 2 * var(--fx-rand)); }
.fx-mitte { text-align: center; }
.fx-knoepfe { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Lesefortschritt ---------- */
.fx-fortschritt {
	position: fixed; z-index: 240; left: 0; right: 0; top: 0; height: 2px; background: var(--fx-blau);
	transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ---------- Seitenleiste (groß) und Kopfzeile (Handy) ---------- */
.fx-kopf {
	position: fixed; z-index: 220; left: 0; top: 0; bottom: 0; width: var(--fx-seitenleiste);
	background: #f8f8f8; display: flex; flex-direction: column; align-items: center;
}
.fx-menueknopf { margin-top: 20px; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.fx-menueknopf__linien, .fx-menueknopf__linien::before, .fx-menueknopf__linien::after {
	display: block; height: 2px; background: var(--fx-dunkel); border-radius: 1px; transition: transform .35s var(--fx-weich), width .35s var(--fx-weich), background .2s;
}
.fx-menueknopf__linien { position: relative; width: 22px; }
.fx-menueknopf__linien span { display: none; }
.fx-menueknopf__linien::before, .fx-menueknopf__linien::after { content: ''; position: absolute; right: 0; }
.fx-menueknopf__linien::before { width: 22px; top: -7px; }
.fx-menueknopf__linien::after { width: 14px; top: 7px; }
.fx-menueknopf:hover .fx-menueknopf__linien::after { width: 22px; }
.fx-menueknopf[aria-expanded="true"] .fx-menueknopf__linien { background: transparent; }
.fx-menueknopf[aria-expanded="true"] .fx-menueknopf__linien::before { transform: translateY(7px) rotate(45deg); }
.fx-menueknopf[aria-expanded="true"] .fx-menueknopf__linien::after { width: 22px; transform: translateY(-7px) rotate(-45deg); }
.fx-logo { margin-top: clamp(120px, 30vh, 290px); width: 54px; }
.fx-logo img { width: 54px; height: auto; }
.fx-kopf__tel { display: none; }

/* ---------- Menü über die ganze Fläche ---------- */
.fx-menue {
	position: fixed; inset: 0; z-index: 210; background: #fff;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 40px var(--fx-rand) 40px calc(var(--fx-seitenleiste) + var(--fx-rand));
	opacity: 0; transition: opacity .35s ease;
}
.fx-menue.ist-offen { opacity: 1; }
.fx-menue[hidden] { display: none; }
.fx-menue__liste { list-style: none; margin: 0; padding: 0; text-align: center; counter-reset: menue; }
.fx-menue__liste li { margin: 0; counter-increment: menue; }
.fx-menue__liste a {
	position: relative; display: inline-block; padding: 8px 0;
	font-family: var(--fx-knopf); font-weight: 700; font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1.3; letter-spacing: .15em; text-transform: uppercase; color: var(--fx-dunkel); text-decoration: none;
	transform: translateY(18px); opacity: 0; transition: transform .6s var(--fx-weich), opacity .6s ease, color .2s;
}
.fx-menue__liste a::before {
	content: '0' counter(menue); position: absolute; right: calc(100% + 18px); top: 16px;
	font-family: var(--fx-lato); font-size: 12px; letter-spacing: .1em; color: var(--fx-blau); font-weight: 700;
}
.fx-menue.ist-offen .fx-menue__liste a { transform: none; opacity: 1; }
.fx-menue.ist-offen .fx-menue__liste li:nth-child(2) a { transition-delay: .05s; }
.fx-menue.ist-offen .fx-menue__liste li:nth-child(3) a { transition-delay: .1s; }
.fx-menue.ist-offen .fx-menue__liste li:nth-child(4) a { transition-delay: .15s; }
.fx-menue.ist-offen .fx-menue__liste li:nth-child(5) a { transition-delay: .2s; }
.fx-menue.ist-offen .fx-menue__liste li:nth-child(6) a { transition-delay: .25s; }
.fx-menue__liste a:hover, .fx-menue__liste .current-menu-item > a { color: var(--fx-blau); }
.fx-menue__kontakt { margin: 48px 0 0; display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: 15px; }
.fx-menue__kontakt a { text-decoration: none; color: var(--fx-dunkel); }
.fx-menue__kontakt a:hover { color: var(--fx-blau-dunkel); }
body.menue-offen { overflow: hidden; }

/* ---------- Knöpfe mit Pfeil ---------- */
.fx-knopf {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px;
	padding: 12px 28px 11px; border: 1px solid var(--fx-dunkel); background: linear-gradient(var(--fx-dunkel), var(--fx-dunkel)) no-repeat left / 0 100%;
	font-family: var(--fx-knopf); font-weight: 700; font-size: 13px; line-height: 20px; letter-spacing: .14em; text-transform: uppercase;
	color: #000; text-decoration: none; cursor: pointer;
	transition: background-size .45s var(--fx-weich), color .3s, border-color .3s;
}
.fx-knopf:hover, .fx-knopf:focus-visible { background-size: 100% 100%; color: #fff; }
.fx-knopf__pfeil { position: relative; width: 18px; height: 1px; background: currentColor; transition: width .35s var(--fx-weich); flex: none; }
.fx-knopf__pfeil::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.fx-knopf:hover .fx-knopf__pfeil { width: 28px; }
.fx-knopf--hell { border-color: rgba(255,255,255,.85); color: #fff; background-image: linear-gradient(#fff, #fff); font-family: var(--fx-serif); font-weight: 400; font-size: 15px; letter-spacing: .12em; }
.fx-knopf--hell:hover, .fx-knopf--hell:focus-visible { color: #000; }

/* ---------- Deckblatt: über die volle Höhe, kippt beim Scrollen weg ---------- */
.fx-deck {
	--p: 0; position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 540px;
	overflow: hidden; background: #2b2c2e; color: #fff;
	transform-origin: 50% 0; transform: perspective(1600px) rotateX(calc(var(--p) * -7deg)) scale(calc(1 - var(--p) * .07));
	border-radius: 0 0 calc(var(--p) * 40px) calc(var(--p) * 40px); will-change: transform;
}
.fx-deck--hoch { height: 78vh; height: 78svh; }
.fx-deck.ist-weg { visibility: hidden; }
.fx-deck__folie { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.3s ease, visibility 0s 1.3s; }
.fx-deck__folie.ist-aktiv { opacity: 1; visibility: visible; transition: opacity 1.3s ease; }
.fx-deck__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(1 - var(--p) * .5)); }
.fx-deck__folie.ist-aktiv .fx-deck__bild { animation: fx-zoom 10s ease-out both; }
.fx-deck__folie::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(0,0,0,calc(var(--fx-abdunkeln, .3) + .1)), rgba(0,0,0,calc(var(--fx-abdunkeln, .3) * .3)) 75%),
		linear-gradient(0deg, rgba(0,0,0,.35), transparent 45%);
}
.fx-deck__text {
	position: absolute; z-index: 2; left: clamp(20px, 7.6vw, 110px); right: var(--fx-rand); top: 50%;
	transform: translateY(calc(-50% - var(--p) * 60px)); opacity: calc(1 - var(--p) * 1.8);
}
.fx-deck__dach { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 14px; }
.fx-deck__dach::before { content: ''; width: 40px; height: 1px; background: var(--fx-blau); }
.fx-deck__titel {
	margin: 0 0 40px; color: #fff; font-family: var(--fx-serif); font-weight: 700;
	font-size: clamp(36px, 5.6vw, 84px); line-height: .95; letter-spacing: .12em; text-transform: uppercase;
	text-shadow: 0 1px 30px rgba(0,0,0,.2);
}
.fx-deck__titel--projekt { font-size: clamp(34px, 5vw, 74px); }
.fx-deck__titel:has(+ .fx-deck__zeilen) { margin-bottom: 0; }
.fx-deck__zeilen { margin: 0 0 40px; color: #fff; font-family: var(--fx-serif); text-transform: uppercase; text-shadow: 0 1px 20px rgba(0,0,0,.25); }
.fx-deck__zeile { display: block; margin-top: 22px; font-weight: 400; font-size: clamp(13px, 1.4vw, 20px); line-height: 1.6; letter-spacing: .35em; }
.fx-deck__zeile + .fx-deck__zeile { margin-top: 0; }
.fx-deck__satz { max-width: 560px; margin: 28px 0 0; font-size: 15px; line-height: 24px; letter-spacing: .06em; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.fx-deck__folie.ist-aktiv .fx-deck__text > * { animation: fx-hoch 1s var(--fx-weich) both; }
.fx-deck__folie.ist-aktiv .fx-deck__text > :nth-child(2) { animation-delay: .12s; }
.fx-deck__folie.ist-aktiv .fx-deck__text > :nth-child(3) { animation-delay: .26s; }
.fx-deck__folie.ist-aktiv .fx-deck__text > :nth-child(4) { animation-delay: .4s; }
.fx-deck__folie.ist-aktiv .fx-deck__text > :nth-child(5) { animation-delay: .52s; }
.fx-deck__punkte { position: absolute; z-index: 3; right: clamp(20px, 4vw, 48px); bottom: 34px; display: flex; gap: 8px; opacity: calc(1 - var(--p) * 2); }
.fx-deck__punkte button { width: 46px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.fx-deck__punkte span { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.fx-deck__punkte span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.fx-deck__punkte button[aria-current="true"] span::after { animation: fx-folie 7s linear both; }
.fx-deck.ist-pause .fx-deck__punkte button[aria-current="true"] span::after { animation-play-state: paused; }
.fx-deck__weiter {
	position: absolute; z-index: 3; left: 50%; bottom: 20px; width: 44px; height: 60px; margin-left: -22px; opacity: calc(1 - var(--p) * 3);
}
/* Tippfläche 44 x 60, sichtbar bleibt die schmale Maus */
.fx-deck__weiter::before { content: ''; position: absolute; inset: 6px 7px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 999px; }
.fx-deck__weiter span { position: absolute; left: 50%; top: 15px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: fx-maus 1.8s ease-in-out infinite; }
@keyframes fx-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fx-hoch { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fx-folie { to { transform: scaleX(1); } }
@keyframes fx-maus { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Das Blatt gleitet über das Deckblatt */
.fx-blatt { position: relative; z-index: 1; background: #fff; }
.fx-blatt--ueber { margin-top: calc(-1 * var(--fx-rund)); border-radius: var(--fx-rund) var(--fx-rund) 0 0; box-shadow: 0 -30px 60px -34px rgba(0,0,0,.45); }

/* ---------- Abschnitte (Elementor-Container und eigene) ---------- */
.fx-abschnitt { padding: var(--fx-abstand) 0; }
.fx-abschnitt--oben { padding-top: calc(var(--fx-abstand) * .8); }
/* Elementor legt <div class="elementor"> um die Container. Jeder neue Container bekommt so
   automatisch den Abschnittsabstand, fx-voll macht ihn randlos (Bänder, Laufband). */
.fx-abschnitt--grau, .fx-blatt .elementor > .e-con.fx-grau { background: var(--fx-grau); }
.fx-blatt .elementor > .e-con { padding: var(--fx-abstand) var(--fx-rand); }
.fx-blatt .elementor > .e-con.fx-voll { padding: 0; }
.fx-blatt .e-con-inner, .fx-blatt .e-con .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0; }
.fx-blatt .elementor > .e-con.fx-eng { padding-block: calc(var(--fx-abstand) * .55); }
.fx-blatt .elementor > .e-con:first-child:not(.fx-voll) { padding-top: calc(var(--fx-abstand) * .85); }
.fx-blatt .elementor > .e-con.fx-dicht-oben { padding-top: 0; }
.fx-blatt .e-con > .elementor-widget, .fx-blatt .e-con-inner > .elementor-widget { min-width: 0; width: 100%; }
.fx-blatt .e-con { --gap: 0px; --row-gap: 0px; --column-gap: 0px; }

.fx-abschnittskopf { text-align: center; margin-bottom: clamp(44px, 5vw, 64px); }
.fx-abschnittskopf--links { text-align: left; }
.fx-abschnittskopf__text { max-width: 820px; margin: 30px auto 0; }
.fx-abschnittskopf--links .fx-abschnittskopf__text { margin-left: 0; }
.fx-dach {
	margin: 0 0 10px; font-weight: 700; font-size: 15px; line-height: 25px; letter-spacing: .2em;
	text-transform: uppercase; color: var(--fx-blau); display: inline-flex; align-items: center; gap: 14px;
}
.fx-dach::before, .fx-dach::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.fx-abschnittskopf--links .fx-dach::after { display: none; }
.fx-dach a { text-decoration: none; color: inherit; }
.fx-titel { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.22; letter-spacing: .05em; }

/* Wörter steigen gestaffelt auf */
.fx-wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.fx-wort > span { display: inline-block; }
.js [data-fx-woerter]:not(.ist-sichtbar) .fx-wort > span { transform: translateY(105%); }
.js [data-fx-woerter] .fx-wort > span { transition: transform .9s var(--fx-weich); transition-delay: calc(var(--i) * 60ms); }
.js [data-fx-woerter] .fx-dach { transition: opacity .8s ease; }
.js [data-fx-woerter]:not(.ist-sichtbar) .fx-dach { opacity: 0; }

.fx-fliesstext > :last-child { margin-bottom: 0; }
.fx-fliesstext--mitte { text-align: center; }
.fx-fliesstext h2 { font-size: 18px; line-height: 1.35; letter-spacing: .09em; margin: 2.2em 0 .8em; }
.fx-fliesstext h3 { font-size: 15px; line-height: 1.4; letter-spacing: .09em; margin: 1.8em 0 .5em; }
.fx-fliesstext ul { padding-left: 1.2em; margin: 0 0 1.15em; }
.fx-fliesstext li { margin-bottom: .35em; }
.fx-fliesstext .fx-knopf { margin-top: .5em; }
.fx-fliesstext a:not(.fx-knopf) { color: var(--fx-tief); text-decoration: underline; text-underline-offset: .2em; }

/* Elementor-Textelemente im FOPAX-Stil */
.fx-blatt .elementor-widget-text-editor { max-width: 890px; margin-inline: auto; width: 100%; }
.fx-blatt .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.fx-blatt .fx-text-mitte { text-align: center; }
.fx-blatt .elementor-heading-title { text-transform: uppercase; letter-spacing: .05em; }

/* Impressum, Datenschutz */
.fx-abschnitt--recht .fx-fliesstext { font-size: 15px; line-height: 25px; }
.fx-abschnitt--recht .fx-fliesstext h2 { font-size: 17px; }
.fx-abschnitt--recht .fx-fliesstext h3 { font-size: 13px; margin: 1.4em 0 .2em; }
.fx-abschnitt--recht .fx-fliesstext a { word-break: break-word; }

/* ---------- Bildbänder mit Bewegung ---------- */
.fx-band { --y: 0%; position: relative; overflow: hidden; display: grid; place-items: center; margin: 0; }
.fx-band__rahmen { position: absolute; inset: 0; overflow: hidden; }
.fx-band__bild { position: absolute; left: 0; width: 100%; top: -10%; height: 120%; object-fit: cover; transform: translate3d(0, var(--y), 0); will-change: transform; }
.fx-band--dunkel, .fx-band--hell { min-height: 100vh; min-height: 100svh; padding: 80px 0; }
.fx-band--streifen { height: clamp(320px, 78vh, 800px); }
.fx-band__text {
	position: relative; z-index: 1; margin: 0; width: min(1100px, 100% - 2 * var(--fx-rand));
	padding: clamp(26px, 3.8vw, 56px) clamp(20px, 4.4vw, 70px);
	border: 1px solid #fff; text-align: center; text-transform: uppercase;
	font-weight: 500; font-size: clamp(17px, 1.95vw, 28px); line-height: 1.57; letter-spacing: .1em;
}
.fx-band--dunkel .fx-band__text { background: rgba(0,0,0,.5); color: #fff; }
.fx-band--hell .fx-band__text { background: rgba(255,255,255,.94); color: #000; }

/* ---------- Bilder decken sich auf ---------- */
.js [data-fx-aufdecken] img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--fx-weich) .15s, transform .8s ease; }
.js [data-fx-aufdecken].ist-sichtbar img { clip-path: inset(0 0 0 0); }

/* ---------- Projektzeilen ---------- */
.fx-zeilen { width: min(1005px, 100%); margin: 0 auto; }
.fx-zeile {
	display: grid; grid-template-columns: 473fr 437fr; column-gap: clamp(32px, 6.4vw, 72px); align-items: center;
	margin: 0 0 clamp(90px, 10vw, 140px);
}
.fx-zeile:last-child { margin-bottom: clamp(50px, 6vw, 80px); }
.fx-zeile.ist-aus { display: none; }
.fx-zeile--rechts { grid-template-columns: 437fr 473fr; }
.fx-zeile--rechts .fx-zeile__bild { order: 2; }
.fx-zeile__bild { position: relative; display: block; text-decoration: none; }
.fx-zeile--links .fx-zeile__bild { margin: 0 0 var(--fx-versatz) var(--fx-versatz); }
.fx-zeile--rechts .fx-zeile__bild { margin: 0 var(--fx-versatz) var(--fx-versatz) 0; }
.fx-zeile__block { position: absolute; inset: 0; background: var(--fx-flaeche); transition: transform 1.1s var(--fx-weich); }
.fx-zeile--links .ist-sichtbar .fx-zeile__block { transform: translate(calc(-1 * var(--fx-versatz)), var(--fx-versatz)); }
.fx-zeile--rechts .ist-sichtbar .fx-zeile__block { transform: translate(var(--fx-versatz), var(--fx-versatz)); }
html:not(.js) .fx-zeile--links .fx-zeile__block { transform: translate(calc(-1 * var(--fx-versatz)), var(--fx-versatz)); }
html:not(.js) .fx-zeile--rechts .fx-zeile__block { transform: translate(var(--fx-versatz), var(--fx-versatz)); }
.fx-zeile__bild:hover .fx-zeile__block { transform: translate(0, 0) !important; }
.fx-zeile__bild img, .fx-zeile__ohnebild { position: relative; width: 100%; aspect-ratio: 473 / 297; object-fit: cover; }
.fx-zeile__ohnebild {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	background: #fff; border: 1px solid var(--fx-linie); text-align: center; padding: 24px;
}
.fx-zeile__ohnebild-name { font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-dunkel); max-width: 320px; }
.fx-zeile__ohnebild-hinweis { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #6b6d70; }
.fx-zeile__titel { font-size: 19px; line-height: 1.3; letter-spacing: .09em; margin: 0 0 16px; }
.fx-zeile__titel a { text-decoration: none; background: linear-gradient(var(--fx-schrift), var(--fx-schrift)) no-repeat left bottom / 0 1px; transition: background-size .5s var(--fx-weich); }
.fx-zeile__titel a:hover { color: var(--fx-dunkel); background-size: 100% 1px; }
.fx-zeile__text p { font-size: 15px; line-height: 25px; }
.fx-zeile__text .fx-knopf { margin-top: 28px; }

/* Filter der Projektliste */
.fx-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 clamp(60px, 7vw, 90px); }
.fx-filter button {
	border: 1px solid var(--fx-linie); background: #fff; border-radius: 999px; padding: 10px 22px; cursor: pointer;
	font-family: var(--fx-knopf); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-dunkel);
	transition: background .3s, color .3s, border-color .3s;
}
.fx-filter button:hover { border-color: var(--fx-dunkel); }
.fx-filter button[aria-pressed="true"] { background: var(--fx-dunkel); border-color: var(--fx-dunkel); color: #fff; }

/* Statusleiste */
.fx-leiste { margin-top: 26px; }
.fx-leiste__titel {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 10px;
	font-weight: 700; font-size: 14px; line-height: 22px; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-dunkel);
}
.fx-leiste__zahl { font-weight: 700; font-size: 19px; letter-spacing: .02em; white-space: nowrap; }
.fx-leiste__bahn { height: 6px; background: var(--fx-leiste-bg); overflow: hidden; }
.fx-leiste__fuellung { height: 100%; background: var(--fx-leiste); transform-origin: left; transition: transform 1.6s var(--fx-weich); }
.fx-leiste--ohne .fx-leiste__fuellung { background: var(--fx-flaeche); }
.fx-leiste--ohne .fx-leiste__bahn { height: 3px; }
.js .fx-leiste:not(.ist-sichtbar) .fx-leiste__fuellung { transform: scaleX(0); }

/* ---------- Kennzahlen ---------- */
.fx-zahlen { display: grid; grid-template-columns: repeat(var(--fx-spalten, 4), minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.fx-zahl { border-top: 1px solid var(--fx-dunkel); padding-top: 22px; position: relative; min-width: 0; }
.fx-zahl::before { content: ''; position: absolute; left: 0; top: -1px; height: 4px; width: 46px; background: var(--fx-leiste); }
.fx-zahl__wert { margin: 0 0 12px; font-weight: 300; font-size: clamp(38px, 3.8vw, 56px); line-height: 1; letter-spacing: -.01em; color: var(--fx-dunkel); white-space: nowrap; }
.fx-zahl__vor, .fx-zahl__nach { font-size: .34em; font-weight: 700; letter-spacing: .06em; vertical-align: 1.1em; margin: 0 .2em; white-space: nowrap; }
.fx-zahl__vor { margin-left: 0; }
.fx-zahl__text { margin: 0; font-size: 13px; line-height: 20px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--fx-dunkel); overflow-wrap: anywhere; hyphens: auto; }
.js .fx-zahlen .fx-zahl { transition-delay: calc(var(--i) * 120ms); }

/* ---------- Laufband ---------- */
.fx-lauf { overflow: hidden; padding: clamp(26px, 4vw, 50px) 0; border-block: 1px solid var(--fx-linie); user-select: none; }
.fx-lauf__spur { display: flex; width: max-content; align-items: center; animation: fx-lauf var(--fx-dauer, 40s) linear infinite; }
.fx-lauf:hover .fx-lauf__spur { animation-play-state: paused; }
.fx-lauf__wort { font-weight: 700; font-size: clamp(40px, 7vw, 108px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--fx-dunkel); white-space: nowrap; }
.fx-lauf--umriss .fx-lauf__wort { color: transparent; -webkit-text-stroke: 1px var(--fx-dunkel); }
.fx-lauf__punkt { width: clamp(14px, 1.6vw, 24px); height: clamp(14px, 1.6vw, 24px); border-radius: 50%; margin: 0 clamp(26px, 3.6vw, 56px); background: var(--fx-blau); flex: none; }
.fx-lauf__punkt:nth-of-type(5n+2) { background: #f5b2a9; }
.fx-lauf__punkt:nth-of-type(5n+3) { background: #dcd1b4; }
.fx-lauf__punkt:nth-of-type(5n+4) { background: #dccbe4; }
.fx-lauf__punkt:nth-of-type(5n+5) { background: #dce6cb; }
@keyframes fx-lauf { to { transform: translateX(-50%); } }

/* ---------- Leistungen ---------- */
.fx-leistungen { border-top: 1px solid var(--fx-dunkel); }
.fx-leistung {
	--mx: 70%; --my: 50%; position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 16px clamp(24px, 4vw, 60px); padding: clamp(34px, 4vw, 52px) 0; border-bottom: 1px solid var(--fx-linie); text-align: left;
	transition: background .4s;
}
.fx-leistung:hover { background: linear-gradient(90deg, transparent, rgba(215,243,255,.35)); }
.fx-leistung__nr { margin: 0; font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--fx-blau-dunkel); padding-top: 4px; }
.fx-leistung__titel { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.3; letter-spacing: .08em; transition: transform .5s var(--fx-weich); }
.fx-leistung:hover .fx-leistung__titel { transform: translateX(10px); }
.fx-leistung__text { font-size: 15px; line-height: 25px; }
.fx-leistung__text p:last-child { margin-bottom: 0; }
.fx-leistung__text a { color: var(--fx-blau-dunkel); }
.fx-leistung__bild {
	position: absolute; z-index: 2; left: var(--mx); top: var(--my); width: clamp(200px, 22vw, 300px); margin: 0;
	transform: translate(-50%, -50%) scale(.85) rotate(-3deg); opacity: 0; pointer-events: none;
	transition: opacity .35s ease, transform .5s var(--fx-weich); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.fx-leistung__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fx-leistung:hover .fx-leistung__bild { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }

/* ---------- Referenzen ---------- */
.fx-referenzen { margin: 0 auto; text-align: left; border-top: 1px solid var(--fx-dunkel); }
.fx-ref { border-bottom: 1px solid var(--fx-linie); }
.fx-ref__kopf { margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; }
.fx-ref__kopf button {
	width: 100%; display: grid; grid-template-columns: 150px 1fr 24px; gap: 20px; align-items: baseline;
	padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.fx-ref__zeit { font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--fx-blau-dunkel); text-transform: uppercase; }
.fx-ref__titel { font-weight: 700; font-size: 15px; line-height: 23px; letter-spacing: .07em; text-transform: uppercase; color: var(--fx-dunkel); transition: color .25s; }
.fx-ref__zeichen { position: relative; width: 14px; height: 14px; align-self: center; }
.fx-ref__zeichen::before, .fx-ref__zeichen::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--fx-dunkel); transition: transform .3s; }
.fx-ref__zeichen::after { transform: rotate(90deg); }
.fx-ref__kopf button[aria-expanded="true"] .fx-ref__zeichen::after { transform: rotate(0); }
.fx-ref__kopf button:hover .fx-ref__titel { color: var(--fx-blau-dunkel); }
.fx-ref__inhalt { padding: 0 44px 26px 170px; font-size: 15px; line-height: 25px; }
.fx-ref__volumen { font-weight: 700; color: var(--fx-dunkel); letter-spacing: .06em; }

/* ---------- Person ---------- */
.fx-person { display: grid; grid-template-columns: 330fr 614fr; column-gap: clamp(30px, 5vw, 70px); width: min(980px, 100%); margin: 0 auto; }
.fx-person__kopf { grid-column: 1 / -1; text-align: right; margin-bottom: 30px; }
.fx-person__name, .fx-person__rolle { margin: 0; font-weight: 700; font-size: 17px; line-height: 26px; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-dunkel); }
.fx-person__rolle { display: inline-flex; align-items: center; gap: 14px; }
.fx-person__rolle::before { content: ''; width: 46px; height: 1px; background: var(--fx-blau); }
.fx-person__bild { position: relative; margin: 40px 0 var(--fx-versatz) var(--fx-versatz); align-self: start; }
.fx-person__block { position: absolute; inset: 0; background: var(--fx-flaeche); transform: translate(calc(-1 * var(--fx-versatz)), var(--fx-versatz)); }
.fx-person__bild img { position: relative; width: 100%; aspect-ratio: 330 / 511; object-fit: cover; }
.fx-person__stationen { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--fx-linie); }
.fx-person__stationen li { position: relative; margin: 0; padding: 0 0 22px 26px; }
.fx-person__stationen li::before { content: ''; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-blau); }
.fx-person__stationen p { margin: 0; font-size: 14px; line-height: 23px; }
.fx-person__zeit { color: var(--fx-blau-dunkel); font-weight: 700; letter-spacing: .1em; margin-bottom: 2px !important; }
.fx-person__mehr { grid-column: 2; margin: 18px 0 0; }

/* ---------- Kontakt ---------- */
.fx-kontakt { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; width: min(1095px, 100%); margin: 0 auto; }
.fx-adresse { text-align: right; }
.fx-adresse h3 { font-size: 17px; line-height: 26px; letter-spacing: .16em; margin: 0 0 18px; }
.fx-adresse p { font-size: 15px; line-height: 25px; }
.fx-adresse a, .fx-adresse__karte a { color: var(--fx-blau-dunkel); text-decoration: none; }
.fx-adresse a:hover { text-decoration: underline; }
.fx-adresse__karte { text-align: right; font-size: 14px; }

.fx-formular p { margin: 0; }
.fx-formular label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-dunkel); }
.fx-formular input[type="text"], .fx-formular input[type="email"], .fx-formular input[type="tel"], .fx-formular textarea {
	width: 100%; border: 0; border-bottom: 1px solid #c9c9c9; background: transparent; border-radius: 0;
	padding: 8px 0 10px; margin: 0 0 20px; font: 300 16px/24px var(--fx-lato); color: #000; transition: border-color .3s;
}
.fx-formular input:focus, .fx-formular textarea:focus { outline: none; border-bottom-color: var(--fx-blau-dunkel); }
.fx-formular textarea { resize: vertical; min-height: 96px; }
.fx-formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fx-formular__anrede { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fx-formular__anrede label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.fx-formular__falle { position: absolute !important; left: -9999px; }
.fx-formular__pflicht { font-size: 12px; margin-bottom: 14px !important; }
.fx-formular__zustimmung label { font-size: 14px; font-weight: 400; letter-spacing: .03em; text-transform: none; line-height: 22px; display: flex; gap: 10px; align-items: flex-start; }
.fx-formular__zustimmung input { margin-top: 4px; flex: none; }
.fx-formular__zustimmung a { color: var(--fx-blau-dunkel); text-decoration: underline; }
.fx-formular__senden { margin-top: 26px !important; }
.fx-formular__meldung { padding: 0 0 16px; margin-bottom: 18px !important; border-bottom: 1px solid var(--fx-blau); color: var(--fx-dunkel); font-weight: 400; }
.fx-formular__meldung--fehler { border-bottom-color: #c0392b; }

/* ---------- Projektseite ---------- */
.fx-projekt__zurueck { margin: 0 0 50px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fx-projekt__zurueck a { text-decoration: none; color: var(--fx-blau-dunkel); }
.fx-projekt__zurueck a::before { content: '\2190\00a0\00a0'; }
.fx-projekt__unter { margin: 12px 0 0; font-family: var(--fx-serif); font-weight: 400; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .3em; text-transform: uppercase; color: var(--fx-dunkel); }
.fx-zitat { margin: 0 auto 80px; max-width: 800px; text-align: center; }
.fx-zitat__logo { width: 120px; margin: 0 auto 28px; }
.fx-zitat blockquote { margin: 0; }
.fx-zitat blockquote p { font-style: italic; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.65; margin: 0; }
.fx-zitat figcaption { margin-top: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-dunkel); }
.fx-projekt__leistungen { text-align: center; width: min(920px, 100%); margin: 0 auto 90px; }
.fx-projekt__leistungstitel { font-size: 24px; letter-spacing: .09em; line-height: 30px; color: var(--fx-schrift); margin-bottom: 26px; }
.fx-projekt__leistungen > p { font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #000; }
.fx-projekt__leistungen .fx-leiste { margin-top: 44px; text-align: left; }
.fx-projekt__inhalt { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.fx-projekt__inhalt .fx-fliesstext h2:first-child { margin-top: 0; }
.fx-projekt__folgt { font-style: italic; color: var(--fx-dunkel); }
.fx-fakten { border-top: 1px solid var(--fx-dunkel); padding-top: 22px; position: sticky; top: 30px; background: #fff; }
.fx-fakten dl { margin: 0 0 30px; }
.fx-fakten__titel { font-size: 13px; letter-spacing: .16em; margin: 0 0 18px; color: var(--fx-dunkel); }
.fx-fliesstext .fx-projekt__abschnitt { margin-top: 0; }
.fx-fakten dt { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-dunkel); }
.fx-fakten dd { margin: 0 0 16px; font-size: 15px; line-height: 23px; }
.fx-fakten .fx-knopf { width: 100%; }

.fx-galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(var(--fx-rahmen), 100% - 2 * var(--fx-rand)); margin: clamp(70px, 9vw, 110px) auto 0; }
.fx-blatt .elementor-widget-fx-galerie .fx-galerie { margin-top: 0; width: 100%; }
.fx-galerie__bild { display: block; overflow: hidden; background: #f4f4f4; }
.fx-galerie__bild img { width: 100%; height: 100%; aspect-ratio: 584 / 492; object-fit: cover; }
.fx-galerie__bild:hover img { transform: scale(1.03); }
.fx-galerie__bild--breit { grid-column: 1 / -1; }
.fx-galerie__bild--breit img { aspect-ratio: 1184 / 492; }
.fx-galerie__bild--ganz { background: #fff; border: 1px solid var(--fx-linie); }
.fx-galerie__bild--ganz img { object-fit: contain; padding: 12px; }

/* Große Bilder (Visualisierungen, Pläne): volle Breite, eigenes Seitenverhältnis, Unterschrift */
.fx-gross { margin-top: clamp(70px, 9vw, 110px); }
.fx-gross__titel { margin-bottom: 12px; }
.fx-gross__text { max-width: 640px; margin: 0 0 32px; }
.fx-gross__bild { width: min(var(--fx-rahmen), 100% - 2 * var(--fx-rand)); margin: 0 auto 36px; overflow: hidden; }
.fx-gross__bild img { display: block; width: 100%; height: auto; }
.fx-gross__bild figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--fx-dunkel); }

/* Nächstes Projekt: großes Bild, ganzer Bereich ist der Link */
.fx-naechstes { position: relative; display: grid; place-items: center; min-height: clamp(360px, 70vh, 680px); margin-top: clamp(90px, 10vw, 140px); overflow: hidden; color: #fff; text-decoration: none; background: var(--fx-dunkel); }
.fx-naechstes--ohne { background: var(--fx-flaeche); color: var(--fx-dunkel); }
.fx-naechstes__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transform: scale(1.04); transition: transform 1.4s var(--fx-weich), filter .8s; }
.fx-naechstes:hover .fx-naechstes__bild { transform: scale(1); filter: brightness(.45); }
.fx-naechstes:hover { color: #fff; }
.fx-naechstes--ohne:hover { color: var(--fx-dunkel); }
.fx-naechstes__text { position: relative; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 40px var(--fx-rand); }
.fx-naechstes__dach { font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.fx-naechstes__titel { font-family: var(--fx-serif); font-weight: 700; font-size: clamp(32px, 5vw, 72px); line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.fx-naechstes__unter { font-family: var(--fx-serif); font-size: clamp(13px, 1.3vw, 18px); letter-spacing: .3em; text-transform: uppercase; }
.fx-naechstes__pfeil { position: relative; width: 60px; height: 1px; background: currentColor; margin-top: 18px; transition: width .5s var(--fx-weich); }
.fx-naechstes__pfeil::after { content: ''; position: absolute; right: 0; top: -5px; width: 11px; height: 11px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.fx-naechstes:hover .fx-naechstes__pfeil { width: 110px; }

/* ---------- Großansicht ---------- */
.fx-lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(15,15,15,.95); display: grid; place-items: center; }
.fx-lightbox[hidden] { display: none; }
.fx-lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; }
.fx-lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.fx-lightbox figcaption { color: #ddd; font-size: 13px; text-align: center; margin-top: 10px; letter-spacing: .05em; }
.fx-lightbox button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; font-size: 40px; line-height: 1; padding: 14px 18px; }
.fx-lightbox__zu { top: 10px; right: 14px; }
.fx-lightbox__vor { left: 10px; top: 50%; transform: translateY(-50%); font-size: 54px !important; }
.fx-lightbox__nach { right: 10px; top: 50%; transform: translateY(-50%); font-size: 54px !important; }

/* ---------- Mitlaufender Anfrage-Knopf ---------- */
.fx-cta {
	position: fixed; z-index: 205; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
	display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.94);
	box-shadow: 0 18px 40px -18px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.05); backdrop-filter: blur(8px);
	transform: translateY(140%); opacity: 0; transition: transform .6s var(--fx-weich), opacity .4s ease;
}
.fx-cta.ist-da { transform: none; opacity: 1; }
.fx-cta__knopf {
	display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
	font-family: var(--fx-knopf); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
	transition: background .3s, color .3s, transform .3s var(--fx-weich);
}
.fx-cta__knopf--tel { background: transparent; color: var(--fx-dunkel); }
.fx-cta__knopf--tel:hover { background: var(--fx-flaeche); color: var(--fx-dunkel); }
.fx-cta__knopf--anfrage { background: var(--fx-dunkel); color: #fff; }
.fx-cta__knopf--anfrage:hover { background: var(--fx-tief); color: #fff; transform: translateY(-1px); }
.fx-cta__knopf--anfrage::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fx-blau); animation: fx-puls 2.4s ease-out infinite; }
@keyframes fx-puls { 0% { box-shadow: 0 0 0 0 rgba(111,196,233,.7); } 70% { box-shadow: 0 0 0 10px rgba(111,196,233,0); } 100% { box-shadow: 0 0 0 0 rgba(111,196,233,0); } }

/* Formular von rechts */
.fx-panel { position: fixed; inset: 0; z-index: 260; }
.fx-panel[hidden] { display: none; }
.fx-panel__schleier { position: absolute; inset: 0; background: rgba(20,20,22,.45); opacity: 0; transition: opacity .45s ease; }
.fx-panel__flaeche {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; background: #fff;
	padding: clamp(60px, 8vh, 90px) clamp(24px, 4vw, 54px) 40px; transform: translateX(100%); transition: transform .55s var(--fx-weich);
}
.fx-panel.ist-offen .fx-panel__schleier { opacity: 1; }
.fx-panel.ist-offen .fx-panel__flaeche { transform: none; }
.fx-panel__titel { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: .06em; margin: 0 0 18px; font-weight: 700; text-transform: uppercase; color: var(--fx-dunkel); }
.fx-panel__wege { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; margin-bottom: 34px !important; }
.fx-panel__wege a { color: var(--fx-blau-dunkel); text-decoration: none; }
.fx-panel__zu { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.fx-panel__zu span, .fx-panel__zu span::after { position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: var(--fx-dunkel); transform: rotate(45deg); }
.fx-panel__zu span::after { content: ''; left: 0; top: 0; transform: rotate(90deg); }

/* ---------- Fuß ---------- */
.fx-fuss {
	position: relative; z-index: 1; margin-left: var(--fx-seitenleiste); background: #000; color: #fff;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 24px;
	padding: 10px 40px; min-height: 47px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
}
.fx-fuss__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.fx-fuss a { color: #fff; text-decoration: none; }
.fx-fuss a:hover, .fx-fuss .current-menu-item a { color: var(--fx-blau); }
.fx-fuss__firma { margin: 0; font-weight: 400; }

/* ---------- Einblenden ---------- */
.js .fx-einblenden { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1s var(--fx-weich); }
.js .fx-einblenden.ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Elementor-Editor: alles sofort sichtbar, Deckblatt ohne Kippen ---------- */
.elementor-editor-active .fx-einblenden, .elementor-editor-active [data-fx-woerter] .fx-wort > span, .elementor-editor-active [data-fx-woerter] .fx-dach { opacity: 1 !important; transform: none !important; }
.elementor-editor-active [data-fx-aufdecken] img { clip-path: none !important; }
.elementor-editor-active .fx-zeile--links .fx-zeile__block { transform: translate(calc(-1 * var(--fx-versatz)), var(--fx-versatz)); }
.elementor-editor-active .fx-zeile--rechts .fx-zeile__block { transform: translate(var(--fx-versatz), var(--fx-versatz)); }
.elementor-editor-active .fx-deck { position: relative; transform: none; }
.elementor-editor-active .fx-leiste .fx-leiste__fuellung { transform: none !important; }

/* ==========================================================================
   Tablet und Handy
   ========================================================================== */
@media (max-width: 1024px) {
	:root { --fx-versatz: 18px; }
	html { scroll-padding-top: calc(var(--fx-kopf-handy) + 10px); }
	.fx-kopf { bottom: auto; right: 0; width: auto; height: var(--fx-kopf-handy); flex-direction: row; justify-content: center; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
	.fx-menueknopf { position: absolute; left: 10px; top: 10px; margin: 0; }
	.fx-logo { margin: 0; width: auto; }
	.fx-logo img { height: 50px; width: auto; }
	.fx-kopf__tel { display: grid; place-items: center; position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; color: var(--fx-dunkel); }
	.fx-haupt { margin-left: 0; padding-top: var(--fx-kopf-handy); }
	.fx-menue { padding: calc(var(--fx-kopf-handy) + 20px) var(--fx-rand) 40px; }
	.fx-menue__liste a::before { display: none; }
	.fx-deck { top: var(--fx-kopf-handy); height: calc(100svh - var(--fx-kopf-handy)); min-height: 480px; }
	.fx-deck--hoch { height: 62svh; min-height: 400px; }
	.fx-fuss { margin-left: 0; justify-content: center; text-align: center; padding: 16px 20px 90px; }
	.fx-zeile, .fx-zeile--rechts { grid-template-columns: 1fr 1fr; }
	.fx-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Anfrage-Knopf als Leiste am unteren Rand */
	.fx-cta { left: 0; right: 0; bottom: 0; gap: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-radius: 0; background: rgba(255,255,255,.97); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.4); }
	.fx-cta__knopf { flex: 1; justify-content: center; height: 50px; border-radius: 0; }
	.fx-cta__knopf--tel { border: 1px solid var(--fx-dunkel); }
	.fx-cta__knopf--anfrage { margin-left: 8px; }
}

@media (max-width: 760px) {
	body { font-size: 15px; line-height: 25px; }
	.fx-titel br { display: none; }
	.fx-abschnittskopf { margin-bottom: 36px; }
	.fx-dach { font-size: 13px; }
	.fx-dach::before, .fx-dach::after { width: 18px; }
	.fx-deck__text { top: auto; bottom: 90px; transform: translateY(calc(var(--p) * -40px)); }
	.fx-deck__titel { letter-spacing: .07em; margin-bottom: 28px; }
	.fx-deck__zeilen { margin-bottom: 28px; }
	.fx-deck__zeile { letter-spacing: .14em; font-size: 12px; line-height: 1.75; }
	.fx-deck__satz { font-size: 14px; line-height: 22px; margin-top: 18px; }
	.fx-deck__punkte { left: 20px; right: auto; bottom: 34px; }
	.fx-deck__punkte button { width: 34px; }
	.fx-deck__weiter { display: none; }
	.fx-band--dunkel, .fx-band--hell { min-height: 82svh; }
	.fx-band__text { letter-spacing: .05em; font-size: 15px; line-height: 1.6; width: calc(100% - 48px); padding: 22px 18px; }
	.fx-band--hell .fx-band__text { background: rgba(255,255,255,.9); }
	.fx-zeile, .fx-zeile--rechts { grid-template-columns: 1fr; row-gap: 40px; }
	.fx-zeile--rechts .fx-zeile__bild { order: 0; }
	.fx-zahlen { gap: 34px 20px; }
	.fx-zahl { min-width: 0; }
	.fx-zahl__wert { font-size: clamp(32px, 10vw, 44px); white-space: normal; }
	.fx-zahl__text { font-size: 12px; letter-spacing: .08em; }
	.fx-leistung { grid-template-columns: 1fr; gap: 10px; }
	.fx-leistung__bild { position: static; width: 100%; opacity: 1; transform: none; margin-top: 10px; box-shadow: none; }
	.fx-leistung:hover .fx-leistung__bild { transform: none; }
	.fx-person { grid-template-columns: 1fr; }
	.fx-person__kopf { text-align: left; }
	.fx-person__bild { width: min(300px, 80%); margin-top: 10px; margin-bottom: 50px; }
	.fx-person__mehr { grid-column: 1; }
	.fx-kontakt { grid-template-columns: 1fr; }
	.fx-adresse, .fx-adresse__karte { text-align: left; }
	.fx-formular__reihe { grid-template-columns: 1fr; }
	.fx-ref__kopf button { grid-template-columns: 1fr 20px; gap: 4px 14px; }
	.fx-ref__zeit, .fx-ref__titel { grid-column: 1; }
	.fx-ref__zeichen { grid-column: 2; grid-row: 1 / span 2; }
	.fx-ref__inhalt { padding: 0 0 22px; }
	.fx-projekt__inhalt { grid-template-columns: 1fr; }
	.fx-fakten { position: static; }
	.fx-galerie { grid-template-columns: 1fr; gap: 8px; width: 100%; }
	.fx-galerie__bild--breit img, .fx-galerie__bild img { aspect-ratio: 3 / 2; }
	.fx-galerie__bild--ganz img { aspect-ratio: auto; height: auto; }
	.fx-projekt__leistungstitel { font-size: 20px; }
	.fx-cta__knopf { padding: 0 12px; letter-spacing: .1em; }
}

/* Große Bildschirme: Inhalt wächst mit, statt schmal in viel Weiß zu stehen */
@media (min-width: 1600px) {
	:root { --fx-rahmen: 1240px; --fx-versatz: 40px; }
	body { font-size: 17px; line-height: 29px; }
	.fx-blatt .e-con-boxed > .e-con-inner { max-width: 1240px; }
	.fx-blatt .elementor-widget-text-editor { max-width: 1000px; }
	.fx-zeilen { width: min(1200px, 100%); }
	.fx-zeile__titel { font-size: 21px; }
	.fx-zeile__text p, .fx-leistung__text, .fx-ref__inhalt, .fx-person__stationen p, .fx-adresse p { font-size: 16px; line-height: 27px; }
	.fx-person { width: min(1160px, 100%); }
	.fx-kontakt { width: min(1240px, 100%); }
	.fx-abschnittskopf__text { max-width: 920px; }
	.fx-dach { font-size: 16px; }
	.fx-titel { font-size: clamp(48px, 3vw, 58px); }
	.fx-formular label { font-size: 12px; }
	.fx-fakten dd { font-size: 16px; }
}
@media (min-width: 2200px) {
	:root { --fx-rahmen: 1400px; }
	.fx-blatt .e-con-boxed > .e-con-inner { max-width: 1400px; }
	.fx-zeilen { width: min(1340px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .fx-einblenden, .js [data-fx-woerter] .fx-wort > span { opacity: 1; transform: none; }
	.js [data-fx-aufdecken] img { clip-path: none; }
	.fx-deck { transform: none; position: relative; }
	.fx-lauf__spur { flex-wrap: wrap; width: auto; justify-content: center; }
}

@media print {
	.fx-kopf, .fx-menue, .fx-deck__punkte, .fx-formular, .fx-lightbox, .fx-cta, .fx-panel, .fx-fortschritt { display: none !important; }
	.fx-haupt, .fx-fuss { margin: 0; padding: 0; }
	.fx-deck { position: relative; height: 60vh; }
	.js .fx-einblenden { opacity: 1; transform: none; }
}

/* ---------- Tippflächen mindestens 44 px (Responsive-Prüfung 22.10.2026) ---------- */
.fx-logo { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.fx-adresse__karte a, .fx-projekt__zurueck a, .fx-dach a { display: inline-block; padding: 12px 0; }
.fx-projekt__zurueck { margin-bottom: 38px; }
.fx-zeile__titel a { display: inline; padding: 10px 0; line-height: 1.3; }
.fx-zeile__titel { padding-block: 4px; }
.fx-formular input[type="checkbox"], .fx-formular input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--fx-dunkel); flex: none; }
.fx-formular__anrede label { min-height: 44px; }
.fx-formular__zustimmung label { min-height: 44px; }
.fx-formular__zustimmung input { margin-top: 1px; }
@media (max-width: 1024px) {
	.fx-logo { padding: 0 6px; }
	.fx-zeile__titel a { display: inline-block; padding: 10px 0; }
}

/* Elementor setzt „.elementor img { height: auto }“ und ist damit stärker als einfache Klassen.
   Bänder und Galerie brauchen feste Höhen, deshalb hier mit höherer Gewichtung. */
.fx-band .fx-band__rahmen .fx-band__bild { height: 120%; max-width: none; }
.fx-galerie .fx-galerie__bild img { height: 100%; }
.fx-galerie .fx-galerie__bild--ganz img, .fx-zeile .fx-zeile__bild img { height: auto; }
