/* =========================================================
   FORTE Energie – Pitch-Entwurf (Rodriguez Web)
   Idee: Eine Wärmeleitung (Vorlauf/Rücklauf) zieht sich durch
   die ganze Seite – vom glühenden Punkt im Claim bis zum
   Hausanschluss im Kontakt.
   ========================================================= */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@property --bg   { syntax: "<color>"; inherits: true; initial-value: #F2ECDF; }
@property --fg   { syntax: "<color>"; inherits: true; initial-value: #1B4031; }
@property --fg2  { syntax: "<color>"; inherits: true; initial-value: #4B6658; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(27, 64, 49, .2); }
@property --hi   { syntax: "<color>"; inherits: true; initial-value: #1B4031; }
@property --wdth { syntax: "<number>"; inherits: true; initial-value: 100; }
@property --wght { syntax: "<number>"; inherits: true; initial-value: 650; }

:root {
  --forest: #1B4031;
  --forest-d: #12291F;
  --forest-dd: #0D1F17;
  --lime: #B2D963;
  --cream: #F2ECDF;
  --cream-l: #F8F4EB;
  --ember: #FF6A2B;

  --gutter: clamp(22px, 6vw, 96px);
  --lane: calc(var(--gutter) / 2);
  --gap: clamp(14px, 1.8vw, 28px);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);

  --f-display: "Mona Sans", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* Themes ------------------------------------------------- */
[data-theme="cream"]  { --bg: #F2ECDF; --fg: #1B4031; --fg2: #4B6658; --line: rgba(27, 64, 49, .2);  --hi: #1B4031; --focus: #1B4031; --pipe2: rgba(27,64,49,.38); }
[data-theme="forest"] { --bg: #1B4031; --fg: #F2ECDF; --fg2: #BFCBBE; --line: rgba(242, 236, 223, .2); --hi: #B2D963; --focus: #B2D963; }
[data-theme="lime"]   { --bg: #B2D963; --fg: #14301F; --fg2: #2B4A38; --line: rgba(20, 48, 31, .25);   --hi: #14301F; --focus: #14301F; }

/* Ohne JS bekommt jede Sektion ihren eigenen Grund. Mit JS morpht der
   Seitenhintergrund – die Sektionen werden transparent. */
section[data-theme], footer[data-theme] { background: var(--bg); color: var(--fg); }
html.js section[data-theme] { background: transparent; color: inherit; }
html.js body[data-theme] section[data-theme] { --bg: inherit; --fg: inherit; --fg2: inherit; --line: inherit; --hi: inherit; --focus: inherit; }

/* Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.55 var(--f-body);
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: --bg .8s var(--ease-io), --fg .8s var(--ease-io), --fg2 .8s var(--ease-io), --line .8s var(--ease-io), --hi .8s var(--ease-io);
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sub { font-size: .62em; vertical-align: baseline; position: relative; top: .22em; line-height: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--forest); }

:focus-visible { outline: 2px solid var(--focus, var(--fg)); outline-offset: 4px; border-radius: 2px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--forest); color: var(--cream); transform: translateY(-160%); transition: transform .3s var(--ease); text-decoration: none; font: 500 .875rem var(--f-mono); }
.skip:focus { transform: none; }

.d {
  font-family: var(--f-display);
  font-variation-settings: "wdth" var(--wdth), "wght" var(--wght);
  font-weight: normal;
}
.mono {
  font-family: var(--f-mono);
  font-size: .75rem;
  line-height: 1.45;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 450;
}
.soft { color: var(--fg2); }
/* Wärmeausdehnung: ein Wort pro Headline dehnt sich aus */
.heat { font-style: normal; --wdth: 125; --wght: 300; letter-spacing: -.045em; font-variation-settings: "wdth" var(--wdth), "wght" var(--wght); }
.heat .w > span, .heat .w { font-variation-settings: inherit; }
.heat.is-fixed { display: inline-block; white-space: nowrap; }
.h2 {
  font-size: clamp(2.6rem, 1.1rem + 5.4vw, 7rem);
  line-height: .9;
  letter-spacing: -.035em;
  --wdth: 84; --wght: 720;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 92, "wght" 640;
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: .7em;
  text-wrap: balance;
}

main { position: relative; z-index: 1; }
main > section { position: relative; padding: clamp(96px, 13vw, 220px) var(--gutter); }

/* Pipe canvas & helpers ---------------------------------- */
.pipe-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
html:not(.js) .pipe-canvas { display: none; }
.pipe-a { position: absolute; width: 0; height: 0; pointer-events: none; }

.halo {
  position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none;
  width: 56vmax; height: 56vmax; margin: -28vmax 0 0 -28vmax;
  background: radial-gradient(closest-side, rgba(178, 217, 99, .11), rgba(178, 217, 99, .04) 45%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity .8s var(--ease-io);
  will-change: transform;
}
body[data-theme="forest"].halo-on .halo { opacity: 1; }
@media (hover: none) { .halo { display: none; } }

/* Station: Abschnittsmarke direkt auf der Leitung */
.station {
  position: relative;
  display: flex; align-items: center;
  font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: clamp(36px, 5vw, 72px);
  min-height: 14px;
}
.station i {
  position: absolute; left: calc(var(--lane) * -1 - 7px); top: 50%;
  width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  border: 2px solid var(--fg); background: var(--bg);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
}
.station.is-hot i { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 0 6px color-mix(in srgb, var(--hi) 18%, transparent); }
.station span { opacity: .9; }

/* Header -------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: 0 var(--gutter);
  color: var(--fg);
  transition: transform .6s var(--ease), background-color .4s;
}
.hdr::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .4s; }
.hdr.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.hdr.is-scrolled::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.hdr__logo .mark { width: 22px; height: 22px; fill: var(--lime); flex: none; }
body[data-theme="lime"] .hdr__logo .mark { fill: var(--forest); }
.wordmark {
  display: block; width: 132px; height: 17.5px;
  background: currentColor;
  -webkit-mask: url("../img/wordmark.png") left center / contain no-repeat;
          mask: url("../img/wordmark.png") left center / contain no-repeat;
}
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; gap: clamp(14px, 2vw, 32px); }
.hdr__nav a, .hdr__cta { font: 500 .8125rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; }
.hdr__nav a { position: relative; padding: 8px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.hdr__cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 18px; border: 1.5px solid currentColor; border-radius: 2px; }
.valve { width: 22px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: transform .5s var(--ease), fill .3s; }
.link-valve:hover .valve, .link-valve:focus-visible .valve { transform: rotate(90deg); fill: transparent; }
.hdr__menu { display: none; margin-left: auto; align-items: center; gap: 12px; font: 500 .8125rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 10px 0; }
.hdr__menu-lines { position: relative; width: 26px; height: 10px; }
.hdr__menu-lines i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.hdr__menu-lines i:first-child { top: 0; } .hdr__menu-lines i:last-child { bottom: 0; }
.hdr__menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1199px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: inline-flex; }
}
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--forest); color: var(--cream);
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu ol { counter-reset: m; }
.menu li { counter-increment: m; border-top: 1px solid rgba(242,236,223,.18); }
.menu li a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none; font-family: var(--f-display); font-variation-settings: "wdth" 88, "wght" 640; font-size: clamp(1.9rem, 8vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.menu li a::before { content: "0" counter(m); font: 450 .7rem var(--f-mono); letter-spacing: .08em; color: var(--lime); transform: translateY(-.6em); }
.menu__foot a { color: var(--lime); }
body.menu-open .hdr { color: var(--cream); background: transparent; }
body.menu-open .hdr::after { opacity: 0; }

/* Buttons & links ------------------------------------------- */
.cta {
  display: inline-flex; align-items: center; gap: 18px;
  text-decoration: none; color: var(--fg);
  padding: 10px 0;
}
.cta__label { font-family: var(--f-display); font-variation-settings: "wdth" 96, "wght" 640; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); letter-spacing: -.01em; line-height: 1.1; }
.cta__pipe svg { width: 76px; height: 14px; overflow: visible; }
.cta__line { stroke: currentColor; stroke-width: 2; stroke-dasharray: 76; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease); }
.cta .valve { fill: currentColor; transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease), fill .3s; }
.cta__arrow { fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease); }
.cta:hover .valve, .cta:focus-visible .valve { transform: rotate(90deg); fill: var(--bg); }
.cta:hover .cta__arrow, .cta:focus-visible .cta__arrow { transform: translateX(6px); }
.cta:hover .cta__line { animation: flow .9s linear infinite; stroke-dasharray: 6 5; }
@keyframes flow { to { stroke-dashoffset: -22; } }

.textlink {
  font: 500 .9375rem/1.2 var(--f-body);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
.textlink:hover { background-size: 0 1.5px; background-position: 100% 100%; }
main p a:not(.cta):not(.textlink), .faq a, .thanks a, .consent a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Line-mask reveals ---------------------------------------- */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; font-variation-settings: "wdth" var(--wdth), "wght" var(--wght); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; will-change: transform; }


/* =========================================================
   RASTER-SYSTEM
   12 Spalten. Drei Fluchtlinien, an denen alles ausgerichtet ist:
   Spalte 1 (Index), Spalte 3 (Inhalt), Spalte 8 (zweite Hälfte).
   Spalte 10 nur für schmale Randnotizen.
   ========================================================= */
main > section { padding: clamp(104px, 11vw, 184px) var(--gutter); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.h2 { font-size: clamp(2.5rem, 1rem + 4.4vw, 6.25rem); line-height: .92; }
.h2--compact { font-size: clamp(1.9rem, 1rem + 2.1vw, 3.5rem); line-height: .95; }

/* Sektionskopf: Index links, Titel ab Spalte 3 */
.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(56px, 7vw, 112px);
}
.sec-head > .station { grid-column: 1 / span 2; margin: 0; padding-top: .6em; }
.sec-head > h2 { grid-column: 3 / -1; }
.sec-head--aside > h2 { grid-column: 3 / span 6; }
.sec-head__aside { grid-column: 10 / -1; align-self: end; }
.sec-head__aside p { margin: 0; color: var(--fg2); max-width: 34ch; }
.sec-head__sub { grid-column: 3 / -1; margin-top: clamp(28px, 3.4vw, 48px); }
.sec-head--compact { margin-bottom: 0; }
.sec-head--compact > .station { padding-top: .35em; }
.station b { font-weight: 500; margin-right: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--hdr-h) + 12px) !important;
  padding-bottom: clamp(72px, 10vh, 112px) !important;
  display: flex; flex-direction: column;
}
.hero__meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 14px; border-top: 1px solid var(--line); }
.hero__meta p { margin: 0; color: var(--fg2); }
.hero__m1 { grid-column: 1 / span 6; }
.hero__m2 { grid-column: 8 / span 2; }
.hero__m3 { grid-column: 10 / -1; }

.hero__title { margin-top: auto; padding-top: clamp(24px, 5vh, 64px); }
.line--xl { font-size: var(--fit, clamp(5.6rem, min(21vw, 33vh), 26rem)); line-height: .8; letter-spacing: -.05em; --wdth: 112; --wght: 820; padding-bottom: .09em; margin-bottom: -.05em; }
.line--l { font-size: clamp(2.4rem, min(7.4vw, 11.5vh), 9rem); line-height: .94; letter-spacing: -.04em; --wdth: 84; --wght: 720; }
.line--r { text-align: right; }
.hero__w { position: relative; }
.hero__w .ch { display: inline-block; font-variation-settings: "wdth" var(--cw, var(--wdth)), "wght" var(--cg, var(--wght)); }

.ember {
  display: inline-block; position: relative;
  width: .17em; height: .17em; margin-left: .05em;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 .12em .02em rgba(255, 106, 43, .7), 0 0 .5em .1em rgba(255, 106, 43, .25);
  vertical-align: baseline;
  animation: ignite 1.4s 1.15s var(--ease) both, glow 3.2s 2.6s ease-in-out infinite;
}
@keyframes ignite { from { transform: scale(0); background: var(--fg); box-shadow: none; } 55% { transform: scale(1.5); } to { transform: scale(1); } }
@keyframes glow { 50% { box-shadow: 0 0 .2em .05em rgba(255, 106, 43, .85), 0 0 .9em .2em rgba(255, 106, 43, .3); } }

.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-top: clamp(28px, 5vh, 56px); }
.hero__foot .cta { grid-column: 1 / span 6; justify-self: start; }
.hero__lede { grid-column: 9 / -1; margin: 0; font-size: clamp(1rem, .92rem + .3vw, 1.25rem); line-height: 1.45; max-width: 36ch; }
.cta--xl .cta__label { font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); }

