/* =========================================================================
   Perkovic Bau – Designsystem „Kalkweiß & Pinselblau“
   Idee: Wie eine frisch gemachte Wand. Helle Kalkflächen, Tinte aus dem Logo,
   das Pinselblau als Rollerstrich und Kreppband. Klare Kanten statt runder Formen.
   Alle Farben, Schriften und Abstände stehen hier oben als Variablen.
   Grundsätze: Bewegung nur über opacity/transform, keine Weichzeichner,
   nichts wird beim Scrollen gemessen, „Bewegung reduzieren“ wird beachtet.
   ========================================================================= */

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

:root {
  /* Farben */
  --blau: #53bfdc;          /* Pinselblau (aus dem Logo gemessen): Flächen, Knöpfe, Akzente auf Dunkel */
  --blau-tief: #0d6e88;     /* Blau für Text und Links auf Hell, Kontrast 5,8:1 zu Weiß */
  --blau-hell: #bfe8f3;
  --blau-nebel: #e8f6fa;
  --tinte: #15171a;         /* Schwarz aus dem Logo */
  --tinte-2: #23272c;
  --tinte-3: #3a4048;
  --kalk: #f5f3ee;          /* Seitenhintergrund: warmes Wandweiß */
  --kalk-2: #ebe7df;
  --weiss: #ffffff;
  --linie: #ddd8ce;
  --linie-dunkel: rgba(255, 255, 255, .13);
  --text: #15171a;
  --text-2: #50555d;
  --text-hell: #eceff1;
  --text-hell-2: #b0b7bf;
  --gruen: #2f7d4f;

  /* Schrift: Archivo, Überschriften schmal und kräftig wie der Schriftzug im Logo */
  --schrift: "Archivo", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;
  --schmal: 72%;

  /* Maße */
  --breite: 1240px;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --abstand: clamp(4.25rem, 9vw, 8rem);
  --rund: 6px;
  --rund-gross: 10px;
  --kopf-h: 64px;
  --schatten: 0 1px 2px rgba(21, 23, 26, .06), 0 10px 28px -12px rgba(21, 23, 26, .22);
  --schatten-gross: 0 28px 70px -30px rgba(21, 23, 26, .5);
  --weich: cubic-bezier(.22, .8, .24, 1);

  /* Rollerstrich: Fläche mit ausgefransten Enden (als Maske) */
  --strich: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M7 6 L120 3 L260 6 L397 2 L393 17 L400 31 L394 47 L399 63 L393 79 L398 97 L270 94 L130 98 L3 95 L9 81 L2 65 L8 49 L1 33 L7 19 Z'/%3E%3C/svg%3E");
  /* Kreppband: schmaler Streifen mit gerissenen Enden */
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 0 L196 0 L199 6 L195 12 L200 19 L194 27 L199 34 L196 40 L4 40 L0 33 L5 26 L1 19 L6 12 L1 6 Z'/%3E%3C/svg%3E");
  /* Feine Rollerspuren für blaue Flächen */
  --spuren: repeating-linear-gradient(0deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 7px, rgba(0, 0, 0, .04) 7px 8px, transparent 8px 13px);
}
@media (min-width: 1180px) { :root { --kopf-h: 78px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
  background: var(--kalk); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.01em; font-weight: 800; text-wrap: balance; }
h1, h2 { font-stretch: var(--schmal); }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.012em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--blau); color: var(--tinte); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--tinte); color: #fff; padding: .7rem 1rem; border-radius: var(--rund); }
.sprung:focus { top: 1rem; }
.huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.huelle--schmal { max-width: calc(820px + 2 * var(--rand)); }
.nowrap { white-space: nowrap; }

/* Überzeile als Stück Kreppband */
.marke {
  position: relative; isolation: isolate; display: inline-block; margin: 0 0 1.2rem; padding: .32rem .95rem .3rem;
  font-size: .78rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; line-height: 1.3; color: var(--tinte);
}
.marke::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blau); background-image: var(--spuren);
  -webkit-mask: var(--band) center / 100% 100% no-repeat; mask: var(--band) center / 100% 100% no-repeat;
  transform: rotate(-1.2deg);
}
@media (max-width: 430px) { .marke { letter-spacing: .09em; font-size: .72rem; padding-inline: .8rem; } }
.marke--ruhig::before { background-color: var(--blau-hell); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.26rem); line-height: 1.6; color: var(--text-2); max-width: 46rem; }
.dunkel .lead { color: var(--text-hell-2); }
.blau-text { color: var(--blau-tief); }
.dunkel .blau-text { color: var(--blau); }

