/* Malerbetrieb Musterbach (erfundener Testbetrieb, Probebrief 25.10.2026; am 29.10.2026 auf diesen ersten Stand zurück, Q&A Frage 211,
   vierter Nachtrag)
   Idee: Frankfurter Gründerzeit-Fassaden. Die Überschrift steht auf der freien Putzwand des Heldenbilds wie eine alte
   Fassadenschrift (am Handy auf einem Hochformat-Ausschnitt der Wand, Q&A Frage 211, sechster Nachtrag); darunter das Band wie ein Bauschild am Gerüst: Name und Meisterbetrieb. Ohne Telefonnummer im Band und im
   Kopf und ohne feste Leiste am Handy (Wünsche des Inhabers): Die große Nummer rechts im farbigen Band und die Nummer oben im Kopf
   machten die Seite zum Zwilling des SHK-Musterbeispiels. Die Nummer steht im Anruf-Knopf, bei den Leistungen, im Kontakt und im
   Fuß; „Besichtigung anfragen“ springt zum Formular, das genauso heißt.
   Mainsandstein-Rot ist die einzige Akzentfarbe und markiert nur, was man anklicken kann (plus das Bauschild). Fläche fast weiß,
   Tinte im Farbton des Sandsteins. Ecken scharf wie abgeklebte Kanten, Knöpfe mit 3 px. Überschriften als sachliche Etiketten. */

/* Special Gothic, Copyright 2023 The Special Gothic Project Authors (https://github.com/AlistairMcCready/Special-Gothic/), SIL Open Font License 1.1 */
@font-face {
  font-family: "Special Gothic";
  src: url(/__seite/cd2f236d-230c-4b65-a7cd-148e0eea7daf/schriften/special-gothic.woff2) format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

/* Schibsted Grotesk, Copyright 2023 The Schibsted-Grotesk Project Authors (https://github.com/schibsted/schibsted-grotesk), SIL Open Font License 1.1 */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url(/__seite/cd2f236d-230c-4b65-a7cd-148e0eea7daf/schriften/schibsted-grotesk.woff2) format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --papier: oklch(0.985 0.003 75);
  --stein: oklch(0.935 0.012 55);
  --tinte: oklch(0.25 0.02 40);
  --tinte-2: oklch(0.42 0.018 40);
  --sandstein: oklch(0.52 0.105 35);
  --sandstein-tief: oklch(0.46 0.1 35);
  --weiss: oklch(1 0 0);
  --linie: color-mix(in oklch, var(--tinte) 14%, transparent);

  --display: "Special Gothic", "Arial Narrow", sans-serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --rand: clamp(1.25rem, 4vw, 3rem);
  --breite: 80rem;
  --rinne: 1.5rem;
  --abstand-abschnitt: clamp(4.5rem, 2rem + 7vw, 9rem);
  --abstand-titel: 1.5rem;
  --abstand-inhalt: clamp(2.5rem, 1.5rem + 2.5vw, 4rem);
  --radius: 3px;

  --kopf-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
html:not([data-vs-bearbeiten]) img { -webkit-user-drag: none; }

h1, h2, h3 { text-wrap: balance; hyphens: auto; }
p, li, td, th { text-wrap: pretty; hyphens: manual; overflow-wrap: break-word; }

a { color: var(--sandstein); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sandstein-tief); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sandstein); outline-offset: 3px; }

[id] { scroll-margin-top: calc(var(--kopf-h) + 1rem); }

.innen { width: min(100%, var(--breite)); margin-inline: auto; padding-inline: var(--rand); }

/* ---------- Icons (eigene Zeichnungen, Raster 24, Strich 1,8) ---------- */

.icon::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.45em;
  vertical-align: -0.2em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon-telefon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5h3l1.5 4-2 1.5a11 11 0 0 0 7.5 7.5l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16.5 16.5 0 0 1 3 5.5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.icon-ort { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--sandstein);
  border-radius: var(--radius);
  background: var(--sandstein);
  color: var(--weiss);
  font: 650 1.0625rem/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
}
.knopf:hover { background: var(--sandstein-tief); border-color: var(--sandstein-tief); color: var(--weiss); }
.knopf-hell { background: var(--papier); color: var(--tinte); border-color: var(--linie); }
.knopf-hell:hover { background: var(--weiss); color: var(--sandstein-tief); border-color: var(--sandstein); }

.textlink { font-weight: 600; text-decoration: underline; }

