/* Verkaufsseite der Architekten-Werkbank. Eigene, feste Farbwelt (unabhängig vom hellen/dunklen Modus der Werkzeuge). */
:root {
  --tinte: #0c1a19;
  --tinte2: #12282a;
  --papier: #f6f4ee;
  --weiss: #ffffff;
  --text: #17201f;
  --text2: #55615f;
  --linie: #dedad0;
  --gruen: #17594f;
  --gruen-hell: #6fd3be;
  --messing: #b08a45;
  --messing-hell: #d9bd85;
  --ok: #1f7a45; --ok-bg: #e2f3e8;
  --warn: #8f5b00; --warn-bg: #fdf1d7;
  --fehler: #b3261e; --fehler-bg: #fbe4e2;
  --info: #2c5d8f; --info-bg: #e3edf7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schatten: 0 1px 2px rgba(12, 26, 25, .06), 0 12px 32px rgba(12, 26, 25, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--papier); color: var(--text); font: 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gruen); }
h1, h2, h3, p { margin: 0; }
.vk-breite { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ───── Kopf ───── */
.vk-kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.vk-kopf.fest { background: rgba(246, 244, 238, .94); color: var(--text); box-shadow: 0 1px 0 var(--linie); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.vk-kopf-innen { display: flex; align-items: center; gap: 28px; height: 68px; }
.vk-marke { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: .1px; white-space: nowrap; }
.vk-nav { display: flex; gap: 26px; margin-left: auto; }
.vk-nav a { color: inherit; opacity: .78; text-decoration: none; font-size: 15px; }
.vk-nav a:hover { opacity: 1; }

.vk-knopf { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; background: var(--gruen-hell); color: var(--tinte); font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .2s, border-color .2s; white-space: nowrap; }
.vk-knopf:hover { transform: translateY(-1px); background: #8be0cd; }
.vk-knopf.zweit { background: transparent; color: inherit; border-color: currentColor; opacity: .92; }
.vk-knopf.zweit:hover { background: rgba(127, 127, 127, .12); }
.vk-knopf.klein { padding: 9px 18px; font-size: 14.5px; }
.vk-kopf.fest .vk-knopf { background: var(--gruen); color: #fff; }
.vk-leiste { display: flex; gap: 14px; flex-wrap: wrap; }
.vk-leiste.mitte { justify-content: center; }
:focus-visible { outline: 3px solid var(--messing); outline-offset: 3px; }

/* ───── Auftakt ───── */
.buehne { position: relative; background: radial-gradient(1200px 600px at 78% 8%, #1c3f3c 0%, transparent 60%), linear-gradient(180deg, var(--tinte) 0%, var(--tinte2) 100%); color: #fff; padding: 140px 0 0; overflow: hidden; }
.buehne::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
.riss-rahmen { position: relative; margin: 84px auto 0; max-width: 1500px; overflow: hidden; display: flex; justify-content: center; }
.riss { flex: none; width: 100%; min-width: 980px; height: auto; pointer-events: none; }
.riss path, .riss rect, .riss circle { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.riss text { font: 12.5px ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .3px; }
.riss-maus { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.riss-fahrt { transform-box: view-box; transform-origin: 50% 70%; animation: fahrt 30s ease-in-out infinite alternate; }
@keyframes fahrt { 0% { transform: translate(14px, 0) scale(1); } 50% { transform: translate(-10px, -4px) scale(1.035); } 100% { transform: translate(-22px, 2px) scale(1.01); } }
#rErde path { stroke: rgba(134, 224, 205, .5); stroke-width: 1; }
.riss rect.r-erde { fill: url(#rErde); stroke: none; opacity: 0; animation: blende 1.2s 1s forwards; }
.r-achsen path { stroke: rgba(217, 189, 133, .3); stroke-width: 1; stroke-dasharray: 18 5 3 5; }
.r-achsen circle { stroke: rgba(217, 189, 133, .7); stroke-width: 1; fill: var(--tinte); }
.r-achsen text { fill: rgba(232, 208, 160, .95); font-size: 13.5px; }
.r-achsen { opacity: 0; animation: blende 1.4s .2s forwards; }
.riss-verdeckt path { stroke: rgba(134, 224, 205, .45); stroke-width: 1; stroke-dasharray: 7 5; }
.riss-verdeckt { opacity: 0; animation: blende 1.2s 3.2s forwards; }
.riss-linien path { stroke: #9fe9d8; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichne 1.9s cubic-bezier(.6, 0, .2, 1) forwards; }
.riss-linien path:nth-child(1) { animation-delay: .3s; } .riss-linien path:nth-child(2) { animation-delay: .7s; } .riss-linien path:nth-child(3) { animation-delay: 1s; }
.riss-linien path:nth-child(n+4) { animation-delay: 1.4s; } .riss-linien path:nth-child(n+10) { animation-delay: 1.9s; } .riss-linien path:nth-child(n+14) { animation-delay: 2.3s; }
.riss-fein path { stroke: rgba(134, 224, 205, .62); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichne 2.4s 2.5s ease forwards; }
.riss-fein path:nth-child(n+25) { animation-delay: 3s; } .riss-fein path:nth-child(n+50) { animation-delay: 3.5s; }
.riss-mass path { stroke: rgba(217, 189, 133, .8); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichne 1.4s 4.2s ease forwards; }
.riss-mass path.hilfs { stroke: rgba(217, 189, 133, .28); }
.riss-mass text { fill: rgba(240, 218, 172, .96); opacity: 0; animation: blende .9s 5s forwards; }
.r-feld { opacity: 0; animation: blende 1s 5.2s forwards; }
.r-feld rect, .r-feld path { stroke: rgba(255, 255, 255, .34); stroke-width: 1; } .r-feld rect.voll { fill: rgba(255, 255, 255, .5); stroke: none; } .r-feld text { fill: rgba(255, 255, 255, .6); font-size: 11.5px; }
.r-messen { opacity: 0; animation: messen 9s 6.5s ease-in-out infinite; }
.r-messen path { stroke: #ffd98a; stroke-width: 1.3; } .r-messen rect { fill: #ffd98a; stroke: none; } .r-messen text { fill: var(--tinte); font-weight: 700; }
@keyframes messen { 0%, 8% { opacity: 0; } 14%, 46% { opacity: 1; } 54%, 100% { opacity: 0; } }
.r-griffe rect { fill: #6aa8ff; stroke: none; opacity: 0; animation: messen 9s 6.5s ease-in-out infinite; }
.r-kreuz { animation: kreuz 18s 1s cubic-bezier(.6, 0, .3, 1) infinite; transform: translate(600px, 228px); }
.r-kreuz path { stroke: rgba(255, 255, 255, .16); stroke-width: 1; } .r-kreuz rect { stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; }
@keyframes kreuz { 0%, 6% { transform: translate(404px, 316px); } 16%, 28% { transform: translate(600px, 228px); } 38%, 50% { transform: translate(960px, 228px); } 60%, 68% { transform: translate(1240px, 400px); } 78%, 88% { transform: translate(780px, 92px); } 100% { transform: translate(404px, 316px); } }
@keyframes zeichne { to { stroke-dashoffset: 0; } }
@keyframes blende { to { opacity: 1; } }

.buehne-innen { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.vorzeile { font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--messing-hell); font-weight: 600; margin-bottom: 18px; }
.vorzeile.dunkel { color: var(--messing); }
.buehne h1 { font: 500 clamp(38px, 5.2vw, 66px)/1.06 var(--serif); letter-spacing: -.8px; }
.buehne h1 em { font-style: italic; color: var(--gruen-hell); }
.vorspann { margin: 26px 0 34px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 34em; }
.buehne-text > * { opacity: 0; transform: translateY(14px); animation: auf .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.buehne-text > :nth-child(2) { animation-delay: .12s; } .buehne-text > :nth-child(3) { animation-delay: .26s; } .buehne-text > :nth-child(4) { animation-delay: .4s; }
@keyframes auf { to { opacity: 1; transform: none; } }

.buehne-bild { position: relative; opacity: 0; animation: auf 1s .5s cubic-bezier(.2, .7, .2, 1) forwards; transform: translateY(14px); }
.fenster { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .12); border: 1px solid rgba(12, 26, 25, .12); }
.fenster-leiste { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ecebe6; border-bottom: 1px solid var(--linie); }
.fenster-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #cfccc2; }
.fenster-leiste span { margin-left: 10px; font-size: 12.5px; color: var(--text2); }
.fenster-inhalt { --fh: 380px; height: var(--fh); overflow: hidden; background: #f4f3ef; }
.fenster.gross .fenster-inhalt { --fh: 440px; }
.fenster-inhalt img { width: 100%; height: auto; }
.fenster-inhalt img.lauf { animation: lauf 46s 1.5s ease-in-out infinite alternate; }
@keyframes lauf { from { transform: translateY(0); } to { transform: translateY(calc(-100% + var(--fh))); } }
.fenster:hover img.lauf { animation-play-state: paused; }

.schwebe { position: absolute; background: #fff; color: var(--text); border-radius: 12px; padding: 12px 16px 13px; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); display: grid; gap: 2px; min-width: 210px; opacity: 0; animation: schwebe-ein .7s cubic-bezier(.2, .8, .2, 1) forwards, schwebe 7s ease-in-out infinite; }
.schwebe b { font-size: 15px; } .schwebe small { color: var(--text2); font-size: 12.5px; }
.schwebe span { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.marke-fehler { background: var(--fehler-bg); color: var(--fehler); } .marke-warn { background: var(--warn-bg); color: var(--warn); } .marke-ok { background: var(--ok-bg); color: var(--ok); }
.schwebe.s1 { left: -34px; top: 96px; animation-delay: 1.5s, 2.2s; }
.schwebe.s2 { right: -22px; top: 232px; animation-delay: 2.2s, 2.9s; }
.schwebe.s3 { left: 40px; bottom: -22px; animation-delay: 2.9s, 3.6s; }
.schwebe.s3 b { font-size: 22px; font-family: var(--serif); }
@keyframes schwebe-ein { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes schwebe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.kennzahlen { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.kennzahlen > div { padding: 30px 24px 38px 0; }
.kennzahlen > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.kennzahlen dt { font: 500 46px/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.kennzahlen dd { margin: 10px 0 0; color: rgba(255, 255, 255, .66); font-size: 14.5px; line-height: 1.45; }

/* ───── Abschnitte ───── */
.abschnitt { padding: 108px 0; }
.abschnitt.hell { background: var(--weiss); border-block: 1px solid var(--linie); }
.abschnitt.dunkel { background: linear-gradient(180deg, var(--tinte) 0%, var(--tinte2) 100%); color: #fff; }
.abschnitt h2, .abschluss h2 { font: 500 clamp(30px, 3.6vw, 44px)/1.14 var(--serif); letter-spacing: -.4px; max-width: 22em; }
.einleitung { margin-top: 18px; font-size: 18.5px; color: var(--text2); max-width: 44em; }
.abschnitt.dunkel .einleitung { color: rgba(255, 255, 255, .74); }
.kleingedruckt { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .55); max-width: 44em; }

.js .wartet { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .wartet.drin { opacity: 1; transform: none; }

.dreier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.lage { background: var(--weiss); border: 1px solid var(--linie); border-radius: 14px; padding: 30px 28px 32px; box-shadow: var(--schatten); }
.ziffer { font: 500 15px var(--serif); color: var(--messing); letter-spacing: 1px; }
.lage h3 { font: 600 20px/1.3 var(--sans); margin: 14px 0 10px; }
.lage p { color: var(--text2); font-size: 16px; }

/* ───── Abläufe ───── */
.ablauf { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; margin-top: 48px; align-items: start; }
.ablauf-wahl { display: grid; gap: 20px; position: sticky; top: 92px; }
.wahl-gruppe { display: grid; gap: 4px; }
.wahl-gruppe > span { font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text2); margin: 0 0 4px 12px; }
.wahl-gruppe button { text-align: left; font: 500 15.5px var(--sans); color: var(--text); background: none; border: 0; border-left: 2px solid var(--linie); padding: 8px 12px; cursor: pointer; border-radius: 0 8px 8px 0; transition: background .2s, border-color .2s; }
.wahl-gruppe button:hover { background: var(--papier); }
.wahl-gruppe button.aktiv { border-left-color: var(--gruen); background: #e9f2ef; color: var(--gruen); font-weight: 650; }

.ablauf-flaeche { background: var(--papier); border: 1px solid var(--linie); border-radius: 18px; padding: 30px; min-width: 0; }
.ablauf-kopf { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; }
.ablauf-kopf h3 { font: 500 28px/1.2 var(--serif); }
.ablauf-kopf p { color: var(--text2); margin-top: 6px; max-width: 40em; min-height: 3.2em; }
.ablauf-kopf .vk-knopf { color: var(--gruen); flex: none; }

.schritte { list-style: none; margin: 26px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.schritte li { position: relative; display: grid; gap: 10px; justify-items: start; padding-right: 14px; font-size: 14.5px; line-height: 1.35; color: var(--text2); transition: color .3s; }
.schritte li::before { content: ""; position: absolute; left: 34px; right: 0; top: 16px; height: 2px; background: var(--linie); }
.schritte li::after { content: ""; position: absolute; left: 34px; right: 0; top: 16px; height: 2px; background: var(--gruen); transform: scaleX(0); transform-origin: left; transition: transform .9s ease; }
.schritte li:last-child::before, .schritte li:last-child::after { display: none; }
.schritte li.fertig::after { transform: scaleX(1); }
.knoten { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--weiss); border: 2px solid var(--linie); font-weight: 700; font-size: 14px; color: var(--text2); transition: all .35s; }
.schritte li.aktiv, .schritte li.fertig { color: var(--text); }
.schritte li.aktiv .knoten { border-color: var(--gruen); color: var(--gruen); box-shadow: 0 0 0 6px rgba(23, 89, 79, .14); animation: puls 1.3s ease-in-out infinite; }
.schritte li.fertig .knoten { background: var(--gruen); border-color: var(--gruen); color: #fff; }
@keyframes puls { 50% { box-shadow: 0 0 0 11px rgba(23, 89, 79, .05); } }

.ablauf-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 22px; align-items: stretch; }
.ablauf-zwei .fenster { box-shadow: var(--schatten); }
.vorgang { position: relative; background: var(--weiss); border: 1px solid var(--linie); border-radius: 12px; padding: 16px 16px 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--schatten); }
.vorgang-kopf { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text2); padding-bottom: 12px; border-bottom: 1px solid var(--linie); }
.vorgang-kopf i { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); }
.pruefend .vorgang-kopf i { animation: blink 0.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.pruefend .vorgang::after { content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 46px; background: linear-gradient(180deg, transparent, rgba(23, 89, 79, .12)); border-bottom: 2px solid var(--gruen); animation: abtasten 2.2s linear forwards; pointer-events: none; }
@keyframes abtasten { from { transform: translateY(0); } to { transform: translateY(230px); opacity: .2; } }
.zeilen { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #efece4; opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .45s cubic-bezier(.2, .7, .2, 1), background .3s; }
.zeile.da { opacity: 1; transform: none; }
.zt { font-weight: 600; font-size: 14.5px; min-width: 0; }
.zw { grid-column: 1; font-size: 13.5px; color: var(--text2); }
.zs { grid-column: 2; grid-row: 1 / span 2; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; opacity: 0; scale: .7; transition: opacity .25s, scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.zeile.geprueft .zs { opacity: 1; scale: 1; }
.s-ok .zs { background: var(--ok-bg); color: var(--ok); } .s-warn .zs { background: var(--warn-bg); color: var(--warn); }
.s-fehler .zs { background: var(--fehler-bg); color: var(--fehler); } .s-info .zs { background: var(--info-bg); color: var(--info); }
.zeile.geprueft.s-fehler .zw { color: var(--fehler); } .zeile.geprueft.s-warn .zw { color: var(--warn); }
.ergebnis { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; min-height: 62px; }
.ergebnis.da { opacity: 1; transform: none; }
.ergebnis > span { font-size: 13.5px; color: var(--text2); }
.ergebnis strong { font: 500 27px/1.1 var(--serif); color: var(--gruen); font-variant-numeric: tabular-nums; }
.ablauf-fuss { margin-top: 18px; font-size: 15px; }
.ablauf-fuss a, .modul-mehr { font-weight: 600; text-decoration: none; }
.ablauf-fuss a:hover { text-decoration: underline; }

/* ───── Module ───── */
.phasen { margin-top: 52px; display: grid; gap: 40px; position: relative; }
.phasen::before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px; background: var(--linie); }
.phase { position: relative; padding-left: 62px; }
.phase-kopf { display: flex; align-items: center; margin-bottom: 16px; }
.phase-nr { position: absolute; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tinte); color: var(--messing-hell); display: grid; place-items: center; font: 500 16px var(--serif); }
.phase-kopf h3 { font: 600 14px var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--text2); }
.phase-module { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.modul { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--schatten); transition: transform .25s, border-color .25s, box-shadow .25s, opacity .7s; }
.modul:hover { transform: translateY(-4px); border-color: var(--gruen); box-shadow: 0 2px 4px rgba(12, 26, 25, .06), 0 20px 44px rgba(12, 26, 25, .14); }
.modul-bild { display: block; height: 170px; overflow: hidden; background: #f4f3ef; border-bottom: 1px solid var(--linie); }
.modul-bild img { width: 100%; height: auto; transition: transform 7s ease-in-out; }
.modul:hover .modul-bild img { transform: translateY(calc(-100% + 170px)); }
.modul-text { display: grid; gap: 6px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.modul-nr { font: 500 13px var(--serif); color: var(--messing); letter-spacing: 1px; }
.modul-text strong { font-size: 18.5px; line-height: 1.25; }
.modul-satz { font-size: 14.5px; color: var(--text2); line-height: 1.5; }
.modul-mehr { font-size: 14px; color: var(--gruen); margin-top: 6px; }

/* ───── Datenhoheit ───── */
.zweier { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.haken { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; max-width: 40em; }
.haken li { position: relative; padding-left: 34px; color: rgba(255, 255, 255, .76); font-size: 16.5px; }
.haken li b { color: #fff; font-weight: 600; }
.haken li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: rgba(111, 211, 190, .16); }
.haken li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 5px; border-left: 2px solid var(--gruen-hell); border-bottom: 2px solid var(--gruen-hell); transform: rotate(-45deg); }
.hoheit svg { width: 100%; height: auto; }
.hoheit text { font-family: var(--sans); }
.h-rahmen { fill: rgba(255, 255, 255, .04); stroke: rgba(111, 211, 190, .55); stroke-width: 1.5; }
.h-titel { fill: var(--gruen-hell); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.h-blatt rect { fill: #fff; } .h-blatt path { fill: none; stroke: #b9c4c1; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.h-blatt text { fill: rgba(255, 255, 255, .7); font-size: 12px; }
.h-blatt { animation: wippe 5s ease-in-out infinite; } .h-blatt.b2 { animation-delay: .6s; } .h-blatt.b3 { animation-delay: 1.2s; }
@keyframes wippe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.h-kern { fill: var(--gruen); } .h-kerntext { fill: #fff; font-size: 13.5px; font-weight: 600; }
.h-fluss { stroke: var(--gruen-hell); stroke-width: 2; stroke-dasharray: 3 5; animation: fluss 1.1s linear infinite; }
@keyframes fluss { to { stroke-dashoffset: -16; } }
.h-sperre { stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.h-kreuz circle { fill: var(--tinte); stroke: #ff8a80; stroke-width: 1.5; } .h-kreuz path { stroke: #ff8a80; stroke-width: 2; stroke-linecap: round; }
.h-kreuz { transform-origin: 356px 196px; animation: pocht 2.6s ease-in-out infinite; }
@keyframes pocht { 50% { transform: scale(1.14); } }
.h-wolke { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.h-wolkentext { fill: rgba(255, 255, 255, .45); font-size: 12px; }

/* ───── Nutzenrechner ───── */
.rechner { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--linie); border-radius: 18px; overflow: hidden; box-shadow: var(--schatten); }
.rechner-ein { padding: 34px; background: var(--weiss); display: grid; gap: 14px; align-content: start; }
.r-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 120px 150px; gap: 14px; align-items: center; }
.r-kopf { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text2); align-items: end; }
.r-zeile label { font-weight: 600; }
.r-zeile input { width: 100%; font: 500 17px var(--sans); padding: 10px 12px; border: 1px solid var(--linie); border-radius: 9px; background: var(--papier); color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.r-regler { display: grid; gap: 6px; margin-top: 10px; }
.r-regler label { display: flex; justify-content: space-between; font-weight: 600; }
.r-regler output { font: 500 20px var(--serif); color: var(--gruen); }
.r-regler input { width: 100%; accent-color: var(--gruen); }
.rechner-aus { padding: 34px; background: linear-gradient(160deg, var(--tinte) 0%, #17393a 100%); color: #fff; display: flex; flex-direction: column; }
.r-klein { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--messing-hell); }
.r-gross { font: 500 clamp(40px, 5vw, 60px)/1.05 var(--serif); margin: 10px 0 18px; font-variant-numeric: tabular-nums; }
.r-balken { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.r-balken i { display: block; height: 100%; background: var(--gruen-hell); border-radius: 3px; transition: width .4s ease; }
.rechner-aus dl { margin: 24px 0 0; display: grid; gap: 0; }
.rechner-aus dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.rechner-aus dt { color: rgba(255, 255, 255, .7); } .rechner-aus dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.r-fuss { margin-top: auto; padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ───── Pakete ───── */
.pakete { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.paket { background: var(--weiss); border: 1px solid var(--linie); border-radius: 14px; padding: 28px 24px; box-shadow: var(--schatten); }
.paket h3 { font: 500 25px/1.2 var(--serif); }
.paket-fuer { color: var(--text2); font-size: 14.5px; margin: 6px 0 18px; min-height: 2.9em; }
.paket ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--linie); display: grid; gap: 9px; font-size: 15.5px; }
.paket li { padding-left: 20px; position: relative; }
.paket li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--messing); }
.paket.betont { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.paket.betont .paket-fuer { color: rgba(255, 255, 255, .68); } .paket.betont ul { border-top-color: rgba(255, 255, 255, .16); }
.klar { margin-top: 44px; padding: 26px 30px; border-left: 3px solid var(--messing); background: var(--weiss); border-radius: 0 12px 12px 0; }
.klar h3 { font: 600 17px var(--sans); margin-bottom: 6px; }
.klar p { color: var(--text2); font-size: 15.5px; max-width: 62em; }

/* ───── Abschluss ───── */
.abschluss { background: radial-gradient(900px 400px at 50% 0%, #1c3f3c 0%, transparent 70%), var(--tinte); color: #fff; text-align: center; padding: 104px 0; }
.abschluss h2 { margin: 0 auto; }
.abschluss p { margin: 18px auto 34px; color: rgba(255, 255, 255, .74); max-width: 36em; font-size: 18.5px; }
.abschluss .kontaktzeile { margin: 22px auto 0; font-size: 15px; }
.vk-fuss { background: var(--tinte); color: rgba(255, 255, 255, .5); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.vk-fuss-innen { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.vk-fuss a { color: rgba(255, 255, 255, .75); }
[hidden] { display: none !important; }

/* ───── Schmale Bildschirme ───── */
@media (max-width: 1020px) {
  .buehne-innen, .zweier, .rechner, .ablauf-zwei { grid-template-columns: minmax(0, 1fr); }
  .buehne-bild { max-width: 620px; margin: 0 20px; }
  .ablauf { grid-template-columns: minmax(0, 1fr); }
  .ablauf-wahl { position: static; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin: 0 -24px; padding-inline: 24px; scrollbar-width: none; }
  .ablauf-wahl::-webkit-scrollbar { display: none; }
  .wahl-gruppe { display: contents; } .wahl-gruppe > span { display: none; }
  .wahl-gruppe button { flex: none; border: 1px solid var(--linie); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
  .wahl-gruppe button.aktiv { border-color: var(--gruen); }
  .pakete { grid-template-columns: repeat(2, 1fr); }
  .phase-module { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hoheit { max-width: 440px; }
  .vk-nav { display: none; } .vk-kopf-innen .vk-knopf { margin-left: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .vk-breite { padding: 0 16px; }
  .buehne { padding-top: 104px; }
  .abschnitt { padding: 72px 0; }
  .dreier, .pakete, .phase-module { grid-template-columns: minmax(0, 1fr); }
  .kennzahlen { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .riss-rahmen { margin-top: 64px; } .riss { min-width: 860px; }
  .kennzahlen > div { padding: 22px 12px 24px 0; }
  .kennzahlen > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .kennzahlen > div:nth-child(even) { padding-left: 16px; }
  .kennzahlen > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .kennzahlen dt { font-size: 38px; }
  .buehne-bild { margin: 0; }
  .fenster.gross .fenster-inhalt { --fh: 300px; }
  .schwebe { min-width: 0; padding: 9px 12px; } .schwebe b { font-size: 13.5px; }
  .schwebe.s1 { left: -6px; top: 70px; } .schwebe.s2 { right: -6px; top: 176px; } .schwebe.s3 { left: 14px; bottom: -18px; }
  .ablauf-wahl { margin: 0 -16px; padding-inline: 16px; }
  .ablauf-flaeche { padding: 18px 14px; border-radius: 14px; }
  .ablauf-kopf { flex-direction: column; } .ablauf-kopf h3 { font-size: 24px; } .ablauf-kopf p { min-height: 0; }
  .schritte { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .schritte li:nth-child(2)::before, .schritte li:nth-child(2)::after { display: none; }
  .fenster-inhalt { --fh: 300px; }
  .phase { padding-left: 0; } .phasen::before { display: none; }
  .phase-nr { position: static; margin-right: 12px; flex: none; }
  .rechner-ein, .rechner-aus { padding: 22px 16px; }
  .r-zeile { grid-template-columns: minmax(0, 1fr) 84px 84px; gap: 8px; }
  .r-zeile label { font-size: 15px; } .r-kopf { font-size: 10.5px; letter-spacing: .4px; }
  .vk-marke span { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .buehne-text > *, .buehne-bild, .schwebe, .riss-mass text, .r-achsen, .r-feld, .riss rect.r-erde, .riss-verdeckt { opacity: 1; transform: none; }
  .r-messen, .r-griffe rect { opacity: 0; }
  .riss-linien path, .riss-fein path, .riss-mass path { stroke-dashoffset: 0; }
  .zeile, .zs, .ergebnis { opacity: 1; transform: none; scale: 1; }
}
@media print { .vk-kopf { position: static; color: var(--text); } .buehne, .abschnitt.dunkel, .abschluss { color: #000; background: none; } }

/* ───── Impressum und Datenschutz ───── */
.vk-kopf.fest .vk-knopf { margin-left: auto; }
.vk-kopf-innen .vk-nav + .vk-knopf { margin-left: 0; }
.recht { padding: 132px 0 96px; }
.recht .vk-breite { max-width: 780px; }
.recht h1 { font: 500 clamp(32px, 4vw, 46px)/1.12 var(--serif); margin-bottom: 14px; }
.recht h2 { font: 600 18px/1.3 var(--sans); margin: 34px 0 8px; }
.recht p { color: var(--text2); margin-bottom: 10px; }
.vk-fuss a { text-decoration: none; } .vk-fuss a:hover { text-decoration: underline; }
