/*
Theme Name: FlachDachSolar Child
Theme URI: https://www.flachdach-solar.de
Author: FlachDachSolar
Description: Child theme containing the reusable FlachDachSolar design system.
Template: flachdachsolar
Version: 0.5.0
Text Domain: flachdachsolar-child
*/

:root {
	--fds-blue: #073465;
	--fds-blue-2: #0d4678;
	--fds-blue-deep: #051b32;
	--fds-ink: #0f1a26;
	--fds-muted: #4f5f6c;
	--fds-yellow: #fec531;
	--fds-yellow-deep: #e0a611;
	--fds-paper: #f7f5ef;
	--fds-white: #ffffff;
	--fds-line: rgba(16, 34, 53, 0.14);
	--fds-line-soft: rgba(16, 34, 53, 0.08);
	--fds-shadow-sm: 0 2px 10px rgba(7, 52, 101, 0.06);
	--fds-shadow: 0 18px 60px rgba(7, 52, 101, 0.16);
	--fds-shadow-lift: 0 24px 70px rgba(7, 52, 101, 0.22);
	--fds-radius: 12px;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--fds-ink);
	background: var(--fds-white);
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.admin-bar .fds-site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =================== HEADER =================== */
.fds-site-header {
	position: fixed;
	z-index: 20;
	top: 0; left: 0; right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 86px;
	padding: 14px clamp(76px, 11vw, 196px);
	color: var(--fds-ink);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--fds-line-soft);
	box-shadow: 0 6px 24px rgba(7, 52, 101, 0.06);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	transition: min-height 240ms ease, box-shadow 240ms ease;
}
.fds-site-header.is-scrolled {
	min-height: 72px;
	box-shadow: 0 10px 30px rgba(7, 52, 101, 0.10);
}
.fds-brand { display: inline-flex; align-items: center; min-width: 150px; }
.fds-brand img { width: 168px; max-height: 64px; transition: width 240ms ease; }
.is-scrolled .fds-brand img { width: 148px; }

.fds-nav__menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 17.5px;
	font-weight: 700;
	letter-spacing: -0.005em;
}
.fds-nav a {
	position: relative;
	display: inline-flex;
	padding: 9px 2px;
	color: var(--fds-ink);
	transition: color 220ms ease;
}
.fds-nav a::after {
	content: "";
	position: absolute;
	left: 2px; right: 2px; bottom: 2px;
	height: 2.5px;
	background: var(--fds-yellow);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}
.fds-nav a:hover { color: var(--fds-blue); }
.fds-nav a:hover::after,
.fds-nav .current-menu-item > a::after { transform: scaleX(1); }

.fds-site-main { overflow: hidden; }

/* =================== HERO =================== */
.fds-hero {
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	color: var(--fds-ink);
	isolation: isolate;
}
.fds-hero__media,
.fds-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.fds-hero__media img {
	object-fit: cover;
	animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
	from { transform: scale(1.06); }
	to { transform: scale(1.0); }
}
/* kein Overlay - Bild bleibt unverfaelscht, das Panel traegt die Lesbarkeit */

.fds-hero__content {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: end;
	min-height: inherit;
	padding: 150px clamp(76px, 12vw, 210px) 96px;
}

.fds-hero__panel {
	max-width: 920px;
	padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 46px);
	background: rgba(255, 255, 255, 0.94);
	border-left: 6px solid var(--fds-yellow);
	border-radius: var(--fds-radius);
	box-shadow: 0 30px 90px rgba(7, 52, 101, 0.24);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	opacity: 0;
	transform: translateY(28px);
	animation: heroPanelIn 900ms cubic-bezier(.2,.7,.3,1) 320ms forwards;
}
@keyframes heroPanelIn {
	to { opacity: 1; transform: translateY(0); }
}

.fds-hero__panel .fds-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding: 6px 12px 6px 8px;
	border-radius: 100px;
	background: rgba(254, 197, 49, 0.18);
	color: var(--fds-blue);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.fds-hero__panel .fds-eyebrow::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--fds-yellow);
	box-shadow: 0 0 0 4px rgba(254, 197, 49, 0.35);
}

.fds-hero h1,
.fds-section h2,
.fds-section h3,
.fds-site-footer h2,
.fds-site-footer p { margin-top: 0; }

