/* TrockXBau website — layout + responsive utilities.
   Visual tokens all come from the design system; this file only handles
   layout, responsiveness and a few premium refinements the DS leaves open. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--color-canvas);
  font-family: var(--font-family);
  color: var(--color-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.dark { background: var(--color-surface-dark); color: var(--color-on-dark); }
/* OSB strand texture on dark bands — real black OSB board photo */
section.dark, .config-result { background-image: url("images/osb-platte-anthrazit.png"); background-size: 620px auto; }
.soft { background: var(--color-surface-soft); }

/* eyebrow / kicker — animated accent dash */
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--color-primary-active); margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--color-primary); flex-shrink: 0; transform-origin: left; }
.dark .kicker { color: var(--color-primary); }
@media (prefers-reduced-motion: no-preference) {
  .reveal .kicker::before, .reveal.kicker::before { transform: scaleX(0); transition: transform .8s cubic-bezier(.19,1,.22,1) .2s; }
  .in .kicker::before, .in.kicker::before { transform: scaleX(1); }
}

.display-xl { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.03; letter-spacing: 0; margin: 0; color: var(--color-ink); }
.dark .display-xl { color: var(--color-on-dark); }
.display-lg { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; line-height: 1.08; margin: 0; color: var(--color-ink); }
.dark .display-lg { color: var(--color-on-dark); }
.display-md { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; margin: 0; color: var(--color-ink); }
.lead { font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--color-body); }
.dark .lead { color: var(--color-on-dark-soft); }
.body { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--color-body); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* grid items default to a min-content min-width, which lets one long unbreakable
   word (e.g. a 44px stat like "Festpreis") force its whole row wider than the
   viewport. min-width: 0 lets tracks actually shrink to the space available. */
.grid > *, .split > *, .stats > *, .footer-grid > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide { grid-template-columns: 1.1fr 0.9fr; }
.split--kontakt { grid-template-columns: 1.2fr 0.8fr; align-items: start; }

/* hero split — image + copy, used by Mikrozement and the service page template */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

/* ---------- Image plates ---------- */
.plate {
  position: relative; background: var(--color-surface-card); overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.plate::after {
  content: attr(data-label);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--color-muted-soft); padding: 14px 16px; font-weight: 700;
}
.plate--dark { background: var(--color-surface-dark-elevated); }
.plate--dark::after { color: #6f6f70; }
.plate--img { background: var(--color-surface-card); }
.plate--img::after { content: none; }
.plate--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-45 { aspect-ratio: 4 / 5; }
/* plate corner accent grows in on reveal */
.plate-corner {
  position: absolute; top: 0; left: 0; height: 4px; width: 64px;
  background: linear-gradient(90deg, var(--color-accent-light) 0 60%, var(--color-accent-dark) 60% 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal .plate-corner { width: 0; transition: width .9s cubic-bezier(.19,1,.22,1) .35s; }
  .reveal.in .plate-corner { width: 64px; }
}

/* trust strip (recurring, pre-footer) reuses .trustbar/.trust-item above */

/* partner / manufacturer marquee */
.partners { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.partners-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: partnersScroll 26s linear infinite; }
.partners:hover .partners-track { animation-play-state: paused; }
.partner-item { font-size: 21px; font-weight: 700; letter-spacing: .5px; color: var(--color-muted-soft); white-space: nowrap; opacity: .75; transition: opacity .2s, color .2s; }
.partner-item:hover { opacity: 1; color: var(--color-ink); }
@keyframes partnersScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; } .partners { overflow-x: auto; } }

/* material swatches (Mikrozement color library) */
.swatch-row { display: flex; flex-wrap: wrap; gap: 18px; }
.swatch { width: 96px; text-align: center; cursor: default; }
.swatch-chip { width: 96px; height: 96px; border: 1px solid var(--color-hairline-strong); transition: border-color .2s, transform .2s; position: relative; }
.swatch:hover .swatch-chip { border-color: var(--color-ink); transform: translateY(-3px); }
.swatch-name { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--color-ink); }

