/* Exzellente Sanierungen: "Der Satz ist das Layout" (Variante B, ausgebaut).
   Schrift Outfit (lokal), Farben aus tokens.css. Aufbau:
   1 Grundlagen  2 Aktionen  3 Kopf und Navigation  4 Startseite  5 Bausteine fuer Unterseiten
   6 Gemeinsame Teile (Kontaktband, Verwandt, Vorher/Nachher, Fuss, Leiste)  7 Tablet  8 Handy  9 Bewegung */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ===== 1 Grundlagen ===== */
:root {
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  /* Schriftstufen: klein, Text, Vorspann, Ueberschrift, Feld, Anzeige, Satz */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.5rem);
  --step-head: clamp(1.875rem, 1.1rem + 3.4vw, 4rem);
  --step-feld: clamp(2rem, 0.9rem + 4.4vw, 5rem);
  --step-display: clamp(2.5rem, 0.5rem + 7vw, 7rem);
  --step-satz: clamp(2.5rem, 0.3rem + 10.6vw, 10rem);

  --m: clamp(16px, 2.6vw, 40px);          /* Seitenrand */
  --gutter: clamp(16px, 1.8vw, 28px);
  --section: clamp(72px, 7.6vw, 116px);    /* Abstand zwischen Abschnitten */
  --soft: var(--muted);
  --hover-chip: #E3E8DC;
  --leiste-h: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--kopf-h); scroll-padding-bottom: var(--leiste-h); }
body {
  margin: 0; padding-bottom: var(--leiste-h);
  background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 700; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
::selection { background: var(--green); color: var(--anthracite); }

:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 3px; }
.feld--dunkel :focus-visible, .vn :focus-visible, .sb-name :focus-visible, .fuss :focus-visible, .stufen-liste :focus-visible { outline-color: var(--green); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: var(--m); top: -100px; z-index: 60; background: var(--anthracite); color: var(--on-dark); padding: 12px 16px; }
.springen:focus { top: 8px; }
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.klein { font-size: var(--step-small); }