.fds-hero h1 {
	max-width: 880px;
	margin-bottom: 18px;
	color: var(--fds-blue);
	font-size: clamp(40px, 5.2vw, 68px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.fds-lead {
	max-width: 640px;
	margin-bottom: 30px;
	color: var(--fds-ink);
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.5;
}

.fds-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fds-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 14px 24px;
	border: 1.5px solid transparent;
	border-radius: 100px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: -0.005em;
	line-height: 1;
	transition: transform 220ms cubic-bezier(.2,.7,.3,1), background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.fds-button .arrow { transition: transform 240ms ease; }
.fds-button:hover { transform: translateY(-2px); }
.fds-button:hover .arrow { transform: translateX(4px); }

.fds-button--primary {
	color: var(--fds-blue);
	background: var(--fds-yellow);
	box-shadow: 0 10px 28px rgba(217, 151, 8, 0.30);
}
.fds-button--primary:hover {
	background: var(--fds-yellow-deep);
	color: var(--fds-blue);
	box-shadow: 0 14px 34px rgba(217, 151, 8, 0.42);
}
.fds-button--secondary {
	color: var(--fds-blue);
	border-color: rgba(7, 52, 101, 0.22);
	background: rgba(255, 255, 255, 0.5);
}
.fds-button--secondary:hover {
	background: var(--fds-blue);
	color: var(--fds-white);
	border-color: var(--fds-blue);
}

/* hero scroll indicator (weiss, klickbar) */
.fds-hero__scroll {
	position: absolute;
	z-index: 2;
	bottom: 32px;
	left: clamp(76px, 12vw, 210px);
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 10px 14px 10px 12px;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--fds-white);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
	background: rgba(0, 0, 0, 0);
	border: 1px solid rgba(255, 255, 255, 0);
	cursor: pointer;
	transition: background 240ms ease, border-color 240ms ease, transform 240ms cubic-bezier(.2,.7,.3,1);
}
.fds-hero__scroll:hover {
	transform: translateY(2px);
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(255, 255, 255, 0.20);
}
.fds-hero__scroll-line {
	position: relative;
	width: 56px;
	height: 2px;
	background: rgba(255, 255, 255, 0.42);
	overflow: hidden;
	border-radius: 2px;
}
.fds-hero__scroll-line::after {
	content: "";
	position: absolute;
	left: -50%;
	top: 0; bottom: 0;
	width: 50%;
	background: var(--fds-white);
	animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
	0% { left: -50%; }
	100% { left: 100%; }
}
.fds-hero__scroll-arrow {
	display: inline-flex;
	transform: translateY(1px);
	transition: transform 280ms ease;
}
.fds-hero__scroll:hover .fds-hero__scroll-arrow { transform: translateY(4px); }

/* =================== FLOATING CTA =================== */
.fds-floating-cta {
	position: fixed;
	right: clamp(40px, 6vw, 92px);
	bottom: clamp(16px, 3vw, 34px);
	z-index: 30;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 16px 22px;
	color: var(--fds-blue);
	background: var(--fds-yellow);
	border-radius: 100px;
	box-shadow: 0 18px 44px rgba(217, 151, 8, 0.36), 0 0 0 1px rgba(7, 52, 101, 0.06);
	font-weight: 800;
	letter-spacing: -0.005em;
	transition: transform 240ms cubic-bezier(.2,.7,.3,1), background 220ms ease, color 220ms ease;
}
.fds-floating-cta::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--fds-blue);
	box-shadow: 0 0 0 0 rgba(7, 52, 101, 0.4);
	animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
	0%, 100% { box-shadow: 0 0 0 0 rgba(7, 52, 101, 0.45); }
	50% { box-shadow: 0 0 0 9px rgba(7, 52, 101, 0); }
}
.fds-floating-cta::after { content: ">"; font-weight: 800; font-size: 17px; }
.fds-floating-cta:hover {
	transform: translateY(-3px);
	background: var(--fds-blue);
	color: var(--fds-yellow);
}
.fds-floating-cta:hover::before { background: var(--fds-yellow); }

/* =================== SECTIONS =================== */
.fds-section {
	padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 86px);
	scroll-margin-top: 104px;
}
.fds-section--paper { background: var(--fds-paper); }
.fds-section--cool {
	background:
		radial-gradient(circle at 88% 18%, rgba(254, 197, 49, 0.08), transparent 36%),
		linear-gradient(180deg, #f4f7fb 0%, #ebf1f8 100%);
}
.fds-section--blue {
	color: var(--fds-white);
	background: var(--fds-blue);
}
.fds-section--process {
	position: relative;
	padding-block: clamp(80px, 9vw, 130px);
	color: var(--fds-ink);
	background:
		radial-gradient(circle at 8% 96%, rgba(254, 197, 49, 0.16), transparent 44%),
		radial-gradient(circle at 94% 6%, rgba(7, 52, 101, 0.08), transparent 42%),
		linear-gradient(180deg, #fbfaf5 0%, #f1ede2 100%);
}

.fds-container { max-width: 1240px; margin-inline: auto; }

.fds-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
	gap: clamp(24px, 5vw, 68px);
	align-items: end;
	margin-bottom: clamp(40px, 5.5vw, 72px);
}
.fds-section-head--full { display: block; }
.fds-section-head--full h2 { max-width: none; }

.fds-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	color: var(--fds-yellow-deep);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
}
.fds-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--fds-yellow);
	border-radius: 2px;
}
.fds-section--blue .fds-eyebrow { color: var(--fds-yellow); }

.fds-section h2 {
	margin-bottom: 20px;
	color: var(--fds-blue);
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
}
.fds-section--blue h2 { color: var(--fds-white); }

.fds-section h3 {
	margin-bottom: 10px;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.fds-section-head p {
	color: var(--fds-muted);
	font-size: 17px;
	line-height: 1.6;
}
.fds-section--blue .fds-section-head p { color: rgba(255, 255, 255, 0.85); }

.fds-section p { color: var(--fds-ink); font-size: 16.5px; line-height: 1.6; }
.fds-section--blue p { color: rgba(255, 255, 255, 0.88); }

/* =================== BENEFIT CARDS =================== */
.fds-card-grid,
.fds-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.fds-card {
	position: relative;
	min-height: 290px;
	padding: 32px 28px 28px;
	overflow: hidden;
	background: var(--fds-white);
	border: 1px solid var(--fds-line-soft);
	border-radius: var(--fds-radius);
	box-shadow: 0 10px 28px rgba(7, 52, 101, 0.06);
	transition: transform 360ms cubic-bezier(.2,.7,.3,1), box-shadow 360ms ease, border-color 360ms ease;
}
.fds-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--fds-yellow) 0%, var(--fds-yellow-deep) 100%);
	transform: scaleX(0.18);
	transform-origin: left;
	transition: transform 420ms cubic-bezier(.2,.7,.3,1);
}
.fds-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 28px 60px rgba(7, 52, 101, 0.14);
	border-color: transparent;
}
.fds-card:hover::before { transform: scaleX(1); }

.fds-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	height: 42px;
	padding: 0 14px;
	margin-bottom: 36px;
	color: var(--fds-blue);
	background: var(--fds-yellow);
	border-radius: 100px;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.02em;
	box-shadow: 0 6px 16px rgba(217, 151, 8, 0.28);
}
.fds-card h3 { color: var(--fds-ink); }
.fds-card p,
.fds-section p,
.fds-process__step p {
	color: var(--fds-muted);
	font-size: 15.5px;
	line-height: 1.55;
}

