/* Deckkraft – Malerbetrieb in Berlin-Weißensee. Konzeptarbeit Northline Studios. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --kalk: #ECEDE9;
  --kalk-2: #E1E3DD;
  --papier: #FAFAF7;
  --graphit: #1C1E21;
  --graphit-2: #2B2E32;
  --grau: #555A5F;
  --linie: rgba(28, 30, 33, .16);
  --linie-stark: rgba(28, 30, 33, .32);
  --krepp: #E5D7A1;
  --krepp-hell: #F0E7C6;
  --wand: #C08A2E;
  --auf-wand: #1C1E21;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-bauhaus: cubic-bezier(.75, 0, .25, 1);

  --rand: clamp(16px, 4.4vw, 64px);
  --max: 1440px;
  --krepp-textur: repeating-linear-gradient(0deg, rgba(120, 100, 40, .07) 0 1px, transparent 1px 3px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-color: var(--grau) var(--kalk);
  accent-color: var(--graphit);
}
body {
  margin: 0; background: var(--kalk); color: var(--graphit);
  font: 400 17px/1.55 "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-stretch: 100%;
  caret-color: var(--graphit);
  overflow-x: clip;
}
::selection { background: var(--graphit); color: var(--krepp-hell); }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--graphit); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.fuss :focus-visible, .farbklang :focus-visible, .konzept :focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px var(--graphit); }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--graphit); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.breite { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Konzept-Hinweis und Kopf ---------- */
.konzept { background: var(--graphit); color: var(--kalk); font-size: 13px; line-height: 1.4; text-align: center; padding: 8px var(--rand); }
.konzept a { color: #fff; font-weight: 600; margin-left: .3em; white-space: nowrap; }

.kopf { position: sticky; top: 0; z-index: 20; background: var(--kalk); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); min-height: 70px; display: flex; align-items: center; gap: 24px; }
.marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.marke-muster {
  width: 26px; height: 26px; flex: none; background: var(--wand); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  transition: background-color 600ms var(--ease-bauhaus);
}
.marke-text { display: grid; line-height: 1; font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.marke-text small { font-stretch: 100%; font-weight: 500; font-size: 12.5px; letter-spacing: .01em; color: var(--grau); margin-top: 4px; }
.nav { margin-left: auto; position: relative; }
.nav-knopf { display: none; }
.nav-liste { display: flex; gap: 2px; }
.nav-liste a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 15.5px; font-weight: 500; border-radius: 4px; transition: background-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-liste a:hover { background: var(--kalk-2); } }

