/* ========================================= */
/* 1. NATIVE KREISE & CHECKBOXEN VERSTECKEN  */
/* (WCAG & HTML5-VALIDIERUNGSSICHER)         */
/* ========================================= */
input[type="radio"],
input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Gezieltes Ausblenden der Bit Form Standard-Kreise */
.bf-c-mk,
.bf-radio-mark,
.bit-form-check-mark,
span[class*="check-mark"],
label:has(.senioren-tarif-card)::before,
label:has(.senioren-tarif-card)::after {
    display: none !important;
}

label:has(.senioren-tarif-card) {
    display: block !important;
    cursor: pointer !important;
    margin: 0 !important;
    height: 100% !important;
}

/* ========================================= */
/* 2. BASIS-DESIGN DER KARTEN                */
/* ========================================= */
.senioren-tarif-card {
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif;
    background-color: #FFFFFF;
    border: 2px solid #0084C3 !important; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 32px;
    color: #333333;
    line-height: 1.5;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%; 
    position: relative; 
    transition: all 0.2s ease-in-out;
}

.senioren-tarif-card h3 {
    color: #1A2342;
    font-weight: 700;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.senioren-tarif-card .price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.senioren-tarif-card .price {
    color: #0084C3;
    font-size: 28px;
    font-weight: 700;
}

.senioren-tarif-card .badge {
    background-color: #DE8B00;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: rotate(-2deg) translateZ(0); 
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    white-space: nowrap;
}

.senioren-tarif-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; 
}

.senioren-tarif-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 16px;
}

.senioren-tarif-card ul li::before {
    content: '✓';
    color: #DE8B00;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 18px;
}

.senioren-tarif-card .links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.senioren-tarif-card .links a {
    color: #0084C3;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.senioren-tarif-card .links a:hover {
    text-decoration: underline;
    color: #1A2342;
}

/* ========================================= */
/* 3. VISUELLES FEEDBACK BEI AUSWAHL         */
/* ========================================= */
input[type="radio"]:checked + * .senioren-tarif-card,
input[type="radio"]:checked ~ * .senioren-tarif-card,
:has(> input[type="radio"]:checked) .senioren-tarif-card,
label:has(input[type="radio"]:checked) .senioren-tarif-card {
    background-color: #EBF3FA !important; 
    border-width: 3px !important; 
    box-shadow: 0 6px 20px rgba(0, 132, 195, 0.2) !important;
}