/* ===== 2 Aktionen ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 700 var(--step-body)/1 var(--font);
  text-decoration: none; text-align: center; border: 0; border-radius: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--primaer { background: var(--green); color: var(--anthracite); }
.btn--dunkel { background: var(--anthracite); color: var(--on-dark); }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em;
  transition: color var(--t-hover) ease;
}
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primaer:hover { background: var(--green-press); }
  .btn--dunkel:hover { background: var(--anthracite-2); }
  .link:hover { color: var(--green-ink); }
  .vn .link:hover, .fuss .link:hover { color: var(--green); }
}

/* ===== 3 Kopf und Navigation ===== */
.kopf {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  transition: box-shadow var(--t-hover) ease;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--m);
}
.kopf-logo { display: inline-flex; min-height: 44px; align-items: center; }
.kopf-logo img { width: clamp(120px, 11vw, 150px); height: auto; }
.kopf-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 40px); }
.kopf-anruf { white-space: nowrap; }
.nav-liste { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 24px); }
.nav-liste > li > a, .sub-knopf { white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  font: 500 var(--step-body)/1 var(--font); color: inherit; background: none; border: 0; border-radius: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; text-decoration-thickness: 0.1em;
  transition: text-decoration-color var(--t-hover) ease;
}
.nav-liste a[aria-current="page"], .sub-knopf[data-aktiv] { text-decoration-color: var(--green); }
.sub-knopf::after {
  content: ""; width: 0.42em; height: 0.42em; margin: 0 0 0 0.5em;
  border-right: 0.13em solid currentColor; border-bottom: 0.13em solid currentColor;
  transform: translateY(-0.18em) rotate(45deg); transition: transform var(--t-hover) var(--ease-out);
}
.sub-knopf[aria-expanded="true"]::after { transform: translateY(0.12em) rotate(-135deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-liste > li > a:hover, .sub-knopf:hover { text-decoration-color: var(--green); }
}
.hat-sub { position: relative; }
.sub {
  display: none; position: absolute; top: calc(100% + 8px); left: -14px; z-index: 45;
  min-width: 290px; padding: 10px 0; background: var(--paper);
  box-shadow: 0 18px 40px rgba(33, 41, 47, 0.16); /* taste-skill-ignore: Untermenue schwebt */
}
.js .hat-sub.is-offen .sub, html:not(.js) .hat-sub:focus-within .sub { display: block; }
.sub a {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px;
  font-weight: 500; text-decoration: none; transition: background-color var(--t-hover) ease;
}
.sub a::before { content: ""; width: 10px; height: 10px; background: transparent; flex: none; }
.sub a[aria-current="page"]::before { background: var(--green); }
.sub a:hover, .sub a:focus-visible { background: var(--paper-2); }
.sub a:focus-visible { outline-offset: -3px; }
.menu-knopf { display: none; }

/* ===== 4 Startseite ===== */

/* Hero: der Satz */
.hero { padding: clamp(24px, 4vw, 64px) var(--m) 0; }
.satz { font-size: var(--step-satz); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; }
.satz-z { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.satz-in { display: block; white-space: nowrap; }
.satz-bild {
  display: inline-block; position: relative;
  width: 2.3em; height: 0.74em; vertical-align: baseline;
  overflow: clip; background: var(--paper-2);
}
.satz-bild picture, .satz-bild img, .satz-bild svg { width: 100%; height: 100%; }
.satz-bild img { object-fit: cover; object-position: 50% 55%; }
.satz-bild .zeichnung { position: absolute; inset: 0; }
.wort { display: inline-block; }

.hero-unten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; margin-top: clamp(28px, 3vw, 48px); }
.hero-text { grid-column: 1 / span 5; }
.hero-lead { font-size: var(--step-lead); line-height: 1.38; max-width: 34ch; }
.hero-fakten { margin-top: 18px; font-size: var(--step-small); color: var(--soft); }
.wahl-block { grid-column: 6 / span 7; }
.wahl-titel { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wahl-chip { position: relative; cursor: pointer; }
.wahl-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wahl-chip span {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 clamp(16px, 1.4vw, 22px);
  background: var(--paper-2); font-size: var(--step-lead); font-weight: 500;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.wahl-chip:active span { transform: scale(0.97); }
.wahl-chip input:checked + span { background: var(--anthracite); color: var(--on-dark); }
.wahl-chip input:focus-visible + span { outline: 3px solid var(--anthracite); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .wahl-chip:hover input:not(:checked) + span { background: var(--hover-chip); } }
html:not(.js) .wahl { display: none; }

.vorhaben { margin-top: clamp(40px, 4vw, 64px); }
.vh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: end; }
.vh + .vh { margin-top: 64px; }
.js .vh:not(.is-aktiv) { display: none; }
.js .vh + .vh { margin-top: 0; }
.vh-bild { grid-column: 1 / span 7; position: relative; aspect-ratio: 16 / 9; overflow: clip; background: var(--paper-2); }
.vh-bild picture, .vh-bild img, .vh-bild svg { width: 100%; height: 100%; }
.vh-bild img { object-fit: cover; }
.vh-bild figcaption { position: absolute; left: 16px; bottom: 16px; font-size: var(--step-small); }
.vh-text { grid-column: 8 / span 5; padding-bottom: 4px; }
.vh-text h3 { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.punkte { margin-top: 16px; }
.punkte li { position: relative; padding-left: 1.3em; margin-top: 8px; }
.punkte li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.6em; height: 0.6em; background: var(--green); }
.vh-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; }

/* Leistungen: sechs Farbflaechen, jede ein Link */
.felder { margin-top: var(--section); }
.feld {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto;
  column-gap: var(--gutter);
  min-height: clamp(180px, 22svh, 214px);
  padding: 24px var(--m) 22px;
  transition: background-color var(--t-hover) ease;
}
.feld--gruen { background: var(--green); color: var(--anthracite); }
.feld--dunkel { background: var(--anthracite); color: var(--on-dark); }
.feld--blass { background: var(--green-pale); color: var(--anthracite); }
.feld-kopf { grid-column: 1 / span 6; grid-row: 1; font-size: var(--step-lead); line-height: 1.2; }
.feld-text { grid-column: 8 / span 4; grid-row: 1 / span 2; max-width: 38ch; }
.feld-satz {
  grid-column: 1 / span 7; grid-row: 3; align-self: end; padding-top: 24px;
  font-size: var(--step-feld); line-height: 0.95; letter-spacing: -0.04em;
  transition: transform 420ms var(--ease-expo);
}
.feld-link { text-decoration: none; }
.feld-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feld-link:focus-visible { outline: none; }
.feld:focus-within { outline: 3px solid currentColor; outline-offset: -8px; }
.feld-mehr {
  grid-column: 8 / span 5; grid-row: 3; align-self: end;
  font-weight: 700; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em;
}
.feld:nth-child(even) .feld-text { grid-column: 1 / span 4; }
.feld:nth-child(even) .feld-satz { grid-column: 6 / span 7; justify-self: end; text-align: right; }
.feld:nth-child(even) .feld-mehr { grid-column: 1 / span 4; }
@media (hover: hover) and (pointer: fine) {
  .feld--gruen:hover { background: var(--green-press); }
  .feld--dunkel:hover { background: var(--anthracite-2); }
  .feld--blass:hover { background: var(--hover-chip); }
  .feld:hover .feld-satz { transform: translateX(12px); }
  .feld:nth-child(even):hover .feld-satz { transform: translateX(-12px); }
}

/* Vorher und nachher (Startseite): dunkles Feld, Text links, Umschalter rechts */
.vn {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px;
  padding: clamp(56px, 6vw, 96px) var(--m);
  background: var(--anthracite); color: var(--on-dark);
}
.vn-text { grid-column: 1 / span 6; align-self: center; }
.vn h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; max-width: 9em; }
.vn-lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.4; max-width: 32ch; }
.vn-hinweis { margin-top: 16px; color: var(--muted-on-dark); max-width: 40ch; }
.vn .vn-wechsel { grid-column: 8 / span 5; }

