/* ════════════════════════════════════════════════════════════════
   Fernwärme Attnang-Puchheim GmbH
   Ergänzt base.css (Design-System der IHL-Website) um die
   Fernwärme-Bausteine: Wortmarke, Haus-Vergleich,
   Straßenzug, CO2-Kreislauf, Netz-Legende, Fragen.
   ════════════════════════════════════════════════════════════════ */

:root {
	--grey-brand: #6b7480;
	--ret: #9aa2ae;
}

/* ── Anpassungen am Grundsystem ────────────────────────────────── */
.scroll-progress { box-shadow: none; }
.hero-title .accent { color: var(--red); }

/* ── Wortmarke (nach dem bestehenden Logo) ─────────────────────── */
.fw-logo { display: inline-flex; flex-direction: column; line-height: 1; }
.fw-word {
	font-family: var(--font-disp); font-weight: 700; font-size: 1.5rem;
	letter-spacing: .005em; color: var(--grey-brand);
}
.fw-sub {
	display: flex; align-items: center; gap: 7px; margin-top: 4px;
	font-family: var(--font-disp); font-weight: 600; font-size: .74rem;
	letter-spacing: .02em; color: var(--grey-brand);
}
.fw-sub i {
	display: block; width: 46px; height: 7px; border-radius: 7px 2px 7px 2px;
	background: var(--red);
}
.fw-logo-dark .fw-word, .fw-logo-dark .fw-sub { color: #c9ced6; }
.preloader-brand .fw-word { font-size: 2rem; }

/* ── Kicker: kurze Zeile über Überschriften, Satzschreibung ────── */
.fw-kicker {
	display: flex; align-items: center; gap: 12px;
	font-weight: 700; font-size: .95rem; color: var(--red-deep);
	margin-bottom: 16px;
}
.fw-kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--red); }
.fw-kicker-dark, .platform-copy .fw-kicker-dark { color: #ff6a5c; }
.fw-hero .fw-kicker { color: var(--text-mid); font-weight: 400; font-size: 1rem; }
.fw-head h2 { max-width: 26ch; }
.fw-lead { max-width: 62ch; margin-top: 20px; color: var(--text-mid); font-size: 1.12rem; }
.fw-lead a { color: var(--text); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 3px; }
.fw-note { font-size: .88rem; color: var(--text-mid); margin-top: 18px; }

/* Hero-Fakten */
.fw-facts .stat dd { font-size: clamp(1.55rem, 2.4vw, 2.2rem); }
.fw-facts .stat dd .unit { font-size: .6em; color: var(--text-mid); }
.fw-facts sub { font-size: .55em; }

/* ── SVG-Grundstriche (gemeinsam für alle Schemata) ────────────── */
.ww-ground { stroke: #b8bec7; stroke-width: 1.5; }
.ww-line { fill: none; stroke: var(--ink-3); stroke-width: 2; }
.ww-box { fill: #fff; stroke: var(--ink-3); stroke-width: 2; stroke-linejoin: round; }
.ww-win { fill: #eef0f3; stroke: var(--ink-3); stroke-width: 1.5; }
.ww-cellar { fill: #eceef2; stroke: var(--ink-3); stroke-width: 2; }
.ww-flame { fill: var(--red); }
.ww-steam { fill: none; stroke: #c9ced6; stroke-width: 2; stroke-linecap: round; }
.ww-rad { fill: #fff; stroke: var(--red); stroke-width: 2; }
.ww-heat { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; opacity: .7; }
.ww-hx { fill: none; stroke: var(--red); stroke-width: 2; stroke-linejoin: round; }
.ww-hx-ret { stroke: var(--ret); }
.ww-tag { font-family: var(--font-body); font-size: 13px; fill: var(--text-mid); }
.ww-pipe { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ww-pipe-thin { stroke-width: 4; }
.ww-pipe-bg { stroke: #dfe2e7; }
.ww-supply { stroke: var(--red); }
.ww-return { stroke: var(--ret); }

/* Dampf über dem Heizwerk im Straßenzug */
.ww-steam { animation: steam 3s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .2; transform: translateY(4px); } 50% { opacity: 1; transform: none; } }

/* Nummern in den Schritten zum Anschluss */
.ww-n {
	display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
	border: 1.5px solid #c9ced6; font-size: .8rem; color: var(--text-mid);
}

/* ══════════ HAUS-VERGLEICH ══════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hv {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(20px, 3vw, 40px);
}
.hv-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: clamp(20px, 3vw, 34px); }
.hv-label { font-weight: 700; }
.hv-switch, .hv-view {
	display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px;
	background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
}
.hv-switch button, .hv-view button {
	min-height: 44px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 1rem; color: var(--text-mid);
	transition: background .3s, color .3s, box-shadow .3s;
}
.hv-switch button:hover, .hv-view button:hover { color: var(--text); }
.hv-switch button[aria-checked="true"], .hv-view button[aria-checked="true"] { background: var(--paper); color: var(--text); box-shadow: 0 1px 2px rgba(12,14,17,.08), 0 4px 12px rgba(12,14,17,.08); }
.hv-view { margin-bottom: 14px; }
.hv-view button { min-height: 38px; padding: 7px 14px; font-size: .92rem; }
.hv-view button[data-view="fw"][aria-checked="true"] { background: var(--red); color: #fff; }
.hv-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hv-figure { margin: 0; }
.hv-svg { width: 100%; height: auto; overflow: visible; }
.hm { transition: opacity .5s var(--ease-out); opacity: 0; }
.hv-svg[data-mode="oel"] .hm-oel,
.hv-svg[data-mode="pellets"] .hm-pellets,
.hv-svg[data-mode="gas"] .hm-gas,
.hv-svg[data-mode="fw"] .hm-fw { opacity: 1; }
/* Ohne JavaScript: Grafik zeigt Fernwärme, Umschalter ausblenden */
html:not(.js) .hm-fw { opacity: 1; }
html:not(.js) .nav-toggle, html:not(.js) .hv-controls, html:not(.js) .hv-view, html:not(.js) .sk-controls, html:not(.js) .platform-viz { display: none; }
.hv-flue { stroke: #c9ced6; stroke-width: 3; stroke-dasharray: 5 5; }
.hv-smoke circle { fill: #c3c8cf; opacity: .8; animation: smoke 3.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.hv-smoke circle:nth-child(2) { animation-delay: -1.2s; }
.hv-smoke circle:nth-child(3) { animation-delay: -2.4s; }
@keyframes smoke { 0% { transform: translateY(14px) scale(.6); opacity: 0; } 30% { opacity: .85; } 100% { transform: translateY(-14px) scale(1.2); opacity: 0; } }
.hv-level { stroke: #c9ced6; stroke-dasharray: 4 4; }
.hv-pile { fill: #e7e2d8; stroke: var(--ink-3); stroke-width: 1.5; }
.hv-gasline { fill: none; stroke: var(--ink-3); stroke-width: 5; }
.hv-free { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 7 6; }
.hv-free-t { fill: var(--red-deep); font-weight: 700; }
.hv-in { stroke-width: 6; }
.hv-svg .ww-tag { font-size: 15px; }

/* Tabelle: Kriterium | heute | mit Fernwärme */
.hv-rows { display: grid; align-content: start; }
.hv-row {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 16px;
	padding: 14px 0; border-top: 1px solid var(--line); align-items: start;
}
.hv-rows .hv-row:last-child { border-bottom: 1px solid var(--line); }
.hv-head { border-top: 0; padding-top: 0; font-weight: 700; font-size: .95rem; }
.hv-head-today { color: var(--text); }
.hv-head-fw { color: var(--red-deep); }
.hv-row dt { font-size: 1rem; color: var(--text-mid); }
.hv-row dd { display: flex; gap: 10px; align-items: flex-start; font-size: 1.0625rem; line-height: 1.45; color: var(--text); }
.hv-fwv { font-weight: 700; }
.hv-pre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hv-row dd::before {
	content: ''; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
	background: #9aa2ae url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hv-row dd[data-state="good"]::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hv-row dd.hv-fwv::before { background-color: var(--red); }
.hv-row dd[data-state="neutral"]::before { width: 14px; height: 3px; margin: 11px 2px 0; border-radius: 2px; background: #9aa2ae; }
.hv-today.is-changed { animation: row-in .5s var(--ease-out); }
@keyframes row-in { from { opacity: 0; transform: translateX(8px); } }

/* Schritte zum Anschluss */
.fw-steps-wrap { margin-top: clamp(56px, 7vw, 88px); }
.fw-sub-h { font-family: var(--font-disp); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 28px; }
.fw-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); margin-bottom: 34px; }
.fw-steps li { padding-top: 22px; border-top: 3px solid var(--ink); }
.fw-steps .ww-n { background: var(--red); border-color: var(--red); color: #fff; margin-bottom: 14px; }
.fw-steps h4 { font-family: var(--font-disp); font-weight: 700; font-size: 1.35rem; margin-bottom: 8px; }
.fw-steps p { color: var(--text-mid); font-size: 1rem; }

/* ══════════ STRASSENZUG ══════════ */
.sk { margin: 0 0 clamp(64px, 8vw, 100px); }
.sk-svg { width: 100%; height: auto; overflow: visible; }
.sk-house .ww-box { transition: stroke .4s; }
.sk-conn { stroke: var(--red); stroke-width: 3; opacity: 0; transition: opacity .5s var(--ease-out); }
.sk-house.is-on .sk-conn { opacity: 1; }
.sk-station { fill: var(--red); opacity: 0; transition: opacity .5s; }
.sk-house.is-on .sk-station { opacity: 1; }
.sk-puff { fill: #cfd3da; transform-box: fill-box; transform-origin: center; animation: puff 3.2s ease-out infinite; transition: opacity .5s; }
.sk-house.is-on .sk-puff { opacity: 0 !important; animation-play-state: paused; }
@keyframes puff { 0% { transform: translateY(10px) scale(.5); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(-22px) scale(1.3); opacity: 0; } }
#skyMain { stroke-dasharray: 100 100; transition: stroke-dashoffset .6s var(--ease-out); }
.sk-controls { display: grid; grid-template-columns: auto minmax(160px, 380px) 1fr; gap: 14px 24px; align-items: center; margin-top: 22px; }
.sk-label { font-weight: 700; }
.sk-out { color: var(--text-mid); }
.sk-out b { color: var(--text); font-family: var(--font-disp); font-size: 1.2rem; }
.sk-cap { display: none; font-size: .95rem; color: var(--text-mid); margin-top: 10px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red) var(--fill, 33%), #dfe2e7 var(--fill, 33%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #dfe2e7; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--red); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(12,14,17,.18); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
input[type="range"]:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

/* ══════════ CO2-KREISLAUF ══════════ */
.co2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.co2-figure { margin: 0; max-width: 440px; }
.co2-svg { width: 100%; height: auto; }
.co2-ring { fill: none; stroke: #eceef2; stroke-width: 18; }
.co2-arc { fill: none; stroke: #9aa2ae; stroke-width: 2; }
.co2-orbit { transform-origin: 210px 210px; animation: orbit 16s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.co2-dot { fill: var(--red); }
.co2-node circle { fill: #fff; stroke: var(--ink-3); stroke-width: 2; transition: fill .3s, stroke .3s; }
.co2-ic { fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.co2-t { font-family: var(--font-disp); font-weight: 700; font-size: 17px; fill: var(--ink-3); transition: fill .3s; }
.co2-node.is-on circle { fill: var(--red); stroke: var(--red); }
.co2-node.is-on .co2-ic { stroke: #fff; }
.co2-node.is-on .co2-t { fill: #fff; }
.co2-center { font-family: var(--font-body); font-size: 15px; fill: var(--text-mid); }
.co2-center-b { font-family: var(--font-disp); font-weight: 700; font-size: 30px; fill: var(--text); }
.co2-copy h3 { font-family: var(--font-disp); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.co2-copy > p { color: var(--text-mid); }
.co2-steps { list-style: none; counter-reset: none; margin: 24px 0 0; display: grid; gap: 4px; }
.co2-steps li {
	padding: 12px 16px; border-left: 3px solid var(--line); color: var(--text-mid); cursor: default;
	transition: border-color .3s, background .3s, color .3s;
}
.co2-steps li b { color: var(--text); }
.co2-steps li.is-on { border-left-color: var(--red); background: var(--paper-2); color: var(--text); }

/* ══════════ NETZ ══════════ */
.fw-h2-dark {
	font-family: var(--font-disp); font-weight: 700; color: #fff;
	font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em;
	margin-bottom: 28px; text-wrap: balance;
}
.fw-btn-dark { margin-top: 34px; }
.viz-legend {
	display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 18px;
	border-top: 1px solid var(--ink-line); font-size: .82rem; color: #b9c0ca;
}
.viz-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; }
.lg-net { width: 18px; height: 3px; border-radius: 2px; background: #ff3c1e; }
.lg-plant { width: 11px; height: 11px; background: #2a3038; outline: 1.5px solid #9aa2ae; outline-offset: -1.5px; }
.lg-sub { width: 9px; height: 9px; background: #ff4628; transform: rotate(45deg); }
.lg-bld { width: 8px; height: 8px; background: #d7dee8; }
.lg-flow { width: 18px; height: 3px; border-radius: 2px; background: #ff3c1e; }
.lg-ret { width: 18px; height: 3px; border-radius: 2px; background: #96a0af; }
.platform-viz figcaption { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.viz-head { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.viz-tag { font-size: .7rem; letter-spacing: 0; color: #8a93a1; }

/* ══════════ FRAGEN ══════════ */
.fq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fq-grid .section-head { margin-bottom: 0; }
.fq details { border-top: 1px solid var(--line); }
.fq details:last-child { border-bottom: 1px solid var(--line); }
.fq summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 22px 48px 22px 0; font-family: var(--font-disp); font-weight: 700; font-size: 1.25rem;
	transition: color .3s;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after {
	content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
	border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
	transform: rotate(45deg); transition: transform .35s var(--ease-out);
}
.fq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.fq summary:hover { color: var(--red-deep); }
.fq details p { color: var(--text-mid); padding: 0 48px 24px 0; max-width: 64ch; }

/* ══════════ KONTAKT & RECHTLICHES ══════════ */
.contact-person b { font-size: 1.2rem; }
.contact-person span { display: block; color: var(--text-mid); font-size: .95rem; }
.fw-note-contact { margin-top: 30px; max-width: 42ch; }
.ff label { text-transform: none; letter-spacing: .01em; font-size: .9rem; }
.legal-block h3 { text-transform: none; letter-spacing: .01em; font-size: .92rem; }
.footer-bottom p { font-size: .82rem; letter-spacing: .01em; }
.to-top { font-size: .85rem; letter-spacing: .01em; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1080px) {
	.hv-grid, .co2 { grid-template-columns: 1fr; }
	.co2-figure { margin-inline: auto; width: min(380px, 100%); }
	.fq-grid { grid-template-columns: 1fr; }
	.sk-controls { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
	.fw-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.hv-row { grid-template-columns: 1fr; gap: 6px; }
	.hv-head { display: none; }
	.hv-pre { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; flex: none; font-weight: 400; color: var(--text-mid); margin-right: 4px; }
	.hv-row dd { flex-wrap: nowrap; }
	.hv-row dt { font-weight: 700; color: var(--text); }
}
@media (max-width: 560px) {
	.fw-word { font-size: 1.3rem; }
	.fw-sub { font-size: .66rem; }
	.fw-sub i { width: 34px; }
	.hv-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
	.hv { padding: 16px; }
	.fw-steps { grid-template-columns: 1fr; }
	.fq summary { font-size: 1.1rem; }
	.hero-stats.fw-facts { gap: 26px 18px; }
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.co2-orbit { display: none; }
	.sk-puff { opacity: .8; }
}

/* Tiefgestellte Zeichen ohne Zeilensprung */
sub { line-height: 0; }
@media (max-width: 700px) {
	.hv-svg .ww-tag { font-size: 18px; }
	.sk-svg .ww-tag { display: none; }
	.sk-cap { display: block; }
}

/* ══════════ Feinschliff nach der Design-Kritik (30.09.2026) ══════════ */

/* Typografie: Überschriften enger, Nebentexte gestuft */
h1, h2, h3, h4 { line-height: 1.15; }
.fq summary { line-height: 1.3; }
.co2-copy h3 { margin-bottom: 18px; }
.platform-points span { font-size: 1rem; color: #b9c0ca; }
.contact-person span { font-size: 1rem; }
.fw-note, .fw-note-contact { font-size: .95rem; }
.form-privacy { font-size: .9rem; }
.viz-legend, .footer-bottom p, .to-top, .platform-viz figcaption { font-size: .9rem; }
.viz-head { font-family: var(--font-body); }
.viz-tag { font-family: var(--font-body); font-size: .75rem; }
@media (max-width: 820px) {
	body { font-size: 1.125rem; }
}

/* Kicker: Strich bleibt oben, auch wenn der Text umbricht */
.fw-kicker { align-items: flex-start; }
.fw-kicker::before { flex: 0 0 28px; margin-top: .75em; }

/* Hero-Fakten: Textwerte als Text, Beschriftung ohne Versalien */
.fw-facts .stat dt { font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-mid); margin-bottom: 4px; }
.fw-facts .stat dd { white-space: nowrap; }
.fw-facts .stat dd.fact-text { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.scroll-cue { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
@media (max-width: 820px) {
	.scroll-cue { display: none; }
}

/* Netz-Legende: Punkte wie die Partikel in der Grafik */
.lg-flow, .lg-ret { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 560px) {
	#networkCanvas { height: 260px; }
}

/* Straßenzug: Heizwerk auch mobil beschriftet, Rauch kräftiger */
.sk-puff { fill: #aab1bb; }
@media (max-width: 700px) {
	.sk-svg { overflow: hidden; }
	.sk-svg .sk-name { display: inline; font-size: 28px; }
}

/* CO2-Kreislauf: Nummern an den Knoten, Schritte als Knöpfe */
.co2-badge circle { fill: var(--ink); }
.co2-badge text { font-family: var(--font-body); font-weight: 700; font-size: 13px; fill: #fff; }
.co2-ic-fill { fill: var(--ink-3); }
.co2-node.is-on .co2-ic-fill { fill: #fff; }
.co2-steps li { padding: 0; }
.co2-step {
	display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left;
	padding: 12px 16px; font: inherit; color: inherit; line-height: 1.6;
}
.co2-num {
	flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px;
	border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700;
}
.co2-steps li.is-on .co2-num { background: var(--red); }
.co2-step:focus-visible { outline-offset: -2px; }
@media (max-width: 820px) {
	.co2 { gap: 20px; }
	.co2-copy { display: contents; }
	.co2-copy h3 { order: 1; margin-bottom: 0; }
	.co2-copy > p:not(.fw-note) { order: 2; }
	.co2-figure { order: 3; width: min(260px, 72%); margin-inline: auto; }
	.co2-steps { order: 4; margin-top: 0; }
	.co2 .fw-note { order: 5; margin-top: 0; }
}

/* Kontakt: Betreff als Auswahl */
.ff select {
	width: 100%; padding: 13px 44px 13px 16px; font: inherit; color: var(--text);
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23414b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
	border: 1px solid #d5d8dd; border-radius: 10px; -webkit-appearance: none; appearance: none;
	transition: border-color .3s, box-shadow .3s; cursor: pointer;
}
.ff select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 0, 0, .1); }
.ff textarea::placeholder { color: #7b848f; }
@media (max-width: 560px) {
	.contact-form .btn { width: 100%; justify-content: center; }
	.contact-form { padding: 22px 18px; }
}

/* Touch-Ziele mindestens 44 px */
@media (pointer: coarse) {
	input[type="range"] { height: 44px; }
	input[type="range"]::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -12px; }
	input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }
	.to-top { display: inline-block; padding-block: 11px; }
	.footer-nav { gap: 0 22px; }
	.footer-nav a { display: inline-block; padding-block: 10px; }
}
.contact-lines li { position: relative; }
.contact-lines a::after { content: ''; position: absolute; inset: -4px 0; }

/* Übergang Fragen zu Kontakt ohne große Leere */
#fragen { padding-bottom: clamp(56px, 7vw, 88px); }
.section-contact { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); }

/* Rechtstexte: lesbare Zeilen, ruhigere Überschriften */
.legal-prose { max-width: 34rem; }
.legal-block p, .legal-prose p { font-size: 1.0625rem; line-height: 1.65; }
.section-head-sm h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.section-head-sm { margin-bottom: 28px; }
.legal-block h3, .legal-prose h3 { text-transform: none; letter-spacing: .01em; font-size: 1rem; color: var(--text); }

/* Vorspann kürzer */
.preloader { transition-duration: .4s; }
.preloader-bar { transition: width .35s var(--ease-out); }