/* Spachtel-wipe on section headings: green blade sweeps, title appears behind it */
.sp-wrap { position: relative; }
.sp-wrap::after { content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: 7px; background: var(--color-primary); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .reveal .sp-title { clip-path: inset(0 100% 0 0); }
  .reveal.in .sp-title { clip-path: inset(0 -2% 0 0); transition: clip-path 1.1s cubic-bezier(.45,0,.25,1) .1s; }
  .reveal.in .sp-wrap::after { animation: spwipe 1.1s cubic-bezier(.45,0,.25,1) .1s forwards; }
  @keyframes spwipe { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
}

/* Fugen line — plasterboard-joint SVG artwork (site/images/trockenbau-fuge-gipskarton.svg) */
.fuge { position: relative; height: 88px; opacity: 1; transform: none; overflow: hidden; }
.fuge.reveal { opacity: 1; transform: none; }
.fuge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fuge--osb { height: 72px; }
@media (prefers-reduced-motion: no-preference) {
  .fuge.reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s cubic-bezier(.19,1,.22,1); }
  .fuge.reveal.in { clip-path: inset(0 0 0 0); }
}

/* pencil measurement note (carpenter pencil, sits beside Ablauf headings) */
.pencil-note { position: absolute; right: 0; top: 8px; width: 150px; pointer-events: none; user-select: none; }
.pencil-note img { width: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .reveal .pencil-note { opacity: 0; transition: opacity .8s ease .9s; }
  .reveal.in .pencil-note { opacity: 1; }
}
@media (max-width: 900px) { .pencil-note { display: none; } }

/* screw bullet icon */
.screw-bullet { flex-shrink: 0; margin-top: 4px; }

/* process timeline — progress line fills once the section reveals (reuses .reveal/.in) */
.timeline-track { position: relative; height: 2px; background: var(--color-hairline-strong); margin: 8px 0 48px; }
.timeline-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--color-primary); }
@media (prefers-reduced-motion: no-preference) { .timeline-fill { transition: width 1.6s cubic-bezier(.19,1,.22,1) .1s; } }
.timeline-track.in .timeline-fill { width: 100%; }
.timeline-dot { position: absolute; top: 50%; transform: translate(-50%, -50%) rotate(0deg); width: 13px; height: 13px; border-radius: 50%; background: var(--color-canvas); border: 2px solid var(--color-hairline-strong); }
/* Phillips-head cross — the dot "screws in" when activated */
.timeline-dot::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background:
    linear-gradient(var(--color-on-primary), var(--color-on-primary)) center / 7px 1.5px no-repeat,
    linear-gradient(var(--color-on-primary), var(--color-on-primary)) center / 1.5px 7px no-repeat;
}
@media (prefers-reduced-motion: no-preference) { .timeline-dot { transition: background-color .3s, border-color .3s, transform .5s cubic-bezier(.19,1,.22,1); transition-delay: var(--td, 0s); } .timeline-dot::after { transition: opacity .3s; transition-delay: var(--td, 0s); } }
.timeline-track.in .timeline-dot { background: var(--color-primary); border-color: var(--color-primary); transform: translate(-50%, -50%) rotate(90deg); }
.timeline-track.in .timeline-dot::after { opacity: 1; }

/* review carousel */
.rc { position: relative; max-width: 720px; margin: 0 auto; overflow: hidden; }
.rc-track { display: flex; transition: transform .55s cubic-bezier(.19,1,.22,1); }
.rc-slide { flex: 0 0 100%; padding: 0 4px; }
.rc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.rc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-hairline-strong); border: none; cursor: pointer; padding: 0; transition: background-color .2s, transform .2s; }
.rc-dot.active { background: var(--color-primary); transform: scale(1.3); }