/* Ablauf: Zeilen, die nach rechts steigen; das Foto schliesst die Ecke links unten */
.ablauf {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  padding: var(--section) var(--m) 0;
}
.ablauf-kopf { grid-column: 9 / span 4; grid-row: 1; }
.ablauf-kopf h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.ablauf-kopf p { margin-top: 18px; font-size: var(--step-lead); line-height: 1.38; max-width: 22ch; }
.treppe { grid-column: 1 / -1; grid-row: 1; }
.treppe li { margin-left: calc(var(--i) * 10%); max-width: 46%; }
.treppe li + li { margin-top: clamp(28px, 2.6vw, 40px); }
.treppe h3 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.treppe p { margin-top: 10px; font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.treppe li:last-child h3 { color: var(--green-ink); }
.ablauf-bild { grid-column: 1 / span 3; grid-row: 1; align-self: end; }
.ablauf-bild picture { overflow: clip; }
.ablauf-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ablauf-bild figcaption { margin-top: 10px; font-size: var(--step-small); }

/* Referenzen: Namen als ein Absatz */
.werk { padding: var(--section) var(--m) 0; }
.werk-absatz { font-size: var(--step-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.werk-titel, .werk-liste, .werk-liste li { display: inline; }
.nw { white-space: nowrap; }
.werk-titel { font: inherit; font-weight: 700; color: var(--ink); }
.werk-liste li { color: var(--soft); }
.werk-liste a { color: var(--soft); text-decoration: none; transition: color var(--t-hover) ease; }
.werk-liste a:hover, .werk-liste a:focus-visible { color: var(--ink); }
.werk-bild {
  display: inline-block; width: 1.25em; height: 0.74em; margin-left: 0.18em;
  vertical-align: baseline; overflow: clip; background: var(--paper-2);
  transform-origin: left bottom; transition: transform 320ms var(--ease-out);
}
.werk-bild picture, .werk-bild img { width: 100%; height: 100%; }
.werk-bild img { object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .werk-liste a:hover .werk-bild { transform: scale(1.6); position: relative; z-index: 2; } }
.werk-liste a:focus-visible .werk-bild { transform: scale(1.6); position: relative; z-index: 2; }
.werk-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 32px; }
.werk-info { max-width: 70ch; min-height: 3.1em; }

/* Kundenstimmen: Zitat von Rand zu Rand */
.stimmen { margin-top: var(--section); padding: clamp(48px, 5vw, 80px) var(--m); background: var(--paper-2); }
.stimmen h2 { font-size: var(--step-lead); line-height: 1.2; }
.zitat-gross { margin-top: clamp(32px, 4vw, 56px); }
.zitat-gross blockquote p { font-size: var(--step-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; }
.spread { display: flex; justify-content: space-between; gap: 0.3em; }
.spread + .spread { margin-top: 0.12em; }
.spread--klein { margin-top: 24px; font-size: var(--step-lead); font-weight: 500; }
.stimmen-liste { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; margin-top: clamp(44px, 4.6vw, 72px); }
.stimmen-liste li { grid-column: span 6; max-width: 36ch; }
.stimmen-liste li:nth-child(even) { grid-column: 8 / span 5; }
.stimmen-liste blockquote p { font-size: var(--step-lead); line-height: 1.32; font-weight: 500; }
.stimme-wer { margin-top: 10px; }

/* Ueber uns: Portraet als Initiale */
.ueber { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: var(--section) var(--m) 0; }
.ueber-fakten { grid-column: 1 / span 2; padding-top: 0.4em; font-size: var(--step-small); line-height: 1.4; }
.ueber-fakten li + li { margin-top: 14px; }
.ueber-text { grid-column: 3 / span 10; }
.ueber-text h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.brief { margin-top: 32px; font-size: var(--step-lead); line-height: 1.4; }
.brief p { max-width: 50ch; }
.brief p + p { margin-top: 0.9em; }
.brief-zwei { color: var(--ink); }
.portrait {
  float: left; width: clamp(140px, 13vw, 200px); height: clamp(140px, 13vw, 200px); margin: 0.3em 0.9em 0.4em 0;
  background: var(--green-pale); display: flex; align-items: flex-end; padding: 10px;
  font-size: var(--step-small); line-height: 1.35;
}
.unterschrift { font-weight: 700; color: var(--ink); }
.ueber-mehr { font-size: var(--step-body); }

/* Haeufige Fragen: grosse Fragen, Antworten daneben */
.fragen { padding: var(--section) var(--m) 0; }
.fragen h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; max-width: 14em; }
.fragen-liste { margin-top: 36px; }
.fragen details { display: block; }
.fragen details + details { margin-top: clamp(22px, 2.2vw, 32px); }
.fragen summary {
  float: left; width: 50%; padding-right: var(--gutter);
  font-size: var(--step-lead); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer; list-style: none; min-height: 44px;
}
.fragen summary::-webkit-details-marker, .baender summary::-webkit-details-marker { display: none; }
.fragen details p { margin-left: 58.33%; max-width: 44ch; }
.fragen details::after { content: ""; display: block; clear: both; }
.fragen details:not([open]) summary { color: var(--soft); }

/* Kontakt: Adresse in Anzeigezeilen, dann das Formular */
.kontakt { margin-top: var(--section); }
.k-zeile {
  display: flex; align-items: flex-end; min-height: clamp(72px, 6vw, 92px);
  padding: 0 var(--m) 0.3em;
  font-size: var(--step-head); font-weight: 500; line-height: 1; letter-spacing: -0.03em;
}
.k-zeile:nth-child(odd) { background: var(--paper-2); }
.k-zeile h2 { font: inherit; font-weight: 700; }
.k-zeile a { text-decoration: none; padding-bottom: 0.05em; }
.k-zeile a:hover { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.k-zeile--tel { background: var(--green) !important; min-height: clamp(110px, 9.5vw, 150px); }
.k-tel { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; }
.k-schreiben { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; padding: clamp(44px, 4.5vw, 72px) var(--m) 0; }
.k-schreiben-text { grid-column: 1 / span 4; }
.k-schreiben-text h3 { font-size: var(--step-lead); line-height: 1.2; }
.k-schreiben-text p { margin-top: 14px; }
.formular { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 18px var(--gutter); }
.f-feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.k-schreiben > *, .formular > * { min-width: 0; }
.f-feld--breit { grid-column: 1 / -1; }
.f-feld label { font-weight: 500; }
.f-feld input, .f-feld select, .f-feld textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--anthracite); border-radius: 0; padding: 12px 14px; min-height: 52px; width: 100%; min-width: 0;
}
.f-feld textarea { resize: vertical; }
.f-feld input:focus-visible, .f-feld select:focus-visible, .f-feld textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 0; }
.f-check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-small); line-height: 1.45; }
.f-check input { width: 26px; height: 26px; margin: 0; flex: none; accent-color: var(--anthracite); }

