/* ==========================================================================
   Firmendo · VS-Vergleich zweier Anbieter (Format für /<a>-vs-<b>/-Seiten)
   Stand 02.11.2026 · Komponenten: vs-duel, vs-h2h, vs-pick, vs-calc, vs-verdict
   Seite A = Blau (--vs-a), Seite B = Orange (--vs-b). Nur Tokens → Dark Mode
   funktioniert ohne Zusatz. Textblöcke (pick, verdict) eckig nach DESIGN.md.
   ========================================================================== */

.vs-scope,
.text-body .vs-duel,
.text-body .vs-h2h,
.text-body .vs-pick,
.text-body .vs-calc,
.text-body .vs-verdict,
.text-body .vs-cta {
  --vs-a: var(--blue);
  --vs-a-soft: var(--blue-ultra);
  --vs-b: var(--accent-orange-display);
  --vs-b-soft: var(--orange-light);
  --vs-b-text: var(--accent-orange-action);
}

/* ---------- Logo-Kachel (immer weiß, damit Logos in beiden Themes lesbar sind) */
.vs-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.vs-logo img { width: 70%; height: 70%; object-fit: contain; display: block; }
.vs-logo--sm { width: 28px; height: 28px; border-radius: 8px; }

/* ==========================================================================
   2) vs-h2h: Kopf-an-Kopf-Zeilen  A | Kriterium | B  mit Vorteil-Markierung
   ========================================================================== */
.text-body .vs-h2h {
  margin: 18px 0;
  background: var(--surface);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.vs-h2h-head,
.vs-h2h-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.7fr) minmax(0, 1fr);
  align-items: stretch;
}
.vs-h2h-head {
  background: var(--gray-800);
  color: var(--surface);
}
:root[data-theme="dark"] .vs-h2h-head { background: var(--ink-bg); color: var(--gray-800); }
.vs-h2h-who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 1.05rem;
}
.vs-h2h-who--b { justify-content: flex-end; }
.vs-h2h-head .vs-h2h-crit {
  align-self: center;
  background: transparent;
  color: inherit;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}
.vs-h2h-score {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.vs-score-num { font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.5px; color: var(--vs-a); }
.vs-score-num--b { color: var(--vs-b-text); text-align: right; }
.vs-score-num small { display: block; margin-top: 4px; font-size: 0.88rem; font-weight: 600; letter-spacing: 0; color: var(--gray-500); }
.vs-score-bar { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; }
.vs-score-bar span { display: block; height: 100%; }
.vs-score-bar .a { background: var(--vs-a); }
.vs-score-bar .t { background: var(--gray-200); }
.vs-score-bar .b { background: var(--vs-b); }
.vs-score-mid { grid-column: 2; margin-top: -6px; text-align: center; font-size: 0.85rem; color: var(--gray-500); }
.vs-h2h-row + .vs-h2h-row { border-top: 1px solid var(--gray-200); }
.vs-h2h-crit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-800);
  background: var(--gray-50);
}
.vs-h2h-val {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 16px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-500);
}
.vs-h2h-val--b { text-align: right; align-items: flex-end; }
.vs-h2h-val--a { align-items: flex-start; }
.vs-h2h-val strong { color: var(--gray-800); }
.vs-h2h-val--a.is-win { background: var(--vs-a-soft); }
.vs-h2h-val--b.is-win { background: var(--vs-b-soft); }
.vs-h2h-val.is-win strong { color: var(--gray-800); }
.vs-h2h-val.is-win::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vs-a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
}
.vs-h2h-val--a.is-win::after { right: 12px; }
.vs-h2h-val--b.is-win::after { left: 12px; background-color: var(--vs-b); }
.vs-h2h-val--a.is-win { padding-right: 38px; }
.vs-h2h-val--b.is-win { padding-left: 38px; }
.vs-h2h-group {
  padding: 12px 16px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  border-top: 1px solid var(--gray-200);
}
.vs-h2h-group + .vs-h2h-row { border-top: 0; }
.vs-h2h-note {
  margin: 0;
  padding: 10px 18px;
  font-size: 0.86rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
}

