/* Malerei Pascal Dessaux – Website-Entwurf (Louis Dessaux, 22.11.2026). Aufbau wie Schupp, Werte aus tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--grund);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gruen); color: var(--tinte); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #a9b8ad var(--flaeche); }
.kontakt, .sos, .fuss, .detail--dunkel, .detail--bild, .galerie__mehr, .leuchtkasten { --fokus: var(--gruen); }

.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tinte); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sprung:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Schrift ---------- */
.h2, .satz, .hero__h1, .kontakt__titel, .kachel__titel, .laufband__spur span { word-spacing: 0.1em; }
.h2 {
  font-size: var(--t-h2); font-weight: 850; font-stretch: var(--breit-titel);
  line-height: 0.95; letter-spacing: -0.022em; color: var(--tinte); text-wrap: balance;
}
.h2__dach { display: block; margin-bottom: 14px; font-size: var(--t-klein); font-weight: 700; font-stretch: 100%; letter-spacing: 0.01em; line-height: 1.3; word-spacing: normal; color: var(--gruen-text); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--text); }
.satz {
  font-size: var(--t-satz); font-weight: 850; font-stretch: 84%;
  line-height: 1.02; letter-spacing: -0.02em; color: var(--gruen-text); text-wrap: balance;
}
.pfeil-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 700; color: var(--gruen-text); text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: rgba(63, 111, 19, 0.3);
  transition: text-decoration-color var(--d-ui) var(--ease);
}
.pfeil-link::after {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--d-ui) var(--ease);
}
.pfeil-link--hell { color: var(--gruen); text-decoration-color: rgba(154, 202, 60, 0.4); }

/* ---------- Knöpfe: Logo-Grün mit dunkler Schrift ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  background: var(--gruen); color: var(--tinte); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--d-ui) var(--ease), transform var(--d-ui) var(--ease), border-color var(--d-ui) var(--ease);
}
.btn:active { transform: scale(0.97); background: var(--gruen-press); }
.btn--klein { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }
.btn--leise { background: var(--gruen-hell); color: var(--gruen-text); }
.btn--leise:active { background: #d9eabd; }
.btn--dunkel { background: var(--tinte); color: #fff; }
.btn--dunkel:active { background: #000; }
.btn--rand { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--rand:active { background: rgba(255, 255, 255, 0.12); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); background: var(--gruen-hover); }
  .btn--leise:hover { background: #ddedc4; }
  .btn--dunkel:hover { background: #24382b; }
  .btn--rand:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
  .pfeil-link:hover { text-decoration-color: currentColor; }
  .pfeil-link:hover::after { transform: translateX(4px); }
}

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid transparent; transition: border-color var(--d-ui) var(--ease); }
.kopf.is-gerollt { border-bottom-color: var(--linie); }
.kopf__bar {
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding: 14px var(--gut);
  min-height: 76px;
}
.marke { display: flex; align-items: center; min-height: 44px; flex: none; }
.marke img { height: 54px; width: auto; }
.kopf__nav { display: flex; gap: 6px; margin-left: auto; }
.kopf__nav a {
  padding: 10px 12px; font-weight: 600; font-size: var(--t-body); color: var(--tinte); text-decoration: none;
  background: linear-gradient(var(--gruen), var(--gruen)) left calc(100% - 6px) / 0 3px no-repeat;
  background-origin: content-box;
  transition: background-size var(--d-ui) var(--ease), color var(--d-ui) var(--ease);
}
.kopf__aktionen { display: flex; align-items: center; gap: 10px; }
/* Telefon als zweiter Knopf neben «Offerte anfragen» (Louis 22.11.): hellgrün, gleiche Höhe */
.kopf__tel {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px;
  background: var(--gruen-hell); color: var(--gruen-text); font-weight: 700; font-size: 0.9375rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: background-color var(--d-ui) var(--ease), transform var(--d-ui) var(--ease);
}
.kopf__tel:active { transform: scale(0.97); background: #d9eabd; }
@media (hover: hover) and (pointer: fine) {
  .kopf__nav a:hover { background-size: 100% 3px; }
  .kopf__tel:hover { background: #dcecc2; }
}
.menue-knopf {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--flaeche); font-weight: 700; font-size: 0.9375rem; color: var(--tinte); cursor: pointer;
}
.menue-knopf__striche, .menue-knopf__striche::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--d-ui) var(--ease); }
.menue-knopf__striche { position: relative; transform: translateY(-3px); }
.menue-knopf__striche::before { content: ""; position: absolute; top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche { transform: translateY(0) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche::before { transform: translateY(-6px) rotate(-90deg); }
.menue { border-top: 1px solid var(--linie); background: #fff; padding: 12px var(--gut) 28px; display: grid; }
.menue[hidden] { display: none; }
.menue a { padding: 14px 0; font-size: var(--t-h3); font-weight: 850; font-stretch: 84%; color: var(--tinte); text-decoration: none; border-bottom: 1px solid var(--flaeche); }
.menue .menue__tel { color: var(--gruen-text); border-bottom: 0; }

@media (max-width: 1099px) {
  .kopf__nav, .kopf__tel { display: none; }
  .kopf__aktionen { margin-left: auto; }
  .menue-knopf { display: inline-flex; }
}
@media (max-width: 639px) {
  .kopf__bar { min-height: 64px; padding-block: 10px; }
  .marke img { height: 42px; }
  .kopf__aktionen .btn { display: none; }
}

/* ---------- Siegel «Leidenschaft für Farbe · eidg. dipl. Malermeister» (dreht sich beim Scrollen) ---------- */
.siegel { display: block; height: auto; pointer-events: none; rotate: var(--dreh, 0deg); }
.siegel__grund { fill: var(--tief); }
.siegel__text { fill: var(--gruen); font-family: var(--font); font-size: 15.5px; font-weight: 800; font-stretch: 100%; letter-spacing: 0.06em; }

/* ---------- 1. Hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero__wrap {
  max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut);
  /* Höhe aus dem Inhalt (keine Bildschirmhöhe mehr), Text unten bündig mit dem Bild: Laufband folgt direkt (Louis 23.11.: «distanz verkleinern») */
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: end;
}
.hero__h1 {
  font-size: var(--t-hero); font-weight: 850; font-stretch: var(--breit-titel);
  line-height: 0.9; letter-spacing: -0.03em; color: var(--tinte);
}
.zeile { display: block; overflow: hidden; padding-bottom: 0.04em; }
.zeile__in { display: inline-block; }
/* «Farbe» mit Pinselstrich in Logo-Grün dahinter (wird beim Auftritt von links nach rechts gezogen) */
.pinsel { position: relative; display: inline-block; isolation: isolate; padding-inline: 0.06em; }
.pinsel::before {
  content: ""; position: absolute; z-index: -1; inset: 0.14em -0.1em 0.02em -0.08em;
  background: url("bilder/pinselstrich.svg") center / 100% 100% no-repeat;
}
.hero__ort {
  display: block; margin-top: 22px; font-size: var(--t-lead); font-weight: 600; font-stretch: 100%;
  letter-spacing: -0.005em; word-spacing: normal; line-height: 1.3; color: var(--muted);
}
.hero__lead { margin-top: 18px; max-width: 34ch; font-size: var(--t-lead); line-height: 1.5; color: var(--text); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 580px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--flaeche); color: var(--tinte); font-weight: 600; font-size: 0.9375rem; line-height: 1.3;
}
.hero__chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); flex: none; box-shadow: 0 0 0 2px var(--gruen-hell); }
.hero__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.team-hinweis { flex: 0 0 100%; display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; padding-block: 6px; font-size: var(--t-klein); line-height: 1.35; color: var(--muted); text-decoration: none; }
.team-hinweis strong { color: var(--tinte); }
.team-hinweis__bilder { display: flex; flex: none; }
.team-hinweis__bilder img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; border: 2px solid #fff; }
.team-hinweis__bilder img + img { margin-left: -10px; }
/* Reihenfolge bleibt links → rechts, aber Pascal liegt ganz vorne (Louis 22.11.) */
.team-hinweis__bilder img { position: relative; }
.team-hinweis__bilder img:nth-child(1) { z-index: 3; } .team-hinweis__bilder img:nth-child(2) { z-index: 2; } .team-hinweis__bilder img:nth-child(3) { z-index: 1; }
@media (hover: hover) and (pointer: fine) { .team-hinweis:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; } }

