/* Stadtseiten als Landingpages (Paket L, 14.11.2026): fenstermonteur-<stadt> und <leistung>-<stadt>.
   Erzeugt von _src/staedte/generator.mjs (Funktionen sl…), Vorlagen stadt.html und stadt-leistung.html.
   Baut auf vorhandenen Bausteinen auf: .lhero--foto (leistung-hero.css), .lcard--foto, .faq, .ba, .btn, Kontaktblock.
   Die Karte kommt aus staedte.css (gehört zu Paket U). Hier nur Regeln mit sl-Präfix.
   Leitidee: Foto der Stadt groß, darunter eine weiße Leiste, die in die Unterkante des Kopfs ragt; daneben die
   Auswahl „Was steht in … an?“. Handlungsaufrufe ungefähr alle zwei Bildschirmhöhen. Bewegung nur transform/opacity. */

.sl-hero, .sl-arbeit, .sl-leist { --sl-rand: clamp(18px, 4.5vw, 120px); }

/* ---------- Kopf ---------- */
.lhero.sl-hero { overflow: visible; align-items: stretch; z-index: 1; }
.sl-hero .lhero__bg { overflow: hidden; }
.lhero--foto .sl-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas: "text wahl" "zahlen wahl";
  grid-template-rows: 1fr auto;
  column-gap: clamp(28px, 4.5vw, 88px); row-gap: clamp(36px, 4.5vw, 60px);
  padding-block: clamp(44px, 5.5vw, 80px) 0;
}
.sl-hero__text { grid-area: text; align-self: center; min-width: 0; }
.sl-hero h1 { max-width: 15ch; }
.sl-hero .lead { max-width: 44ch; }
.sl-knoepfe { gap: 12px; }
.sl-knoepfe .btn svg { flex: none; }
.sl-knopf--wa .sl-wa-ic, .sl-wege a[href*="wa.me"] svg { color: #15803d; }

/* Kennzahlen-Leiste: eine weiße Fläche, Trennlinien statt Einzelkästen; ragt in die Unterkante des Kopfs */
.sl-zahlen {
  grid-area: zahlen; align-self: end; position: relative; z-index: 2;
  list-style: none; margin: 0 0 -58px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--tm-linie-hell); border-radius: 20px;
  box-shadow: 0 26px 60px -32px rgba(31, 35, 38, .38);
}
.sl-zahl { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 22px clamp(16px, 1.9vw, 30px); }
.sl-zahl + .sl-zahl { border-left: 1px solid var(--tm-linie-hell); }
.sl-zahl b {
  font-family: 'Clash Grotesk', var(--f-display); font-weight: 600; font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sl-zahl b small { font-family: var(--f-display); font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--ink-60); }
.sl-zahl > span { display: flex; align-items: center; gap: 6px; font-size: .9rem; line-height: 1.35; color: var(--ink-60); }
.sl-stern { font-style: normal; color: var(--tm-stern); font-size: .62em; margin-left: .18em; vertical-align: .32em; }
.sl-zahl .st-pfeil svg { width: 15px; height: 15px; }

