/* =================================================================
   VERGLEICHSSEITEN (27.11.2026): /vergleich/*.html
   -----------------------------------------------------------------
   Aufbau wie die Werkzeugseiten (werkzeug.css: .wz-kopf, .wz-text,
   .wz-abschnitt, .wz-prosa, .wz-punkte, .fs-faq). Hier steht nur,
   was der Vergleich selbst braucht, alles mit der Vorsilbe .vg-:
   Empfehlung in 30 Sekunden, Tabelle auf einen Blick, Kriterien,
   die Programme im Einzelnen.

   Regeln: weiße Flächen, feine neutrale Linien, Lila nur für Links
   und die Hauptaktion. Die Tabelle rollt am Handy in ihrem Rahmen,
   die erste Spalte (der Name) bleibt stehen. Kein Wort wird
   getrennt, nichts wird abgeschnitten.
   ================================================================= */

/* Stand und Zahl der Programme unter dem Einleitungssatz */
.vg-stand { margin: 16px 0 0 !important; font-size: .9375rem !important; line-height: 1.5 !important; color: var(--text-2); text-wrap: pretty !important; }

/* Abschnitte, die die ganze Breite brauchen: Überschrift darüber statt links daneben */
.wz-abschnitt.vg-breit { display: block; }
.vg-breit > h2 { margin-bottom: 20px; }
.vg-unter { margin: 0 0 20px; max-width: 46em; font-size: 1.0625rem; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }

/* ---------- Empfehlung in 30 Sekunden ---------- */
.vg-empfehlung { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 40em; }
.vg-empfehlung li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--rand); }
.vg-empfehlung li:first-child { padding-top: 0; border-top: 0; }
.vg-empfehlung .vg-fall { font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--text-2); }
.vg-empfehlung b { font: 700 1.0625rem/1.35 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; color: var(--text); }
.vg-empfehlung b a { color: inherit; text-decoration: none; }
.vg-empfehlung b a:hover { color: var(--akzent); }
.vg-empfehlung .vg-satz { font-size: .9375rem; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.vg-offen { padding: 14px 16px; border: 1px solid var(--rand); border-radius: 12px; background: var(--wz-leise, rgba(23, 22, 34, .04)); font-size: .9375rem !important; line-height: 1.55 !important; }

/* ---------- Tabelle auf einen Blick ---------- */
.vg-rahmen { position: relative; overflow-x: auto; border: 1px solid var(--rand); border-radius: 16px; background: var(--flaeche, #fff); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.vg-rahmen:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.vg-tabelle { width: 100%; min-width: 940px; border-collapse: separate; border-spacing: 0; font-size: .9375rem; line-height: 1.45; }
.vg-tabelle th, .vg-tabelle td { padding: 14px 16px; border-bottom: 1px solid var(--rand); text-align: left; vertical-align: top; }
.vg-tabelle tbody tr:last-child > * { border-bottom: 0; }
.vg-tabelle thead th { padding-top: 14px; padding-bottom: 12px; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--text-2); white-space: nowrap; background: var(--flaeche, #fff); }
.vg-tabelle td { color: var(--text-2); }
/* Erste Spalte: Nummer und Name, bleibt beim Rollen stehen */
.vg-tabelle tbody th, .vg-tabelle thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--flaeche, #fff); }
.vg-tabelle tbody th { min-width: 150px; font-weight: 600; color: var(--text); white-space: nowrap; box-shadow: 1px 0 0 var(--rand); }
.vg-tabelle thead th:first-child { box-shadow: 1px 0 0 var(--rand); }
.vg-tabelle tbody th a { color: inherit; text-decoration: none; }
.vg-tabelle tbody th a:hover { color: var(--akzent); }
.vg-tabelle .vg-nr { display: inline-block; min-width: 1.6em; color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.vg-tabelle .vg-preis { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text); }
.vg-tabelle tr.vg-wir > * { background: #f8f8fa; }
.vg-fein { margin: 12px 0 0; max-width: 52em; font-size: .875rem; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* ---------- So haben wir verglichen ---------- */
.vg-kriterien { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 20px 0 0; }
.vg-kriterien h3 { margin: 0 0 4px; font: 700 1.0625rem/1.35 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; color: var(--text); }
.vg-kriterien p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
@media (min-width: 640px) { .vg-kriterien { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; } }

/* ---------- Die Programme im Einzelnen ---------- */
.vg-tools { display: grid; gap: 0; }
.vg-tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 36px 0; border-top: 1px solid var(--rand); container-type: inline-size; }
.vg-tool:first-child { padding-top: 8px; border-top: 0; }
.vg-tool-kopf { display: grid; gap: 4px; }
.vg-tool-nr { margin: 0; font-size: .875rem; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.vg-tool h3 { margin: 0; font: 800 1.5rem/1.2 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; color: var(--text); }
.vg-tool-fuer { margin: 0; font-size: 1.0625rem; line-height: 1.5; font-weight: 600; color: var(--text); text-wrap: balance; }
.vg-tool .wz-prosa { max-width: 46em; }
.vg-sw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 64em; }
.vg-sw h4 { margin: 0 0 8px; font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.vg-sw .wz-punkte { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
.vg-sw .wz-punkte li { text-wrap: pretty; }
.vg-plus li::before { background: #1f8a5b !important; }
.vg-minus li::before { background: #b42318 !important; }
@container (min-width: 720px) { .vg-sw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.vg-daten { display: grid; gap: 10px; margin: 0; max-width: 46em; font-size: .9375rem; line-height: 1.55; }
.vg-daten > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.vg-daten dt { font-weight: 600; color: var(--text); }
.vg-daten dd { margin: 0; color: var(--text-2); text-wrap: pretty; }
@container (min-width: 640px) { .vg-daten > div { grid-template-columns: 9em minmax(0, 1fr); gap: 16px; } }
.vg-tool .wz-weiter-knoepfe { margin: 4px 0 0; }

/* Am Handy etwas weniger Luft */
@media (max-width: 639px) {
  .vg-tool { padding: 28px 0; }
  .vg-tabelle th, .vg-tabelle td { padding: 12px 14px; }
}

/* Hinweis aufs Wischen nur, solange die Tabelle nicht ganz in ihren Rahmen passt (940 px plus Rand) */
.vg-wisch { display: none; }
@media (max-width: 1040px) { .vg-wisch { display: block; margin-bottom: -4px; } }
