/* =====================================================================================
   Vorlage 32 Malerbetrieb · Gestaltung
   Aufbau: Grundlagen · Fächerkarten · Farbkarten-Navigation · Kopf · Dosendeckel-Knöpfe ·
           Die Wand (Farbrolle) · Fünf Schichten (klebend) · ruhige Karten · Auftritte · Fuß · Handy
   Bewegt werden nur transform, opacity, clip-path und stroke-dashoffset. Keine Layout-Eigenschaften.
   ===================================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 12px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--schrift); font-stretch: var(--schmal); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--k-text, var(--text)); outline-offset: 3px; }

/* Überschriften breit über die Breitenachse von Anybody, wie ein Pinselstrich */
h1, h2, h3, .logo span, .fuss-logo, .schritt-nr, .zahlen-leiste b, .leistung-wert, .preis-liste dd, .chip b, .karte-etikett, .marke { font-stretch: var(--breit); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.015em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 54px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 22px; line-height: 1.2; }
.marke { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--k-marke, var(--accent-tief)); }
.leise { color: var(--k-leise, var(--muted)); }
.klein { font-size: 14px; }
.behaelter { --rand: 20px; width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-klein); background: var(--text); color: #fff; }
.sprung:focus { top: 12px; }
.abschnitt-kopf { max-width: 46rem; }
.abschnitt-kopf .leise { margin-top: 16px; }
.abschnitt-kopf .knopf { margin-top: 26px; }

/* =====================================================================================
   Fächerkarten: jede Karte ein Ton, schräge Kante zur vorigen Karte (clip-path), Schrift wechselt mit
   ===================================================================================== */
.karte { position: relative; color: var(--k-text); background: var(--k-bg); margin-top: calc(-1 * var(--schraeg)); padding: calc(var(--abstand) * .8 + var(--schraeg)) 0 calc(var(--abstand) * .9); clip-path: polygon(0 var(--schraeg), 100% 0, 100% 100%, 0 100%); }
.karte:nth-of-type(even) { clip-path: polygon(0 0, 100% var(--schraeg), 100% 100%, 0 100%); }
.karte-erste { margin-top: 0; padding-top: 36px; clip-path: none; }
/* kleines Etikett wie auf einem Farbmuster, oben links in der Kante */
.karte-etikett { position: absolute; left: 24px; top: calc(var(--schraeg) + 14px); margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-leise); }
.karte-erste .karte-etikett { top: 14px; }
.karte a:not(.knopf):hover { color: var(--k-marke); }

/* =====================================================================================
   Farbkarten-Navigation: rechts am Rand, die aktuelle Karte herausgezogen
   ===================================================================================== */
/* Raster mit zwei Spalten: links der Name (nur beim Zeigen und für die aktuelle Karte sichtbar), rechts der Chip.
   „dense" legt Chip und Namen in dieselbe Zeile. Die Leiste selbst fängt keine Klicks, nur die Chips. */
.farbkarten { position: fixed; right: 14px; top: 50%; z-index: 40; display: grid; grid-template-columns: auto 62px; grid-auto-flow: row dense; gap: 6px 12px; align-items: center; justify-items: end; transform: translateY(-50%); pointer-events: none; }
.chip { grid-column: 2; display: flex; align-items: center; justify-content: center; width: 62px; height: 40px; border-radius: 6px 10px 10px 6px; background: var(--k-bg); color: var(--k-text); text-decoration: none; font-size: 12px; letter-spacing: .03em; box-shadow: 0 1px 0 rgba(31, 27, 23, .12), inset 0 0 0 1px rgba(31, 27, 23, .08); pointer-events: auto; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.chip b { font-weight: 800; white-space: nowrap; }
.chip-name { grid-column: 1; padding: 6px 11px; border-radius: 8px; background: #1f1b17; color: #f5f0e6; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; }
.chip:hover + .chip-name, .chip:focus-visible + .chip-name { opacity: 1; transform: none; }
.chip[aria-current="true"] { transform: translateX(-16px); box-shadow: 0 10px 22px -8px rgba(31, 27, 23, .45), inset 0 0 0 1px rgba(31, 27, 23, .12); }
.chip:focus-visible { outline-color: #1f1b17; }
html:not(.js) .farbkarten { display: none; }

/* =====================================================================================
   Kopf
   ===================================================================================== */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf); background: rgba(245, 240, 230, .95); border-bottom: 1px solid rgba(31, 27, 23, .08); }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--k-text); text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.logo-zeichen { width: 30px; height: 30px; }
