/* ===========================================================
   Elektro Jatho – Haupt-Stylesheet
   Apple-artige, ruhige Optik (viel Weißraum, große Typografie,
   dezente Scroll-Animationen) mit Handwerksbetrieb-Inhalten.

   Breakpoints (mobile-first): 480px / 768px / 1024px / 1440px
   =========================================================== */

/* ---------------------------------------------------
   1. Design-Tokens (CSS-Variablen)
--------------------------------------------------- */
:root {
	/* Firmenfarben aus dem Logo (PANTONE 7474 C, im Logo als #007B8D). */
	--brand-color: #007b8d;
	--brand-color-dark: #00606e;
	--brand-color-darker: #003f49;
	--brand-color-tint: #e6f2f4;
	--brand-grey: #828282;

	--color-text: #25292b;
	--color-text-muted: #5f6466;
	--color-bg: #ffffff;
	--color-bg-subtle: #f3f7f8;
	--color-border: #d5dddf;
	--color-error-bg: #fdecea;
	--color-error-text: #86251b;
	--color-success-bg: #eafaf0;
	--color-success-text: #10693f;

	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;

	--container-width: 1200px;
	--section-padding-y: 96px;
	--header-height: 64px;
	--radius-md: 14px;
	--radius-lg: 24px;

	--transition-base: 0.3s ease;
}

/* ---------------------------------------------------
   2. Grundlayout & Typografie
--------------------------------------------------- */
body {
	font-family: var(--font-body);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: 24px;
}

.section {
	padding-block: var(--section-padding-y);
}

.section__title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 2.5rem;
	text-align: center;
}

h1,
h2,
h3 {
	font-weight: 700;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	margin-bottom: 1rem;
}

p {
	color: var(--color-text-muted);
}

a {
	transition: color var(--transition-base);
}

/* Sichtbarer Fokus-Zustand für Barrierefreiheit */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--brand-color);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: 16px;
	background: var(--color-text);
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	z-index: 10000;
	transition: top var(--transition-base);
}

.skip-link:focus {
	top: 16px;
}

/* ---------------------------------------------------
   3. Buttons
--------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	transition: transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

.btn--primary {
	background-color: var(--brand-color);
	color: #fff;
}

.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
	background-color: var(--color-bg-subtle);
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

.btn--secondary:hover {
	background-color: var(--color-border);
}

.btn--large {
	padding: 16px 34px;
	font-size: 1.05rem;
}

/* ---------------------------------------------------
   4. Header / Navigation (sticky)
--------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
	border-bottom-color: var(--color-border);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.site-branding img,
.custom-logo {
	max-height: 40px;
	width: auto;
}

.primary-menu {
	display: flex;
	gap: 32px;
}

.primary-menu a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--color-text);
	position: relative;
	padding-block: 4px;
}

.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: var(--brand-color);
	transition: width var(--transition-base);
}

.primary-menu a:hover::after,
.primary-menu li.current-menu-item a::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
}

.menu-toggle__bar {
	width: 100%;
	height: 2px;
	background: var(--color-text);
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------
   5. Hero
--------------------------------------------------- */
.hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #00343c; /* Fallback solange hero-bg.jpg fehlt */
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 40, 47, 0.7) 0%, rgba(0, 63, 73, 0.45) 50%, rgba(0, 40, 47, 0.75) 100%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	padding-block: 40px;
}

.hero__logo {
	filter: brightness(0) invert(1);
	opacity: 0.9;
	margin-bottom: 0.5rem;
}

.hero__headline {
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	max-width: 16ch;
}

.hero__subline {
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	color: rgba(255, 255, 255, 0.85);
	max-width: 46ch;
	margin-bottom: 1rem;
}

.hero__scroll-hint {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	width: 22px;
	height: 36px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	border-radius: 999px;
}

.hero__scroll-hint::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	background: #fff;
	border-radius: 999px;
	animation: hero-scroll-bounce 1.8s infinite;
}

@keyframes hero-scroll-bounce {
	0%, 100% { transform: translate(-50%, 0); opacity: 1; }
	50% { transform: translate(-50%, 10px); opacity: 0.4; }
}

/* ---------------------------------------------------
   6. Leistungs-Kacheln (Teaser)
--------------------------------------------------- */
.services-teaser__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.service-tile {
	display: block;
	padding: 40px 28px;
	background: var(--color-bg-subtle);
	border-radius: var(--radius-lg);
	transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.service-tile:hover {
	transform: translateY(-6px);
	background: #fff;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-tile__icon {
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	color: var(--brand-color);
}

.service-tile__icon svg {
	width: 100%;
	height: 100%;
}

.service-tile__title {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.service-tile__text {
	font-size: 0.95rem;
	margin: 0;
}

/* ---------------------------------------------------
   7. Vertrauens-/Trust-Section
--------------------------------------------------- */
.trust-section__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

.trust-section__text p {
	margin-bottom: 1.5rem;
}

.trust-list {
	display: grid;
	gap: 0.75rem;
}

.trust-list li {
	position: relative;
	padding-left: 28px;
	color: var(--color-text);
	font-weight: 500;
}

.trust-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--brand-color);
	font-weight: 700;
}

/* ---------------------------------------------------
   8. Kontakt-CTA (kompakt, Startseite)
--------------------------------------------------- */
.contact-cta {
	background: var(--color-bg-subtle);
	border-radius: var(--radius-lg);
	margin-inline: 24px;
}

.contact-cta__inner {
	text-align: center;
	max-width: 640px;
}

.contact-cta__text {
	margin-bottom: 1.5rem;
}

.contact-cta__details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-bottom: 2rem;
}

.contact-cta__item {
	font-weight: 600;
}

/* ---------------------------------------------------
   9. Seiten-Header (Unterseiten)
--------------------------------------------------- */
.page-header {
	padding-block: 72px 40px;
	text-align: center;
	background: var(--color-bg-subtle);
}

.page-header__title {
	font-size: clamp(2rem, 4vw, 3rem);
}

.page-header__subtitle {
	font-size: 1.1rem;
	max-width: 46ch;
	margin-inline: auto;
	margin-top: 0.75rem;
}

/* ---------------------------------------------------
   10. Leistungen – Blöcke
--------------------------------------------------- */
.service-block__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}

.service-block--reverse .service-block__media {
	order: 2;
}

.service-block__badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--brand-color);
	background: var(--color-bg-subtle);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.services-more__card {
	text-align: center;
	background: var(--color-bg-subtle);
	border-radius: var(--radius-lg);
	padding: 56px 32px;
}

.services-more__card p {
	max-width: 50ch;
	margin-inline: auto;
	margin-bottom: 1.5rem;
}

/* ---------------------------------------------------
   11. Bild-Platzhalter
--------------------------------------------------- */
.img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: repeating-linear-gradient(
		45deg,
		#e5e5ea,
		#e5e5ea 12px,
		#efeff2 12px,
		#efeff2 24px
	);
	border-radius: var(--radius-md);
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-weight: 600;
	text-align: center;
	padding: 16px;
}

.img-placeholder--tall {
	aspect-ratio: 3 / 4;
}

/* ---------------------------------------------------
   12. Projekte – Vorher/Nachher
--------------------------------------------------- */
.projects-gallery__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 56px;
}

.project-pair__images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.project-pair__image {
	position: relative;
	margin: 0;
}

.project-pair__image img,
.project-pair__image .img-placeholder {
	width: 100%;
	border-radius: var(--radius-md);
}

.project-pair__label {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 999px;
}

.project-pair__caption {
	margin-top: 16px;
}

.project-pair__title {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
}

.project-pair__description {
	margin: 0;
	font-size: 0.9rem;
}

/* ---------------------------------------------------
   13. Über uns – Intro & Team
--------------------------------------------------- */
.about-intro__inner {
	max-width: 70ch;
	margin-inline: auto;
	text-align: center;
	font-size: 1.15rem;
}

.about-intro__inner p {
	color: var(--color-text);
}

.team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

.team-card {
	text-align: center;
}

.team-card__photo {
	margin-bottom: 1.25rem;
}

.team-card__photo img,
.team-card__photo .img-placeholder {
	border-radius: 999px;
	aspect-ratio: 1 / 1;
	width: 160px;
	height: 160px;
	margin-inline: auto;
	object-fit: cover;
}

.team-card__name {
	font-size: 1.15rem;
	margin-bottom: 0.15rem;
}

