/* v5, Teil «prozessmanagement»: nur was v4 nicht schon hat. Tokens und Muster aus v4 (stripe/formen/v4.css). */

/* Lead-Satz unter einem Titel im Text-Bild-Block: dunkler als der Fliesstext, wie die Leads in v4 */
.s-textbild-text > p.v5-pm-lead { color: var(--tinte); }
html[data-thema="dunkel"] .s-textbild-text > p.v5-pm-lead { color: var(--text-hell); }

/* «Wieso»: drei Punkte mit fettem Stichwort */
.v5-pm-wieso > p b { font-weight: 500; color: var(--tinte); }
html[data-thema="dunkel"] .v5-pm-wieso > p b { color: var(--text-hell); }

/* Kasten «Typische Ergebnisse»: v4-UI-Karte (wie die Prozesslandkarte) mit Hakenliste */
.s-ui.v5-pm-ergebnisse { max-width: 24rem; }
.v5-pm-ergebnisse .s-ui-kopf { margin: 0; font: 600 .8125rem/1.3 var(--font); letter-spacing: 0; color: var(--tinte); }
.v5-pm-ergebnisse .s-haken-liste { margin: 0; padding: 1rem 1.1rem 1.15rem; list-style: none; }
.v5-pm-ergebnisse .s-haken-liste li { color: var(--tinte); }
html[data-thema="dunkel"] .v5-pm-ergebnisse :is(.s-ui-kopf, li) { color: var(--text-hell); }

/* Lebenszyklus: Leitfrage und Methoden in der Phasentafel */
.v5-pm-frage { margin: .7rem 0 0; font: 500 1.0625rem/1.5 var(--font); color: var(--g-mint-tief, #007862); text-wrap: pretty; }
html[data-thema="dunkel"] .v5-pm-frage { color: var(--mint); }
.v5-pm-zyklus .v4-kr-text { margin-top: .6rem; }
.v5-pm-methoden { margin-top: 1rem; }
.v5-pm-methoden .s-pillen { margin: .45rem 0 0; padding: 0; list-style: none; }
html[data-seite="unter"] main .v5-pm-methoden .s-pille { font-size: .8125rem; line-height: 1.3; }

/* Success Story als quer liegende Referenzkarte (v4 .s-ref) */
.s-ref.v5-pm-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.v5-pm-story .s-ref-bild { height: auto; min-height: 13rem; }
.v5-pm-story .s-ref-text { justify-content: center; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.v5-pm-story .s-ref-text h3 { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); }
.v5-pm-story .s-ref-text p { max-width: 40rem; }
.v5-pm-story .s-mehr { margin-top: 0; }
@media (max-width: 760px) {
  .s-ref.v5-pm-story { grid-template-columns: minmax(0, 1fr); }
  .v5-pm-story .s-ref-bild { min-height: 0; height: 9.5rem; }
}

/* Ausgangslage: drei Punkte als v4-Hakenliste im Textblock (Kundenentwurf v2) */
.s-textbild-text > .s-haken-liste.v5-pm-punkte { margin: 1.1rem 0 1.25rem; padding: 0; list-style: none; max-width: 36rem; }
.v5-pm-punkte li { color: var(--tinte); text-wrap: pretty; }
html[data-thema="dunkel"] .v5-pm-punkte li { color: var(--text-hell); }

/* «Was wir machen»: sechs Leistungen als nummerierte Liste in zwei Spalten mit Trennlinien statt Kacheln (Pascal 28.11.) */
main .v5-pm-liste:not(#v5-nie) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto);
  grid-auto-flow: column; column-gap: clamp(2rem, 1rem + 4vw, 5rem); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--linie) }
main .v5-pm-liste li:not(#v5-nie) { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: baseline;
  padding: 1.6rem 0 1.7rem; margin: 0; border-top: 1px solid var(--linie) }
main .v5-pm-liste li:nth-child(3):not(#v5-nie) { border-bottom: 1px solid var(--linie); margin-bottom: -1px }
.v5-pm-nr { font: 500 .875rem/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--g-mint-tief, #007862) }
main .v5-pm-liste h3:not(#v5-nie) { margin: 0; font: 500 1.1875rem/1.3 var(--font); letter-spacing: -.01em; color: var(--tinte) }
main .v5-pm-liste p:not(#v5-nie) { margin: .4rem 0 0; max-width: 34rem; color: var(--grau); font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty }
html[data-thema="dunkel"] main .v5-pm-liste:not(#v5-nie), html[data-thema="dunkel"] main .v5-pm-liste li:not(#v5-nie) { border-color: rgb(255 255 255 / .1) }
html[data-thema="dunkel"] main .v5-pm-liste h3:not(#v5-nie) { color: var(--text-hell) }
html[data-thema="dunkel"] .v5-pm-nr { color: var(--mint) }
@media (max-width: 760px) {
  main .v5-pm-liste:not(#v5-nie) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row }
  main .v5-pm-liste li:nth-child(3):not(#v5-nie) { border-bottom: 0; margin-bottom: 0 }
  main .v5-pm-liste li:not(#v5-nie) { padding: 1.15rem 0 }
}