/* ---------- Kopf (sticky, nie fixed) ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--papier);
  box-shadow: 0 1px 0 var(--linie);
}
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--kopf-h); }

.marke {
  color: var(--tinte);
  text-decoration: none;
  font: 700 1.3rem/1.05 var(--display);
  font-stretch: 92%;
  letter-spacing: 0.005em;
}
.marke:hover { color: var(--tinte); }

.menue-knopf {
  flex: none;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--papier);
  color: var(--tinte);
  font: 650 1rem/1 var(--sans);
  cursor: pointer;
}

.nav a { text-decoration: none; }
.nav-liste a { color: var(--tinte); }
.nav-liste a:hover { color: var(--sandstein); }

@media (max-width: 63.99rem) {
  .nav[popover] {
    position: fixed;
    inset: auto 0.75rem calc(env(safe-area-inset-bottom) + 0.75rem) 0.75rem;
    width: auto;
    height: auto;
    margin: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    border: 0;
    border-radius: 6px;
    background: var(--papier);
    color: var(--tinte);
    box-shadow: 0 16px 48px oklch(0.25 0.02 40 / 0.28);
  }
  .nav[popover]:popover-open { display: grid; gap: 1rem; }
  .nav::backdrop { background: oklch(0.25 0.02 40 / 0.35); }
  .nav-liste { display: grid; }
  .nav-liste a { display: block; padding: 0.55rem 0; font-size: 1.25rem; font-weight: 600; }
}

/* ---------- Held: Gründerzeithaus, am Computer die Schrift auf der freien Putzwand ---------- */

.held { position: relative; overflow: hidden; overflow: clip; }

.held-bild {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  background: var(--stein);
}
.held-bild picture, .held-bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.held-bild img { object-fit: cover; object-position: 60% 55%; }

.held-text { padding-top: 1.3rem; padding-bottom: 1.4rem; }

.held h1 {
  font: 650 clamp(2.25rem, 1rem + 5.2vw, 5.75rem)/0.98 var(--display);
  font-stretch: 84%;
  letter-spacing: -0.004em;
  color: var(--tinte);
  max-width: 11ch;
}
.held-unter { margin-top: 0.85rem; max-width: 34rem; font-size: 1.25rem; line-height: 1.45; color: var(--tinte); }
.held-aktionen { display: flex; margin-top: 1.6rem; flex-wrap: wrap; gap: 0.75rem; }
/* Am Handy (ohne Leiste unten) stehen beide Knöpfe hier, untereinander und gleich breit */
@media (max-width: 47.49rem) { .held-aktionen .knopf { flex: 1 1 100%; } }

/* Am Handy und Tablet wie am Computer: Überschrift, Unterzeile und Knöpfe auf der freien Wand des Querbilds, das Band direkt
   darunter (Wunsch des Inhabers, Q&A Frage 211, sechster Nachtrag). Bild und Text teilen sich eine Rasterzelle: Wird der Text
   länger, wächst das Bild mit, statt dass der Text über das Band läuft. Am Handy ein Hochformat 4 : 5 aus dem linken Teil des
   Querbilds (die Wand mit der Hausecke), damit der Text auf der Wand Platz hat. */
@media (max-width: 63.99rem) {
  .held { display: grid; grid-template-areas: "bild" "band"; }
  .held-bild { grid-area: bild; aspect-ratio: auto; min-height: 125vw; }
  .held-bild img { object-position: 12% 50%; }
  .held-text { grid-area: bild; position: relative; z-index: 1; align-self: center; padding-block: 1.75rem; }
  .held-folge { max-width: 62vw; }
  .band { grid-area: band; }
}

/* ---------- KI-Vermerk: Bildnachweis unten rechts, ohne Fläche ---------- */

.vermerk {
  --vermerk-ton: var(--papier);
  --vermerk-hof: var(--tinte);
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  z-index: 1;
  font: 500 0.75rem/1.2 var(--sans);
  color: var(--vermerk-ton);
  text-shadow: 0 0 0.1em color-mix(in oklch, var(--vermerk-hof) 80%, transparent), 0 0 0.7em color-mix(in oklch, var(--vermerk-hof) 65%, transparent);
}
.vermerk.auf-hell { --vermerk-ton: var(--tinte); --vermerk-hof: var(--papier); }
.held-bild .vermerk { position: sticky; right: auto; bottom: calc(env(safe-area-inset-bottom) + 0.6rem); margin: 0 0.75rem 0.6rem 0; }
@media (max-width: 47.49rem) {
  .held-bild .vermerk.auf-hell { --vermerk-ton: var(--papier); --vermerk-hof: var(--tinte); }
  .abschnitt.leistungen { padding-top: 3rem; }
}