/* Bild grösser und oben bündig, damit es höher hinauf reicht (Louis 22.11.) */
.hero__rahmen { position: relative; justify-self: center; align-self: start; width: min(100%, 500px); }
.rahmen {
  position: relative; aspect-ratio: 3 / 4; max-height: min(78svh, 700px); margin-inline: auto;
  border-radius: 28px; overflow: hidden; background: var(--flaeche);
  box-shadow: 0 40px 70px -32px rgba(15, 25, 20, 0.45);
}
.rahmen img { width: 100%; height: 100%; object-fit: cover; }
.hero__siegel { position: absolute; top: -34px; left: -64px; width: clamp(118px, 11vw, 168px); transform: rotate(-8deg); z-index: 2; }
.hero-karten { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.karte {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 16px;
  background: #fff; box-shadow: 0 16px 34px -14px rgba(15, 25, 20, 0.38); width: max-content;
  color: var(--muted); text-decoration: none; pointer-events: auto;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.karte__bilder { display: flex; flex: none; }
.karte img { width: 40px; height: 54px; object-fit: cover; border-radius: 9px; }
.karte img:first-child { filter: saturate(0.5); }
.karte img + img { margin-left: -12px; border: 2px solid #fff; box-sizing: content-box; margin-block: -2px; }
.karte > span:last-child { font-size: 0.8125rem; line-height: 1.3; }
.karte b { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--tinte); }
.hero-karten li:nth-child(1) .karte { left: -118px; top: 30%; }
.hero-karten li:nth-child(2) .karte { right: calc(-1 * min(92px, max(var(--gut), (100vw - var(--wrap)) / 2) - 16px)); top: 52%; } /* nie über den Bildschirmrand */
.hero-karten li:nth-child(3) .karte { left: -126px; top: 74%; }
@media (hover: hover) and (pointer: fine) {
  .karte:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(15, 25, 20, 0.5); }
  .karte:hover b { color: var(--gruen-text); }
}

/* Auftritt: Titel steigt zeilenweise auf, Pinselstrich zieht durch, Bild öffnet sich, Siegel landet, Karten zuletzt */
@media (prefers-reduced-motion: no-preference) {
  .js-enter .zeile__in { transform: translateY(108%); }
  .js-enter .pinsel::before { clip-path: inset(0 100% 0 0); }
  /* Knöpfe nur im Kopf mitanimieren (nicht z. B. bei «Kundenfeedback» weiter unten) */
  .js-enter .hero__ort, .js-enter .hero__lead, .js-enter .hero__chips, .js-enter :is(.hero, .seitenkopf) .hero__aktionen { opacity: 0; transform: translateY(14px); }
  /* Bild ist von Anfang an da (nur der Rahmen öffnet sich, und nur am Computer): sonst zählt Google das Titelbild erst nach dem
     Roller (LCP +2,6 s). Am Handy liegt sein oberer Rand unten am Bildschirm, genau dort, wo der Rahmen noch zu wäre. */
  @media (min-width: 900px) { .js-enter .rahmen { clip-path: inset(10% 0 0 0 round 28px); } }
  .js-enter .hero__siegel { opacity: 0; transform: rotate(-20deg) scale(1.35); }
  .js-enter .hero-karten { opacity: 0; }
  .is-entering .zeile__in { transform: none; transition: transform 900ms var(--ease); }
  .is-entering .zeile + .zeile .zeile__in { transition-delay: 90ms; }
  .is-entering .pinsel::before { clip-path: inset(0 0 0 0); transition: clip-path 700ms cubic-bezier(0.65, 0, 0.35, 1) 520ms; }
  .is-entering .hero__ort, .is-entering .hero__lead, .is-entering .hero__chips, .is-entering :is(.hero, .seitenkopf) .hero__aktionen {
    opacity: 1; transform: none; transition: opacity 700ms var(--ease) 260ms, transform 700ms var(--ease) 260ms;
  }
  @media (min-width: 900px) { .is-entering .rahmen { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1100ms var(--ease) 80ms; } }
  .is-entering .hero__siegel { opacity: 1; transform: rotate(-8deg) scale(1); transition: opacity var(--d-ui) var(--ease) 760ms, transform 620ms var(--ease-feder) 760ms; }
  .is-entering .hero-karten { opacity: 1; transition: opacity 600ms var(--ease) 1100ms; }
}

@media (max-width: 899px) {
  .hero__wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; }
  .hero__rahmen { width: 100%; align-self: auto; }
  .rahmen { aspect-ratio: 4 / 4.4; max-height: none; width: 100%; border-radius: 22px; }
  .hero__siegel { left: auto; right: -6px; top: -40px; width: 112px; }
  .hero-karten { position: static; display: flex; gap: 10px; margin: 14px calc(-1 * var(--gut)) 0; padding: 4px var(--gut) 18px; overflow-x: auto; scrollbar-width: none; }
  .hero-karten::-webkit-scrollbar { display: none; }
  .hero-karten li { flex: none; }
  .hero-karten li:nth-child(n) .karte { position: static; }
}

/* ---------- Laufband (bewegt sich nur beim Scrollen) ---------- */
.laufband { position: relative; z-index: 2; margin: 0 -5vw; background: var(--gruen); color: var(--tinte); transform: rotate(-2deg); overflow: hidden; }
.laufband__spur { display: flex; width: max-content; padding: 20px 0; will-change: transform; }
.laufband__spur span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: var(--t-satz); font-weight: 850; font-stretch: 80%; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1;
}
.laufband__spur span::after { content: ""; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--tinte); margin-inline: 0.7em; }

/* ---------- 2. Willkommen ---------- */
.willkommen { padding: var(--pad) 0; }
.willkommen__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--r); }
.collage__a { left: 0; top: 0; width: 58%; aspect-ratio: 3 / 4; }
.collage__b { right: 0; top: 12%; width: 40%; aspect-ratio: 408 / 380; }
.collage__c { left: 36%; bottom: 0; width: 34%; aspect-ratio: 3 / 4; border: 7px solid #fff; border-radius: calc(var(--r) + 7px); box-sizing: content-box; }
.willkommen__text { display: grid; gap: 22px; justify-items: start; }
.willkommen__text .h2 { margin-bottom: 4px; }
.willkommen__text .satz { margin: 10px 0 2px; max-width: 18ch; }
.willkommen__text p:not(.lead):not(.satz) { color: var(--muted); max-width: 60ch; }
.willkommen__text .fakten { width: 100%; margin-top: 8px; }
@media (max-width: 899px) {
  .willkommen__raster { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
}

/* ---------- 3. Leistungen ---------- */
.leistungen { padding: 0 0 var(--pad); }
.leistungen .kopfzeile .lead { color: var(--muted); max-width: 52ch; }
.mosaik { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(230px, 23vw, 320px)) auto; gap: 14px; }
.kachel { position: relative; overflow: hidden; border-radius: var(--r); background: var(--flaeche); color: #fff; text-decoration: none; isolation: isolate; }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-bild) var(--ease); }
.kachel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 20, 14, 0.82) 0%, rgba(10, 20, 14, 0.35) 34%, rgba(10, 20, 14, 0) 62%); }
.kachel__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2.2vw, 28px); display: grid; gap: 6px; }
.kachel__titel { font-size: var(--t-h3); font-weight: 850; font-stretch: 82%; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.kachel__liste { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, 0.92); }
a.kachel::before {
  content: ""; position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1914' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform var(--d-ui) var(--ease);
}
.kachel--maler { grid-column: 1 / 8; grid-row: 1; }
.kachel--gipser { grid-column: 8 / 13; grid-row: 1 / 3; }
.kachel--deko { grid-column: 1 / 5; grid-row: 2; }
.kachel--sos { grid-column: 5 / 8; grid-row: 2; }
/* «Warum wir» als Liste wie auf Über uns (Golf-Vibe-Zeilen, Louis 22.11.): links der Titel, rechts die Zeilen */
.kachel--warum {
  grid-column: 1 / 13; grid-row: 3; background: var(--gruen); color: var(--tinte);
  padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 28px clamp(28px, 5vw, 80px); align-items: start;
}
.warum__kopf { grid-column: 1; grid-row: 1; }
.vorzug--kachel { grid-column: 2; grid-row: 1 / 3; }
/* CTA unten links, bündig mit dem Ende der Liste (Louis 22.11.) */
.warum__cta { grid-column: 1; grid-row: 2; align-self: end; display: flex; flex-wrap: wrap; gap: 10px; }
/* Gleich viel Luft über und unter der grünen Fläche (Louis 24.11.: «abstand von oben und unten gleichmässig»): je eine halbe
   Sektionsluft. Vorher 14 px oben (Rasterfuge) und eine ganze Sektionsluft unten. Gesamtluft bleibt fast gleich. */