/* Auswahl „Was steht in … an?“ */
.sl-wahl {
  grid-area: wahl; align-self: end; position: relative; z-index: 2; margin-bottom: -58px;
  background: #fff; border: 1px solid var(--tm-linie-hell); border-radius: 20px;
  padding: 22px 20px 14px; box-shadow: 0 30px 70px -34px rgba(31, 35, 38, .45);
}
.sl-wahl__titel { font-size: 1.28rem; line-height: 1.2; margin: 0 4px 4px; }
.sl-wahl__sub { margin: 0 4px 12px; font-size: .86rem; line-height: 1.45; color: var(--ink-60); }
.sl-wahl__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
.sl-wahl__liste li { border-top: 1px solid var(--tm-linie-hell); }
.sl-wahl__opt {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 6px;
  border-radius: 10px; color: var(--ink); font-weight: 560; font-size: .95rem; line-height: 1.2;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.sl-wahl__ic {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  background: var(--tm-hell); color: var(--tm-anthrazit);
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.sl-wahl__name { min-width: 0; hyphens: auto; -webkit-hyphens: auto; }
.sl-wahl__opt.is-gewaehlt .sl-wahl__ic { background: var(--tm-anthrazit); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .sl-wahl__opt:hover { background: var(--tm-hell-2); color: var(--ink); }
  .sl-wahl__opt:hover .sl-wahl__ic { background: var(--tm-anthrazit); color: #fff; transform: translateY(-1px); }
}

/* Rückmeldung im Formular, wenn die Auswahl im Kopf das Anliegen vorgewählt hat (stadtseite.js) */
#leadform { scroll-margin-top: 88px; }
.kfa.sl-vorgewaehlt, select.sl-vorgewaehlt { border-radius: 14px; outline: 3px solid rgba(56, 62, 66, .28); outline-offset: 3px; transition: outline-color 1.2s ease; }

/* Auftritt der Leiste und der Auswahl beim Laden (einmal, nur transform/opacity) */
@media (prefers-reduced-motion: no-preference) {
  .sl-zahlen { animation: sl-auf .8s var(--e-out) .35s both; }
  .sl-wahl { animation: sl-auf .8s var(--e-out) .5s both; }
}
@keyframes sl-auf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Stadt × Leistung: keine Auswahl, die Leiste bleibt so breit wie auf der Stadtseite */
.lhero--foto .sl-hero--leistung .sl-hero__inner,
.sl-hero--leistung .sl-hero__inner { grid-template-areas: "text ." "zahlen ."; }

@media (max-width: 1100px) and (min-width: 761px) {
  .sl-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-zahl:nth-child(3) { border-left: 0; }
  .sl-zahl:nth-child(n + 3) { border-top: 1px solid var(--tm-linie-hell); }
  .sl-zahl { padding-block: 16px; }
}

/* ---------- Abschnittsköpfe, Textlinks, Aufruf-Zeile ---------- */
.sl-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; margin-bottom: clamp(22px, 3vw, 36px); }
.sl-kopf h2 { margin: 0; }
.sl-kopf__text { margin: 6px 0 0; color: var(--ink-60); max-width: 46ch; }
.sl-textlink { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--tm-grau-hell); text-decoration-thickness: 1px; }
.sl-textlink:hover { color: var(--ink); text-decoration-color: currentColor; }
.sl-aktion {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: clamp(28px, 3.5vw, 44px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--tm-linie);
}
.sl-aktion__text { margin: 0; color: var(--ink-80); font-size: 1.02rem; }
.sl-aktion__text b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.4rem); color: var(--ink); }
.sl-aktion__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Leistungen als Fotokarten ---------- */
.sl-leist { background: var(--tm-hell-2); padding-top: calc(58px + clamp(56px, 7vw, 104px)); }
.sl-karten .lcard__body h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

/* ---------- Ort: Text + Karte, Stadtteile als Chips ---------- */
.sl-ort { background: #fff; }
.sl-ort__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; max-width: 1560px; }
.sl-ort__text p { font-size: 1.06rem; color: var(--ink-80); max-width: 62ch; }
.sl-ort__text .st-kreis a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tm-grau-hell); }
.sl-teile { margin-top: clamp(22px, 3vw, 32px); }
.sl-teile__h { font-size: 1rem; font-weight: 600; letter-spacing: .01em; margin: 0 0 12px; }
.sl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sl-chips li {
  padding: 6px 14px; border-radius: 999px; font-size: .92rem; line-height: 1.4; color: var(--ink-80);
  background: var(--tm-hell-2); border: 1px solid var(--tm-linie-hell);
}
.sl-teile__mehr { margin-top: 8px; }
.sl-teile__mehr summary {
  display: inline-flex; align-items: center; min-height: 34px; padding: 5px 14px; border-radius: 999px; cursor: pointer;
  list-style: none; font-size: .92rem; font-weight: 600; color: var(--ink); border: 1px dashed var(--tm-grau-hell);
}
.sl-teile__mehr summary::-webkit-details-marker { display: none; }
.sl-teile__mehr[open] summary { margin-bottom: 8px; }
.sl-teile__mehr[open] .sl-teile__auf, .sl-teile__mehr:not([open]) .sl-teile__zu { display: none; }
@media (hover: hover) and (pointer: fine) { .sl-teile__mehr summary:hover { border-style: solid; border-color: var(--ink); } }
.sl-ort__aktion { margin: clamp(24px, 3vw, 34px) 0 0; }