/* ===== 5 Bausteine fuer Unterseiten (Doku: site/_build/README.md) ===== */

/* .sk Seitenkopf: Textfeld links, Foto rechts, zusammen eine Bildschirmhoehe */
.sk { display: grid; grid-template-columns: 7fr 5fr; min-height: clamp(520px, 76svh, 780px); }
.sk-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(32px, 4vw, 64px) var(--m) clamp(28px, 3vw, 48px);
  background: var(--green-pale); color: var(--anthracite);
}
.sk-titel { font-size: var(--step-feld); line-height: 0.98; letter-spacing: -0.035em; max-width: 9.5em; text-wrap: balance; }
.sk-lead { font-size: var(--step-lead); line-height: 1.38; max-width: 32ch; }
.sk-fakten { margin-top: 18px; font-size: var(--step-small); color: var(--muted); }
.sk-bild { position: relative; overflow: clip; background: var(--paper-2); }
.sk-bild picture { position: absolute; inset: 0; }
.sk-bild picture, .sk-bild img { width: 100%; height: 100%; }
.sk-bild img { object-fit: cover; object-position: 50% 45%; }

/* .umfang "Das gehoert dazu": grosse Ueberschrift ueber die Breite, Foto links, Tabelle rechts */
.umfang { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(40px, 4.4vw, 72px); padding: var(--section) var(--m) 0; }
.umfang-kopf { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; }
.umfang-kopf h2 { grid-column: 1 / span 7; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.045em; }
.umfang-lead { grid-column: 8 / span 5; font-size: var(--step-lead); line-height: 1.38; max-width: 30ch; padding-bottom: 0.4em; }
.umfang-bild { grid-column: 1 / span 5; }
.umfang-bild img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 60%; }
.umfang-bild figcaption { margin-top: 10px; font-size: var(--step-small); }
.umfang-liste { grid-column: 7 / span 6; }
.umfang-liste li { position: relative; padding-left: 1.6em; }
.umfang-liste li + li { margin-top: clamp(22px, 2.2vw, 32px); }
.umfang-liste li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.7em; height: 0.7em; background: var(--green); }
.umfang-liste h3 { font-size: var(--step-lead); line-height: 1.25; }
.umfang-liste p { margin-top: 4px; max-width: 46ch; }

/* .stufen "So laeuft es ab": fuenf Farbflaechen, jede hoeher als die davor (echte <ol>) */
.stufen { --stufe: clamp(170px, 14.5vw, 210px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: var(--section) var(--m) 0; }
.stufen-kopf { grid-column: 1 / span 4; grid-row: 1; align-self: start; position: relative; z-index: 1; }
.stufen-kopf h2 { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.045em; white-space: nowrap; }
.stufen-kopf p { margin-top: 16px; max-width: 26ch; }
.stufen-liste { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; }
.stufen-liste li { min-height: calc(var(--stufe) * (1 + var(--i) * 0.5)); padding: 18px 20px 20px; display: flex; flex-direction: column; justify-content: flex-start; }
.stufen-liste h3 { font-size: var(--step-lead); line-height: 1.2; }
.stufen-liste p { margin-top: 6px; }
.stufen-liste li:nth-child(1) { background: var(--paper-2); }
.stufen-liste li:nth-child(2) { background: var(--green-pale); }
.stufen-liste li:nth-child(3) { background: var(--green); color: var(--anthracite); }
.stufen-liste li:nth-child(4) { background: var(--anthracite-2); color: var(--on-dark); }
.stufen-liste li:nth-child(5) { background: var(--anthracite); color: var(--on-dark); }
.stufen-liste li:nth-child(5) h3 { color: var(--green); }

/* .nahbild Besonderheit: Foto ueber die volle Breite, Textkarte unten rechts */
.nahbild {
  position: relative; overflow: hidden; margin-top: var(--section);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end;
  min-height: clamp(560px, 86svh, 820px); padding: clamp(28px, 3vw, 48px) var(--m);
}
.nahbild-foto { position: absolute; inset: 0; margin: 0; overflow: clip; background: var(--paper-2); }
.nahbild-foto picture, .nahbild-foto img { width: 100%; height: 100%; }
.nahbild-foto img { object-fit: cover; object-position: 50% 82%; }
.nahbild-karte { position: relative; grid-column: 8 / span 5; background: var(--paper); padding: clamp(24px, 2.6vw, 40px); }
.nahbild-karte h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.nahbild-lead { margin-top: 20px; font-size: var(--step-lead); line-height: 1.38; }
.nahbild-karte p + p { margin-top: 14px; }

/* .bildreihe Fotos: Kopfspalte (Ueberschrift, Vorher/Nachher), rechts ein Raster aus Fotos */
.bildreihe { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(28px, 3vw, 44px); padding: var(--section) var(--m) 0; align-items: start; }
.bildreihe-titel { grid-column: 1 / -1; font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.bildreihe-kopf { grid-column: 1 / span 4; }
.bildreihe-kopf > p { max-width: 36ch; }
.bildreihe-kopf .vn-wechsel { margin-top: 28px; }
.bildreihe-mehr { margin-top: 12px; }
.bildreihe-fotos { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 10px; }
.bildreihe-fotos figure { margin: 0; }
.bildreihe-fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper-2); }
.bildreihe-fotos .breit { grid-column: span 2; }
.bildreihe-fotos .breit img { aspect-ratio: 3 / 2; }
.bildreihe-fotos figcaption { margin-top: 8px; font-size: var(--step-small); line-height: 1.4; }

