/* Leistungen-Übersicht. Marken-Idee: Die acht Gewerke stehen als ungleich hohe Foto-Streifen
   nebeneinander und steigen nach rechts neben der großen Überschrift auf. Jeder Streifen ist ein Link. */

.lu-hero {
  --kurz: clamp(230px, 22vw, 300px);
  --hoch: clamp(560px, 47vw, 680px);
  position: relative; overflow: clip; background: var(--tm-hell-2);
  padding-top: clamp(26px, 3.4vw, 48px); padding-bottom: 0;
}
.lu-hero + .lichtkante { display: none; }
.lu-hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.lu-hero .wrap > * { pointer-events: auto; }
.lu-hero .crumbs { width: fit-content; }
.lu-hero h1 {
  margin: 0; max-width: 11.5em;
  font-size: clamp(2.5rem, 5.7vw, 5.5rem); line-height: 1.01; letter-spacing: -.028em;
}
.lu-hero p.lead { margin-top: clamp(14px, 1.6vw, 22px); max-width: 44ch; }
.lu-hero .lhero__trust { margin-top: 16px; max-width: 54ch; }

.lu-streifen {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; gap: 3px;
  height: var(--hoch);
  margin-top: calc(var(--kurz) - var(--hoch) + 28px);
  pointer-events: none;
}
.lu-s {
  position: relative; display: block; overflow: hidden;
  flex: var(--b, 1) 1 0; min-width: 0; height: var(--h, 100%);
  color: #fff; background: var(--nacht);
  pointer-events: auto;
}
.lu-s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 50%); transition: transform .7s var(--e-out, ease-out); }
.lu-s::after {
  content: ''; position: absolute; inset: auto 0 0; height: 96px;
  background: linear-gradient(to top, rgba(18, 19, 20, .78), transparent);
}
.lu-s span {
  position: absolute; left: clamp(10px, 1.1vw, 16px); right: 8px; bottom: 12px; z-index: 1;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(.86rem, 1.1vw, 1.02rem); line-height: 1.15;
}
.lu-s:hover { color: #fff; }
.lu-s:hover img { transform: scale(1.05); }
.lu-s:focus-visible { outline: 3px solid var(--akzent); outline-offset: -3px; }

@media (prefers-reduced-motion: no-preference) {
  .lu-s { animation: lu-auf .75s var(--e-out, ease-out) both; animation-delay: calc(var(--i) * 55ms); }
  @keyframes lu-auf { from { transform: translateY(46px); } to { transform: none; } }
}

/* Vier Kern-Leistungen: Bild und Text im Wechsel, kein Kasten */
.lu-zeilen { display: grid; gap: clamp(36px, 5vw, 76px); margin-top: 30px; }
.lu-zeile {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(22px, 4vw, 64px); align-items: center; color: inherit;
}
.lu-zeile:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.lu-zeile:nth-child(even) .lu-zeile__bild { order: 2; }
.lu-zeile:hover { color: inherit; }
.lu-zeile__bild { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--glas); }
.lu-zeile:nth-child(even) .lu-zeile__bild { aspect-ratio: 3 / 2; }
.lu-zeile__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--e-out, ease-out); }
.lu-zeile:hover .lu-zeile__bild img { transform: scale(1.035); }
.lu-zeile h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.06; margin: 0 0 12px; }
.lu-zeile p { margin: 0; color: var(--ink-60); max-width: 44ch; }
.lu-mehr { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--ink); }
.lu-mehr svg { transition: transform var(--t-fast, .2s); }
.lu-zeile:hover .lu-mehr svg { transform: translate(2px, -2px); }

/* Vier weitere Leistungen: Mosaik mit ungleichen Spalten */
.lu-mosaik { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lu-mosaik .lcard--g { grid-column: span 4; min-height: 340px; }
.lu-mosaik .lcard--k { grid-column: span 2; min-height: 340px; }

@media (max-width: 1020px) {
  .lu-mosaik .lcard--g, .lu-mosaik .lcard--k { grid-column: span 3; min-height: 300px; }
}

@media (max-width: 760px) {
  .lu-hero { padding-top: 18px; }
  .lu-hero h1 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
  .lu-streifen { flex-direction: column; align-items: stretch; height: auto; margin-top: 24px; gap: 3px; }
  .lu-s { flex: none; height: 62px; margin-left: var(--m, 0); }
  .lu-s::after { inset: 0 auto 0 0; width: 74%; height: auto; background: linear-gradient(to right, rgba(18, 19, 20, .76), transparent); }
  .lu-s span { top: 50%; bottom: auto; transform: translateY(-50%); left: 16px; font-size: 1rem; }
  @media (prefers-reduced-motion: no-preference) {
    .lu-s { animation-name: lu-rein; }
    @keyframes lu-rein { from { transform: translateX(34px); } to { transform: none; } }
  }

  .lu-zeile, .lu-zeile:nth-child(even) { grid-template-columns: 1fr; gap: 14px; }
  .lu-zeile:nth-child(even) .lu-zeile__bild { order: 0; }
  .lu-mosaik { grid-template-columns: 1fr; }
  .lu-mosaik .lcard--g, .lu-mosaik .lcard--k { grid-column: auto; min-height: 240px; }
}

/* Prüflauf 10.11.: Innentüren-Karte – helles Foto (weiße Wand/Tür), der Text lag bei 1440 px mit 2,3–2,7:1 auf Hellgrau.
   Dunklerer, höher reichender Verlauf nur für diese Karte. */
.lu-mosaik #innentueren .lcard__scrim {
  background: linear-gradient(to top, rgba(18, 19, 20, .94), rgba(18, 19, 20, .8) 45%, rgba(18, 19, 20, .45) 68%, transparent 86%);
}

/* Responsive 18.11.2026: „Insektenschutz“ ragte im schmalen Streifen (768–1024) aus seiner Kachel → Wort darf umbrechen,
   Schrift dort etwas kleiner */
.lu-s span { overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 761px) and (max-width: 1100px) { .lu-s span { font-size: .8rem; left: 8px; right: 6px; } }