/* =================== SERVICE TEASERS =================== */
.fds-service-teasers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.fds-service-teaser {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 390px;
	overflow: hidden;
	background: var(--fds-white);
	border: 1px solid var(--fds-line-soft);
	border-radius: var(--fds-radius);
	box-shadow: 0 12px 34px rgba(7, 52, 101, 0.08);
	transition: transform 340ms cubic-bezier(.2,.7,.3,1), box-shadow 340ms ease, border-color 340ms ease;
}
.fds-service-teaser::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--fds-yellow) 0%, var(--fds-yellow-deep) 100%);
	transform: scaleX(0.22);
	transform-origin: left;
	transition: transform 360ms cubic-bezier(.2,.7,.3,1);
}
.fds-service-teaser img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 800ms cubic-bezier(.2,.7,.3,1), filter 340ms ease;
}
.fds-service-teaser__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 168px;
	padding: 24px;
}
.fds-service-teaser__body strong {
	color: var(--fds-blue);
	font-size: clamp(20px, 1.8vw, 25px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.025em;
}
.fds-service-teaser__body small {
	color: var(--fds-muted);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.48;
}
.fds-service-teaser__body::after {
	content: "Mehr erfahren";
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--fds-blue);
	font-size: 14px;
	font-weight: 800;
}
.fds-service-teaser:hover {
	transform: translateY(-5px);
	border-color: transparent;
	box-shadow: 0 28px 64px rgba(7, 52, 101, 0.16);
}
.fds-service-teaser:hover::before { transform: scaleX(1); }
.fds-service-teaser:hover img {
	transform: scale(1.05);
	filter: saturate(1.08);
}

/* =================== MEDIA ROW =================== */
.fds-grid,
.fds-media-row {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
	gap: clamp(30px, 6vw, 86px);
	align-items: center;
}
.fds-media-row { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
.fds-media {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: var(--fds-shadow);
}
.fds-media img {
	aspect-ratio: 16 / 11;
	width: 100%;
	object-fit: cover;
	transition: transform 900ms cubic-bezier(.2,.7,.3,1);
}
.fds-media:hover img { transform: scale(1.05); }
.fds-media-row h2 { max-width: 14ch; }

.fds-list {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.fds-list li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 16px;
	background: var(--fds-white);
	border: 1px solid var(--fds-line-soft);
	border-radius: 10px;
	transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.fds-list li:hover {
	transform: translateX(4px);
	border-color: var(--fds-line);
	box-shadow: var(--fds-shadow-sm);
}
.fds-list li::before {
	content: "\2713";
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	color: var(--fds-blue);
	background: var(--fds-yellow);
	border-radius: 50%;
	font-size: 13px;
	font-weight: 900;
}

/* =================== REFERENCES =================== */
.fds-reference-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(160px, 1fr));
	gap: 14px;
	border-radius: 16px;
}
.fds-reference-card {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	border-radius: 14px;
	color: var(--fds-white);
	cursor: pointer;
	isolation: isolate;
}
.fds-reference-card img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	filter: saturate(0.94);
	transition: transform 900ms cubic-bezier(.2,.7,.3,1), filter 500ms ease;
}
.fds-reference-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(5, 27, 50, 0.04) 30%, rgba(5, 27, 50, 0.86));
	transition: background 360ms ease;
}
.fds-reference-card:hover img { transform: scale(1.06); filter: saturate(1.06); }
.fds-reference-card:hover::after { background: linear-gradient(180deg, rgba(5, 27, 50, 0.10) 20%, rgba(7, 52, 101, 0.92)); }

.fds-reference-card span.fds-ref-name {
	position: absolute;
	z-index: 2;
	left: 20px; right: 60px; bottom: 20px;
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.fds-reference-card span.fds-ref-name small {
	display: block;
	margin-top: 4px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}
/* fallback fuer altes Markup ohne fds-ref-name */
.fds-reference-card > span:not(.fds-ref-name) {
	position: absolute;
	z-index: 2;
	left: 20px; right: 20px; bottom: 20px;
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.02em;
}
.fds-ref-arrow {
	position: absolute;
	z-index: 2;
	right: 18px; top: 18px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--fds-yellow);
	box-shadow: 0 0 0 0 rgba(254, 197, 49, 0.55), 0 2px 8px rgba(0, 0, 0, 0.18);
	transform: scale(0);
	opacity: 0;
	transition: transform 320ms cubic-bezier(.2,.7,.3,1), opacity 320ms ease, box-shadow 320ms ease;
}
.fds-ref-arrow svg { display: none; }
.fds-reference-card:hover .fds-ref-arrow {
	transform: scale(1);
	opacity: 1;
	box-shadow: 0 0 0 6px rgba(254, 197, 49, 0.22), 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* =================== PROCESS =================== */
.fds-process,
.fds-faq {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}
.fds-process::before {
	content: "";
	position: absolute;
	top: 56px;
	left: 8%; right: 8%;
	height: 2px;
	background: repeating-linear-gradient(90deg, rgba(7, 52, 101, 0.20) 0 6px, transparent 6px 14px);
	z-index: 0;
}
.fds-process__step {
	position: relative;
	z-index: 1;
	min-height: 260px;
	padding: 30px 26px;
	color: var(--fds-ink);
	background: var(--fds-white);
	border: 1px solid var(--fds-line-soft);
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(7, 52, 101, 0.06);
	transition: transform 320ms cubic-bezier(.2,.7,.3,1), box-shadow 320ms ease, border-color 320ms ease;
}
.fds-process__step:hover {
	transform: translateY(-5px);
	box-shadow: 0 26px 56px rgba(7, 52, 101, 0.12);
	border-color: transparent;
}
.fds-process__step strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 28px;
	color: var(--fds-blue);
	background: var(--fds-yellow);
	border-radius: 50%;
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -0.02em;
	box-shadow: 0 10px 22px rgba(217, 151, 8, 0.30);
}
.fds-process__step h3 {
	color: var(--fds-ink);
	letter-spacing: -0.02em;
}
.fds-process__step p {
	color: var(--fds-muted);
	font-size: 15px;
	line-height: 1.55;
}