/* .stimme-block Kundenstimme: Namensblock (dunkel) und Zitatblock (gruen) Kante an Kante */
.stimme-block { display: grid; grid-template-columns: 5fr 7fr; margin-top: var(--section); min-height: clamp(300px, 42svh, 440px); }
.sb-name { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 3vw, 44px) var(--m); background: var(--anthracite); color: var(--on-dark); }
.sb-name h2 { font-size: var(--step-lead); line-height: 1.2; }
.sb-wer { font-size: var(--step-lead); line-height: 1.3; color: var(--muted-on-dark); }
.sb-wer strong { color: var(--on-dark); }
.sb-zitat { display: flex; align-items: flex-end; padding: clamp(28px, 3vw, 44px) var(--m); background: var(--green); color: var(--anthracite); }
.sb-zitat p { font-size: var(--step-head); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; max-width: 13em; }

/* .baender Fragen: ein Band pro Frage, zwei Toene im Wechsel, Antworten offen */
.baender { margin-top: var(--section); }
.baender-titel { padding: 0 var(--m); font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; margin-bottom: clamp(28px, 3vw, 44px); }
.baender-liste details { display: block; padding: clamp(28px, 3vw, 48px) var(--m); }
.baender-liste details:nth-child(odd) { background: var(--paper-2); }
.baender-liste details:nth-child(even) { background: var(--green-pale); }
.baender summary {
  float: left; width: 41.66%; padding-right: var(--gutter);
  font-size: var(--step-lead); font-weight: 700; line-height: 1.25; cursor: pointer; list-style: none; min-height: 44px;
}
.baender details p { margin-left: 50%; max-width: 46ch; font-size: var(--step-body); }
.baender details::after { content: ""; display: block; clear: both; }

/* ===== 6 Gemeinsame Teile ===== */

/* Vorher/Nachher-Umschalter (Baustein vorher-nachher). Ohne JS: beide Fotos untereinander. */
.vn-rahmen { display: grid; gap: 12px; }
.vn-bild { position: relative; margin: 0; }
.vn-bild img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.vn-bild[data-vn-bild="vorher"] img { object-position: 50% 62%; }
.vn-bild figcaption { position: absolute; left: 0; top: 0; padding: 8px 14px; background: var(--paper); color: var(--anthracite); font-weight: 700; font-size: var(--step-small); }
.js .vn-rahmen { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.js .vn-bild { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 420ms var(--ease-out), visibility 0s linear 420ms; }
.js .vn-bild.is-an { opacity: 1; visibility: visible; transition-delay: 0s; }
.js .vn-bild picture, .js .vn-bild img { height: 100%; }
.vn-knoepfe { display: none; gap: 8px; margin-top: 10px; }
.js .vn-knoepfe { display: flex; }
.vn-knoepfe button {
  flex: 1 1 0; min-height: 52px; padding: 0 22px;
  font: 700 var(--step-body)/1 var(--font); border: 0; border-radius: 0; cursor: pointer;
  background: var(--paper-2); color: var(--anthracite);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.vn-knoepfe button[aria-pressed="true"] { background: var(--green); }
.vn-knoepfe button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .vn-knoepfe button[aria-pressed="false"]:hover { background: var(--hover-chip); } }

/* Kontaktband (Baustein contact-band): Satz, grosse Nummer, kleines Foto, Wege */
.kontaktband {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: start;
  margin-top: var(--section); padding: clamp(56px, 6vw, 96px) var(--m);
  background: var(--green); color: var(--anthracite);
}
.kb-satz { grid-column: 1 / span 7; }
.kb-satz h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.kb-satz p { margin-top: 16px; font-size: var(--step-lead); line-height: 1.38; max-width: 34ch; }
.kb-tel {
  grid-column: 1 / span 7; grid-row: 2; justify-self: start;
  font-size: var(--step-display); font-weight: 700; line-height: 1; letter-spacing: -0.045em; text-decoration: none;
  transition: color var(--t-hover) ease;
}
.kb-tel:hover { text-decoration: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.1em; }
.kb-bild { grid-column: 8 / span 2; grid-row: 1 / span 2; margin: 0; }
.kb-bild img { width: 100%; max-width: 170px; aspect-ratio: 1 / 1; object-fit: cover; }
.kb-wege { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.kb-wege h3 { font-size: var(--step-lead); line-height: 1.2; }
.kb-wege p { margin-top: 14px; }
.kb-wege .btn { width: 100%; }
.kb-klein { font-size: var(--step-small); line-height: 1.45; }

/* Verwandte Leistungen (Baustein related): eine Zeile pro Leistung in Plakatgroesse */
.verwandt { padding: var(--section) var(--m) 0; }
.verwandt h2 { font-size: var(--step-lead); line-height: 1.2; }
.verwandt-liste { margin-top: 20px; }
.verwandt-liste a {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end;
  padding: 10px 0; text-decoration: none;
}
.vw-name { grid-column: 1 / span 7; font-size: var(--step-display); font-weight: 700; line-height: 1; letter-spacing: -0.045em; transition: transform 420ms var(--ease-expo), color var(--t-hover) ease; }
.vw-satz { grid-column: 8 / span 5; font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; padding-bottom: 0.3em; }
@media (hover: hover) and (pointer: fine) { .verwandt-liste a:hover .vw-name { transform: translateX(14px); color: var(--green-ink); } }

/* Fuss */
.fuss {
  position: relative; overflow: hidden;
  margin-top: var(--section);
  display: flex; flex-direction: column;
  padding: clamp(56px, 5.5vw, 88px) var(--m) 0;
  background: var(--anthracite); color: var(--on-dark);
}
.kontaktband + .fuss, main:has(> .kontaktband:last-child) + .fuss { margin-top: 0; }
.fuss-oben { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.fuss-einladung { grid-column: 1 / span 5; }
.fuss-logo { width: 150px; height: auto; margin-bottom: 32px; }
.fuss-einladung h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; max-width: 7em; }
.fuss-einladung .btn { margin-top: 28px; }
.fuss-nav { grid-column: 6 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); padding-top: 4px; }
.fuss-nav a, .fuss-adresse a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.fuss-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 0.3em; text-decoration-thickness: 0.1em; }
.fuss-nav a:hover, .fuss-adresse a:hover { text-decoration: underline; }
.fuss-adresse { grid-column: 10 / span 3; padding-top: 12px; line-height: 1.6; color: var(--muted-on-dark); }
.fuss-adresse strong { color: var(--on-dark); font-weight: 700; }
.fuss-adresse a { color: var(--on-dark); }
.fuss-recht {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: auto; padding-top: 40px;
  font-size: var(--step-small); color: var(--muted-on-dark);
}
.fuss-marke {
  font-size: 27vw; font-weight: 800; line-height: 0.8; letter-spacing: -0.05em;
  white-space: nowrap; color: var(--green);
  margin-left: -0.04em; margin-bottom: -0.19em;
}