/* ---------- Cinematic hero (homepage) ---------- */
.hero-cine { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* hero virtual walkthrough (simulated dolly over stills → real video) */
.hseq-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 2.2s ease; }
.hseq-layer.on { opacity: 1; }
.hseq-layer img, .hseq-layer video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* forward "walking" dollies: slow zoom-in with slight lateral drift */
.walk-a { animation: walkA 9s cubic-bezier(.33,0,.4,1) forwards; }
@keyframes walkA { from { transform: scale(1) translateX(0); } to { transform: scale(1.14) translateX(-2%); } }
.walk-b { animation: walkB 9s cubic-bezier(.33,0,.4,1) forwards; }
@keyframes walkB { from { transform: scale(1.02) translateX(1.5%); } to { transform: scale(1.16) translateX(-1%); } }
.hseq-tag { position: absolute; right: 26px; bottom: 24px; z-index: 3; background: rgba(26,26,27,.7); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 7px 12px; }
@media (prefers-reduced-motion: reduce) { .hseq-layer { transition: none; } .walk-a, .walk-b { animation: none; } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,27,.82) 0%, rgba(26,26,27,.55) 46%, rgba(26,26,27,.22) 100%); }
.hero-cine-inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero-stagger { max-width: 640px; }
@media (prefers-reduced-motion: no-preference) {
  .hs { opacity: 0; transform: translateY(18px); animation: hsin 1s cubic-bezier(.19,1,.22,1) forwards; }
  .hs:nth-child(1) { animation-delay: .5s; }
  .hs:nth-child(2) { animation-delay: .68s; }
  .hs:nth-child(3) { animation-delay: .86s; }
  .hs:nth-child(4) { animation-delay: 1.04s; }
  .hs:nth-child(5) { animation-delay: 1.18s; }
  .hs:nth-child(6) { animation-delay: 1.32s; }
  @keyframes hsin { to { opacity: 1; transform: none; } }
}
.hero-cine .textlink { display: inline-flex; }
@media (max-width: 760px) {
  .hero-cine { min-height: 74vh; }
  .hero-media::after { background: linear-gradient(180deg, rgba(26,26,27,.68) 0%, rgba(26,26,27,.5) 55%, rgba(26,26,27,.82) 100%); }
}

/* ---------- Scroll progress (Maßband: mm ticks like a measuring tape) ---------- */
.scrollp { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 70; background: transparent; pointer-events: none; }
.scrollp-bar { position: relative; height: 100%; width: 0%; background: var(--color-primary); }
.scrollp-bar::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(26,26,27,.5) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, rgba(26,26,27,.28) 0 1px, transparent 1px 10px);
  background-position: bottom; background-size: 100% 100%, 100% 55%; background-repeat: no-repeat;
}
@media (prefers-reduced-motion: no-preference) { .scrollp-bar { transition: width .12s linear; } }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--color-hairline);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.wordmark { display: inline-flex; align-items: center; font-weight: 700; font-size: 19px; letter-spacing: 1px; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--color-primary-active); }
.wordmark img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; flex: 1; }
.nav-link { font-size: 14px; font-weight: 400; letter-spacing: .3px; text-decoration: none; color: var(--color-body); padding: 6px 0; position: relative; transition: color .15s; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.19,1,.22,1); }
.nav-link:hover { color: var(--color-ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--color-ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px 0; }
.mobile-menu { display: none; }

/* ---------- Buttons (thin wrappers over DS button styling) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 30px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-family); font-size: 14px; font-weight: 700; letter-spacing: .5px;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { height: 42px; padding: 0 20px; }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-active); }
.btn--secondary { background: var(--color-canvas); color: var(--color-ink); border-color: var(--color-hairline-strong); }
.btn--secondary:hover { border-color: var(--color-ink); }
.btn--ondark { background: transparent; color: var(--color-on-dark); border-color: rgba(255,255,255,.5); }
.btn--ondark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn { transition: background-color .15s, color .15s, border-color .15s, transform .08s; }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; color: var(--color-ink); }
.dark .textlink { color: var(--color-on-dark); }
.textlink .chev { font-weight: 400; transition: transform .15s; }
.textlink:hover .chev { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card { background: var(--color-canvas); }
.svc {
  background: var(--color-canvas); border: 1px solid var(--color-hairline);
  padding: 0; text-decoration: none; color: inherit; display: block;
  transition: border-color .18s, transform .18s;
}
.svc:hover { border-color: var(--color-ink); transform: translateY(-3px); }
.svc .plate { overflow: hidden; }
.svc .plate img { transition: transform .6s cubic-bezier(.19,1,.22,1); }
.svc:hover .plate img { transform: scale(1.045); }
.svc .ba .plate img, .svc:hover .ba .plate img { transform: none; transition: none; }
/* Q1→Q4 hover: Spachtelarbeiten card sharpens in 4 steps from rough to smooth */
.svc--q .plate img { filter: contrast(1.16) brightness(.95) saturate(.8) blur(.6px); }
@media (prefers-reduced-motion: no-preference) { .svc--q .plate img { transition: filter .7s steps(4, end), transform .6s cubic-bezier(.19,1,.22,1); } }
.svc--q:hover .plate img { filter: none; }
.svc--q .plate::before { content: "Q1"; position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(26,26,27,.75); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; padding: 4px 8px; }
.svc--q:hover .plate::before { content: "Q4"; background: var(--color-primary); color: var(--color-on-primary); }
.svc-body { padding: 24px; }
.svc h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--color-ink); }
.svc p { margin: 0 0 16px; font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--color-body); }
.svc .num { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--color-muted-soft); }