.fds-faq-section .fds-section-head {
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
}
.fds-faq-section .fds-eyebrow {
	justify-content: center;
}
.fds-faq-list {
	display: grid;
	gap: 14px;
	max-width: 980px;
	margin-inline: auto;
}
.fds-faq-item {
	overflow: hidden;
	background: var(--fds-white);
	border: 1px solid var(--fds-line-soft);
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(7, 52, 101, 0.06);
}
.fds-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 26px;
	color: var(--fds-ink);
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	cursor: pointer;
	list-style: none;
}
.fds-faq-item summary::-webkit-details-marker {
	display: none;
}
.fds-faq-item summary::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	color: var(--fds-blue);
	background: rgba(254, 197, 49, 0.22);
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	transition: transform 220ms ease, background 220ms ease;
}
.fds-faq-item[open] summary::after {
	content: "-";
	background: var(--fds-yellow);
}
.fds-faq-item p {
	max-width: 860px;
	margin: 0;
	padding: 0 26px 24px;
	color: var(--fds-muted);
	font-size: 16.5px;
	line-height: 1.65;
}
.fds-faq-hero {
	border-bottom: 0;
}
.fds-faq-page {
	padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 86px);
	background: var(--fds-paper);
}
.fds-faq-page__inner {
	max-width: 1320px;
	margin: 0 auto;
}
.fds-faq-intro {
	display: block;
	max-width: 1320px;
	margin-bottom: clamp(32px, 5vw, 64px);
}
.fds-faq-intro h2 {
	max-width: none;
	margin: 0 0 18px;
	color: var(--fds-blue);
	font-size: clamp(34px, 4.6vw, 64px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
}
.fds-faq-intro p:not(.fds-eyebrow) {
	max-width: none;
	margin: 0;
	color: var(--fds-muted);
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.6;
}
.fds-faq-shell {
	display: grid;
	grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.9fr);
	gap: clamp(28px, 5vw, 74px);
	align-items: start;
}
.fds-faq-shell .fds-faq-list {
	max-width: none;
}
.fds-faq-aside {
	position: sticky;
	top: 132px;
	padding: clamp(26px, 3vw, 36px);
	color: var(--fds-white);
	background:
		radial-gradient(circle at 86% 16%, rgba(254, 197, 49, 0.18), transparent 32%),
		linear-gradient(145deg, var(--fds-blue) 0%, var(--fds-blue-deep) 100%);
	border-radius: 18px;
	box-shadow: 0 26px 68px rgba(7, 52, 101, 0.18);
}
.fds-faq-aside .fds-eyebrow,
.fds-faq-aside h2,
.fds-faq-aside p {
	color: var(--fds-white);
}
.fds-faq-aside h2 {
	margin: 14px 0 14px;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.035em;
}
.fds-faq-aside p:not(.fds-eyebrow) {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	line-height: 1.62;
}
.fds-faq-aside .fds-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 20px;
	color: var(--fds-blue);
	background: var(--fds-yellow);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(217, 151, 8, 0.28);
	transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.fds-faq-aside .fds-btn:hover {
	transform: translateY(-2px);
	background: var(--fds-yellow-deep);
	box-shadow: 0 16px 34px rgba(217, 151, 8, 0.36);
}

/* =================== FOOTER =================== */
.fds-site-footer {
	padding: clamp(64px, 8vw, 100px) clamp(20px, 5vw, 64px) 38px;
	color: var(--fds-white);
	background:
		radial-gradient(circle at 82% 18%, rgba(254, 197, 49, 0.12), transparent 30%),
		radial-gradient(circle at 12% 88%, rgba(44, 95, 168, 0.30), transparent 36%),
		linear-gradient(135deg, var(--fds-blue-deep) 0%, #062844 62%, var(--fds-blue) 100%);
}
.fds-site-footer--compact {
	padding-top: 34px;
}
.fds-site-footer--compact .fds-footer__bottom {
	margin-top: 0;
}
.fds-footer__grid {
	display: grid;
	grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 0.95fr);
	gap: clamp(48px, 6vw, 96px);
	align-items: stretch;
	max-width: 1320px;
}
.fds-footer__grid > .fds-footer__left {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.fds-site-footer h2 {
	color: var(--fds-white);
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	margin-bottom: 20px;
}
.fds-site-footer p {
	max-width: 640px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 17.5px;
	line-height: 1.55;
}

.fds-footer__points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	max-width: 700px;
	margin-top: 32px;
}
.fds-footer__points span {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	color: rgba(255, 255, 255, 0.94);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: -0.005em;
	transition: background 240ms ease, border-color 240ms ease;
}
.fds-footer__points span:hover {
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(254, 197, 49, 0.35);
}
.fds-footer__points span::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--fds-yellow);
	flex-shrink: 0;
}

.fds-form-panel {
	width: 100%;
	max-width: none;
	justify-self: stretch;
	padding: clamp(26px, 3vw, 38px);
	color: var(--fds-ink);
	background: var(--fds-white);
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.fds-form-panel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--fds-line-soft);
	margin-bottom: 22px;
}
.fds-form-panel-head h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fds-blue);
}
.fds-form-panel-head small {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	color: var(--fds-muted);
	letter-spacing: -0.005em;
}
.fds-form-panel-head small::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.fds-form-panel .wpforms-container { margin: 0 !important; }
.fds-form-panel .wpforms-field { padding: 0 0 14px !important; }
.fds-form-panel .wpforms-field-label {
	display: block;
	margin: 0 0 7px !important;
	color: var(--fds-ink);
	font-weight: 700;
	font-size: 13.5px !important;
	letter-spacing: -0.005em;
}
.fds-form-panel .wpforms-field-row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px !important;
	max-width: none !important;
	margin: 0 !important;
}
.fds-form-panel .wpforms-field-row::before,
.fds-form-panel .wpforms-field-row::after {
	display: none !important;
	content: none !important;
}
.fds-form-panel .wpforms-field-row .wpforms-field-row-block {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	clear: none !important;
}
.fds-form-panel .wpforms-field-sublabel {
	margin-top: 5px !important;
	color: #5a6570 !important;
	font-size: 12.5px !important;
	line-height: 1.25 !important;
}
.fds-form-panel input,
.fds-form-panel textarea {
	width: 100% !important;
	max-width: none !important;
	font: inherit !important;
	font-size: 15.5px !important;
	padding: 13px 14px !important;
	border: 1.5px solid var(--fds-line) !important;
	border-radius: 10px !important;
	background: var(--fds-white) !important;
	color: var(--fds-ink) !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease !important;
}
.fds-form-panel input { min-height: 46px !important; }
.fds-form-panel textarea { min-height: 120px !important; resize: vertical !important; }
.fds-form-panel input:focus,
.fds-form-panel textarea:focus {
	border-color: var(--fds-blue) !important;
	background: #fcfdff !important;
	box-shadow: 0 0 0 4px rgba(7, 52, 101, 0.10) !important;
}
.fds-form-panel button[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	min-height: 48px !important;
	padding: 13px 24px !important;
	color: var(--fds-blue) !important;
	background: var(--fds-yellow) !important;
	border: 0 !important;
	border-radius: 100px !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	letter-spacing: -0.005em !important;
	box-shadow: 0 10px 24px rgba(217, 151, 8, 0.30) !important;
	transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease !important;
}
.fds-form-panel button[type="submit"]:hover {
	transform: translateY(-2px);
	background: var(--fds-yellow-deep) !important;
	box-shadow: 0 14px 28px rgba(217, 151, 8, 0.42) !important;
}
.fds-form-panel .wpforms-submit-container { margin-top: 4px !important; padding-top: 0 !important; }

