/* vergleich-c6.css — /vergleich in der Sprache der Paketseite C6, mit eigenem Aufbau
   (seit 29.11.2026, Sitzung «Fabrizio · Design» [9315ef], CrackBookAir).

   WARUM
   Fabrizio 29.11.2026 nach /kontakt: «auch die Vergleichseite noch optimieren und schauen, was man da machen kann, dass sie
   ins Design passt». Die Seite stand in Bauteilen der alten Schicht: zwei Wahlkarten mit 1-px-Rand und blauem Rahmen, ein
   graues Segment, blaue Spalte für Web Start, blaue Haken, Knöpfe .btn-dark und ein Umzugs-Kasten mit Rand und Inline-Stil.
   Übernommen ist die Sprache von /kontakt und /pakete, nicht deren Aufbau: weisser Grund, Titel in --s15-link, Pillen,
   Haarlinien statt Rahmen, die Karte mit blauem Schein am Ende. Die Wahl Webhosting/E-Mail sind Reiter mit 2-px-Spur wie
   die Reiter der Startseite (.s15-angebot), die Laufzeit der Regler von /pakete (.c3-lz: blaue Pille, Rabatt darüber).

   WAS BLEIBT
   Tabellen, Zellen und Klassen unverändert: paket_zusagen_pruefstand.py vergleicht die Zellen, vergleich.js/vergleich2.js
   binden an .billing-toggle button[data-term], [data-vg-ziel], [data-th-price], [data-mv-preis]. Alles hier ist Gestaltung.

   Jede Regel beginnt mit main.vg6; gegen die v15-Regeln aus unterseite2.css (.t15 … :not(#_)) mit :not(#_). */

/* ── Grund: weiss, Karten grau, wie /kontakt (Fabrizio 29.11.2026: «weissen Hintergrund, das Grau sieht komisch aus») ── */
main.vg6 {
  --c3-feld: var(--s15-bg);    /* hell #fff */
  --c3-karte: var(--s15-card); /* hell #f5f5f7 */
  --c3-haar: var(--s15-line);  /* hell #d2d2d7 */
}