.team-card__role {
	color: var(--brand-color);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.team-card__bio {
	font-size: 0.9rem;
}

/* ---------------------------------------------------
   14. Kontaktseite
--------------------------------------------------- */
.contact-page__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

.contact-page__address {
	font-style: normal;
	margin-block: 1rem 1.5rem;
	color: var(--color-text-muted);
}

.contact-page__list {
	display: grid;
	gap: 0.9rem;
	margin-bottom: 1.5rem;
}

.contact-page__list li {
	display: flex;
	gap: 10px;
	align-items: baseline;
}

.contact-page__label {
	font-weight: 600;
	min-width: 120px;
}

.contact-page__map iframe {
	border-radius: var(--radius-md);
	display: block;
}

/* ---------------------------------------------------
   15. Formulare
--------------------------------------------------- */
.form-row {
	margin-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-row label {
	font-weight: 600;
	font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	font-size: 1rem;
	background: #fff;
	color: var(--color-text);
}

.form-row input:focus,
.form-row textarea:focus {
	border-color: var(--brand-color);
}

.form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: 16px 20px;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

.form-notice--success {
	background: var(--color-success-bg);
	color: var(--color-success-text);
}

.form-notice--error {
	background: var(--color-error-bg);
	color: var(--color-error-text);
}

.form-notice--error ul {
	padding-left: 1.2rem;
	list-style: disc;
}

/* ---------------------------------------------------
   16. Rechtstexte (Impressum/Datenschutz)
--------------------------------------------------- */
.legal-page__inner {
	max-width: 76ch;
	margin-inline: auto;
}

.legal-page__inner h2 {
	margin-top: 2rem;
}

.legal-page__inner p {
	color: var(--color-text);
}

.legal-disclaimer {
	background: var(--color-bg-subtle);
	border-left: 4px solid var(--brand-color);
	padding: 14px 18px;
	border-radius: 0 10px 10px 0;
	font-size: 0.9rem;
	margin-bottom: 2rem;
}

/* Deutlich sichtbare TODO-Markierung im Rechtstext, damit offene Punkte
   vor dem Livegang nicht übersehen werden. */
.legal-todo {
	background: transparent;
	color: #c0392b;
	font-weight: 700;
	font-style: italic;
}

/* ---------------------------------------------------
   17. Footer
--------------------------------------------------- */
.site-footer {
	background: var(--brand-color-darker);
	color: #f5f5f7;
	border-top: 6px solid var(--brand-color);
	margin-top: var(--section-padding-y);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding-block: 64px 40px;
}

.site-footer__logo {
	font-weight: 700;
	font-size: 1.15rem;
	margin-bottom: 12px;
}

.site-footer__address a,
.site-footer__links a {
	color: rgba(255, 255, 255, 0.75);
}

.site-footer__address a:hover,
.site-footer__links a:hover {
	color: #fff;
}

.site-footer__heading {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 12px;
}

.site-footer__links {
	display: grid;
	gap: 8px;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-block: 20px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal-links {
	display: flex;
	gap: 20px;
}

.site-footer__legal-links a:hover {
	color: #fff;
}

/* ---------------------------------------------------
   18. Blog-Fallback (index.php)
--------------------------------------------------- */
.post-list {
	display: grid;
	gap: 32px;
}

.post-list__title a:hover {
	color: var(--brand-color);
}

/* ---------------------------------------------------
   19. Scroll-Reveal-Animation
--------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------------------------------------------------
   20. Responsive Breakpoints
--------------------------------------------------- */

/* Tablet und größer (≥768px) */
@media (min-width: 768px) {
	.services-teaser__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.trust-section__inner {
		grid-template-columns: 1fr 1fr;
	}

	.service-block__inner {
		grid-template-columns: 1fr 1fr;
	}

	.projects-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-page__inner {
		grid-template-columns: 1fr 1fr;
	}
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
	.primary-navigation {
		display: block;
	}

	.menu-toggle {
		display: none;
	}

	.team-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Mobil und Tablet (<1024px): Vollbild-Menü unter dem Header.
   Hinweis: Das Menü ist absolut am Header verankert (nicht "fixed"),
   weil der Header einen backdrop-filter nutzt – "fixed" würde sonst
   auf die Header-Höhe zusammengedrückt. */
@media (max-width: 1023px) {
	.menu-toggle {
		display: flex;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: calc(100vh - var(--header-height));
		height: calc(100dvh - var(--header-height));
		display: flex;
		flex-direction: column;
		background: #fff;
		padding: 16px 24px calc(28px + env(safe-area-inset-bottom));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
	}

	.primary-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s;
	}

	.primary-menu {
		flex-direction: column;
		gap: 0;
	}

	.primary-menu > li {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		border-bottom: 1px solid var(--color-border);
		opacity: 0;
		transform: translateY(14px);
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

	.primary-navigation.is-open .primary-menu > li {
		opacity: 1;
		transform: translateY(0);
	}

	.primary-navigation.is-open .primary-menu > li:nth-child(1) { transition-delay: 0.06s; }
	.primary-navigation.is-open .primary-menu > li:nth-child(2) { transition-delay: 0.11s; }
	.primary-navigation.is-open .primary-menu > li:nth-child(3) { transition-delay: 0.16s; }
	.primary-navigation.is-open .primary-menu > li:nth-child(4) { transition-delay: 0.21s; }
	.primary-navigation.is-open .primary-menu > li:nth-child(5) { transition-delay: 0.26s; }
	.primary-navigation.is-open .primary-menu > li:nth-child(n+6) { transition-delay: 0.31s; }

	.primary-menu > li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 64px;
		padding: 14px 4px;
		font-size: clamp(1.45rem, 4.6vw, 1.9rem);
		font-weight: 700;
		letter-spacing: -0.02em;
	}

	/* Statt Unterstreichung: Pfeil rechts als klare Tippfläche. */
	.primary-navigation .primary-menu > li > a::after,
	.primary-navigation .primary-menu > li > a:hover::after,
	.primary-navigation .primary-menu > li.current-menu-item > a::after {
		position: static;
		flex: none;
		width: 11px;
		height: 11px;
		margin-right: 6px;
		background: none;
		border-top: 2px solid var(--brand-color);
		border-right: 2px solid var(--brand-color);
		transform: rotate(45deg);
		transition: transform var(--transition-base);
	}

	.primary-menu > li > a:active::after {
		transform: translateX(4px) rotate(45deg);
	}

	.primary-menu > li.current-menu-item > a,
	.primary-menu > li.current-menu-ancestor > a {
		color: var(--brand-color);
	}

	/* Untermenüs: per Plus-Schalter aufklappbar. */
	.primary-navigation .primary-menu > li.menu-item-has-children > a::after {
		display: none;
	}

	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		border-radius: 999px;
		background: var(--brand-color-tint);
		color: var(--brand-color);
		position: relative;
	}

	.submenu-toggle::before,
	.submenu-toggle::after {
		content: "";
		position: absolute;
		width: 16px;
		height: 2px;
		background: currentColor;
		transition: transform var(--transition-base);
	}

	.submenu-toggle::after {
		transform: rotate(90deg);
	}

	.is-expanded > .submenu-toggle::after {
		transform: rotate(0deg);
	}

	.primary-menu .sub-menu {
		grid-column: 1 / -1;
		display: none;
		padding: 0 0 14px 4px;
	}

	.primary-menu .is-expanded > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		display: block;
		padding: 12px 0 12px 16px;
		border-left: 2px solid var(--brand-color-tint);
		font-size: 1.1rem;
		font-weight: 500;
		color: var(--color-text-muted);
	}

	.primary-menu .sub-menu a::after {
		display: none;
	}

	.primary-menu .sub-menu .current-menu-item > a {
		color: var(--brand-color);
		border-left-color: var(--brand-color);
	}

	/* Kontaktblock am unteren Rand des Menüs. */
	.nav-extra {
		display: grid;
		gap: 12px;
		margin-top: auto;
		padding-top: 32px;
		opacity: 0;
		transition: opacity 0.4s ease 0.3s;
	}

	.primary-navigation.is-open .nav-extra {
		opacity: 1;
	}

	.nav-extra .btn {
		width: 100%;
		min-height: 54px;
	}

	.nav-extra__hours {
		margin: 6px 0 0;
		text-align: center;
		font-size: 0.9rem;
	}
}

/* Tablet (600–1023px): Menü als Seitenpanel rechts, Seite dahinter abgedunkelt. */
@media (min-width: 600px) and (max-width: 1023px) {
	.primary-navigation {
		left: auto;
		width: 420px;
		padding-inline: 32px;
		border-left: 1px solid var(--color-border);
		box-shadow: 0 0 0 100vmax rgba(0, 40, 47, 0.45);
		transform: translateX(24px);
	}

	.primary-navigation.is-open {
		transform: translateX(0);
	}
}

/* Große Screens (≥1440px): etwas mehr Luft */
@media (min-width: 1440px) {
	:root {
		--section-padding-y: 128px;
	}

	.container {
		padding-inline: 32px;
	}
}

/* Kleine Screens (<480px): kompaktere Abstände */
@media (max-width: 480px) {
	:root {
		--section-padding-y: 64px;
	}

	.hero__headline {
		max-width: 100%;
	}

	.project-pair__images {
		grid-template-columns: 1fr;
	}

	.contact-page__label {
		min-width: auto;
	}

	.contact-page__list li {
		flex-direction: column;
		gap: 2px;
	}
}

/* ---------------------------------------------------
   21. Markenfarben-Feinschliff
--------------------------------------------------- */
::selection {
	background: var(--brand-color);
	color: #fff;
}

.section__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 18px auto 0;
	border-radius: 999px;
	background: var(--brand-color);
}

.btn--primary:hover {
	background-color: var(--brand-color-dark);
	box-shadow: 0 10px 24px rgba(0, 96, 110, 0.28);
}

.btn--secondary:hover {
	background-color: var(--brand-color-tint);
	border-color: var(--brand-color);
	color: var(--brand-color-dark);
}

.primary-menu a:hover,
.primary-menu li.current-menu-item > a {
	color: var(--brand-color);
}

.menu-toggle {
	padding: 8px;
	border-radius: 10px;
}

.page-header {
	background: linear-gradient(180deg, var(--brand-color-tint) 0%, var(--color-bg-subtle) 100%);
	border-bottom: 1px solid var(--color-border);
}

.service-tile {
	border: 1px solid transparent;
}

.service-tile:hover {
	border-color: var(--brand-color);
}

.service-block__badge {
	background: var(--brand-color-tint);
	color: var(--brand-color-dark);
}

.contact-cta {
	background: var(--brand-color-tint);
}

.contact-cta__item:hover,
.contact-page a:hover,
.legal-page__inner a {
	color: var(--brand-color);
}

.img-placeholder {
	background: repeating-linear-gradient(
		45deg,
		#dfecee,
		#dfecee 12px,
		#edf4f5 12px,
		#edf4f5 24px
	);
}

.team-card__photo img,
.team-card__photo .img-placeholder {
	border: 4px solid var(--brand-color-tint);
}

.site-footer__heading {
	color: rgba(255, 255, 255, 0.65);
}

/* Geschichte (Über uns) */
.about-history {
	background: var(--color-bg-subtle);
}

.about-history__inner {
	max-width: 70ch;
	margin-inline: auto;
}

.about-history__inner p {
	color: var(--color-text);
	margin-bottom: 1.1rem;
}

/* Kontaktblock und Untermenü-Schalter nur im mobilen Menü sichtbar. */
@media (min-width: 1024px) {
	.nav-extra,
	.submenu-toggle {
		display: none;
	}

	.primary-menu > li {
		position: relative;
	}

	.primary-menu .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: -16px;
		min-width: 220px;
		padding: 10px;
		background: #fff;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-md);
		box-shadow: 0 16px 40px rgba(0, 40, 47, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
	}

	.primary-menu > li:hover > .sub-menu,
	.primary-menu > li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.primary-menu .sub-menu a {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
	}

	.primary-menu .sub-menu a::after {
		display: none;
	}

	.primary-menu .sub-menu a:hover {
		background: var(--brand-color-tint);
	}
}

@media (prefers-reduced-motion: reduce) {
	.primary-navigation,
	.primary-menu > li,
	.nav-extra {
		transition: none;
	}
}