.menue { display: flex; gap: 24px; margin-left: 8px; }
.menue a { color: var(--k-text); text-decoration: none; font-weight: 600; font-size: 16px; }
.menue a:hover { color: var(--k-marke); }
.kopf-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--k-text); text-decoration: none; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kopf-tel .punkt { width: 9px; height: 9px; border-radius: 50%; background: #3f8a4f; }

/* =====================================================================================
   Knöpfe wie Farbdosen-Deckel: Scheibe, Rille, Rand. Die Rille zeigt den Grund der Karte.
   ===================================================================================== */
.knopf { --kb: var(--k-knopf, var(--accent)); --kt: var(--k-knopf-text, var(--on-accent)); --kg: var(--k-bg, var(--bg)); position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; margin: 5px; border: 0; border-radius: 999px; background: var(--kb) linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%); color: var(--kt); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 3px var(--kg), 0 0 0 5px var(--kb), 0 8px 16px -8px rgba(31, 27, 23, .5); transition: transform .2s, box-shadow .2s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--kg), 0 0 0 5px var(--kb), 0 14px 22px -10px rgba(31, 27, 23, .55); }
.knopf:active { transform: translateY(1px); }
.knopf:focus-visible { outline-offset: 7px; }
.knopf-klein { min-height: 42px; padding: 0 18px; font-size: 15px; }
.knopf-leise { background: transparent; color: var(--k-text); box-shadow: inset 0 0 0 2px var(--k-text), 0 0 0 3px var(--kg), 0 0 0 4px var(--k-linie); }
.knopf-leise:hover { box-shadow: inset 0 0 0 2px var(--k-text), 0 0 0 3px var(--kg), 0 0 0 4px var(--k-text); }

/* =====================================================================================
   DW 101 · Die Wand: Farbrolle im ersten Bildschirm (js/farbrolle.js)
   ===================================================================================== */