.hero__cue { position: absolute; left: var(--gutter); bottom: calc(clamp(36px, 5vh, 56px) + 12px); margin: 0; color: var(--fg2); font-size: .6875rem; padding-left: 10px; }
.hero__cue span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.pipe-a--hero { left: var(--lane); bottom: clamp(36px, 5vh, 56px); }
.hero .pipe-a--m { display: none; }

.hero__title .line > span { animation: rise 1.25s var(--ease) both; }
/* Nach dem Reveal darf der Glutschein über die Zeilenmaske hinaus leuchten */
.hero__title .line, .phero__title .line { animation: unclip 0s linear 1.6s forwards; }
@keyframes unclip { to { overflow: visible; } }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
.hero__w { animation: rise 1.25s var(--ease) both, expand 1.9s .15s var(--ease) both !important; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes expand { from { --wdth: 75; --wght: 560; } to { --wdth: 112; --wght: 820; } }
.hero__meta, .hero__foot { animation: fadeUp 1.1s .45s var(--ease) both; }
.hero__foot { animation-delay: .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   BILDSYSTEM
   Band: ab Spalte 3 bis zum rechten Bildrand, 21:9.
   Porträt: Spalten 3–6, 4:5. Rahmen: 4:3 in Spalten 8–12.
   ========================================================= */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img__in { position: absolute; inset: 0; overflow: hidden; }
.reveal-img__in[data-parallax] { inset: -6% 0; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.portrait { aspect-ratio: 4 / 5; }

.band { margin: 0; }
.band__img { aspect-ratio: 21 / 9; margin-left: calc((100% + var(--gap)) / 12 * 2); margin-right: calc(var(--gutter) * -1); }
.band__cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 14px; color: var(--fg2); }
.band__cap span:first-child { grid-column: 3 / span 5; }
.band__cap span:last-child { grid-column: 8 / -1; }

/* =========================================================
   HALTUNG
   ========================================================= */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(80px, 9vw, 144px); align-items: start; }
.duo__a { grid-column: 3 / span 5; margin: 0; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.75rem); line-height: 1; }
.duo__b { grid-column: 8 / -1; margin: 0; color: var(--fg2); max-width: 46ch; }

.pq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(80px, 9vw, 144px); align-items: end; }
.pq__img { grid-column: 3 / span 4; }
.pq__body { grid-column: 8 / -1; }
.pq blockquote { margin: 0; }
.pq blockquote p { font-family: var(--f-display); font-variation-settings: "wdth" 88, "wght" 460; font-size: clamp(1.6rem, 1rem + 1.7vw, 2.9rem); line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: pretty; }
.hang { margin-left: -.42em; }
.pq figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--fg2); }
.pq figcaption span:first-child { color: var(--fg); }

.facts {
  margin: clamp(96px, 11vw, 176px) 0 0 calc((100% + var(--gap)) / 12 * 2);
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: clamp(2rem, .6rem + 4.4vw, 5.8rem);
  line-height: 1.02; letter-spacing: -.035em;
  --wdth: 90; --wght: 380;
  text-wrap: balance;
}
.facts b { font-weight: normal; --wght: 800; --wdth: 112; font-variation-settings: "wdth" var(--wdth), "wght" var(--wght); position: relative; white-space: nowrap; }
.facts b::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .07em; background: var(--lime); transform: scaleX(var(--u, 0)); transform-origin: left; transition: transform 1.2s var(--ease); }
.facts.is-in b::after { --u: 1; }

/* =========================================================
   ANGEBOT
   ========================================================= */
