/* Vergleich der drei Tarife. Wird auf der Startseite und im Haendlerbereich (Seite "Tarif") geladen. Mobil zuerst: vier Spalten ohne Querrollen. */
.tarife { margin-top: 24px; position: relative; }
.tarife__wahl { position: absolute; opacity: 0; pointer-events: none; }
.tarife__schalter { display: inline-flex; margin: 0 0 18px; border: 1px solid var(--linie-stark); border-radius: 4px; overflow: hidden; }
.tarife__schalter label { padding: 9px 16px; font-size: .95rem; font-weight: 600; color: var(--tinte); cursor: pointer; }
#takt-jahr:checked ~ .tarife__schalter label[for="takt-jahr"], #takt-monat:checked ~ .tarife__schalter label[for="takt-monat"] { background: var(--nacht); color: #fff; }
.tarife__wahl:focus-visible ~ .tarife__schalter { outline: 2px solid var(--blau); outline-offset: 3px; }
#takt-jahr:checked ~ .tarife__huelle .tarife__preis--monat, #takt-monat:checked ~ .tarife__huelle .tarife__preis--jahr { display: none; }
.tarife__tabelle { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; line-height: 1.35; }
/* Die allgemeinen Tabellenregeln des Haendlerbereichs (kein Umbruch, eigene Linien und Abstaende) gelten hier nicht */
.tarife__tabelle th, .tarife__tabelle td { white-space: normal; border: 0; vertical-align: middle; font-size: inherit; }
.tarife__tabelle th:first-child { width: 34%; }
.tarife__tabelle thead th { padding: 12px 3px 14px; text-align: center; vertical-align: top; border-bottom: 2px solid var(--nacht); font-weight: 500; }
.tarife__name { display: block; font-size: .92rem; font-weight: 700; color: var(--nacht); }
.tarife__preis { display: block; margin-top: 2px; font-size: 1.25rem; font-weight: 700; color: var(--nacht); }
.tarife__preis--offen { font-size: .84rem; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.tarife__takt { display: block; margin-top: 2px; font-size: .74rem; color: var(--grau); }
.tarife__tabelle .marke { display: inline-block; margin-top: 6px; }
.tarife__tabelle tbody tr { border-bottom: 1px solid var(--linie); }
.tarife__tabelle tbody th { padding: 11px 8px 11px 0; text-align: left; font-weight: 500; color: var(--tinte); }
.tarife__tabelle tbody td { padding: 11px 4px; text-align: center; color: var(--tinte); }
.tarife__tabelle .tarife__gruppe th { padding-top: 24px; font-weight: 700; color: var(--nacht); }
.tarife__tabelle .tarife__meiner { background: #f2f5fb; }
.tarife__ja { display: inline-block; width: 7px; height: 13px; margin-bottom: 2px; border: solid var(--blau); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tarife__nein { color: var(--linie-stark); }
.tarife__fuss { margin: 14px 0 0; font-size: .86rem; color: var(--grau); }
@media (min-width: 720px) {
  .tarife__tabelle { font-size: 1rem; }
  .tarife__tabelle th:first-child { width: 46%; }
  .tarife__name { font-size: 1.15rem; }
  .tarife__preis { font-size: 1.6rem; }
  .tarife__preis--offen { font-size: 1rem; }
  .tarife__takt { font-size: .84rem; }
  .tarife__tabelle tbody th, .tarife__tabelle tbody td { padding-top: 13px; padding-bottom: 13px; }
}
