/* seite.css · TROPFGENAU Leckortung (Beispiel). Gestaltung dieser Seite; die Pflichtteile stehen in grund.css.
 * Zwei Fassungen: flach (ohne JavaScript oder mit „weniger Bewegung“: alles steht untereinander) und bewegt
 * (html.bewegt: angeheftete Bühnen, gesteuert über --p von 0 bis 1 aus js/tropf.js). */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Red Hat Mono"; src: url("../fonts/red-hat-mono-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

h2 { font-size: var(--t-gross); letter-spacing: -0.03em; }
.abschnitt h2 { max-width: 17ch; }
.abschnitt-satz { margin-top: 18px; max-width: 38rem; color: var(--text-2); font-size: var(--t-mittel); line-height: 1.45; }
.zahl, .suchfeld, .werte strong, .messleiste, .preisliste dd, .blatt, .geraet-nr, .lupe-wert, .ppm { font-family: var(--schrift-mono); font-variant-numeric: tabular-nums; }

/* ---------- Kopfzeile */
.marke { gap: 10px; font-weight: 800; letter-spacing: 0.02em; }
.marke-punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--gelb); box-shadow: 0 0 0 4px var(--magenta), 0 0 0 8px var(--violett); margin-inline: 8px 6px; }
.menue a { font-weight: 560; color: var(--text); }
.knopf { font-weight: 750; }
@media (hover: hover) and (pointer: fine) { .knopf:hover { transform: translateY(-2px); } .knopf:active { transform: scale(0.97); } }