/* ── Aufmacher: linksbündig wie /pakete, Titel in der Grösse von .c3-auf ── */
/* unterseite2.css setzt den Aufmacher auf 900 px in der Mitte; hier dieselbe Breite wie der Inhalt darunter (1172 px). */
main.vg6 .page-hero:not(#_) { text-align: left; }
main.vg6 .page-hero .container:not(#_) { max-width: 1220px; padding: 0 24px; }
main.vg6 .page-hero .breadcrumbs:not(#_) { justify-content: flex-start; }
main.vg6.t15--produkt .page-hero h1:not(#_) {
  margin: 20px 0 0; max-width: 14em;
  font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance;
}
main.vg6 .page-hero .hero-sub:not(#_) { margin: 22px 0 0; max-width: 32em; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; text-align: left; color: var(--s15-text2); }

/* ── Wahl und Laufzeit in einer Zeile: Reiter links, Regler rechts ── */
main.vg6 .vg-wahl .container {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px;
}
/* Reiter wie .s15-angebot (start2.css): grau, gewählt schwarz mit Spur; die Wahl ändert keine Breite (Regel 14). */
main.vg6 .vg-karten:not(#_) { display: flex; gap: 32px; max-width: none; margin: 0; }
main.vg6 .vg-karte:not(#_) {
  position: relative; display: inline-block; padding: 8px 0 12px; border-radius: 0; background: none; box-shadow: none;
  font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--s15-text2); text-decoration: none;
  transition: color .25s cubic-bezier(.2, .7, .2, 1);
}
main.vg6 .vg-karte:not(#_)::before,
main.vg6 .vg-karte:not(#_)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; }
main.vg6 .vg-karte:not(#_)::before { background: var(--s15-line); }
main.vg6 .vg-karte:not(#_)::after { background: var(--s15-text); transform: scaleX(0); transform-origin: 0 50%; transition: transform .38s cubic-bezier(.2, .7, .2, 1); }
main.vg6 .vg-karte:not(#_):hover { color: var(--s15-text); text-decoration: none; background: none; box-shadow: none; }
main.vg6 .vg-karte[aria-selected="true"]:not(#_) { color: var(--s15-text); background: none; box-shadow: none; }
main.vg6 .vg-karte[aria-selected="true"]:not(#_)::after { transform: scaleX(1); }
main.vg6 .vg-karte:not(#_):focus-visible { outline: 2px solid var(--s15-link); outline-offset: 3px; border-radius: 6px; }

/* Laufzeit wie der Regler auf /pakete (.c3-lz, c3.css): vier gleich breite Felder, gewählt eine blaue Pille, der Rabatt
   als Etikett darüber, damit alle vier einzeilig bleiben. Weiss auf Knopfblau 4,70:1. Etikett 12 statt 11 px wie auf
   /pakete: am Telefon nie unter 11,5 px (Regel 7). */
main.vg6 .billing-toggle.vg-laufzeit:not(#_) {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  width: min(440px, 100%); margin: 0; padding: 4px; border-radius: 980px;
  background: var(--c3-feld); box-shadow: inset 0 0 0 1px var(--c3-haar);
}
main.vg6 .billing-toggle.vg-laufzeit button:not(#_) {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 8px; border: 0; border-radius: 980px; background: transparent; box-shadow: none;
  font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--s15-text);
  -webkit-text-stroke: 0; white-space: nowrap; cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
main.vg6 .billing-toggle.vg-laufzeit button.active:not(#_) { background: var(--s15-cta); color: #fff; }
main.vg6 .billing-toggle.vg-laufzeit button:not(#_):focus-visible { outline: 2px solid var(--s15-link); outline-offset: 2px; }
main.vg6 .billing-toggle.vg-laufzeit .save:not(#_) {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 3px 8px; border-radius: 980px; font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0;
  background: var(--s15-cta); color: #fff; box-shadow: 0 0 0 2px var(--c3-feld);
}

/* ── Bereiche: Titel wie .c3-titel (Blau, 500), darunter ein Satz ── */
main.vg6 .vg-bereich__titel:not(#_) { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.12; font-weight: 500; letter-spacing: -0.022em; color: var(--s15-link); }
main.vg6 .vg-bereich__text:not(#_) { margin: 12px 0 28px; max-width: 40em; font-size: 17px; line-height: 1.47; letter-spacing: -0.01em; color: var(--s15-text2); }

/* ── Tabelle: Haarlinien wie bisher, keine blaue Spalte, Haken in Schriftfarbe ── */
main.vg6 .compare:not(#_) td.featured-col { background: transparent; }
/* Der Kopf trägt den Seitengrund, auch die Spalte von Web Start: Er klebt am Rechner über den Zeilen (siehe unten). */
main.vg6 .compare:not(#_) thead th,
main.vg6 .compare:not(#_) thead th.featured-col { background: var(--s15-bg); }
main.vg6 .compare:not(#_) thead th { padding-top: 16px; padding-bottom: 14px; vertical-align: bottom; }
main.vg6 .compare:not(#_) .plan-h { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--s15-text); }
main.vg6 .compare:not(#_) thead th.featured-col .plan-h { color: var(--s15-link); }
main.vg6 .compare:not(#_) .plan-h-price,
main.vg6 .compare:not(#_) .featured-col .plan-h-price { font-size: 13px; color: var(--s15-text2); }
main.vg6 .compare:not(#_) tr.group td { padding-top: 32px; padding-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--s15-text); }
/* Haken und Strich in Schriftfarbe: Farbe ist Handlung oder Zustand, nie Schmuck (Grundsatz 2; ki_merkmale «Farbiges Symbol»). */
main.vg6 .compare:not(#_) .check { color: var(--s15-text); }
main.vg6 .compare:not(#_) .cross { color: var(--s15-text3); }

/* Kopf der Tabelle bleibt am Rechner beim Rollen stehen, unter der Kopfzeile (52 px, kopfzeile.css). site.css setzt ihn
   schon sticky, aber im Rahmen .compare-wrap mit overflow-x: auto, dort klebt er nicht. Ab 1080 px passt die Tabelle ohne
   seitliches Rollen (vergleich_breite_pruefstand.mjs), darum darf der Rahmen dort überlaufen. Am Telefon klebt schon die
   Paketwahl .vg-leiste (vergleich2.css). */
@media (min-width: 1080px) {
  main.vg6 .compare-wrap:not(#_) { overflow: visible; }
  main.vg6 .compare:not(#_) thead th { top: calc(var(--kz-h-klein, 52px) + 1px); }
}
/* Titel brechen nicht am Bindestrich («Webhosting-» / «Pakete.», gemessen bei 390 px). */
main.vg6 .vg6-ganz { white-space: nowrap; }

/* ── Knöpfe unter den Tabellen (.c-knopf aus c15.css) ── */
main.vg6 .vg6-knoepfe { margin-top: 32px; }

/* ── Schluss: die Karte mit blauem Schein (c6.css), Breite wie der Inhalt ── */
main.vg6 .vg6-schluss:not(#_) {
  padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px);
  padding-left: max(24px, calc((100% - 1172px) / 2)); padding-right: max(24px, calc((100% - 1172px) / 2));
}

/* ── Telefon ── */
@media (max-width: 700px) {
  main.vg6 .vg-wahl .container { flex-direction: column; align-items: stretch; }
  main.vg6 .billing-toggle.vg-laufzeit:not(#_) { width: 100%; }
  main.vg6 .vg6-schluss:not(#_) { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  main.vg6 .vg-karte:not(#_)::after { transition: none; }
}