.leistungen { padding-bottom: calc(var(--pad) / 2); }
.kachel--warum { margin-top: calc(var(--pad) / 2 - 14px); } /* 14 px = Fuge im Mosaik */
.btn--rand-dunkel { background: transparent; color: var(--tinte); border-color: rgba(15, 25, 20, 0.55); }
@media (hover: hover) and (pointer: fine) { .btn--rand-dunkel:hover { border-color: var(--tinte); background: rgba(15, 25, 20, 0.06); } }
.kachel--warum::after { display: none; }
.kachel__dach { font-size: var(--t-klein); font-weight: 800; letter-spacing: 0.01em; margin-bottom: 12px; }
.warum__titel { font-size: var(--t-h2); font-weight: 850; font-stretch: var(--breit-titel); line-height: 0.95; letter-spacing: -0.022em; }
.kachel--warum .vorzug li { grid-template-columns: clamp(44px, 5vw, 72px) minmax(0, 1fr); padding-block: clamp(12px, 1.5vw, 20px); }
.vorzug--kachel .vorzug__icon { width: clamp(26px, 2.4vw, 34px); }
.vorzug--kachel .vorzug__titel { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
@media (hover: hover) and (pointer: fine) {
  a.kachel:hover img { transform: scale(1.03); }
  a.kachel:hover::before { transform: rotate(45deg); }
}
@media (max-width: 899px) {
  .mosaik { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .kachel { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3.4; }
  .kachel--maler, .kachel--warum { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .kachel--warum { aspect-ratio: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 24px; }
  .warum__kopf, .vorzug--kachel, .warum__cta { grid-column: 1; grid-row: auto; }
}
@media (max-width: 559px) {
  .mosaik { grid-template-columns: 1fr; }
  .kachel:not(.kachel--warum), .kachel--maler { aspect-ratio: 4 / 3.3; }
  .kachel--gipser { aspect-ratio: 4 / 4.6; }
}

/* ---------- SOS Service (dunkel, Vorher/Nachher aus derselben Ecke) ---------- */
.sos { background: var(--tief); color: #fff; padding: var(--pad) 0; }
.sos__raster { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sos__text { display: grid; gap: 24px; justify-items: start; }
.sos__marke { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(154, 202, 60, 0.14); color: var(--gruen); font-weight: 800; font-size: var(--t-klein); }
.sos__marke { position: relative; }
.sos__marke::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px rgba(154, 202, 60, 0.25); }
/* Punkt leuchtet jede Sekunde auf wie ein Bereitschafts-Licht (Louis 23.11.) */
@media (prefers-reduced-motion: no-preference) {
  .sos__marke::before { animation: sos-licht 1s var(--ease) infinite; }
  .sos__marke::after {
    content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
    background: var(--gruen); pointer-events: none; animation: sos-ring 1s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  }
}
@keyframes sos-ring { 0% { transform: scale(1); opacity: 0.75; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes sos-licht {
  0%, 100% { background: var(--gruen); box-shadow: 0 0 0 4px rgba(154, 202, 60, 0.25); }
  12% { background: #d4f58a; box-shadow: 0 0 0 4px rgba(154, 202, 60, 0.4), 0 0 12px 3px rgba(190, 240, 100, 0.75); }
  55% { background: var(--gruen); box-shadow: 0 0 0 4px rgba(154, 202, 60, 0.25), 0 0 0 0 rgba(190, 240, 100, 0); }
}
.sos .h2 { color: #fff; }
.sos .lead { color: rgba(255, 255, 255, 0.82); max-width: 44ch; }
.sos .hero__aktionen { margin-top: 0; }
.vorher-nachher { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.vn { position: relative; }
.vn img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.vn--vorher { margin-top: clamp(40px, 6vw, 88px); }
.vn figcaption {
  position: absolute; left: 14px; top: 14px; padding: 6px 14px; border-radius: 999px;
  background: #fff; color: var(--tinte); font-weight: 700; font-size: 0.9375rem;
}
.vn--nachher figcaption { background: var(--gruen); color: var(--tinte); }
@media (max-width: 899px) { .sos__raster { grid-template-columns: 1fr; } }

/* ---------- Anspruch + Vorteile ---------- */
.ablauf { padding: var(--pad) 0; }
.ablauf__raster { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.ablauf__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.satz--gross { font-size: var(--t-h2); color: var(--tinte); line-height: 0.98; font-weight: 850; font-stretch: var(--breit-titel); max-width: 16ch; }
.ablauf__text { margin-top: 24px; color: var(--muted); max-width: 60ch; hyphens: auto; }
.ablauf__aktion { margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 899px) {
  .ablauf__raster { grid-template-columns: 1fr; }
  .ablauf__bild { max-width: 420px; }
}
/* ---------- Team (Pascals Team-Collage) ---------- */
:root { --kopf-h: 77px; }
@media (max-width: 639px) { :root { --kopf-h: 65px; } }
.team { padding: 0 0 var(--pad); }
.kopfzeile { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.kopfzeile__text { display: grid; gap: 14px; }
.team .kopfzeile .lead { color: var(--muted); max-width: 52ch; }
.teamraster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) 14px; }
.person-karte { display: grid; align-content: start; gap: 4px; }
.person-karte__bild { position: relative; margin-bottom: 12px; }
.person-karte__bild img { width: 100%; aspect-ratio: 408 / 380; object-fit: cover; border-radius: var(--r); background: var(--flaeche); }
.person-karte__band { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--gruen); color: var(--tinte); font-size: 0.8125rem; font-weight: 800; }
.person-karte__name { font-size: var(--t-lead); font-weight: 800; line-height: 1.2; color: var(--tinte); }
.person-karte__zeile { font-size: var(--t-klein); line-height: 1.4; color: var(--muted); }
.person-karte__farbe { margin-top: 10px; font-size: 0.8125rem; font-weight: 700; color: var(--gruen-text); }
.person-karte__liste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.person-karte__liste li { padding: 4px 10px; border-radius: 999px; background: var(--flaeche); font-size: 0.8125rem; font-weight: 600; line-height: 1.35; color: var(--tinte); }
.person-karte--chef .person-karte__name { color: var(--tinte); }
/* grüner Rahmen um Pascals Bild entfernt (Louis 25.11.: «warum das?», wirkte auf grünem Hintergrund wie ein Fehler) */
.person-karte--farbe {
  position: relative; overflow: hidden; isolation: isolate; align-content: end; gap: 16px; min-height: 100%;
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r); background: var(--gruen); color: var(--tinte);
}
.person-karte--farbe p { font-size: var(--t-h3); font-weight: 850; font-stretch: 84%; line-height: 1.02; letter-spacing: -0.015em; max-width: 11ch; }
.person-karte--farbe .btn { justify-self: start; }
.person-karte__klecks { position: absolute; z-index: -1; right: -70px; top: -70px; width: 260px; height: auto; filter: brightness(0) invert(1); opacity: 0.35; }
@media (max-width: 1099px) { .teamraster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .teamraster { grid-template-columns: 1fr 1fr; }
  .person-karte--farbe { grid-column: 1 / -1; min-height: 220px; }
}

/* ---------- Referenzen (versetzt) ---------- */
.referenzen { padding: var(--pad) 0; }
.galerie { display: grid; grid-template-columns: 1.15fr 1fr 0.85fr; gap: 14px; align-items: start; }
.galerie img { width: 100%; border-radius: var(--r); object-fit: cover; }
.g-a { grid-column: 1; grid-row: 1 / 3; align-self: stretch; height: 100%; }
.g-b { grid-column: 2; grid-row: 1; margin-top: clamp(40px, 6vw, 96px); aspect-ratio: 3 / 4; }
.g-c { grid-column: 3; grid-row: 1; aspect-ratio: 3 / 4; }
.g-d { grid-column: 3; grid-row: 2; aspect-ratio: 3 / 4; }
.g-e { grid-column: 2; grid-row: 2; align-self: stretch; }
.galerie__mehr {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: 240px;
  padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); background: var(--tief); color: #fff; text-decoration: none;
}
.galerie__mehr img { position: absolute; z-index: -1; right: -60px; top: -60px; width: 300px !important; height: auto; border-radius: 0 !important; transition: transform var(--d-bild) var(--ease); }
.galerie__mehr span { font-size: var(--t-h3); font-weight: 850; font-stretch: 84%; line-height: 1.02; letter-spacing: -0.015em; max-width: 10ch; }
.galerie__mehr span::after { content: " →"; color: var(--gruen); }
@media (hover: hover) and (pointer: fine) { .galerie__mehr:hover img { transform: rotate(18deg) scale(1.06); } }
@media (max-width: 899px) {
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie > * { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; }
  .galerie img:not(.galerie__mehr img) { aspect-ratio: 4 / 5 !important; height: auto; }
  .g-a { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; }
}

/* ---------- Kontakt ---------- */
.kontakt { position: relative; background: var(--tief); color: #fff; padding: var(--pad) 0 clamp(40px, 4.5vw, 64px); /* unten knapper (Louis 24.11.: «distanz verkleinern») */ overflow: hidden; isolation: isolate; }
.kontakt .wrap { position: relative; }
.kontakt__klecks { position: absolute; z-index: -1; right: -120px; top: -140px; width: clamp(320px, 42vw, 620px); height: auto; opacity: 0.95; }
.kontakt__dach { font-size: var(--t-klein); font-weight: 800; color: var(--gruen); margin-bottom: 16px; }
.kontakt__titel {
  font-size: var(--t-hero); font-weight: 850; font-stretch: var(--breit-titel); line-height: 0.93;
  letter-spacing: -0.028em; max-width: 12ch; text-wrap: balance;
}
.kontakt__lead { margin-top: 24px; max-width: 46ch; font-size: var(--t-lead); line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.kontakt__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 clamp(56px, 7vw, 88px); }
.kontakt__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.kontakt__spalten h3 { font-size: var(--t-body); font-weight: 700; margin-bottom: 8px; color: var(--gruen); }
.kontakt__spalten p { color: rgba(255, 255, 255, 0.88); line-height: 1.7; overflow-wrap: anywhere; }
.kontakt__spalten a { text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 4px; display: inline-block; padding-block: 8px; }
@media (max-width: 899px) { .kontakt__spalten { grid-template-columns: 1fr 1fr; } .kontakt__klecks { right: -140px; top: -120px; width: 340px; opacity: 0.6; } }
@media (max-width: 479px) { .kontakt__spalten { grid-template-columns: 1fr; } }

/* ---------- Vorher / Nachher: Regler ---------- */
.vorher-nachher-sektion { padding: var(--pad) 0; }
.vorher-nachher-sektion .kopfzeile .lead { color: var(--muted); max-width: 40ch; }
.vergleiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) 14px; }
.vergleiche--eins { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.vergleich { position: relative; margin: 0; }
.vergleich__buehne {
  --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r); background: var(--flaeche);
  aspect-ratio: var(--format, 3 / 4); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.vergleich__buehne img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vergleich__vorher { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich__linie { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); pointer-events: none; }
.vergleich__linie::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%;
  background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1914' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 0 0 3px #fff, 0 10px 24px -8px rgba(15, 25, 20, 0.5); transition: transform var(--d-ui) var(--ease);
}
.vergleich__buehne.is-ziehen .vergleich__linie::after { transform: scale(0.92); }
.vergleich__marke { position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.875rem; pointer-events: none; }
.vergleich__marke--vorher { left: 14px; background: #fff; color: var(--tinte); }
.vergleich__marke--nachher { right: 14px; background: var(--gruen); color: var(--tinte); }
.vergleich__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.vergleich__regler:focus-visible + .vergleich__linie::after { outline: 3px solid var(--fokus); outline-offset: 5px; }
.vergleich figcaption { margin-top: 14px; display: grid; gap: 2px; }
.vergleich figcaption b { font-size: var(--t-lead); font-weight: 700; color: var(--tinte); line-height: 1.25; }
.vergleich figcaption span { font-size: var(--t-klein); color: var(--muted); }
@media (max-width: 899px) { .vergleiche { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) { .vergleiche:not(.vergleiche--eins) { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

.leistung + .vorher-nachher-sektion, .referenzliste + .vorher-nachher-sektion, .details + .vorher-nachher-sektion { padding-top: 0; }
.vn-start { padding-top: 0; }
.vn-wahl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: center; }
.vn-wahl__buehne { max-width: 520px; width: 100%; justify-self: end; }
.vn-wahl figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vn-wahl .vergleich:not([hidden]) { animation: vn-ein 420ms var(--ease); }
@keyframes vn-ein { from { opacity: 0; } to { opacity: 1; } }
.vn-wahl__seite { display: grid; gap: 18px; justify-items: start; }
.vn-wahl__seite .dachzeile { margin: 0; }
.vn-wahl__seite .lead { color: var(--muted); max-width: 36ch; }
.vn-wahl__liste { display: grid; gap: 6px; width: 100%; max-width: 440px; margin-top: 8px; }
.vn-wahl__knopf {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; border: 0; border-radius: var(--r-klein);
  background: transparent; text-align: left; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: var(--tinte); cursor: pointer;
  transition: background-color var(--d-ui) var(--ease);
}
.vn-wahl__knopf img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; opacity: 0.7; transition: opacity var(--d-ui) var(--ease); }
.vn-wahl__knopf small { display: block; margin-top: 2px; font-weight: 600; font-size: 0.8125rem; color: var(--muted); }
.vn-wahl__knopf[aria-pressed="true"] { background: var(--gruen-hell); }
.vn-wahl__knopf[aria-pressed="true"] img { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .vn-wahl__knopf:hover { background: var(--flaeche); } .vn-wahl__knopf[aria-pressed="true"]:hover { background: var(--gruen-hell); } .vn-wahl__knopf:hover img { opacity: 1; } }
@media (max-width: 899px) {
  .vn-wahl { grid-template-columns: minmax(0, 1fr); }
  .vn-wahl__buehne { justify-self: start; }
  .vn-wahl__seite { order: -1; }
  .vn-wahl__liste { grid-auto-flow: column; grid-auto-columns: 220px; max-width: none; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); width: auto; scrollbar-width: none; }
  .vn-wahl__liste::-webkit-scrollbar { display: none; }
}

/* ---------- Unterseiten: Seitenkopf ---------- */
.seitenkopf { padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); }
.seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; }
.dachzeile { font-size: var(--t-klein); font-weight: 700; letter-spacing: 0.01em; color: var(--muted); margin-bottom: 18px; }
.dachzeile a { color: var(--gruen-text); text-underline-offset: 4px; text-decoration-color: rgba(63, 111, 19, 0.35); }
.seitenkopf__h1 {
  font-size: var(--t-hero); font-weight: 850; font-stretch: var(--breit-titel); line-height: 0.92;
  letter-spacing: -0.03em; word-spacing: 0.1em; color: var(--tinte); text-wrap: balance; hyphens: auto; overflow-wrap: break-word;
}
.seitenkopf__h1--lang { font-size: var(--t-h2); line-height: 0.95; }
/* Suchbegriff als erste Zeile im h1 (Louis 25.11., SEO/KI): sieht genau aus wie die Dachzeile, «Leistungen /» steht links daneben */
.dachzeile--pfad { float: left; margin: 0 0.3em 0 0; }
.seitenkopf__kicker {
  display: block; margin-bottom: 18px; font-size: var(--t-klein); font-weight: 700; font-stretch: 100%; line-height: 1.6;
  letter-spacing: 0.01em; word-spacing: normal; color: var(--muted); text-wrap: wrap; hyphens: manual;
}
.seitenkopf__kicker + .zeile { clear: left; }
.seitenkopf__text .lead { max-width: 46ch; hyphens: auto; }
.seitenkopf__text .hero__aktionen { margin-top: 26px; }
.seitenkopf__bild { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.seitenkopf__bild > img:first-child { width: 100%; height: clamp(300px, 50vw, 640px); object-fit: cover; border-radius: var(--r); }
.seitenkopf__siegel { position: absolute; right: calc(var(--gut) + clamp(14px, 3vw, 44px)); top: clamp(-74px, -5vw, -40px); width: clamp(104px, 12vw, 170px); transform: rotate(8deg); }
@media (max-width: 899px) { .seitenkopf__raster { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .js-enter .seitenkopf .zeile__in { transform: translateY(108%); }
  .is-entering .seitenkopf .zeile__in { transform: none; transition: transform 900ms var(--ease); }
}

/* ---------- Leistung ---------- */
.leistung { padding: var(--pad) 0; }
.seitenkopf + .laufband + .leistung { padding-top: calc(var(--pad) * 0.9); }
.leistung__raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.satz--dunkel { color: var(--tinte); max-width: 22ch; }
.leistung__text { margin-top: 24px; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 52ch; hyphens: auto; }
.klein-titel { font-size: var(--t-body); font-weight: 800; letter-spacing: 0.005em; color: var(--tinte); margin-bottom: 18px; }
.leistung__liste { padding: clamp(24px, 3vw, 36px); background: var(--flaeche); border-radius: var(--r); }
.leistung__liste .haken { grid-template-columns: 1fr; gap: 12px; }
.haken { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 24px; }
/* oben bündig: zweizeilige Punkte stehen auf derselben Höhe wie einzeilige, Haken auf der ersten Zeile (Louis 23.11.) */
.haken li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; color: var(--tinte); }
.haken li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: calc((1lh - 20px) / 2);
  background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1914' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 899px) { .leistung__raster { grid-template-columns: 1fr; } }

/* ---------- Leistungsseiten: «Im Detail» als Kartenstapel, jede Karte mit eigenem Aufbau ---------- */
.details { padding: 0 0 var(--pad); }
.details .h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.stapel { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.detail { --rand-k: clamp(24px, 4.5vw, 64px); position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); }
.detail__medien img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail__nr { display: inline-flex; gap: 6px; font-size: var(--t-klein); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--muted); }
.detail__nr span { font-weight: 850; color: var(--gruen-text); }
.detail__titel { margin: 12px 0 16px; font-size: var(--t-h2); font-weight: 850; font-stretch: var(--breit-titel); line-height: 0.98; letter-spacing: -0.02em; color: var(--tinte); text-wrap: balance; }
.detail__absatz { max-width: 44ch; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); }
.detail--hell { background: var(--flaeche); }
.detail--dunkel, .detail--bild { background: var(--tief); }
.detail--dunkel .detail__titel, .detail--bild .detail__titel { color: #fff; }
.detail--dunkel .detail__absatz { color: rgba(255, 255, 255, 0.78); }
.detail--dunkel .detail__nr, .detail--bild .detail__nr { color: rgba(255, 255, 255, 0.7); }
.detail--dunkel .detail__nr span, .detail--bild .detail__nr span { color: var(--gruen); }
.detail--voll .detail__medien { position: relative; z-index: -1; }
.detail--voll .detail__medien::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--tief) 0%, rgba(22, 38, 29, 0.6) 34%, rgba(22, 38, 29, 0) 62%); }
.detail--voll .detail__nr { position: absolute; top: var(--rand-k); left: var(--rand-k); z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(22, 38, 29, 0.6); }
.detail--voll .detail__titel { font-size: var(--t-hero); margin-top: 0; }
@media (max-width: 639px) { .detail--voll .detail__titel { font-size: min(var(--t-hero), calc((100vw - 88px) / 7.1)); } } /* «Tapezierarbeiten» war auf jedem Handy abgeschnitten */
.detail--voll .detail__absatz { color: rgba(255, 255, 255, 0.88); }
.detail--karte .detail__text { position: relative; z-index: 1; background: #fff; border-radius: var(--r); box-shadow: 0 30px 60px -32px rgba(15, 25, 20, 0.4); }
@media (min-width: 900px) {
  .stapel { gap: clamp(64px, 14vh, 160px); }
  .detail { --h: clamp(520px, calc(100svh - var(--kopf-h) - 84px), 680px); position: sticky; top: calc(var(--kopf-h) + 20px + var(--i) * 14px); height: var(--h); transform-origin: 50% 0; }
  .detail--voll { display: flex; flex-direction: column; justify-content: flex-end; }
  .detail--geteilt, .detail--karte { grid-template-rows: minmax(0, 1fr); }
  .detail__medien { min-height: 0; }
  .detail--voll .detail__medien { position: absolute; inset: 0; }
  .detail--voll .detail__text { padding: var(--rand-k); }
  .detail--voll .detail__absatz { max-width: 52ch; }
  .detail--geteilt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .detail--geteilt .detail__text { align-self: center; padding: var(--rand-k); }
  .detail--karte { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .detail--karte .detail__medien { grid-area: 1 / 1 / 2 / 9; align-self: stretch; }
  .detail--karte .detail__text { grid-area: 1 / 8 / 2 / 13; margin-right: var(--rand-k); padding: clamp(28px, 3.2vw, 48px); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .detail { scale: calc(1 - var(--zu, 0) * 0.05); }
  .detail::after { content: ""; position: absolute; inset: 0; z-index: 5; background: var(--tief); opacity: calc(var(--zu, 0) * 0.45); pointer-events: none; }
}
@media (max-width: 899px) {
  .detail__text { padding: 24px 24px 30px; }
  .detail--voll .detail__medien { aspect-ratio: 4 / 5; }
  .detail--voll .detail__nr { top: 20px; left: 20px; }
  .detail--voll .detail__text { margin-top: -128px; padding-top: 0; }
  .detail--geteilt { display: flex; flex-direction: column; }
  .detail--geteilt .detail__medien { order: 2; aspect-ratio: 4 / 3; overflow: hidden; }
  .detail--karte { padding-bottom: 16px; }
  .detail--karte .detail__medien { aspect-ratio: 4 / 3; }
  .detail--karte .detail__text { margin: -56px 16px 0; padding: 24px 22px 26px; }
}

/* ---------- Weitere Leistungen (Kacheln auf Unterseiten) ---------- */
.angebote { padding: var(--pad) 0; }
.angebote .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.angebote__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.angebote__liste .kachel { display: block; aspect-ratio: 3 / 4; }
@media (max-width: 899px) { .angebote__liste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .angebote__liste { grid-template-columns: 1fr; } .angebote__liste .kachel { aspect-ratio: 4 / 3; } }

/* ---------- Über uns ---------- */
.fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; margin: 0; }
.fakten div { border-top: 2px solid var(--linie); padding-top: 14px; }
.fakten dt { font-size: var(--t-h2); font-weight: 850; font-stretch: 80%; line-height: 1; letter-spacing: -0.02em; color: var(--gruen-text); }
.fakten dd { margin: 10px 0 0; color: var(--muted); font-size: var(--t-klein); line-height: 1.45; }
.band { background: var(--tief); color: #fff; padding: var(--pad) 0; } /* dunkel, damit Grün und Fotos leuchten (Louis 22.11.: «zu eintönig») */
.band__dach { font-size: var(--t-klein); font-weight: 800; margin-bottom: 12px; color: var(--gruen); }
.band__titel { font-size: var(--t-h2); font-weight: 850; font-stretch: var(--breit-titel); line-height: 0.95; letter-spacing: -0.022em; margin-bottom: clamp(32px, 4vw, 56px); }
/* «Warum wir» wie die Service-Liste von Golf Vibe (Louis 22.11.): Zeilen mit feinen Linien, links ein Farbroller als Icon */
.vorzug { border-bottom: 1px solid rgba(15, 25, 20, 0.28); }
.vorzug li {
  display: grid; grid-template-columns: clamp(52px, 8vw, 128px) minmax(0, 1fr); align-items: center;
  padding-block: clamp(18px, 2.4vw, 34px); border-top: 1px solid rgba(15, 25, 20, 0.28);
  transition: opacity var(--d-ui) var(--ease);
}
.vorzug__icon {
  width: clamp(30px, 3.2vw, 46px); aspect-ratio: 1; background: currentColor;
  -webkit-mask: url("bilder/roller-icon.svg") center / contain no-repeat; mask: url("bilder/roller-icon.svg") center / contain no-repeat;
  transition: transform 320ms var(--ease);
}
.vorzug__titel { font-size: clamp(1.875rem, 4.6vw, 4rem); font-weight: 850; font-stretch: var(--breit-titel); line-height: 1; letter-spacing: -0.022em; }
@media (hover: hover) and (pointer: fine) {
  .vorzug:hover li:not(:hover) { opacity: 0.42; }
  .vorzug li:hover .vorzug__icon { transform: translateX(8px) rotate(-10deg); }
}
.band .fakten { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); }
.band .fakten div { border-top-color: rgba(255, 255, 255, 0.16); }
.band .fakten dt { color: var(--gruen); }
.band .fakten dd { color: rgba(255, 255, 255, 0.74); }
/* Über uns: Zeilen mit Icon, Titel, Pascals Satz und Foto */
.band .vorzug { border-bottom-color: rgba(255, 255, 255, 0.16); }
.band .vorzug li {
  grid-template-columns: clamp(52px, 7vw, 112px) minmax(0, 1.25fr) minmax(0, 0.75fr) clamp(130px, 14vw, 210px);
  gap: 0 clamp(16px, 2.4vw, 40px); padding-block: clamp(16px, 1.8vw, 26px); border-top-color: rgba(255, 255, 255, 0.16);
}
.band .vorzug__icon { color: var(--gruen); }
.band .vorzug__titel { font-size: clamp(1.625rem, 3.4vw, 3.25rem); }
.vorzug__satz { color: rgba(255, 255, 255, 0.74); font-size: var(--t-body); line-height: 1.45; }
.vorzug__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-klein); transition: transform var(--d-bild) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .band .vorzug li:hover .vorzug__bild { transform: scale(1.04) rotate(-1.5deg); }
}
@media (max-width: 899px) {
  .band .vorzug li { grid-template-columns: 40px minmax(0, 1fr) 84px; grid-template-areas: "icon titel bild" "icon satz bild"; gap: 4px 14px; align-items: start; }
  .band .vorzug__icon { grid-area: icon; width: 28px; margin-top: 4px; }
  .band .vorzug__titel { grid-area: titel; font-size: clamp(1.375rem, 6vw, 1.75rem); }
  .vorzug__satz { grid-area: satz; font-size: var(--t-klein); }
  .vorzug__bild { grid-area: bild; align-self: center; }
}
.person { padding: var(--pad) 0; }
.seitenkopf + .person { padding-top: clamp(44px, 4vw, 56px); } /* Über uns: näher an den Seitenkopf (Louis 22.11.) */
.person__raster { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.person__bilder { position: relative; padding-bottom: 16%; }
.person__a { width: 74%; aspect-ratio: 408 / 380; object-fit: cover; border-radius: var(--r); }
.person__b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; object-fit: cover; border: 7px solid #fff; border-radius: calc(var(--r) + 7px); }
.person__siegel { position: absolute; left: 58%; top: -42px; width: clamp(104px, 10vw, 150px); transform: rotate(8deg); }
/* Pascal liegt über dem zweiten Bild (Louis 24.11.), weisser Rand trennt die beiden; Siegel bleibt ganz oben */
.person__a { position: relative; z-index: 1; box-shadow: 0 0 0 7px #fff; }
.person__siegel { z-index: 2; }
.person__text { display: grid; gap: 18px; justify-items: start; }
.person__text .dachzeile { margin: 0; }
.person__text p { color: var(--muted); hyphens: auto; max-width: 62ch; }
.person__text .person__hinweis { color: var(--tinte); font-weight: 600; }
.person__text .haken { width: 100%; row-gap: 0; }
.haken a { color: var(--gruen-text); text-underline-offset: 4px; text-decoration-color: rgba(63, 111, 19, 0.35); }
.person__text .haken li { min-height: 44px; }
.person__text .haken a { display: inline-block; padding-block: 10px; }
.person__text .haken li::before { margin-top: calc(10px + (1lh - 20px) / 2); }
.person__text .hero__aktionen { margin-top: 8px; }
.band + .team { padding-top: var(--pad); }
.team + .ablauf { padding-top: 0; }
@media (max-width: 899px) {
  .person__raster { grid-template-columns: 1fr; }
  .band .fakten { grid-template-columns: 1fr 1fr; }
  .person__bilder { max-width: 520px; }
}

/* ---------- Referenzen-Seite ---------- */
.referenzliste { padding: 0 0 var(--pad); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.filter button {
  min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--flaeche); color: var(--tinte);
  font-weight: 700; font-size: 0.9375rem; cursor: pointer; transition: background-color var(--d-ui) var(--ease), color var(--d-ui) var(--ease);
}
.filter button[aria-pressed="true"] { background: var(--gruen); color: var(--tinte); }
.raster { columns: 3 280px; column-gap: 14px; }
.raster li { position: relative; break-inside: avoid; margin-bottom: 14px; }
.raster li[hidden] { display: none; }
.raster__bild { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--flaeche); cursor: zoom-in; }
.raster__bild img { width: 100%; height: auto; transition: transform var(--d-bild) var(--ease); }
.raster__kat { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--tinte); font-weight: 700; font-size: 0.8125rem; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .raster__bild:hover img { transform: scale(1.03); }
  .filter button:hover { background: var(--gruen-hell); }
  .filter button[aria-pressed="true"]:hover { background: var(--gruen-hover); }
}
.leuchtkasten { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 18, 14, 0.95); color: #fff; }
.leuchtkasten[open] { display: grid; place-items: center; }
.leuchtkasten::backdrop { background: transparent; }
.leuchtkasten img { max-width: min(90vw, 1600px); max-height: 84dvh; width: auto; height: auto; border-radius: var(--r-klein); }
.leuchtkasten button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; }
.leuchtkasten button::before { content: ""; width: 22px; height: 22px; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.leuchtkasten__zu { top: 16px; right: 16px; background: var(--gruen) !important; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.leuchtkasten__zu::before { background: var(--tinte) !important; }
.leuchtkasten__pfeil { top: 50%; translate: 0 -50%; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.leuchtkasten__pfeil--zurueck { left: 16px; }
.leuchtkasten__pfeil--zurueck::before { transform: scaleX(-1); }
.leuchtkasten__pfeil--vor { right: 16px; }

/* ---------- Kontaktseite ---------- */
.kontaktseite { padding: 0 0 var(--pad); }
.kontaktseite__raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.formular { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 44px); background: var(--flaeche); border-radius: var(--r); scroll-margin-top: 100px; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formular label { display: grid; gap: 8px; font-weight: 700; font-size: 0.9375rem; color: var(--tinte); }
.formular input, .formular select, .formular textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--tinte);
  background: #fff; border: 1.5px solid var(--linie); border-radius: var(--r-klein); transition: border-color var(--d-ui) var(--ease);
}
.formular textarea { min-height: 150px; resize: vertical; }
.formular :is(input, select, textarea):focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; border-color: var(--gruen-text); }
.formular .btn { justify-self: start; margin-top: 6px; }
.formular__hinweis { font-size: 1rem; color: var(--muted); }
/* Fallenfeld gegen Bots: für Menschen unsichtbar, nicht per Tab erreichbar */
.formular__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular { position: relative; }
.formular .btn:disabled { opacity: 0.7; cursor: progress; }
.formular__fehler { padding: 14px 18px; border-radius: var(--r-klein); background: #fff; border-left: 4px solid #b3261e; color: var(--tinte); line-height: 1.6; }
.formular__fehler a { color: var(--gruen-text); text-underline-offset: 4px; }
.formular__danke:not([hidden]) { display: grid; gap: 8px; }
.formular__danke { outline: none; }
.formular__danke-titel { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--tinte); }
.formular__danke p:not(.formular__danke-titel) { color: var(--muted); font-size: 1.0625rem; }
.formular--gesendet > :not(.formular__danke) { display: none; }
.formular__fehler:focus { outline: none; }
.kontaktseite__adressen { display: grid; gap: 28px; }
.kontaktseite__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.kontaktseite__spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kontaktseite__spalten h3 { font-size: var(--t-body); font-weight: 800; color: var(--tinte); margin-bottom: 6px; }
.kontaktseite__spalten p { color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.kontaktseite__gebiet { grid-column: 1 / -1; } /* Einsatzgebiet über beide Spalten (Louis 25.11.2026) */
.kontaktseite__gebiet p { overflow-wrap: normal; }
.ganz { white-space: nowrap; }
.kontaktseite__spalten a { color: var(--gruen-text); text-underline-offset: 4px; display: inline-block; padding-block: 8px; }
@media (max-width: 899px) { .kontaktseite__raster { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .formular__reihe, .kontaktseite__spalten { grid-template-columns: 1fr; } }

/* ---------- Rechtstext, 404 ---------- */
.rechtstext { padding: clamp(40px, 6vw, 88px) 0 var(--pad); }
.rechtstext__spalte > * { max-width: 68ch; }
.rechtstext .seitenkopf__h1 { margin-bottom: 28px; }
.rechtstext h2 { font-size: var(--t-h3); font-weight: 850; font-stretch: 86%; line-height: 1.1; color: var(--tinte); margin: 40px 0 10px; }
.rechtstext p { color: var(--muted); hyphens: auto; }
.rechtstext p + p { margin-top: 24px; }
.rechtstext a { color: var(--gruen-text); }
/* Datenschutzerklärung: Zwischentitel, Aufzählungen (auch verschachtelt), Versionszeile */
.rechtstext h3 { font-size: var(--t-body); font-weight: 750; color: var(--tinte); margin: 24px 0 6px; }
.rechtstext ul { color: var(--muted); margin: 16px 0 0; padding-left: 1.25em; list-style: disc; hyphens: auto; }
.rechtstext ul ul { margin-top: 8px; list-style: circle; }
.rechtstext li + li { margin-top: 8px; }
.rechtstext ul + p { margin-top: 24px; }
.rechtstext li::marker { color: var(--gruen-text); }
.rechtstext p.rechtstext__stand { margin-top: 40px; font-size: var(--t-klein); }
.rechtstext .btn { color: var(--tinte); }

/* ---------- Kopf: aktive Seite, Menü mit Leistungen ---------- */
.kopf__nav a[aria-current="page"] { background-size: 100% 3px; }
.menue a[aria-current="page"] { color: var(--gruen-text); }
.menue__gruppe { padding-top: 10px; font-size: var(--t-klein); font-weight: 700; color: var(--muted); }
.menue__leistungen { display: grid; padding-bottom: 6px; border-bottom: 1px solid var(--flaeche); }
.menue .menue__leistungen a { padding: 9px 0 9px 14px; font-size: var(--t-lead); font-weight: 700; font-stretch: 100%; border-bottom: 0; }

/* ---------- Kopf: «Leistungen» klappt alle Angebote auf (nur Desktop) ---------- */
.nav-gruppe { position: relative; display: flex; }
.nav-gruppe__link { display: inline-flex; align-items: center; gap: 6px; }
.nav-gruppe__link::after {
  content: ""; width: 10px; height: 10px; background: currentColor; transition: transform var(--d-ui) var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mega {
  position: absolute; top: 100%; left: -28px; z-index: 41; width: min(640px, calc(100vw - 2 * var(--gut))); padding-top: 18px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--d-ui) var(--ease) 120ms, transform var(--d-ui) var(--ease) 120ms, visibility 0s linear 300ms;
}
.nav-gruppe:hover .mega, .nav-gruppe:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--d-ui) var(--ease), transform var(--d-ui) var(--ease), visibility 0s;
}
.nav-gruppe:hover .nav-gruppe__link::after, .nav-gruppe:focus-within .nav-gruppe__link::after { transform: rotate(180deg); }
.mega__innen { padding: 12px; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--linie), 0 32px 64px -30px rgba(15, 25, 20, 0.45); }
.mega__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.kopf__nav .mega a { display: grid; align-content: start; gap: 3px; height: 100%; padding: 14px 16px; border-radius: var(--r-klein); background: none; text-decoration: none; }
.mega__titel { font-size: 1.0625rem; font-weight: 800; line-height: 1.2; color: var(--tinte); transition: color var(--d-ui) var(--ease); }
.mega__kurz { font-size: 0.875rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.kopf__nav .mega a[aria-current="page"] .mega__titel { color: var(--gruen-text); }
.kopf__nav .mega a:focus-visible { background: var(--flaeche); outline-offset: -3px; }
.mega__fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 12px 16px 4px; border-top: 1px solid var(--flaeche); font-size: 0.875rem; color: var(--muted); }
.kopf__nav .mega__fuss a { display: inline-flex; padding: 8px 0; font-weight: 700; color: var(--gruen-text); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .kopf__nav .mega a:hover { background: var(--gruen-hell); color: inherit; }
  .kopf__nav .mega a:hover .mega__titel { color: var(--gruen-text); }
  .kopf__nav .mega__fuss a:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- Fuss ---------- */
.fuss { background: var(--tinte); color: rgba(255, 255, 255, 0.78); font-size: 0.875rem; line-height: 1.5; padding-top: clamp(40px, 4.5vw, 64px); /* kompakter (Louis 22.11.) */ border-top: 1px solid rgba(255, 255, 255, 0.08); }
.fuss__raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: clamp(28px, 3.5vw, 44px); }
/* Adresse nur noch im Kontakt-Block darüber (Louis 23.11.: «doppeln sich»); Marke über 2 Spalten, Links im selben Raster wie E-Mail/Öffnungszeiten */
.fuss__marke { grid-column: span 2; }
.fuss__marke img { height: 40px; width: auto; margin-bottom: 14px; }
.fuss__marke p { max-width: 34ch; }
.fuss__titel { font-size: 0.9375rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.fuss a { display: inline-block; padding-block: 3px; color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.fuss p a { padding-block: 2px; }
.fuss__zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.fuss .fuss__zeile a { padding-block: 12px; }
.fuss__credit { white-space: nowrap; }
/* «louisdessaux.ch» mit grünem Pinselstrich wie «Farbe» im Titel (Louis 24.11.2026: «mein name unten im footer bitte so mit farbe als hintergrund») */
.pinsel-name { position: relative; isolation: isolate; display: inline-block; margin-left: 0.2em; padding-inline: 0.4em; color: var(--tinte); font-weight: 700; }
.pinsel-name::before { content: ""; position: absolute; z-index: -1; inset: 0.02em -0.05em -0.08em -0.05em;
  background: url("bilder/pinselstrich.svg") center / 100% 100% no-repeat; }
/* Farbtropfen laufen unter dem Strich hervor (z-index -2 = hinter dem Strich, dessen Rand den Ansatz verdeckt) */
.pinsel-name::after { content: ""; position: absolute; z-index: -2; left: 0; right: 0; top: calc(100% - 0.3em); height: 1em;
  background: url("bilder/tropfen.svg?v=1") center / 100% 100% no-repeat; pointer-events: none; }
a:hover .pinsel-name { color: var(--tinte); }
/* Platz für den WhatsApp-Knopf unten rechts: «louisdessaux.ch» bleibt am Seitenende sichtbar */
.fuss__zeile { padding-right: calc(58px + clamp(14px, 2vw, 28px) + 16px); }
@media (max-width: 639px) { .fuss__zeile { flex-direction: column; align-items: flex-start; gap: 0; padding-right: calc(54px + 14px + 12px); } }
@media (max-width: 639px) { .fuss__trenner { display: none; } .fuss__credit { display: block; } } /* kein Punkt am Zeilenende */
@media (hover: hover) and (pointer: fine) { .fuss a:hover { color: var(--gruen); text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 899px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 359px) { .fuss__raster { grid-template-columns: 1fr; } } /* Leistungen | Firma bis 360 px nebeneinander: Fuss kürzer */
@media (max-width: 639px) {
  .fuss ul a { padding-block: 12px; }
  .fuss p a { padding-block: 10px; margin-block: -8px; }
  a.stimme__name { padding-block: 9px; margin-block: -9px; }
  .stimmen__quelle a { display: inline-block; padding-block: 14px; margin-block: -14px; }
}

/* ---------- Leiste (iPhone) ---------- */
.leiste { display: none; }
@media (max-width: 639px) {
  .leiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 30px -18px rgba(15, 25, 20, 0.5); transform: translateY(110%);
    transition: transform 320ms var(--ease);
  }
  .leiste.is-shown { transform: none; }
  .leiste .btn { min-height: 50px; padding-inline: 12px; }
  .fuss { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); } /* Leiste verschwindet am Fuss, kein Platz nötig (Louis 25.11.) */
}

/* ---------- WhatsApp an Pascal (rechts, auf jeder Seite) ---------- */
.whatsapp {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 44;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 14px 30px -12px rgba(15, 25, 20, 0.55);
  transition: transform var(--d-ui) var(--ease), translate 320ms var(--ease);
}
.whatsapp img { width: 32px; height: 32px; }
.whatsapp__text {
  position: absolute; right: calc(100% + 10px); top: 50%; translate: 8px -50%; opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--tinte); font-weight: 700; font-size: 0.9375rem; white-space: nowrap;
  box-shadow: 0 12px 28px -14px rgba(15, 25, 20, 0.5); transition: opacity var(--d-ui) var(--ease), translate var(--d-ui) var(--ease);
}
.whatsapp:active { transform: scale(0.95); }
.whatsapp:focus-visible .whatsapp__text { opacity: 1; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) {
  .whatsapp:hover { transform: translateY(-2px); }
  .whatsapp:hover .whatsapp__text { opacity: 1; translate: 0 -50%; }
}
@media (max-width: 639px) {
  .whatsapp { width: 54px; height: 54px; }
  .leiste.is-shown ~ .whatsapp { translate: 0 calc(-70px - env(safe-area-inset-bottom)); }
}