/* ---------------------------------------------------
   22. Hero – neue Startseiten-Bühne mit Scroll-Effekt
--------------------------------------------------- */
.hero {
	position: sticky;
	top: var(--header-height);
	z-index: 0;
	min-height: calc(100vh - var(--header-height));
	min-height: calc(100svh - var(--header-height));
	padding-bottom: 32px;
	--hero-p: 0;
}

.hero__glow {
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(40% 40% at 24% 30%, rgba(0, 170, 190, 0.55), transparent 70%),
		radial-gradient(36% 36% at 78% 66%, rgba(0, 123, 141, 0.65), transparent 70%),
		radial-gradient(28% 28% at 62% 14%, rgba(140, 230, 240, 0.2), transparent 70%);
	filter: blur(24px);
	transform: translateY(calc(var(--hero-p) * 90px)) scale(calc(1 + var(--hero-p) * 0.25));
	animation: hero-drift 18s ease-in-out infinite alternate;
	will-change: transform;
}

.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
	mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
}

@keyframes hero-drift {
	0% { background-position: 0% 0%, 0% 0%, 0% 0%; rotate: 0deg; }
	100% { rotate: 8deg; }
}

.hero__inner {
	gap: 1.5rem;
	opacity: calc(1 - var(--hero-p) * 1.3);
	transform: translateY(calc(var(--hero-p) * -70px)) scale(calc(1 - var(--hero-p) * 0.08));
	will-change: transform, opacity;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero__eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7fe3ee;
	box-shadow: 0 0 0 0 rgba(127, 227, 238, 0.7);
	animation: hero-pulse 2.4s ease-out infinite;
}

@keyframes hero-pulse {
	0% { box-shadow: 0 0 0 0 rgba(127, 227, 238, 0.7); }
	100% { box-shadow: 0 0 0 12px rgba(127, 227, 238, 0); }
}

