/* =========================================================
   BKK Formular – Radio Cards (Hover / Focus / Selected)
   - Hover: solid #76CCF4
   - Selected: stabiler (etwas dunkler) #4FBCEB
   - Tastatur: Input NICHT display:none (fokussierbar)
   ========================================================= */

.bkk-formular-intro h3 {
    font-size: 18px;
}

/* Basis-Card */
.bkk-formular-intro .gfield_radio .gchoice {
    align-content: start;
    border-radius: 35px;
    background: #fff;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 0 30px rgba(var(--bkk-form-color-1-rgb) / 0.30);

    transition:
            transform .14s ease,
            box-shadow .18s ease,
            border-color .18s ease,
            background-color .18s ease;
    will-change: transform, box-shadow;
}

/* WICHTIG: Input nicht display:none -> sonst keine Tastatur-Navigation */
.bkk-formular-intro .gfield_radio .gchoice input {
    display: block !important; /* überschreibt evtl. alte display:none Regel */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.bkk-formular-intro .gfield_radio .gchoice img {
    margin-top: 20px;
}

/* Label */
.bkk-formular-intro .gfield_radio .gchoice label {
    width: 1000px;
    max-width: 100%;
    padding: 0 35px;
    cursor: pointer;

    position: relative;
    z-index: 1;
    transition: color .18s ease;
}

/* Optional: dezente Sheen-Ebene (wird bei Hover deaktiviert) */
.bkk-formular-intro .gfield_radio .gchoice::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    background: linear-gradient(
            135deg,
            rgba(var(--bkk-form-color-1-rgb) / 0.10),
            rgba(var(--bkk-form-color-1-rgb) / 0.00) 55%
    );
    pointer-events: none;
}

/* Hover (Maus): solid Blau */
.bkk-formular-intro .gfield_radio .gchoice:hover {
    transform: translateY(-2px);
    background: #1B4E93;
    border-color: #1B4E93;
    box-shadow:
            0 10px 30px rgba(var(--bkk-form-color-1-rgb) / 0.18),
            0 0 0 6px rgba(27 78 147 / 0.18);
}

.bkk-formular-intro .gfield_radio .gchoice:hover label, .bkk-formular-intro .gfield_radio .gchoice:hover label h3 {
    color: #fff!important;
}

/* Verlauf beim Hover aus (damit’s nicht gräulich wirkt) */
.bkk-formular-intro .gfield_radio .gchoice:hover::before {
    opacity: 0 !important;
    transform: translateY(6px);
}

/* Active (gedrückt) */
.bkk-formular-intro .gfield_radio .gchoice:active {
    transform: translateY(0px) scale(0.995);
    box-shadow:
            0 6px 18px rgba(var(--bkk-form-color-1-rgb) / 0.16),
            0 0 0 5px rgba(27 78 147 / 0.16);
}

/* Focus (Tastatur): sichtbar & sauber */
.bkk-formular-intro .gfield_radio .gchoice:has(input:focus-visible) {
    border-color: rgba(27 78 147 / 0.95);
    box-shadow:
            0 14px 38px rgba(var(--bkk-form-color-1-rgb) / 0.25),
            0 0 0 10px rgba(27 78 147 / 0.35);
}

/* Selected (checked): stabiler/dunkler als Hover */
.bkk-formular-intro .gfield_radio .gchoice:has(input:checked) {
    background: #1B4E93;  /* stabiler Selected-State */
    border-color: #1B4E93;
    box-shadow:
            0 14px 38px rgba(var(--bkk-form-color-1-rgb) / 0.22),
            0 0 0 9px rgba(79 188 235 / 0.22);
}

/* Text im Selected-State */
.bkk-formular-intro .gfield_radio .gchoice:has(input:checked) label, .bkk-formular-intro .gfield_radio .gchoice:has(input:checked) label h3 {
    color: #fff;
}

/* Kleiner Selected-Dot rechts */
.bkk-formular-intro .gfield_radio .gchoice::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    transform: translateY(-50%) scale(0.8);
    opacity: 0;

    /* Auf Blau: weißer Dot + weicher Halo */
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255 255 255 / 0.25);

    transition: opacity .16s ease, transform .16s ease;
    pointer-events: none;
}

.bkk-formular-intro .gfield_radio .gchoice:has(input:checked)::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Mobile: Hover-Effekte nicht erzwingen */
@media (hover: none) {
    .bkk-formular-intro .gfield_radio .gchoice:hover {
        transform: none;
    }
}

/* Label als flex: Icon + Text */
.bkk-formular-intro .gfield_radio .gchoice label{
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Label als vertikale Card */
.bkk-formular-intro .gfield_radio .gchoice label{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}

/* Icon */
.bkk-formular-intro .gfield_radio .gchoice .bkk-radio-icon, .bkk-formular-intro .gfield_radio .gchoice .bkk-radio-icon-white{
    width: 40px;
    height: auto;
    flex: 0 0 auto;
}
.bkk-formular-intro .gfield_radio .gchoice .bkk-radio-icon-white {
    display: none;
}

/* Text */
.bkk-formular-intro .gfield_radio .gchoice .bkk-radio-text {
    line-height: 1.2;
    font-weight: 500;
}

/* Optional: Hover / Selected etwas lebendiger */
.bkk-formular-intro .gfield_radio .gchoice:hover .bkk-radio-icon,
.bkk-formular-intro .gfield_radio .gchoice:has(input:checked) .bkk-radio-icon{
    transform: translateY(-2px);
    transition: transform .15s ease;
    display: none;
}

.bkk-formular-intro .gfield_radio .gchoice:hover .bkk-radio-icon-white,
.bkk-formular-intro .gfield_radio .gchoice:has(input:checked) .bkk-radio-icon-white{
    transform: translateY(-2px);
    transition: transform .15s ease;
    display: block;
}

.bkk-formulare-gf-wrap * {
    font-family: "Source Sans Pro", "Open Sans", Helvetica, Arial, sans-serif!important;
}
.bkk-formulare-gf-left.bkk-formulare-content{
    flex: 1 1 auto;
    min-width: 1000px;
    max-width: 1000px;
    margin: 0px auto!important;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Rechte Spalte: 300px, volle Höhe der linken */
.bkk-formulare-gf-right.bkk-formulare-info {
    /*flex: 0!important;*/
    /*display:none;*/
}