/* ---------- Knöpfe: Farbe wird von links aufgerollt ---------- */
.knopf {
  --k-grund: var(--blau); --k-text: var(--tinte); --k-fuell: var(--tinte); --k-text-h: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.45rem; border: 0; border-radius: var(--rund);
  background: var(--k-grund); color: var(--k-text); font-weight: 750; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: color .35s var(--weich), box-shadow .35s var(--weich);
  box-shadow: 0 10px 24px -14px rgba(13, 110, 136, .9);
}
.knopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--k-fuell);
  transform: translateX(-101%); transition: transform .45s var(--weich);
}
.knopf:hover::before, .knopf:focus-visible::before { transform: none; }
.knopf:hover, .knopf:focus-visible { color: var(--k-text-h); }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--weich); }
.knopf:hover svg.pfeil { transform: translateX(4px); }
.knopf--tinte { --k-grund: var(--tinte); --k-text: #fff; --k-fuell: var(--blau); --k-text-h: var(--tinte); box-shadow: 0 10px 24px -14px rgba(21, 23, 26, .8); }
.knopf--hell { --k-grund: #fff; --k-text: var(--tinte); --k-fuell: var(--blau); --k-text-h: var(--tinte); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .35); }
.knopf--rand { --k-grund: transparent; --k-text: currentColor; --k-fuell: var(--tinte); --k-text-h: #fff; box-shadow: inset 0 0 0 2px currentColor; }
.dunkel .knopf--rand, .knopf--rand-hell { --k-text: #fff; --k-fuell: #fff; --k-text-h: var(--tinte); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.knopf--klein { min-height: 44px; padding: .6rem 1.05rem; font-size: .94rem; }
.knopf--breit { width: 100%; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; color: var(--blau-tief); text-decoration: none; }
.textlink svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--weich); }
.textlink:hover svg { transform: translateX(4px); }
.dunkel .textlink { color: var(--blau); }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky; top: 0; z-index: 90; height: var(--kopf-h);
  background: #fff; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.kopf.unterwegs { border-color: var(--linie); box-shadow: 0 6px 24px -18px rgba(21, 23, 26, .5); }
.kopf::after { /* Lesefortschritt als blauer Strich */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blau);
  transform-origin: left; transform: scaleX(var(--lauf, 0));
}
.kopf__innen { display: flex; align-items: center; gap: 1rem; height: 100%; }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { height: 40px; width: auto; }
@media (min-width: 1180px) { .logo img { height: 48px; } }
@media (max-width: 380px) { .logo img { height: 34px; } .kopf__innen { gap: .5rem; } .kopf__aktion { gap: .4rem; } }

.menue { display: none; }
.kopf__aktion { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.kopf__tel {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rund);
  color: var(--tinte); background: var(--kalk); text-decoration: none;
}
.kopf__tel svg { width: 20px; height: 20px; }
.kopf__tel-text { display: none; }
.kopf__cta { display: none; white-space: nowrap; }
.kopf__burger {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--rund);
  background: var(--tinte); color: #fff; cursor: pointer;
}
.kopf__burger span, .kopf__burger span::before, .kopf__burger span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--weich), opacity .2s;
}
.kopf__burger span::before, .kopf__burger span::after { content: ""; position: absolute; left: 0; }
.kopf__burger span::before { top: -6px; } .kopf__burger span::after { top: 6px; }
.kopf__burger[aria-expanded="true"] span { background: transparent; }
.kopf__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.kopf__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 640px) { .kopf__cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .menue { display: flex; align-items: center; gap: .1rem; list-style: none; margin-left: 2rem; }
  .menue > li { position: relative; }
  .menue > li > a {
    display: inline-flex; align-items: center; gap: .35rem; height: var(--kopf-h); padding: 0 .75rem;
    font-weight: 650; font-size: .98rem; text-decoration: none; color: var(--tinte-2); position: relative;
  }
  .menue > li > a::after {
    content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 20px; height: 3px; background: var(--blau);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich);
  }
  .menue > li > a:hover::after, .menue > li > a[aria-current="page"]::after, .menue > li.hat-unter:focus-within > a::after { transform: none; }
  .menue > li > a[aria-current="page"] { color: var(--tinte); }
  .menue .pfeilchen { width: 12px; height: 12px; transition: transform .3s; }
  .menue .hat-unter:hover .pfeilchen, .menue .hat-unter:focus-within .pfeilchen { transform: rotate(180deg); }
  .unter {
    position: absolute; left: -1rem; top: calc(var(--kopf-h) - 8px); width: 580px; padding: 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; list-style: none;
    background: #fff; border-radius: var(--rund-gross); box-shadow: var(--schatten-gross); border: 1px solid var(--linie);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--weich), visibility 0s .3s;
  }
  .hat-unter:hover .unter, .hat-unter:focus-within .unter { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .unter a { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .8rem; border-radius: var(--rund); text-decoration: none; transition: background .2s; }
  .unter a:hover, .unter a:focus-visible { background: var(--kalk); }
  .unter b { display: block; font-size: .98rem; color: var(--text); }
  .unter small { display: block; font-size: .85rem; color: var(--text-2); line-height: 1.4; }
  .unter__symbol { flex: none; width: 40px; height: 40px; border-radius: var(--rund); display: grid; place-items: center; background: var(--blau-nebel); color: var(--blau-tief); }
  .unter__symbol svg { width: 21px; height: 21px; }
  .unter__alle { grid-column: 1 / -1; border-top: 1px solid var(--linie); margin-top: .35rem; padding-top: .35rem; }
  .unter__alle a { font-weight: 750; color: var(--blau-tief); align-items: center; }
  .kopf__burger { display: none; }
  .kopf__tel { width: auto; padding: 0 .95rem 0 .8rem; gap: .5rem; display: inline-flex; font-weight: 750; font-size: .96rem; height: 44px; align-items: center; }
  .kopf__tel-text { display: inline; }
}
@media (min-width: 1180px) and (max-width: 1300px) { .kopf__tel-text { display: none; } .kopf__tel { padding: 0; width: 44px; justify-content: center; } }

/* Mobilmenü */
.mobil {
  position: fixed; inset: var(--kopf-h) 0 0 0; z-index: 85; background: var(--kalk);
  overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem var(--rand) 2.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--weich), visibility 0s .3s;
}
.mobil.offen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobil ul { list-style: none; }
.mobil > nav > ul > li > a {
  display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--linie);
  font-size: 1.45rem; font-weight: 800; font-stretch: var(--schmal); text-decoration: none;
}
.mobil a[aria-current="page"] { color: var(--blau-tief); }
.mobil__unter { padding: .3rem 0 .6rem .2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .8rem; border-bottom: 1px solid var(--linie); }
.mobil__unter a { display: block; padding: .55rem 0; font-weight: 600; color: var(--text-2); text-decoration: none; font-size: 1rem; }
.mobil__aktion { display: grid; gap: .7rem; margin-top: 1.6rem; }
@media (min-width: 1180px) { .mobil { display: none; } }

