.ptc-extern-checkout .rechts-new__online-image-container {
    height: auto;
    margin-bottom: 40px;
}

.ptc-extern-checkout .rechts-new__online-image-container img {
    position: static;
    top: 0;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: block;
}

.ptc-extern-checkout .ptc-benefits__heading {
    margin: 28px 0 14px;
    font-size: 18px;
    font-weight: 700;
}

.ptc-extern-checkout .ptc-benefits__heading:first-child,
.ptc-extern-checkout .ptc-benefits__note + .ptc-benefits__heading {
    margin-top: 8px;
}

.ptc-extern-checkout .ptc-benefits__note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.ptc-extern-checkout .ptc-benefits__note strong {
    font-weight: 700;
}

.ptc-extern-checkout .bullet-list-item div {
    font-weight: 400;
    line-height: 1.45;
}

.ptc-extern-checkout .bullet-list-item strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

/* --- Produktauswahl (Tarife) ---------------------------------------------
   checkout.css legt .tarife als flex ohne wrap an und gibt jeder .tarif
   width: 48.5%. Bei mehr als zwei Produkten schrumpfen die Karten dadurch
   auf eine einzige Zeile und stossen buendig aneinander; justify-content:
   space-between laeuft ins Leere, weil keine freie Flaeche uebrig bleibt.
   Hier stattdessen ein zweispaltiges Raster mit echtem Abstand.            */

.ptc-extern-checkout .tarife {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.ptc-extern-checkout .tarif {
    width: auto;
    min-width: 0;
}

/* Student- und Partnerbox enthalten nur ein Produkt - das soll nicht als
   halbe Karte neben einer Luecke stehen. */
.ptc-extern-checkout .tarife > .tarif:only-child {
    grid-column: 1 / -1;
}

.ptc-extern-checkout .tarif label {
    height: 100%;
    padding: 20px 18px;
    border: 2px solid #e4e9ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(1, 23, 46, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ptc-extern-checkout .tarif label:hover {
    border-color: #b7c4d3;
    box-shadow: 0 6px 16px rgba(1, 23, 46, 0.09);
    transform: translateY(-1px);
}

.ptc-extern-checkout .tarif input[type="radio"]:checked + label {
    border-color: #01172e;
    box-shadow: 0 0 0 3px rgba(1, 23, 46, 0.09), 0 6px 16px rgba(1, 23, 46, 0.1);
}

/* checkout.css blendet den Radio-Input aus, fokussierbar ist das Label
   (tabindex="0") - der Fokusring muss also dort sitzen. */
.ptc-extern-checkout .tarif label:focus-visible {
    outline: 2px solid #006ab8;
    outline-offset: 2px;
}

/* Produktname als Block, damit lange Namen in der schmalen Spalte umbrechen
   duerfen, ohne den Preis mitzureissen. */
.ptc-extern-checkout .tarif p.name_tarif {
    display: block;
    padding-left: 12px;
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
}

/* Der gruene Akzent laeuft jetzt ueber die volle Texthoehe statt fixer 16px. */
.ptc-extern-checkout .tarif p.name_tarif::before {
    top: 2px;
    bottom: 2px;
    height: auto;
    width: 3px;
    border-radius: 2px;
}

.ptc-extern-checkout .tarif p.name_tarif span {
    display: inline-block;
    margin-left: 0;
    margin-top: 10px;
    top: 0;
    font-weight: 700;
}

.ptc-extern-checkout .tarif p.desc_tarif {
    margin-top: 6px;
    padding-left: 12px;
}

@media only screen and (max-width: 1000px) {
    .ptc-extern-checkout .tarife {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .ptc-extern-checkout .tarif,
    .ptc-extern-checkout .tarif:first-child {
        width: auto;
        margin-bottom: 0;
    }
}
