.dns-it_dsc {
    --dc--primary: #eb591b;
    --dc--primary-dark: #C04611;
    --dc--color-acent: #3B7E87;

    background: var(--dc--primary);
    padding: 16px 16px 0;

    --needle-rotation: -125deg;
}

.dns-it_dsc h3 {
    color: #ffffff !important;
}

.dns-it_dsc_questions {
    display: flex;
    gap: 0;
}

.dns-it_dsc_r1 {
    flex: 1 1 100%;
    background: #F5F7F8;
    padding-bottom: 16px;
}

.dns-it_dsc_r2 {
    flex: 0 0 370px;
    background: #ffffff;
}

.dns-it_dsc_banner {
    padding-bottom: 16px;
    min-height: 180px;
    position: relative;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.dns-it_dsc_banner .dns-it_dsc_toggle-btn {
    margin-top: auto;
    align-self: baseline;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dns-it_dsc_banner .dns-it_dsc_toggle-btn:hover,
.dns-it_dsc_banner .dns-it_dsc_toggle-btn:active,
.dns-it_dsc_banner .dns-it_dsc_toggle-btn:focus {
    background: #ffffff;
    color: var(--dc--primary);
}

.dns-it_dsc_banner .elementor-button-icon {
    display: none;
    position: relative;
    top: 2px;
}

.dns-it_dsc_banner .elementor-button-icon svg {
    height: 0.9em;
    width: auto;
}

.dns-it_dsc_banner .elementor-button-icon svg path {
    fill: currentColor;
}

.dns-it_dsc[data-dsc-state="closed"] .dns-it_dsc_arrow_next {
    display: inline;
}

.dns-it_dsc[data-dsc-state="open"] .dns-it_dsc_arrow_back {
    display: inline;
}

.dns-it_dsc[data-dsc-state="open"] .dns-it_dsc_hide_open {
    display: none;
}

.dns-it_dsc_banner-img {
    position: absolute;
    right: -8px;
    bottom: -1px;
    aspect-ratio: 45 / 19;
    width: 450px;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

[data-dsc-state="open"] .dns-it_dsc_banner-img {
    opacity: 0;
}

[data-dsc-state="closed"] .dns-it_dsc_banner-img {
    opacity: 1;
}

.dns-it_dsc_form {
    padding-block-end: 16px;
    display: none;
}

.dns-it_dsc_question-group {
    padding-bottom: 16px;
    margin: 16px 0 0 16px;
    border-bottom: 1px solid #70767A;
}

.dns-it_dsc_contact {
    padding: 16px;
    background: #F5F7F8;
}

.dns-it_dsc_contact {
    margin-top: 16px;
}

.dns-it_dsc_contact h3 {
    color: #000000 !important;
}

.dns-it_dsc_contact_form {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
}

.dns-it_dsc_rb1 {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dns-it_dsc_rb2 {
    flex: 0 0 60%;
}

.dns-it_dsc input[type="text"], .dns-it_dsc input[type="email"], .dns-it_dsc input[type="date"], .dns-it_dsc textarea {
    background-color: transparent;
    border: 1px solid transparent;
    border-bottom-color: #69727d;
    border-radius: 0 0 0 0;
    width: 100%;
    max-width: 100%;
    color: #1f2124;
    vertical-align: middle;
    padding: .5rem 1rem;
    transition: all .3s;
    line-height: 1.4;
    font-size: 15px;
    min-height: 40px;
}

.dns-it_dsc .dns-it_dsc_text-input:has([data-invalid="true"]) input[type="text"],
.dns-it_dsc .dns-it_dsc_text-input:has([data-invalid="true"]) input[type="email"], .dns-it_dsc input[type="date"],
.dns-it_dsc .dns-it_dsc_text-input:has([data-invalid="true"]) textarea {
    border-bottom-color: var(--dc--primary-dark);
}


.dns-it_dsc input[type="text"]:focus, .dns-it_dsc input[type="email"]:focus, .dns-it_dsc input[type="date"]:focus, .dns-it_dsc textarea:focus {
    border-top-color: #cccccc;
    border-left-color: #cccccc;
    border-right-color: #cccccc;
    outline: none;
}

.dns-it_dsc input[type="date"]:empty {
    color: #70767a !important;
    opacity: 1 !important;
}

.dns-it_dsc label {
    line-height: 28px;
    position: relative;
    padding-inline-start: 1.75rem;
    display: inline-block;
}

.dns-it_dsc input[type="radio"] + label,
.dns-it_dsc input[type="checkbox"] + label {
    cursor: pointer;
}

.dns-it_dsc input[type="radio"] + label:before,
.dns-it_dsc input[type="checkbox"] + label:before {
    position: absolute;
    background-image: url(/wp-content/themes/hello-theme-child/ui/checkbox-aus.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: inline-block;
    height: 1.2em;
    margin-inline-end: 0.5em;
    top: 0.1em;
    width: 1.2em;
    left: 0;
}

.dns-it_dsc input[type="radio"]:checked + label:before,
.dns-it_dsc input[type="checkbox"]:checked + label:before {
    background-image: url(/wp-content/themes/hello-theme-child/ui/checkbox-an.svg);
}

.dns-it_dsc input[type="radio"],
.dns-it_dsc input[type="checkbox"] {
    opacity: 0;
    z-index: -1;
    position: absolute;
}

.ns-it_dsc_input {
    position: relative;
}

.ns-it_dsc_text-input {
    margin-bottom: 8px;
}

.dns-it_dsc_form_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.dns-it_dsc_form_hint {
    font-size: 0.67rem;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.dns-it_dsc_submit-btn {
    border-radius: 8px;
}

.dns-it_dsc_submit-btn svg {
    margin-inline-end: 0.25em;
}


.dns-it_dsc_submit-btn svg path {
    fill: currentColor;
    /*transition: all .3s;*/
}

.dns-it_dsc .dns-it_dsc_submit-btn:disabled,
.dns-it_dsc .dns-it_dsc_submit-btn:disabled:hover,
.dns-it_dsc .dns-it_dsc_submit-btn:disabled:active,
.dns-it_dsc .dns-it_dsc_submit-btn:disabled:focus {
    color: #ffffff;
    background: #a5a5a5;
    border-color: #a5a5a5;
    cursor: not-allowed;
}

.dns-it_dsc .dns-it_dsc_submit-btn:hover,
.dns-it_dsc .dns-it_dsc_submit-btn:active,
.dns-it_dsc .dns-it_dsc_submit-btn:focus {
    background: #ffffff;
    color: var(--dc--primary-dark);
}

.dns-it_dsc .dns-it_dsc_submit-btn:hover svg path,
.dns-it_dsc .dns-it_dsc_submit-btn:active svg path,
.dns-it_dsc .dns-it_dsc_submit-btn:focus svg path {
}

.dns-it_dsc_tacho {
    position: relative;
    width: 370px;
}

.dns-it_dsc_tacho-feld-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: 0.3s ease-in-out;
    pointer-events: none;
}

.dns-it_dsc_tacho_count-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    z-index: 1;
    text-align: center;
    line-height: 50px;
    font-weight: 600;
}

.dns-it_dsc-result {
    display: none;
    padding: 0 16px 16px 16px;
    text-align: center;
}

.dns-it_dsc-result[data-dsc-result="neutral"] {
    display: block;
}

.dsc-question-img {
    width: 152px;
    height: auto;
    object-fit: contain;
}

.dns-it_dsc_result_primary {
    color: var(--dc--color-acent);
    margin-block-end: 20px;
}

.dns-it_dsc-result-points {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dc--color-acent);
    text-align: center;
    position: relative;
    top: -30px;
}

.dns-it_dsc_tacho-nadel {
    position: absolute;
    width: 31px;
    height: auto;
    aspect-ratio: 31 / 166;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -73px) rotate(var(--needle-rotation));
    transform-origin: center calc(100% - 16px);
    transition: 0.3s ease-in-out;
}


.dns-it_dsc_privacy-row {
    margin: 32px 0 32px;
}

.dns-it_dsc_privacy-row label {
    margin-right: 24px;
    line-height: 1.3;
}

.dns-it_dsc_box_for_form_hint + label:before {
    background-image: url(/wp-content/themes/hello-theme-child/ui/checkbox-klein-aus.svg);
}

.dns-it_dsc_box_for_form_hint:checked + label:before {
    background-image: url(/wp-content/themes/hello-theme-child/ui/checkbox-klein-an.svg);
}

.dns-it_dsc .dns-it_dsc_btn-checkbox label {
    padding-block: 0;
    padding-inline: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: transparent;
    line-height: 1;
    height: 45px;
    border: 3px solid #d5d7da;
    width: 190px;
    text-align: center;
    font-size: 16px;
}

.dns-it_dsc .dns-it_dsc_btn-checkbox input:checked + label {
    background: var(--dc--primary);
    color: #ffffff;
    border-color: var(--dc--primary);
}

.dns-it_dsc .dns-it_dsc_btn-checkbox label:before {
    display: none !important;
}

.dns-it_dsc_btn-checkbox {
    display: inline-block;
    margin: 0 8px 0 0;
}

.dns-it_dsc .sr-only {
    position: absolute !important;
}

.dns-it_dsc_text-input-last {
    padding-top: 16px;
    margin-bottom: 0;
    margin-top: auto;
}

.dns-it_dsc_text-input-last label {
    padding: 0;
}

.dns-it_invalid_feedback {
    display: block;
    font-size: 0.875rem;
    color: var(--dc--primary-dark);
}

.dns-it_invalid_feedback:empty {
    display: none;
}

.dns-it_dsc_form_feedback {
    color: var(--dc--primary-dark);
    margin-top: 32px;
    display: none;
}

.dns-it_dsc_form_success {
    margin-top: 32px;
    color: var(--dc--primary-dark);
    display: none;
}

.dns-it_dsc_rb2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dns-it_dsc_call-time {
    margin-top: auto;
}

.dns-it_dsc_banner {
    container-type: inline-size;
    container-name: dsc_banner-container;
}

.dns-it_dsc_form {
    container-type: inline-size;
    container-name: dsc_form-container;
}

@container dsc_banner-container (max-width: 1100px) {
    .dns-it_dsc_banner-img {
        width: 350px;
    }
}

@container dsc_banner-container (max-width: 880px) {
    .dns-it_dsc_banner-img {
        display: none;
    }
}

@container dsc_form-container (max-width: 740px) {
    .dns-it_dsc_questions {
        flex-direction: column;
    }

    .dns-it_dsc_r2 {
        flex: 1 1 auto;
    }

    .dns-it_dsc_tacho {
        margin: 16px auto 0;
    }

    .dns-it_dsc_contact_form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@container dsc_form-container (max-width: 650px) {
    .dns-it_dsc_btn-checkbox {
        margin: 0 0 8px;
        display: block;
    }


    .dns-it_dsc_form_footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@container dsc_form-container (max-width: 450px) {
    .dns-it_dsc_tacho {
        display: none;
    }

    .dns-it_dsc-result {
        margin-block-start: 32px;
    }

    .dns-it_dsc-result-points {
        top: -10px
    }
}

@container dsc_form-container (max-width: 400px) {

    .dns-it_dsc_submit-btn {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
}