.wand { min-height: calc(100vh - var(--kopf)); padding-bottom: calc(var(--abstand) * .8 + var(--schraeg)); }
.karte-erste { padding-top: 46px; }
.held { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px 40px; align-items: end; margin-bottom: 20px; }
.held-text h1 span { display: block; }
.einleitung { margin-top: 16px; max-width: 34rem; font-size: 19px; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 20px; }
.held-seite { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.held-hinweis { max-width: 24rem; margin: 0; text-align: right; font-size: 15px; color: var(--k-leise); }
html:not(.js) .held-hinweis { display: none; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }

.wand-buehne { position: relative; width: 100%; aspect-ratio: 1200 / 560; max-height: calc(100vh - var(--kopf) - 330px); min-height: 300px; border-radius: var(--radius-gross); overflow: hidden; background: var(--wand); box-shadow: 0 34px 60px -34px rgba(31, 27, 23, .45), inset 0 0 0 1px rgba(31, 27, 23, .08); touch-action: pan-y; }
@media (hover: hover) { html.js .wand-buehne { cursor: none; } }
.wand-bild, .wand-farbe { position: absolute; inset: 0; width: 100%; height: 100%; }
.wand-farbe { pointer-events: none; }
.wand-flaeche { fill: var(--wand); }
.boden { fill: var(--boden); }
.boden-hell { fill: #d2ad85; }
.boden-fuge { stroke: var(--boden-fuge); stroke-width: 1.2; fill: none; }
.dose-rahmen { fill: #fbfaf7; stroke: #cfc9bd; stroke-width: 1.2; }
.dose-innen { fill: #eeebe3; stroke: #cfc9bd; stroke-width: 1; }
.dosen-etikett { fill: #f5f0e6; }
.wanne-farbe { fill: var(--rollen-farbe); }
.bahn { fill: #e7dccb; }
.buegel { fill: none; stroke: #8c8f96; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.griff { fill: #b8573a; }
.walze, .walze-s { fill: var(--rollen-farbe, #e7dccb); }
.walze-streifen { fill: none; stroke: rgba(31, 27, 23, .14); stroke-width: 2.5; stroke-linecap: round; }
.band-flaeche { fill: var(--band); stroke: var(--band-kante); stroke-width: 1; }
.band { opacity: 0; transition: opacity .25s; }
.band.an { opacity: 1; }
/* die drei fertigen Bahnen: weg, sobald die Rolle das erste Mal gefahren ist */
.wand-fertig { transition: opacity .4s; }
html.js .wand-buehne.bemalt .wand-fertig { opacity: 0; }
/* die Rolle in der Hand: Walzenmitte liegt unter dem Zeiger (Punkt 60/22 im Bild 120 × 150) */
.rolle { position: absolute; left: 0; top: 0; width: 9%; height: auto; opacity: 0; pointer-events: none; transform: translate(-50%, -14.67%); transition: opacity .25s; will-change: transform; filter: drop-shadow(0 6px 6px rgba(31, 27, 23, .25)); }
.wand-buehne.zeigt .rolle { opacity: 1; }
.band-schild { position: absolute; left: 0; top: 0; margin: 0; padding: 6px 11px; border-radius: 8px; background: #1f1b17; color: #f5f0e6; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, -100%); transition: opacity .25s; }
.band-schild.an { opacity: 1; }

/* Werkzeug neben dem Text: Farbfächer, Zähler, Wand weiß */
.werkzeug { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 22px; }
.faecher { display: flex; align-items: flex-end; padding: 12px 0 0 12px; }
.farbe { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 60px; height: 104px; margin-left: -16px; padding: 0 0 6px; border: 0; border-radius: 6px 6px 9px 9px; background: #fff; color: var(--k-text); cursor: pointer; overflow: hidden; transform-origin: 50% 100%; transform: rotate(var(--w)); box-shadow: 0 2px 0 rgba(31, 27, 23, .12), inset 0 0 0 1px rgba(31, 27, 23, .1); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.farbe::before { content: ""; position: absolute; inset: 0 0 38px 0; background: var(--f); }
.farbe b { font-size: 11px; letter-spacing: .04em; font-weight: 800; }
.farbe span { font-size: 11.5px; line-height: 1.1; opacity: 0; transition: opacity .2s; }
.farbe:hover span, .farbe[aria-pressed="true"] span, .farbe:focus-visible span { opacity: 1; }
.farbe:nth-child(1) { --w: -15deg; } .farbe:nth-child(2) { --w: -9deg; } .farbe:nth-child(3) { --w: -3deg; }
.farbe:nth-child(4) { --w: 3deg; } .farbe:nth-child(5) { --w: 9deg; } .farbe:nth-child(6) { --w: 15deg; }
.farbe:hover { z-index: 2; transform: rotate(var(--w)) translateY(-6px); }
.farbe[aria-pressed="true"] { z-index: 1; transform: rotate(var(--w)) translateY(-12px); box-shadow: 0 12px 22px -10px rgba(31, 27, 23, .55), inset 0 0 0 2px var(--k-text); }
.farbe:focus-visible { outline-offset: 2px; z-index: 3; }
html:not(.js) .werkzeug { display: none; }
.wand-zaehler { width: 100%; margin: 0; text-align: right; font-size: 15px; color: var(--k-leise); font-variant-numeric: tabular-nums; }
.wand-zaehler b { color: var(--k-text); font-size: 17px; }

/* =====================================================================================
   DW 204 · Fünf Schichten (js/schichten.js)
   Ruhige Fassung (ohne JavaScript, starr, klein): Szene zeigt den Endzustand, Schritte als Karten darunter.
   Mit html.schichten-an: Szene klebt rechts, die Schritte scrollen links vorbei.
   Mit html.schichten-an.schichten-schmal: Szene klebt oben, die Schritte scrollen darunter durch.
   ===================================================================================== */
.schichten-kopf { margin-bottom: 40px; }
.schichten-kopf > * { max-width: 46rem; }
.schichten-kopf .leise { margin-top: 14px; }
.schichten-raster { display: grid; gap: 36px; align-items: start; }
.schichten-buehne { position: relative; }
.szene-rahmen { position: relative; width: min(100%, 760px); margin-inline: auto; }
.szene { width: 100%; height: auto; border-radius: var(--radius); background: #fbfaf7; box-shadow: 0 30px 50px -30px rgba(31, 27, 23, .45), inset 0 0 0 1px rgba(31, 27, 23, .08); }
.wand-alt { fill: var(--wand-alt); }
.wand-flecken ellipse, .wand-flecken rect { fill: #ffffff; fill-opacity: .3; }
.spachtelstelle { fill: #fbf9f4; opacity: 0; }
.spachtelriss { fill: none; stroke: #fbf9f4; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.loch { opacity: 0; }
.loch-dunkel { fill: #4a4039; }
.loch-riss { fill: none; stroke: #6a5d52; stroke-width: 1.6; stroke-linecap: round; }
.riss { fill: none; stroke: #6a5d52; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.grundierung { fill: var(--wand); }
.anstrich-1 { fill: #e7dccb; fill-opacity: .82; }
.anstrich-2 { fill: #e7dccb; }
.spritzer ellipse { fill: #e7dccb; }
.spritzer { opacity: 0; }
.spachtel-blatt { fill: var(--spachtel); stroke: #8f949b; stroke-width: 1.2; }
.zaehler { position: absolute; right: 14px; top: 14px; width: min(270px, 62%); padding: 12px 14px 13px; border-radius: 12px; background: rgba(31, 27, 23, .9); color: #efece6; font-size: 13px; line-height: 1.35; }
.zaehler p { margin: 0; }
.zaehler-schicht { font-size: 14px; font-weight: 800; }
.zaehler-schicht b, .zaehler-summe b { color: #e9c46a; font-variant-numeric: tabular-nums; }
.zaehler-trocknen { margin-top: 3px; color: #cfcac0; }
.zaehler-balken { position: relative; height: 6px; margin: 9px 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.zaehler-balken i { position: absolute; inset: 0; border-radius: 999px; background: #e9c46a; transform-origin: left; transform: scaleX(1); }
.zaehler-summe { color: #cfcac0; }

.schritte { display: grid; gap: 14px; }
.schritt { padding: 24px 26px 26px; border-radius: var(--radius); background: var(--k-flaeche); }
.schritt-nr { margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-marke); }
.schritt p { color: var(--k-leise); }
.schritt h3 { margin-bottom: 10px; color: var(--k-text); }
.schritt-wert { margin-top: 12px; font-weight: 700; color: var(--k-text); }
.schritt .knopf { margin-top: 16px; }
.schichten-hinweis { margin-top: 28px; }

/* klebende Fassung, breit: Szene rechts, Text links */
html.schichten-an .schichten-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: stretch; }
html.schichten-an .schichten-buehne { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--kopf) + 14px); height: calc(100vh - var(--kopf) - 28px); display: flex; flex-direction: column; justify-content: center; }
html.schichten-an .szene-rahmen { width: min(100%, calc((100vh - var(--kopf) - 120px) * 900 / 620)); }
html.schichten-an .schritte { grid-column: 1; grid-row: 1; gap: 0; padding: 2vh 0 30vh; }
html.schichten-an .schritt { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 0 0 0 26px; border-radius: 0; background: transparent; border-left: 3px solid var(--k-linie); opacity: .38; transition: opacity .4s, border-color .4s; }
html.schichten-an .schritt.ist-aktiv { opacity: 1; border-left-color: var(--k-marke); }
/* klebende Fassung, schmal: Szene oben, Text läuft darunter durch */
html.schichten-an.schichten-schmal .schichten-raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
html.schichten-an.schichten-schmal .schichten-buehne { grid-column: 1; grid-row: 1; top: var(--kopf); z-index: 2; height: auto; padding: 10px 0 12px; background: var(--k-bg); }
html.schichten-an.schichten-schmal .szene-rahmen { width: min(100%, calc(36vh * 900 / 620)); }
html.schichten-an.schichten-schmal .schritte { grid-row: 2; padding: 4vh 0 20vh; }
html.schichten-an.schichten-schmal .schritt { min-height: 80vh; padding-left: 20px; }
html.schichten-an.schichten-schmal .zaehler { position: static; width: min(100%, calc(36vh * 900 / 620)); margin: 8px auto 0; font-size: 12px; padding: 8px 11px 9px; }

/* =====================================================================================
   DW 318 · Leistungen als Farbkarten
   ===================================================================================== */
.leistungs-karten { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.leistung { grid-column: span 2; display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: 14px; background: var(--k-flaeche); }
.leistung-muster { display: flex; align-items: flex-end; height: 64px; margin-bottom: 16px; padding: 6px 10px; border-radius: 8px; background: var(--f); color: var(--f-text); font-size: 12px; letter-spacing: .06em; }
.leistung:nth-child(n + 4) { grid-column: span 3; }
.leistung h3 { font-size: 20px; }
.leistung p { margin-top: 8px; font-size: 15.5px; color: var(--k-leise); }
.leistung p.leistung-muster { margin-top: 0; color: var(--f-text); }
.leistung p.leistung-wert { margin-top: auto; padding-top: 14px; font-weight: 800; font-size: 17px; color: var(--k-text); }

/* =====================================================================================
   DW 412 · Farbberatung: drei Paletten, die sich aufklappen
   ===================================================================================== */
.farbberatung-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.paletten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.palette { padding: 18px 18px 20px; border-radius: 14px; background: var(--k-flaeche); }
.palette-faecher { position: relative; height: 150px; margin-bottom: 14px; }
.palette-faecher i { position: absolute; left: calc(50% - 26px); bottom: 6px; width: 52px; height: 126px; border-radius: 7px; background: var(--f); box-shadow: 0 2px 0 rgba(31, 27, 23, .12), inset 0 0 0 1px rgba(31, 27, 23, .1); transform-origin: 50% 100%; transform: rotate(var(--w)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.palette-faecher i:nth-child(1) { --w: -27deg; } .palette-faecher i:nth-child(2) { --w: -9deg; transition-delay: .06s; }
.palette-faecher i:nth-child(3) { --w: 9deg; transition-delay: .12s; } .palette-faecher i:nth-child(4) { --w: 27deg; transition-delay: .18s; }
.palette h3 { font-size: 18px; hyphens: auto; }
.palette p { margin-top: 8px; font-size: 15.5px; color: var(--k-leise); }
.palette p.palette-nr { margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--k-marke); }

/* =====================================================================================
   DW 507 · Preise
   ===================================================================================== */
.preise-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.preise h2 { position: relative; isolation: isolate; display: inline-block; padding: 0 .2em; margin-left: -.2em; }
.streifen { position: absolute; z-index: -1; left: 0; right: 0; top: 58%; height: .5em; border-radius: 4px; background: var(--k-flaeche); clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.2, .8, .2, 1) .15s; }
.preis-liste { border-top: 1px solid var(--k-linie); }
.preis-liste div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--k-linie); }
.preis-liste dt { font-size: 17px; }
.preis-liste dd { flex-shrink: 0; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; text-align: right; }

/* =====================================================================================
   DW 611 · Stimmen und Zahlen
   ===================================================================================== */
.zahlen-leiste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 44px; }
.zahlen-leiste li { padding: 18px 20px; border-radius: 14px; background: var(--k-flaeche); }
.zahlen-leiste b { display: block; font-size: 40px; line-height: 1; font-weight: 800; color: var(--k-marke); }
.zahlen-leiste span { display: block; margin-top: 6px; font-size: 15px; color: var(--k-leise); }
.stimmen-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stimme { position: relative; padding: 40px 32px 28px; border-radius: 4px; background: var(--k-flaeche); box-shadow: 0 20px 40px -30px rgba(31, 27, 23, .5); }
.stimme:nth-child(2) { transform: rotate(.6deg); }
.klebeband { position: absolute; left: 50%; top: -11px; width: 130px; height: 26px; background: var(--band); opacity: .92; box-shadow: 0 1px 2px rgba(31, 27, 23, .15); transform: translateX(-50%) rotate(-2.5deg) scaleX(1); transform-origin: 50% 50%; transition: transform .5s cubic-bezier(.2, .8, .2, 1) .2s; clip-path: polygon(0 10%, 3% 0, 97% 4%, 100% 14%, 99% 90%, 96% 100%, 3% 96%, 0 86%); }
.stimme:nth-child(2) .klebeband { transform: translateX(-50%) rotate(3deg) scaleX(1); }
.stimme blockquote p { font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.stimme figcaption { margin-top: 18px; font-size: 15px; color: var(--k-leise); }

/* =====================================================================================
   DW 702 · Angebot: Formular mit Richtwert
   ===================================================================================== */
.angebot-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.angebot-text p + p { margin-top: 14px; }
.schnur { width: 100%; max-width: 400px; height: auto; margin-bottom: 18px; }
.schnur-linie, .schnur-marken { fill: none; stroke: var(--k-marke); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); }
.schnur-marken { transition-delay: .4s; }
.formular { --k-bg: #ffffff; --k-text: #1f1b17; --k-leise: #4f5559; --k-knopf: #1d5560; --k-knopf-text: #eef3f2; --k-linie: #c4cfd3; padding: 30px; border-radius: var(--radius); background: #fff; color: #1f1b17; }
.feld { margin-bottom: 16px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.feld label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.feld label .leise { font-weight: 400; }
.feld input, .feld select, .feld textarea { width: 100%; padding: 13px 14px; border: 1px solid #b9c3c8; border-radius: var(--radius-klein); background: #fff; color: #1f1b17; font: inherit; font-size: 17px; }
.feld input::placeholder, .feld textarea::placeholder { color: #6f787d; }
.richtwert { margin: -4px 0 16px; padding: 12px 14px; border-radius: var(--radius-klein); background: #eef3f2; font-size: 15px; }
.richtwert b { font-size: 17px; font-variant-numeric: tabular-nums; }
.formular .knopf { width: calc(100% - 10px); margin-top: 6px; }
.formular-meldung { margin-top: 14px; font-weight: 600; min-height: 1.5em; }
.formular .leise.klein { margin-top: 12px; }

/* =====================================================================================
   DW 815 · Fragen
   ===================================================================================== */
.fragen-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.fragen-liste details { position: relative; }
.fragen-liste details::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--k-linie); transform: scaleX(1); transform-origin: left; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.fragen-liste details:nth-child(2)::after { transition-delay: .08s; } .fragen-liste details:nth-child(3)::after { transition-delay: .16s; }
.fragen-liste details:nth-child(4)::after { transition-delay: .24s; } .fragen-liste details:nth-child(5)::after { transition-delay: .32s; }
.fragen-liste summary { position: relative; padding: 20px 44px 20px 0; font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; }
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-liste summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--k-marke); background: linear-gradient(var(--k-marke), var(--k-marke)) center / 8px 2px no-repeat, linear-gradient(var(--k-marke), var(--k-marke)) center / 2px 8px no-repeat; }
.fragen-liste details[open] summary::after { background: linear-gradient(var(--k-marke), var(--k-marke)) center / 8px 2px no-repeat; }
.fragen-liste details p { padding: 0 0 22px; max-width: 42rem; color: var(--k-leise); }

/* =====================================================================================
   DW 909 · Kontakt
   ===================================================================================== */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.kontakt-text p + p, .kontakt-text address { margin-top: 16px; }
.kontakt-text address { font-size: 17px; line-height: 1.6; }
.kontakt-text a { color: var(--k-text); }
.bild-platzhalter { position: relative; display: flex; align-items: flex-end; margin: 0; overflow: hidden; aspect-ratio: var(--format, 4 / 3); border-radius: var(--radius); background: radial-gradient(110% 80% at 85% 12%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 60%), repeating-linear-gradient(135deg, rgba(233, 196, 106, .12) 0 1px, transparent 1px 13px), var(--k-flaeche); box-shadow: inset 0 0 0 1px var(--k-linie); }
.bild-platzhalter figcaption { margin: 18px; padding: 9px 13px; border-radius: var(--radius-klein); max-width: calc(100% - 36px); background: rgba(245, 240, 230, .95); color: #1f1b17; font-size: 14px; font-weight: 700; line-height: 1.35; }
.pin { position: absolute; left: 50%; top: 46%; width: 46px; height: auto; transform: translate(-50%, -100%); transition: transform .6s cubic-bezier(.2, .8, .2, 1) .2s, opacity .4s .2s; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35)); }

/* =====================================================================================
   Auftritte: eine kleine Bewegung je Karte, nur transform, opacity, clip-path, stroke-dashoffset.
   Nur mit JavaScript und in den Stufen mittel und dynamisch; sonst steht alles fertig da.
   ===================================================================================== */
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt] { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="kippt"] { transform: perspective(900px) rotateY(-18deg) translateX(-20px); }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="faecher"]:not(.ist-da) .palette-faecher i { transform: rotate(0deg); }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="streifen"]:not(.ist-da) .streifen { clip-path: inset(0 100% 0 0); }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="band"]:not(.ist-da) .klebeband { transform: translateX(-50%) rotate(-2.5deg) scaleX(0); }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="schnur"]:not(.ist-da) .schnur-linie,
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="schnur"]:not(.ist-da) .schnur-marken { stroke-dashoffset: 1; }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="linie"]:not(.ist-da) details::after { transform: scaleX(0); }
html.js:is([data-bewegung="mittel"], [data-bewegung="dynamisch"]) [data-auftritt="pin"]:not(.ist-da) .pin { opacity: 0; transform: translate(-50%, -190%); }
html.js [data-auftritt].ist-da { opacity: 1 !important; transform: none !important; }
html.js .stimme:nth-child(2)[data-auftritt].ist-da { transform: rotate(.6deg) !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-auftritt], html.js .palette-faecher i, html.js .streifen, html.js .klebeband, html.js .schnur-linie, html.js .schnur-marken, html.js .fragen-liste details::after, html.js .pin { opacity: 1 !important; transition: none !important; }
  html.js [data-auftritt] { transform: none !important; }
  html.js .palette-faecher i { transform: rotate(var(--w)) !important; }
  html.js .streifen { clip-path: inset(0 0 0 0) !important; }
  html.js .klebeband { transform: translateX(-50%) rotate(-2.5deg) scaleX(1) !important; }
  html.js .schnur-linie, html.js .schnur-marken { stroke-dashoffset: 0 !important; }
  html.js .fragen-liste details::after { transform: scaleX(1) !important; }
  html.js .pin { transform: translate(-50%, -100%) !important; }
  .chip, .farbe, .knopf, .band, .rolle, .wand-fertig { transition: none !important; }
}

/* Ohne JavaScript: Zeiger-Rolle, Abklebeband der Wand, Löcher, Spachtelstellen, Spritzer, Folie und
   Werkzeuge der Schichten gibt es nicht (die Szenen stehen im Endzustand) */
html:not(.js) .rolle, html:not(.js) .band, html:not(.js) .band-schild, html:not(.js) .loch, html:not(.js) .riss,
html:not(.js) .spachtelstelle, html:not(.js) .spachtelriss, html:not(.js) .spritzer, html:not(.js) .folie, html:not(.js) .werkzeug-s, html:not(.js) .farbe span { display: none; opacity: 1; }

/* =====================================================================================
   Fuß
   ===================================================================================== */
.fuss { position: relative; margin-top: calc(-1 * var(--schraeg)); padding: calc(56px + var(--schraeg)) 0 0; background: var(--k-bg); color: var(--k-leise); font-size: 15px; clip-path: polygon(0 0, 100% var(--schraeg), 100% 100%, 0 100%); }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.fuss a { color: var(--k-text); }
.fuss-logo { margin-bottom: 6px; color: #fff; font-weight: 800; font-size: 20px; }
.fuss-links a { margin-right: 16px; }
.fuss-demo { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--k-linie); font-size: 14px; }
.fuss-zeile { width: 100%; max-width: none; margin: 0; padding: 22px 20px 26px; text-align: center; font-size: 13px; color: #8e8a82; }
.fuss-zeile a { color: #b7b3ab; }

/* =====================================================================================
   Breite Bildschirme: Platz rechts für die Farbkarten
   ===================================================================================== */
@media (min-width: 981px) {
  .behaelter { --rand: 96px; }
}

/* =====================================================================================
   Schmale Bildschirme: Farbkarten als Leiste unten, alles einspaltig, nichts verrutscht
   ===================================================================================== */
@media (max-width: 980px) {
  body { padding-bottom: var(--chips); }
  .menue { display: none; }
  .farbkarten { top: auto; right: 0; bottom: 0; left: 0; display: flex; flex-direction: row; justify-content: center; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(31, 27, 23, .94); transform: none; pointer-events: auto; }
  .chip { width: 44px; height: 36px; border-radius: 6px 6px 9px 9px; }
  .chip .dw { display: none; }
  .chip-name { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); }
  .chip:hover + .chip-name, .chip:focus-visible + .chip-name { transform: translateX(-50%); }
  .chip[aria-current="true"] { transform: translateY(-6px); }
  .leistung, .leistung:nth-child(n + 4) { grid-column: span 3; }
  .leistung:nth-child(5) { grid-column: span 6; }
  .held { grid-template-columns: 1fr; align-items: start; }
  .held-seite { align-items: flex-start; }
  .held-hinweis { text-align: left; }
  .wand-buehne { aspect-ratio: 4 / 3; max-height: none; min-height: 0; border-radius: var(--radius); }
  .werkzeug { justify-content: flex-start; }
  .wand-zaehler { text-align: left; order: 3; }
  .farbberatung-raster, .preise-raster, .angebot-raster, .fragen-raster, .kontakt-raster { grid-template-columns: 1fr; gap: 32px; }
  .paletten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .zahlen-leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stimmen-raster { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr; gap: 20px; }
  .zaehler { font-size: 12px; width: min(240px, 62%); padding: 9px 11px 10px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .kopf-innen { gap: 14px; }
  .kopf .knopf-klein { display: none; }
  .karte { --schraeg: 24px; }
  .karte-etikett { left: 16px; font-size: 11px; }
  .einleitung { font-size: 17px; }
  .leistung, .leistung:nth-child(n + 4), .leistung:nth-child(5) { grid-column: span 6; }
  .paletten { grid-template-columns: 1fr; }
  .palette-faecher { height: 120px; }
  .palette-faecher i { height: 100px; width: 44px; left: calc(50% - 22px); }
  .feld-reihe { grid-template-columns: 1fr; }
  .preis-liste div { flex-direction: column; gap: 4px; }
  .preis-liste dd { text-align: left; }
  .stimme blockquote p { font-size: 19px; }
  .formular { padding: 22px 18px; }
  .zahlen-leiste b { font-size: 34px; }
}