/* ---------- Knöpfe ---------- */
.kopf-cta .kurz { display: none; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 4px; border: 2px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.knopf:active { transform: scale(.97); }
.knopf-graphit { background: var(--graphit); color: #fff; }
.knopf-rand { border-color: var(--graphit); color: var(--graphit); background: transparent; }
.knopf-gross { min-height: 56px; padding: 0 26px; font-size: 17px; }
.knopf.voll { width: 100%; }
.pfeil { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .knopf-graphit:hover { background: #33373c; }
  .knopf-rand:hover { background: var(--graphit); color: #fff; }
  .held-aktion .knopf-graphit:hover .pfeil { transform: translateY(3px); }
  .zettel-link:hover .pfeil { transform: translateX(3px); }
}
.knopf.laedt { pointer-events: none; }
.knopf.laedt::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: drehen 700ms linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* ---------- Held ---------- */
.held {
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: min(calc(100svh - 104px), 900px);
  border-bottom: 1px solid var(--linie);
}
.held-weiss {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 3.4vw, 64px) clamp(40px, 5vw, 80px) max(var(--rand), calc((100vw - var(--max)) / 2 + var(--rand)));
}
.held h1 {
  font-stretch: 125%; font-weight: 800; font-size: clamp(44px, 5.4vw, 86px);
  line-height: .96; letter-spacing: -.025em; text-wrap: balance;
}
.held-satz { font-size: clamp(17px, 1.3vw, 19px); max-width: 46ch; color: var(--graphit-2); }
.held-aktion { display: flex; flex-wrap: wrap; gap: 12px; }
.held-fakten { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.held-fakten li { display: flex; align-items: center; gap: 8px; }
.held-fakten li::before { content: ""; width: 10px; height: 10px; background: var(--wand); border-radius: 1px; flex: none; transition: background-color 600ms var(--ease-bauhaus); }

.wand { position: relative; background: var(--wand-flaeche, #C08A2E); color: var(--auf-wand); overflow: hidden; isolation: isolate; min-height: 620px; }
.wand-neu { position: absolute; inset: 0; background: var(--neu, var(--wand)); transform: scaleX(0); transform-origin: left; z-index: 0; }
.wand-rolle {
  position: absolute; top: 0; bottom: 0; left: 0; width: 26px; z-index: 0;
  background: var(--neu, var(--wand)); opacity: 0; transform: translateX(-26px);
  box-shadow: 6px 0 14px -6px rgba(0, 0, 0, .28);
}
.wand-rolle::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 6px); }

.band {
  position: absolute; z-index: 3; display: block; pointer-events: none;
  background-color: var(--krepp); background-image: var(--krepp-textur); opacity: .94;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.band-kante { left: 0; top: 0; bottom: 0; width: 22px; }
.band-a, .band-b {
  width: 92px; height: 26px; top: -12px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 26'%3E%3Cpath d='M0 2 3 0h86l3 3-2 4 2 4-3 4 3 4-2 4 2 3H3l-3-2 2-4-2-4 3-4-3-4 2-4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 26'%3E%3Cpath d='M0 2 3 0h86l3 3-2 4 2 4-3 4 3 4-2 4 2 3H3l-3-2 2-4-2-4 3-4-3-4 2-4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.band-a { left: -26px; transform: rotate(-36deg); }
.band-b { right: -26px; transform: rotate(32deg); }

.zettel {
  position: absolute; z-index: 2; top: clamp(44px, 6vw, 88px); left: clamp(48px, 5vw, 88px);
  width: min(370px, calc(100% - 96px)); padding: 28px 26px 22px;
  background: var(--papier); color: var(--graphit); border-radius: 2px;
  transform: rotate(-1deg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 18px 36px -18px rgba(0, 0, 0, .45);
  display: grid; gap: 14px;
}
.zettel h2 { font-stretch: 118%; font-weight: 800; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.zettel-preis { font-stretch: 116%; font-weight: 800; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.zettel-hinweis { font-size: 13.5px; line-height: 1.45; color: var(--grau); }
.zettel-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }

.wand-notiz {
  position: absolute; z-index: 2; left: clamp(48px, 5vw, 88px); bottom: clamp(28px, 4vw, 48px);
  max-width: 44%; font-size: 14px; font-weight: 500; color: var(--auf-wand);
  transition: color 400ms ease;
}

/* Farbfächer */
.faecher { position: absolute; z-index: 2; right: clamp(24px, 5vw, 96px); bottom: 26px; width: 280px; height: 330px; }
.streifen {
  position: absolute; left: calc(50% - 29px); bottom: 0; width: 58px; height: 300px; padding: 0; border: 0;
  background: #F7F7F4; border-radius: 6px; transform-origin: 50% 282px;
  transform: rotate(var(--r));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 10px 20px -12px rgba(0, 0, 0, .45);
  transition: transform 320ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.streifen::before { content: ""; position: absolute; inset: 6px 6px 62px; background: var(--c); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.streifen span {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; color: var(--auf); font-size: 13px; font-weight: 600; font-stretch: 108%; letter-spacing: .02em;
  white-space: nowrap;
}
.streifen[aria-checked="true"] { transform: rotate(var(--r)) translateY(-22px); z-index: 1; }
.streifen:focus-visible { outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .streifen:not([aria-checked="true"]):hover { transform: rotate(var(--r)) translateY(-10px); }
}
.niete { position: absolute; left: calc(50% - 7px); bottom: 11px; width: 14px; height: 14px; border-radius: 50%; background: #B9BCB8; box-shadow: inset 0 0 0 3px #8E918D, 0 1px 1px rgba(0, 0, 0, .3); z-index: 2; pointer-events: none; }
@keyframes faecher-auf { from { transform: rotate(0deg); } }
.js .faecher.oeffnet .streifen { animation: faecher-auf 1100ms var(--ease-bauhaus) both; animation-delay: calc(var(--n) * 70ms + 250ms); }

/* Regler (gemeinsam) */
.regler { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
.regler label { font-weight: 500; font-size: 15px; }
.regler output { font-stretch: 112%; font-weight: 700; font-variant-numeric: tabular-nums; }
.regler input { grid-column: 1 / -1; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(var(--graphit), var(--graphit)) 0 0 / var(--p) 100% no-repeat, rgba(28, 30, 33, .16);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(28, 30, 33, .16); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--graphit); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--papier); border: 2px solid var(--graphit); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  transition: transform 160ms var(--ease-out);
}
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--papier); border: 2px solid var(--graphit); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; box-shadow: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--graphit); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--graphit); outline-offset: 3px; }

.segment { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.segment legend { font-weight: 500; font-size: 15px; padding: 0; margin-bottom: 8px; width: 100%; float: left; }
.segment legend + label { clear: left; }
.segment label { position: relative; cursor: pointer; }
.segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segment span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 4px;
  border: 1.5px solid var(--linie-stark); background: var(--papier); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.segment label:active span { transform: scale(.97); }
.segment input:checked + span { background: var(--graphit); border-color: var(--graphit); color: #fff; }
.segment input:focus-visible + span { outline: 3px solid var(--graphit); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }

/* ---------- Abschnitte allgemein ---------- */
.titel { font-stretch: 120%; font-weight: 800; font-size: clamp(36px, 4.8vw, 74px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.titel-mittel { font-size: clamp(30px, 3.4vw, 52px); }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.abschnitt-kopf p { max-width: 50ch; color: var(--grau); }
.js .auftritt { opacity: 0; }
.js .auftritt.is-in { opacity: 1; animation: auftritt 700ms var(--ease-out) both; }
@keyframes auftritt { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Rechner ---------- */
.rechner { padding: clamp(72px, 9vw, 136px) 0; }
.rechner-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 4.4vw, 80px); align-items: start; }
.block { border: 0; border-top: 2px solid var(--graphit); padding: 16px 0 0; margin: 0 0 40px; min-width: 0; }
.block > legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-stretch: 116%; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.block > legend + * { clear: left; }
.block .regler { margin-bottom: 10px; }
.feldzeile { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; margin-top: 10px; }
.zaehler { display: grid; gap: 8px; }
.zaehler-titel { font-weight: 500; font-size: 15px; }
.zaehler-reihe { display: flex; align-items: center; gap: 4px; }
.zaehler button {
  width: 44px; height: 44px; border-radius: 4px; border: 1.5px solid var(--linie-stark); background: var(--papier);
  display: grid; place-items: center; transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.zaehler button:active { transform: scale(.94); }
.zaehler button[disabled] { opacity: .4; cursor: not-allowed; }
.zaehler svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.zaehler output { min-width: 2.4ch; text-align: center; font-stretch: 116%; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }

.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.karte-wahl {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 16px 44px 16px 16px; border-radius: 6px;
  border: 1.5px solid var(--linie-stark); background: var(--papier); cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.karte-wahl:active { transform: scale(.985); }
.karte-wahl input {
  -webkit-appearance: none; appearance: none; position: absolute; right: 14px; top: 16px; margin: 0;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--grau); background: #fff;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.karte-wahl input:checked { border-color: var(--graphit); background: var(--graphit); box-shadow: inset 0 0 0 4px #fff; }
.karte-wahl input:focus-visible { outline: none; box-shadow: inset 0 0 0 4px #fff; }
.karte-wahl:has(input:focus-visible) { outline: 3px solid var(--graphit); outline-offset: 3px; }
.karte-wahl:has(input:checked) { border-color: var(--graphit); box-shadow: 0 0 0 1px var(--graphit); }
.kw-titel { font-weight: 700; font-stretch: 108%; line-height: 1.25; }
.kw-text { font-size: 14.5px; color: var(--grau); line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .karte-wahl:hover { border-color: var(--graphit); } }

.haken-liste { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.haken { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.haken input {
  -webkit-appearance: none; appearance: none; margin: 0; flex: none; width: 22px; height: 22px; border-radius: 3px;
  border: 2px solid var(--graphit); background: #fff; display: grid; place-items: center;
  transition: background-color 140ms ease;
}
.haken input::after {
  content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: translateY(-2px) rotate(-45deg) scale(.6); opacity: 0; transition: transform 160ms var(--ease-out), opacity 120ms ease;
}
.haken input:checked { background: var(--graphit); }
.haken input:checked::after { opacity: 1; transform: translateY(-2px) rotate(-45deg) scale(1); }

.aufmass { position: sticky; top: 96px; }
.aufmass-blatt {
  position: relative; padding: 30px 28px 26px; border-radius: 3px; display: grid; gap: 14px;
  background-color: var(--papier);
  background-image: linear-gradient(rgba(70, 110, 150, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 110, 150, .09) 1px, transparent 1px);
  background-size: 14px 14px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 24px 48px -28px rgba(0, 0, 0, .45);
}
.aufmass-blatt::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px;
  background-color: var(--krepp); background-image: var(--krepp-textur); opacity: .94; transform: rotate(-2deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 26'%3E%3Cpath d='M0 2 3 0h86l3 3-2 4 2 4-3 4 3 4-2 4 2 3H3l-3-2 2-4-2-4 3-4-3-4 2-4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 26'%3E%3Cpath d='M0 2 3 0h86l3 3-2 4 2 4-3 4 3 4-2 4 2 3H3l-3-2 2-4-2-4 3-4-3-4 2-4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.aufmass h3 { font-stretch: 116%; font-weight: 800; font-size: 22px; }
.skizze { width: 100%; height: auto; display: block; }
.sk-raum { fill: none; stroke: var(--wand); stroke-width: 10; transition: stroke 600ms var(--ease-bauhaus); }
.sk-decke { fill: url(#schraffur); opacity: 0; transition: opacity 300ms ease; }
.sk-decke.an { opacity: 1; }
.schraffur-linie { stroke: var(--wand); stroke-width: 2; opacity: .45; }
.sk-tuer { stroke: var(--papier); stroke-width: 12; }
.sk-mass line { stroke: var(--graphit); stroke-width: 1.2; }
.sk-text { font: 600 13px "Archivo", sans-serif; font-variant-numeric: tabular-nums; fill: var(--graphit); }
.sk-klein { font-weight: 500; fill: var(--grau); }
.spanne { text-wrap: balance; font-stretch: 118%; font-weight: 800; font-size: clamp(32px, 3vw, 44px); line-height: 1.02; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.spanne-zusatz { font-size: 14px; color: var(--grau); margin-top: -8px; }
.posten { display: grid; border-top: 1px solid var(--linie); }
.posten div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.posten dt { color: var(--grau); }
.posten dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.beispiel-hinweis {
  padding: 14px 16px; border-radius: 3px; font-size: 14.5px; line-height: 1.45;
  background-color: var(--krepp-hell); background-image: var(--krepp-textur);
}
.js .spanne.tick { animation: tick 380ms var(--ease-out); }
@keyframes tick { from { opacity: .35; transform: translateY(4px); } }

/* ---------- Vorher / nachher ---------- */
.vergleich { padding: clamp(72px, 9vw, 136px) 0; background: var(--kalk-2); }
.schieber { max-width: 1200px; }
.schieber-flaeche {
  position: relative; aspect-ratio: 1400 / 875; overflow: hidden; border-radius: 4px; container-type: inline-size;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: #cfcac0;
}
.schieber-flaeche img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vorher { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.vorher img { filter: sepia(.75) saturate(.75) brightness(.78) contrast(.88); }
.grauschleier { position: absolute; inset: 0; background: rgba(96, 78, 44, .16); mix-blend-mode: multiply; pointer-events: none; }
.fleck { position: absolute; border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%; pointer-events: none; }
.fleck-1 { left: 60%; top: 0; width: 19cqw; height: 13cqw; background: radial-gradient(closest-side, rgba(105, 72, 24, .62), rgba(105, 72, 24, .34) 58%, rgba(105, 72, 24, 0)); }
.fleck-2 { left: 82%; top: 44%; width: 12cqw; height: 15cqw; background: radial-gradient(closest-side, rgba(80, 74, 52, .5), rgba(80, 74, 52, .24) 60%, rgba(80, 74, 52, 0)); }
.riss { position: absolute; left: 88%; top: 6%; width: 3cqw; height: 22cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 220' fill='none' stroke='%23302518' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='.7'%3E%3Cpath d='M18 0l-4 22 6 18-7 26 5 20-8 30 6 22-5 28 3 26-6 28M13 66l-9 12M10 140l9 10'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.abdruck { position: absolute; left: 66%; top: 27%; width: 8cqw; height: 10cqw; background: rgba(250, 244, 226, .32); box-shadow: inset 0 0 0 1px rgba(80, 60, 30, .18); }
.loecher {
  position: absolute; left: 79%; top: 30%; width: .5cqw; height: .5cqw; min-width: 3px; min-height: 3px; border-radius: 50%; background: rgba(40, 30, 20, .7);
  box-shadow: 3cqw .4cqw 0 rgba(40, 30, 20, .7), 8.5cqw -.6cqw 0 rgba(40, 30, 20, .7), -9cqw 9cqw 0 rgba(40, 30, 20, .6), -8cqw 9.4cqw 0 rgba(40, 30, 20, .6);
}
.schild { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 3px; font-size: 14px; font-weight: 700; font-stretch: 112%; pointer-events: none; background: var(--papier); color: var(--graphit); }
.schild-vorher { left: 16px; }
.schild-nachher { right: 16px; background: var(--graphit); color: #fff; }
.schieber-eingabe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; margin: 0; }
.griff { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 2; pointer-events: none; transform: translateX(50cqw); }
.griff::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.griff span {
  position: absolute; top: 50%; left: -26px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  background: var(--papier); color: var(--graphit); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5);
  transition: transform 160ms var(--ease-out);
}
.griff svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schieber-flaeche.zieht .griff span { transform: scale(.94); }
.schieber-eingabe:focus-visible + .griff span { outline: 3px solid var(--graphit); outline-offset: 3px; box-shadow: 0 0 0 3px #fff, 0 6px 18px -6px rgba(0, 0, 0, .5); }
.schieber figcaption { margin-top: 14px; font-size: 14px; color: var(--grau); max-width: 70ch; }

/* ---------- Leistungen ---------- */
.leistungen { padding: clamp(72px, 9vw, 136px) 0; }
.leistungen-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.leistungen-kopf { display: grid; gap: 20px; }
.leistungen-kopf > p { color: var(--grau); max-width: 40ch; }
.leistungen-bild { position: relative; margin-top: 16px; }
.leistungen-bild img { width: 100%; aspect-ratio: 900 / 640; object-fit: cover; border-radius: 4px; }
.leistungen-bild figcaption, .ablauf-bild figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 3px 9px; border-radius: 3px; font-size: 12px; font-weight: 600;
  background: rgba(28, 30, 33, .8); color: #fff;
}
.verzeichnis div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 22px 0; border-top: 1px solid var(--linie-stark);
}
.verzeichnis div:last-child { border-bottom: 1px solid var(--linie-stark); }
.verzeichnis dt { font-stretch: 114%; font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; }
.verzeichnis dd { grid-column: 1; color: var(--grau); max-width: 52ch; }
.verzeichnis dd.richtpreis { grid-column: 2; grid-row: 1; color: var(--graphit); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Farbklang (Bauhaus-Leitstil) ---------- */
.farbklang { background: var(--graphit); color: var(--kalk); padding: clamp(64px, 8vw, 120px) 0; }
.farbklang-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(32px, 5vw, 96px); align-items: center; }
.farbklang p { margin-top: 20px; max-width: 54ch; color: #C9CCC6; }
.klang {
  --k1: #C08A2E; --k2: #ECEDE9; --k3: #5E758B; --k4: #A2482E;
  display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 330px); aspect-ratio: 1; justify-self: end;
}
.klang i { position: relative; overflow: hidden; background: var(--bg); transition: background-color 600ms var(--ease-bauhaus); }
.klang i::before {
  content: ""; position: absolute; inset: 0; background: var(--fg); border-radius: var(--r, 0); clip-path: var(--clip, none);
  transition: background-color 600ms var(--ease-bauhaus);
  animation: bh-turn 8s var(--ease-bauhaus) infinite; animation-delay: calc(var(--d) * -.35s); animation-play-state: paused;
}
.klang.laeuft i::before { animation-play-state: running; }
@keyframes bh-turn { 0%, 20% { transform: rotate(0); } 25%, 45% { transform: rotate(90deg); } 50%, 70% { transform: rotate(180deg); } 75%, 95% { transform: rotate(270deg); } 100% { transform: rotate(360deg); } }

/* ---------- Ablauf ---------- */
.ablauf { padding: clamp(72px, 9vw, 136px) 0; }
.ablauf-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.schritte { counter-reset: schritt; position: relative; }
.schritte::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 30px; width: 2px; background: #5E758B; opacity: .7; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 34px 72px; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--kalk); border: 2px solid var(--graphit);
  font-stretch: 118%; font-weight: 800; font-size: 18px;
}
.schritte h3 { font-stretch: 114%; font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; padding-top: 7px; }
.schritte p { margin-top: 6px; color: var(--grau); max-width: 52ch; }
.ablauf-bild { position: relative; }
.ablauf-bild img { width: 100%; aspect-ratio: 900 / 1050; object-fit: cover; border-radius: 4px; }

/* ---------- Betrieb ---------- */
.betrieb { background: var(--kalk-2); padding: clamp(72px, 9vw, 128px) 0; }
.betrieb-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(28px, 4vw, 72px); align-items: start; }
.betrieb-satz { margin-top: 20px; max-width: 44ch; color: var(--graphit-2); }
.team div { padding: 14px 0; border-top: 1px solid var(--linie-stark); }
.team div:last-child { border-bottom: 1px solid var(--linie-stark); }
.team dt { font-stretch: 112%; font-weight: 700; font-size: 18px; }
.team dd { color: var(--grau); font-size: 15.5px; }
.gebiet h3 { font-stretch: 112%; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.bezirke { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bezirke li { padding: 6px 12px; border-radius: 3px; font-size: 15px; font-weight: 500; background-color: var(--krepp-hell); background-image: var(--krepp-textur); }
.gebiet p { color: var(--grau); font-size: 15.5px; }
.hinweis-klein { grid-column: 1 / -1; font-size: 14px; color: var(--grau); }

/* ---------- Anfrage ---------- */
.anfrage { padding: clamp(72px, 9vw, 136px) 0; }
.anfrage-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.anfrage-info { display: grid; gap: 20px; }
.anfrage-info > p { max-width: 44ch; color: var(--graphit-2); }
.demo-hinweis { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.demo-hinweis::before { content: ""; width: 10px; height: 10px; background: var(--wand); border-radius: 1px; transition: background-color 600ms var(--ease-bauhaus); }
.uebernahme { padding: 16px 18px; border-radius: 4px; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--linie-stark); display: grid; gap: 4px; }
.uebernahme-titel { font-weight: 700; font-stretch: 110%; }
.uebernahme p:not(.uebernahme-titel) { color: var(--graphit-2); font-size: 15.5px; }
.uebernahme a { font-weight: 600; font-size: 15px; justify-self: start; min-height: 32px; display: inline-flex; align-items: center; }
.kontakt { font-style: normal; display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--linie-stark); font-size: 15.5px; }
.kontakt a { font-weight: 600; }

.anfrage-flaeche { background: var(--papier); padding: clamp(22px, 3vw, 40px); border-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 30px 60px -36px rgba(0, 0, 0, .4); }
.formular { display: grid; gap: 4px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.feld { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; }
.feld label, .fenster legend { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--grau); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; border: 1.5px solid var(--grau); background: #fff; font-size: 17px; line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.feld select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231C1E21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.feld textarea { resize: vertical; min-height: 96px; }
.feld input::placeholder, .feld textarea::placeholder { color: #6A6F74; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: none; border-color: var(--graphit); box-shadow: 0 0 0 3px rgba(28, 30, 33, .25); }
.feld input[aria-invalid="true"] { border-color: #A3341C; }
.feld-hilfe { font-size: 14px; color: var(--grau); }
.feld-fehler { font-size: 14px; font-weight: 600; color: #A3341C; }
.fenster { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.fenster legend { padding: 0; margin-bottom: 8px; }
.fenster-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fenster label { position: relative; cursor: pointer; }
.fenster input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fenster span {
  display: grid; gap: 2px; padding: 12px 14px; min-height: 64px; border-radius: 4px; border: 1.5px solid var(--linie-stark); background: #fff;
  font-size: 14px; color: var(--grau); transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.fenster b { font-weight: 700; font-size: 16px; color: var(--graphit); font-variant-numeric: tabular-nums; }
.fenster label:active span { transform: scale(.97); }
.fenster input:checked + span { background: var(--graphit); border-color: var(--graphit); color: #D5D8D2; }
.fenster input:checked + span b { color: #fff; }
.fenster input:focus-visible + span { outline: 3px solid var(--graphit); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.formular .haken { margin: 2px 0 6px; }
.formular .knopf { margin-top: 14px; }

.bestaetigung { display: grid; gap: 16px; }
.bestaetigung:focus { outline: none; }
.bestaetigung h3 { font-stretch: 116%; font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.bestaetigung > p { color: var(--grau); }
.mail { border: 1.5px solid var(--linie-stark); border-radius: 4px; background: #fff; overflow: hidden; }
.mail-kopf { padding: 14px 18px; background: var(--kalk); border-bottom: 1px solid var(--linie); display: grid; gap: 4px; font-size: 14.5px; }
.mail-kopf div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; }
.mail-kopf dt { color: var(--grau); }
.mail-kopf dd { font-weight: 600; }
.mail-text { padding: 18px 18px 20px; display: grid; gap: 12px; font-size: 15.5px; }
.mail-text .vorgang { font-variant-numeric: tabular-nums; font-weight: 700; }
.mail-text .rueckruf { padding: 12px 14px; border-radius: 3px; background-color: var(--krepp-hell); background-image: var(--krepp-textur); font-weight: 600; }
.mail-text .mail-fuss { font-size: 13.5px; color: var(--grau); }
.js .mail.neu { animation: auftritt 600ms var(--ease-out) both; }
.bestaetigung .knopf { justify-self: start; }

/* ---------- Fuß ---------- */
.fuss { background: var(--graphit); color: var(--kalk); padding: 56px 0 40px; font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px 48px; }
.fuss-marke { display: flex; align-items: center; gap: 12px; font-stretch: 112%; font-weight: 700; font-size: 18px; }
.fuss-konzept a { font-weight: 600; white-space: nowrap; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.fuss-links a, .fuss-links span { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-credits { color: #B7BAB4; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) and (min-width: 961px) {
  .faecher { transform: scale(.82); transform-origin: 100% 100%; right: 18px; bottom: 16px; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .faecher { transform: scale(.7); right: 12px; bottom: 12px; }
  .zettel { width: 330px; left: 44px; top: 40px; }
}
@media (max-width: 1180px) {
  .karten { grid-template-columns: 1fr; }
  .betrieb-raster { grid-template-columns: 1fr 1fr; }
  .betrieb-raster > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 4px; border: 1.5px solid var(--linie-stark); background: transparent; font-weight: 600; font-size: 15px; }
  .nav-liste {
    position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px; flex-direction: column; gap: 0; padding: 8px;
    background: var(--papier); border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
    transition: opacity 180ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav-liste a { width: 100%; min-height: 48px; }
  .nav.offen .nav-liste { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .kopf-innen { gap: 10px; }
  .kopf-cta { min-height: 44px; padding: 0 14px; font-size: 15px; }

  .held { grid-template-columns: 1fr; min-height: 0; }
  .held-weiss { padding: 36px var(--rand) 40px; }
  .wand { min-height: 640px; }
  .rechner-raster, .leistungen-raster, .anfrage-raster, .ablauf-raster, .farbklang-raster, .abschnitt-kopf { grid-template-columns: minmax(0, 1fr); }
  .aufmass { position: static; }
  .ablauf-bild { max-width: 460px; }
  .klang { justify-self: start; width: min(100%, 260px); }
  .fuss-raster { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wand { min-height: 0; padding: 40px 18px 22px 40px; display: grid; gap: 22px; }
  .band-kante { width: 16px; }
  .zettel { position: relative; top: auto; left: auto; width: auto; }
  .wand-notiz { position: static; max-width: none; }
  .faecher { position: static; width: auto; height: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .streifen { position: relative; left: auto; bottom: auto; width: auto; height: 116px; transform: none; }
  .streifen[aria-checked="true"] { transform: translateY(-8px); }
  .streifen::before { inset: 4px 4px 22px; }
  .streifen span { top: 12px; font-size: 12px; }
  .niete { display: none; }
  .js .faecher.oeffnet .streifen { animation: none; }
  .feld-paar { grid-template-columns: 1fr; }
  .fenster-reihe { grid-template-columns: 1fr; }
  .fenster span { min-height: 52px; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .betrieb-raster { grid-template-columns: 1fr; }
  .verzeichnis div { grid-template-columns: 1fr; }
  .verzeichnis dd.richtpreis { grid-column: 1; grid-row: auto; }
  .schild { top: 10px; font-size: 13px; }
  .schild-vorher { left: 10px; }
  .schild-nachher { right: 10px; }
  .griff span { width: 46px; height: 46px; left: -23px; margin-top: -23px; }
}

@media (max-width: 420px) {
  .marke-text { font-size: 19px; }
  .marke-text small { font-size: 11.5px; }
  .marke-muster { width: 22px; height: 22px; }
  .kopf-cta { padding: 0 12px; font-size: 14px; }
  .kopf-cta .lang { display: none; }
  .kopf-cta .kurz { display: inline; }
  .nav-knopf { padding: 0 12px; }
  .kopf-innen { gap: 8px; }
  .held-aktion .knopf { width: 100%; }
  .wand { padding-left: 32px; padding-right: 14px; }
  .zettel { padding: 24px 18px 18px; }
  .anfrage-flaeche { padding: 20px 16px; }
}

@media (max-width: 350px) {
  .marke-text small { display: none; }
  .marke-text { font-size: 17px; font-stretch: 112%; }
  .marke { gap: 8px; }
  .kopf-cta { padding: 0 10px; }
  .nav-knopf { padding: 0 10px; }
  .streifen span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .auftritt { opacity: 1; }
  .streifen, .marke-muster, .held-fakten li::before, .sk-raum, .klang i, .klang i::before { transition-duration: 0ms; }
  .nav-liste { transform: none !important; }
}