/* ---------- Ruhiges dunkles Band: Telefon und WhatsApp (ersetzt seit 15.11. das Maßband) ---------- */
.sl-ruf { background: var(--nacht); color: #ECEDEE; padding-block: clamp(36px, 4.6vw, 60px); }
.sl-ruf :focus-visible { outline-color: #fff; }
.sl-ruf__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; max-width: 1560px; }
.sl-ruf__text { margin: 0; display: flex; flex-direction: column; gap: 4px; color: var(--tm-silber); }
.sl-ruf__text b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.2; color: #fff; }
.sl-ruf__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Aus unserer Arbeit: wischbare Fotoreihe ---------- */
.sl-arbeit { background: var(--tm-hell-2); overflow: clip; }
.sl-pfeile { display: flex; gap: 10px; }
html:not(.js) .sl-pfeile { display: none; }
.sl-pfeil {
  width: 48px; height: 48px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--tm-linie); background: #fff; color: var(--ink);
  transition: background-color var(--t-fast), color var(--t-fast), opacity var(--t-fast), transform var(--t-fast);
}
.sl-pfeil--vor svg { transform: rotate(180deg); }
.sl-pfeil:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .sl-pfeil:not(:disabled):hover { background: var(--tm-anthrazit); color: #fff; border-color: var(--tm-anthrazit); } }
.sl-spur {
  list-style: none; margin: 0; padding: 4px var(--sl-rand) 10px;
  display: flex; gap: clamp(12px, 1.3vw, 18px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--sl-rand); scrollbar-width: none;
}
.sl-spur::-webkit-scrollbar { display: none; }
.sl-spur:focus-visible { outline: 2px solid var(--akzent); outline-offset: -2px; }
.sl-foto {
  flex: none; height: clamp(300px, 32vw, 460px); scroll-snap-align: start;
  border-radius: var(--r-m); overflow: hidden; background: var(--glas);
}
.sl-foto img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.sl-arbeit__mehr { margin: clamp(18px, 2.4vw, 26px) 0 0; }
/* Große Bildschirme (18.11.2026): Ab 1600 px ist .wrap mittig auf 1520 px begrenzt (site.css). Die Fotoreihe lief
   bisher randlos ab 120 px vom linken Fensterrand, Überschrift und Pfeile standen mittig – die Bilder klebten links.
   Jetzt hat die Reihe dieselbe Inhaltsbreite wie .wrap (1520 − 2 × 48 px) und sitzt mittig; Bildhöhe unverändert. */
@media (min-width: 1600px) {
  .sl-spur { max-width: calc(1520px - 96px); margin-inline: auto; padding-inline: 0; scroll-padding-inline: 0; }
}

/* ---------- Vorher-Nachher ---------- */
.sl-vn-sect { background: #fff; }
.sl-vn { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; max-width: 1560px; }
/* Seitenverhältnis kommt aus der Bilddatei (style am .ba); sehr hohe Bilder werden begrenzt, beide Ebenen schneiden gleich zu */
/* Breite aus dem Seitenverhältnis (--vn-verh = Breite/Höhe, vom Generator gesetzt): Querformat füllt die Spalte,
   Hochformat wird höchstens 78 % der Bildschirmhöhe hoch und steht mittig */
.sl-vn__ba {
  border-radius: var(--r-l); box-shadow: 0 30px 70px -40px rgba(31, 35, 38, .5);
  justify-self: center; width: min(100%, calc(min(78vh, 760px) * var(--vn-verh, 1.78)));
}
.sl-vn__ba img { width: 100%; }
.sl-vn__text p { margin-bottom: 22px; }
.sl-vn__text h2 { margin-bottom: 14px; }
.sl-vn__text p { color: var(--ink-80); }

/* ---------- Ablauf + Förderung ---------- */
.sl-ablauf { background: #fff; }
.sl-wege { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.sl-wege a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--tm-linie); background: #fff;
  color: var(--ink); font-weight: 600; font-size: .92rem;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.sl-wege svg { width: 16px; height: 16px; flex: none; }
@media (hover: hover) and (pointer: fine) { .sl-wege a:hover { border-color: var(--ink); background: var(--tm-hell-2); } }
.sl-foerder {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; max-width: none;
  margin: clamp(32px, 4vw, 52px) 0 0; padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-m); background: var(--tm-hell-2); border: 1px solid var(--tm-linie-hell); color: var(--ink-80);
}
.sl-foerder b { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.sl-foerder span { flex: 1 1 32ch; }

/* ---------- Fragen + Orte in der Nähe ---------- */
.sl-fragen { background: var(--tm-hell-2); }
.sl-fragen__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; max-width: 1560px; }
.sl-fragen .faq-list { margin: clamp(20px, 3vw, 32px) 0 0; max-width: none; }
.sl-fragen .faq__body a { text-decoration: underline; text-underline-offset: 3px; }
.sl-fragen .st-ort__seite { margin-top: 6px; }
.sl-fragen--weiss { background: #fff; }
.sl-fragen__aktion { margin-top: clamp(22px, 3vw, 32px); }
.sl-fragen__aktion p { margin: 0; color: var(--ink-80); }
.sl-fragen__aktion b { color: var(--ink); font-weight: 600; }
.sl-fragen__aktion .sl-wege { margin-top: 12px !important; }
.sl-quer .st-quer__liste a { display: inline-block; padding-block: 2px; }
@media (max-width: 760px) {
  .sl-quer .st-quer__liste { columns: 2; column-gap: 16px; }
  .sl-quer .st-quer__liste li { padding: 7px 0; font-size: .92rem; }
}

/* ---------- Stadt × Leistung: Aufbau der Startseite (15.11.2026) ----------
   Video-Hero (.ah aus index.html, hero.css/hero.js), darunter Kennzahlen als schmale Zeile, Marken-Lauf, Leistungs-Baustein
   (Bild + Text auf einer Achse, Punkte als Akkordeon), Ort mit „Mehr lesen“, dann Abschnitte der Startseite. */
/* Gleiche Ränder wie .wrap der übernommenen Startseiten-Abschnitte, damit alles auf einer Achse steht */
.sl-mitte { padding-inline: clamp(18px, 4.5vw, 120px); }
/* Große Bildschirme (18.11.2026): .sl-mitte übernimmt auch die Begrenzung von .wrap ab 1600 px (site.css), sonst standen
   Ort, „Gut zu wissen“ und „Weitere Leistungen“ der <leistung>-<stadt>-Seiten links, alles andere mittig */
@media (min-width: 1600px) { .sl-mitte { max-width: 1520px; margin-inline: auto; padding-inline: 48px; } }
.sl-baustein__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

/* Hero: h1 = „<Leistung> in <Stadt>“, darf umbrechen (auf der Startseite steht dort der Firmenname in einer Zeile) */
/* Brotkrumen über der h1 (18.11.2026): klein, hell auf dem dunklen Video */
.sl-ah .sl-ah__krumen { margin-bottom: 14px; font-size: .8rem; color: rgba(255, 255, 255, .62); }
.sl-ah .sl-ah__krumen a { color: rgba(255, 255, 255, .78); }
.sl-ah .sl-ah__krumen a:hover { color: #fff; }
.sl-ah .sl-ah__krumen span:last-child { color: #fff; }
.sl-ah .ah__name { display: block; white-space: normal; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; font-size: clamp(2.2rem, 4.3vw, 4.3rem); line-height: 1.04; }

/* Kennzahlen als schmale Zeile direkt unter dem Hero */
.sl-zahlenzeile { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid var(--tm-linie-hell); }
.sl-zahlenzeile { padding-inline: clamp(18px, 4.5vw, 120px); }
.sl-zahlenzeile .sl-zahlen {
  width: 100%; margin: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; animation: none;
}
.sl-zahlenzeile .sl-zahl { padding-block: clamp(16px, 2vw, 22px); }
@media (min-width: 761px) { .sl-zahlenzeile .sl-zahl:first-child { padding-left: 0; } }
.sl-zahlenzeile + .markenlauf { border-top: 0; }

/* Leistungs-Baustein: Bild links, Text rechts, beide auf einer Mittelachse */
.sl-bs { background: var(--tm-hell-2); }
.sl-bs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.sl-bs__bild {
  position: relative; margin: 0; align-self: stretch; min-height: 440px;
  border-radius: var(--r-l); overflow: hidden; background: var(--glas);
  box-shadow: 0 36px 80px -46px rgba(31, 35, 38, .55);
}
.sl-bs__bild img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.sl-bs__text { min-width: 0; padding-block: 8px; }
.sl-bs__ort { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tm-grau); }
.sl-bs__text h2 { margin-bottom: 18px; }
.sl-bs__text > p { color: var(--ink-80); max-width: 58ch; }
.sl-bs__text > p.sl-bs__lead { font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--ink); }
.sl-bs__unter { margin: clamp(26px, 3vw, 34px) 0 6px; font-size: 1rem; font-weight: 600; letter-spacing: .01em; color: var(--ink); }

/* Akkordeon (details): eine Zeile je Punkt, Strich-Piktogramm, erster offen */
.sl-akk { border-top: 1px solid var(--tm-linie); }
.sl-akk__punkt { border-bottom: 1px solid var(--tm-linie); }
.sl-akk__punkt summary {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 4px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; line-height: 1.3; color: var(--ink);
}
.sl-akk__punkt summary::-webkit-details-marker { display: none; }
.sl-akk__ic {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: #fff; border: 1px solid var(--tm-linie-hell); color: var(--tm-anthrazit);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.sl-akk__t { flex: 1; min-width: 0; }
.sl-akk__auf { flex: none; color: var(--ink-60); transition: transform var(--t-fast); }
.sl-akk__punkt[open] .sl-akk__auf, .sl-mehr[open] .sl-akk__auf { transform: rotate(180deg); }
.sl-akk__punkt[open] .sl-akk__ic { background: var(--tm-anthrazit); border-color: var(--tm-anthrazit); color: #fff; }
.sl-akk__text { padding: 0 4px 18px 58px; }
.sl-akk__text p { margin: 0; color: var(--ink-80); max-width: 56ch; }
.sl-akk__punkt summary:focus-visible, .sl-mehr summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) {
  .sl-akk__punkt summary:hover .sl-akk__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .sl-akk__punkt:not([open]) summary:hover .sl-akk__ic { border-color: var(--ink); }
}

/* „Mehr lesen“ im Ort-Abschnitt */
.sl-mehr { margin: -4px 0 0; }
.sl-mehr summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--tm-grau-hell);
}
.sl-mehr summary::-webkit-details-marker { display: none; }
.sl-mehr[open] .sl-mehr__auf, .sl-mehr:not([open]) .sl-mehr__zu { display: none; }
.sl-mehr[open] summary { margin-bottom: 10px; }
.sl-mehr p { font-size: 1.06rem; color: var(--ink-80); max-width: 62ch; }

/* Ablauf der Startseite: dort mit content-visibility:auto; hier immer gezeichnet, damit der Abschnitt nie leer wirkt
   (schnelles Scrollen, Sprung zum Formular, Bildschirmfotos). Gilt nur auf Seiten mit stadtseite.css. */
main .ablauf { content-visibility: visible; contain-intrinsic-size: none; }

/* Querverweise weiß (davor Fragen in Hellgrau, danach der Kontaktblock) */
.sl-quer { background: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .sl-ort__grid, .sl-vn, .sl-fragen__grid, .sl-bs__grid { grid-template-columns: minmax(0, 1fr); }
  .sl-bs__bild { min-height: 0; aspect-ratio: 16 / 10; align-self: auto; }
}

/* ---------- Handy: Kopf kurz (h1, ein Satz, Knöpfe), danach Leiste und Auswahl ---------- */
@media (max-width: 760px) {
  .lhero.sl-hero { padding-bottom: 0; }
  .lhero--foto .sl-hero__inner,
  .lhero--foto .sl-hero--leistung .sl-hero__inner {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "zahlen" "wahl"; grid-template-rows: auto;
    row-gap: 22px; padding: 0 var(--sl-rand);
  }
  .sl-hero .lead { font-size: 1rem; }
  .sl-knoepfe { display: flex !important; flex-wrap: wrap; gap: 10px; }
  .sl-knoepfe .btn { width: auto; flex: 1 1 auto; padding-inline: 16px !important; }
  .sl-knoepfe .btn--primary { flex-basis: 100%; }
  .sl-zahlen { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; box-shadow: 0 18px 40px -30px rgba(31, 35, 38, .4); }
  .sl-zahl { padding: 14px 16px; gap: 5px; }
  .sl-zahl:nth-child(3) { border-left: 0; }
  .sl-zahl:nth-child(n + 3) { border-top: 1px solid var(--tm-linie-hell); }
  .sl-zahl b { font-size: 1.45rem; }
  .sl-zahl > span { font-size: .8rem; }
  .sl-wahl { margin: 0 0 6px; padding: 18px 14px 8px; box-shadow: none; }
  .sl-wahl__titel { font-size: 1.15rem; }
  .sl-wahl__liste { column-gap: 6px; }
  .sl-wahl__opt { min-height: 50px; gap: 8px; padding: 6px 4px; font-size: .9rem; }
  .sl-wahl__ic { width: 32px; height: 32px; }
  .sl-wahl__ic svg { width: 20px; height: 20px; }

  .sl-leist { padding-top: clamp(48px, 12vw, 64px); }
  .sl-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sl-karten > .lcard { grid-column: auto; min-height: 210px; padding: 14px; }
  .sl-karten > .lcard--1, .sl-karten > .lcard--2 { grid-column: 1 / -1; min-height: 240px; }
  .sl-karten .lcard__pfeil { top: 10px; right: 10px; width: 32px; height: 32px; }
  .sl-karten .lcard__body h3 { font-size: 1.05rem; }
  .sl-karten .lcard__body p { font-size: .8rem; line-height: 1.4; }
  .sl-aktion__knoepfe, .sl-ruf__knoepfe, .sl-baustein__aktion { width: 100%; }
  .sl-aktion__knoepfe .btn, .sl-ruf__knoepfe .btn { flex: 1 1 auto; }
  .sl-pfeile { display: none; }
  .sl-foto { height: 340px; }
  .sl-arbeit { padding-bottom: 48px; }
  .sl-zahlenzeile { padding-inline: 0; }
  .sl-akk__text { padding-left: 4px; }
  .sl-bs__bild { border-radius: var(--r-m); }
  .sl-vn-sect { padding-block: 48px; }
  .sl-vn { gap: 22px; }
}

/* Abnahme 14.11.2026: Das schwebende Google-Schild (site.js, .gsticky) lag über der Kennzahlen-Leiste.
   Auf Seiten mit Kennzahlen-Leiste steht die Bewertung schon dort, das Schild entfällt. */
body:has(.sl-zahlen) .gsticky,
body:has(.st-zahlen) .gsticky { display: none; }

/* ---------- Responsive-Feinschliff (Prüfung B, 18.11.2026) ---------- */
/* K1 Auswahl „Was steht in … an?“: Jedes Wort steht ganz in seiner Zelle. Name ohne automatische Silbentrennung
   (weiche Trennstellen setzt der Generator nur an Wortfugen, sie greifen nur im Notfall), etwas engerer Abstand
   Symbol–Name, 8 px Luft zwischen den Tippflächen (Spalten und Zeilen). Unter 390 px Symbol über dem Namen. */
.sl-wahl__liste { column-gap: 8px; }
.sl-wahl__liste li { padding-block: 4px; }
.sl-wahl__opt { gap: 8px; min-height: 46px; }
.sl-wahl__name { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; font-size: .9rem; }
/* H4: Überschrift und Unterzeile berührten sich bei langen Stadtnamen */
.sl-wahl__titel { line-height: 1.25; margin-bottom: 6px; }
@media (max-width: 760px) {
  .sl-wahl__liste { column-gap: 8px; }
  .sl-wahl__opt { min-height: 44px; padding: 4px; }
}
@media (max-width: 389px) {
  .sl-wahl__opt { flex-direction: column; justify-content: center; gap: 5px; min-height: 72px; padding: 8px 4px; text-align: center; }
  .sl-wahl__name { font-size: .86rem; line-height: 1.15; }
}

/* K2 Leistungskarten: langes Wort („Terrassenüberdachung“) bricht an der weichen Trennstelle statt abgeschnitten zu werden */
.sl-karten .lcard__body { min-width: 0; }
.sl-karten .lcard__body p { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }

/* U5 Ablauf: Drei Schritte zwischen 641 und 1024 px dreispaltig statt 2 + 1 (site.css setzt .grid-3 dort zweispaltig) */
@media (min-width: 641px) and (max-width: 1024px) {
  .sl-ablauf .st-schritte.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; }
  .sl-ablauf .st-schritte h3 { font-size: 1.1rem; }
}

/* U6 Förder-Zeile: Raster statt umbrechender Flex-Zeile. Breit: drei gleich hohe Teile, Inhalt mittig;
   bis 1024 px untereinander (keine hängende Einzelzelle mehr) */
.sl-foerder { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch; gap: 8px 24px; }
.sl-foerder > * { display: flex; align-items: center; }
.sl-foerder span { flex: initial; }
.sl-foerder .sl-textlink { justify-self: start; min-height: 40px; white-space: nowrap; }
@media (max-width: 1024px) {
  .sl-foerder { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sl-foerder .sl-textlink { white-space: normal; }
}

/* U9 Tippflächen ab 40 px: Brotkrumen (Fläche größer, Zeile gleich hoch), Textlinks (innen größer, ohne Layoutwirkung),
   „+ 2 weitere“, Querverweise */
.sl-hero .crumbs a, .sl-ah .sl-ah__krumen a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; min-width: 42px;
}
.sl-hero .crumbs, .sl-ah .sl-ah__krumen { row-gap: 0; }
.sl-hero .crumbs > span:last-child, .sl-ah .sl-ah__krumen > span:last-child { display: inline-flex; align-items: center; min-height: 42px; }
.sl-arbeit__mehr .sl-textlink, .st-quer__mehr a { padding-block: 11px; }
.sl-baustein__aktion .sl-textlink, .st-ort__alle a { display: inline-flex; align-items: center; min-height: 40px; }
.sl-teile__mehr summary { min-height: 40px; }
.sl-quer .st-quer__liste a { display: inline-flex; align-items: center; min-height: 42px; min-width: 42px; padding-block: 0; }
.sl-quer .st-quer__liste li { align-items: center; padding-block: 4px; }
@media (max-width: 760px) { .sl-quer .st-quer__liste li { padding-block: 4px; } }

/* U10 Schrift ab 12 px: Etiketten des Vorher-Nachher-Schiebers, „km“ in der Kennzahlen-Leiste */
.sl-vn__ba .ba__tag { font-size: .75rem; }
.sl-zahl b small { font-size: max(.5em, 12px); }

/* U11 Stadt × Leistung bis 860 px: Der Pause-Knopf des Hero-Videos (oben links unter der Navbar, nur sichtbar, wenn das
   Video steht) lag bei 320 px über den Brotkrumen, wenn der Inhalt den Hero ganz füllt. Der Text rückt um die Knopfhöhe
   nach unten; solange der Hero Luft hat (390 px und breiter), ändert sich nichts (min-height schließt den Abstand ein). */
@media (max-width: 860px) {
  .sl-ah .ah__gruss { padding-top: 46px; box-sizing: border-box; }
}

/* U1 Themen-Feld der Anfrage-Karte (Stadt × Leistung): gewählter Name ganz lesbar. Feld breiter als PLZ/Ort (dort steht
   nur die Stadt), Name darf zweizeilig sein; lange Wintergarten-Bezeichnung zeigt im Feld die Kurzform (data-kurz).
   Die Startseite bleibt unverändert (nur .sl-ah). */
.sl-ah .ah-auswahl__wert { white-space: normal; align-items: center; }
.sl-ah .ah-auswahl__wert b {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  white-space: normal; text-overflow: clip; overflow-wrap: normal; line-height: 1.15;
}
@media (min-width: 601px) {
  .sl-ah .ah-gruppe__reihe--projekt { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* U12 Förder-Block der Startseite auf Stadt × Leistung: Die Deko-Zahl samt Schein fängt keine Klicks mehr und rückt
   am Handy nicht mehr über die Knöpfe */
main .foerder__mega { pointer-events: none; }