/* ---------- Kopfbereich Startseite ---------- */
.hero { position: relative; isolation: isolate; background: var(--kalk); padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero__raster { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero__raster { grid-template-columns: 1.08fr .92fr; } }
.hero__titel { font-size: clamp(2.35rem, 10.4vw, 4.35rem); line-height: .98; letter-spacing: -.005em; margin-bottom: 1.4rem; }
@media (min-width: 980px) { .hero__titel { font-size: clamp(3.2rem, 5.1vw, 4.7rem); } }
.hero__titel .zeile { display: block; }
.wechsel { display: block; white-space: nowrap; margin-top: .06em; }
.wechsel__kasten {
  position: relative; isolation: isolate; display: inline-block; vertical-align: bottom; margin-left: .06em; padding: .04em .26em .1em;
  color: var(--tinte); transition: width .45s var(--weich); white-space: nowrap;
}
.wechsel__kasten::before {
  content: ""; position: absolute; inset: 0 -.04em; z-index: -1; background: var(--blau); background-image: var(--spuren);
  -webkit-mask: var(--strich) center / 100% 100% no-repeat; mask: var(--strich) center / 100% 100% no-repeat;
  transform-origin: left;
}
.js .wechsel__kasten::before { animation: rollen .9s .55s var(--weich) both; }
@keyframes rollen { from { transform: scaleX(0); } to { transform: none; } }
.wechsel__wort { display: inline-block; }
.wechsel__wort.raus { animation: wortRaus .34s var(--weich) both; }
.wechsel__wort.rein { animation: wortRein .45s var(--weich) both; }
@keyframes wortRaus { to { opacity: 0; transform: translateY(-60%); } }
@keyframes wortRein { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
.hero__text { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__vertrauen { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 2rem; list-style: none; font-size: .93rem; color: var(--text-2); font-weight: 650; }
.hero__vertrauen li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__vertrauen svg { width: 18px; height: 18px; color: var(--blau-tief); }
.js .hero .auf { animation: auf .8s var(--weich) both; animation-delay: calc(.1s + var(--v, 0s)); }
@keyframes auf { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Fotos rechts: großes Bild, kleines Bild, Siegel, Kreppband */
.hero__bilder { position: relative; margin: 0 0 2.2rem; }
@media (min-width: 980px) { .hero__bilder { margin: 0 0 0 1rem; } }
.hero__haupt { position: relative; border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); aspect-ratio: 4 / 3.3; background: var(--kalk-2); }
.hero__haupt img { width: 100%; height: 100%; object-fit: cover; }
.hero__klein { position: absolute; left: -4%; bottom: -10%; width: 36%; aspect-ratio: 3 / 4; }
.hero__klein picture { width: 100%; height: 100%; border-radius: var(--rund); overflow: hidden; border: 6px solid var(--kalk); box-shadow: var(--schatten-gross); background: var(--kalk-2); }
.hero__klein img { width: 100%; height: 100%; object-fit: cover; }
.hero__klein::before { /* Kreppband */
  content: ""; position: absolute; z-index: 2; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px;
  background: rgba(83, 191, 220, .88); -webkit-mask: var(--band) center / 100% 100% no-repeat; mask: var(--band) center / 100% 100% no-repeat; transform: rotate(-4deg);
}
@media (max-width: 979px) { .hero__klein { left: auto; right: 4%; width: 30%; bottom: -12%; } }
.hero__strich {
  position: absolute; z-index: -1; right: -8%; top: -7%; width: 70%; height: 28%;
  background: var(--blau); background-image: var(--spuren);
  -webkit-mask: var(--strich) center / 100% 100% no-repeat; mask: var(--strich) center / 100% 100% no-repeat;
  transform-origin: left;
}
.js .hero__strich { animation: rollen 1.1s .3s var(--weich) both; }
.hero__siegel {
  position: absolute; left: 1rem; top: 1rem; display: flex; align-items: center; gap: .7rem;
  padding: .65rem .95rem .65rem .7rem; background: #fff; border-radius: var(--rund); box-shadow: var(--schatten); max-width: 15.5rem;
}
.hero__siegel b { font-size: 2.3rem; line-height: .9; font-weight: 850; font-stretch: var(--schmal); color: var(--blau-tief); }
.hero__siegel span { font-size: .82rem; font-weight: 700; line-height: 1.3; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); position: relative; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--knapp { padding-block: clamp(3rem, 6vw, 5rem); }
.dunkel { background: var(--tinte); color: var(--text-hell); }
.dunkel h2, .dunkel h3 { color: #fff; }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.kopfzeile > div { max-width: 46rem; }
.kopfzeile h2 { margin-bottom: .35em; }
.kopfzeile p:last-child { margin: 0; }

/* Einblenden */
.js .ein { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--weich), transform .8s var(--weich); transition-delay: var(--v, 0s); }
.js .ein.da { opacity: 1; transform: none; }
.js .ein-liste > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--weich), transform .7s var(--weich); }
.js .ein-liste.da > * { opacity: 1; transform: none; }
.js .ein-liste.da > *:nth-child(2) { transition-delay: .07s; } .js .ein-liste.da > *:nth-child(3) { transition-delay: .14s; }
.js .ein-liste.da > *:nth-child(4) { transition-delay: .21s; } .js .ein-liste.da > *:nth-child(5) { transition-delay: .28s; }
.js .ein-liste.da > *:nth-child(6) { transition-delay: .35s; } .js .ein-liste.da > *:nth-child(n+7) { transition-delay: .42s; }

/* ---------- Leistungskarten ---------- */
.karten { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .karten { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .karten { grid-template-columns: repeat(6, 1fr); gap: 1.2rem; } .karten > li { grid-column: span 2; } .karten > li:nth-child(-n+2) { grid-column: span 3; } }
.karte {
  position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--rund-gross);
  overflow: hidden; text-decoration: none; border: 1px solid var(--linie); transition: transform .45s var(--weich), box-shadow .45s var(--weich), border-color .3s;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-gross); border-color: transparent; }