.fds-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin-top: clamp(48px, 6vw, 78px);
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
}
.fds-footer__credit {
	justify-self: center;
	text-align: center;
	white-space: nowrap;
}
.fds-footer__links {
	display: flex;
	justify-content: flex-end;
	gap: 18px;
}
.fds-footer__bottom a { transition: color 200ms ease; }
.fds-footer__bottom a:hover { color: var(--fds-yellow); }

/* =================== REVEAL =================== */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 900ms cubic-bezier(.2,.7,.3,1), transform 900ms cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 160ms; }
.reveal[data-d="3"] { transition-delay: 240ms; }
.reveal[data-d="4"] { transition-delay: 320ms; }

/* =================== RESPONSIVE =================== */
/* =================== FOOTER CONTACT MEDIA =================== */
.fds-footer__media {
	position: relative;
	margin-top: 32px;
	margin-bottom: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
	flex: 1 1 300px;
	min-height: clamp(260px, 24vw, 340px);
	display: flex;
}
.fds-footer__media img {
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	transition: transform 1000ms cubic-bezier(.2,.7,.3,1);
}
.fds-footer__media:hover img { transform: scale(1.04); }
.fds-footer__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(5, 27, 50, 0.76));
	pointer-events: none;
}
.fds-footer__media-caption {
	position: absolute;
	z-index: 2;
	left: 22px;
	right: 22px;
	bottom: 20px;
	color: var(--fds-white);
}
.fds-footer__media-caption strong {
	display: block;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.015em;
	margin-bottom: 4px;
}
.fds-footer__media-caption small {
	display: block;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 500;
}

/* =================== LEISTUNGEN PAGE =================== */
.fds-leistungen-hero {
	position: relative;
	padding: clamp(140px, 14vw, 200px) clamp(20px, 6vw, 86px) clamp(48px, 6vw, 88px);
	background:
		radial-gradient(circle at 88% 14%, rgba(254, 197, 49, 0.16), transparent 38%),
		radial-gradient(circle at 6% 92%, rgba(44, 95, 168, 0.12), transparent 38%),
		linear-gradient(180deg, #fbfaf5 0%, #f1ede2 100%);
	border-bottom: 1px solid var(--fds-line-soft);
}
.fds-leistungen-hero-inner {
	max-width: 1240px;
	margin: 0 auto;
}
.fds-leistungen-hero h1 {
	margin: 12px 0 18px;
	color: var(--fds-blue);
	font-size: clamp(40px, 4.8vw, 68px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
	max-width: none;
	white-space: nowrap;
}
.fds-leistungen-hero p {
	max-width: 60ch;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.5;
	color: var(--fds-muted);
}

.fds-leistungen-layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: clamp(56px, 6vw, 88px);
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(60px, 7vw, 100px) clamp(20px, 4vw, 48px) clamp(60px, 7vw, 100px) clamp(20px, 5vw, 64px);
}

.fds-leistungen-nav {
	position: sticky;
	top: 110px;
	align-self: start;
	padding-left: 18px;
	border-left: 2px solid var(--fds-line);
}
.fds-leistungen-nav-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--fds-yellow-deep);
}
.fds-leistungen-nav-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--fds-yellow);
	border-radius: 2px;
}
.fds-leistungen-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}
.fds-leistungen-nav a {
	display: block;
	position: relative;
	padding: 9px 0 9px 16px;
	margin-left: -20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fds-muted);
	border-left: 2px solid transparent;
	transition: color 240ms ease, border-color 240ms ease, padding-left 240ms ease;
}
.fds-leistungen-nav a:hover { color: var(--fds-blue); }
.fds-leistungen-nav a.is-active {
	color: var(--fds-ink);
	font-weight: 800;
	border-left-color: var(--fds-blue);
}

.fds-leistungen-stack {
	display: grid;
	gap: clamp(56px, 7vw, 96px);
}

.fds-leistung {
	scroll-margin-top: 110px;
}
.fds-leistung-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 22px;
	align-items: start;
	margin-bottom: 22px;
}
.fds-leistung-num {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--fds-yellow);
	color: var(--fds-blue);
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.02em;
	box-shadow: 0 10px 22px rgba(217, 151, 8, 0.26);
}
.fds-leistung-icon {
	display: grid;
	place-items: center;
	width: 60px; height: 60px;
	border-radius: 14px;
	background: rgba(254, 197, 49, 0.18);
	color: var(--fds-blue);
	flex-shrink: 0;
}
.fds-leistung-title h2 {
	color: var(--fds-blue);
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	margin: 0 0 10px;
}
.fds-leistung-tagline {
	display: inline-block;
	color: var(--fds-yellow-deep);
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.fds-leistung-body {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.9fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
.fds-leistung-body p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--fds-ink);
	margin: 0 0 14px;
	max-width: 60ch;
}
.fds-leistung-body p:last-child { margin-bottom: 0; }