/* ==========================================================================
   3) vs-pick: „Wählen Sie A, wenn …“ / „… B, wenn …“ (eckig)
   ========================================================================== */
.text-body .vs-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.vs-pick-col {
  padding: 14px 16px;
  border-radius: 0;
  border-left: 4px solid var(--vs-a);
  background: var(--vs-a-soft);
}
.vs-pick-col--b { border-left-color: var(--vs-b); background: var(--vs-b-soft); }
.vs-pick-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-800);
}
.text-body .vs-pick-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.text-body .vs-pick-col li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-500);
}
.text-body .vs-pick-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--vs-a);
}
.text-body .vs-pick-col--b li::before { background: var(--vs-b); }
.vs-pick-col--minus { border-left-style: dashed; background: var(--gray-50); }
.text-body .vs-pick-col--minus li::before { background: transparent; border: 1.5px solid var(--vs-a); }
.text-body .vs-pick-col--b.vs-pick-col--minus li::before { border-color: var(--vs-b); }

/* ==========================================================================
   4) vs-calc: Kostenrechner für beide Anbieter
   ========================================================================== */
.text-body .vs-calc {
  margin: 18px 0;
  padding: 18px;
  background: var(--surface);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
}
.vs-calc-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.vs-calc-field { display: grid; gap: 6px; align-content: start; }
.vs-calc-label { font-size: 0.95rem; font-weight: 700; color: var(--gray-800); }
.vs-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.vs-seg button {
  flex: 1 1 auto;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
}
.vs-seg button[aria-pressed="true"] { background: var(--surface); color: var(--gray-800); box-shadow: var(--shadow-sm); }
.vs-seg button:focus-visible,
.vs-calc input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vs-range-row { display: flex; align-items: center; gap: 12px; }
.vs-range-row input[type="range"] { flex: 1 1 auto; accent-color: var(--blue); min-width: 0; }
.vs-range-row output {
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  color: var(--gray-800);
  background: var(--gray-100);
}
.vs-check { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--gray-500); cursor: pointer; }
.vs-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.vs-calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.vs-res {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
}
.vs-res.is-cheaper.vs-res--a { border-color: var(--vs-a); background: var(--vs-a-soft); }
.vs-res.is-cheaper.vs-res--b { border-color: var(--vs-b); background: var(--vs-b-soft); }
.vs-res-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gray-800); }
.vs-res-badge {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--vs-a);
}
.vs-res--b .vs-res-badge { background: var(--vs-b-text); }
.vs-res-badge[hidden] { display: none; }
.vs-res-sum { margin: 8px 0 2px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; color: var(--gray-800); }
.vs-res-sum small { font-size: 0.92rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0; }
.vs-res-plan { font-size: 0.95rem; line-height: 1.5; color: var(--gray-500); }
.vs-res-bar { height: 6px; margin-top: 12px; border-radius: 999px; background: var(--gray-200); overflow: hidden; }
.vs-res-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--vs-a); transition: width .25s ease; }
.vs-res--b .vs-res-bar span { background: var(--vs-b); }
.vs-calc-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vs-calc-presets span { font-size: 0.86rem; font-weight: 700; color: var(--gray-500); align-self: center; }
.vs-calc-presets button {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--surface);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-color-text);
  cursor: pointer;
}
.vs-calc-presets button:hover { background: var(--accent-color-soft); border-color: var(--accent-color-text); }
.text-body .vs-calc-note { margin: 10px 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--gray-500); }

/* ==========================================================================
   5) vs-verdict: Fazit mit zwei Hälften (eckig)
   ========================================================================== */
