/* Block „Referenzen“ (aus den Referenz-Unterseiten, 04.11.) für Leistungsseiten – Grundlage wf.css/wf2.css + Korrekturen R17/R18/R25/R29–R31
   aus thoch4-refine.css. Auf Leistungsseiten mit zwei Karten (nur passende Projekte). */
@media (max-width: 960px) {
  section.onehand .wf-cards, section.onehand .v7-cards { gap: 16px !important; row-gap: 16px !important; }
  section.onehand .wf-cards > li, section.onehand .v7-cards > li { margin: 0 !important; }
  section.onehand.rk-weiter { padding-bottom: 110px !important; }
  section.onehand .v7-body { display: flex !important; flex-direction: column; }
  section.onehand .v7-body > .v7-cards { order: 1; }
  section.onehand .v7-body > .v7-left { order: 2; margin-top: 28px !important; }
  section.onehand .v7-top { margin-bottom: 0 !important; padding-bottom: 0 !important; }
  section.onehand .v7-body { margin-top: 40px !important; padding-top: 0 !important; row-gap: 0 !important; gap: 0 !important; }
}
@media (min-width: 641px) and (max-width: 960px) {
  #swup main section.onehand .wf-cards li .tx h3 { font-size: 18px !important; line-height: 1.15 !important; hyphens: manual !important; -webkit-hyphens: manual !important; }
}
#swup main section.onehand .v7-say, #swup main section.onehand .v7-say span { color: #0b0f06 !important; opacity: 1 !important; }
#swup main section.onehand .v7-top > p.eyebrow { margin-bottom: calc(22px - var(--rf-v7gap, 24px)) !important; }
/* zwei Karten: am Desktop und Tablet nebeneinander, Breite wie drei Karten verteilt */
@media (min-width: 641px) { section.onehand.lb-two .v7-cards, section.onehand.lb-two .wf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* aus rk.css (Referenz-Unterseiten): heller Abschnitt, weisse Karten, Lime-Pfeil, ganze Karte klickbar */
.pr .prm section.rk-weiter { background: var(--paper); color: #0b0f06; padding: clamp(110px, 11vw, 180px) var(--x); }
.rk-weiter .v7-cards li { background: #fff; }
.rk-weiter .v7-cards .n.go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #c5f74f; color: #0b0f06; }
.rk-weiter .v7-cards .n.go svg { width: 16px; height: 16px; }
.rk-weiter .v7-cards a { position: absolute; inset: 0; z-index: 2; font-size: 0; }
/* Leistungsseiten setzen helle Schrift für dunkle Abschnitte → hier dunkel wie auf den Referenzseiten */
#swup main section.rk-weiter .v7-side p, #swup main section.rk-weiter .tx p { color: rgba(11,15,6,.72) !important; }
#swup main section.rk-weiter h2, #swup main section.rk-weiter .tx h3, #swup main section.rk-weiter .eyebrow { color: #0b0f06 !important; }
.rk-weiter .v7-cards .n.go svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* zwei Karten (Review 04.11.): Fenster ragten weit über die Karte (top -30 % bei breiter Karte = ~170 px) → tiefer in die Karte,
   schmaler, nur noch leicht über der Oberkante wie bei drei Karten */
@media (min-width: 961px) {
  section.onehand.lb-two .wf-a { aspect-ratio: 1 / .7 !important; }
  section.onehand.lb-two .wf-a .wf-o { left: 9% !important; width: 82% !important; top: -10% !important; }
}
@media (min-width: 961px) and (max-width: 1279px) { section.onehand.lb-two .wf-a { aspect-ratio: 1 / .8 !important; } }