.fds-leistung-side {
	padding: 24px;
	background: var(--fds-paper);
	border-radius: 14px;
	border: 1px solid var(--fds-line-soft);
}
.fds-leistung-side-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--fds-yellow-deep);
}
.fds-leistung-side-label::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--fds-yellow);
	border-radius: 2px;
}
.fds-leistung-side ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.fds-leistung-side li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	align-items: start;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--fds-ink);
}
.fds-leistung-side li::before {
	content: "";
	width: 6px; height: 6px;
	margin-top: 9px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--fds-yellow);
}

.fds-leistung--accent { padding: clamp(32px, 4vw, 52px); border-radius: 18px; background: var(--fds-paper); }
.fds-leistung--blue {
	padding: clamp(32px, 4vw, 52px);
	border-radius: 18px;
	color: var(--fds-white);
	background:
		radial-gradient(circle at 90% 0%, rgba(254, 197, 49, 0.18), transparent 32%),
		linear-gradient(135deg, var(--fds-blue-deep) 0%, var(--fds-blue) 62%, var(--fds-blue-2) 100%);
}
.fds-leistung--blue .fds-leistung-title h2 { color: var(--fds-white); }
.fds-leistung--blue .fds-leistung-tagline { color: var(--fds-yellow); }
.fds-leistung--blue .fds-leistung-body p { color: rgba(255, 255, 255, 0.90); }
.fds-leistung--blue .fds-leistung-icon {
	background: rgba(254, 197, 49, 0.18);
	color: var(--fds-yellow);
}
.fds-leistung--blue .fds-leistung-side {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
}
.fds-leistung--blue .fds-leistung-side li { color: rgba(255, 255, 255, 0.92); }
.fds-leistung--blue .fds-leistung-side-label { color: var(--fds-yellow); }
.fds-leistung-media {
	margin-top: clamp(24px, 3.2vw, 34px);
}
.fds-leistung-media-trigger {
	display: block;
	width: min(100%, 1040px);
	padding: 14px;
	border: 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	cursor: zoom-in;
	overflow: hidden;
	box-shadow: 0 24px 56px rgba(4, 21, 41, 0.26);
}
.fds-leistung-media-trigger img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.96);
	transition: transform 380ms cubic-bezier(.2,.7,.3,1);
}
.fds-leistung-media-trigger:hover img {
	transform: scale(1.02);
}
.fds-leistung-media-note {
	margin: 10px 0 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.82);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: -0.005em;
	box-shadow: none;
}
.fds-leistung-media-note::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fds-yellow);
}
.fds-lightbox[hidden] {
	display: none !important;
}
.fds-lightbox {
	position: fixed;
	inset: 0;
	z-index: 160;
	display: grid;
	place-items: center;
	padding: 28px;
}
.fds-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 18, 35, 0.82);
	backdrop-filter: blur(4px);
}
.fds-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
	max-width: min(92vw, 1480px);
	max-height: 90vh;
}
.fds-lightbox__dialog img {
	display: block;
	max-width: 100%;
	max-height: calc(90vh - 58px);
	width: auto;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
	background: #fff;
}
.fds-lightbox__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.005em;
	cursor: pointer;
	transition: background 220ms ease, transform 220ms ease;
}
.fds-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}

/* =================== REFERENZEN PAGE =================== */
.fds-referenzen-hero {
	position: relative;
	min-height: clamp(392px, 57svh, 644px);
	padding: 0;
	overflow: hidden;
	background: #dfe7f0;
	isolation: isolate;
}
.fds-referenzen-hero h1 {
	max-width: none;
	margin: 0;
	color: var(--fds-blue);
	font-size: clamp(42px, 4.6vw, 84px);
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -0.035em;
	white-space: nowrap;
}
.fds-referenzen-hero__media {
	position: absolute;
	inset: 0;
	margin: 0;
	overflow: hidden;
}
.fds-referenzen-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fds-referenzen-hero__overlay {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	min-height: inherit;
	pointer-events: none;
}
.fds-referenzen-hero__copy {
	position: relative;
	z-index: 1;
	max-width: 1320px;
	width: 100%;
	margin-inline: auto;
	display: flex;
	justify-content: center;
	padding: 150px clamp(76px, 12vw, 210px) 92px;
}
.fds-referenzen-hero__copy h1 {
	display: inline-block;
	padding: clamp(28px, 3.2vw, 42px) clamp(34px, 3.8vw, 56px) clamp(30px, 3.6vw, 46px);
	border-radius: 24px;
	background: rgba(255, 252, 245, 0.92);
	border-left: 6px solid var(--fds-yellow);
	box-shadow: 0 22px 60px rgba(7, 52, 101, 0.16);
	backdrop-filter: blur(8px);
}
.fds-referenzen-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
	margin-top: 34px;
}
.fds-referenzen-stats span,
.fds-reference-project__facts span {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--fds-line-soft);
	border-radius: 12px;
}
.fds-referenzen-stats strong,
.fds-reference-project__facts strong {
	color: var(--fds-blue);
	font-size: clamp(18px, 1.65vw, 24px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.025em;
	white-space: nowrap;
}
.fds-referenzen-stats small,
.fds-reference-project__facts small {
	color: var(--fds-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fds-referenzen-index {
	position: sticky;
	z-index: 12;
	top: 86px;
	display: flex;
	justify-content: center;
	gap: 10px;
	overflow-x: auto;
	padding: 14px clamp(32px, 8vw, 112px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--fds-line-soft);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.fds-referenzen-index a {
	flex: 0 0 auto;
	padding: 9px 15px;
	color: var(--fds-blue);
	background: var(--fds-white);
	border: 1px solid var(--fds-line);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 800;
	transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.fds-referenzen-index a:hover {
	transform: translateY(-1px);
	background: rgba(254, 197, 49, 0.18);
	border-color: rgba(224, 166, 17, 0.40);
}
.fds-referenzen-list {
	padding: clamp(64px, 8vw, 110px) clamp(32px, 8vw, 112px);
	background: var(--fds-white);
}
.fds-reference-project {
	max-width: 1320px;
	margin: 0 auto clamp(78px, 9vw, 132px);
	scroll-margin-top: 140px;
}
.fds-reference-project:last-child { margin-bottom: 0; }
.fds-reference-project__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(430px, 0.58fr);
	gap: clamp(22px, 4vw, 56px);
	align-items: end;
	margin-bottom: clamp(26px, 4vw, 42px);
}
.fds-reference-project__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	color: var(--fds-blue);
	background: var(--fds-yellow);
	border-radius: 14px;
	font-size: 20px;
	font-weight: 800;
	box-shadow: 0 10px 26px rgba(217, 151, 8, 0.24);
}
.fds-reference-project h2 {
	margin: 0;
	color: var(--fds-blue);
	font-size: clamp(42px, 6vw, 78px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.045em;
}
.fds-reference-project__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.fds-reference-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(190px, 18vw, 260px);
	gap: 14px;
}
.fds-reference-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: var(--fds-paper);
	box-shadow: 0 12px 34px rgba(7, 52, 101, 0.08);
	transition: transform 320ms cubic-bezier(.2,.7,.3,1), box-shadow 320ms ease;
}
.fds-reference-gallery__item--large {
	grid-column: span 2;
	grid-row: span 2;
}
.fds-reference-gallery--two .fds-reference-gallery__item--large {
	grid-column: span 3;
}
.fds-reference-gallery--single {
	grid-template-columns: minmax(0, 1fr);
	grid-auto-rows: clamp(360px, 48vw, 620px);
}
.fds-reference-gallery--single .fds-reference-gallery__item--large {
	grid-column: auto;
	grid-row: auto;
}
.fds-reference-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms cubic-bezier(.2,.7,.3,1), filter 320ms ease;
}
.fds-reference-gallery__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 62px rgba(7, 52, 101, 0.16);
}
.fds-reference-gallery__item:hover img {
	transform: scale(1.045);
	filter: saturate(1.08);
}