/* ---------- Bauschild: Name und Meisterbetrieb (ohne Nummer, Wunsch des Inhabers) ---------- */

.band { background: var(--sandstein); color: var(--weiss); }
.band-innen { display: grid; gap: 0.2rem; padding-top: 1.15rem; padding-bottom: 1.25rem; }
.band-name {
  font: 700 clamp(1.75rem, 1rem + 2.8vw, 3.5rem)/1.05 var(--display);
  font-stretch: 88%;
  letter-spacing: 0.005em;
}
.band-zeile {
  margin-top: 0.15rem;
  font: 600 clamp(1.35rem, 1rem + 1.2vw, 2.25rem)/1.1 var(--display);
  font-stretch: 92%;
  color: color-mix(in oklch, var(--weiss) 88%, var(--sandstein));
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding-block: var(--abstand-abschnitt) 0; }
.abschnitt h2 { font: 650 clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem)/1.15 var(--sans); letter-spacing: -0.01em; color: var(--tinte); }
.abschnitt-text { margin-top: var(--abstand-titel); max-width: 38rem; color: var(--tinte-2); font-size: 1.125rem; }
.abschnitt h3 { font: 650 1.25rem/1.25 var(--sans); color: var(--tinte); }
.weiter { margin-top: var(--abstand-inhalt); font-size: 1.125rem; }

/* Leistungen: am Handy untereinander, ab Tablet zwei, am Computer vier Spalten; Bilder überall 4:3 */
.leistungen-liste { display: grid; gap: 2.5rem; margin-top: var(--abstand-inhalt); }
.leistung { display: grid; gap: 1rem; align-content: start; }
.leistung-bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stein); }
.leistung-bild picture, .leistung-bild img { width: 100%; height: 100%; }
.leistung-bild img { object-fit: cover; }
.leistung-text p { margin-top: 0.5rem; color: var(--tinte-2); }

/* Ablauf: echte Abfolge als kompakte Liste, die Ziffer neben der Überschrift (Zierde aus CSS, nicht im Feld) */
.ablauf-raster { display: grid; gap: var(--abstand-titel); }
.ablauf-weiter { margin-top: 1.5rem; }
.ablauf-liste { counter-reset: schritt; border-top: 1px solid var(--linie); }
.schritt {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--linie);
}
.schritt::before {
  content: counter(schritt);
  grid-row: 1 / span 2;
  font: 500 2.25rem/1 var(--display);
  font-stretch: 84%;
  color: var(--tinte);
}
.schritt h3, .schritt p { grid-column: 2; }
.schritt p { margin-top: 0.3rem; color: var(--tinte-2); }

/* Über uns mit dem Einsatzgebiet: der Fotoplatz zurückhaltend groß, die Orte als Typografie */
.ueber-raster { display: grid; gap: var(--abstand-titel); }
.ueber-bild { position: relative; aspect-ratio: 1 / 1; max-width: 16rem; background: var(--stein); }
.ueber-bild img { width: 100%; height: 100%; object-fit: cover; }
.foto-hinweis {
  position: absolute;
  left: 0.75rem;
  bottom: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  background: var(--papier);
  color: var(--tinte-2);
  font: 600 0.8125rem/1.3 var(--sans);
}
.ueber-name { margin-top: 0; }
.ueber-text > p { margin-top: 0.6rem; max-width: 38rem; color: var(--tinte-2); }
.fakten { display: grid; gap: 0.35rem; }
.fakten li { padding-left: 1.1rem; position: relative; color: var(--tinte); font-weight: 600; }
.fakten li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.5rem; height: 2px; background: var(--sandstein); }
.ueber-gebiet { margin-top: 1rem; }
.ueber-gebiet .gebiet-text { margin-top: 0.4rem; color: var(--tinte-2); }
.orte { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.orte li {
  font: 500 clamp(1.2rem, 1rem + 0.5vw, 1.5rem)/1.25 var(--display);
  font-stretch: 90%;
  color: var(--tinte);
  padding-block: 0.3rem;
  border-bottom: 1px solid var(--linie);
}
.ueber .weiter { margin-top: 1.5rem; }

/* Kontakt */
.kontakt { padding-bottom: var(--abstand-abschnitt); }
.kontakt-raster { display: grid; gap: var(--abstand-inhalt); }
.kontakt-wege > * + * { margin-top: 0.9rem; }
.kontakt-nummer { margin-top: var(--abstand-titel) !important; }
.kontakt-nummer a {
  display: inline-flex;
  align-items: center;
  font: 600 clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem)/1 var(--display);
  font-stretch: 96%;
  text-decoration: none;
  white-space: nowrap;
}
.kontakt-nummer a::before { width: 0.8em; height: 0.8em; }
.kontakt-adresse { display: flex; align-items: flex-start; color: var(--tinte); }
.kontakt-adresse::before { margin-top: 0.25em; color: var(--sandstein); }
.zeiten-titel { margin-top: 2rem !important; font: 650 1.0625rem/1.3 var(--sans); }
.zeiten { margin-top: 0.5rem; border-collapse: collapse; }
.zeiten th, .zeiten td { padding: 0.3rem 1.5rem 0.3rem 0; text-align: left; vertical-align: top; }
.zeiten th { font-weight: 400; color: var(--tinte-2); }
.zeiten td { white-space: nowrap; padding-right: 0; }
.kontakt-formular { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--stein); }
.kontakt-hinweis { margin-top: 0.5rem; margin-bottom: 1.25rem; color: var(--tinte-2); }