/* trust bar */
.trustbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--color-ink); }
.trust-item .mark { color: var(--color-primary-active); font-size: 18px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 24px; }
.stat { padding: 0 24px; border-left: 1px solid var(--color-hairline-strong); min-width: 0; }
.stat:first-child { padding-left: 0; border-left: none; }
.stat .v { font-size: 38px; font-weight: 700; line-height: 1.05; color: var(--color-ink); hyphens: auto; overflow-wrap: break-word; }
.dark .stat .v { color: var(--color-on-dark); }
.dark .stat { border-color: #3a3a3b; }
.stat .l { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-muted); }
.dark .stat .l { color: var(--color-on-dark-soft); }

/* process steps */
/* process steps — top rule draws in on reveal */
.step { border-top: 2px solid var(--color-hairline); padding-top: 20px; position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--color-ink); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .step::before { transform: scaleX(0); transition: transform 1s cubic-bezier(.19,1,.22,1) .25s; }
  .step.in::before { transform: scaleX(1); }
}
.step .n { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--color-primary-active); }
.step h3 { margin: 12px 0 8px; font-size: 20px; font-weight: 700; color: var(--color-ink); }
.step p { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--color-body); }

/* reviews */
.review { background: var(--color-canvas); border: 1px solid var(--color-hairline); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s, transform .2s; }
.review:hover { border-color: var(--color-hairline-strong); transform: translateY(-3px); }
.review .stars { color: var(--color-primary-active); letter-spacing: 2px; font-size: 15px; }
.review .quote { font-size: 17px; font-weight: 300; line-height: 1.55; color: var(--color-ink); flex: 1; }
.review .who { font-size: 13px; font-weight: 700; color: var(--color-ink); }
.review .who span { display: block; font-weight: 400; color: var(--color-muted); margin-top: 2px; }

/* areas */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { border: 1px solid var(--color-hairline-strong); padding: 9px 16px; font-size: 14px; font-weight: 400; color: var(--color-ink); transition: background .2s, color .2s, border-color .2s; }
span.area-chip:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }

/* FAQ */
.faq-item { border-top: 1px solid var(--color-hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--color-hairline); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--font-family); font-size: 19px; font-weight: 700; color: var(--color-ink); transition: padding-left .25s cubic-bezier(.19,1,.22,1); }
.faq-q:hover { padding-left: 8px; }
.faq-q .sign { font-weight: 300; font-size: 26px; color: var(--color-primary-active); transition: transform .2s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a .inner { padding: 0 0 26px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--color-body); max-width: 760px; }

/* before / after */
.ba { position: relative; user-select: none; overflow: hidden; }
.ba .layer { position: absolute; inset: 0; }
.ba .after { z-index: 1; }
.ba .before { z-index: 2; }
.ba .handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--color-primary); z-index: 3; transform: translateX(-1px); }
.ba .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: var(--color-on-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .ba:not(.touched) .knob { animation: knobpulse 2.2s ease-in-out infinite; }
  @keyframes knobpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(169,200,32,.45); } 55% { box-shadow: 0 0 0 12px rgba(169,200,32,0); } }
}
.ba .tag { position: absolute; bottom: 14px; z-index: 4; background: rgba(26,26,27,.85); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 10px; }

/* custom drag cursor over before/after slider (hover-capable pointers only) */
@media (hover: hover) and (pointer: fine) {
  .ba { cursor: none; }
  .ba-cursor {
    position: absolute; z-index: 6; width: 42px; height: 42px; border-radius: 50%;
    background: var(--color-ink); color: #fff; display: flex; align-items: center; justify-content: center;
    transform: translate(-50%, -50%); pointer-events: none; font-weight: 700; font-size: 16px;
  }
}
@media (max-width: 760px), (hover: none) { .ba-cursor { display: none; } }