.text-body .vs-verdict {
  margin: 18px 0;
  border-radius: 0;
  border: 1.5px solid var(--gray-200);
  background: var(--surface);
}
.vs-verdict-head {
  padding: 16px 20px 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
}
.text-body .text-body .vs-verdict-bottom {
  margin: 0;
  padding: 14px 20px;
  font-weight: 700;
  color: var(--gray-800);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 640px) {
  .vs-seg { border-radius: 14px; }
  .vs-seg button { border-radius: 10px; }

  .vs-h2h-head { grid-template-columns: 1fr 1fr; }
  .vs-h2h-head .vs-h2h-crit { display: none; }
  .vs-h2h-who { padding: 12px 14px; font-size: 1rem; }
  .vs-h2h-row { grid-template-columns: 1fr 1fr; }
  .vs-h2h-row .vs-h2h-crit {
    grid-column: 1 / -1;
    order: -1;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 14px 8px;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
  }
  .vs-h2h-val { padding: 10px 14px 12px; font-size: 0.95rem; }
  .vs-h2h-val--b { text-align: left; align-items: flex-start; justify-content: flex-start; border-left: 1px solid var(--gray-200); }
  .vs-h2h-val--a { justify-content: flex-start; }

  .text-body .vs-pick,
  .vs-calc-controls,
  .vs-calc-results { grid-template-columns: 1fr; }
  .text-body .vs-calc { padding: 18px 16px; }
}

/* Nur für Screenreader (Anbietername vor jedem Wert im Kopf-an-Kopf-Vergleich) */
.vs-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Schmale Bildschirme (320 px): lange Wörter umbrechen, Felder schrumpfen lassen */
.vs-h2h-val, .vs-h2h-crit, .vs-res-plan { overflow-wrap: break-word; hyphens: manual; }
.vs-h2h-head, .vs-h2h-row, .vs-calc-controls, .vs-calc-results { min-width: 0; }
.vs-h2h-row > *, .vs-calc-field, .vs-res { min-width: 0; }
.vs-seg button { white-space: normal; }

/* ==========================================================================
   7) vs-calc: Ersparnis als Hauptaussage des Rechners
   ========================================================================== */
.text-body .vs-calc-delta {
  margin: 16px 0 0;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--gray-800);
}
.vs-calc-delta b { color: var(--vs-a); font-weight: 700; }
.vs-calc-delta.is-b b { color: var(--vs-b-text); }
.vs-calc-delta strong { font-weight: 700; box-shadow: inset 0 -0.32em 0 var(--vs-a-soft); }
.vs-calc-delta.is-b strong { box-shadow: inset 0 -0.32em 0 var(--vs-b-soft); }
.vs-calc-delta span { display: block; margin-top: 4px; font-size: 0.92rem; font-weight: 500; letter-spacing: 0; color: var(--gray-500); }
@media (max-width: 640px) { .text-body .vs-calc-delta { font-size: 1.2rem; } }

/* ==========================================================================
   8) vs-matrix: Wer gewinnt für wen? (im Fazit)
   ========================================================================== */
.vs-verdict > .vs-matrix-row:first-child { border-top: 0; }
.vs-matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-top: 1px solid var(--gray-200);
}
.vs-matrix-profile { font-size: 1rem; line-height: 1.45; color: var(--gray-500); }
.vs-matrix-profile strong { display: block; color: var(--gray-800); }
.vs-winner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 700;
  color: #fff; background: var(--vs-a);
  white-space: nowrap;
}
.vs-winner--b { background: var(--vs-b-text); }
.vs-winner .vs-logo { width: 24px; height: 24px; border-radius: 50%; border: 0; }
.vs-winner--tie { background: var(--gray-100); color: var(--gray-500); padding-left: 12px; }
@media (max-width: 640px) {
  .vs-matrix-row { padding: 12px 14px; }
}

