/* Einheitlicher Kopf der Leistungsseiten: Foto füllt die Fläche, läuft nach links und nach unten
   in die Farbe des folgenden Abschnitts aus. --lh-end je Seite am <section> setzen. */
.lhero.lhero--foto {
  --lh-end: #fff;
  --lh-fade: linear-gradient(to bottom, #000 0, #000 48%, rgba(0,0,0,.72) 66%, rgba(0,0,0,.3) 84%, transparent 100%);
  background: var(--lh-end);
  min-height: clamp(540px, 76vh, 800px);
}
@supports (height: 1svh) {
  .lhero.lhero--foto { min-height: clamp(540px, 76svh, 800px); }
}
.lhero--foto + .lichtkante { display: none; }
.lhero--foto + .markenlauf,
.lhero--foto + .lichtkante + .markenlauf { border-top-color: transparent; }
/* Keine graue Linie unter der Marken-Laufleiste (nur Leistungsseiten mit Foto-Hero) */
.lhero--foto ~ .markenlauf { border-bottom-color: transparent; }
.lhero--foto ~ .markenlauf + .lichtkante { display: none; }

.lhero--foto .lhero__bg {
  left: 26%;
  -webkit-mask-image: var(--lh-fade);
  mask-image: var(--lh-fade);
}
.lhero--foto .lhero__scrim {
  background: linear-gradient(90deg, var(--lh-end) 0, var(--lh-end) 50%, transparent 80%);
}
.lhero--foto .lhero__inner { padding-block: clamp(56px, 7vw, 96px) clamp(84px, 10vw, 136px); }
.lhero--foto .lead,
.lhero--foto .lhero__trust,
.lhero--foto .crumbs,
.lhero--foto .crumbs a { color: var(--ink-80); }
.lhero--foto .lead { max-width: 46ch; }

@media (max-width: 760px) {
  .lhero.lhero--foto { min-height: 0; background: var(--lh-end); }
  .lhero--foto .lhero__bg { left: auto; aspect-ratio: 16 / 9; }
  .lhero--foto .lhero__scrim { display: none; }
  .lhero--foto .lhero__inner { margin-top: -30px; padding: 0 20px; }
}

/* Partner-Hinweis (15.11.2026): ein Satz in einer kleinen, ruhigen Box, je Seite genau einmal. Markup nur aus
   _src/staedte/generator.mjs (partnerHinweis): Leistungsseiten unten im Städte-Streifen (dunkel), Stadt × Leistung
   unter dem Knopf im Leistungs-Baustein (hell). Kein Akzent, keine Fläche, nur feine Linie. */
.partnerhinweis {
  display: flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%;
  margin: 18px 0 0; padding: 5px 10px 5px 8px;
  border: 1px solid var(--tm-linie); border-radius: 6px; background: transparent;
  font-size: .75rem; line-height: 1.4; font-weight: 400; letter-spacing: 0; color: var(--ink-60);
}
/* stadtseite.css färbt Absätze im Baustein dunkler (.sl-bs__text > p) – hier bleibt die Box gedämpft */
.sl-bs__text > .partnerhinweis { color: var(--ink-60); max-width: 100%; }
.partnerhinweis svg { flex: none; display: block; }
.st-streifen .partnerhinweis {
  grid-column: 1 / -1; justify-self: start; margin: 4px 0 0;
  border-color: var(--glas-linie-dunkel); color: var(--tm-grau-hell);
}