/* Anrufleiste: nur Handy, immer sichtbar */
.leiste { display: none; }

/* ===== 7 Tablet ===== */
@media (max-width: 1080px) {
  .kopf { gap: 12px; }
  .kopf-anruf { padding: 0 18px; }
  .hero-text { grid-column: 1 / span 6; }
  .wahl-block { grid-column: 7 / span 6; }
  .feld-text { grid-column: 7 / span 6; }
  .feld:nth-child(even) .feld-text { grid-column: 1 / span 6; }
  .feld-satz { grid-column: 1 / span 8; }
  .feld:nth-child(even) .feld-satz { grid-column: 5 / span 8; }
  .feld-mehr { grid-column: 9 / span 4; justify-self: end; text-align: right; }
  .feld:nth-child(even) .feld-mehr { grid-column: 1 / span 4; justify-self: start; text-align: left; }
  .vn-text { grid-column: 1 / span 6; }
  .vn .vn-wechsel { grid-column: 7 / span 6; }
  .treppe li { max-width: 62%; margin-left: calc(var(--i) * 8%); }
  .ablauf-kopf { grid-column: 1 / -1; margin-bottom: 40px; }
  .ablauf-kopf p { max-width: none; }
  .treppe, .ablauf-bild { grid-row: 2; }
  .ablauf-bild { grid-column: 1 / span 3; }
  .ueber-fakten { grid-column: 1 / span 3; }
  .ueber-text { grid-column: 4 / span 9; }
  .fragen summary { float: none; width: auto; padding-right: 0; }
  .fragen details p { margin-left: 0; padding-top: 10px; max-width: 56ch; }
  .k-schreiben-text, .formular { grid-column: 1 / -1; }

  .sk { min-height: 0; }
  .sk-bild { min-height: 520px; }
  .umfang-kopf h2 { grid-column: 1 / -1; }
  .umfang-lead { grid-column: 1 / span 9; margin-top: 18px; }
  .umfang-bild { grid-column: 1 / span 5; }
  .umfang-liste { grid-column: 6 / span 7; }
  .stufen { --stufe: 150px; }
  .stufen-kopf { grid-column: 1 / span 6; }
  .stufen-liste { gap: 6px; }
  .stufen-liste li { padding: 14px 14px 16px; }
  .nahbild-karte { grid-column: 5 / span 8; }
  .bildreihe-kopf { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .bildreihe-kopf > * { grid-column: 1; }
  .bildreihe-kopf > div { grid-column: 2; grid-row: 1 / span 4; }
  .bildreihe-kopf .vn-wechsel { margin-top: 0; }
  .bildreihe-fotos { grid-column: 1 / -1; }
  .stimme-block { grid-template-columns: 1fr 2fr; }
  .baender summary { width: 45%; }
  .kb-satz { grid-column: 1 / span 8; }
  .kb-tel { grid-column: 1 / span 9; }
  .kb-bild { grid-column: 10 / span 3; grid-row: 1; }
  .kb-wege { grid-column: 1 / span 8; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .kb-wege h3, .kb-wege .kb-klein { flex: 1 1 100%; }
  .kb-wege p { margin-top: 0; }
  .kb-wege .btn { width: auto; }
  .vw-name { grid-column: 1 / span 6; }
  .vw-satz { grid-column: 7 / span 6; }
  .fuss-einladung { grid-column: 1 / span 6; }
  .fuss-nav { grid-column: 7 / span 6; }
  .fuss-adresse { grid-column: 7 / span 6; padding-top: 0; }
}

/* ===== 8 Handy ===== */
@media (max-width: 760px) {
  :root { --leiste-h: calc(68px + env(safe-area-inset-bottom)); }
  .kopf { padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .kopf-logo img { width: 116px; }
  .js .menu-knopf {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
    font: 700 var(--step-body)/1 var(--font); background: var(--paper-2); color: var(--ink); border: 0; border-radius: 0; cursor: pointer;
  }
  .js .kopf-nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100svh - 70px - var(--leiste-h)); overflow-y: auto;
    padding: 4px var(--m) 20px; background: var(--paper);
    box-shadow: 0 18px 32px rgba(33, 41, 47, 0.18); /* taste-skill-ignore: Menue schwebt */
  }
  .js .kopf.is-offen .kopf-nav { display: flex; }
  .nav-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-liste > li > a, .sub-knopf { min-height: 52px; width: 100%; font-size: var(--step-lead); justify-content: flex-start; padding: 0 4px; }
  .sub { position: static; display: block; min-width: 0; padding: 0 0 8px; box-shadow: none; background: transparent; } /* taste-skill-ignore: Schatten aus */
  .js .hat-sub:not(.is-offen) .sub { display: none; }
  .sub a { min-height: 48px; padding: 0 4px 0 12px; }
  .kopf-anruf { margin-top: 12px; }
  html:not(.js) .kopf-nav { width: 100%; flex-wrap: wrap; }
  html:not(.js) .nav-liste { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  html:not(.js) .sub { display: block; }

  /* Hero: Foto bekommt im Satz eine eigene Zeile */
  .hero { padding-top: 20px; }
  .satz { font-size: clamp(2.25rem, 10.4vw, 3.5rem); letter-spacing: -0.045em; }
  .satz-z--bild .satz-in { white-space: normal; }
  .satz-bild { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0.12em 0 0.06em; }
  .hero-unten { grid-template-columns: 1fr; margin-top: 22px; row-gap: 32px; }
  .hero-text, .wahl-block { grid-column: 1; }
  .hero-lead { font-size: var(--step-body); }
  .aktionen { margin-top: 20px; }
  .wahl-chip span { min-height: 48px; font-size: var(--step-body); padding: 0 16px; }
  .vh { grid-template-columns: 1fr; }
  .vh-bild, .vh-text { grid-column: 1; }
  .vh-bild { aspect-ratio: 4 / 3; }
  .vh-aktionen .btn { flex: 1 1 100%; }

  .feld { grid-template-columns: 1fr; min-height: 0; padding: 22px var(--m) 20px; }
  .feld-kopf, .feld-text, .feld-satz, .feld-mehr,
  .feld:nth-child(even) .feld-text, .feld:nth-child(even) .feld-satz, .feld:nth-child(even) .feld-mehr { grid-column: 1; justify-self: start; text-align: left; }
  .feld-kopf { grid-row: 1; margin-bottom: 14px; }
  .feld-text { grid-row: 2; }
  .feld-satz { grid-row: 3; padding-top: 20px; }
  .feld-mehr { grid-row: 4; margin-top: 10px; }

  .vn { grid-template-columns: 1fr; }
  .vn-text, .vn .vn-wechsel { grid-column: 1; }
  .js .vn-rahmen, .vn-bild img { aspect-ratio: 4 / 5; }

  .ablauf { display: flex; flex-direction: column; }
  .ablauf-kopf p { max-width: none; }
  .treppe { margin-top: 36px; }
  .treppe li { max-width: none; margin-left: calc(var(--i) * 4.5vw); }
  .treppe li + li { margin-top: 32px; }
  .ablauf-bild { margin-top: 40px; }

  .werk-absatz { line-height: 1.1; }
  .werk-titel { display: block; margin-bottom: 14px; }
  .werk-liste { display: block; }
  .werk-liste li { display: block; padding: 4px 0; }
  .werk-liste a { color: var(--ink); }
  .werk-liste li:nth-child(n+4) .werk-bild { display: none; }
  .werk-fuss .btn { width: 100%; }

  .zitat-gross blockquote p { font-size: var(--step-head); letter-spacing: -0.04em; }
  .spread--klein { flex-direction: column; gap: 4px; font-size: var(--step-body); }
  .stimmen-liste { grid-template-columns: 1fr; }
  .stimmen-liste li, .stimmen-liste li:nth-child(even) { grid-column: 1; }

  .ueber { display: flex; flex-direction: column-reverse; gap: 36px; }
  .ueber-fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-top: 0; }
  .ueber-fakten li + li { margin-top: 0; }
  .portrait { width: 120px; height: 120px; }

  .fragen-liste { margin-top: 32px; }
  .fragen details p { padding-top: 8px; }

  .k-zeile { min-height: 76px; }
  .k-zeile--tel { min-height: 112px; }
  .k-schreiben { grid-template-columns: 1fr; }
  .k-schreiben-text, .formular { grid-column: 1; }
  .formular { grid-template-columns: 1fr; }

  /* Unterseiten */
  .sk { grid-template-columns: 1fr; }
  .sk-text { gap: 28px; padding-top: 28px; }
  .sk-bild { min-height: 0; aspect-ratio: 4 / 3; }
  .umfang { grid-template-columns: 1fr; }
  .umfang-kopf { display: block; }
  .umfang-kopf h2 { font-size: var(--step-head); }
  .umfang-bild, .umfang-liste, .umfang-lead { grid-column: 1; }
  .stufen { display: block; }
  .stufen-kopf h2 { font-size: var(--step-head); white-space: normal; }
  .stufen-liste { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 28px; }
  .stufen-liste li { min-height: 0; width: calc(64% + var(--i) * 9%); padding: 16px 16px 18px; }
  .nahbild { display: block; min-height: 0; padding: 0; overflow: visible; }
  .nahbild-foto { position: relative; aspect-ratio: 4 / 3; }
  .nahbild-karte { background: var(--paper-2); padding: 28px var(--m) 32px; }
  .bildreihe { grid-template-columns: 1fr; }
  .bildreihe-kopf { display: block; }
  .bildreihe-kopf .vn-wechsel { margin-top: 24px; }
  .bildreihe-fotos { grid-column: 1; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 22px 8px; }
  .stimme-block { grid-template-columns: 1fr; min-height: 0; }
  .sb-name { gap: 20px; }
  .sb-zitat { padding-top: 36px; padding-bottom: 40px; }
  .baender summary { float: none; width: auto; padding-right: 0; }
  .baender details p { margin-left: 0; padding-top: 8px; }
  .kontaktband { grid-template-columns: 1fr; row-gap: 22px; }
  .kb-satz, .kb-tel, .kb-wege { grid-column: 1; grid-row: auto; }
  .kb-bild { display: none; }
  .kb-wege { display: block; }
  .kb-wege p { margin-top: 12px; }
  .kb-wege .btn { width: 100%; }
  .verwandt-liste a { grid-template-columns: 1fr; row-gap: 6px; padding: 12px 0; }
  .vw-name, .vw-satz { grid-column: 1; }
  .vw-name { font-size: var(--step-feld); }

  .fuss-oben { grid-template-columns: 1fr; }
  .fuss-einladung, .fuss-nav, .fuss-adresse { grid-column: 1; }
  .fuss-einladung h2 { font-size: var(--step-display); }
  .fuss-einladung .btn { width: 100%; }
  .fuss-marke { font-size: 34vw; }

  .leiste {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    height: var(--leiste-h);
    padding: 8px var(--m) calc(8px + env(safe-area-inset-bottom));
    background: var(--paper);
    box-shadow: 0 -8px 24px rgba(33, 41, 47, 0.14); /* taste-skill-ignore: feste Leiste schwebt */
  }
  .leiste .btn { min-height: 52px; padding: 0 12px; }
}

/* ===== 9 Bewegung ===== */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: no-preference) {
  /* Signatur: das Bild im Satz oeffnet sich wie ein Verschluss */
  .js .satz-bild, .js .sk-bild { clip-path: inset(0 100% 0 0); animation: verschluss 1100ms var(--ease-in-out) 220ms forwards; }
  .js .satz-bild img, .js .sk-bild img { transform: scale(1.12); animation: setzen 1500ms var(--ease-soft) 220ms forwards; }
  .js .satz-in { transform: translateY(105%); animation: zeile 900ms var(--ease-expo) forwards; animation-delay: calc(80ms + var(--i, 0) * 110ms); }
  .js .satz-z + .satz-z .satz-in { --i: 1; }
  .js .hero-unten > *, .js .sk-text > * { opacity: 0; transform: translateY(14px); animation: auf 600ms var(--ease-out) forwards; }
  .js .hero-unten > .hero-text, .js .sk-text > :first-child { animation-delay: 300ms; }
  .js .hero-unten > .wahl-block, .js .sk-text > :last-child { animation-delay: 440ms; }

  .js [data-reveal].is-wait { opacity: 0; transform: translateY(24px); }
  .js .treppe li[data-reveal].is-wait { transform: translate(-28px, 16px); }
  .js .stufen-liste li[data-reveal].is-wait { transform: translateY(48px); }
  .js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-expo) var(--d, 0ms); }
  .js .treppe li[data-reveal].is-in, .js .stufen-liste li[data-reveal].is-in { transition-delay: calc(var(--i) * 80ms); }

  .vh-bild.is-neu { animation: vh-neu 700ms var(--ease-expo); }
}
@keyframes verschluss { to { clip-path: inset(0); } }
@keyframes setzen { to { transform: none; } }
@keyframes zeile { to { transform: none; } }
@keyframes auf { to { opacity: 1; transform: none; } }
@keyframes vh-neu { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }

/* ein bewegtes Bild: langsame Drift beim Scrollen */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .nahbild-drift img, .ablauf-bild img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes drift { from { transform: scale(1.1) translateY(-3%); } to { transform: scale(1.1) translateY(3%); } }

/* Gemeinsame Ergaenzungen (Integration nach Ausbau) */
.kf-fehler { padding: 14px 18px; background: var(--anthracite); color: var(--on-dark); font-weight: 500; }
.kb-tel { display: inline-flex; align-items: center; min-height: 44px; }

/* Kopf bleibt oben stehen (sticky). Beim Scrollen bekommt er nur einen leichten Schatten, weil er dann ueber dem Inhalt schwebt.
   Die Hoehe bleibt bewusst gleich: Wechselnde Hoehe verschiebt die Seite und fuehrt an der Schwelle zum Flackern. */
:root { --kopf-h: 84px; }
.kopf.is-gescrollt { box-shadow: 0 6px 20px rgba(33, 41, 47, 0.10); } /* taste-skill-ignore: Kopf schwebt beim Scrollen */
/* Abdunklung hinter dem offenen Handy-Menue: Tippen schliesst das Menue */
.menu-dunkel { position: fixed; inset: 0; z-index: 45; background: rgba(33, 41, 47, 0.45); border: 0; padding: 0; cursor: pointer; opacity: 0; transition: opacity var(--t-hover) ease; }
.menu-dunkel.is-sichtbar { opacity: 1; }
html.menu-offen { overflow: hidden; }
@media (max-width: 760px) { :root { --kopf-h: 68px; } }
@media (prefers-reduced-motion: reduce) { .kopf, .menu-dunkel { transition: none; } }