/* material wipe transition band (drywall texture \u2192 microcement, wipes in on reveal) */
.wipeband { position: relative; height: 84px; overflow: hidden; }
.wipeband .layer { position: absolute; inset: 0; }
.wipeband .layer img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.wipeband .after { clip-path: inset(0 100% 0 0); }
@media (prefers-reduced-motion: no-preference) { .wipeband.in .after { transition: clip-path 1.5s cubic-bezier(.19,1,.22,1) .1s; } }
.wipeband.in .after { clip-path: inset(0 0 0 0); }
.wipeband .edge { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--color-primary); left: 0%; }
@media (prefers-reduced-motion: no-preference) { .wipeband.in .edge { transition: left 1.5s cubic-bezier(.19,1,.22,1) .1s; } }
.wipeband.in .edge { left: 100%; }
.wipeband .label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: rgba(26,26,27,.35); }

/* live material swatch preview (mix-blend recolor) */
.swatch-preview { position: relative; overflow: hidden; }
.swatch-preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05) brightness(1.05); }
.swatch-preview .tint { position: absolute; inset: 0; mix-blend-mode: color; }
@media (prefers-reduced-motion: no-preference) { .swatch-preview .tint { transition: background-color .5s ease; } }
.swatch.active .swatch-chip { border-color: var(--color-ink); }
.swatch.active .swatch-chip::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 20px; mix-blend-mode: difference; }
.swatch { cursor: pointer; background: none; border: none; padding: 0; font-family: var(--font-family); }

/* section divider (real DS StripeDivider used as a light-weight rhythm break) */
.section-divider { display: flex; justify-content: center; padding: 56px 0; background: var(--color-canvas); }

/* green map pin overlay (Google Maps iframe center marker) */
.map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); pointer-events: none; z-index: 3; }
.map-pin-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--color-primary); border: 3px solid var(--color-ink); margin: 0 auto; }
.map-pin-ring { position: absolute; left: 50%; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); opacity: .35; transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .map-pin-ring { animation: mappulse 2.4s ease-out infinite; }
  @keyframes mappulse { 0% { transform: translateX(-50%) scale(.4); opacity: .5; } 100% { transform: translateX(-50%) scale(1.3); opacity: 0; } }
}

/* footer additions */
.footer { background: var(--color-surface-soft); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.footer h4 { font-size: 16px; font-weight: 700; color: var(--color-ink); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { font-size: 14px; font-weight: 300; color: var(--color-body); text-decoration: none; display: inline-block; transition: color .15s, transform .2s; }
.footer a:hover { color: var(--color-ink); transform: translateX(3px); }
.footer .meta { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--color-body); }
.footer-bottom { border-top: 1px solid var(--color-hairline); padding: 24px 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--color-muted); }

/* WhatsApp float — desktop only; on mobile it clutters the tight viewport (removed there) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 58px; height: 58px;
  background: #25d366; border-radius: 50%; align-items: center; justify-content: center;
  display: flex; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.19,1,.22,1); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hs { opacity: 1; transform: none; animation: none; } .svc .plate img { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-phone { display: none; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .split { gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .nav-links, .nav-phone, .nav-right { display: none; }
  .wa-float { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu.open { display: block; position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: var(--color-canvas); z-index: 59; padding: 24px 20px; overflow-y: auto; }
  .mobile-menu.open a { display: block; padding: 16px 0; font-size: 20px; font-weight: 700; color: var(--color-ink); text-decoration: none; border-bottom: 1px solid var(--color-hairline); }
  .mobile-menu.open .btn { margin-top: 20px; }
  .grid-2, .grid-3, .grid-4, .split, .split--wide, .split--kontakt, .hero-split, .footer-grid { grid-template-columns: 1fr; }
  .split, .hero-split { gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .stat { padding: 0 14px; }
  .stat .v { font-size: 30px; }
  .stat:nth-child(3) { padding-left: 0; border-left: none; }
  .footer-grid { gap: 32px; }
  .display-xl { font-size: 40px; }
  .trustbar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; justify-content: initial; }
  .trust-item { gap: 10px; }
  .footer a { padding: 7px 0; }
  .faq-q { padding: 22px 0; font-size: 17px; }
  .hseq-tag { display: none; }
}