input[type="radio"]:checked + * .senioren-tarif-card::after,
input[type="radio"]:checked ~ * .senioren-tarif-card::after,
:has(> input[type="radio"]:checked) .senioren-tarif-card::after,
label:has(input[type="radio"]:checked) .senioren-tarif-card::after {
    content: '✓';
    position: absolute;
    top: -14px;
    right: -14px; 
    background-color: #0084C3;
    color: #FFFFFF;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* ========================================= */
/* WINZIGE ARTEFAKTE (CHECKED/FOCUS) KILLEN  */
/* ========================================= */
span[class*="-bx"],
span.bf-box {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================= */
/* 4. DESIGN DER HARDWARE KARTEN             */
/* ========================================= */
.hardware-card h3 {
    font-size: 20px;
    min-height: 55px;
}

.hardware-card .hw-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.hardware-card .hw-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.hardware-card p {
    font-size: 15px;
    flex-grow: 1;
    margin: 0 0 20px 0;
    color: #666;
}

.hardware-card p b {
    color: #333;
}

.hardware-card {
    min-height: 520px !important; 
}

/* ========================================= */
/* 6. HINWEIS-BOX (CONVERSION OPTIMIERT)     */
/* ========================================= */
.sta-selection-hint {
    background-color: #EBF3FA;
    border-left: 5px solid #0084C3;
    border-radius: 6px;
    padding: 18px 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 132, 195, 0.08);
}

.sta-selection-hint .hint-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sta-selection-hint .hint-text {
    color: #1A2342;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif;
}

.sta-selection-hint .hint-text strong {
    color: #0084C3;
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

@media (max-width: 650px) {
    .sta-selection-hint {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
        gap: 12px;
        border-left: none;
        border-top: 5px solid #0084C3;
    }
    
    .sta-selection-hint .hint-text strong {
        font-size: 17px;
    }
}

/* ========================================= */
/* 7. DESIGN DER RUFNUMMERN-KARTEN           */
/* ========================================= */
.porting-card {
    min-height: auto !important;
    padding: 28px 32px;
}

.porting-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #F4F6F9;
    padding-bottom: 16px;
}

.porting-titles h3 {
    margin-bottom: 6px;
    font-size: 22px;
}

.porting-titles .subtitle {
    color: #0084C3;
    font-weight: 600;
    font-size: 15px;
}

.porting-card p {
    color: #444;
    font-size: 15px;
    margin-bottom: 16px;
}

.porting-card ul {
    margin-bottom: 0;
}

/* ========================================= */
/* 9. FORTSCHRITTSANZEIGE (STEP-INDIKATOR)   */
/* ========================================= */
._frm-b1-stp-hdr-wrpr {
    display: flex !important;
    justify-content: space-between !important;
    position: relative !important;
    margin-bottom: 40px !important;
    padding-top: 10px !important;
    z-index: 1 !important;
}

div._frm-b1-stp-hdr {
    flex: 1 !important;
    text-align: center !important;
    padding: 0 !important;
    position: relative !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border: none !important;
}

div._frm-b1-stp-hdr:not(:first-child)::after {
    content: "" !important;
    position: absolute !important;
    top: 20px !important;
    left: -50% !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #EBF3FA !important; 
    z-index: -2 !important;
}

div._frm-b1-stp-hdr.active:not(:first-child)::after,
div._frm-b1-stp-hdr.completed:not(:first-child)::after {
    background-color: #0084C3 !important;
}

div._frm-b1-stp-hdr ._frm-b1-stp-icn-cntn {
    position: relative !important;
    z-index: 10 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: #FFFFFF !important;
    border: 2px solid #D1E4F3 !important; 
    color: #999999 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px auto !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

div._frm-b1-stp-hdr.completed ._frm-b1-stp-icn-cntn {
    background-color: #0084C3 !important;
    border-color: #0084C3 !important;
    color: #FFFFFF !important;
}

div._frm-b1-stp-hdr.active ._frm-b1-stp-icn-cntn {
    background-color: #DE8B00 !important;
    border-color: #DE8B00 !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 5px rgba(222, 139, 0, 0.15) !important;
}

div._frm-b1-stp-hdr ._frm-b1-stp-hdr-lbl {
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #999999 !important;
    line-height: 1.3 !important;
}

div._frm-b1-stp-hdr ._frm-b1-stp-hdr-sub-titl {
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif !important;
    font-size: 12px !important;
    color: #AAAAAA !important;
    margin-top: 4px !important;
    display: block !important;
}

div._frm-b1-stp-hdr.active ._frm-b1-stp-hdr-lbl,
div._frm-b1-stp-hdr.completed ._frm-b1-stp-hdr-lbl {
    color: #1A2342 !important;
}

div._frm-b1-stp-hdr.active ._frm-b1-stp-hdr-sub-titl,
div._frm-b1-stp-hdr.completed ._frm-b1-stp-hdr-sub-titl {
    color: #666666 !important;
}

@media (max-width: 768px) {
    div._frm-b1-stp-hdr ._frm-b1-stp-hdr-lbl,
    div._frm-b1-stp-hdr ._frm-b1-stp-hdr-sub-titl {
        display: none !important; 
    }
    
    div._frm-b1-stp-hdr.active ._frm-b1-stp-hdr-lbl {
        display: block !important; 
        position: absolute !important;
        top: 55px !important;
        width: 250px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 16px !important;
    }
    
    div._frm-b1-stp-hdr.active ._frm-b1-stp-hdr-sub-titl {
        display: block !important;
        position: absolute !important;
        top: 75px !important;
        width: 250px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    ._frm-b1-stp-hdr-wrpr {
        margin-bottom: 70px !important;
    }
    
    div._frm-b1-stp-hdr ._frm-b1-stp-icn-cntn {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }
    
    div._frm-b1-stp-hdr:not(:first-child)::after {
        top: 17px !important;
    }
}

/* ========================================= */
/* 10. RECHTLICHE CHECKBOX (AGB)             */
/* ========================================= */
.b1-43-fld-wrp span[class*="-bx"],
.b1-43-fld-wrp span.bf-box {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #0084C3 !important;
    border-radius: 4px !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
}

.b1-43-fld-wrp label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    color: #1A2342 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* ========================================= */
/* 11. BESTELLÜBERSICHT (SCHRITT 5)          */
/* ========================================= */
.sta-summary-box {
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #D1E4F3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 24px;
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif;
    line-height: 1.5;
    color: #333333;
}

.sta-summary-box h4 {
    color: #1A2342;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 20px;
}

.sta-sum-row {
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
}

.sta-sum-row .check-icon {
    color: #DE8B00;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 18px;
}

.sta-sum-row strong,
.sta-sum-data strong {
    color: #1A2342;
}

.sta-summary-box hr {
    border: 0;
    border-top: 1px solid #D1E4F3;
    margin: 20px 0;
}

.sta-sum-data p {
    margin: 0 0 10px 0;
}

/* ========================================= */
/* 12. GLOBALES BUTTON-DESIGN (CI KONFORM)   */
/* ========================================= */
html body ._frm-b1-next-step-btn,
html body ._frm-b1-prev-step-btn {
    background-color: #0084C3 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 16px 36px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif !important;
    box-shadow: 0 4px 6px rgba(0, 132, 195, 0.2) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    min-width: 140px !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

html body ._frm-b1-next-step-btn:hover,
html body ._frm-b1-prev-step-btn:hover,
html body ._frm-b1-next-step-btn:focus,
html body ._frm-b1-prev-step-btn:focus {
    background-color: #1A2342 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 6px 10px rgba(26, 35, 66, 0.3) !important;
    transform: translateY(-2px) !important;
}

html body .b1-1-btn {
    background-color: #DE8B00 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 20px 36px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif !important;
    box-shadow: 0 4px 10px rgba(222, 139, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: 100% !important; 
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

html body .b1-1-btn:hover,
html body .b1-1-btn:focus {
    background-color: #c07800 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 6px 15px rgba(222, 139, 0, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ========================================= */
/* 13. JA/NEIN TOGGLE-BUTTONS (LIEFERADRESSE)*/
/* ========================================= */
.b1-58-cc {
    display: flex !important;
    gap: 15px !important;
    grid-template-columns: none !important;
}

.b1-58-cl {
    background-color: #FFFFFF !important;
    border: 2px solid #D1E4F3 !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    color: #1A2342 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    flex: 1 !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.b1-58-cl:hover {
    border-color: #0084C3 !important;
    background-color: #EBF3FA !important;
}

.b1-58-ci:checked ~ .b1-58-cl {
    background-color: #0084C3 !important;
    border-color: #0084C3 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(0, 132, 195, 0.2) !important;
}

.b1-58-bx {
    display: none !important;
}

/* ========================================= */
/* 15. GEISTER-BUTTON (MELDUNGEN) ENTFERNEN  */
/* ========================================= */
button.bf-msg-close {
    display: none !important;
}

div[class*="msg-container-"].deactive {
    display: none !important;
}
/* ========================================= */
/* TRUST BAR (PRE-DECISION)                  */
/* ========================================= */
.sta-trust-bar-clean {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 60px; /* Großzügiger Abstand zwischen den Elementen */
        margin: 0 auto 40px auto;
        font-family: 'Ubuntu', 'Fira Sans', 'Open Sans', sans-serif;
        background-color: transparent; 
    }

    .sta-trust-item-clean {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px; /* Leicht reduzierter Abstand passend zu den kleineren Icons */
        color: #1A2342;
        font-size: 15px;
        font-weight: 600;
    }

    .sta-trust-icon-clean svg {
        display: block;
    }

    /* Mobile Optimierung: Umbruch in 2er/1er Reihen */
    @media (max-width: 767px) {
        .sta-trust-bar-clean {
            gap: 30px;
            flex-wrap: wrap;
        }
        .sta-trust-item-clean {
            flex: 1 1 40%;
            font-size: 14px;
        }
    }
    /* Mobile Optimierung: Saubere Checklisten-Ansicht */
    @media (max-width: 767px) {
        .sta-trust-bar-clean {
            flex-direction: column;      /* Stapelt die 3 Punkte untereinander */
            align-items: center;         /* Zentriert den gesamten Block */
            gap: 20px;                   /* Angenehmer Abstand zwischen den Reihen */
            margin: 0 auto 30px auto;
        }
        .sta-trust-item-clean {
            flex-direction: row;         /* Icon links, Text rechts */
            width: 230px;                /* Feste Breite, damit die Texte linksbündig fluchten */
            justify-content: flex-start; 
            text-align: left;
            gap: 16px;                   /* Abstand zwischen Icon und Text */
            font-size: 15px;             /* Schrift bleibt schön groß und lesbar */
        }
    }