.hero__headline {
	max-width: none;
	margin: 0;
	font-size: clamp(2.9rem, 10vw, 6.75rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.hero__line {
	display: block;
}

/* Jedes Wort fährt aus einer Maske nach oben ein. */
.hero__word {
	display: inline-block;
	overflow: hidden;
	padding-bottom: 0.14em;
	margin-bottom: -0.14em;
	vertical-align: top;
}

.hero__word > span {
	display: inline-block;
	transform: translateY(115%);
	animation: hero-word 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero__line:nth-child(1) .hero__word:nth-child(1) > span { animation-delay: 0.15s; }
.hero__line:nth-child(1) .hero__word:nth-child(2) > span { animation-delay: 0.25s; }
.hero__line:nth-child(2) .hero__word:nth-child(1) > span { animation-delay: 0.35s; }
.hero__line:nth-child(2) .hero__word:nth-child(2) > span { animation-delay: 0.45s; }

.hero__word--accent > span {
	background: linear-gradient(100deg, #7fe3ee 0%, #ffffff 90%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

@keyframes hero-word {
	to { transform: translateY(0); }
}

.hero__subline {
	max-width: 44ch;
	margin: 0;
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 0.5rem;
}

.btn--light {
	background: #fff;
	color: var(--brand-color-darker);
}

.btn--light:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin-top: 1.25rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
}

.hero__facts li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero__facts li::before {
	content: "";
	width: 14px;
	height: 2px;
	background: #7fe3ee;
}

.hero__eyebrow,
.hero__subline,
.hero__actions,
.hero__facts {
	opacity: 0;
	animation: hero-fade-up 0.8s ease forwards;
}

.hero__eyebrow { animation-delay: 0.05s; }
.hero__subline { animation-delay: 0.7s; }
.hero__actions { animation-delay: 0.85s; }
.hero__facts { animation-delay: 1s; }

@keyframes hero-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.hero__scroll-hint {
	bottom: 56px;
	opacity: calc(1 - var(--hero-p) * 4);
}

/* Inhalt, der sich als "Karte" über den Hero schiebt. */
.home-content {
	position: relative;
	z-index: 1;
	margin-top: -32px;
	background: var(--color-bg);
	border-radius: 32px 32px 0 0;
	box-shadow: 0 -24px 60px rgba(0, 30, 36, 0.35);
	padding-bottom: 1px;
}

#kontakt-cta {
	scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Sehr flache Displays (Handy quer): kein Festhalten, damit nichts abgeschnitten wird. */
@media (max-height: 560px) {
	.hero {
		position: relative;
		top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__glow,
	.hero__eyebrow-dot,
	.hero__word > span,
	.hero__eyebrow,
	.hero__subline,
	.hero__actions,
	.hero__facts {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.hero__inner {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 480px) {
	.hero__eyebrow {
		font-size: 0.68rem;
		letter-spacing: 0.05em;
		white-space: nowrap;
	}

	.hero__scroll-hint {
		display: none;
	}
}

/* Hero-Überschrift: Firmenname mit Farbverlauf, Claim einzeilig in Weiß. */
.hero__headline {
	font-size: clamp(2.5rem, 10vw, 6.75rem);
}

.hero__word--accent-a > span,
.hero__word--accent-b > span {
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hero__word--accent-a > span {
	background-image: linear-gradient(100deg, #6fdde9 0%, #b9f0f5 100%);
}

.hero__word--accent-b > span {
	background-image: linear-gradient(100deg, #b9f0f5 0%, #ffffff 90%);
}

.hero__line--tagline {
	margin-top: 0.35em;
	font-size: clamp(1.4rem, 5.4vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	white-space: nowrap;
	color: #fff;
}

.hero__line:nth-child(2) .hero__word:nth-child(3) > span { animation-delay: 0.55s; }
.hero__line:nth-child(2) .hero__word:nth-child(4) > span { animation-delay: 0.65s; }

/* Hero: zweizeilige Unterzeile (Leitsatz + Leistungsversprechen). */
.hero__subline--lead {
	max-width: none;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 600;
	color: #fff;
}

.hero__subline--second {
	margin-top: -0.75rem;
	animation-delay: 0.8s;
}

.hero__actions {
	animation-delay: 0.95s;
	margin-top: 1rem;
}

/* Kontaktseite: Hinweis zur Erreichbarkeit */
.contact-page__note {
	margin-bottom: 2rem;
	padding: 16px 20px;
	border-left: 4px solid var(--brand-color);
	border-radius: 0 12px 12px 0;
	background: var(--brand-color-tint);
	color: var(--color-text);
	font-size: 0.95rem;
}

/* Kontaktseite: Karte erst nach Klick laden */
.map-consent__box {
	display: grid;
	justify-items: start;
	gap: 14px;
	padding: 28px 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-bg-subtle);
}

.map-consent__box p {
	margin: 0;
	font-size: 0.92rem;
}

.map-consent__box p a,
.map-consent__link {
	color: var(--brand-color);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.map-consent__link {
	font-size: 0.92rem;
	font-weight: 600;
}

.legal-page__inner a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Footer: dezenter Hinweis auf Konzept & Umsetzung */
.site-footer__credit {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
	.site-footer__bottom-inner {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.site-footer__bottom-inner p {
		margin: 0;
	}
}

/* ---------------------------------------------------
   23. Animationen: Zeitstrahl, Zahlenband, Symbole,
       Seitenwechsel, Fortschrittslinie, Vorher-Nachher
--------------------------------------------------- */

/* --- Zeitstrahl (Über uns) --- */
.about-history__inner {
	max-width: 820px;
}

.timeline {
	--tl-p: 1;
	position: relative;
	display: grid;
	gap: 40px;
	margin-top: 8px;
	padding-left: 44px;
}

.timeline::before,
.timeline::after {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 11px;
	width: 2px;
	border-radius: 2px;
}

.timeline::before {
	background: var(--color-border);
}

.timeline::after {
	background: var(--brand-color);
	transform: scaleY(var(--tl-p));
	transform-origin: top;
}

.timeline__item {
	position: relative;
}

.timeline__item::before {
	content: "";
	position: absolute;
	top: 8px;
	left: -44px;
	z-index: 1;
	width: 24px;
	height: 24px;
	border: 3px solid var(--brand-color);
	border-radius: 50%;
	background: var(--brand-color);
	box-shadow: 0 0 0 6px var(--color-bg-subtle);
	transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.timeline__year {
	display: block;
	font-size: clamp(2rem, 4.5vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--brand-color);
	font-variant-numeric: tabular-nums;
}

.timeline__title {
	margin: 6px 0 8px;
	font-size: 1.2rem;
}

.timeline__body p {
	margin: 0;
	color: var(--color-text);
}

.timeline--animated .timeline__item {
	opacity: 0.25;
	transform: translateY(14px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline--animated .timeline__item::before {
	border-color: var(--color-border);
	background: var(--color-bg-subtle);
	transform: scale(0.8);
}

.timeline--animated .timeline__item.is-active {
	opacity: 1;
	transform: translateY(0);
}

.timeline--animated .timeline__item.is-active::before {
	border-color: var(--brand-color);
	background: var(--brand-color);
	transform: scale(1);
}

@media (min-width: 768px) {
	.timeline__item {
		display: grid;
		grid-template-columns: 150px 1fr;
		gap: 24px;
		align-items: start;
	}

	.timeline__title {
		margin-top: 10px;
	}
}

/* --- Zahlenband (Startseite) --- */
.stats-band {
	padding-block: 64px;
	background:
		radial-gradient(60% 120% at 15% 0%, rgba(0, 160, 180, 0.35), transparent 70%),
		var(--brand-color-darker);
	color: #fff;
}

.stats-band__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	text-align: center;
}

.stat__value {
	display: block;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(100deg, #7fe3ee 0%, #ffffff 85%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.stat__label {
	display: block;
	max-width: 26ch;
	margin: 10px auto 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 768px) {
	.stats-band__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --- Leistungs-Symbole zeichnen sich --- */
.service-tile.js-draw .service-tile__icon svg path,
.service-tile.js-draw .service-tile__icon svg circle {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.4s ease 0.3s;
}

.service-tile.js-draw.is-visible .service-tile__icon svg path,
.service-tile.js-draw.is-visible .service-tile__icon svg circle {
	stroke-dashoffset: 0;
}

/* --- Bilder decken sich beim Einblenden von oben auf --- */
.service-block__media.reveal > *,
.trust-section__media.reveal > * {
	clip-path: inset(0 0 100% 0 round var(--radius-md));
	transition: clip-path 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.service-block__media.reveal.is-visible > *,
.trust-section__media.reveal.is-visible > * {
	clip-path: inset(0 0 0 0 round var(--radius-md));
}

/* Startbild bewegt sich beim Scrollen langsamer als der Text. */
.hero__bg {
	transform: translateY(calc(var(--hero-p) * 70px)) scale(1.1);
	will-change: transform;
}

/* --- Fortschrittslinie unter dem Header --- */
.scroll-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--brand-color);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
}

/* --- Weiche Seitenwechsel --- */
@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: vt-out 0.2s ease both;
}

::view-transition-new(root) {
	animation: vt-in 0.4s ease both;
}

@keyframes vt-out {
	to { opacity: 0; }
}

@keyframes vt-in {
	from { opacity: 0; transform: translateY(12px); }
}

/* --- Vorher-Nachher-Regler (Projekte) --- */
.ba-slider {
	--ba: 50%;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-bg-subtle);
	-webkit-user-select: none;
	user-select: none;
}

.ba-slider__layer {
	position: absolute;
	inset: 0;
}

.ba-slider__layer img,
.ba-slider__layer .img-placeholder {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 0;
}

.ba-slider__layer--before {
	clip-path: inset(0 calc(100% - var(--ba)) 0 0);
}

.ba-slider__layer--before .img-placeholder {
	background: repeating-linear-gradient(45deg, #c4cdd0, #c4cdd0 12px, #d6dddf 12px, #d6dddf 24px);
}

.ba-slider .project-pair__label {
	z-index: 2;
	pointer-events: none;
}

.ba-slider__label--after {
	left: auto;
	right: 12px;
}

.ba-slider__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--ba);
	z-index: 2;
	width: 2px;
	margin-left: -1px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0, 40, 47, 0.2);
	pointer-events: none;
}

.ba-slider__handle::after {
	content: "\2039\00a0\203A";
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	color: var(--brand-color);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 6px 18px rgba(0, 40, 47, 0.3);
	transform: translate(-50%, -50%);
}

.ba-slider__range {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	touch-action: pan-y;
}

.ba-slider:focus-within {
	outline: 3px solid var(--brand-color);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}

	.service-block__media.reveal > *,
	.trust-section__media.reveal > * {
		clip-path: none;
		transition: none;
	}

	.hero__bg {
		transform: none;
	}
}

/* Vorher-Nachher-Regler im Hochformat */
.ba-slider--hoch {
	aspect-ratio: 3 / 4;
}

.projects-gallery__grid {
	align-items: start;
}

/* ---------------------------------------------------
   24. Mobiles Menü im dunklen Petrol-Look der Startseite
--------------------------------------------------- */
.nav-extra__social {
	display: none;
}

.site-header {
	transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

@media (max-width: 1023px) {
	.site-header.menu-open {
		background: #00343c;
		border-bottom-color: rgba(255, 255, 255, 0.12);
		box-shadow: none;
	}

	.site-header.menu-open .menu-toggle__bar {
		background: #fff;
	}

	.site-header.menu-open .site-branding img {
		filter: brightness(0) invert(1);
	}

	.primary-navigation {
		background:
			radial-gradient(90% 55% at 12% 0%, rgba(0, 170, 190, 0.45), transparent 70%),
			radial-gradient(80% 55% at 100% 100%, rgba(0, 123, 141, 0.6), transparent 70%),
			#00343c;
	}

	.primary-menu {
		counter-reset: nav;
	}

	.primary-menu > li {
		counter-increment: nav;
		border-bottom-color: rgba(255, 255, 255, 0.14);
		transform: translateX(-18px);
	}

	.primary-navigation.is-open .primary-menu > li {
		transform: translateX(0);
	}

	.primary-menu > li > a {
		justify-content: flex-start;
		gap: 14px;
		color: #fff;
	}

	/* Laufende Nummer vor jedem Menüpunkt */
	.primary-menu > li > a::before {
		content: counter(nav, decimal-leading-zero);
		flex: none;
		width: 26px;
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.08em;
		color: #7fe3ee;
		font-variant-numeric: tabular-nums;
	}

	.primary-navigation .primary-menu > li > a::after,
	.primary-navigation .primary-menu > li > a:hover::after,
	.primary-navigation .primary-menu > li.current-menu-item > a::after {
		margin-left: auto;
		border-color: #7fe3ee;
	}

	.primary-menu > li > a:hover {
		color: #fff;
	}

	.primary-menu > li.current-menu-item > a,
	.primary-menu > li.current-menu-ancestor > a {
		color: #7fe3ee;
	}

	.submenu-toggle {
		background: rgba(255, 255, 255, 0.12);
		color: #7fe3ee;
	}

	.primary-menu .sub-menu a {
		border-left-color: rgba(255, 255, 255, 0.2);
		color: rgba(255, 255, 255, 0.78);
	}

	.primary-menu .sub-menu .current-menu-item > a {
		color: #7fe3ee;
		border-left-color: #7fe3ee;
	}

	.nav-extra .btn--primary {
		background: #fff;
		color: var(--brand-color-darker);
	}

	.nav-extra .btn--secondary {
		background: transparent;
		border-color: rgba(255, 255, 255, 0.45);
		color: #fff;
	}

	.nav-extra__social {
		display: block;
		margin-top: 6px;
		text-align: center;
		font-size: 0.92rem;
		font-weight: 600;
		color: #7fe3ee;
	}

	.nav-extra__hours {
		color: rgba(255, 255, 255, 0.7);
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
	.primary-navigation {
		border-left-color: rgba(255, 255, 255, 0.14);
	}
}

/* ---------------------------------------------------
   25. Lichtschalter und dunkle Ansicht
--------------------------------------------------- */
.light-switch {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-left: 20px;
	border: 1.5px solid var(--color-border);
	border-radius: 9px;
	background: var(--color-bg);
	box-shadow: 0 1px 2px rgba(0, 40, 47, 0.08);
}

.light-switch__rocker {
	width: 18px;
	height: 24px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	background: linear-gradient(180deg, #ffffff 0 50%, #d5dddf 50% 100%);
	box-shadow: 0 2px 3px rgba(0, 40, 47, 0.18);
	transform: perspective(60px) rotateX(-16deg);
	transition: transform 0.25s ease;
}

/* Kleine Orientierungsleuchte, die im Dunkeln glimmt */
.light-switch::after {
	content: "";
	position: absolute;
	top: 4px;
	right: 4px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--color-border);
}

@media (min-width: 1024px) {
	.primary-navigation {
		margin-left: auto;
	}
}

@media (max-width: 1023px) {
	.light-switch {
		margin-left: auto;
	}

	.menu-toggle {
		margin-left: 10px;
	}

	.site-header.menu-open .light-switch {
		border-color: rgba(255, 255, 255, 0.3);
		background: transparent;
	}
}

html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
	transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease !important;
}

html[data-theme="dark"] {
	--brand-color: #35b8c9;
	--brand-color-dark: #1f95a5;
	--brand-color-tint: #12323a;

	--color-text: #e8eef0;
	--color-text-muted: #a9b6ba;
	--color-bg: #0b1a1e;
	--color-bg-subtle: #12262b;
	--color-border: #26434a;

	color-scheme: dark;
}

html[data-theme="dark"] .light-switch__rocker {
	background: linear-gradient(180deg, #24424a 0 50%, #3a5f69 50% 100%);
	transform: perspective(60px) rotateX(16deg);
}

html[data-theme="dark"] .light-switch::after {
	background: #7fe3ee;
	box-shadow: 0 0 6px 1px rgba(127, 227, 238, 0.9);
}

html[data-theme="dark"] .site-header {
	background: rgba(9, 22, 26, 0.85);
}

html[data-theme="dark"] .site-branding img {
	filter: brightness(0) invert(1);
}

html[data-theme="dark"] .btn--primary {
	background-color: #007b8d;
	color: #fff;
}

html[data-theme="dark"] .btn--primary:hover {
	background-color: #0a93a6;
}

html[data-theme="dark"] .service-tile:hover {
	background: #16313a;
}

html[data-theme="dark"] .form-row input,
html[data-theme="dark"] .form-row textarea {
	background: #0f2227;
}

html[data-theme="dark"] .img-placeholder {
	background: repeating-linear-gradient(45deg, #16313a, #16313a 12px, #1b3a44 12px, #1b3a44 24px);
}

html[data-theme="dark"] .ba-slider__layer--before .img-placeholder {
	background: repeating-linear-gradient(45deg, #1c2a2e, #1c2a2e 12px, #24363b 12px, #24363b 24px);
}

html[data-theme="dark"] .skip-link {
	color: var(--color-bg);
}

@media (min-width: 1024px) {
	html[data-theme="dark"] .primary-menu .sub-menu {
		background: var(--color-bg-subtle);
	}
}

/* ---------------------------------------------------
   27. Fehlerseite „Sicherung rausgeflogen“
--------------------------------------------------- */
.fuse-page__inner {
	max-width: 640px;
	text-align: center;
}

.fuse-page__code {
	margin: 0 0 8px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-color);
}

.fuse-page__title {
	font-size: clamp(2rem, 6vw, 3.2rem);
	margin-bottom: 12px;
}

.fuse-page__text {
	margin-bottom: 32px;
}

.fuse-box {
	display: inline-flex;
	gap: 10px;
	margin-bottom: 32px;
	padding: 20px 22px;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	background: var(--color-bg-subtle);
	box-shadow: inset 0 2px 6px rgba(0, 40, 47, 0.08);
}

.fuse {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 56px;
	height: 132px;
	padding-bottom: 8px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-bg);
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--color-text-muted);
}

.fuse::before {
	content: "";
	position: absolute;
	top: 9px;
	width: 20px;
	height: 6px;
	border-radius: 2px;
	background: #2e9e5b;
	transition: background-color 0.3s ease;
}

.fuse__lever {
	position: absolute;
	top: 26px;
	left: 50%;
	width: 24px;
	height: 44px;
	margin-left: -12px;
	border-radius: 5px;
	background: #007b8d;
	box-shadow: 0 3px 6px rgba(0, 40, 47, 0.25);
	transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.3s ease;
}

.fuse--tripped {
	cursor: pointer;
	animation: fuse-hint 1.8s ease-out infinite;
}

.fuse--tripped::before {
	background: #c0392b;
}

.fuse--tripped .fuse__lever {
	background: #c0392b;
	transform: translateY(26px);
}

@keyframes fuse-hint {
	0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.5); }
	100% { box-shadow: 0 0 0 14px rgba(192, 57, 43, 0); }
}

/* ---------------------------------------------------
   28. Teamkarten zum Umdrehen
--------------------------------------------------- */
.team-card {
	perspective: 1100px;
	cursor: pointer;
	outline-offset: 6px;
}

.team-card__inner {
	display: grid;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.7s cubic-bezier(0.3, 0.9, 0.3, 1);
}

.team-card__face {
	grid-area: 1 / 1;
	padding: 28px 18px 22px;
	border-radius: var(--radius-lg);
	background: var(--color-bg-subtle);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.team-card__face--back {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(90% 70% at 15% 0%, rgba(0, 170, 190, 0.4), transparent 70%),
		var(--brand-color-darker);
	transform: rotateY(180deg);
}

.team-card__face--back .team-card__name {
	margin: 0 0 2px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
}

.team-card__face--back .team-card__role {
	color: #7fe3ee;
	margin-bottom: 14px;
}

.team-card__face--back .team-card__bio {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.88);
}

.team-card__hint {
	margin: 10px 0 0;
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

.team-card.is-flipped .team-card__inner {
	transform: rotateY(180deg);
}

@media (hover: hover) {
	.team-card:hover .team-card__inner {
		transform: rotateY(180deg);
	}
}

/* ---------------------------------------------------
   29. Anruf-Button auf dem Handy
--------------------------------------------------- */
.call-fab {
	display: none;
}

@media (max-width: 767px) {
	.call-fab {
		position: fixed;
		right: 16px;
		bottom: calc(16px + env(safe-area-inset-bottom));
		z-index: 900;
		display: grid;
		place-items: center;
		width: 58px;
		height: 58px;
		border-radius: 50%;
		background: #007b8d;
		color: #fff;
		box-shadow: 0 8px 24px rgba(0, 40, 47, 0.38);
	}

	.call-fab:active {
		transform: scale(0.94);
	}

	.menu-is-open .call-fab {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.team-card__inner,
	.fuse__lever {
		transition: none;
	}

	.fuse--tripped {
		animation: none;
	}
}


/* Hero-Überschrift: Platz nach rechts und links, damit die Maske den
   letzten Buchstaben nicht anschneidet (enge Laufweite + Rundungen). */
.hero__word {
	padding-inline: 0.08em;
	margin-inline: -0.08em;
}

/* ---------------------------------------------------
   30. Hinweisleiste (z. B. Betriebsferien)
--------------------------------------------------- */
.notice-bar {
	position: relative;
	z-index: 1;
	background: #007b8d;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
}

.notice-bar[hidden] {
	display: none;
}

.notice-bar__inner {
	position: relative;
	padding-block: 11px;
	padding-right: 56px;
	text-align: center;
}

.notice-bar a {
	margin-left: 6px;
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.notice-bar__close {
	position: absolute;
	top: 50%;
	right: 16px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	transform: translateY(-50%);
}

.notice-bar__close:hover {
	background: rgba(255, 255, 255, 0.18);
}

/* Hinweisleiste: Verlauf, Lichtreflex, laufender „Strom“ und Einblenden */
.notice-bar {
	overflow: hidden;
	background: linear-gradient(100deg, #003f49 0%, #007b8d 48%, #00606e 100%);
	font-weight: 600;
	letter-spacing: 0.01em;
	box-shadow: 0 6px 20px rgba(0, 40, 47, 0.18);
	animation: notice-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}

/* Lichtreflex, der langsam über die Leiste zieht */
.notice-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%);
	background-size: 260% 100%;
	animation: notice-sheen 7s ease-in-out infinite;
	pointer-events: none;
}

/* Leuchtender Impuls, der an der Unterkante entlangläuft */
.notice-bar::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #7fe3ee, transparent);
	animation: notice-current 3.4s linear infinite;
	pointer-events: none;
}

.notice-bar__inner {
	z-index: 1;
}

/* Pulsierender Punkt vor dem Text */
.notice-bar__text::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: #7fe3ee;
	vertical-align: 0.08em;
	animation: hero-pulse 2.4s ease-out infinite;
}

.notice-bar__close {
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: background-color var(--transition-base), transform var(--transition-base);
}

.notice-bar__close:hover {
	transform: translateY(-50%) rotate(90deg);
}

.notice-bar.is-closing {
	height: 0 !important;
	opacity: 0;
	transition: height 0.35s ease, opacity 0.25s ease;
}

@keyframes notice-in {
	from { transform: translateY(-100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@keyframes notice-sheen {
	0%, 20% { background-position: 120% 0; }
	60%, 100% { background-position: -60% 0; }
}

@keyframes notice-current {
	from { transform: translateX(-100%); }
	to { transform: translateX(460%); }
}

@media (prefers-reduced-motion: reduce) {
	.notice-bar,
	.notice-bar::before,
	.notice-bar::after,
	.notice-bar__text::before {
		animation: none;
	}

	.notice-bar::after {
		display: none;
	}
}

/* ---------------------------------------------------
   31. Haus-Querschnitt (interaktiv)
--------------------------------------------------- */
.house__eyebrow {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-color);
}

.house .section__title {
	margin-bottom: 1rem;
}

.house__lead {
	max-width: 56ch;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.house__layout {
	display: grid;
	gap: 28px;
	align-items: start;
}

.house__figure {
	margin: 0;
	padding: clamp(10px, 2.5vw, 28px);
	background: var(--color-bg-subtle);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.house__svg {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Zeichnung --- */
.house__svg .hs-earth {
	fill: var(--color-text);
	opacity: 0.06;
}

.house__svg .hs-room {
	fill: var(--color-bg-subtle);
}

.house__svg .hs-slab {
	fill: var(--color-bg-subtle);
}

.house__svg .hs-wall,
.house__svg .hs-slab {
	stroke: var(--color-text-muted);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.house__svg .hs-wall {
	fill: none;
}

.house__svg .hs-roof {
	stroke-width: 3.5;
}

.house__svg .hs-thin {
	fill: none;
	stroke: var(--color-text-muted);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.8;
}

.house__svg .hs-acc {
	fill: none;
	stroke: var(--brand-color);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.house__svg .hs-thin-acc {
	fill: none;
	stroke: var(--brand-color);
	stroke-width: 1.5;
	stroke-linecap: round;
	opacity: 0.7;
}

.house__svg .hs-pv {
	fill: var(--brand-color);
	fill-opacity: 0.18;
	stroke: var(--brand-color);
	stroke-width: 2.5;
	stroke-linejoin: round;
	transition: fill-opacity 0.4s ease;
}

.house__svg .hs-led,
.house__svg .hs-dot-light {
	fill: var(--brand-color);
	stroke: none;
}

/* --- Bereiche --- */
.house__svg .hs-zone {
	cursor: pointer;
	outline: none;
	transition: opacity 0.35s ease;
	-webkit-tap-highlight-color: transparent;
}

.house__svg .hs-bg {
	fill: var(--brand-color);
	fill-opacity: 0;
	stroke: none;
	transition: fill-opacity 0.35s ease;
}

.house__svg .hs-zone:hover .hs-bg,
.house__svg .hs-zone.is-hover .hs-bg {
	fill-opacity: 0.08;
}

.house__svg .hs-zone.is-active .hs-bg {
	fill-opacity: 0.18;
}

.house__svg .hs-zone:focus-visible .hs-bg {
	stroke: var(--brand-color);
	stroke-width: 3;
	fill-opacity: 0.12;
}

.house.has-active .hs-zone:not(.is-active) {
	opacity: 0.5;
}

.house.has-active .hs-zone:not(.is-active):hover,
.house.has-active .hs-zone:not(.is-active).is-hover {
	opacity: 0.9;
}

.house__svg .hs-zone.is-active .hs-acc {
	stroke-width: 3;
}

.house__svg .hs-zone.is-active .hs-pv {
	fill-opacity: 0.45;
}

/* --- Nummernmarken --- */
.house__svg .hs-marker {
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.3s ease;
	pointer-events: none;
}

.house__svg .hs-dot {
	fill: var(--brand-color);
}

.house__svg .hs-marker text {
	fill: #fff;
	font: 700 14px var(--font-body);
	text-anchor: middle;
	dominant-baseline: central;
}

html[data-theme="dark"] .house__svg .hs-marker text {
	fill: #0b1a1e;
}

.house__svg .hs-zone.is-active .hs-marker {
	transform: scale(1.2);
}

.house__svg .hs-pulse {
	fill: none;
	stroke: var(--brand-color);
	stroke-width: 2;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	animation: hs-pulse 2.8s ease-out infinite;
}

.house.has-interacted .hs-pulse {
	animation: none;
}

@keyframes hs-pulse {
	0% { transform: scale(1); opacity: 0.55; }
	70%, 100% { transform: scale(2.2); opacity: 0; }
}

/* --- Leitungen --- */
.house__svg .hs-cable {
	fill: none;
	stroke: var(--brand-color);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 3 7;
	opacity: 0.28;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.house__svg .hs-cable.is-active {
	opacity: 1;
	stroke-width: 2.5;
	animation: hs-flow 1.1s linear infinite;
}

@keyframes hs-flow {
	to { stroke-dashoffset: -20; }
}

/* --- Kleine Animationen je Bereich (nur im aktiven Zustand) --- */
.house__svg .hs-light {
	fill: var(--brand-color);
	fill-opacity: 0.05;
	stroke: none;
	transition: fill-opacity 0.45s ease;
}

.house__svg .hs-zone.is-active .hs-light {
	fill-opacity: 0.3;
}

.house__svg .hs-steam {
	fill: none;
	stroke: var(--brand-color);
	stroke-width: 2;
	stroke-linecap: round;
	opacity: 0;
	transform-box: fill-box;
}

.house__svg .hs-zone.is-active .hs-steam {
	animation: hs-steam 2.2s ease-in-out infinite;
}

.house__svg .hs-steam--2 { animation-delay: 0.5s !important; }
.house__svg .hs-steam--3 { animation-delay: 1s !important; }

@keyframes hs-steam {
	0% { transform: translateY(5px); opacity: 0; }
	40% { opacity: 0.9; }
	100% { transform: translateY(-9px); opacity: 0; }
}

.house__svg .hs-charge {
	stroke-dasharray: 4 6;
}

.house__svg .hs-zone.is-active .hs-charge {
	animation: hs-flow 1s linear infinite;
}

.house__svg .hs-zone.is-active .hs-led {
	animation: hs-blink 1.2s ease-in-out infinite;
}

@keyframes hs-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

.house__svg .hs-ring {
	opacity: 0;
}

.house__svg .hs-zone.is-active .hs-ring {
	animation: hs-ring 1.6s ease-in-out infinite;
}

.house__svg .hs-zone.is-active .hs-ring--2 {
	animation-delay: 0.3s;
}

@keyframes hs-ring {
	0%, 100% { opacity: 0; }
	35% { opacity: 1; }
}

.house__svg .hs-fan,
.house__svg .hs-sun-rays {
	transform-box: fill-box;
	transform-origin: center;
}

.house__svg .hs-zone.is-active .hs-fan {
	animation: hs-spin 2.4s linear infinite;
}

.house__svg .hs-zone.is-active .hs-sun-rays {
	animation: hs-spin 16s linear infinite;
}

@keyframes hs-spin {
	to { transform: rotate(360deg); }
}

/* --- Liste --- */
.house__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.house__item-wrap {
	overflow: hidden;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.house__item-wrap:hover,
.house__item-wrap.is-hover {
	border-color: var(--brand-color);
}

.house__item-wrap.is-active {
	border-color: var(--brand-color);
	box-shadow: 0 12px 30px rgba(0, 60, 70, 0.14);
}

.house__item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 14px 16px;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 600;
	color: var(--color-text);
	text-align: left;
	cursor: pointer;
}

.house__num {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--brand-color-tint);
	color: var(--brand-color-dark);
	font-size: 0.85rem;
	font-weight: 700;
	transition: background-color 0.3s ease, color 0.3s ease;
}

html[data-theme="dark"] .house__num {
	color: var(--brand-color);
}

.house__item-wrap.is-active .house__num {
	background: var(--brand-color);
	color: #fff;
}

html[data-theme="dark"] .house__item-wrap.is-active .house__num {
	color: #0b1a1e;
}

.house__chev {
	flex: none;
	width: 9px;
	height: 9px;
	margin: 0 4px 3px auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: 0.55;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}

.house__item-wrap.is-active .house__chev {
	transform: translateY(4px) rotate(-135deg);
}

.house__detail {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}

.house__item-wrap.is-active .house__detail {
	grid-template-rows: 1fr;
}

.house__detail-inner {
	min-height: 0;
	overflow: hidden;
	padding: 0 16px 0 58px;
	visibility: hidden;
	transition: visibility 0s linear 0.35s;
}

.house__item-wrap.is-active .house__detail-inner {
	visibility: visible;
	transition-delay: 0s;
}

.house__detail-inner p {
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
}

.house__more {
	display: inline-block;
	margin-bottom: 16px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--brand-color-dark);
}

html[data-theme="dark"] .house__more {
	color: var(--brand-color);
}

.house__more:hover {
	text-decoration: underline;
}

@media (min-width: 900px) {
	.house__layout {
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
		gap: 40px;
	}

	/* Die Zeichnung bleibt beim Aufklappen der Liste ruhig im Blick. */
	.house__figure {
		position: sticky;
		top: calc(var(--header-height) + 24px);
	}
}

/* Auf dem Handy: Marken größer, damit sie gut antippbar bleiben */
@media (max-width: 640px) {
	.house__svg .hs-marker {
		transform: scale(1.5);
	}

	.house__svg .hs-zone.is-active .hs-marker {
		transform: scale(1.75);
	}
}

@media (prefers-reduced-motion: reduce) {
	.house__svg .hs-pulse {
		display: none;
	}

	.house__svg .hs-cable.is-active,
	.house__svg .hs-zone.is-active .hs-steam,
	.house__svg .hs-zone.is-active .hs-charge,
	.house__svg .hs-zone.is-active .hs-led,
	.house__svg .hs-zone.is-active .hs-ring,
	.house__svg .hs-zone.is-active .hs-fan,
	.house__svg .hs-zone.is-active .hs-sun-rays {
		animation: none !important;
	}

	.house__svg .hs-zone.is-active .hs-steam,
	.house__svg .hs-zone.is-active .hs-ring {
		opacity: 0.9;
	}

	.house__detail,
	.house__chev,
	.house__svg .hs-bg,
	.house__svg .hs-zone {
		transition: none;
	}
}


/* Team: Beiname und Beispiel-Illustration */
.team-card__tagline {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--brand-color-dark);
}

html[data-theme="dark"] .team-card__tagline {
	color: var(--brand-color);
}

.team-card__face--back .team-card__tagline {
	color: inherit;
	opacity: 0.85;
}

.team-card__illu {
	display: block;
	width: 100%;
	height: auto;
}

/* Team: zwei Gruppen mit türkisem Trennstrich */
.team-divider {
	width: 72px;
	height: 4px;
	margin: 3rem auto;
	border-radius: 999px;
	background: var(--brand-color);
	opacity: 0.85;
}

@media (min-width: 900px) {
	.team-grid--office {
		grid-template-columns: repeat(2, minmax(0, 260px));
		justify-content: center;
	}
}

/* Zahlen im Abschnitt "Warum Elektro Jatho" */
.trust-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--color-border);
	text-align: center;
}

.trust-stats .stat__value {
	background: none;
	-webkit-text-fill-color: var(--brand-color);
	color: var(--brand-color);
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.trust-stats .stat__label {
	color: var(--color-text-muted);
}

@media (min-width: 760px) {
	.trust-stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

.services-teaser__more {
	margin: 2.25rem 0 0;
	text-align: center;
	font-weight: 600;
}

.services-teaser__more a {
	color: var(--brand-color-dark);
}

html[data-theme="dark"] .services-teaser__more a {
	color: var(--brand-color);
}

.services-teaser__more a:hover {
	text-decoration: underline;
}

/* Fotos aus der Mediathek */
.media-photo {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px rgba(0, 60, 70, 0.14);
}

.team-photo {
	max-width: 960px;
	margin: 0 auto 2.5rem;
}

/* Hero mit Foto (nur aktiv, wenn "hero-team" in der Mediathek liegt) */
.hero--photo .hero__bg {
	background-image: var(--hero-photo);
	background-size: cover;
	background-position: center 30%;
	transform: scale(calc(1 + var(--hero-p, 0) * 0.08));
}

.hero--photo .hero__overlay {
	background:
		linear-gradient(180deg, rgba(0, 40, 47, 0.62) 0%, rgba(0, 55, 64, 0.5) 45%, rgba(0, 35, 42, 0.82) 100%),
		linear-gradient(90deg, rgba(0, 63, 73, 0.35), rgba(0, 63, 73, 0.1));
}

.hero--photo .hero__glow {
	opacity: 0.4;
	mix-blend-mode: screen;
}

.hero--photo .hero__grid {
	opacity: 0.5;
}

.hero--photo .hero__headline,
.hero--photo .hero__subline {
	text-shadow: 0 2px 24px rgba(0, 30, 36, 0.45);
}

@media (max-width: 700px) {
	.hero--photo .hero__bg {
		background-image: var(--hero-photo-m);
		background-position: center 20%;
	}
}

/* Hero-Foto: Text oben, Köpfe darunter frei */
.hero--photo {
	align-items: flex-start;
	min-height: max(92vh, 640px);
}

.hero--photo .hero__inner {
	padding-top: clamp(72px, 11vh, 130px);
}

.hero--photo .hero__bg {
	background-position: center bottom;
}

.hero--photo .hero__overlay {
	background:
		linear-gradient(180deg, rgba(0, 38, 45, 0.88) 0%, rgba(0, 48, 56, 0.62) 38%, rgba(0, 40, 47, 0.18) 72%, rgba(0, 35, 42, 0.35) 100%);
}

@media (max-width: 700px) {
	.hero--photo .hero__bg {
		background-position: center bottom;
	}
}

/* Hero-Foto: Höhe an das Bildformat koppeln, damit die Köpfe unter dem Text bleiben */
@media (min-width: 701px) {
	.hero--photo {
		min-height: max(92vh, min(68vw, 980px));
	}
}

/* So arbeiten wir: vier Schritte */
.process-steps__lead {
	max-width: 56ch;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.process-steps__list {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.process-steps__item {
	position: relative;
	padding: 24px 22px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.process-steps__num {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--brand-color);
	color: #fff;
	font-weight: 700;
}

html[data-theme="dark"] .process-steps__num {
	color: #0b1a1e;
}

.process-steps__item h3 {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
}

.process-steps__item p {
	margin: 0;
	font-size: 0.95rem;
}

@media (min-width: 700px) {
	.process-steps__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.process-steps__list {
		grid-template-columns: repeat(4, 1fr);
	}
}


/* Zahlen prominent (v2.9.1) */
.trust-stats {
	margin-top: 64px;
	padding: 48px 24px;
	border-top: 0;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, #00323a 0%, #005561 100%);
	box-shadow: 0 24px 48px rgba(0, 50, 58, 0.25);
	gap: 36px;
}

.trust-stats .stat__value {
	-webkit-text-fill-color: #fff;
	color: #fff;
	font-size: clamp(3.4rem, 8vw, 5.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.trust-stats .stat__label {
	margin-top: 0.6rem;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.05rem;
}

@media (min-width: 760px) {
	.trust-stats {
		padding: 64px 40px;
	}
	.trust-stats .stat + .stat {
		border-left: 1px solid rgba(255, 255, 255, 0.18);
	}
}


/* Zahlen kompakter, eine Zeile (v2.9.2) */
.trust-stats {
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 48px;
	padding: 26px 12px;
	border-radius: var(--radius-lg);
}

.trust-stats .stat {
	padding: 0 8px;
}

.trust-stats .stat + .stat {
	border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-stats .stat__value {
	font-size: clamp(1.35rem, 4.2vw, 2.4rem);
	font-weight: 700;
	white-space: nowrap;
}

.trust-stats .stat__label {
	margin-top: 0.35rem;
	font-size: clamp(0.62rem, 1.9vw, 0.92rem);
	line-height: 1.3;
}

@media (min-width: 760px) {
	.trust-stats {
		padding: 30px 24px;
	}
	.trust-stats .stat__label {
		white-space: nowrap;
	}
}


/* Hero mit Foto: keine Gitterlinien (v2.9.3) */
.hero--photo .hero__grid {
	display: none;
}


/* Partner-Laufband (v2.10.0) */
.partner-marquee {
	padding: 48px 0 56px;
	background: var(--color-surface, transparent);
	overflow: hidden;
}

.partner-marquee__title {
	margin: 0 0 24px;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.partner-marquee__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partner-marquee__track {
	display: flex;
	align-items: center;
	gap: 64px;
	width: max-content;
	margin: 0;
	padding: 0 64px 0 0;
	list-style: none;
	animation: partner-scroll 38s linear infinite;
}

.partner-marquee__viewport:hover .partner-marquee__track {
	animation-play-state: paused;
}

.partner-marquee__item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 56px;
	margin: 0;
}

.partner-marquee__item img {
	width: auto;
	max-width: 160px;
	height: 44px;
	object-fit: contain;
	opacity: 0.85;
	transition: opacity 0.3s;
}

.partner-marquee__item img:hover {
	opacity: 1;
}

.partner-marquee__name {
	font-size: 1.35rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--color-text-muted);
	opacity: 0.7;
}

@keyframes partner-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.partner-marquee__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
	}
	.partner-marquee__item[aria-hidden="true"] {
		display: none;
	}
}


/* Partner-Logos: Originalfarben, einheitliche optische Größe (v2.10.2) */
.partner-marquee__item {
	height: 64px;
}

.partner-marquee__item img {
	width: auto;
	height: auto;
	max-width: 200px;
	max-height: 46px;
	filter: none;
	opacity: 1;
}

.partner-marquee__name {
	opacity: 1;
}

.partner-marquee__item img.media-photo {
	display: block;
	width: auto;
	border-radius: 0;
	box-shadow: none;
}

.partner-marquee__credit {
	margin: 20px auto 0;
	padding: 0 16px;
	max-width: 760px;
	text-align: center;
	font-size: 0.72rem;
	line-height: 1.4;
	color: var(--color-text-muted);
	opacity: 0.8;
}


/* Zertifikat Lichtberatung (v2.11.0) */
.cert-frame {
	max-width: 360px;
	margin: 0 auto;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(0, 60, 70, 0.18);
	line-height: 0;
}

.cert-frame img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	box-shadow: none;
}


/* Zertifikat vergrößern + Partner-Link (v2.12.0) */
#lichtberatung {
	scroll-margin-top: 90px;
}

.partner-marquee__link {
	display: flex;
	align-items: center;
	height: 100%;
	border-radius: 6px;
}

.partner-marquee__link:focus-visible {
	outline: 2px solid var(--brand-color);
	outline-offset: 6px;
}

.cert-frame__link {
	position: relative;
	display: block;
	cursor: zoom-in;
}

.cert-frame__zoom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 12px 12px;
	background: linear-gradient(0deg, rgba(0, 30, 35, 0.78), rgba(0, 30, 35, 0));
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	opacity: 0;
	transition: opacity 0.25s;
}

.cert-frame__link:hover .cert-frame__zoom,
.cert-frame__link:focus-visible .cert-frame__zoom {
	opacity: 1;
}

@media (hover: none) {
	.cert-frame__zoom {
		opacity: 1;
	}
}

.cert-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: rgba(0, 20, 25, 0.88);
}

.cert-lightbox[hidden] {
	display: none;
}

.cert-lightbox__scroll {
	width: 100%;
	height: 100%;
	overflow: auto;
	padding: 56px 16px 32px;
	text-align: center;
	-webkit-overflow-scrolling: touch;
}

.cert-lightbox__scroll img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: none;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	cursor: default;
}

.cert-lightbox__close {
	position: absolute;
	top: 10px;
	right: 16px;
	z-index: 1;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.cert-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.28);
}

html.cert-open {
	overflow: hidden;
}


/* Felix-Illustration in Größe der Foto-Porträts (v2.12.2) */
.team-card__photo .team-card__illu {
	display: block;
	width: 160px;
	height: 160px;
	margin-inline: auto;
	border-radius: 999px;
	border: 4px solid var(--brand-color-tint);
	overflow: hidden;
	background: var(--brand-color-tint);
}


/* ===== Neuer Hero: Text links, Foto rechts (v2.13.0) ===== */
.hero--split {
	text-align: left;
	background: linear-gradient(135deg, #00262d 0%, #00444f 55%, #005d6b 100%);
}

.hero--split .hero__bg {
	background: none;
	transform: none;
}

.hero--split .hero__overlay {
	background: radial-gradient(70% 90% at 78% 50%, rgba(0, 150, 170, 0.18), transparent 70%);
}

.hero--split .hero__grid {
	display: block;
	opacity: 0.18;
}

.hero--split .hero__glow {
	opacity: 0.55;
	mix-blend-mode: screen;
}

.hero--split .hero__inner {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 2.5rem;
	padding-block: 32px 56px;
}

.hero--split .hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.hero--split .hero__headline {
	max-width: none;
	margin: 0;
	font-size: clamp(2.6rem, 6.2vw, 5.2rem);
	text-shadow: none;
}

.hero--split .hero__subline {
	text-shadow: none;
	max-width: 40ch;
}

.hero--split .hero__actions {
	justify-content: flex-start;
}

.hero--split .hero__scroll-hint {
	display: none;
}

@media (min-width: 960px) {
	.hero--split .hero__inner {
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
		gap: clamp(2rem, 5vw, 5rem);
	}
}

/* Foto-Karte */
.hero__visual {
	position: relative;
	margin: 0;
	animation: hero-visual-in 1.2s cubic-bezier(0.2, 0.75, 0.2, 1) 0.2s both;
}

.hero__frame {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 28px;
	transform: translateY(calc(var(--hero-p, 0) * -36px));
	will-change: transform;
}

.hero__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid rgba(70, 215, 230, 0.55);
	border-radius: 28px;
	transform: translate(16px, 16px);
	animation: hero-frame-float 7s ease-in-out infinite alternate;
	pointer-events: none;
}

.hero__photo {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 55%;
	border-radius: 28px;
	box-shadow: 0 30px 70px rgba(0, 20, 26, 0.55);
	animation: hero-kenburns 24s ease-in-out infinite alternate;
}

/* Ken-Burns im Bildausschnitt, nicht über den Rand hinaus */
.hero__frame {
	isolation: isolate;
}

.hero__chip {
	position: absolute;
	left: -14px;
	bottom: 26px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(0, 38, 45, 0.55);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: 0 12px 30px rgba(0, 20, 26, 0.4);
	animation: hero-chip-float 5.5s ease-in-out infinite alternate;
}

.hero__chip-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #46d7e6;
	box-shadow: 0 0 0 0 rgba(70, 215, 230, 0.7);
	animation: hero-pulse 2.2s ease-out infinite;
}

@keyframes hero-visual-in {
	from {
		opacity: 0;
		transform: translateY(40px) scale(0.94);
		clip-path: inset(10% 10% 10% 10% round 36px);
	}
	to {
		opacity: 1;
		transform: none;
		clip-path: inset(-40px -40px -40px -40px round 0);
	}
}

@keyframes hero-kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.045); }
}

@keyframes hero-frame-float {
	from { transform: translate(16px, 16px); }
	to { transform: translate(22px, 10px); }
}

@keyframes hero-chip-float {
	from { transform: translateY(0); }
	to { transform: translateY(-8px); }
}

@keyframes hero-pulse {
	0% { box-shadow: 0 0 0 0 rgba(70, 215, 230, 0.7); }
	100% { box-shadow: 0 0 0 12px rgba(70, 215, 230, 0); }
}

@media (max-width: 959px) {
	.hero--split {
		min-height: auto;
	}
	.hero--split .hero__inner {
		padding-block: 20px 56px;
	}
	.hero__frame {
		aspect-ratio: 5 / 4;
	}
	.hero__frame::before {
		transform: translate(10px, 10px);
	}
	.hero__chip {
		left: 8px;
		bottom: 14px;
		font-size: 0.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__visual,
	.hero__photo,
	.hero__chip,
	.hero__chip-dot,
	.hero__frame::before {
		animation: none;
	}
}

/* ===== Zahlenband über die volle Breite (Trenner) ===== */
.stats-strip {
	position: relative;
	overflow: hidden;
	padding: 34px 0;
	background: linear-gradient(110deg, #00262d 0%, #00444f 50%, #006a79 100%);
	color: #fff;
}

.stats-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, transparent 35%, rgba(70, 215, 230, 0.16) 50%, transparent 65%);
	transform: translateX(-60%);
	animation: strip-shine 9s ease-in-out infinite;
	pointer-events: none;
}

.stats-strip .trust-stats {
	position: relative;
	margin: 0;
	padding: 0 12px;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

@keyframes strip-shine {
	0%, 35% { transform: translateX(-60%); }
	75%, 100% { transform: translateX(60%); }
}

@media (prefers-reduced-motion: reduce) {
	.stats-strip::before {
		animation: none;
	}
}

/* Hero-Überschrift v2.13.1: Farbverlauf-Text endet wegen enger Laufweite sonst vor dem letzten Buchstaben */
.hero__word--accent-a > span,
.hero__word--accent-b > span {
	padding-inline: 0.06em 0.16em;
	margin-inline: -0.06em -0.16em;
}

/* ===== Hero "Strom fließt" (v2.14.0) – Code-Hintergrund ohne Foto ===== */
.hero--strom{background:radial-gradient(120% 90% at 20% 10%,#00798a 0%,#005d6b 38%,#00262d 100%);}
.hero--strom .hero__bg,.hero--strom .hero__overlay{display:none;}
.hero--strom .hero__grid{display:none;}
.hero__circuit{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;}
.hero__circuit-line{fill:none;stroke:rgba(255,255,255,.12);stroke-width:1.5;}
.hero__circuit-node{fill:#7fe3ee;opacity:.55;}
.hero__circuit-pulse{fill:none;stroke:#9ff1f8;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:36 964;stroke-dashoffset:1000;opacity:0;filter:drop-shadow(0 0 6px #7fe3ee);animation:hero-pulse 9s linear infinite;}
.hero__circuit-pulse--1{animation-delay:.6s;animation-duration:8s;}
.hero__circuit-pulse--2{animation-delay:2.4s;animation-duration:10s;}
.hero__circuit-pulse--3{animation-delay:4.8s;animation-duration:9s;}
.hero__circuit-pulse--4{animation-delay:1.5s;animation-duration:11s;}
.hero__circuit-pulse--5{animation-delay:6.2s;animation-duration:8s;}
.hero__circuit-pulse--6{animation-delay:3.6s;animation-duration:10s;}
@keyframes hero-pulse{0%{stroke-dashoffset:1000;opacity:0;}8%{opacity:1;}45%{opacity:1;}55%{stroke-dashoffset:0;opacity:0;}100%{stroke-dashoffset:0;opacity:0;}}
.hero__spot{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(520px circle at var(--mx,70%) var(--my,35%),rgba(127,227,238,.20),transparent 60%);transition:background-position .2s;}
.hero--strom .hero__inner{position:relative;z-index:1;display:block;text-align:center;}
.hero--strom .hero__copy{margin-inline:auto;max-width:860px;}
.hero--strom .hero__eyebrow,.hero--strom .hero__actions{justify-content:center;}
.hero--strom .hero__headline{font-size:clamp(2.8rem,7.4vw,6rem);line-height:1.04;}
.hero--strom .hero__subline{margin-inline:auto;}
@media (prefers-reduced-motion:reduce){.hero__circuit-pulse{animation:none;opacity:0;}.hero__spot{display:none;}}

.hero--strom .hero__subline{max-width:640px;margin-inline:auto;text-align:center;}
.hero--strom .hero__subline--lead{font-size:1.15rem;margin-bottom:.6rem;}
.hero--strom .hero__subline--second{font-size:1rem;opacity:.85;}

/* Strom-Hero ruhiger (v2.14.2): Eyebrow nach unten, langsamere, leisere Pulse */
.hero--strom .hero__copy{display:flex;flex-direction:column;align-items:center;}
.hero--strom .hero__eyebrow{order:10;margin:2.2rem 0 0;}
.hero--strom .hero__actions{margin-top:1.8rem;}
.hero__circuit-line{stroke:rgba(255,255,255,.08);}
.hero__circuit-node{opacity:.35;}
.hero__circuit-pulse{stroke-width:2;opacity:0;filter:drop-shadow(0 0 4px #7fe3ee);}
.hero__circuit-pulse--1{animation-duration:15s;animation-delay:1s;}
.hero__circuit-pulse--2{animation-duration:17s;animation-delay:5s;}
.hero__circuit-pulse--3{animation-duration:16s;animation-delay:9s;}
.hero__circuit-pulse--4{animation-duration:18s;animation-delay:3s;}
.hero__circuit-pulse--5{animation-duration:15s;animation-delay:11s;}
.hero__circuit-pulse--6{animation-duration:17s;animation-delay:7s;}
.hero__spot{background:radial-gradient(520px circle at var(--mx,70%) var(--my,35%),rgba(127,227,238,.12),transparent 60%);}

/* v2.14.3: Pulse/Linien/Lichtschein wieder wie in v2.14.1 (nur Eyebrow bleibt unten) */
.hero__circuit-line{stroke:rgba(255,255,255,.12);}
.hero__circuit-node{opacity:.55;}
.hero__circuit-pulse{stroke-width:2.5;filter:drop-shadow(0 0 6px #7fe3ee);}
.hero__circuit-pulse--1{animation-duration:8s;animation-delay:.6s;}
.hero__circuit-pulse--2{animation-duration:10s;animation-delay:2.4s;}
.hero__circuit-pulse--3{animation-duration:9s;animation-delay:4.8s;}
.hero__circuit-pulse--4{animation-duration:11s;animation-delay:1.5s;}
.hero__circuit-pulse--5{animation-duration:8s;animation-delay:6.2s;}
.hero__circuit-pulse--6{animation-duration:10s;animation-delay:3.6s;}
.hero__spot{background:radial-gradient(520px circle at var(--mx,70%) var(--my,35%),rgba(127,227,238,.20),transparent 60%);}

/* v2.14.4: Eyebrow schlicht – kein blinkender Punkt, kein Kreis/Rahmen */
.hero__eyebrow{background:none;border:0;box-shadow:none;padding:0;border-radius:0;backdrop-filter:none;-webkit-backdrop-filter:none;opacity:.8;}
.hero__eyebrow-dot{display:none;}

/* v2.14.5: Teamfoto bei "Warum Elektro Jatho" oben angeschnitten, nimmt weniger Höhe ein */
.trust-section__media img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:50% 78%;}

/* v2.14.6: Teamfoto zeigt Solardach und etwas Himmel */
.trust-section__media img{aspect-ratio:4/5;object-position:50% 60%;}

/* v2.14.7: Startseite mittig + Lichtschein ruhiger / am Handy aus */
.home-content .trust-section__text,
.home-content .trust-section__content{text-align:center;}
.home-content .trust-section__text p{margin-inline:auto;}
.home-content .trust-list{display:inline-block;text-align:left;margin-inline:auto;}
.home-content .service-tile{text-align:center;align-items:center;}
.home-content .service-tile__icon,.home-content .service-tile__title,.home-content .service-tile__text{text-align:center;margin-inline:auto;}
.hero--strom .hero__glow{opacity:.45;animation-duration:40s;}
.hero--strom .hero__spot{background:radial-gradient(520px circle at var(--mx,70%) var(--my,35%),rgba(127,227,238,.08),transparent 60%);}
@media (max-width:959px),(pointer:coarse){
.hero--strom .hero__glow,.hero--strom .hero__spot{display:none;}
}

/* v2.15.1: Zahlenstreifen wieder mittig (Container-Seitenabstand auto) */
.stats-strip .trust-stats{margin-left:auto !important;margin-right:auto !important;width:100%;}

/* v2.15.2: Go-live-Feinschliff */
html{overflow-x:clip;}
.site-footer__address{font-style:normal;}
.form-privacy{font-size:.875rem;color:#5b6b70;margin:0 0 1rem;}
.form-privacy a{text-decoration:underline;}
@media (max-width:959px){
.site-footer a:not(.btn){display:inline-block;padding-block:.6rem;}
.house__more{display:inline-flex;align-items:center;min-height:44px;}
.nav-extra__social{min-height:44px;display:inline-flex;align-items:center;}
}

/* v2.15.3: Leistungen ohne Foto = Text mittig, keine Platzhalterkästen */
.service-block__inner:not(:has(.service-block__media)){display:block;max-width:760px;margin-inline:auto;text-align:center;}
.service-block__inner:not(:has(.service-block__media)) .service-block__text{max-width:none;}

/* v2.15.4: Partner-Laufband im Dunkelmodus – Logos bleiben in Originalfarben auf hellem Band */
[data-theme="dark"] .partner-marquee__viewport{background:#f3f7f8;border-radius:18px;padding-block:10px;}
[data-theme="dark"] .partner-marquee__name{color:#3b4a4f;opacity:1;}
[data-theme="dark"] .partner-marquee__item img{opacity:1;}

/* v2.15.5: Partner-Laufband als durchgehender Streifen über die volle Breite (wie der Zahlenstreifen) */
.partner-marquee{background:#eef5f6;padding:34px 0 28px;border-block:1px solid rgba(0,124,142,.14);}
.partner-marquee__title{margin-bottom:18px;}
[data-theme="dark"] .partner-marquee{background:#f3f7f8;border-color:rgba(255,255,255,.08);}
[data-theme="dark"] .partner-marquee__viewport{background:none;border-radius:0;padding-block:0;}
[data-theme="dark"] .partner-marquee__title,[data-theme="dark"] .partner-marquee__credit{color:#4a5a5f;}

/* v2.15.6: Partner-Streifen in den Farben des Zahlenstreifens, Logos in Originalfarben auf weißen Kacheln */
.partner-marquee,[data-theme="dark"] .partner-marquee{background:linear-gradient(110deg,#00262d 0%,#00444f 50%,#006a79 100%);border:0;color:#fff;padding:34px 0;}
.partner-marquee__title,[data-theme="dark"] .partner-marquee__title{color:rgba(255,255,255,.82);}
.partner-marquee__credit,[data-theme="dark"] .partner-marquee__credit{color:rgba(255,255,255,.6);}
.partner-marquee__item,[data-theme="dark"] .partner-marquee__item{height:62px;padding:0 26px;background:#fff;border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.18);}
.partner-marquee__item img,[data-theme="dark"] .partner-marquee__item img{max-height:36px;max-width:170px;}
.partner-marquee__name,[data-theme="dark"] .partner-marquee__name{color:#3b4a4f;opacity:1;}
.partner-marquee__track{gap:28px;padding-right:28px;}
[data-theme="dark"] .partner-marquee__viewport{background:none;}

/* v2.15.7: Logo-Kacheln dezenter – leicht transparent, kein Schatten */
.partner-marquee__item,[data-theme="dark"] .partner-marquee__item{background:rgba(255,255,255,.9);box-shadow:none;border:1px solid rgba(255,255,255,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:12px;}

/* v2.15.8: Logo-Kacheln noch transparenter (70 %) */
.partner-marquee__item,[data-theme="dark"] .partner-marquee__item{background:rgba(255,255,255,.7);border-color:rgba(255,255,255,.28);}

/* v2.15.9: Schimmer über dem Zahlenstreifen – deutlicher sichtbar, schmaler Lichtstreifen alle ~7 s (zum Zurücksetzen diesen Block löschen) */
.stats-strip::before{background:linear-gradient(100deg,transparent 40%,rgba(120,235,245,.30) 50%,transparent 60%);transform:translateX(-70%);animation:strip-shimmer 7s ease-in-out infinite;}
@keyframes strip-shimmer{0%,40%{transform:translateX(-70%);}80%,100%{transform:translateX(70%);}}
@media (prefers-reduced-motion:reduce){.stats-strip::before{animation:none;}}

/* v2.15.10: Schimmer wieder subtiler – sehr zart, langsamer, seltener */
.stats-strip::before{background:linear-gradient(100deg,transparent 35%,rgba(120,235,245,.12) 50%,transparent 65%);animation-duration:11s;}

/* v2.16.3 – Kontakt-CTA ohne Kasten */
section.contact-cta{background:transparent;border-radius:0;margin-inline:0;margin-top:clamp(40px,7vw,96px);padding-block:clamp(48px,8vw,96px)}