/* ---------- Häufige Fragen: links Titel + Hilfe-Karte (bleibt stehen), rechts aufklappbare Fragen ---------- */
.fragen { background: var(--grund); padding: var(--pad) 0; } /* weiss (Louis 23.11.); Hilfe-Karte und Plus-Knöpfe dafür hellgrau */
.vorher-nachher-sektion + .fragen, .fragen + .angebote { padding-top: 0; } /* weiss auf weiss: nicht doppelt Luft */
.fragen__raster { display: grid; gap: clamp(36px, 5vw, 64px); }
.fragen .h2 { font-size: var(--t-satz); line-height: 1; max-width: 14ch; }
.fragen__hilfe {
  margin-top: clamp(28px, 3.5vw, 44px); max-width: 440px; padding: 20px; border-radius: var(--r); background: var(--flaeche);
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center;
}
.fragen__bild { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.fragen__hilfe p { font-size: var(--t-klein); line-height: 1.45; color: var(--text); }
.fragen__hilfe strong { display: block; font-size: var(--t-body); color: var(--tinte); }
.fragen__knoepfe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.fragen__liste { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage__kopf {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.frage__kopf::-webkit-details-marker { display: none; }
.frage__titel { font-size: var(--t-lead); font-weight: 800; line-height: 1.3; color: var(--tinte); }
.frage__zeichen {
  flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--flaeche);
  transition: background-color var(--d-ui) var(--ease), transform 320ms var(--ease);
}
.frage__zeichen::before, .frage__zeichen::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  border-radius: 2px; background: var(--tinte); transition: background-color var(--d-ui) var(--ease);
}
.frage__zeichen::after { transform: rotate(90deg); }
.frage[open] .frage__zeichen { transform: rotate(45deg); background: var(--gruen); }
.frage__antwort { max-width: 62ch; padding: 0 clamp(0px, 5vw, 68px) clamp(22px, 2.6vw, 30px) 0; }
.frage__antwort p { font-size: var(--t-body); line-height: 1.6; color: var(--text); }
.frage__antwort a { color: var(--gruen-text); text-underline-offset: 3px; text-decoration-color: rgba(63, 111, 19, 0.4); padding-block: 13px; }
@media (hover: hover) and (pointer: fine) {
  .frage__kopf:hover .frage__zeichen { background: var(--gruen-hell); }
  .frage[open] .frage__kopf:hover .frage__zeichen { background: var(--gruen-hover); }
}
@media (min-width: 900px) {
  .fragen__raster {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); row-gap: clamp(28px, 3.5vw, 44px);
    align-items: start;
  }
  /* Louis 25.11.2026: Fragen beginnen auf derselben Linie wie die Hilfe-Karte links (Titel in Reihe 1, Karte + Fragen in Reihe 2) */
  .fragen__kopf { display: contents; }
  .fragen__ueber { grid-column: 1; grid-row: 1; }
  .fragen__hilfe { grid-column: 1; grid-row: 2; margin-top: 0; position: sticky; top: calc(var(--kopf-h) + 32px); }
  .fragen__liste { grid-column: 2; grid-row: 2; }
}
@supports (interpolate-size: allow-keywords) {
  .fragen { interpolate-size: allow-keywords; }
  .frage::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete; }
  .frage[open]::details-content { block-size: auto; }
}