/* ---------- Messleiste am rechten Rand */
.messleiste { display: none; }
@media (min-width: 1100px) {
  .bewegt .messleiste { position: fixed; right: 14px; top: 50%; z-index: 40; display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 999px; background: rgba(12, 6, 32, 0.82); color: var(--text); font-size: 0.72rem; transform: translateY(-50%); transition: opacity 0.4s ease; }
  .bewegt:not(.kopf-fest) .messleiste { opacity: 0; }
  .messleiste-wort { writing-mode: vertical-rl; color: var(--text-3); }
  .messleiste-wert { writing-mode: vertical-rl; font-weight: 600; color: var(--gelb); }
  .messleiste-skala { position: relative; width: 6px; height: 150px; border-radius: 3px; background: linear-gradient(to top, var(--kalt), var(--violett) 28%, var(--magenta) 52%, var(--orange) 76%, var(--gelb)); }
  .messleiste-marke { position: absolute; left: -5px; right: -5px; bottom: 0; height: 3px; border-radius: 2px; background: #fff; transform: translateY(calc(var(--m, 0) * -147px)); }
}

/* ---------- Bühnen: flach stehen sie als gewöhnliche Abschnitte, bewegt sind sie angeheftet */
.buehne { position: relative; }
.bewegt .buehne { position: sticky; top: 0; height: 100svh; overflow: clip; }
.bewegt:not(.bereit) :is(.schritt, .suchfeld, .suchring, .lupe, .kopf-hinweis) { visibility: hidden; }
.schritt { position: relative; z-index: 5; padding-block: 56px; }
.schritt h2 { max-width: 15ch; font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.6rem); }
.schritt-nr { margin-bottom: 14px; font-family: var(--schrift-mono); font-size: 0.85rem; letter-spacing: 0.06em; color: var(--gelb); }
.schritt-satz { margin-top: 18px; max-width: 30rem; color: var(--text-2); font-size: var(--t-mittel); line-height: 1.45; }
.werte { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; color: var(--text-2); font-size: 0.95rem; }
.werte li { display: grid; }
.werte strong { color: var(--text); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.suchfeld { display: none; }
.bewegt .suchfeld { position: absolute; z-index: 5; right: var(--kante); bottom: clamp(28px, 7vh, 80px); display: grid; justify-items: end; margin: 0; line-height: 0.9; color: var(--gelb); pointer-events: none; }
.suchfeld-wort { font-size: 0.85rem; color: var(--text); }
.suchfeld-zahl { font-size: clamp(4rem, 2rem + 11vw, 12.5rem); font-weight: 600; letter-spacing: -0.06em; }
.suchfeld-einheit { font-size: clamp(1.2rem, 1rem + 1.4vw, 2.4rem); color: var(--text); }

/* ---------- 1 · Kopf und Wärmebild */
.anfang { display: block; min-height: 0; padding-top: 0; background: var(--grund); }
.bewegt .anfang { height: 330svh; }
.thermo-buehne { min-height: 100svh; }
.thermo-bilder { position: absolute; inset: 0 0 auto 0; height: 100svh; overflow: clip; }
.thermo-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bild-lupe { clip-path: circle(var(--lr, 12vmin) at var(--mx, 71%) var(--my, 62%)); }
.kopf-schleier { position: absolute; inset: 0 0 auto 0; height: 100svh; background: linear-gradient(90deg, rgba(12, 6, 32, 0.9) 0%, rgba(12, 6, 32, 0.62) 34%, rgba(12, 6, 32, 0) 62%), linear-gradient(180deg, rgba(12, 6, 32, 0.6) 0, rgba(12, 6, 32, 0) 130px); }
.abtast, .suchring, .lupe, .kopf-hinweis { display: none; }
.kopf-text { position: relative; z-index: 5; min-height: 100svh; display: grid; align-content: end; padding-top: calc(var(--kopf-hoehe) + 40px); padding-bottom: clamp(36px, 8vh, 96px); }
.titel { font-size: clamp(2.5rem, 1.2rem + 5vw, 5.75rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.04em; }
.titel span { display: block; color: var(--gelb); }
.unterzeile { max-width: 33rem; color: var(--text); }
.beleg { color: var(--text-2); font-size: 1rem; }
.beleg strong { font-family: var(--schrift-mono); color: var(--gelb); }
.beruhigung { color: var(--text); }
.schritt-thermo { background: var(--grund); }

.bewegt .bild-thermo { transform-origin: var(--hx, 49%) var(--hy, 74%); transform: scale(calc(1 + clamp(0, (var(--p, 0) - 0.06) * 1.35, 1) * 0.85)); will-change: transform; }
.bewegt .bild-thermo { animation: aufdecken 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.3s both; }
.bewegt .bild-lupe { clip-path: circle(calc(var(--lr, 0px) * clamp(0, 1 - var(--p, 0) * 9, 1)) at var(--mx, 71%) var(--my, 62%)); }
@keyframes aufdecken { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.bewegt .abtast { display: block; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 3px; background: var(--gelb); box-shadow: 0 0 24px 6px rgba(255, 210, 63, 0.55); animation: abtasten 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.3s both; }
@keyframes abtasten { 0% { transform: translateX(0); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
.bewegt .lupe { display: block; position: absolute; z-index: 4; left: 0; top: 0; width: 0; height: 0; transform: translate(var(--mx, 71vw), var(--my, 62vh)); opacity: clamp(0, 1 - var(--p, 0) * 9, 1); pointer-events: none; }
.lupe-ring { position: absolute; left: calc(var(--lr, 100px) * -1); top: calc(var(--lr, 100px) * -1); width: calc(var(--lr, 100px) * 2); height: calc(var(--lr, 100px) * 2); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(12, 6, 32, 0.5), 0 18px 50px rgba(12, 6, 32, 0.5); }
.lupe-wort, .lupe-wert { position: absolute; left: calc(var(--lr, 100px) * 0.78); white-space: nowrap; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; }
.lupe-wort { top: calc(var(--lr, 100px) * -1 - 6px); background: #fff; color: var(--tinte); font-weight: 700; }
.lupe-wert { top: calc(var(--lr, 100px) * 0.72); background: var(--grund); color: var(--gelb); }
.bewegt .kopf-text { position: absolute; inset: auto 0 0 0; min-height: 0; display: block; padding-top: 0; opacity: clamp(0, 1 - var(--p, 0) * 7, 1); transform: translateY(calc(var(--p, 0) * -260px)); }
.bewegt .kopf-hinweis { display: block; position: absolute; z-index: 5; right: var(--kante); bottom: clamp(36px, 8vh, 96px); max-width: 15rem; text-align: right; font-size: 0.85rem; color: var(--text); padding: 8px 14px; border-radius: 12px; background: rgba(12, 6, 32, 0.78); opacity: clamp(0, 1 - var(--p, 0) * 9, 1); }
.bewegt .suchring { display: block; position: absolute; z-index: 2; left: var(--hx, 49%); top: var(--hy, 74%); width: var(--rd, 60vmin); height: var(--rd, 60vmin); margin: calc(var(--rd, 60vmin) / -2) 0 0 calc(var(--rd, 60vmin) / -2); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 200vmax rgba(8, 3, 24, 0.66), inset 0 0 0 1px rgba(12, 6, 32, 0.4); opacity: clamp(0, (var(--p, 0) - 0.2) * 7, 1); }
.bewegt .suchring::before, .bewegt .suchring::after { content: ""; position: absolute; background: #fff; }
.bewegt .suchring::before { left: 50%; top: -14px; width: 2px; height: 28px; margin-left: -1px; box-shadow: 0 var(--rd, 60vmin) 0 #fff; }
.bewegt .suchring::after { top: 50%; left: -14px; height: 2px; width: 28px; margin-top: -1px; box-shadow: var(--rd, 60vmin) 0 0 #fff; }
.bewegt .schritt-thermo { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(36px, 8vh, 96px); background: none; opacity: clamp(0, (var(--p, 0) - 0.24) * 7, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - 0.2) * 5, 1)) * 70px)); }
.bewegt .suchfeld-thermo { opacity: clamp(0, (var(--p, 0) - 0.24) * 7, 1); }

/* ---------- 2 · Horchen */
.horchen { position: relative; background: var(--grund); }
.bewegt .horchen { height: 250svh; }
.horchen-buehne { display: grid; }
.horchen-bild { width: 100%; height: 56svh; object-fit: cover; object-position: 72% 50%; }
.horchen-schleier, .schall, .welle, .pegel { display: none; }
.bewegt .horchen-bild { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(calc(1.2 - var(--p, 0) * 0.2)); transform-origin: 84% 90%; will-change: transform; }
.bewegt .horchen-schleier { display: block; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 6, 32, 0.94) 0%, rgba(12, 6, 32, 0.7) 32%, rgba(12, 6, 32, 0) 60%), linear-gradient(0deg, rgba(12, 6, 32, 0.75) 0, rgba(12, 6, 32, 0) 34%); }
.bewegt .schritt-horchen { position: absolute; inset: 0 0 auto 0; padding-top: calc(var(--kopf-hoehe) + clamp(24px, 9vh, 110px)); }
.bewegt .schritt-horchen > * { transform: translateY(calc((1 - clamp(0, var(--p, 0) * 6, 1)) * 60px)); opacity: clamp(0, var(--p, 0) * 8, 1); }
.bewegt .schall { display: block; position: absolute; z-index: 3; left: var(--sx, 84%); top: var(--sy, 90%); width: 0; height: 0; }
.schall i { position: absolute; left: 50%; top: 50%; width: calc(90px + var(--p, 0) * 420px); height: calc((90px + var(--p, 0) * 420px) * 0.34); margin: calc((90px + var(--p, 0) * 420px) * -0.17) 0 0 calc((90px + var(--p, 0) * 420px) / -2); border-radius: 50%; border: 2.5px solid var(--gelb); animation: schall 2.4s linear infinite; opacity: 0; }
.schall i:nth-child(2) { animation-delay: 0.8s; border-color: var(--orange); }
.schall i:nth-child(3) { animation-delay: 1.6s; border-color: var(--magenta); }
@keyframes schall { 0% { transform: scale(0.08); opacity: 0.95; } 100% { transform: scale(1); opacity: 0; } }
.bewegt .welle { display: block; position: absolute; z-index: 3; left: 0; bottom: 10%; width: 100%; height: clamp(120px, 24vh, 240px); }
.bewegt .pegel { position: absolute; z-index: 4; right: calc(var(--kante) + 44px); top: calc(var(--kopf-hoehe) + 6vh); display: flex; flex-direction: column-reverse; gap: 5px; }
.pegel i { width: clamp(26px, 3vw, 46px); height: clamp(6px, 1.1vh, 10px); border-radius: 2px; background: var(--f, var(--gelb)); opacity: calc(0.16 + clamp(0, (var(--pegel, 0) - var(--n, 0)) * 22, 1) * 0.84); }
.bewegt .suchfeld-horchen, .bewegt .suchfeld-gas { right: auto; left: var(--kante); justify-items: start; bottom: clamp(20px, 5vh, 56px); }
.suchfeld-horchen .suchfeld-zahl, .suchfeld-gas .suchfeld-zahl { font-size: clamp(3.4rem, 1.4rem + 7vw, 8rem); }
@media (max-height: 820px) and (min-width: 900px) { .suchfeld-horchen .suchfeld-zahl, .suchfeld-gas .suchfeld-zahl { font-size: 5rem; } .bewegt .schritt-horchen, .bewegt .schritt-gas, .bewegt .schritt-fund { padding-top: calc(var(--kopf-hoehe) + 20px); } }
.bewegt .suchfeld-horchen { opacity: clamp(0, var(--p, 0) * 8, 1); }

/* ---------- 3 · Spürgas und Fundstelle */
.spuergas { position: relative; background: radial-gradient(120% 90% at 70% 60%, #2a1266 0%, var(--grund) 62%); }
.bewegt .spuergas { height: 380svh; }
.boden-raum { display: none; }
.fund-bild { margin: 28px 0 0; max-width: 26rem; }
.fund-bild img { width: 100%; border-radius: 6px; }
.bewegt .fund-bild { display: none; }
.bewegt .boden-raum { position: absolute; inset: 0 6% 0 36%; display: grid; place-items: center; perspective: 1500px; }
.boden { width: min(46vw, 92vh); aspect-ratio: 6 / 4; display: grid; grid-template-columns: repeat(6, 1fr); transform-style: preserve-3d; transform-origin: 58.33% 62.5%; transform: translate(calc(var(--b, 0) * 5vw), calc(var(--b, 0) * -3vh)) rotateX(calc((1 - var(--b, 0)) * 54deg)) rotateZ(calc((1 - var(--b, 0)) * -8deg)) scale(calc(0.96 + var(--b, 0) * 0.5)); will-change: transform; }
.fliese { position: relative; aspect-ratio: 1; transform-style: preserve-3d; }
.dreh { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%; transform: rotateY(calc(clamp(0, (var(--a, 0) * 1.75 - var(--d, 0)) * 3.2, 1) * (1 - clamp(0, var(--b, 0) * 3.4, 1)) * 180deg)); }
.vorn, .hinten { position: absolute; inset: 0; backface-visibility: hidden; }
.vorn { background: url("../bilder/fliese-640.webp") var(--bp, 30% 40%) / 240% auto; box-shadow: inset 0 0 0 1.5px #77717f; }
.hinten { display: grid; place-items: center; transform: rotateY(180deg); background: var(--stufe, var(--grund-2)); box-shadow: inset 0 0 0 1.5px var(--grund); color: var(--stufe-text, var(--text)); }
.ppm { font-size: clamp(0.8rem, 0.4rem + 1.5vw, 1.9rem); font-weight: 600; letter-spacing: -0.04em; }
.ppm small { display: block; font-size: 0.5em; font-weight: 400; text-align: center; opacity: 0.8; }
.loch { position: absolute; inset: 0; background: url("../bilder/oeffnung-1000.webp") center / cover; box-shadow: inset 0 0 22px 6px rgba(0, 0, 0, 0.6); opacity: clamp(0, var(--c, 0) * 30, 1); }
.ziel .dreh { transform-origin: 50% 0; transform: rotateY(calc(clamp(0, (var(--a, 0) * 1.75 - var(--d, 0)) * 3.2, 1) * (1 - clamp(0, var(--b, 0) * 3.4, 1)) * 180deg)) translateZ(calc(var(--c, 0) * 60px)) rotateX(calc(var(--c, 0) * 74deg)); opacity: clamp(0, (1 - var(--c, 0)) * 4.5, 1); }
.ziel .vorn { box-shadow: inset 0 0 0 1.5px #77717f, 0 30px 40px rgba(0, 0, 0, calc(var(--c, 0) * 0.5)); }
.ziel::after { content: ""; position: absolute; inset: -5px; border: 4px solid var(--gelb); border-radius: 4px; transform: translateZ(2px); opacity: clamp(0, (var(--b, 0) - 0.35) * 4, 1); pointer-events: none; }
.bewegt .schritt-gas, .bewegt .schritt-fund { position: absolute; inset: 0 0 auto 0; padding-top: calc(var(--kopf-hoehe) + clamp(24px, 9vh, 110px)); }
.bewegt .schritt-gas { opacity: clamp(0, 1 - (var(--p, 0) - 0.5) * 16, 1); transform: translateY(calc(clamp(0, (var(--p, 0) - 0.5) * 12, 1) * -50px)); }
.bewegt .schritt-fund { opacity: clamp(0, (var(--p, 0) - 0.58) * 14, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - 0.56) * 10, 1)) * 60px)); }
.bewegt .schritt-gas > *, .bewegt .schritt-fund > * { max-width: min(30rem, 34vw); }
.bewegt .gas-buehne::before { content: ""; position: absolute; z-index: 2; inset: 0 52% 0 0; background: linear-gradient(90deg, var(--grund) 80%, rgba(12, 6, 32, 0)); }

/* ---------- 4 · Vergleich und Preise (hell) */
.preise { --text: #1a0f33; --text-2: #46395f; --text-3: #5d5076; --linie: #cfc3dc; --akzent: #a3105f; background: var(--hell); color: var(--text); }
.preise-raster { display: grid; gap: 48px clamp(32px, 6vw, 110px); align-items: end; }
@media (min-width: 980px) { .preise-raster { grid-template-columns: minmax(0, 1fr) auto; } }
.preisliste { margin: 36px 0 0; max-width: 34rem; }
.preisliste div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1.5px solid var(--linie); }
.preisliste dt { font-weight: 600; }
.preisliste dd { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; color: var(--akzent); white-space: nowrap; }
.preise-fuss { margin-top: 18px; max-width: 34rem; font-size: 0.95rem; color: var(--text-2); }
.massstab { --s: min(78vw, 52vh, 520px); position: relative; width: calc(var(--s) * 1.42); max-width: 100%; height: var(--s); }
.flaeche-gross { position: absolute; left: 0; bottom: 0; width: var(--s); height: var(--s); display: grid; align-content: end; padding: clamp(14px, 2vw, 26px); color: #fff; background: repeating-linear-gradient(135deg, #a3105f 0 14px, #8c0d55 14px 28px); background-position: calc(var(--p, 1) * 160px) 0; transform-origin: 0 100%; transform: scale(clamp(0.16, (var(--p, 1) - 0.14) * 3, 1)); }
.flaeche-gross p { opacity: clamp(0, (var(--p, 1) - 0.4) * 9, 1); line-height: 1.35; }
.massstab strong { display: block; white-space: nowrap; font-family: var(--schrift-mono); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 8px; }
.flaeche-klein { position: absolute; left: calc(var(--s) * 1.06); bottom: 0; width: calc(var(--s) * 0.16); height: calc(var(--s) * 0.16); background: var(--gelb); box-shadow: 0 0 0 5px var(--orange), 0 0 0 10px var(--magenta), 0 0 0 15px var(--violett); }
.flaeche-klein-text { position: absolute; left: calc(var(--s) * 1.04); bottom: calc(var(--s) * 0.16 + 30px); line-height: 1.35; }
@media (max-width: 620px) { .massstab { --s: 54vw; } .flaeche-klein-text { font-size: 0.9rem; } }

/* ---------- 5 · Geräte */
.geraete { position: relative; padding-block: var(--abstand); background: #23104c; overflow: clip; }
.geraete-tisch { margin-top: clamp(28px, 5vw, 64px); overflow: clip; }
.geraete-flaeche { position: relative; width: max(100%, 920px); aspect-ratio: 16 / 9; max-height: 82svh; margin-inline: auto; transform: translateX(var(--schub, 0px)); transition: transform 0.7s var(--aus); }
.geraete-flaeche img { position: absolute; inset: -2%; width: 104%; height: 104%; max-width: none; object-fit: cover; transform: translate(var(--gx, 0px), var(--gy, 0px)); transition: transform 0.5s var(--aus); }
.lichtband { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0.5) * 130% - 20%); width: 16%; background: linear-gradient(90deg, rgba(255, 210, 63, 0), rgba(255, 210, 63, 0.2), rgba(255, 210, 63, 0)); pointer-events: none; }
.punkt { position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
html:not(.js) .punkt, html:not(.js) .geraet-text { display: none; }
.punkt::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--aus), background-color 0.3s ease; }
.punkt::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid #fff; opacity: 0.55; transition: transform 0.45s var(--aus), opacity 0.3s ease, border-color 0.3s ease; }
.punkt.aktiv::before { background: var(--gelb); transform: scale(1.5); }
.punkt.aktiv::after { border-color: var(--gelb); opacity: 1; transform: scale(1.7); }
.punkt[data-geraet="0"] { left: 12.8%; top: 50%; } .punkt[data-geraet="1"] { left: 44.4%; top: 43%; } .punkt[data-geraet="2"] { left: 58.4%; top: 56%; }
.punkt[data-geraet="3"] { left: 68.6%; top: 56%; } .punkt[data-geraet="4"] { left: 79.4%; top: 52%; } .punkt[data-geraet="5"] { left: 88.4%; top: 51%; }
.geraet-text { margin-top: clamp(20px, 3vw, 40px); display: grid; gap: 6px 40px; align-items: baseline; min-height: 9.5rem; }
@media (min-width: 800px) { .geraet-text { grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 1.2fr); min-height: 6rem; } }
.geraet-nr { color: var(--gelb); font-size: 1rem; }
.geraet-text h3 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); letter-spacing: -0.03em; }
.geraet-text p:last-child { color: var(--text-2); font-size: var(--t-mittel); line-height: 1.4; max-width: 34rem; }
.geraet-text.wechsel > * { animation: einblenden 0.5s var(--aus) both; }
.geraet-text.wechsel p:last-child { animation-delay: 0.07s; }
@keyframes einblenden { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.geraete-liste { list-style: none; margin-top: 32px; padding: 0; display: grid; gap: 14px; color: var(--text-2); }
.geraete-liste strong { display: block; color: var(--text); }
.js .geraete-liste { display: none; }

/* ---------- 6 · Bericht (orange) */
.bericht { --text: #1a0f33; --text-2: #3b1d17; --akzent: #1a0f33; background: var(--orange); color: var(--text); overflow: clip; }
.bericht-raster { display: grid; gap: 48px clamp(32px, 6vw, 110px); align-items: center; }
@media (min-width: 980px) { .bericht-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.bericht-zahl { margin-top: 26px; font-size: 1.05rem; }
.bericht-zahl strong { display: block; font-family: var(--schrift-mono); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; }
.blatt-raum { perspective: 1300px; display: grid; place-items: center; }
.blatt { position: relative; width: min(100%, 460px); padding: clamp(22px, 3vw, 36px); background: #fffaf0; color: #1a0f33; font-size: clamp(0.72rem, 0.66rem + 0.3vw, 0.9rem); line-height: 1.4; box-shadow: 0 40px 70px -20px rgba(70, 20, 0, 0.55); transform: rotateX(calc((1 - clamp(0, var(--p, 1) * 2.2, 1)) * 38deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)) rotateZ(calc(-3deg + (1 - clamp(0, var(--p, 1) * 2.2, 1)) * -6deg)) translateY(calc((1 - clamp(0, var(--p, 1) * 2.2, 1)) * 120px)); }
.blatt-kopf { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid #1a0f33; font-weight: 700; }
.blatt-zeile { display: grid; grid-template-columns: 6.2em 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid #ddd2c2; }
.blatt-zeile span:first-child { color: #6b5f80; }
.blatt-zeile span:last-child { font-weight: 600; clip-path: inset(0 calc((1 - clamp(0, (var(--p, 1) - 0.2 - var(--n, 0) * 0.04) * 16, 1)) * 100%) 0 0); }
.blatt-zeile:nth-child(3) { --n: 1; } .blatt-zeile:nth-child(4) { --n: 2; } .blatt-zeile:nth-child(5) { --n: 3; } .blatt-zeile:nth-child(6) { --n: 4; } .blatt-zeile:nth-child(7) { --n: 5; }
.blatt-bild { display: block; height: clamp(90px, 14vw, 150px); margin-top: 14px; background: url("../bilder/thermo-800.webp") 48% 88% / 165% auto; clip-path: inset(0 calc((1 - clamp(0, (var(--p, 1) - 0.42) * 9, 1)) * 100%) 0 0); }
.stempel { position: absolute; right: 8%; bottom: 9%; padding: 8px 14px; border: 3px solid #c2146f; border-radius: 8px; color: #c2146f; background: rgba(255, 250, 240, 0.86); font-weight: 700; text-align: center; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.06em; transform: rotate(-11deg) scale(calc(1 + (1 - clamp(0, (var(--p, 1) - 0.52) * 12, 1)) * 1.4)); opacity: clamp(0, (var(--p, 1) - 0.52) * 12, 1); }

/* ---------- 7 · Anfrage */
.kontakt { position: relative; padding-block: var(--abstand); overflow: clip; background: var(--grund); }
.kontakt-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(calc(1.16 - var(--p, 1) * 0.16)); transform-origin: 78% 70%; }
.kontakt-schleier { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 5, 30, 0.95) 0%, rgba(8, 5, 30, 0.82) 42%, rgba(8, 5, 30, 0.2) 78%); }
.kontakt-innen { position: relative; }
.kontakt h2 { font-size: var(--t-gross); }
.kontakt .abschnitt-satz { margin-bottom: 32px; color: var(--text); }
.kontakt .kontakt-raster { align-items: end; }
.wahl { margin: 0 0 6px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wahl legend { padding: 0; margin-bottom: 10px; font-size: 0.95rem; color: var(--text-2); }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahl span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--linie-feld); font-weight: 600; transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s var(--aus); }
.wahl input:checked + span { background: var(--gelb); color: #1d0c00; box-shadow: none; }
.wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 3px; }
.wahl label:active span { transform: scale(0.96); }
.feld label { color: var(--text); }
.feld input, .feld textarea { background-color: rgba(27, 15, 61, 0.86); }
.feld textarea { min-height: 96px; }
.direkt a { font-family: var(--schrift-mono); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Fuß */
.zeichen-reihe { list-style: none; margin: 14px 0; padding: 0; display: flex; justify-content: center; gap: 10px; }
.zeichen-link { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--linie-feld); transition: background-color 0.3s ease, color 0.3s ease; }
@media (hover: hover) and (pointer: fine) { .zeichen-link:hover { background: var(--gelb); color: #1d0c00; } }
.zeichen { width: 18px; height: 18px; }

/* ---------- Überschriften der gewöhnlichen Abschnitte kommen mit dem Scrollen herein */
.bewegt [data-lauf] :is(h2, .abschnitt-satz) { transform: translateY(calc((1 - clamp(0, var(--p, 1) * 3.4, 1)) * 70px)); opacity: clamp(0, var(--p, 1) * 6 - 0.3, 1); }

/* ---------- Handy und schmale Fenster: Bild oben, Text darunter auf Fläche */
@media (max-width: 899px) {
  .thermo-bilder, .kopf-schleier { height: 56svh; }
  .kopf-text { min-height: 0; display: block; }
  .kopf-schleier { background: linear-gradient(180deg, rgba(12, 6, 32, 0.55) 0, rgba(12, 6, 32, 0) 90px, rgba(12, 6, 32, 0) calc(56svh - 250px), rgba(12, 6, 32, 0.82) calc(56svh - 90px), var(--grund) 56svh); }
  .kopf-text { padding-top: calc(56svh - 40px); padding-bottom: 28px; }
  .unterzeile { margin-top: 14px; font-size: 1.05rem; }
  .beleg { margin-top: 10px; }
  .handlung { margin-top: 16px; }
  .knopf { min-height: 48px; }
  .bewegt .kopf-hinweis, .lupe-wort, .lupe-wert { display: none; }
  .horchen, .spuergas, .preise { overflow-x: clip; }
  .bewegt .kopf-text { transform: translateY(calc(var(--p, 0) * -120px)); }
  .bewegt .schritt-thermo { padding-bottom: 20px; }
  .bewegt .suchfeld, .bewegt .suchfeld-horchen, .bewegt .suchfeld-gas { left: auto; right: var(--rand); bottom: auto; top: calc(var(--kopf-hoehe) + 6px); justify-items: end; padding: 8px 10px 6px; border-radius: 12px; background: rgba(12, 6, 32, 0.78); }
  .suchfeld-zahl { font-size: clamp(3.2rem, 17vw, 5.5rem); }
  .schritt h2 { font-size: clamp(1.6rem, 1rem + 3.4vw, 2.4rem); }
  .schritt-satz { font-size: 1.02rem; margin-top: 12px; }
  .werte { margin-top: 14px; gap: 8px 26px; }
  .bewegt .horchen-bild { inset: 0 0 auto 0; height: 52svh; }
  .bewegt .horchen-schleier { background: linear-gradient(180deg, rgba(12, 6, 32, 0.5) 0, rgba(12, 6, 32, 0) 90px, rgba(12, 6, 32, 0) calc(52svh - 110px), var(--grund) 52svh); }
  .bewegt .schritt-horchen { inset: auto 0 0 0; padding-top: 0; padding-bottom: 20px; }
  .bewegt .welle { bottom: auto; top: calc(52svh - 150px); height: 130px; }
  .bewegt .pegel { top: calc(var(--kopf-hoehe) + 96px); right: var(--rand); }
  .pegel i { width: 22px; height: 5px; }
  .bewegt .boden-raum { inset: calc(var(--kopf-hoehe) + 70px) 0 auto 0; height: 40svh; }
  .boden { width: 78vw; transform-origin: 58.33% 62.5%; transform: rotateX(calc((1 - var(--b, 0)) * 50deg)) rotateZ(calc((1 - var(--b, 0)) * -5deg)) scale(calc(0.92 + var(--b, 0) * 0.28)); }
  .bewegt .gas-buehne::before { inset: auto 0 0 0; height: 48svh; background: linear-gradient(0deg, var(--grund) 70%, rgba(12, 6, 32, 0)); }
  .bewegt .schritt-gas, .bewegt .schritt-fund { inset: auto 0 0 0; padding-top: 0; padding-bottom: 20px; }
  .bewegt .schritt-gas > *, .bewegt .schritt-fund > * { max-width: none; }
  .kontakt-schleier { background: rgba(8, 5, 30, 0.86); }
}
@media (max-height: 520px) and (min-width: 600px) {
  .titel { font-size: clamp(2rem, 9vh, 3.2rem); }
  .unterzeile { font-size: 1rem; margin-top: 10px; max-width: 26rem; }
  .beleg { display: none; }
  .handlung { margin-top: 14px; }
  .schritt h2 { font-size: clamp(1.5rem, 7vh, 2.2rem); }
  .schritt-satz { font-size: 0.98rem; margin-top: 10px; }
  .werte { display: none; }
  .suchfeld-zahl, .suchfeld-horchen .suchfeld-zahl, .suchfeld-gas .suchfeld-zahl { font-size: 3.2rem; }
}