.karte__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--kalk-2); position: relative; }
.karte__bild picture { width: 100%; height: 100%; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--weich); }
.karte:hover .karte__bild img { transform: scale(1.04); }
.karte__nr { position: absolute; top: .9rem; left: .9rem; background: var(--tinte); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .12em; padding: .3rem .6rem; border-radius: 3px; }
.karte__text { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.karte__text h3 { margin-bottom: .45rem; font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-stretch: var(--schmal); }
.karte__text p { color: var(--text-2); font-size: .98rem; margin-bottom: 1rem; }
.karte__text .textlink { margin-top: auto; }
/* Fliesen haben (noch) kein Foto: Fliesenspiegel als Grafik */
.fliesen-grafik {
  width: 100%; height: 100%; position: relative; overflow: hidden; background-color: #fbfaf7;
  background-image: linear-gradient(90deg, #e2ded5 2px, transparent 2px), linear-gradient(0deg, #e2ded5 2px, transparent 2px);
  background-size: 64px 64px; background-position: -1px -1px;
}
.fliesen-grafik::before { /* Fliesenspiegel aus kleinen blauen Fliesen */
  content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 34%;
  background-color: var(--blau); background-image: linear-gradient(90deg, rgba(255, 255, 255, .75) 2px, transparent 2px), linear-gradient(0deg, rgba(255, 255, 255, .75) 2px, transparent 2px);
  background-size: 24px 24px;
}
.fliesen-grafik::after { /* Arbeitsplatte */
  content: ""; position: absolute; left: 0; right: 0; top: 64%; bottom: 0; background: var(--tinte-2);
  box-shadow: inset 0 6px 0 var(--tinte-3);
}

/* Bodenbeläge (noch) ohne eigenes Foto: Dielen als Grafik */
.dielen-grafik { width: 100%; height: 100%; position: relative; background: #d6b893 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120'%3E%3Crect width='240' height='40' fill='%23d9bc97'/%3E%3Crect y='40' width='240' height='40' fill='%23d1b28b'/%3E%3Crect y='80' width='240' height='40' fill='%23dcc09c'/%3E%3Crect width='90' height='40' fill='%23cfae86'/%3E%3Crect x='200' y='40' width='40' height='40' fill='%23dbbe99'/%3E%3Crect x='40' y='80' width='110' height='40' fill='%23cdab82'/%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.14'%3E%3Cpath d='M0 12H240M0 27H240M0 52H240M0 66H240M0 93H240M0 106H240'/%3E%3C/g%3E%3Cg fill='none' stroke='%23a5835b' stroke-width='2'%3E%3Cpath d='M0 40H240M0 80H240M0 120H240M90 0V40M200 40V80M40 80V120M150 80V120'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 240px 120px; }
.dielen-grafik::after { /* Kreppband-Streifen als Akzent */
  content: ""; position: absolute; left: 10%; top: 18%; width: 34%; height: 30px;
  background: rgba(83, 191, 220, .9); -webkit-mask: var(--band) center / 100% 100% no-repeat; mask: var(--band) center / 100% 100% no-repeat; transform: rotate(-6deg);
}

/* Bodenaufbau (Schichten) */
.aufbau { background: var(--kalk); border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: clamp(1.2rem, 3vw, 2rem); }
.aufbau__svg { width: 100%; max-width: 460px; margin: 0 auto 1.2rem; }
.aufbau__svg text { font: 800 15px var(--schrift); fill: var(--tinte); }
.aufbau__lage { transition: opacity .6s var(--weich), transform .6s var(--weich); transition-delay: calc(var(--i) * 120ms); }
.js .aufbau:not(.da) .aufbau__lage { opacity: 0; transform: translateY(-16px); }
.aufbau__liste { list-style: none; counter-reset: lage; display: grid; gap: .55rem; }
.aufbau__liste li { counter-increment: lage; display: grid; grid-template-columns: 30px 1fr; gap: .2rem .8rem; color: var(--text-2); font-size: .96rem; line-height: 1.45; }
.aufbau__liste li::before { content: counter(lage); grid-row: span 2; width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: var(--tinte); color: #fff; font-weight: 800; font-size: .9rem; }
.aufbau__liste b { color: var(--text); display: block; }
.aufbau__hinweis { margin: 1rem 0 0; font-size: .84rem; color: var(--text-2); }

/* ---------- Schicht für Schicht: So entsteht eine Wand (Bühne mit Schritt-Knöpfen) ---------- */
.wand { background: var(--tinte); color: var(--text-hell); }
.wand .marke { color: var(--tinte); }
.wand .lead { color: var(--text-hell-2); }
.wand__karte { display: grid; border: 1px solid var(--linie-dunkel); border-radius: var(--rund-gross); overflow: hidden; background: var(--tinte-2); box-shadow: var(--schatten-gross); }
@media (min-width: 980px) { .wand__karte { grid-template-columns: 1.4fr 1fr; } }
.wand__buehne { position: relative; overflow: hidden; background: #1b1e22; }
.wand__svg { width: 100%; height: auto; }
@media (max-width: 600px) { .wand__svg { width: 114%; max-width: none; margin-left: -7%; } }
@media (min-width: 980px) { .wand__buehne { display: flex; min-height: 440px; } .wand__svg { width: 100%; height: 100%; } }
.wand__chip {
  position: absolute; left: .9rem; top: .9rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem .4rem .45rem; border-radius: var(--rund); background: rgba(21, 23, 26, .86); border: 1px solid rgba(83, 191, 220, .5);
  color: #fff; font-size: .85rem; font-weight: 700;
}
.wand__chip b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: var(--blau); color: var(--tinte); font-size: .78rem; }
.wand__panel { display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.2rem, 3vw, 2.2rem); }
.wand__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.wand__tab {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .4rem; min-height: 76px;
  padding: .7rem .3rem .65rem; border-radius: var(--rund); border: 1px solid var(--linie-dunkel); background: rgba(255, 255, 255, .04);
  color: var(--text-hell-2); font-weight: 700; font-size: .8rem; line-height: 1.15; text-align: center; cursor: pointer;
  hyphens: manual; transition: background .25s, border-color .25s, color .25s;
}
.wand__tab:hover { border-color: rgba(83, 191, 220, .5); color: #fff; }
.wand__nr { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: rgba(255, 255, 255, .09); color: #fff; font-size: .88rem; transition: background .25s, color .25s; }
.wand__tab.erledigt .wand__nr { background: rgba(83, 191, 220, .28); }
.wand__tab[aria-selected="true"] { background: rgba(83, 191, 220, .13); border-color: var(--blau); color: #fff; }
.wand__tab[aria-selected="true"] .wand__nr { background: var(--blau); color: var(--tinte); }
.wand__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blau); transform-origin: left; transform: scaleX(0); }
.wand.laeuft .wand__tab[aria-selected="true"]::after { animation: wandLauf var(--wand-takt, 3.6s) linear forwards; }
@keyframes wandLauf { to { transform: scaleX(1); } }
/* Alle Texte liegen übereinander: Der Kasten ist so hoch wie der längste, nichts springt beim Umschalten */
.wand__texte { display: grid; }
.wand__text { grid-area: 1 / 1; }
.wand__text:not(.an) { visibility: hidden; }
.js .wand__text.an { animation: schrittEin .45s var(--weich) both; }
.wand__text small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); margin-bottom: .45rem; }
.wand__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-stretch: var(--schmal); margin-bottom: .55rem; }
.wand__text p { margin: 0; color: var(--text-hell-2); }
.wand__nav { display: flex; align-items: center; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.wand__pfeil {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 48px; height: 48px; padding: 0 .9rem;
  border-radius: var(--rund); border: 1px solid var(--linie-dunkel); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s;
}
.wand__pfeil svg { width: 20px; height: 20px; }
.wand__pfeil:hover { border-color: var(--blau); }
.wand__vor { background: var(--blau); border-color: var(--blau); color: var(--tinte); padding: 0 1rem 0 1.2rem; }
.wand__vor:hover { background: #74cce3; }
.wand__pfeil:disabled { opacity: .35; cursor: default; }
.wand__link { margin-left: auto; min-height: 44px; }
.wand .textlink { color: var(--blau); }
@media (max-width: 420px) { .wand__tab { font-size: .72rem; min-height: 70px; } .wand__link { margin-left: 0; width: 100%; } }
@media (max-width: 359px) {
  .wand__tabs { grid-template-columns: 1fr 1fr; }
  .wand__tab { flex-direction: row; justify-content: flex-start; min-height: 50px; padding: .5rem .6rem; font-size: .82rem; text-align: left; }
}
/* Zeichnung: Schichten je Schritt */
.wand .ph-1 > *, .wand .ph-2 > *, .wand .ph-3 > *, .wand .ph-4b { opacity: 0; }
.wand .ph-1 > * { transform: translateY(-14px); transition: opacity .5s var(--weich), transform .5s var(--weich); transition-delay: calc(var(--i, 0) * 55ms); }
.wand .ph-2 > * { transform: translateX(-12px); transition: opacity .5s var(--weich), transform .5s var(--weich); transition-delay: calc(var(--i, 0) * 100ms); }
.wand .ph-3 > * { transform: scaleX(.2); transform-box: fill-box; transform-origin: center; transition: opacity .45s var(--weich), transform .45s var(--weich); transition-delay: calc(var(--i, 0) * 45ms); }
.wand[data-stufe="1"] .ph-1 > *, .wand[data-stufe="2"] .ph-1 > *, .wand[data-stufe="3"] .ph-1 > *, .wand[data-stufe="4"] .ph-1 > * { opacity: 1; transform: none; }
.wand[data-stufe="2"] .ph-2 > *, .wand[data-stufe="3"] .ph-2 > *, .wand[data-stufe="4"] .ph-2 > * { opacity: 1; transform: none; }
.wand[data-stufe="3"] .ph-3 > *, .wand[data-stufe="4"] .ph-3 > * { opacity: 1; transform: none; }
/* Farbe: wird von links aufgerollt, beim Zurückschalten nur ausgeblendet */
.wand .farbe-schicht { opacity: 0; transform: scaleX(0); transform-box: fill-box; transform-origin: left; transition: opacity .35s, transform 0s .35s; }
.wand[data-stufe="4"] .farbe-schicht { opacity: 1; transform: none; transition: opacity 0s, transform 1.2s cubic-bezier(.55, .1, .3, 1); }
.wand .roller { opacity: 0; }
.wand[data-stufe="4"] .roller { animation: rollerFahrt 1.3s cubic-bezier(.55, .1, .3, 1) both; }
@keyframes rollerFahrt { 0% { opacity: 1; transform: translateX(0); } 92% { opacity: 1; transform: translateX(var(--weg, 300px)); } 100% { opacity: 0; transform: translateX(var(--weg, 300px)); } }
.wand[data-stufe="4"] .ph-4b { opacity: 1; transition: opacity .6s 1.1s; }
.wand .ph-4b { transition: opacity .2s; }
/* Markierung: Was ist in diesem Schritt neu? */
.wand__punkt { opacity: 0; transition: opacity .4s; }
.wand__punkt circle { fill: var(--blau); stroke: #fff; stroke-width: 2.5; }
.wand__punkt circle:first-child { fill: none; stroke: var(--blau); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: punktPuls 1.8s ease-out infinite; }
.wand__punkt.p-4 circle:first-child { stroke: #fff; }
.wand[data-stufe="1"] .p-1, .wand[data-stufe="2"] .p-2, .wand[data-stufe="3"] .p-3, .wand[data-stufe="4"] .p-4 { opacity: 1; }
.wand[data-stufe="4"] .p-4 { transition-delay: 1.2s; }
@keyframes punktPuls { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wand__punkt circle:first-child { animation: none; opacity: .6; } }

/* ---------- Farbe probieren ---------- */
.farbe__raster { display: grid; gap: 1.6rem; grid-template-areas: "kopf" "bild" "wahl"; }
.farbe__kopf { grid-area: kopf; } .farbe__buehne { grid-area: bild; } .farbe__wahl { grid-area: wahl; }
.farbe__kopf .lead { margin-bottom: 0; }
@media (min-width: 960px) {
  .farbe__raster { grid-template-columns: 1.15fr .85fr; grid-template-areas: "bild kopf" "bild wahl"; gap: 0 clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
  .farbe__kopf { align-self: end; } .farbe__wahl { align-self: start; }
}
@media (max-width: 959px) { .farbe__palette { margin-top: .2rem; } }
.farbe__buehne { position: relative; border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); background: #fff; }
.farbe__svg { width: 100%; height: auto; }
.farbe__svg .wand-neu { transform: scaleX(0); transform-box: fill-box; transform-origin: left; }
.farbe__svg .wand-neu.laeuft { transform: none; transition: transform .85s cubic-bezier(.55, .1, .3, 1); }
.farbe__svg .seite { transition: fill .6s .3s; }
.farbe__svg .farbroller { opacity: 0; }
.farbe__svg .farbroller.laeuft { animation: farbroller .9s cubic-bezier(.55, .1, .3, 1) both; }
@keyframes farbroller { 0% { opacity: 1; transform: translateX(0); } 90% { opacity: 1; transform: translateX(var(--weg, 380px)); } 100% { opacity: 0; transform: translateX(var(--weg, 380px)); } }
.farbe__palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; list-style: none; margin: 1.4rem 0 1.2rem; }
.farbe__palette button {
  position: relative; width: 100%; aspect-ratio: 1; border: 0; border-radius: var(--rund); cursor: pointer;
  background: var(--f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .25s var(--weich);
}
.farbe__palette button:hover { transform: translateY(-3px); }
.farbe__palette button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 3px var(--kalk), 0 0 0 5px var(--tinte); }
.farbe__palette button[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.farbe__name { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; min-height: 3.4rem; }
.farbe__name b { font-size: 1.6rem; font-weight: 800; font-stretch: var(--schmal); }
.farbe__name span { color: var(--text-2); }
.farbe__hinweis { font-size: .9rem; color: var(--text-2); margin-top: 1rem; }

/* ---------- Gründe und Zahlen ---------- */
.gruende { list-style: none; display: grid; gap: 1px; background: var(--linie-dunkel); border: 1px solid var(--linie-dunkel); border-radius: var(--rund-gross); overflow: hidden; }
@media (min-width: 700px) { .gruende { grid-template-columns: 1fr 1fr; } }
.gruende li { background: var(--tinte); padding: clamp(1.4rem, 3vw, 2.2rem); }
.gruende svg { width: 46px; height: 46px; padding: 11px; border-radius: var(--rund); background: rgba(83, 191, 220, .14); color: var(--blau); margin-bottom: 1rem; }
.gruende h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-stretch: var(--schmal); margin-bottom: .4rem; }
.gruende p { margin: 0; color: var(--text-hell-2); }
.abschnitt:not(.dunkel) .gruende { background: var(--linie); border-color: var(--linie); }
.abschnitt:not(.dunkel) .gruende li { background: #fff; }
.abschnitt:not(.dunkel) .gruende svg { background: var(--blau-nebel); color: var(--blau-tief); }
.abschnitt:not(.dunkel) .gruende p { color: var(--text-2); }
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linie); border-radius: var(--rund-gross); overflow: hidden; border: 1px solid var(--linie); list-style: none; }
@media (min-width: 900px) { .zahlen { grid-template-columns: repeat(4, 1fr); } }
.zahlen li { background: #fff; padding: clamp(1.3rem, 3vw, 2.2rem); }
.zahlen b { display: block; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 850; font-stretch: var(--schmal); letter-spacing: -.02em; line-height: 1; }
.zahlen b i { font-style: normal; color: var(--blau-tief); }
.zahlen span { display: block; margin-top: .5rem; color: var(--text-2); font-size: .95rem; font-weight: 600; }
.dunkel .zahlen { background: var(--linie-dunkel); border-color: var(--linie-dunkel); }
.dunkel .zahlen li { background: var(--tinte-2); }
.dunkel .zahlen b i { color: var(--blau); }
.dunkel .zahlen span { color: var(--text-hell-2); }

/* ---------- Kundenstimmen ---------- */
.stimmen { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 900px) { .stimmen { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
.stimme { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.6rem 1.5rem 1.4rem; margin: 0; }
.stimme__sterne { display: flex; gap: .15rem; color: #e2a516; margin-bottom: .9rem; }
.stimme__sterne svg { width: 18px; height: 18px; }
.stimme blockquote { margin: 0 0 1.2rem; font-size: 1.04rem; line-height: 1.6; }
.stimme blockquote::before { content: ""; display: block; width: 34px; height: 26px; margin-bottom: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath fill='%2353bfdc' d='M0 26V15C0 6 5 1 13 0l1 4c-4 1-7 4-7 9h6v13zM20 26V15c0-9 5-14 13-15l1 4c-4 1-7 4-7 9h6v13z'/%3E%3C/svg%3E") 0 0 / contain no-repeat; }
.stimme figcaption { margin-top: auto; font-weight: 750; display: flex; align-items: center; gap: .7rem; }
.stimme figcaption span { width: 38px; height: 38px; border-radius: 50%; background: var(--blau-nebel); color: var(--blau-tief); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.stimme figcaption small { display: block; font-weight: 500; color: var(--text-2); font-size: .85rem; }

/* ---------- Bild + Text ---------- */
.duo { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .duo--umgekehrt > :first-child { order: 2; } }
.duo__bild { position: relative; margin: 0; }
.duo__bild > picture { border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); }
.duo__bild img { width: 100%; height: 100%; object-fit: cover; }
.duo__klein { position: absolute; width: 40%; right: -3%; bottom: -8%; border-radius: var(--rund); overflow: hidden; border: 6px solid var(--kalk); box-shadow: var(--schatten-gross); }
.abschnitt--weiss .duo__klein { border-color: #fff; }
.duo__bild figcaption { margin-top: .8rem; font-size: .86rem; color: var(--text-2); }
.duo__bild--mit-klein { margin-bottom: 2.5rem; }
.haken { list-style: none; display: grid; gap: .75rem; margin: 1.4rem 0 1.8rem; }
.haken li { display: flex; gap: .75rem; align-items: flex-start; }
.haken li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .18em; border-radius: 4px; background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Galerie ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter button { border: 1.5px solid var(--linie); background: #fff; border-radius: var(--rund); padding: .55rem 1.05rem; font-weight: 700; cursor: pointer; min-height: 44px; transition: all .2s; }
.filter button:hover { border-color: var(--tinte); }
.filter button[aria-pressed="true"] { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.galerie { display: grid; gap: .8rem; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .galerie { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .galerie--gross li:first-child { grid-column: span 2; grid-row: span 2; } }
.galerie li[hidden] { display: none; }
.foto { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--rund); overflow: hidden; cursor: zoom-in; background: var(--kalk-2); aspect-ratio: 4 / 3; }
.foto picture { width: 100%; height: 100%; }
.galerie--gross li:first-child .foto { aspect-ratio: auto; min-height: 100%; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--weich); }
.foto:hover img { transform: scale(1.04); }
.foto > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .9rem; text-align: left; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.35; background: linear-gradient(0deg, rgba(21, 23, 26, .86), transparent); }
.foto small { display: block; font-weight: 500; font-size: .8rem; color: var(--blau-hell); margin-top: .15rem; }
dialog.gross { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
dialog.gross::backdrop { background: rgba(12, 13, 15, .93); }
dialog.gross img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--rund); }
dialog.gross p { color: #fff; text-align: center; margin: .8rem 0 0; font-weight: 600; }
dialog.gross button { position: fixed; border: 0; width: 52px; height: 52px; border-radius: var(--rund); background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.gross__zu { top: 1rem; right: 1rem; } .gross__zurueck { left: 1rem; top: 50%; } .gross__vor { right: 1rem; top: 50%; }

/* ---------- Anfrage-Einstieg und Ablauf ---------- */
.einstieg { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; list-style: none; }
@media (min-width: 900px) { .einstieg { grid-template-columns: repeat(3, 1fr); gap: .9rem; } }
.einstieg a {
  display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 1.15rem 1.1rem; border-radius: var(--rund-gross); background: #fff; border: 1.5px solid var(--linie);
  text-decoration: none; font-weight: 750; line-height: 1.3; transition: border-color .2s, transform .3s var(--weich), box-shadow .3s;
}
.einstieg a:hover { border-color: var(--blau-tief); transform: translateY(-3px); box-shadow: var(--schatten); }
.einstieg svg { width: 30px; height: 30px; color: var(--blau-tief); }
.einstieg small { font-weight: 500; color: var(--text-2); font-size: .86rem; }
.ablauf { list-style: none; display: grid; gap: 1rem; counter-reset: a; }
@media (min-width: 900px) { .ablauf { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } .ablauf--vier { grid-template-columns: repeat(4, 1fr); } }
.ablauf li { counter-increment: a; position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--rund-gross); background: rgba(255, 255, 255, .05); border: 1px solid var(--linie-dunkel); }
.ablauf li::before { content: "0" counter(a); display: block; font-size: 2.8rem; font-weight: 850; font-stretch: var(--schmal); color: var(--blau); line-height: 1; margin-bottom: .9rem; }
.ablauf h3 { margin-bottom: .4rem; }
.ablauf p { margin: 0; color: var(--text-hell-2); font-size: .98rem; }
.abschnitt:not(.dunkel) .ablauf li { background: #fff; border-color: var(--linie); }
.abschnitt:not(.dunkel) .ablauf li::before { color: var(--blau-tief); }
.abschnitt:not(.dunkel) .ablauf p { color: var(--text-2); }

/* Für wen wir arbeiten */
.gruppen { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.gruppen li { padding: .55rem 1rem; border-radius: var(--rund); background: #fff; border: 1px solid var(--linie); font-weight: 650; font-size: .96rem; }
.dunkel .gruppen li { background: rgba(255, 255, 255, .06); border-color: var(--linie-dunkel); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { position: relative; isolation: isolate; background: var(--tinte); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.seitenkopf::after { /* Rollerstrich unten rechts */
  content: ""; position: absolute; z-index: -1; right: -6%; bottom: -1.4rem; width: min(56%, 640px); height: 3.4rem;
  background: var(--blau); background-image: var(--spuren); opacity: .9;
  -webkit-mask: var(--strich) center / 100% 100% no-repeat; mask: var(--strich) center / 100% 100% no-repeat; transform-origin: left;
}
.js .seitenkopf::after { animation: rollen 1s .25s var(--weich) both; }
.seitenkopf__raster { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .seitenkopf__raster { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.seitenkopf h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.seitenkopf .lead { color: var(--text-hell); }
.seitenkopf__bild { border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); aspect-ratio: 4 / 3; background: var(--tinte-2); }
.seitenkopf__bild picture { width: 100%; height: 100%; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf__bild .fliesen-grafik { opacity: .95; }
.js .seitenkopf .auf { animation: auf .8s var(--weich) both; animation-delay: var(--v, .05s); }
.kruemel { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .86rem; color: var(--text-hell-2); margin-bottom: 1.4rem; }
.kruemel li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.kruemel a { color: var(--text-hell-2); text-decoration: none; display: inline-block; padding: .3rem 0; }
.kruemel a:hover { color: #fff; }
.kruemel li[aria-current] { padding: .3rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.6rem; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: var(--rund); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; font-weight: 650; }
.chips svg { width: 16px; height: 16px; color: var(--blau); }

/* ---------- Leistungsseiten ---------- */
.punkte { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 700px) { .punkte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .punkte--drei { grid-template-columns: repeat(3, 1fr); } }
.punkt { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.5rem; }
.punkt__symbol { width: 48px; height: 48px; border-radius: var(--rund); display: grid; place-items: center; background: var(--blau-nebel); color: var(--blau-tief); margin-bottom: 1rem; }
.punkt__symbol svg { width: 24px; height: 24px; }
.punkt h3 { margin-bottom: .4rem; }
.punkt p { color: var(--text-2); margin: 0; font-size: .98rem; }
.weitere { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.weitere a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: var(--rund); background: #fff; border: 1px solid var(--linie); text-decoration: none; font-weight: 700; font-size: .95rem; transition: border-color .2s, color .2s; }
.weitere a:hover { border-color: var(--blau-tief); color: var(--blau-tief); }
.weitere svg { width: 18px; height: 18px; color: var(--blau-tief); }

/* Leistungsübersicht: große Zeilen */
.leistung { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--linie); }
.leistung:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .leistung { grid-template-columns: .9fr 1.1fr; } .leistung:nth-child(even) > :first-child { order: 2; } }
.leistung__bild { border-radius: var(--rund-gross); overflow: hidden; aspect-ratio: 16 / 11; background: var(--kalk-2); box-shadow: var(--schatten); }
.leistung__bild picture { width: 100%; height: 100%; }
.leistung__bild img { width: 100%; height: 100%; object-fit: cover; }
.leistung h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.leistung__nr { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--blau-tief); margin-bottom: .5rem; }

/* Fragen */
.fragen { display: grid; gap: .7rem; }
.frage { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; }
.frage summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 750; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: var(--blau-nebel); color: var(--blau-tief); font-weight: 800; font-size: 1.2rem; transition: transform .3s; }
.frage[open] summary::after { transform: rotate(45deg); }
.frage div { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.frage div p:last-child { margin: 0; }

/* Aufruf-Band */
.aufruf { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rund-gross); background: var(--blau); background-image: var(--spuren); color: var(--tinte); padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .aufruf { grid-template-columns: 1fr auto; } }
.aufruf h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .3em; }
.aufruf p { margin: 0; color: var(--tinte-2); }
.aufruf .marke::before { background-color: #fff; }

/* ---------- Assistenten (Anfrage, Kontakt) ---------- */
.assi { background: #fff; color: var(--text); border-radius: var(--rund-gross); box-shadow: var(--schatten-gross); padding: clamp(1.3rem, 3vw, 2.2rem); position: relative; border: 1px solid var(--linie); }
.assi__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.assi__titel { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.assi__titel svg { width: 20px; height: 20px; color: var(--blau-tief); }
.assi__zaehl { font-size: .85rem; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.assi__balken { height: 6px; border-radius: 3px; background: var(--kalk-2); overflow: hidden; margin-bottom: 1.5rem; }
.assi__balken i { display: block; height: 100%; background: var(--blau); background-image: var(--spuren); transform-origin: left; transform: scaleX(.25); transition: transform .5s var(--weich); }
.assi fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.assi fieldset.dran { animation: schrittEin .45s var(--weich) both; }
@keyframes schrittEin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.assi legend { font-size: clamp(1.5rem, 2.8vw, 1.85rem); font-weight: 800; font-stretch: var(--schmal); line-height: 1.15; margin-bottom: .35rem; padding: 0; }
.assi__hinweis { color: var(--text-2); font-size: .95rem; margin: 0 0 1.1rem; }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.kacheln > * { min-width: 0; }
.kacheln--eins { grid-template-columns: 1fr; }
@media (min-width: 560px) { .kacheln--drei { grid-template-columns: repeat(3, 1fr); } }
.kachel { position: relative; display: block; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kachel span {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .55rem; min-height: 64px; height: 100%;
  padding: .9rem 1rem; border-radius: var(--rund); border: 1.5px solid var(--linie); background: var(--kalk);
  font-weight: 700; font-size: .98rem; line-height: 1.25; transition: border-color .2s, background .2s, box-shadow .2s;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.kachel span small { font-weight: 500; font-size: .84rem; color: var(--text-2); }
.kachel svg { width: 26px; height: 26px; color: var(--blau-tief); }
.kachel:hover span { border-color: var(--blau-tief); background: #fff; }
.kachel input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.kachel input:checked + span { border-color: var(--blau-tief); background: var(--blau-nebel); box-shadow: 0 0 0 3px rgba(83, 191, 220, .35); }
.kachel--zeile span { flex-direction: row; align-items: center; min-height: 56px; }
.feld { display: grid; gap: .35rem; margin-top: .9rem; }
.feld label { font-weight: 700; font-size: .92rem; }
.feld label small { font-weight: 500; color: var(--text-2); }
.feld input, .feld textarea, .feld select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--rund); border: 1.5px solid var(--linie); background: var(--kalk); font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--blau-tief); background: #fff; }
.feld input[type="file"] { padding: .7rem; background: #fff; border-style: dashed; }
.felder2 { display: grid; gap: 0 .8rem; }
@media (min-width: 560px) { .felder2 { grid-template-columns: 1fr 1fr; } .felder2--plz { grid-template-columns: 9rem 1fr; } }
.zustimmung { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.zustimmung input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--blau-tief); }
.zustimmung a { color: var(--blau-tief); }
.assi__fuss { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.assi__zurueck { border: 0; background: none; color: var(--text-2); font-weight: 700; cursor: pointer; padding: .7rem .2rem; display: inline-flex; gap: .4rem; align-items: center; }
.assi__zurueck svg { width: 18px; height: 18px; }
.assi__fuss .knopf { margin-left: auto; }
.assi__fehler { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--rund); background: #fdecea; color: #8a1c12; font-size: .93rem; }
.assi__fehler a { color: inherit; font-weight: 700; }
.assi__sicher { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; font-size: .82rem; color: var(--text-2); list-style: none; }
.assi__sicher li { display: inline-flex; align-items: center; gap: .35rem; }
.assi__sicher svg { width: 15px; height: 15px; color: var(--gruen); }
.assi__danke { text-align: center; padding: 1.5rem .5rem; }
.assi__danke:focus { outline: none; }
.assi__danke-symbol { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--blau-nebel); color: var(--blau-tief); animation: plopp .6s var(--weich) both; }
.assi__danke-symbol svg { width: 36px; height: 36px; }
.assi__danke h3 { font-size: 1.7rem; font-stretch: var(--schmal); }
.assi__danke p { color: var(--text-2); }
@keyframes plopp { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) {
  .assi { padding: 1.15rem 1rem 1.3rem; }
  .kachel span { padding: .8rem .75rem; font-size: .93rem; }
  .assi__titel { font-size: .98rem; }
}
.anfrage__raster { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .anfrage__raster { grid-template-columns: 1.25fr .75fr; gap: 3.5rem; align-items: start; } .anfrage__seite { position: sticky; top: calc(var(--kopf-h) + 2rem); } }

/* ---------- Kontakt ---------- */
.kontaktkarten { display: grid; gap: .8rem; list-style: none; }
.kontaktkarte { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); text-decoration: none; transition: border-color .2s; }
a.kontaktkarte:hover { border-color: var(--blau-tief); }
.kontaktkarte svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: var(--rund); background: var(--blau-nebel); color: var(--blau-tief); }
.kontaktkarte small { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kontaktkarte b { font-size: 1.1rem; }
.kontaktkarte span span { display: block; color: var(--text-2); font-size: .92rem; }

/* ---------- Rechtstexte ---------- */
.recht { background: #fff; border-radius: var(--rund-gross); border: 1px solid var(--linie); padding: clamp(1.5rem, 4vw, 3rem); }
.recht h2 { font-size: 1.4rem; font-stretch: 100%; margin: 2rem 0 .6rem; letter-spacing: -.01em; }
.recht h2:first-child { margin-top: 0; }
.recht ul { padding-left: 1.2rem; margin-bottom: 1em; }
.recht a { color: var(--blau-tief); }
.offen { background: #fff3c4; padding: .05em .3em; border-radius: 3px; }
.hinweis-entwurf { background: #fff8dc; border: 1px solid #f1dc8a; border-radius: var(--rund); padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .95rem; }

/* ---------- Schluss ---------- */
.schluss { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 10vw, 8rem); color: #fff; text-align: center; overflow: hidden; background: var(--tinte); }
.schluss picture { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.schluss picture img { width: 100%; height: 100%; object-fit: cover; }
.schluss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 23, 26, .84), rgba(21, 23, 26, .94)); }
.schluss h2 { color: #fff; max-width: 16em; margin-inline: auto; font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
.schluss p { color: var(--text-hell); max-width: 38rem; margin: 0 auto 2rem; }
.schluss .knoepfe { justify-content: center; }
.schluss .marke { margin-bottom: 1.4rem; }

/* ---------- Fehlerseite ---------- */
.fehler { min-height: 62svh; display: grid; place-items: center; text-align: center; padding-block: var(--abstand); }
.fehler__zahl { font-size: clamp(6rem, 24vw, 13rem); font-weight: 900; font-stretch: 62%; line-height: .85; position: relative; display: inline-block; isolation: isolate; }
.fehler__zahl::after { content: ""; position: absolute; z-index: -1; left: -6%; right: -6%; top: 42%; height: 30%; background: var(--blau); -webkit-mask: var(--strich) center / 100% 100% no-repeat; mask: var(--strich) center / 100% 100% no-repeat; transform-origin: left; }
.js .fehler__zahl::after { animation: rollen 1s .2s var(--weich) both; }
.fehler .knoepfe { justify-content: center; margin-top: 1.5rem; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--tinte); color: var(--text-hell-2); padding: clamp(3.5rem, 7vw, 5.5rem) 0 6.5rem; font-size: .96rem; }
.fuss .logo img { height: 52px; }
.fuss__raster { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fuss__raster { grid-template-columns: 1.35fr .9fr .9fr 1.1fr; gap: 3rem; } .fuss { padding-bottom: 2.5rem; } }
.fuss h2 { font-size: .8rem; font-stretch: 100%; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.fuss ul { list-style: none; display: grid; gap: .1rem; }
.fuss li a { display: inline-block; padding: .3rem 0; text-decoration: none; color: var(--text-hell-2); transition: color .2s; }
.fuss li a:hover, .fuss li a[aria-current="page"] { color: #fff; }
.fuss__raster > div:first-child p { margin: 1.2rem 0; max-width: 26rem; }
.sozial { display: flex; gap: .6rem; }
.sozial a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rund); background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, color .2s; }
.sozial a:hover { background: var(--blau); color: var(--tinte); }
.sozial svg { width: 20px; height: 20px; }
.fuss__unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: .9rem; }
.fuss__recht a { color: var(--text-hell-2); text-decoration: none; padding: .35rem 0; }
.fuss__recht a:hover { color: #fff; }

/* Feste Leiste unten (Handy) */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: auto 1fr; gap: .6rem;
  padding: .65rem var(--rand) calc(.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linie);
  box-shadow: 0 -10px 30px -18px rgba(21, 23, 26, .45); transform: translateY(110%); transition: transform .4s var(--weich);
}
.leiste.sichtbar { transform: none; }
.leiste .knopf { min-height: 48px; }
.leiste .knopf--hell { box-shadow: inset 0 0 0 1.5px var(--linie); }
@media (min-width: 1100px) { .leiste { display: none; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive-Durchsicht 30.11.2026 (320 px bis 1920 px) ---------- */
p, .lead { text-wrap: pretty; }
h1, h2, h3 { overflow-wrap: break-word; }
.recht h2 { hyphens: auto; -webkit-hyphens: auto; text-wrap: wrap; }
@media (max-width: 420px) { .recht h2 { font-size: 1.22rem; } .recht { padding: 1.3rem 1.15rem; } }
/* Anfrage-Kacheln: Spalten dürfen nie breiter werden als der Platz */
.einstieg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .einstieg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.einstieg span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Tippflächen mindestens 44 px hoch (Fließtext-Links ausgenommen) */
.logo { min-height: 44px; }
.textlink { min-height: 44px; }
.kruemel a { padding: .65rem 0; }
.fuss ul { gap: 0; }
.fuss li a { padding: .55rem 0; }
.fuss__recht a { padding: .7rem 0; }
/* Kleinste Handys (bis 350 px): Kopfleiste kompakter */
@media (max-width: 350px) {
  .kopf__tel, .kopf__burger { width: 42px; height: 42px; }
  .leiste { gap: .45rem; }
}
/* Feste Leiste unten: einzeilig; auf kleinen Handys Anrufen nur als Symbol */
.leiste .knopf { white-space: nowrap; }
@media (max-width: 400px) {
  .leiste .knopf--hell { font-size: 0; gap: 0; width: 52px; padding: 0; }
  .leiste .knopf--hell svg { width: 22px; height: 22px; }
  .leiste .knopf { padding-inline: 1rem; }
}
/* Ab Tablet hat die Kopfleiste den Anfrage-Knopf, die feste Leiste unten entfällt */
@media (min-width: 768px) { .leiste { display: none; } .fuss { padding-bottom: 2.5rem; } }