/* Dark Mode: Seitenfarben sind heller → dunkle Schrift auf farbigen Flächen */
:root[data-theme="dark"] .vs-winner:not(.vs-winner--tie),
:root[data-theme="dark"] .vs-res-badge { color: #0A0F24; }

/* Mobil: Punktestand mit Balken über volle Breite */
@media (max-width: 640px) {
  .vs-h2h-score { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; }
  .vs-score-bar { grid-column: 1 / -1; grid-row: 2; }
  .vs-score-mid { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .vs-score-num--b { grid-column: 2; grid-row: 1; }
}

/* ==========================================================================
   9) vs-board: Hero als Spielstand (ersetzt vs-hero-art)
   ========================================================================== */
.post-hero-photo.vs-board {
  height: auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  --vs-a: var(--blue);
  --vs-a-soft: var(--blue-ultra);
  --vs-b: var(--accent-orange-display);
  --vs-b-soft: var(--orange-light);
  --vs-b-text: var(--accent-orange-action);
}
.vs-board-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 18px;
  color: var(--gray-800);
  background: var(--blue-ultra);
  border-bottom: 1px solid var(--gray-200);
}
.vs-board-side { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 800; }
.vs-board-side--b { justify-content: flex-end; }
.vs-board-side .vs-logo { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--gray-200); }
.vs-board-score {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-items: center;
  column-gap: 6px;
  padding: 8px 16px 6px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
}
.vs-board-score b { font-size: 2.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.vs-board-score b:first-child { color: var(--vs-a); }
.vs-board-score b:nth-of-type(2) { color: var(--vs-b-text); }
.vs-board-score i { font-style: normal; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--gray-500); }
.vs-board-score small { grid-column: 1 / -1; margin-top: 2px; font-size: 0.8rem; font-weight: 600; color: var(--gray-500); }
.vs-board-list { list-style: none; margin: 0; padding: 6px 0; }
.vs-board-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
}
.vs-board-row + .vs-board-row { border-top: 1px solid var(--gray-200); }
.vs-board-crit { text-align: center; font-size: 0.82rem; line-height: 1.25; font-weight: 600; color: var(--gray-500); }
.vs-board-val { font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--gray-500); }
.vs-board-val--b { text-align: right; }
.vs-board-val.is-win { color: var(--gray-800); font-weight: 700; }
.vs-board-val { display: flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: break-word; }
.vs-board-val--b { justify-content: flex-end; text-align: right; }
.vs-board-val.is-win::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vs-a);
}
.vs-board-val--b.is-win { flex-direction: row-reverse; justify-content: flex-start; }
.vs-board-val--b.is-win::before { background: var(--vs-b); }
.text-body a.vs-board-more,
a.vs-board-more {
  display: block;
  margin-top: auto;
  padding: 11px 16px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-color-text);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
a.vs-board-more:hover { background: var(--accent-color-soft); color: var(--accent-color-text); text-decoration: underline; text-underline-offset: 3px; }
a.vs-board-more:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
@media (max-width: 860px) {
  .post-hero-photo.vs-board { display: flex; margin-top: 18px; }
  /* Mobil: Spielstand direkt nach dem Lead, Autorenzeile danach */
  .post-hero-inner:has(> .vs-board) { gap: 0; }
  .post-hero-inner:has(> .vs-board) > .post-hero-text { display: contents; }
  .post-hero-inner:has(> .vs-board) .hero-author-bar { order: 3; }
  .post-hero-inner:has(> .vs-board) > .vs-board { order: 2; }
}
@media (max-width: 400px) {
  .vs-board-top { padding: 14px 12px; }
  .vs-board-side > span:not(.vs-logo) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vs-board-side .vs-logo { width: 44px; height: 44px; border-radius: 12px; }
  .vs-board-score { padding: 6px 14px 4px; }
  .vs-board-score b { font-size: 1.8rem; }
  .vs-board-row { grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 8px 12px; }
  .vs-board-crit { grid-column: 1 / -1; grid-row: 1; text-align: center; font-size: 0.8rem; }
  .vs-board-val { font-size: 0.92rem; }
}