/* Systemformular: das System setzt Formular, Beschriftungen, Felder und Button an Stelle des Markers ein. Auswahl, Fotofeld und Häkchen,
   die es auf Wunsch des Betriebs dazusetzt, gestalten dieselben Regeln wie die Textfelder. */
.kontakt-formular form { display: grid; gap: 1rem; }
.kontakt-formular label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9375rem; }
.kontakt-formular input,
.kontakt-formular select,
.kontakt-formular textarea {
  width: 100%;
  font: 400 1.0625rem/1.4 var(--sans);
  color: var(--tinte);
  background: var(--papier);
  border: 1px solid color-mix(in oklch, var(--tinte) 28%, transparent);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
}
.kontakt-formular textarea { min-height: 8rem; resize: vertical; }
.kontakt-formular input:focus,
.kontakt-formular select:focus,
.kontakt-formular textarea:focus { outline: 2px solid var(--sandstein); outline-offset: 1px; border-color: var(--sandstein); }
.kontakt-formular input[type="file"] { padding: 0.55rem 0.6rem; font-size: 1rem; }
.kontakt-formular input[type="checkbox"] { accent-color: var(--sandstein); min-width: 1.25rem; min-height: 1.25rem; }
.kontakt-formular .formular-fotos,
.kontakt-formular .rueckruf { margin: 0; }
.kontakt-formular .rueckruf { gap: 1rem; }
.kontakt-formular .rueckruf-haken { font-weight: 400; }
.kontakt-formular form p { font-size: 0.875rem; line-height: 1.5; color: var(--tinte-2); }
.kontakt-formular button {
  justify-self: start;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  font: 700 1.0625rem/1.2 var(--sans);
  color: var(--weiss);
  background: var(--sandstein);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.kontakt-formular button:hover { background: var(--sandstein-tief); }
.kontakt-formular .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); }
.fuss-innen { display: grid; gap: 1.25rem; padding-block: 2.5rem 3rem; font-size: 0.9375rem; color: var(--tinte-2); }
.fuss-name { font: 700 1.25rem/1.1 var(--display); font-stretch: 92%; color: var(--tinte); }
.fuss-zeile { margin-top: 0.4rem; }
.fuss-trenner { margin-inline: 0.4rem; color: var(--linie); }
.fuss-nav { display: flex; gap: 1.5rem; }
.fuss-nav a { color: var(--tinte-2); }

/* ---------- ab Tablet ---------- */