.fds-simple-hero {
	padding: clamp(142px, 14vw, 196px) clamp(20px, 6vw, 86px) clamp(56px, 7vw, 92px);
	background:
		radial-gradient(circle at 88% 14%, rgba(254, 197, 49, 0.16), transparent 38%),
		radial-gradient(circle at 6% 92%, rgba(44, 95, 168, 0.12), transparent 38%),
		linear-gradient(180deg, #fbfaf5 0%, #f1ede2 100%);
	border-bottom: 1px solid var(--fds-line-soft);
}
.fds-simple-hero__inner {
	max-width: 1180px;
	margin: 0 auto;
}
.fds-simple-hero h1 {
	max-width: 12ch;
	margin: 12px 0 18px;
	color: var(--fds-blue);
	font-size: clamp(48px, 7vw, 88px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
}
.fds-simple-hero--wide .fds-simple-hero__inner {
	max-width: 1320px;
}
.fds-simple-hero--wide h1 {
	max-width: none;
	font-size: clamp(52px, 6.2vw, 92px);
}
.fds-simple-hero p:not(.fds-eyebrow) {
	max-width: 720px;
	color: var(--fds-muted);
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
}
.fds-legal-section {
	padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 86px);
	background: var(--fds-white);
}
.fds-legal-content {
	max-width: 920px;
	margin: 0 auto;
	color: var(--fds-ink);
}
.fds-legal-content--wide {
	max-width: 1040px;
}
.fds-legal-content h2 {
	margin: 46px 0 14px;
	color: var(--fds-blue);
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}
.fds-legal-content h2:first-child {
	margin-top: 0;
}
.fds-legal-content h3 {
	margin: 28px 0 8px;
	color: var(--fds-ink);
	font-size: 20px;
	line-height: 1.25;
}
.fds-legal-content p {
	margin: 0 0 16px;
	color: var(--fds-muted);
	font-size: 17px;
	line-height: 1.7;
}
.fds-legal-content a {
	color: var(--fds-blue);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.fds-legal-content ul {
	margin: 0 0 20px 1.1em;
	color: var(--fds-muted);
	font-size: 17px;
	line-height: 1.7;
}
.fds-contact-hero {
	padding: clamp(142px, 14vw, 196px) clamp(20px, 6vw, 86px) clamp(56px, 7vw, 92px);
	background:
		linear-gradient(90deg, rgba(7, 52, 101, 0.92) 0%, rgba(7, 52, 101, 0.78) 46%, rgba(7, 52, 101, 0.58) 100%),
		url('/wp-content/uploads/2026/05/startseite-hero-solardach-01.jpg.jpg') center / cover;
	color: var(--fds-white);
}
.fds-contact-hero__inner {
	max-width: 1320px;
	margin: 0 auto;
}
.fds-contact-hero .fds-eyebrow,
.fds-contact-hero h1,
.fds-contact-hero p {
	color: var(--fds-white);
}
.fds-contact-hero h1 {
	max-width: none;
	margin: 12px 0 18px;
	font-size: clamp(52px, 7vw, 92px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
}
.fds-contact-hero p:not(.fds-eyebrow) {
	max-width: 1120px;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
}
.fds-contact-section {
	padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 86px);
	background: var(--fds-paper);
}
.fds-contact-layout {
	display: grid;
	grid-template-columns: minmax(560px, 0.95fr) minmax(520px, 0.85fr);
	gap: clamp(34px, 5vw, 76px);
	align-items: start;
	max-width: 1320px;
	margin: 0 auto;
}
.fds-contact-info {
	display: grid;
	gap: 24px;
}
.fds-contact-heading {
	position: relative;
}
.fds-contact-heading .fds-eyebrow {
	position: absolute;
	left: 0;
	top: -34px;
	margin: 0;
}
.fds-contact-info h2 {
	margin: 0;
	color: var(--fds-blue);
	font-size: clamp(34px, 3.4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	white-space: nowrap;
}
.fds-contact-info p,
.fds-contact-info address {
	margin: 0;
	color: var(--fds-muted);
	font-size: 17px;
	line-height: 1.65;
	font-style: normal;
}
.fds-contact-methods {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.fds-contact-methods a,
.fds-contact-methods span {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 18px;
	color: var(--fds-ink);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--fds-line-soft);
	border-radius: 12px;
	font-weight: 800;
}
.fds-contact-methods strong {
	text-align: right;
	line-height: 1.35;
}
.fds-contact-methods small {
	color: var(--fds-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.fds-contact-map {
	position: relative;
	overflow: hidden;
	min-height: 360px;
	padding: 28px;
	background:
		linear-gradient(42deg, transparent 48%, rgba(254, 197, 49, 0.46) 49%, rgba(254, 197, 49, 0.46) 51%, transparent 52%),
		linear-gradient(138deg, transparent 45%, rgba(7, 52, 101, 0.18) 46%, rgba(7, 52, 101, 0.18) 48%, transparent 49%),
		linear-gradient(90deg, rgba(7, 52, 101, 0.08) 1px, transparent 1px),
		linear-gradient(0deg, rgba(7, 52, 101, 0.08) 1px, transparent 1px),
		#f7f3e8;
	background-size: auto, auto, 42px 42px, 42px 42px, auto;
	border: 1px solid var(--fds-line-soft);
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(7, 52, 101, 0.10);
}
.fds-contact-map__marker {
	position: absolute;
	left: 52%;
	top: 46%;
	width: 26px;
	height: 26px;
	background: var(--fds-yellow);
	border: 5px solid var(--fds-blue);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 14px 34px rgba(7, 52, 101, 0.24);
}
.fds-contact-map__label {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--fds-line-soft);
	border-radius: 14px;
}
.fds-contact-map__label strong {
	display: block;
	color: var(--fds-blue);
	font-size: 20px;
}
.fds-contact-map__label small {
	display: block;
	margin-top: 4px;
	color: var(--fds-muted);
	font-size: 14px;
}
.fds-contact-map__label a {
	display: inline-flex;
	margin-top: 14px;
	color: var(--fds-blue);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.fds-contact-form-card {
	position: sticky;
	top: 128px;
	align-self: start;
	margin-top: 0;
	width: 100%;
	max-width: none;
}

@media (max-width: 980px) {
	body.admin-bar .fds-site-header { top: 46px; }
	.fds-site-header { align-items: flex-start; min-height: 78px; padding: 14px 20px; }
	.fds-nav__menu {
		gap: 12px;
		max-width: 62vw;
		overflow-x: auto;
		padding-bottom: 6px;
		font-size: 14px;
	}
	.fds-section-head,
	.fds-grid,
	.fds-media-row,
	.fds-footer__grid,
	.fds-contact-layout,
	.fds-faq-intro,
	.fds-faq-shell { grid-template-columns: 1fr; }
	.fds-card-grid,
	.fds-benefits,
	.fds-service-teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fds-reference-grid,
	.fds-process,
	.fds-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fds-process::before { display: none; }
	.fds-leistungen-layout { grid-template-columns: 1fr; }
	.fds-leistungen-nav {
		position: static;
		border-left: 0;
		padding-left: 0;
		padding-bottom: 8px;
	}
	.fds-leistungen-nav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.fds-leistungen-nav a {
		padding: 8px 14px;
		margin-left: 0;
		border: 1px solid var(--fds-line);
		border-radius: 100px;
		background: #fff;
	}
	.fds-leistungen-nav a.is-active {
		background: var(--fds-blue);
		color: #fff;
		border-color: var(--fds-blue);
	}
	.fds-leistung-body { grid-template-columns: 1fr; }
	.fds-leistungen-hero h1 { white-space: normal; }
	.fds-reference-project__head { grid-template-columns: 1fr; }
	.fds-referenzen-index { top: 78px; justify-content: flex-start; }
	.fds-contact-form-card { position: static; }
	.fds-faq-aside { position: static; }
	.fds-reference-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
	.fds-reference-gallery__item--large,
	.fds-reference-gallery--two .fds-reference-gallery__item--large { grid-column: span 2; }
}
@media (max-width: 640px) {
	.fds-site-header { display: grid; position: fixed; }
	body.admin-bar .fds-site-header { top: 0; }
	.fds-brand img { width: 126px; }
	.fds-nav__menu { max-width: 100%; width: 100%; }
	.fds-hero__content { padding-inline: 20px; padding-bottom: 90px; }
	.fds-hero h1 { font-size: 40px; }
	.fds-card-grid,
	.fds-benefits,
	.fds-service-teasers,
	.fds-reference-grid,
	.fds-process,
	.fds-faq { grid-template-columns: 1fr; }
	.fds-footer__points,
	.fds-form-panel .wpforms-field-row { grid-template-columns: 1fr; }
	.fds-floating-cta { left: 16px; right: 16px; justify-content: center; }
	.fds-footer__bottom {
		grid-template-columns: 1fr;
		justify-items: flex-start;
		padding-bottom: 70px;
	}
	.fds-footer__credit { justify-self: flex-start; text-align: left; }
	.fds-footer__links { justify-content: flex-start; }
	.fds-referenzen-hero,
	.fds-referenzen-list,
	.fds-contact-hero,
	.fds-contact-section { padding-inline: 20px; }
	.fds-referenzen-hero {
		min-height: 378px;
		padding-inline: 0;
	}
	.fds-referenzen-hero__media {
		height: 100%;
	}
	.fds-referenzen-hero h1 {
		max-width: 9ch;
		font-size: clamp(42px, 11vw, 58px);
		white-space: normal;
	}
	.fds-referenzen-hero__copy {
		display: block;
		padding: 118px 20px 32px;
	}
	.fds-referenzen-hero__copy h1 {
		padding: 22px 22px 24px;
		border-radius: 18px;
	}
	.fds-contact-info h2 { white-space: normal; }
	.fds-faq-page { padding-inline: 20px; }
	.fds-simple-hero--wide h1 { font-size: 46px; }
	.fds-referenzen-stats,
	.fds-reference-project__facts,
	.fds-reference-gallery { grid-template-columns: 1fr; }
	.fds-lightbox {
		padding: 16px;
	}
	.fds-lightbox__dialog {
		width: 100%;
	}
	.fds-lightbox__dialog img {
		max-height: calc(88vh - 54px);
	}
	.fds-reference-gallery,
	.fds-reference-gallery--single { grid-auto-rows: 260px; }
	.fds-reference-gallery__item--large,
	.fds-reference-gallery--two .fds-reference-gallery__item--large { grid-column: auto; grid-row: auto; }
	.fds-referenzen-index { top: 118px; padding-inline: 20px; }
}