/* Aufklappbare Beispiele unter dem Rechner */
.text-body .vs-details { margin: 6px 0 14px; }
.text-body .vs-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-color-text);
  cursor: pointer;
  list-style: none;
}
.text-body .vs-details > summary::-webkit-details-marker { display: none; }
.text-body .vs-details > summary::before {
  content: "+";
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.95rem; line-height: 1;
  color: var(--accent-color-text);
  background: var(--accent-color-soft);
}
.text-body .vs-details[open] > summary::before { content: "–"; }
.text-body .vs-details > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.text-body .vs-details .table-wrap { margin-top: 8px; }
@media (max-width: 340px) {
  .vs-h2h-val, .vs-h2h-crit, .vs-res-plan, .vs-board-val { overflow-wrap: anywhere; hyphens: auto; }
}

/* Tabellen auf VS-Seiten: flache Kopfzeile (Modifikator für post-compare-table) */
.text-body .post-compare-table.vs-table th {
  white-space: nowrap;
}
.text-body .post-compare-table.vs-table td { padding: 11px 16px; }

/* ==========================================================================
   10) Partner-Buttons (Werbelinks über /go/, Werbehinweis im Hero)
   ========================================================================== */
.vs-board-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px 12px; border-top: 1px solid var(--gray-200); }
a.vs-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; line-height: 1.2; text-align: center;
  text-decoration: none; color: #fff;
  background: var(--blue);
  transition: var(--transition-button, background .15s);
}
a.vs-btn--b { background: var(--vs-b-text); }
a.vs-btn:hover { background: var(--blue-dark, #1A36C8); color: #fff; }
a.vs-btn--b:hover { background: var(--orange); }
a.vs-btn:focus-visible, a.vs-cta-item:focus-visible { outline: 3px solid var(--gray-800); outline-offset: 2px; }
:root[data-theme="dark"] a.vs-btn,
:root[data-theme="dark"] a.vs-cta-item { color: #0A0F24; }
:root[data-theme="dark"] a.vs-btn:hover { background: var(--blue-dark); }
:root[data-theme="dark"] a.vs-btn--b:hover { background: var(--orange-dark); }

.text-body .vs-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.text-body a.vs-cta-item {
  display: grid; gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none; color: #fff;
  background: var(--blue);
  border-bottom: 0;
}
.text-body a.vs-cta-item--b { background: var(--vs-b-text); }
.text-body a.vs-cta-item:hover { background: var(--blue-dark, #1A36C8); }
.text-body a.vs-cta-item--b:hover { background: var(--orange); }
:root[data-theme="dark"] .text-body a.vs-cta-item { color: #0A0F24; }
:root[data-theme="dark"] .text-body a.vs-cta-item:hover { background: var(--blue-dark); }
:root[data-theme="dark"] .text-body a.vs-cta-item--b:hover { background: var(--orange-dark); }
.vs-cta-name { font-size: 1.05rem; font-weight: 700; }
.vs-cta-name::after { content: " ↗"; font-weight: 600; }
.vs-cta-sub { font-size: 0.88rem; font-weight: 500; }
@media (max-width: 640px) { .text-body .vs-cta { grid-template-columns: 1fr; } }

/* Dark Mode: helleres Orange mit dunkler Schrift */
:root[data-theme="dark"] .vs-scope,
:root[data-theme="dark"] .text-body .vs-h2h,
:root[data-theme="dark"] .text-body .vs-pick,
:root[data-theme="dark"] .text-body .vs-calc,
:root[data-theme="dark"] .text-body .vs-verdict,
:root[data-theme="dark"] .text-body .vs-cta,
:root[data-theme="dark"] .post-hero-photo.vs-board { --vs-b-text: var(--accent-orange-text); }

/* Anbieternamen werden sitewide per tools/audit-anbieter-links.rb in <strong> gesetzt –
   in farbigen Pills, Buttons und Köpfen die Farbe des Elements übernehmen */
.text-body .vs-winner strong,
.text-body .vs-cta strong,
.text-body .vs-h2h-who strong,
.text-body .vs-pick-title strong,
.vs-board strong { color: inherit; font-weight: inherit; }