.products { border-top: 1px solid var(--line); }
.product { border-bottom: 1px solid var(--line); }
.product__link {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center;
  padding: clamp(18px, 2.2vw, 32px) 0;
  text-decoration: none; color: inherit;
  isolation: isolate;
}
.product__link::before {
  content: ""; position: absolute; inset: 0 calc((var(--gutter) - var(--lane) - 12px) * -1); z-index: -1;
  background: var(--lime);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .7s var(--ease);
}
.product__no { grid-column: 1 / span 2; align-self: start; padding-top: .9em; color: var(--fg2); }
.product__name {
  grid-column: 3 / span 7;
  font-size: clamp(3rem, 1rem + 7.6vw, 9.6rem);
  line-height: .86; letter-spacing: -.045em;
  --wdth: 76; --wght: 760;
  transition: --wdth .9s var(--ease), --wght .9s var(--ease), color .4s;
  white-space: nowrap;
}
.product__desc { grid-column: 10 / -1; color: var(--fg2); font-size: 1rem; line-height: 1.5; transition: color .4s; }
.product__go { grid-column: 10 / -1; display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.product__go svg { width: 22px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
@media (hover: hover) {
  .product__link:hover::before, .product__link:focus-visible::before { transform: scaleY(1); }
  .product__link:hover, .product__link:focus-visible { color: var(--forest); }
  .product__link:hover .product__name, .product__link:focus-visible .product__name { --wdth: var(--wmax, 110); --wght: 820; }
  .product__link:hover .product__desc, .product__link:focus-visible .product__desc, .product__link:hover .product__no { color: var(--forest); }
  .product__link:hover .product__go, .product__link:focus-visible .product__go { opacity: 1; transform: none; }
}
@media (hover: none) { .product__go { opacity: 1; transform: none; } }
.pipe-a--break { left: var(--lane); bottom: 0; }

/* =========================================================
   SO FUNKTIONIERT'S
   ========================================================= */
.how { padding: 0 !important; }
.how__stage {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--hdr-h) + 2vh) var(--gutter) 0;
  display: grid; grid-template-rows: auto 1fr auto;
}
.how__track { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.how__track path { fill: none; stroke-linecap: round; }
.how__track-bg { stroke: var(--line); stroke-width: 2; }
.how__track-bg--ret { stroke-width: 1.1; }
.how__track-fg--ret { stroke-width: 1.2; opacity: .32; }
.how__track-fg { stroke: var(--fg); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.how__ember { fill: var(--ember); filter: drop-shadow(0 0 6px rgba(255, 106, 43, .9)); opacity: 0; }

.how__steps { position: relative; }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.step__text { grid-column: 3 / span 4; }
.step__text > p:not(.step__no):not(.step__note) { color: var(--fg2); max-width: 42ch; }
.step__no { color: var(--fg2); margin-bottom: 14px !important; }
.step__no span { color: var(--fg); }
.step__title { font-size: clamp(2.6rem, 1rem + 4.8vw, 7rem); line-height: .88; letter-spacing: -.045em; --wdth: 78; --wght: 780; margin-bottom: .25em; hyphens: manual; }
.step__note { color: var(--fg) !important; margin-top: 18px; }
.spec { display: flex; gap: clamp(24px, 3vw, 48px); margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.spec div { margin: 0; }
.spec dt { color: var(--fg2); margin-bottom: 6px; }
.spec dd { margin: 0; font-size: clamp(1.8rem, 1rem + 1.9vw, 3.2rem); line-height: 1; letter-spacing: -.03em; --wdth: 100; --wght: 760; white-space: nowrap; }
.spec dd b { font-weight: normal; --wght: 820; }

.frame {
  grid-column: 8 / -1;
  position: relative; margin: 0;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--fg) 5%, var(--bg));
  border: 1px solid var(--line);
  overflow: hidden;
}
.frame__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame > svg { width: 80%; height: auto; max-height: 76%; overflow: visible; }
.frame__cap { position: absolute; left: 0; top: 0; display: flex; gap: 14px; padding: 9px 14px; background: var(--bg); color: var(--fg2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.frame__cap span:first-child { color: var(--fg); }

.svg-mono { font: 450 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; fill: var(--fg2); }
.svg-mono--soft { fill: var(--fg2); opacity: .7; }
.draw path, .draw rect, .draw circle, svg .draw { fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.hatch { stroke: var(--fg); stroke-width: .8; opacity: .3; }
.kwk__heat, .station-ill__heat { fill: none; stroke: #8FBF3A; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.xsec__hot { fill: var(--lime); opacity: .9; }
.xsec__cool { fill: var(--fg); opacity: .14; }

.how__nodes {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-left: calc((100% + var(--gap)) / 12 * 2);
  padding: 0 0 clamp(28px, 5vh, 56px);
  position: relative;
}
.how__nodes li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.how__nodes i { width: 26px; height: 26px; border: 2px solid var(--fg); background: var(--bg); border-radius: 3px; transition: background .4s, transform .5s var(--ease); }
.how__nodes li.is-on i { background: var(--fg); transform: rotate(45deg) scale(.86); }
.how__nodes span { color: var(--fg2); }
.how__nodes li.is-on span { color: var(--fg); }
.pipe-a--resume { right: var(--lane); bottom: 0; }
.pipe-a--resume2 { left: var(--lane); bottom: 0; }

@media (min-width: 1024px) {
  html.js:not(.rm) .how__stage { height: 100vh; }
  html.js:not(.rm) .step { position: absolute; inset: 0; }
  html.js:not(.rm) .step:not(:first-child) { visibility: hidden; }
  html.js:not(.rm) .frame { max-height: calc(100vh - 330px); aspect-ratio: auto; height: min(calc(100vh - 330px), calc((100vw - 2 * var(--gutter)) * 5 / 12 * .75)); }
  html.js:not(.rm) .step__title { font-size: clamp(2.6rem, min(5.6vw, 10vh), 7rem); }
}
@media (max-width: 1023px) {
  .how { padding: clamp(104px, 11vw, 184px) var(--gutter) !important; }
  .how__stage { padding: 0; display: block; min-height: 0; }
  .how__track, .how__nodes { display: none; }
  .step { display: block; padding-top: 72px; }
  .frame { margin-top: 32px; }
  .pipe-a--break, .pipe-a--resume, .pipe-a--resume2 { display: none; }
}
html.rm .how { padding: clamp(104px, 11vw, 184px) var(--gutter) !important; }
html.rm .how__stage { padding: 0; display: block; }
html.rm .how__track, html.rm .how__nodes { display: none; }
html.rm .step { padding-top: 72px; }
html.rm .pipe-a--break, html.rm .pipe-a--resume, html.rm .pipe-a--resume2 { display: none; }

/* =========================================================
   HEIZUNGSKELLER
   ========================================================= */
.keller__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.keller__vis { grid-column: 3 / span 6; }
.keller__vis .switch { margin-bottom: 28px; }
.cellar { margin: 0; }
.cellar svg { width: 100%; height: auto; overflow: visible; }
.cellar .room { fill: none; stroke: var(--fg); stroke-width: 2.4; }
.cellar .room--thin { stroke-width: 1; stroke-dasharray: 3 5; }
.cellar .obj { fill: none; stroke: var(--fg); stroke-width: 1.8; stroke-linejoin: round; }
.cellar .obj--new { stroke-width: 2.2; }
.cellar .free { fill: none; stroke: var(--fg); stroke-width: 1; stroke-dasharray: 2 6; opacity: .5; }
.cellar .pipe-in { fill: none; stroke: var(--fg); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; }
.cellar .pipe-in--ret { stroke-width: 1.8; opacity: .55; }
.cellar__old, .cellar__new { transition: opacity .8s var(--ease-io); }
.cellar[data-state="vorher"] .cellar__new { opacity: 0; }
.cellar[data-state="nachher"] .cellar__old { opacity: .12; }
.cellar[data-state="nachher"] .cellar__old text { opacity: 0; }

.keller__lists { grid-column: 10 / -1; display: grid; gap: 44px; }
.list h3 { color: var(--fg2); margin-bottom: 14px; }
.list li { position: relative; padding: 13px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.4; }
.list--out li span {
  background: linear-gradient(currentColor, currentColor) 0 58% / 0% 1.5px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s var(--ease), color .6s;
}
.keller.is-after .list--out li span { background-size: 100% 1.5px; color: var(--fg2); }
.keller.is-after .list--out li:nth-child(2) span { transition-delay: .08s; }
.keller.is-after .list--out li:nth-child(3) span { transition-delay: .16s; }
.keller.is-after .list--out li:nth-child(4) span { transition-delay: .24s; }
.list--in li { padding-left: 24px; transition: color .6s; }
.list--in li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--fg); border-radius: 2px; transition: background .6s, box-shadow .6s; }
.keller:not(.is-after) .list--in li { color: var(--fg2); }
.keller:not(.is-after) .list--in li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg2); }

.switch { position: relative; display: inline-grid; grid-template-columns: auto auto; border: 1.5px solid var(--fg); border-radius: 2px; padding: 3px; }
.switch__btn { position: relative; z-index: 1; padding: 10px 18px; font: 500 .8125rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; transition: color .4s; }
.switch__btn[aria-pressed="true"] { color: var(--bg); }
.switch__knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: var(--kw, 50%); transform: translateX(var(--kx, 0)); background: var(--fg); transition: transform .6s var(--ease), width .6s var(--ease); }

