/*
Theme Name: Meyer Energie
Theme URI: https://demo.meyer-energiesysteme.de
Author: Meyer-Energiesysteme GmbH (Demo)
Description: Klassisches, schlankes Theme für die Demo-Website der Meyer-Energiesysteme GmbH. Schriften lokal eingebunden, keine externen Ressourcen.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: meyer-energie
*/

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

/* ---------- Variablen ---------- */
:root {
	--ink: #16181b;
	--char: #1d2024;
	--char-2: #26292e;
	--text: #2b2e33;
	--muted: #5a6068;
	--line: #e3e0da;
	--sand: #f4f1ec;
	--paper: #ffffff;
	--accent: #e08a4f;      /* Dekor auf Dunkel */
	--accent-ink: #9a4f1e;  /* Text auf Hell, 5,9:1 */
	--focus: #b35d22;
	--radius: 4px;
	--pill: 999px;
	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 56px);
	--sec: clamp(72px, 10vw, 140px);
	--font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--header-h: 92px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--ink); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 500; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
address { font-style: normal; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.site-footer .muted { color: #a7adb5; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.split--dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #ffffff; }

.skip-link {
	position: absolute; left: 16px; top: -80px; z-index: 1000;
	background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: var(--radius);
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.site-main:focus { outline: none; }

/* ---------- Typo-Bausteine ---------- */
.kicker {
	font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--muted); margin: 0 0 1.4rem;
}
.kicker--light { color: rgba(255,255,255,.82); }
.h-display { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.h-section { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 300; line-height: 1.15; letter-spacing: -.015em; }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--text); }
.link-arrow { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →" / ""; }
.link-arrow:hover { color: var(--accent-ink); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #f3c4a0; }
.note-inline { font-size: .85rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	min-height: 48px; padding: .75em 1.6em; border-radius: var(--pill);
	font: 500 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--arrow::after { content: "→" / ""; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1ece5; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #33373d; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	color: #fff; transition: background-color .3s, box-shadow .3s;
}
.site-header__inner {
	max-width: 1440px; margin: 0 auto; height: var(--header-h);
	padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px;
}
.site-header.is-scrolled, body:not(.has-hero) .site-header { background: rgba(22,24,27,.94); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-scrolled { background: rgba(22,24,27,.82); backdrop-filter: blur(10px); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.logo__mark { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.logo__tag { font-size: .66rem; font-weight: 400; letter-spacing: .04em; opacity: .8; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav__list a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 400; padding: 8px 0; position: relative; }
.nav__list a::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__list a:hover::before, .nav__list .current-menu-item > a::before, .nav__list .current_page_item > a::before { transform: scaleX(1); }
.nav__list .menu-cta { margin-left: clamp(4px, 1.5vw, 28px); }
.nav__list .menu-cta > a { border: 1px solid rgba(255,255,255,.75); border-radius: var(--pill); padding: 12px 24px; }
.nav__list .menu-cta > a::before { display: none; }
.nav__list .menu-cta > a::after { content: " →" / ""; }
.nav__list .menu-cta > a:hover { background: #fff; color: var(--ink); }
.nav__contact { display: none; }

.nav-toggle {
	display: none; margin-left: auto; align-items: center; gap: 10px;
	background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: var(--pill);
	padding: 10px 16px; min-height: 44px; font: 500 .85rem var(--font); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; display: inline-block; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: inline-flex; position: relative; z-index: 2; }
	.nav {
		position: fixed; inset: 0; z-index: 1; margin: 0;
		background: var(--ink); flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto;
		visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s;
	}
	.nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
	.nav__list { flex-direction: column; align-items: flex-start; gap: 0; }
	.nav__list li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
	.nav__list a { display: block; font-size: 1.5rem; font-weight: 300; padding: 14px 0; }
	.nav__list a::before { display: none; }
	.nav__list .menu-cta { margin: 28px 0 0; border: 0; }
	.nav__list .menu-cta > a { display: inline-block; font-size: 1.05rem; font-weight: 500; padding: 14px 26px; }
	.nav__contact { display: block; margin-top: 36px; font-size: .9rem; color: rgba(255,255,255,.75); }
	.nav__contact a { color: #fff; }
	.logo { position: relative; z-index: 2; }
	body.nav-open { overflow: hidden; }
	body.nav-open .site-header { background: var(--ink); }
}
@media (max-width: 420px) {
	.logo__tag { display: none; }
	.logo__name { font-size: .7rem; letter-spacing: .07em; }
	.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
	.nav-toggle { padding: 10px 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--char); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Bildausschnitt für Motive, deren Personen rechts stehen */
.hero__media img.focus-right, .split__media img.focus-right { object-position: 72% center; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(14,15,17,.55) 0%, rgba(14,15,17,0) 22%),
		linear-gradient(90deg, rgba(14,15,17,.62) 0%, rgba(14,15,17,.28) 45%, rgba(14,15,17,0) 70%),
		linear-gradient(0deg, rgba(14,15,17,.55) 0%, rgba(14,15,17,0) 45%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero--home { min-height: 100vh; min-height: 100svh; }
.hero--home .hero__content > * { max-width: 640px; }
.hero--page { min-height: 72vh; min-height: 72svh; }
.hero--page .hero__content > * { max-width: 760px; }
.hero--plain { min-height: 0; background: var(--char); }
.hero--plain .hero__content { padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; }
.hero__title { color: #fff; font-weight: 300; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 1.6rem; text-wrap: balance; }
.hero__title--xl { font-size: clamp(3rem, 7.4vw, 6rem); }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.55; color: rgba(255,255,255,.92); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(40px, 7vh, 72px); }
.hero__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 8px; font-size: .84rem; }
.hero__links li + li::before { content: "|" / ""; margin: 0 14px; opacity: .55; }
.hero__links a { color: rgba(255,255,255,.92); text-decoration: none; }
.hero__links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Abschnitte ---------- */
.section { padding: var(--sec) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding: calc(var(--sec) * .6) 0; }
.section--dark { background: var(--char); color: rgba(255,255,255,.86); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .kicker { color: rgba(255,255,255,.7); }
.section + .section:not(.section--sand):not(.section--dark) { border-top: 1px solid var(--line); }

.intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.intro .h-display, .intro .h-section { margin-bottom: 0; }
.intro__aside p:last-child { margin-bottom: 0; }
.intro--top { align-items: start; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; font-weight: 300; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 96px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }

/* Karten */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card__link { display: block; text-decoration: none; color: var(--ink); }
.card__media { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card__link:hover .card__media img { transform: scale(1.035); }
.card__title { display: block; margin-top: 16px; font-size: 1rem; font-weight: 500; }
.card__num { color: var(--accent-ink); font-size: .75rem; font-weight: 600; margin-right: 10px; }
.card__text { display: block; margin-top: 6px; font-size: .88rem; line-height: 1.55; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: min(640px, 80vh); }
.split__media { position: relative; min-height: 340px; background: var(--sand); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 120px) clamp(24px, 6vw, 110px); }
.split__body > * { max-width: 520px; }
.split--dark .split__body { background: var(--char); color: rgba(255,255,255,.86); }
.split--dark h2, .split--dark h3 { color: #fff; }
.split--reverse .split__media { order: 2; }
.split--sand .split__body { background: var(--sand); }
.split .facts { margin-top: 8px; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 22px; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 600; color: var(--accent-ink); margin-bottom: 18px; letter-spacing: .08em; }
.step__title { font-size: 1.1rem; font-weight: 500; margin-bottom: .5em; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.section--dark .step { border-top-color: rgba(255,255,255,.4); }
.section--dark .step::before { color: var(--accent); }
.section--dark .step p { color: rgba(255,255,255,.75); }

/* Fakten / Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 1.5em; }
.facts > div { border-top: 1px solid var(--line); padding: 16px 0; }
.facts dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-size: 1.05rem; color: var(--ink); }
.split--dark .facts > div, .section--dark .facts > div { border-top-color: rgba(255,255,255,.16); }
.split--dark .facts dt, .section--dark .facts dt { color: rgba(255,255,255,.66); }
.split--dark .facts dd, .section--dark .facts dd { color: #fff; }
.facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Leistungsliste */
.list-lines { list-style: none; padding: 0; margin: 0 0 1.4em; }
.list-lines li { border-top: 1px solid var(--line); padding: 12px 0 12px 26px; position: relative; }
.list-lines li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 1px; background: var(--accent-ink); }
.split--dark .list-lines li, .section--dark .list-lines li { border-top-color: rgba(255,255,255,.16); }
.split--dark .list-lines li::before, .section--dark .list-lines li::before { background: var(--accent); }

/* Hinweis-Box */
.notice { border-left: 3px solid var(--accent-ink); background: var(--sand); padding: 20px 24px; font-size: .93rem; margin: 0 0 1.5em; }
.notice p:last-child { margin: 0; }

/* System-Abschnitte (Energiesysteme) */
.system { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.system + .system { margin-top: var(--sec); }
.system--reverse .system__media { order: 2; }
.system__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.system__media img { width: 100%; height: 100%; object-fit: cover; }
.system__num { font-size: .8rem; font-weight: 600; color: var(--accent-ink); letter-spacing: .08em; margin-bottom: 10px; display: block; }
.anchor-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.anchor-nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav a { display: block; padding: 16px 0; white-space: nowrap; font-size: .88rem; text-decoration: none; color: var(--text); }
.anchor-nav a:hover { color: var(--accent-ink); }

/* Referenzen */
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.5vw, 36px); }
.refs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.ref__meta { margin: 16px 0 4px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ref__title { font-size: 1.2rem; font-weight: 400; margin-bottom: .5em; }
.ref__badge { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); padding: 3px 10px; border-radius: var(--pill); color: var(--muted); margin-bottom: 8px; }
.ref p { font-size: .93rem; }
.ref .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: .9rem; }
.ref .facts dd { font-size: .95rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 1.6rem; color: var(--accent-ink); }
.faq details[open] summary::after { content: "–" / ""; }
.faq details > div { padding: 0 0 22px; max-width: 760px; color: var(--text); }

/* CTA-Band */
.cta-band { background: var(--ink); color: rgba(255,255,255,.86); padding: clamp(64px, 8vw, 110px) 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 110px); align-items: end; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin-bottom: 1.6em; }

/* Formular */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 12px; padding: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { display: block; font-size: .88rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
	border: 1px solid #8f949b; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; border: 1px solid #8f949b; border-radius: var(--pill); padding: 10px 18px; font-size: .9rem; cursor: pointer; user-select: none; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form .consent { font-size: .85rem; color: var(--muted); }
.form-status { font-size: .92rem; min-height: 1.5em; }
.aside-box { background: var(--sand); padding: clamp(24px, 3vw, 40px); }
.aside-box h2 { font-size: 1.3rem; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: #111315; color: rgba(255,255,255,.78); padding: clamp(64px, 7vw, 100px) 0 32px; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__claim { margin-top: 22px; max-width: 360px; }
.site-footer__title { color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer__menu, .site-footer__legal { list-style: none; margin: 0; padding: 0; }
.site-footer__menu li { margin-bottom: 6px; }
.site-footer__menu a, .site-footer__legal a { text-decoration: none; }
.site-footer__menu a:hover, .site-footer__legal a:hover { text-decoration: underline; }
.demo-note { margin: 56px 0 0; padding: 18px 22px; border: 1px solid rgba(224,138,79,.55); border-radius: var(--radius); color: rgba(255,255,255,.88); font-size: .88rem; }
.demo-note strong { color: var(--accent); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.intro, .cta-band__inner, .cols-2, .form-layout { grid-template-columns: minmax(0, 1fr); }
	.intro { align-items: start; }
	.split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.split__media { aspect-ratio: 4 / 3; min-height: 0; }
	.split--reverse .split__media { order: 0; }
	.system, .system--reverse { grid-template-columns: minmax(0, 1fr); }
	.system--reverse .system__media { order: 0; }
	.system__media { aspect-ratio: 4 / 3; }
	.refs, .cols-3, .steps--3 { grid-template-columns: minmax(0, 1fr); }
	.refs--teaser { grid-template-columns: minmax(0, 1fr); }
	.hero--page { min-height: 64vh; min-height: 64svh; }
}
@media (max-width: 600px) {
	.cards { grid-template-columns: minmax(0, 1fr); }
	.steps, .facts--4, .form-row, .refs--2 { grid-template-columns: minmax(0, 1fr); }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__links { font-size: .8rem; }
	.hero__links li + li::before { margin: 0 9px; }
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }
	.cards .card__media { aspect-ratio: 4 / 3; }
}
/* Fixed-Overlay darf nicht im Header-Kontext (backdrop-filter) hängen */
body.nav-open .site-header { backdrop-filter: none; }
@media (max-width: 600px) {
	.hero__links { column-gap: 20px; row-gap: 10px; }
	.hero__links li + li::before { content: none; }
}
