.bkk-formulare-content .gform_heading {
    display: none;
}

.bkk-formulare-content .gform-theme fieldset legend, .bkk-formulare-content .gform-theme fieldset .ginput_container {
    float: left;
    width: 100%;
}

.bkk-formulare-content .gform-theme .gfield {
    padding: 12px 20px !important;
    border: 0px solid rgb(var(--bkk-form-color-6-rgb) / 0.6);
    /*border-radius: 12px;*/
    /*background-color: rgb(var(--bkk-form-color-7-rgb) / 1);*/
    transition:
            background-color 0.15s ease,
            border-color 0.15s ease,
            box-shadow 0.15s ease;
}

.bkk-formulare-content .gform-theme .gfield:focus-within {
    background-color: rgb(var(--bkk-form-color-6-rgb) / 0.18);
    border-color: rgb(var(--bkk-form-color-4-rgb) / 1);
    box-shadow: 0 0 0 3px rgb(var(--bkk-form-color-4-rgb) / 0.25);
}

/* Inputs selbst (klarer Fokus für Accessibility) */
.bkk-formulare-content .gform-theme .gfield input:focus,
.bkk-formulare-content .gform-theme .gfield select:focus,
.bkk-formulare-content .gform-theme .gfield textarea:focus {
    outline: none;
    border-color: rgb(var(--bkk-form-color-4-rgb) / 1);
    box-shadow: 0 0 0 2px rgb(var(--bkk-form-color-4-rgb) / 0.2);
}

.bkk-formulare-info {
    border: 1px solid rgb(var(--bkk-form-color-6-rgb) / 0.7) !important;
    padding: 0!important;
    height: 100%;
    background: url('https://www.bkk-diakonie.de/wp-content/uploads/BKK_Diakonie_Logoweb.png');
    background-repeat: no-repeat;
    background-position: center bottom 20px;
    background-size: 250px;
}

/* Wrapper: zwei Spalten, gleiche Höhe */
.bkk-formulare-gf-wrap{
    display: flex;
    align-items: stretch;   /* wichtig: gleiche Höhe */
}

/* Linke Spalte */
.bkk-formulare-gf-left.bkk-formulare-content{
    flex: 1 1 auto;
    min-width: 0;
}

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

    /* nimmt die volle Höhe des flex-rows ein */
    align-self: stretch;
    height: auto; /* stretch macht’s */
    display: flex; /* optional, falls du innen padding/box willst */
}

/* optional: Content in der Info-Box „füllt“ die Höhe */
.bkk-formulare-gf-right.bkk-formulare-info > *{
    flex: 1 1 auto;
}

/* <= 1024: rechts ausblenden, links 100% */
@media (max-width: 1024px){
    .bkk-formulare-gf-wrap{
        display: block;
    }
    .bkk-formulare-gf-right.bkk-formulare-info{
        display: none;
    }
    .bkk-formulare-gf-left.bkk-formulare-content{
        width: 100%;
    }
}


.bkk-formulare-content input, select {
    border-width: 2px!important;
    border-color: #1B4E93!important;
    border-style: solid!important;
    /*border-radius: 0px!important;*/
}


.bkk-formulare-content .gform_previous_button {
    border-color: #686e77!important;
}

.bkk-formulare-content .gform_next_button, .bkk-formulare-content input[type=submit]
{
    font-weight: normal!important;
    color: #1B4E93!important;
    background-color: #ffffff!important;
    border-width: 2px!important;
    border-color: #1B4E93!important;
    border-style: solid!important;
    border-radius: 0px!important;
}

.bkk-formulare-content .gfield input[type=text], .bkk-formulare-content .gfield select, .bkk-formulare-content .gfield input[type=tel],.bkk-formulare-content .gfield input[type=email] {
    height: 62px!important;
    font-size: 18px!important;
}
.bkk-formulare-content .gfield label {
    font-size: 16px!important;
}
.bkk-formulare-content .gfield-choice-input {
    /*width: 30px!important;*/
    /*height:30px!important;*/
}


.bkk-formulare-content .gform_next_button:hover,
.bkk-formulare-content .gform_next_button:focus,
.bkk-formulare-content .gform_previous_button:hover,
.bkk-formulare-content .gform_previous_button:focus,
.bkk-formulare-content .gform_page .gform_save_link:hover,
.bkk-formulare-content .gform_page .gform_save_link:focus,
.bkk-formulare-content input[type=submit]:hover,
.bkk-formulare-content input[type=submit]:focus
{
    font-weight: normal!important;
    color: #ffffff!important;
    background-color: #1B4E93!important;
    border-color: #1B4E93!important;
    border-style: solid!important;
    border-radius: 0px!important;
}

.bkk-formulare-content input::placeholder,
.bkk-formulare-content .placeholder {
    color: #6B7280;
    opacity: 1;
}

.bkk-formulare-content .gform-page-footer {
    padding: 20px!important;
}

.bkk-formulare-content label {
    cursor: pointer;
}
.bkk-formulare-content .gform-field-label {
    display: flex!important;
}

.bkk-formulare-content .gf_progressbar.gf_progressbar_custom {
    height: 38px!important;
}


.bkk-formulare-content .gf_progressbar.gf_progressbar_custom .gf_progressbar_percentage {
    height: 100%!important;
}

.bkk-formulare-gf-wrap {
    background-color: #fff!important;
}
.bkk-formulare-content, bkk-formulare-info {
    background-color: #fff!important;
}


.bkk-formulare-gf-wrap .gform_validation_errors {
    display: none!important;
}

.bkk-formulare-gf-wrap .gchoice {
    align-items: center;
}

.bkk-formulare-gf-wrap .gchoice input {
    min-width: 38px!important;
    min-height: 38px!important;
}

.bkk-formulare-gf-wrap .gfield_required.gfield_required_custom {
    font-size: 18px;
}

.bkk-formulare-gf-wrap .gform_page_fields > div {
    row-gap: 0px!important;
}

.bkk-formulare-gf-wrap h2 {
    margin-top: 0px;
    margin-bottom: 0px;
}