/* Leistung · WordPress-Service · 020-problem (Auftrag B-leistung-wordpress). 1:1 aus wdf/entwuerfe/leistung-wordpress/entwurf.css (Stand r1).
   Nur Tokens; freie Werte nur 0, 1px, %, fr, ch, Seitenverhältnisse (Ausnahmen siehe Meldung). Mobil zuerst. */

/* ==================== 2 · Problem: drei Muster, je Bild + Mini-Oberfläche + ein Satz ==================== */
.le-muster { display: grid; gap: var(--space-48); margin-top: var(--space-48); }
.le-muster-karte { display: grid; gap: var(--space-8); align-content: start; min-width: 0; }
.le-muster-bild { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-scene-ground); box-shadow: var(--shadow-scene); }
.le-muster-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.le-muster-ui { position: relative; z-index: var(--z-raised); margin: calc(-1 * var(--space-64)) var(--space-16) var(--space-8); }
.le-mini { gap: var(--space-10); padding: var(--space-12) var(--space-14); }
.le-mini-zeilen { display: grid; gap: var(--space-6); }
.le-mini-zeilen li { display: flex; align-items: center; gap: var(--space-8); font-size: var(--font-size-ui-sm); color: var(--color-text-secondary); }
.le-mini-zeilen svg { width: var(--size-icon-sm); height: var(--size-icon-sm); color: var(--color-text-tertiary); }
.le-mini-leer { display: inline-flex; align-items: center; gap: var(--space-8); justify-self: start; padding: var(--space-5) var(--space-10); border-radius: var(--radius-pill); box-shadow: var(--ring-hairline); font-size: var(--font-size-caption-sm); color: var(--color-text-tertiary); }
.le-mini-leer i { width: var(--size-dot); height: var(--size-dot); border-radius: var(--radius-round); background: var(--color-fill-step); }
/* Kontextverlust: jedes Glied der Kette ist blasser als das vorige */
.le-kette { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.le-kette li { display: inline-flex; align-items: center; gap: var(--space-6); font-size: var(--font-size-caption-sm); }
.le-kette li b { padding: var(--space-5) var(--space-9); border-radius: var(--radius-pill); box-shadow: var(--ring-hairline); font-weight: var(--font-weight-medium); color: var(--color-text); }
.le-kette li + li::before { content: "→"; color: var(--color-text-tertiary); }
.le-kette li:nth-child(1) b { box-shadow: var(--ring-active); color: var(--color-accent-soft); }
.le-kette li:nth-child(2) { opacity: .62; }
.le-kette li:nth-child(3) { opacity: .5; }   /* Lauf 10 A02: Kontrast ≥ 4,5:1 wie erstellen-lassen */
.le-muster-nr { color: var(--color-text-tertiary); margin-top: var(--space-8); }
.le-muster-karte h3 { max-width: 22ch; }
.le-muster-karte > p:last-child { max-width: 40ch; color: var(--color-text-secondary); text-wrap: pretty; }
.le-problem-link { margin-top: var(--space-48); }
@media (min-width: 768px) {
  .le-muster { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-24); }
  .le-muster-bild { aspect-ratio: 4 / 5; }
}
@media (min-width: 1024px) {
  .le-muster { column-gap: var(--space-32); margin-top: var(--space-64); }
  .le-muster-karte[data-m="1"] { margin-top: var(--space-48); }   /* bewusster Versatz: die Kette rückt aus der Reihe */
  .le-problem { padding-bottom: var(--space-48); }
  .le-problem-link { width: calc((100% - 2 * var(--space-32)) / 3); margin: calc(-1 * var(--space-48)) 0 0 auto; }
}

/* Problem 02: offene Pflege-Aufgaben stapeln sich (jede Zeile etwas eingerückt, wie der Stapel im Bild) */
.lm-stapel { display: grid; gap: var(--space-4); }
.lm-stapel li { padding: var(--space-5) var(--space-10); border-radius: var(--radius-sm); background: var(--color-fill-subtle); box-shadow: var(--ring-hairline); font-size: var(--font-size-caption-sm); color: var(--color-text-secondary); }
.lm-stapel li:nth-child(2) { margin-left: var(--space-6); }
.lm-stapel li:nth-child(3) { margin-left: var(--space-12); }

/* Problem 02: vier Lizenz-Verträge stapeln sich (vierte Zeile weiter eingerückt) */
.lm-stapel li:nth-child(4) { margin-left: var(--space-18); }

/* Fix 6 der Mietseite · mobil: keine Leerstrecke nach dem Problem-Link */
@media (max-width: 1023.98px) { .le-problem { padding-bottom: 0; } }