@media (min-width: 47.5rem) {
  :root { --kopf-h: 76px; }

  .held-bild { aspect-ratio: 16 / 10; }
  .band-innen { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; padding-top: 1.6rem; padding-bottom: 1.7rem; }

  .leistungen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--rinne); }
  .leistung { gap: 1.1rem; }

  .ueber-raster { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--abstand-titel) 2.5rem; align-items: start; }
  .ueber-titel { grid-column: 2; grid-row: 1; }
  .ueber-bild { grid-column: 1; grid-row: 1 / span 2; max-width: none; }
  .ueber-text { grid-column: 2; grid-row: 2; }
  .fakten { grid-column: 1; grid-row: 3; }
  .ueber-gebiet { grid-column: 2; grid-row: 3; margin-top: 0; }
  .orte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-innen { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- Computer: 12 Spalten; Text links auf der Wand, rechte Spalten beginnen bei Spalte 7 ---------- */

/* Tablet: dasselbe im Querformat 16 : 10, der Text wie am Computer auf der linken Wand */
@media (min-width: 47.5rem) and (max-width: 63.99rem) {
  .held-bild { aspect-ratio: auto; min-height: 62.5vw; }
  .held-bild img { object-position: 50% 50%; }
  .held-folge { max-width: min(34rem, 40vw); }
}

@media (min-width: 64rem) {
  .menue-knopf { display: none; }
  .nav[popover] {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    overflow: visible;
  }
  .nav-liste { display: flex; gap: clamp(1rem, 2vw, 1.85rem); }
  .nav-liste a { font-weight: 550; font-size: 1rem; padding-block: 0.5rem; }
  .nav-liste a:hover { text-decoration: underline; text-underline-offset: 0.35em; }

  /* Held: Bild über die volle Breite; in niedrigen Fenstern bleibt unten Platz, damit das Bauschild anschaut statt angeschnitten. */
  .held-bild { aspect-ratio: auto; height: min(56.25vw, calc(100svh - var(--kopf-h) - 8.5rem)); min-height: 34rem; }
  .held-bild img { object-position: 50% 50%; }
  .held-bild::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, color-mix(in oklch, var(--papier) 32%, transparent) 0%, color-mix(in oklch, var(--papier) 14%, transparent) 30%, transparent 46%);
    pointer-events: none;
  }
  .held-text {
    position: absolute;
    inset: 0 0 auto 0;
    height: min(56.25vw, calc(100svh - var(--kopf-h) - 8.5rem));
    min-height: 34rem;
    display: flex;
    align-items: center;
    padding-block: 2rem;
  }
  .held-folge { max-width: min(34rem, 40vw); }
  .held h1 { max-width: none; }
  .held-unter { font-size: clamp(1.25rem, 0.9rem + 0.55vw, 1.5rem); max-width: 30rem; }
  .held-bild .vermerk { font-size: clamp(0.75rem, 0.2rem + 0.6vw, 1.125rem); margin: 0 1.35em 1.05em 0; }

  .abschnitt-kopf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--rinne); align-items: end; }
  .abschnitt-kopf h2 { grid-column: 1 / span 5; }
  .abschnitt-kopf .abschnitt-text { grid-column: 7 / span 6; margin-top: 0; }

  /* Nach dem Bauschild weniger Luft, damit Bilder und Überschriften der Leistungen noch in den gedruckten Rahmen passen */
  .leistungen { padding-top: 4.5rem; }
  .leistungen-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .ablauf-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 0 var(--rinne); align-items: start; }
  .ablauf-kopf { grid-column: 1 / span 5; grid-row: 1; }
  .ablauf-liste { grid-column: 7 / span 6; grid-row: 1 / span 2; }
  .ablauf-weiter { grid-column: 1 / span 5; grid-row: 2; align-self: start; }

  .ueber-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: var(--abstand-titel) var(--rinne); }
  .ueber-titel { grid-column: 7 / span 6; grid-row: 1; }
  .ueber-bild { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .ueber-text { grid-column: 7 / span 6; grid-row: 2; }
  .fakten { grid-column: 1 / span 4; grid-row: 3; align-self: start; }
  .ueber-gebiet { grid-column: 7 / span 6; grid-row: 3; }
  .orte { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .kontakt-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--rinne); align-items: start; }
  .kontakt-wege { grid-column: 1 / span 5; position: sticky; top: calc(var(--kopf-h) + 2rem); }
  .kontakt-formular { grid-column: 7 / span 6; }
}

/* ---------- Bewegung: nur Ankommen im Helden ---------- */

@media (prefers-reduced-motion: no-preference) {
  html:not([data-vs-bearbeiten]) .held-bild img { animation: nachgeben 1.6s cubic-bezier(.2, .7, .1, 1) both; }
  html:not([data-vs-bearbeiten]) .held-folge > * { animation: rein 0.6s cubic-bezier(.2, .7, .1, 1) 0.05s both; }
  html:not([data-vs-bearbeiten]) .held-folge > :nth-child(2) { animation-delay: 0.15s; }
  html:not([data-vs-bearbeiten]) .held-folge > :nth-child(3) { animation-delay: 0.25s; }
}
@keyframes nachgeben { from { scale: 1.06; } }
@keyframes rein { from { opacity: 0; translate: 0 18px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .menue-knopf { display: none; }
  *, *::before, *::after { animation: none !important; }
}