/* ---------- Kundenfeedback: Google-Bewertungen (Startseite; Zahlen aus bauen.mjs, Texte aus bewertungen.json) ---------- */
.sterne {
  --wert: 5; --gr: 20px; display: inline-block; flex: none; width: calc(var(--gr) * 5); height: var(--gr);
  background: linear-gradient(90deg, var(--gruen) calc(var(--wert) / 5 * 100%), var(--linie) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.5L12 17.5l-5.8 3.05 1.1-6.5-4.7-4.6 6.5-.95z'/%3E%3C/svg%3E") 0 0 / var(--gr) var(--gr) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.5L12 17.5l-5.8 3.05 1.1-6.5-4.7-4.6 6.5-.95z'/%3E%3C/svg%3E") 0 0 / var(--gr) var(--gr) repeat-x;
}
.sterne--gross { --gr: 32px; }
.bewertungen { background: var(--flaeche); padding: clamp(48px, 5.5vw, 80px) 0; } /* oben enger (Louis 22.11.) */
/* Abgerundete Fläche statt Band über die ganze Breite, wie die übrigen grauen Flächen (Louis 24.11.: «ecken … abrunden») */
.bewertungen { width: calc(100% - 2 * clamp(8px, 1.5vw, 24px)); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; border-radius: var(--r); }
.bewertungen__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bewertungen__text .lead { margin-top: 18px; max-width: 36ch; }
.bewertungen .hero__aktionen { margin-top: 28px; }
.bewertungskarte { padding: clamp(28px, 3.5vw, 48px); background: #fff; border-radius: var(--r); box-shadow: 0 30px 60px -36px rgba(22, 38, 29, 0.35); }
.bewertungskarte__note { display: flex; align-items: baseline; gap: 14px; font-size: var(--t-hero); font-weight: 850; font-stretch: var(--breit-titel); line-height: 0.9; letter-spacing: -0.02em; color: var(--tinte); }
.bewertungskarte__von { font-size: var(--t-lead); font-weight: 700; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.bewertungskarte .sterne--gross { margin-top: 16px; }
.bewertungskarte__anzahl { margin-top: 10px; font-size: var(--t-klein); color: var(--muted); }
.verteilung { display: grid; gap: 10px; margin: 24px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--linie); }
.verteilung li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 2ch; align-items: center; gap: 12px; font-size: var(--t-klein); font-variant-numeric: tabular-nums; color: var(--muted); }
.verteilung__balken { height: 8px; overflow: hidden; border-radius: 99px; background: var(--flaeche); }
.verteilung__balken span { display: block; width: var(--anteil); height: 100%; border-radius: inherit; background: var(--gruen); }
.verteilung__zahl { text-align: right; font-weight: 700; color: var(--tinte); }
.stimmen-wrap { margin-top: clamp(40px, 5vw, 64px); }
.stimmen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.stimme { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: var(--r); }
.stimme__text { margin: 0; font-size: var(--t-lead); line-height: 1.45; color: var(--text); }
.stimme__text p::before { content: "«"; }
.stimme__text p::after { content: "»"; }
.stimme__kopf { display: flex; align-items: center; gap: 14px; }
.stimme__foto { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--gruen-hell); }
.stimme__foto--zeichen { display: grid; place-items: center; font-weight: 800; font-size: 1.0625rem; color: var(--gruen-text); text-transform: uppercase; }
.stimme__name { display: block; font-weight: 800; color: var(--tinte); text-decoration: none; }
a.stimme__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.stimme__wann { display: block; font-size: var(--t-klein); color: var(--muted); }
.stimme__leistung { margin: auto 0 0; padding-top: 4px; font-size: var(--t-klein); color: var(--muted); }
.stimme__leistung::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; background: var(--gruen); -webkit-mask: url(bilder/roller-icon.svg) center / contain no-repeat; mask: url(bilder/roller-icon.svg) center / contain no-repeat; }
.stimmen-kurz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.stimme-kurz { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: #fff; border-radius: var(--r); }
.stimme-kurz .sterne { --gr: 16px; display: block; margin-block: 5px 3px; }
.stimme__mehr { align-self: flex-start; margin-top: auto; padding-block: 8px; font-size: var(--t-klein); font-weight: 700; color: var(--gruen-text); text-underline-offset: 4px; }
.stimmen__quelle { margin-top: 12px; font-size: var(--t-klein); color: var(--muted); }
.stimmen__quelle a { color: var(--gruen-text); text-underline-offset: 4px; }
@media (max-width: 899px) {
  .bewertungen__raster { grid-template-columns: minmax(0, 1fr); }
  .stimmen, .stimmen-kurz { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mauszeiger: kleiner Farbroller (nur mit Maus) ---------- */
@media (hover: hover) and (pointer: fine) {
  /* Überall der Roller, nie der normale Zeiger: mit !important, damit keine Einzelregel (cursor: pointer) gewinnt (Louis 23.11.) */
  html { cursor: url("bilder/rolle.svg") 3 4, auto; }
  :is(a, button, select, label, summary, [role="button"], [role="tab"], [tabindex]:not([tabindex="-1"]), .btn, .karte, .rolle,
      input[type="range"], input[type="checkbox"], input[type="radio"], input[type="submit"], input[type="button"]),
  :is(a, button, label, summary, [role="button"], .btn, .karte) * { cursor: url("bilder/rolle-klick.svg") 3 4, pointer !important; }
  .vergleich__buehne, .vergleich__buehne * { cursor: url("bilder/rolle-klick.svg") 3 4, ew-resize !important; }
  :is(input:not([type="range"], [type="checkbox"], [type="radio"], [type="submit"], [type="button"]), textarea, [contenteditable]) { cursor: text !important; }
}

/* ---------- Malerroller-Auftritt (erster Besuch in der Sitzung, main.js) ----------
   Die «alte Wand» deckt die Seite sofort zu (Kopf-Schnipsel setzt .rolle-an); ein Roller in Logo-Grün rollt von oben nach
   unten über die ganze Breite, hinter ihm erscheint die Seite. Klick oder Taste überspringt. */
html.rolle-an::before {
  content: ""; position: fixed; inset: 0; z-index: 100;
  background: url("bilder/logo.webp") center / min(62vw, 440px) auto no-repeat, var(--wand);
}
html.rolle-an body { overflow: hidden; }
.rolle { position: fixed; inset: 0; z-index: 101; overflow: hidden; cursor: pointer; }
/* Wand und Flor bewegen sich nur über Verschiebungen (main.js), nichts wird pro Bild neu gezeichnet → ruckelt nicht */
.rolle__wand { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.rolle__wand-bild {
  position: absolute; inset: 0; will-change: transform;
  background: url("bilder/logo.webp") center / min(62vw, 440px) auto no-repeat, var(--wand);
}
/* Walze oben, Griff unten wie beim Streichen von oben nach unten (Louis 24.11.); kommt ganz von oberhalb des Bildes herein */
.rolle__walze { --zh: clamp(70px, 11vh, 116px); position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; will-change: transform; pointer-events: none; }
.rolle__griff { position: relative; width: clamp(30px, 3vw, 40px); height: 24vh; margin: 0 auto; border-radius: 14px 14px 18px 18px; background: linear-gradient(to right, #d3d8d4, #ffffff 40%, #f4f6f4 62%, #c9cfca); box-shadow: 0 12px 24px -10px rgba(15, 25, 20, 0.4), inset 0 0 0 1px rgba(15, 25, 20, 0.08); } /* weisser Griff (Louis 22.11.) */
.rolle__griff::after { content: ""; position: absolute; left: 27%; right: 27%; top: -2px; height: 18px; border-radius: 0 0 4px 4px; background: #8a958f; }
.rolle__buegel { position: relative; display: block; width: 100%; height: 15vh; margin-top: calc(var(--zh) / -2); overflow: visible; }
.rolle__zylinder {
  position: relative; z-index: 1; height: var(--zh); margin-inline: 2.5vw; border-radius: calc(var(--zh) / 2.4);
  background: var(--gruen);
  box-shadow: 0 22px 40px -14px rgba(15, 25, 20, 0.45), inset 0 -3px 0 rgba(15, 40, 10, 0.18);
}
.rolle__zylinder::before, .rolle__zylinder::after { content: ""; position: absolute; z-index: 1; top: 14%; bottom: 14%; width: 14px; border-radius: 7px; background: #3a4640; }
/* Flor (Rillen) rollt mit; Glanz und Schatten darüber bleiben stehen */
.rolle__flor { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.rolle__flor i {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 16px); will-change: transform;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0 2px, rgba(40, 70, 10, 0.1) 2px 5px, rgba(255, 255, 255, 0) 5px 8px);
}
.rolle__flor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 22%, rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, 0) 62%, rgba(15, 40, 10, 0.32) 100%); }
.rolle__zylinder::before { left: -10px; }
.rolle__zylinder::after { right: -10px; }
/* Farbspur: Leinwand, main.js zeichnet sie mit WebGL (deckend, löst sich unregelmässig auf) */
.rolle__farbe { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rolle.is-frei { pointer-events: none; cursor: auto; }
.rolle.is-weg { opacity: 0; transition: opacity 320ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .laufband__spur { transform: none !important; }
  .siegel { rotate: none; }
  html.rolle-an::before, .rolle { display: none; }
  .frage__zeichen, .frage::details-content { transition: none; }
}

/* Sehr kleine Handys (unter 360 px): lange Wörter in Titeln trennen (de-CH), statt über den Rand zu laufen */
@media (max-width: 359px) { h1, h2, h3 { hyphens: auto; } }