/* =========================================================
   VORTEILE (Logo-Grün)
   ========================================================= */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.tab {
  font-size: clamp(1.3rem, .8rem + 1.3vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em;
  --wdth: 90; --wght: 560;
  padding: 6px 0;
  color: var(--fg);
  opacity: .5;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat;
  transition: opacity .4s, background-size .6s var(--ease), --wght .5s var(--ease);
}
.tab:hover { opacity: .8; }
.tab[aria-selected="true"] { opacity: 1; background-size: 100% 3px; --wght: 760; }
.panel { margin-left: calc((100% + var(--gap)) / 12 * 2); }
.panel:focus-visible { outline-offset: 12px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.benefits li { padding: 24px 0 48px; border-top: 2px solid var(--fg); display: grid; grid-template-columns: 56px 1fr; align-content: start; }
.benefits__k { grid-row: 1 / span 2; padding-top: .45em; }
.benefits__t { font-family: var(--f-display); font-variation-settings: "wdth" 88, "wght" 700; font-size: clamp(1.35rem, 1rem + .9vw, 2rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 12px; }
.benefits p { margin: 0; color: var(--fg2); max-width: 40ch; }

/* =========================================================
   NETZ & KARTE
   ========================================================= */
.netz { padding: 0 !important; }
.netz__stage {
  position: relative; min-height: 100vh;
  padding: calc(var(--hdr-h) + 2vh) var(--gutter) clamp(28px, 4vh, 48px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap);
}
.netz__stage > .sec-head { grid-column: 1 / -1; }
/* Leitung in der gepinnten Karten-Bühne: wächst mit dem Scrollen (--s = 0…1) */
.netz__pipe { position: absolute; top: 0; bottom: 0; left: calc(var(--lane) - 1.2px); width: 10px; pointer-events: none; --s: 0; }
.netz__pipe-v, .netz__pipe-r { position: absolute; top: 0; height: 100%; transform-origin: top; transform: scaleY(var(--s)); background: var(--hi); }
.netz__pipe-v { left: 0; width: 2.4px; }
.netz__pipe-r { left: 6.6px; width: 1.2px; opacity: .32; }
.netz__pipe-em { position: absolute; left: 1.2px; top: calc(var(--s) * 100%); width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px 2px rgba(255, 106, 43, .75), 0 0 26px 8px rgba(255, 106, 43, .22); opacity: 0; transition: opacity .3s; }
.netz__pipe.is-on .netz__pipe-em { opacity: 1; }
.map { grid-column: 3 / span 7; grid-row: 2; position: relative; align-self: center; width: 100%; max-width: calc((100vh - var(--hdr-h) - 200px) * 900 / 640); aspect-ratio: 900 / 640; margin: 16px 0; }
.map__svg {
  width: 100%; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 90%, transparent);
          mask-composite: intersect;
}
.map .sea-line { stroke: var(--cream); stroke-width: .7; opacity: .24; }
.map .land { fill: #2C5D48; }
.map .basins path { fill: #1B4031; stroke: rgba(242,236,223,.55); stroke-width: .8; }
.map .coast { fill: none; stroke: var(--cream); stroke-width: 1.5; opacity: .9; }
.map .roads { fill: none; stroke: var(--cream); stroke-width: .9; opacity: .12; }
.map .rail path { fill: none; stroke: var(--cream); stroke-width: .9; opacity: .14; stroke-dasharray: 2 3; }
.net path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.net--live path { stroke: var(--lime); stroke-width: 6.5; }
.net--live .flow { stroke: var(--cream); stroke-width: 1.6; stroke-dasharray: .015 .05; animation: mapflow 2.4s linear infinite; }
@keyframes mapflow { to { stroke-dashoffset: -.13; } }
.net--build path { stroke: var(--cream); stroke-width: 3.8; }
.net--plan path { stroke: var(--cream); stroke-width: 3.2; stroke-dasharray: .1 9; opacity: .95; }
.mask-path { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.node { stroke-width: 2.4; }
.node--live { fill: var(--bg); stroke: var(--lime); }
.node--build { fill: var(--bg); stroke: var(--cream); }
.node--plan { fill: var(--bg); stroke: var(--cream); stroke-dasharray: 3 3; }
.node-k rect { fill: var(--lime); }
.node-k__glow { opacity: 0; transform-box: fill-box; transform-origin: center; }
.map.is-live .node-k__glow { animation: kglow 2.8s ease-in-out infinite; }
@keyframes kglow { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.map__labels li { position: absolute; transform: translate(0, -50%); font: 500 .75rem/1.15 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: var(--cream); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.map__labels em { font-style: normal; color: var(--fg2); font-size: .625rem; }
.map__labels .ml--l { transform: translate(-100%, -50%); text-align: right; }
.map__labels .ml--k { font-weight: 600; color: var(--lime); }
.map__labels .ml--place { color: var(--fg2); text-transform: none; letter-spacing: .02em; font-family: var(--f-body); font-size: .75rem; }
.map__labels .ml--water { color: var(--fg2); font-family: var(--f-display); font-variation-settings: "wdth" 125, "wght" 300; font-size: clamp(.9rem, .6rem + .8vw, 1.4rem); text-transform: none; letter-spacing: .3em; opacity: .6; }
.map.dim-live .net--live, .map.dim-live [data-g="live"],
.map.dim-build .net--build, .map.dim-build [data-g="build"],
.map.dim-plan .net--plan, .map.dim-plan [data-g="plan"] { opacity: .15 !important; transition: opacity .4s; }
.net { transition: opacity .4s; }

.legend { grid-column: 10 / -1; grid-row: 2; align-self: end; display: grid; margin-bottom: 16px; }
.legend__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; text-align: left; padding: 16px 0; border-top: 1px solid var(--line); }
.legend__sw, .legend__t { transition: opacity .5s var(--ease); }
.legend__item:not(.is-on) .legend__sw { opacity: .45; }
.legend__item:not(.is-on) .legend__t { opacity: .75; }
.legend__item:hover .legend__sw, .legend__item:hover .legend__t, .legend__item:focus-visible .legend__sw, .legend__item:focus-visible .legend__t { opacity: 1; }
.legend__sw { grid-row: 1 / span 2; width: 40px; height: 6px; margin-top: .7em; border-radius: 3px; }
.legend__sw--live { background: var(--lime); }
.legend__sw--build { background: var(--cream); height: 4px; }
.legend__sw--plan { background: radial-gradient(circle, var(--cream) 1.6px, transparent 2px) 0 50% / 9px 6px repeat-x; }
.legend__t { font-size: clamp(1.25rem, 1rem + .7vw, 1.7rem); line-height: 1; letter-spacing: -.02em; --wdth: 90; --wght: 700; margin-bottom: 8px; }
.legend__d { color: var(--fg2); font-size: .875rem; line-height: 1.45; }
.legend__note { color: var(--fg2); margin: 16px 0 20px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .625rem; }
.cta--light { color: var(--fg); }

/* =========================================================
   CHECK
   ========================================================= */
.check__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.check__main { grid-column: 3 / span 5; }
.check__progress { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; }
.mark--steps { width: 26px; height: 26px; }
.mark--steps rect { fill: transparent; stroke: var(--fg); stroke-width: 1.4; transition: fill .4s; }
.mark--steps rect.on { fill: var(--fg); }

.form { position: relative; }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--gap); }
.fstep[hidden] { display: none; }
.fstep__q { grid-column: 1 / -1; float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: clamp(1.8rem, 1rem + 2vw, 3.1rem); line-height: 1; letter-spacing: -.03em; --wdth: 86; --wght: 680; outline: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .consent label { font: 450 .75rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--fg2); }
.field .opt { text-transform: none; letter-spacing: 0; }
.field input {
  width: 100%;
  font: 500 clamp(1.25rem, 1rem + .7vw, 1.6rem)/1.2 var(--f-body);
  color: var(--fg);
  background: transparent; border: 0; border-bottom: 2px solid var(--fg); border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color .3s, background-size .5s var(--ease);
  background-image: linear-gradient(var(--hi), var(--hi)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat;
}
.field input::placeholder { color: var(--fg); opacity: .32; }
.field input:focus { outline: none; background-size: 100% 3px; border-bottom-color: transparent; }
.field input:focus-visible { outline: none; }
.field input[aria-invalid="true"] { border-bottom-color: #A3361A; }
.field__err { color: #A3361A; font-size: .875rem; margin: 0; }
.field__err:empty { display: none; }
.field__hint { margin: 0; color: var(--fg2); min-height: 1.2em; }
.choices { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.choice { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .5s var(--ease); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__t { font-family: var(--f-display); font-variation-settings: "wdth" 90, "wght" 560; font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); line-height: 1.1; letter-spacing: -.015em; transition: font-variation-settings .5s var(--ease); }
.choice__v { flex: none; width: 22px; height: 12px; background: currentColor; clip-path: polygon(0 0, 50% 50%, 0 100%, 0 0, 100% 0, 50% 50%, 100% 100%, 100% 0); opacity: .25; transition: transform .5s var(--ease), opacity .3s; }
.choice:hover { padding-left: 10px; }
.choice:has(input:checked) .choice__t { font-variation-settings: "wdth" 110, "wght" 760; }
.choice:has(input:checked) .choice__v { opacity: 1; transform: rotate(90deg); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--fg); border-radius: 2px; display: grid; place-content: center; cursor: pointer; }
.consent input::after { content: ""; width: 10px; height: 10px; background: var(--fg); transform: scale(0); transition: transform .3s var(--ease); }
.consent input:checked::after { transform: scale(1); }
.consent label { text-transform: none; letter-spacing: 0; font: 400 .875rem/1.45 var(--f-body); }
.consent .field__err { grid-column: 2; }
.demo-note { grid-column: 1 / -1; margin: 0; color: var(--fg2); }

.form__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; }
.btn-next {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 26px 18px 30px;
  background: var(--fg); color: var(--bg);
  font-family: var(--f-display); font-variation-settings: "wdth" 100, "wght" 640; font-size: 1.125rem; letter-spacing: -.005em;
  border-radius: 2px;
}
.btn-next svg { width: 22px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease), fill .3s; }
.btn-next:hover svg, .btn-next:focus-visible svg { transform: rotate(90deg); fill: transparent; }
.btn-back { font: 500 .8125rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }

.thanks { outline: none; }
.thanks__k { color: var(--fg2); }
.thanks__t { font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: .95; letter-spacing: -.035em; --wdth: 86; --wght: 720; margin: 10px 0 30px; }
.thanks__tag { display: grid; grid-template-columns: auto 1fr; border: 1.5px solid var(--fg); margin: 0 0 28px; }
.thanks__tag dt, .thanks__tag dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.thanks__tag dt { color: var(--fg2); border-right: 1px solid var(--line); }
.thanks__tag dd { text-transform: none; letter-spacing: .02em; }
.thanks__tag > :nth-last-child(-n+2) { border-bottom: 0; }
.thanks__demo { max-width: 52ch; color: var(--fg2); }

.check__ill { grid-column: 8 / -1; align-self: start; position: sticky; top: calc(var(--hdr-h) + 40px); margin: 0; }
.street { width: 100%; height: auto; overflow: visible; }
.street .ground { fill: none; stroke: var(--fg); stroke-width: 2; }
.street .main-pipe { fill: none; stroke: var(--fg); stroke-width: 4; stroke-linecap: round; }
.street .main-pipe--ret { stroke-width: 2; opacity: .45; }
.street .main-flow { fill: none; stroke: var(--bg); stroke-width: 1.6; stroke-dasharray: 3 22; animation: flow 1.4s linear infinite; }
.street .conn { fill: none; stroke: var(--fg); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.street .conn-heat { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .06 1; stroke-dashoffset: .06; opacity: 0; }
.street .house path, .street .house rect { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linejoin: round; }
.street .h { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.street .h-none { opacity: .5; transform: none; stroke: var(--fg); }
.street .house:not([data-h="none"]) .h-none { opacity: 0; }
.street .house[data-h="efh"] .h-efh, .street .house[data-h="mfh"] .h-mfh, .street .house[data-h="biz"] .h-biz, .street .house[data-h="pub"] .h-pub { opacity: 1; transform: none; }
.street .win { transition: fill .8s, stroke .8s; }
.street.is-warm .win { fill: #F7E2A6; stroke: var(--fg); }
.street.is-warm .conn-heat { opacity: 1; animation: connflow 1.6s linear infinite; }
@keyframes connflow { from { stroke-dashoffset: 1.06; } to { stroke-dashoffset: 0; } }
.street__ember { fill: var(--ember); opacity: 0; filter: drop-shadow(0 0 5px rgba(255,106,43,.9)); }
.street .conn-label { opacity: 0; transition: opacity .5s; }
.street.has-conn .conn-label { opacity: 1; }
.check__ill figcaption { color: var(--fg2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }

/* =========================================================
   NACHWEISE
   ========================================================= */
.proof__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.pef { grid-column: 3 / -1; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gap); }
.pef__num { grid-column: 1 / -1; margin: 0; font-size: clamp(8rem, 26vw, 30rem); line-height: .78; letter-spacing: -.06em; --wdth: 125; --wght: 840; color: var(--hi); white-space: nowrap; }
.pef__text { grid-column: 6 / -1; margin-top: clamp(28px, 3vw, 48px); }
.pef__text p:not(.pef__k) { color: var(--fg2); max-width: 46ch; margin: 0; }
.pef__k { color: var(--fg) !important; margin-bottom: 14px !important; }
.scale { grid-column: 3 / -1; position: relative; margin: clamp(56px, 6vw, 96px) 0 0; }
.scale svg { width: 100%; height: auto; overflow: visible; }
.scale__axis { stroke: var(--fg); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.scale__ticks line { stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .5; }
.scale__oil { fill: var(--fg); opacity: .18; }
.scale__forte { stroke: var(--hi); stroke-width: 7; vector-effect: non-scaling-stroke; }
.scale__dot { fill: var(--hi); }
.scale__labels { position: relative; height: 22px; }
.scale__labels span { position: absolute; top: 0; white-space: nowrap; color: var(--fg2); }
.scale__lab-forte { color: var(--hi) !important; transform: translateX(-50%); }
.scale__lab-oil { left: auto !important; right: 0; }
.proof__line { grid-column: 3 / span 5; margin: clamp(48px, 5vw, 80px) 0 0; font-family: var(--f-display); font-variation-settings: "wdth" 92, "wght" 520; font-size: clamp(1.3rem, 1rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.015em; }
.proof__fine { grid-column: 8 / -1; margin: clamp(48px, 5vw, 80px) 0 0; font-size: .875rem; color: var(--fg2); max-width: 52ch; align-self: start; padding-top: .4em; }
.docs { grid-column: 3 / -1; margin-top: clamp(64px, 7vw, 112px); border-top: 1px solid var(--line); }
.doc a { position: relative; display: grid; grid-template-columns: 76px 1fr auto; column-gap: var(--gap); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.doc__paper { width: 52px; aspect-ratio: 360 / 509; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 30px -10px rgba(0,0,0,.4); transform: rotate(-3deg); transform-origin: left center; transition: transform .7s var(--ease); overflow: hidden; }
.doc__paper--label { aspect-ratio: 360 / 148; }
.doc__paper img { width: 100%; height: 100%; object-fit: cover; }
.doc__t { font-family: var(--f-display); font-variation-settings: "wdth" 90, "wght" 620; font-size: clamp(1.25rem, 1rem + 1vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.doc__m { text-align: right; color: var(--fg2); }
@media (hover: hover) {
  .doc a:hover .doc__paper, .doc a:focus-visible .doc__paper { transform: rotate(0deg) scale(1.15); }
  .doc a:hover .doc__t, .doc a:focus-visible .doc__t { transform: translateX(12px); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.faq__aside { grid-column: 3 / span 4; align-self: start; position: sticky; top: calc(var(--hdr-h) + 40px); }
.faq__aside p { color: var(--fg2); max-width: 32ch; margin: 0; }
.faq__list { grid-column: 8 / -1; border-top: 2px solid var(--fg); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-family: var(--f-display); font-variation-settings: "wdth" 90, "wght" 580; font-size: clamp(1.15rem, .95rem + .7vw, 1.6rem); line-height: 1.15; letter-spacing: -.015em; transition: font-variation-settings .5s var(--ease), transform .5s var(--ease); }
.qa summary:hover .qa__q { transform: translateX(8px); }
.qa__v { flex: none; width: 24px; height: 13px; fill: var(--fg); stroke: var(--fg); stroke-width: 1.5; stroke-linejoin: round; transition: transform .6s var(--ease), fill .3s; }
.qa[open] .qa__v { transform: rotate(90deg); fill: transparent; }
.qa[open] .qa__q { font-variation-settings: "wdth" 100, "wght" 720; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 26px; margin: 0; max-width: 60ch; color: var(--fg2); }

/* =========================================================
   KONTAKT
   ========================================================= */
.kontakt__title { grid-column: 3 / -1; font-size: clamp(3rem, 1rem + 8.4vw, 11.5rem); line-height: .86; letter-spacing: -.05em; --wdth: 80; --wght: 760; }
.kontakt__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 96px); align-items: end; }
.person { grid-column: 3 / span 4; margin: 0; }
.person figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.person__role { color: var(--fg2); }
.person__name { font-size: clamp(1.6rem, 1rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: -.03em; --wdth: 90; --wght: 700; }
.kontakt__lines { grid-column: 8 / -1; }
.bigline { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 18px 0 20px; border-top: 1px solid var(--line); text-decoration: none; }
.bigline .mono { color: var(--fg2); }
.bigline__v { font-family: var(--f-display); font-variation-settings: "wdth" 84, "wght" 640; font-size: clamp(1.4rem, .6rem + 1.9vw, 2.9rem); line-height: 1.05; letter-spacing: -.03em; overflow-wrap: anywhere; transition: color .3s, font-variation-settings .7s var(--ease); }
.bigline:hover .bigline__v, .bigline:focus-visible .bigline__v { color: var(--hi); font-variation-settings: "wdth" 100, "wght" 720; }
.kontakt__general { display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--gap); padding-top: 18px; border-top: 1px solid var(--line); }
.kontakt__general > .mono:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.kontakt__general > p:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.kontakt__general > .mono:nth-of-type(3) { grid-column: 2; grid-row: 1; }
.kontakt__general > p:nth-of-type(4) { grid-column: 2; grid-row: 2; }
.kontakt__general .mono { color: var(--fg2); padding-top: .3em; }
.kontakt__general p { margin: 0 0 12px; }
.kontakt__general p:not(.mono) { color: var(--fg2); }
.kontakt__general a { color: var(--fg); }
.hausanschluss { grid-column: 8 / -1; display: flex; align-items: center; gap: 12px; position: relative; color: var(--fg2); }
.hausanschluss .pipe-a--end { position: relative; display: inline-block; width: 0; height: 0; }
.hausanschluss__cap { width: 14px; height: 22px; border: 2.4px solid var(--hi); border-left: 0; border-radius: 0 3px 3px 0; flex: none; }

/* =========================================================
   TABLET (< 1024): Index-Spalte klappt über den Titel
   ========================================================= */
@media (max-width: 1023px) {
  .sec-head > .station, .sec-head > h2, .sec-head--aside > h2, .sec-head__aside, .sec-head__sub { grid-column: 1 / -1; }
  .sec-head > .station { padding: 0 0 22px; }
  .sec-head__aside { margin-top: 22px; }
  .hero__m1 { grid-column: 1 / span 7; }
  .hero__m2 { display: none; }
  .hero__m3 { grid-column: 8 / -1; }
  .hero__foot .cta { grid-column: 1 / span 7; }
  .hero__lede { grid-column: 8 / -1; }
  .band__img { margin-left: 0; }
  .band__cap span:first-child { grid-column: 1 / span 5; }
  .band__cap span:last-child { grid-column: 6 / -1; }
  .duo__a { grid-column: 1 / span 5; }
  .duo__b { grid-column: 7 / -1; }
  .pq__img { grid-column: 1 / span 5; }
  .pq__body { grid-column: 7 / -1; }
  .facts { margin-left: 0; }
  .product__no { grid-column: 1 / span 1; }
  .product__name { grid-column: 2 / -1; }
  .product__desc, .product__go { grid-column: 2 / span 8; margin-top: 12px; }
  .step__text { grid-column: 1 / -1; }
  .frame { grid-column: 1 / -1; }
  .keller__vis { grid-column: 1 / -1; }
  .keller__lists { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
  .panel { margin-left: 0; }
  .netz { padding: clamp(104px, 11vw, 184px) var(--gutter) !important; }
  .netz__stage { display: block; padding: 0; min-height: 0; }
  .netz__pipe { display: none; }
  .netz__stage > .sec-head { margin-bottom: 40px; }
  .map { max-width: none; margin: 0; }
  .legend { margin-top: 40px; }
  .legend__item .legend__sw, .legend__item .legend__t { opacity: 1 !important; }
  .check__main { grid-column: 1 / -1; }
  .check__ill { grid-column: 1 / -1; position: relative; top: 0; margin: 56px 0 0; max-width: 440px; }
  .pef, .scale, .docs { grid-column: 1 / -1; }
  .pef__text { grid-column: 1 / -1; }
  .proof__line, .proof__fine { grid-column: 1 / -1; }
  .proof__fine { margin-top: 24px; }
  .faq__aside { grid-column: 1 / -1; position: static; margin-bottom: 36px; }
  .faq__list { grid-column: 1 / -1; }
  .kontakt__title { grid-column: 1 / -1; }
  .person { grid-column: 1 / span 6; }
  .kontakt__lines, .hausanschluss { grid-column: 1 / -1; }
}

/* =========================================================
   MOBIL (< 700)
   ========================================================= */
@media (max-width: 699px) {
  :root { --hdr-h: 64px; --gutter: 22px; }
  main > section { padding-block: 88px; }
  .hero { padding-bottom: 64px !important; }
  .hero__m1 { grid-column: 1 / -1; }
  .hero__m3 { display: none; }
  .line--l { font-size: 11.4vw; }
  .hero__title { padding-top: 6vh; }
  .hero .pipe-a--m { display: block; position: relative; height: 0; margin: 24px 0 0 calc(var(--lane) - var(--gutter)); }
  .pipe-a--hero, .hero__cue { display: none; }
  .hero__foot { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 24px; margin-top: 44px; }
  .band__img { aspect-ratio: 4 / 3; }
  .band__cap { display: flex; flex-direction: column; gap: 4px; }
  .duo { display: block; }
  .duo__b { margin-top: 20px; }
  .pq { display: block; }
  .pq__img { width: 64%; }
  .pq__body { margin-top: 28px; }
  .hang { margin-left: 0; }
  .facts { font-size: 9vw; }
  .product__no { grid-column: 1 / -1; padding: 0 0 6px; }
  .product__name, .product__desc, .product__go { grid-column: 1 / -1; }
  .product__name { font-size: 15vw; }
  .keller__lists { grid-template-columns: 1fr; }
  .switch__btn { padding: 10px 12px; font-size: .75rem; }
  .benefits { grid-template-columns: 1fr; }
  .map { margin-inline: calc(var(--gutter) * -1 + var(--lane) + 8px) calc(var(--gutter) * -1); width: auto; }
  .map__labels li { font-size: .5625rem; letter-spacing: .03em; }
  .map__labels em { font-size: .5rem; }
  .map__labels .ml--place { font-size: .625rem; }
  .map__labels .ml--water { font-size: .75rem; letter-spacing: .2em; }
  .fstep { grid-template-columns: 1fr; }
  .doc a { grid-template-columns: 56px 1fr; }
  .doc__m { grid-column: 2; text-align: left; margin-top: 4px; }
  .doc__paper { width: 40px; }
  .bigline { grid-template-columns: 1fr; gap: 4px; }
  .kontakt__general { grid-template-columns: 1fr; }
  .kontakt__general > * { grid-column: 1 !important; grid-row: auto !important; }
  .person { grid-column: 1 / span 9; }
}


/* =========================================================
   SEITENÜBERGÄNGE (View Transitions, wo unterstützt)
   ========================================================= */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .45s cubic-bezier(.65, 0, .25, 1) both; }
  ::view-transition-new(root) { animation: vt-in .8s cubic-bezier(.2, .7, 0, 1) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-2.5vh); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* =========================================================
   SEITENKOPF (Unterseiten)
   ========================================================= */
.phero { padding-top: calc(var(--hdr-h) + 12px) !important; padding-bottom: clamp(72px, 9vw, 136px) !important; }
.phero__meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 14px; border-top: 1px solid var(--line); color: var(--fg2); animation: fadeUp 1.1s .45s var(--ease) both; }
.phero__meta p { margin: 0; }
.phero__crumb { grid-column: 1 / span 7; display: flex; gap: 10px; }
.phero__crumb a { color: var(--fg); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.phero__crumb a:hover { background-size: 100% 1px; }
.phero__ctx { grid-column: 8 / -1; }
.phero__title { margin-top: clamp(48px, 11vh, 140px); }
.phero__title .line { font-size: var(--fit, clamp(4rem, min(15vw, 28vh), 18rem)); line-height: .8; letter-spacing: -.05em; --wdth: 108; --wght: 800; padding-bottom: .1em; margin-bottom: -.06em; }
.phero__title .line > span { animation: rise 1.25s var(--ease) both, expand2 1.9s .15s var(--ease) both; }
@keyframes expand2 { from { --wdth: 75; --wght: 560; } to { --wdth: 108; --wght: 800; } }
.pipe-a--flow { position: relative; display: block; height: 0; margin: 30px 0 0 calc(var(--lane) - var(--gutter)); }
.phero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); align-items: start; animation: fadeUp 1.1s .65s var(--ease) both; }
.toc { grid-column: 1 / span 5; border-top: 1px solid var(--line); }
.toc a { display: flex; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: padding .5s var(--ease); }
.toc a:hover { padding-left: 10px; }
.toc b { font-weight: 450; color: var(--fg2); min-width: 1.6em; }
.phero__lede { grid-column: 8 / -1; margin: 0; font-size: clamp(1.05rem, .95rem + .4vw, 1.375rem); line-height: 1.45; max-width: 40ch; }

/* Weiter zur nächsten Seite – die Leitung führt hinein */
.next { padding: clamp(72px, 8vw, 128px) var(--gutter) !important; }
.next__link { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; border-top: 1px solid var(--line); padding-top: 18px; text-decoration: none; color: inherit; }
.next__k { grid-column: 1 / span 2; align-self: start; padding-top: .6em; color: var(--fg2); }
.next__t { grid-column: 3 / span 9; position: relative; font-size: clamp(3rem, 1rem + 7.4vw, 10.5rem); line-height: .86; letter-spacing: -.05em; --wdth: 80; --wght: 760; transition: --wdth .9s var(--ease), color .4s; }
.next__link:hover .next__t, .next__link:focus-visible .next__t { --wdth: 96; color: var(--hi); }
.next__arrow { grid-column: 12; justify-self: end; width: clamp(40px, 4.4vw, 72px); height: auto; fill: none; stroke: currentColor; stroke-width: 2; margin-bottom: 1vw; transition: transform .6s var(--ease); }
.next__link:hover .next__arrow { transform: translateX(10px); }
.pipe-a--next { left: -30px; top: 56%; }

.more { margin: 40px 0 0 calc((100% + var(--gap)) / 12 * 2); }
.duo--flush { margin-top: clamp(64px, 7vw, 112px); }
.lead { font-size: clamp(1.2rem, 1rem + .7vw, 1.65rem); line-height: 1.32; margin: 0 0 20px; }
.pq--top { align-items: start; margin-top: 0; }
.pq__body > p:not(.lead) { color: var(--fg2); max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 24px; color: var(--fg2); }
.tags li:not(:last-child)::after { content: "/"; margin: 0 12px; opacity: .6; }
.band--tight { margin-bottom: 0; }

/* Zitat groß, ab Spalte 3 */
.pull { margin: clamp(80px, 9vw, 144px) 0 0 calc((100% + var(--gap)) / 12 * 2); max-width: calc((100% + var(--gap)) / 12 * 8); }
.pull blockquote { margin: 0; }
.pull blockquote p { font-family: var(--f-display); font-variation-settings: "wdth" 88, "wght" 460; font-size: clamp(1.7rem, 1rem + 2.3vw, 3.8rem); line-height: 1.05; letter-spacing: -.03em; margin: 0; text-wrap: pretty; }
.pull figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--fg2); max-width: 420px; }
.pull figcaption span:first-child { color: var(--fg); }

/* =========================================================
   STARTSEITE: Nachweise-Teaser, Aktuelles, Abschluss
   ========================================================= */
.proof__more { grid-column: 8 / -1; margin: clamp(48px, 5vw, 80px) 0 0; align-self: start; }
.finale__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 72px); align-items: start; }
.finale__lede { grid-column: 3 / span 5; margin: 0; font-size: clamp(1.05rem, .95rem + .4vw, 1.375rem); line-height: 1.45; color: var(--fg2); max-width: 40ch; }
.finale__act { grid-column: 8 / -1; display: grid; gap: 28px; }
.finale .hausanschluss { grid-column: 8 / -1; }

/* =========================================================
   NEWS
   ========================================================= */
.news { border-top: 2px solid var(--fg); }
.news__link { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; align-items: start; }
.news__date { grid-column: 1 / span 2; padding-top: .5em; color: var(--fg2); }
.news__body { grid-column: 3 / span 6; display: flex; flex-direction: column; gap: 14px; }
.news__t { font-size: clamp(1.35rem, 1rem + 1.2vw, 2.4rem); line-height: 1.04; letter-spacing: -.025em; --wdth: 86; --wght: 640; transition: --wght .5s var(--ease); }
.news__x { color: var(--fg2); max-width: 54ch; }
.news__go { color: var(--fg2); }
.news__img { grid-column: 10 / -1; aspect-ratio: 3 / 2; overflow: hidden; background: color-mix(in srgb, var(--fg) 8%, transparent); }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.news__link:hover .news__img img, .news__link:focus-visible .news__img img { transform: scale(1.05); }
.news__link:hover .news__t, .news__link:focus-visible .news__t { --wght: 780; }

/* =========================================================
   FERNWÄRME / NACHWEISE: Dokumente ohne Vorschaubild
   ========================================================= */
.docs--plain { margin: clamp(48px, 5vw, 80px) 0 0 calc((100% + var(--gap)) / 12 * 2); }
.doc__no { color: var(--fg2); }

/* Kennwerte-Tabelle */
.kw { width: calc(100% - (100% + var(--gap)) / 12 * 2); margin-left: calc((100% + var(--gap)) / 12 * 2); border-collapse: collapse; }
.kw th { text-align: left; font-weight: 450; color: var(--fg2); padding: 0 0 12px; border-bottom: 2px solid var(--fg); }
.kw td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.kw__v { font-size: clamp(2.6rem, 1rem + 4vw, 6rem); line-height: .9; letter-spacing: -.04em; --wdth: 120; --wght: 780; white-space: nowrap; width: 42%; }
.kw__v small { font-size: .28em; letter-spacing: 0; font-variation-settings: "wdth" 100, "wght" 560; margin-left: .3em; }
.kw td:nth-child(2) { font-size: 1.125rem; }
.kw td:nth-child(3) { color: var(--fg2); }
.note { margin: 28px 0 0 calc((100% + var(--gap)) / 12 * 2); max-width: 70ch; color: var(--fg2); font-size: .9375rem; }

.zert__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.zert__grid .docs { grid-column: 3 / span 5; margin-top: 0; }
.zert__grid .doc a { grid-template-columns: 64px 1fr; row-gap: 6px; }
.zert__grid .doc__m { grid-column: 2; text-align: left; }
.zert__info { grid-column: 8 / -1; }
.zert__info h3 { color: var(--fg2); margin: 0 0 14px; }
.zert__info h3:not(:first-child) { margin-top: 44px; }
.zert__info p { color: var(--fg2); }
.scopes { border-top: 1px solid var(--line); margin-top: 18px; }
.scopes li { padding: 9px 0; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: .02em; }
.src { display: block; margin-top: 8px; font-size: .8125rem; }

/* Große Zahlen (Investitionen, Netzverluste) */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: 48px; margin: 0 0 0 calc((100% + var(--gap)) / 12 * 2); }
.figs--2 { grid-template-columns: 1fr 1fr; }
.fig { border-top: 2px solid var(--fg); padding-top: 18px; margin: 0; }
.fig__k { color: var(--fg2); margin: 0; }
.fig__v { margin: 16px 0 18px; font-family: var(--f-display); font-size: clamp(2.1rem, 1rem + 3vw, 4.6rem); line-height: .95; letter-spacing: -.035em; font-variation-settings: "wdth" 100, "wght" 400; }
.fig__v b { font-weight: normal; font-variation-settings: "wdth" 112, "wght" 820; }
.fig__d { color: var(--fg2); margin: 0; max-width: 34ch; }

/* =========================================================
   NETZ: Ausbaugebiete & Ausblick
   ========================================================= */
.areas { border-top: 2px solid var(--fg); }
.area { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.area__s { grid-column: 1 / span 2; display: flex; align-items: center; gap: 10px; color: var(--fg2); }
.area__s i { flex: none; width: 22px; height: 3px; border-radius: 2px; background: var(--fg); }
.area--live .area__s i { height: 5px; background: #8FBF3A; }
.area__n { grid-column: 3 / span 5; font-size: clamp(1.6rem, 1rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -.03em; --wdth: 84; --wght: 720; }
.area__d { grid-column: 8 / -1; color: var(--fg2); }

.cards2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.card2 { border-top: 2px solid var(--fg); padding-top: 18px; }
.card2:first-child { grid-column: 3 / span 5; }
.card2:last-child { grid-column: 8 / -1; }
.card2__s { display: flex; align-items: center; gap: 10px; color: var(--fg2); margin: 0; }
.card2__s i { width: 22px; height: 4px; background: radial-gradient(circle, currentColor 1.4px, transparent 1.8px) 0 50% / 7px 4px repeat-x; }
.card2__t { font-size: clamp(1.8rem, 1rem + 2vw, 3.2rem); line-height: .96; letter-spacing: -.03em; --wdth: 86; --wght: 720; margin: 16px 0 18px; }
.card2 > p:last-child { color: var(--fg2); max-width: 44ch; margin: 0; }

/* =========================================================
   BIOMASSE: fünf Gründe
   ========================================================= */
.reasons { border-top: 2px solid var(--fg); margin-top: clamp(56px, 6vw, 96px); }
.reason { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); }
.reason__n { grid-column: 1 / span 2; font-size: clamp(3rem, 1rem + 4.4vw, 6.5rem); line-height: .8; letter-spacing: -.04em; --wdth: 125; --wght: 300; }
.reason__t { grid-column: 3 / span 5; margin: 0; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.8rem); line-height: 1; letter-spacing: -.025em; --wdth: 86; --wght: 700; }
.reason__d { grid-column: 8 / -1; margin: 0; color: var(--fg2); max-width: 46ch; }

/* =========================================================
   ÜBER UNS: Team, Engagement
   ========================================================= */
.members { border-top: 2px solid var(--fg); }
.member { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.member__n { grid-column: 3 / span 5; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.8rem); line-height: 1; letter-spacing: -.025em; --wdth: 86; --wght: 680; }
.member__r { grid-column: 8 / span 3; color: var(--fg2); }
.member__m { grid-column: 11 / -1; justify-self: end; text-transform: none; letter-spacing: .01em; color: var(--fg); text-decoration: none; background: linear-gradient(var(--hi), var(--hi)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; white-space: nowrap; }
.member__m:hover { color: var(--hi); background-size: 100% 1px; }

.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; }
.pair__item { margin: 0; }
.pair__item:first-child { grid-column: 3 / span 5; }
.pair__item:last-child { grid-column: 8 / -1; }
.pair__img { aspect-ratio: 3 / 2; }
.pair figcaption { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pair__k { color: var(--fg2); }
.pair__t { font-size: clamp(1.4rem, 1rem + 1vw, 2.2rem); line-height: 1.02; letter-spacing: -.02em; --wdth: 88; --wght: 700; }
.pair__d { color: var(--fg2); max-width: 44ch; }

/* =========================================================
   KONTAKT: weitere Kontakte
   ========================================================= */
.contacts { border-top: 2px solid var(--fg); }
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__k { grid-column: 1 / span 2; color: var(--fg2); }
.contact__v { grid-column: 3 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px clamp(24px, 4vw, 64px); font-family: var(--f-display); font-variation-settings: "wdth" 88, "wght" 600; font-size: clamp(1.25rem, 1rem + 1.1vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; }
.contact__v > span { font-family: var(--f-body); font-size: 1rem; letter-spacing: 0; color: var(--fg2); font-variation-settings: normal; }
.contact__v a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.contact__v a:hover { background-size: 100% 2px; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  position: relative; z-index: 1;
  background: var(--forest-dd); color: var(--cream);
  padding: clamp(80px, 9vw, 144px) var(--gutter) 28px;
  --fg: #F2ECDF; --fg2: #A9B9AE; --line: rgba(242, 236, 223, .16); --hi: #B2D963; --focus: #B2D963;
}
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: clamp(56px, 6vw, 96px); }
.foot__cta { grid-column: 1 / span 7; }
.foot__k { color: var(--fg2); margin: 0 0 20px; }
.foot__big { display: inline-flex; align-items: center; gap: .22em; font-size: clamp(3rem, 1rem + 6.4vw, 9.4rem); line-height: .88; letter-spacing: -.05em; --wdth: 80; --wght: 760; color: var(--fg); text-decoration: none; transition: --wdth .9s var(--ease), color .35s; }
.foot__big:hover, .foot__big:focus-visible { --wdth: 96; color: var(--hi); }
.foot__arrow { width: .52em; height: auto; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .6s var(--ease); }
.foot__big:hover .foot__arrow { transform: translateX(.12em); }
.foot__lede { color: var(--fg2); max-width: 42ch; margin: 26px 0 0; }
.foot__map { grid-column: 9 / -1; margin: 0; }
.footmap { display: block; width: 100%; height: auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 86%, transparent);
          mask-composite: intersect; }
.footmap__land { fill: none; }
.footmap__basins path { fill: none; stroke: rgba(242, 236, 223, .22); stroke-width: .8; }
.footmap__coast { fill: none; stroke: rgba(242, 236, 223, .5); stroke-width: 1.4; }
.footmap__plan path { fill: none; stroke: rgba(242, 236, 223, .45); stroke-width: 3; stroke-dasharray: 1 9; stroke-linecap: round; }
.footmap__build path { fill: none; stroke: rgba(242, 236, 223, .75); stroke-width: 3; stroke-linecap: round; }
.footmap__live path { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; }
.footmap__k { fill: var(--ember); }
.footmap__glow { transform-box: fill-box; transform-origin: center; animation: kglow 2.8s ease-in-out infinite; }
.footmap__t { font: 450 20px var(--f-mono); fill: rgba(242, 236, 223, .38); letter-spacing: .3em; text-transform: uppercase; }
.foot__map figcaption { display: flex; justify-content: space-between; gap: 12px; color: var(--fg2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }

.foot__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 44px; padding: 40px 0 clamp(56px, 6vw, 96px); border-top: 1px solid var(--line); }
.foot__brand { grid-column: 1 / span 4; }
.foot__cols > .foot__nav:nth-child(2) { grid-column: 5 / span 2; }
.foot__cols > .foot__nav:nth-child(3) { grid-column: 7 / span 2; }
.foot__contact { grid-column: 9 / -1; }
.foot__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.foot__logo .mark { width: 24px; height: 24px; fill: var(--lime); }
.foot__claim { margin: 28px 0 22px; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1.02; letter-spacing: -.02em; --wdth: 86; --wght: 640; }
.foot address { font-style: normal; color: var(--fg2); }
.foot__nav p, .foot__contact > p { color: var(--fg2); margin: 0 0 14px; }
.foot__nav a, .foot__contact a, .foot__bar a { color: var(--fg); text-decoration: none; background: linear-gradient(var(--hi), var(--hi)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.foot__nav a:hover, .foot__contact a:hover, .foot__bar a:hover { color: var(--hi); background-size: 100% 1px; }
.foot__nav a { display: inline-block; padding: 5px 0; }
.foot__nav a[aria-current="page"] { color: var(--hi); }
.foot__contact dl { margin: 0; display: grid; gap: 18px; }
.foot__contact dt { font: 450 .6875rem/1.4 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg2); }
.foot__contact dd { margin: 6px 0 0; line-height: 1.7; }
.foot__social { display: inline-block; margin-top: 22px; }

.foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--fg2); }
.foot__bar p { margin: 0; }
.foot__draft { color: var(--hi); }
.foot__legal { display: flex; gap: 24px; }
.foot__bar a { display: inline-block; padding: 6px 0; }
.foot :focus-visible { outline-color: var(--lime); }

/* =========================================================
   RESPONSIVE (Unterseiten & Footer)
   ========================================================= */
@media (max-width: 1023px) {
  .phero__crumb { grid-column: 1 / span 7; }
  .phero__ctx { grid-column: 8 / -1; }
  .toc { grid-column: 1 / -1; }
  .phero__lede { grid-column: 1 / -1; margin-top: 32px; }
  .next__k { grid-column: 1 / -1; padding: 0 0 14px; }
  .next__t { grid-column: 1 / span 11; }
  .more, .docs--plain, .note, .pull, .figs { margin-left: 0; }
  .kw { width: 100%; margin-left: 0; }
  .pull { max-width: none; }
  .proof__more { grid-column: 1 / -1; }
  .finale__lede, .finale__act, .finale .hausanschluss { grid-column: 1 / -1; }
  .news__date { grid-column: 1 / -1; padding: 0 0 8px; }
  .news__body { grid-column: 1 / span 8; }
  .news__img { grid-column: 9 / -1; }
  .zert__grid .docs, .zert__info { grid-column: 1 / -1; }
  .zert__info { margin-top: 48px; }
  .figs { grid-template-columns: 1fr 1fr; }
  .area__s { grid-column: 1 / -1; padding-bottom: 8px; }
  .area__n { grid-column: 1 / span 6; }
  .area__d { grid-column: 7 / -1; }
  .card2:first-child, .card2:last-child { grid-column: 1 / -1; }
  .reason__n { grid-column: 1 / span 2; }
  .reason__t { grid-column: 3 / span 10; }
  .reason__d { grid-column: 3 / -1; margin-top: 14px; }
  .member__n { grid-column: 1 / span 6; }
  .member__r { grid-column: 7 / -1; }
  .member__m { grid-column: 7 / -1; justify-self: start; margin-top: 6px; }
  .pair__item:first-child, .pair__item:last-child { grid-column: 1 / -1; }
  .contact__k { grid-column: 1 / -1; padding-bottom: 8px; }
  .contact__v { grid-column: 1 / -1; }
  .foot__cta { grid-column: 1 / -1; }
  .foot__map { grid-column: 1 / span 8; margin-top: 56px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__cols > .foot__nav:nth-child(2) { grid-column: 1 / span 4; }
  .foot__cols > .foot__nav:nth-child(3) { grid-column: 5 / span 4; }
  .foot__contact { grid-column: 9 / -1; }
}
@media (max-width: 699px) {
  .phero__ctx { display: none; }
  .phero__crumb { grid-column: 1 / -1; }
  .phero__title { margin-top: 9vh; }
  .next__arrow { display: none; }
  .next__t { grid-column: 1 / -1; }
  .news__body, .news__img { grid-column: 1 / -1; }
  .news__img { margin-top: 18px; order: -1; }
  .news__link { display: flex; flex-direction: column; }
  .figs, .figs--2 { grid-template-columns: 1fr; }
  .kw thead { display: none; }
  .kw, .kw tbody, .kw tr, .kw td { display: block; width: 100%; }
  .kw tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .kw td { border: 0; padding: 4px 0; }
  .area__n, .area__d { grid-column: 1 / -1; }
  .area__d { margin-top: 8px; }
  .reason__n { grid-column: 1 / -1; margin-bottom: 14px; }
  .reason__t, .reason__d { grid-column: 1 / -1; }
  .member__n, .member__r, .member__m { grid-column: 1 / -1; }
  .member__r { margin-top: 6px; }
  .foot__map { grid-column: 1 / -1; }
  .foot__cols > .foot__nav:nth-child(2) { grid-column: 1 / span 6; }
  .foot__cols > .foot__nav:nth-child(3) { grid-column: 7 / -1; }
  .foot__contact { grid-column: 1 / -1; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
  .foot__map figcaption { flex-direction: column; gap: 4px; }
}

.pipe-a--top { left: var(--lane); top: 0; }
@media (max-width: 1023px) { .pipe-a--top { display: none; } }
html.rm .pipe-a--top { display: none; }

/* Footer behält immer seinen tiefen Grund; die Karten-Bühne bleibt dunkel, auch während der Farbwechsel */
html footer.foot { background: var(--forest-dd); color: var(--cream); }
@media (min-width: 1024px) { html.js:not(.rm) body[data-theme] section.netz[data-theme] { background: #1B4031; color: #F2ECDF; --bg: #1B4031; --fg: #F2ECDF; --fg2: #BFCBBE; --line: rgba(242, 236, 223, .2); --hi: #B2D963; --focus: #B2D963; } }
.pull--s blockquote p { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.6rem); line-height: 1.1; }

.docs--plain .doc a { grid-template-columns: 96px 1fr auto; }
@media (max-width: 699px) {
  .docs--plain .doc a { grid-template-columns: 1fr; row-gap: 6px; }
  .docs--plain .doc__m { grid-column: 1; text-align: left; }
}

/* „So funktioniert’s“ behält immer seinen hellen Grund – kein Mischzustand beim Farbwechsel */
@media (min-width: 1024px) { html.js:not(.rm) body[data-theme] section.how[data-theme] { background: #F2ECDF; color: #1B4031; --bg: #F2ECDF; --fg: #1B4031; --fg2: #4B6658; --line: rgba(27, 64, 49, .2); --hi: #1B4031; --focus: #1B4031; } }

/* =========================================================
   Reduced Motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__w { --wdth: 112; --wght: 820; }
}
