.webFormularDiv .webform-text {
    margin-bottom: 24px;
}

.webFormularDiv .webform-text > :last-child {
    margin-bottom: 0;
}

/* Registration stepper override */
section.steps nav.progress.kfh-stepper-navigation .custom-step-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    opacity: 1;
}

/* Extend the button's hit area over the existing numbered circle. */
section.steps nav.progress.kfh-stepper-navigation .custom-step-trigger::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

section.steps nav.progress.kfh-stepper-navigation .completed {
    color: #002C31;
}

section.steps nav.progress.kfh-stepper-navigation .completed:not(.active)::before {
    content: "\2713";
    background-color: #002C31;
}

section.steps nav.progress.kfh-stepper-navigation .active {
    color: #000;
}

section.steps nav.progress.kfh-stepper-navigation .completed .custom-step-trigger {
    cursor: pointer;
}

section.steps nav.progress.kfh-stepper-navigation .custom-step-trigger:focus-visible,
section.steps nav.progress.kfh-stepper-navigation .custom-step-trigger:focus-visible::before {
    outline: 2px solid #002C31;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    section.steps nav.progress.kfh-stepper-navigation .active .custom-step-trigger {
        margin-left: 56px;
    }

    section.steps nav.progress.kfh-stepper-navigation .step:not(.active) .custom-step-trigger {
        font-size: 0;
    }
}

/* Form validation messages */
.webFormularDiv label.error {
    color: #c00;
    font-size: .875rem;
}

/* Keep options below the floated legend when validation inserts a hidden error label. */
.radiobutton-group-fieldset > .check-group,
.checkbox-liste-fieldset > .check-group {
    clear: left;
}

/* Kombinationen checkbox list */
.price-note-marker {
    font-size: .65em;
    font-weight: 700;
    margin-left: .15em;
}

.price-note-marker[hidden],
.module-price-notes[hidden] {
    display: none;
}

.modality-card .price-note,
.product-overview-card .price-note {
    margin: .25rem 0;
    font-size: .875rem;
    line-height: 1.4;
}

.product-overview-card .price-note {
    margin-bottom: 1rem;
}

.module-price-notes {
    margin-top: 1rem;
}

.module-price-notes-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.module-price-notes .module-price-notes-list li {
    padding: 0;
}

.module-price-notes .module-price-notes-list li::before {
    content: none;
}

.module-price-notes-list li + li {
    margin-top: 1rem;
}

.module-price-notes-list p {
    margin: .25rem 0 0;
}

.kombinationen-checkbox-list .accordion-item {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #dadedb;
    border-radius: 0;
}

.kombinationen-checkbox-list .accordion-button {
    padding: 1rem 1.25rem;
    color: inherit;
    background: #fff;
    box-shadow: none;
}

.kombinationen-checkbox-list .accordion-button:not(.collapsed) {
    color: inherit;
    background: #f5f6f5;
    box-shadow: none;
}

.kombinationen-checkbox-list .accordion-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
    box-shadow: none;
}

.kombinationen-checkbox-list .kombinationen-checkbox-heading {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding-right: 1rem;
    gap: 1rem;
}

.kombinationen-checkbox-list .kombinationen-checkbox-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.kombinationen-checkbox-list .kombinationen-checkbox-meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .75rem;
    font-size: .875rem;
    font-weight: 500;
}

.kombinationen-checkbox-list .kombinationen-checkbox-rule,
.kombinationen-checkbox-list .kombinationen-checkbox-count {
    padding: .25rem .5rem;
    background: #eef0ef;
}

.kombinationen-checkbox-list .is-maximum-reached .kombinationen-checkbox-count {
    font-weight: 700;
}

.kombinationen-checkbox-list .accordion-body {
    padding: 1.25rem;
}

.kombinationen-checkbox-list .kombinationen-checkbox-validation {
    min-height: 1.5em;
    padding: 0 1.25rem;
    font-size: .875rem;
    line-height: 1.5;
}

.kombinationen-checkbox-list .kombinationen-checkbox-validation label.error {
    display: block;
    margin: 0;
}

.kombinationen-checkbox-list .checkbox-liste-text {
    margin-bottom: 1rem;
}

.kombinationen-checkbox-list .kombinationen-checkbox-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 2rem;
}

.kombinationen-checkbox-list .kombinationen-checkbox-thema + .kombinationen-checkbox-thema {
    border-top: 1px solid #dadedb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.kombinationen-checkbox-list .kombinationen-checkbox-thema-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 .75rem;
}

.kombinationen-checkbox-list .kombinationen-credit-description {
    font-size: .875rem;
    margin-bottom: .75rem;
}

@media (pointer: coarse) {
    .kombinationen-checkbox-list .checkbox-liste-label {
        min-height: 44px;
        display: block;
    }
}

.kombinationen-checkbox-list .form-check {
    margin: 0;
}

.kombinationen-checkbox-list .form-check.is-disabled .form-check-label {
    opacity: .55;
}

.kombinationen-checkbox-list .kombinationen-checkbox-price {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .kombinationen-checkbox-list .kombinationen-checkbox-heading,
    .kombinationen-checkbox-list .kombinationen-checkbox-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .kombinationen-checkbox-list .kombinationen-checkbox-options {
        grid-template-columns: 1fr;
    }
}

#kfhFormModal .modal-content {
    border: 1px solid #E86100;
}

.form-check-label .required {
    color: #E86100;
}

