/* =========================================================
   BEQIRI & SOHN – PROJECT WIZARD V2
========================================================= */

.bqpw-overlay {

    --red: #840C11;
    --red-dark: #6D090D;

    --dark: #181A1D;
    --text: #25282B;
    --muted: #686D72;

    --line: #DDE0E3;
    --soft: #F7F7F6;
    --white: #FFFFFF;


    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        rgba(18,20,22,.48);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}


.bqpw-overlay.is-open {
    display: flex;

    pointer-events: auto;
}


/* =========================================================
   DIALOG
========================================================= */

.bqpw-dialog {

    position: relative;

    width: min(1040px, 100%);

    height:
        min(
            850px,
            calc(100vh - 60px)
        );

    overflow: hidden;

    border:
        1px solid rgba(24,26,29,.10);

    border-radius: 9px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(132,12,17,.035),
            transparent 28%
        ),
        #FFFFFF;

    color: var(--text);

    box-shadow:
        0 30px 85px rgba(18,20,22,.22);
}


/* =========================================================
   TOP
========================================================= */

.bqpw-top {

    height: 88px;

    display: grid;

    grid-template-columns:
        150px
        44px
        minmax(0,1fr)
        46px;

    align-items: center;

    gap: 16px;

    padding: 0 32px;

    border-bottom:
        1px solid #E3E5E7;

    background: #FFFFFF;
}


/* =========================================================
   LOGO
========================================================= */

.bqpw-logo {

    width: 138px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.bqpw-logo img {

    display: block;

    width: 125px;
    height: auto;

    max-height: 54px;

    object-fit: contain;
}


/* =========================================================
   BACK / CLOSE
========================================================= */

.bqpw-back,
.bqpw-close {

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 6px;

    cursor: pointer;

    box-shadow: none;

    transform: none;
}


.bqpw-back {

    opacity: 0;

    pointer-events: none;

    background: transparent;

    color: #181A1D;

    font-size: 15px;
}


.bqpw-back.is-visible {

    opacity: 1;

    pointer-events: auto;
}


.bqpw-back:hover {

    background:
        rgba(132,12,17,.06);

    color: #840C11;

    transform: none;
}


.bqpw-close {

    background: #840C11;

    color: #FFFFFF;

    font-size: 16px;
}


.bqpw-close:hover,
.bqpw-close:focus {

    background: #6D090D;

    color: #FFFFFF;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   PROGRESS
========================================================= */

.bqpw-progress {

    display: grid;

    grid-template-rows:
        auto
        auto;

    gap: 8px;
}


.bqpw-progress__meta {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.bqpw-progress__step {

    color: #73787D;

    font-size: 12px;
    line-height: 1;

    font-weight: 650;
}


.bqpw-progress__number {

    color: #840C11;

    font-size: 15px;
    line-height: 1;

    font-weight: 800;
}


.bqpw-progress__track {

    position: relative;

    width: 100%;
    height: 9px;

    overflow: hidden;

    border-radius: 100px;

    background: #E6E8EA;
}


.bqpw-progress__bar {

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 0;

    border-radius: inherit;

    background: #840C11;

    transition:
        width .4s cubic-bezier(.22,.61,.36,1);
}


/* =========================================================
   FORM
========================================================= */

.bqpw-form {

    position: relative;

    height:
        calc(100% - 88px);
}


/* =========================================================
   STEPS
========================================================= */

.bqpw-step {

    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;

    padding:
        42px
        72px
        35px;

    overflow-y: auto;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(24px);

    transition:
        opacity .25s ease,
        transform .32s cubic-bezier(.22,.61,.36,1),
        visibility .25s ease;
}


.bqpw-step.is-active {

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(0);
}


/* =========================================================
   STEP HEAD
========================================================= */

.bqpw-step__head {

    margin-bottom: 28px;
}


.bqpw-kicker {

    display: block;

    margin-bottom: 10px;

    color: #840C11;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: .15em;
    text-transform: uppercase;
}


.bqpw-step h2 {

    max-width: 820px;

    margin: 0;

    color: #181A1D;

    font-size:
        clamp(40px,3.8vw,54px);

    line-height: 1.04;

    letter-spacing: -.04em;

    font-weight: 700;

    text-wrap: balance;
}


.bqpw-step__head p {

    max-width: 700px;

    margin: 13px 0 0;

    color: #686D72;

    font-size: 17px;
    line-height: 1.58;
}


/* =========================================================
   SERVICE GRID
========================================================= */

.bqpw-service-grid {

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 13px;
}


.bqpw-service {

    min-height: 168px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-end;

    padding: 20px;

    border:
        1px solid #DCE0E3;

    border-radius: 7px;

    background: #FFFFFF;

    color: #181A1D;

    text-align: left;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}


.bqpw-service:hover {

    border-color:
        rgba(132,12,17,.55);

    background: #FCF9F9;

    transform: none;
}


.bqpw-service.is-selected {

    border-color: #840C11;

    background:
        rgba(132,12,17,.055);

    box-shadow:
        inset 0 0 0 1px #840C11;
}


/* =========================================================
   SERVICE ICON
========================================================= */

.bqpw-service__icon {

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: auto;

    border-radius: 5px;

    background:
        rgba(132,12,17,.08);

    color: #840C11;

    font-size: 20px;

    transition:
        background-color .2s ease,
        color .2s ease;
}


.bqpw-service:hover
.bqpw-service__icon,
.bqpw-service.is-selected
.bqpw-service__icon {

    background: #840C11;

    color: #FFFFFF;
}


.bqpw-service strong {

    display: block;

    margin-top: 20px;

    color: #181A1D;

    font-size: 18px;
    line-height: 1.25;

    font-weight: 750;
}


.bqpw-service small {

    display: block;

    margin-top: 5px;

    color: #70757A;

    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   OPTIONS
========================================================= */

.bqpw-options {

    display: grid;

    gap: 10px;
}


.bqpw-option {

    width: 100%;

    min-height: 72px;

    display: grid;

    grid-template-columns:
        50px
        minmax(0,1fr);

    align-items: center;

    gap: 17px;

    padding:
        12px
        18px;

    border:
        1px solid #DCE0E3;

    border-radius: 7px;

    background: #FFFFFF;

    color: #181A1D;

    cursor: pointer;

    text-align: left;

    box-shadow: none;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}


.bqpw-option:hover {

    border-color:
        rgba(132,12,17,.50);

    background: #FCFAFA;

    transform: none;
}


.bqpw-option.is-selected {

    border-color: #840C11;

    background:
        rgba(132,12,17,.055);

    box-shadow:
        inset 0 0 0 1px #840C11;
}


.bqpw-option > i {

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #840C11;

    font-size: 18px;
}


.bqpw-option strong {

    display: block;

    color: #181A1D;

    font-size: 17px;
    line-height: 1.28;

    font-weight: 750;
}


.bqpw-option small {

    display: block;

    margin-top: 3px;

    color: #72777C;

    font-size: 13.5px;
    line-height: 1.42;
}


/* =========================================================
   FIELDS
========================================================= */

.bqpw-fields {

    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 16px;
}


.bqpw-field-full {

    grid-column:
        1 / -1;
}


.bqpw-fields label > span {

    display: block;

    margin-bottom: 8px;

    color: #4F5459;

    font-size: 13px;
    line-height: 1.3;

    font-weight: 700;
}


.bqpw-fields input,
.bqpw-fields textarea,
.bqpw-fields select {

    width: 100%;

    border:
        1px solid #D7DBDE;

    border-radius: 6px;

    outline: none;

    background: #F8F8F7;

    color: #181A1D;

    font: inherit;

    font-size: 15px;

    box-shadow: none;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}


.bqpw-fields input,
.bqpw-fields select {

    height: 54px;

    padding:
        0 15px;
}


.bqpw-fields textarea {

    min-height: 95px;

    padding:
        13px 15px;

    resize: vertical;
}


.bqpw-fields input:focus,
.bqpw-fields textarea:focus,
.bqpw-fields select:focus {

    background: #FFFFFF;

    border-color: #840C11;

    box-shadow:
        0 0 0 3px rgba(132,12,17,.06);
}


.bqpw-fields input::placeholder,
.bqpw-fields textarea::placeholder {

    color: #A0A4A8;
}


/* =========================================================
   NEXT / SUBMIT
========================================================= */

.bqpw-next,
.bqpw-submit {

    width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: auto;

    padding:
        15px
        20px;

    border: 0;
    border-radius: 7px;

    background: #840C11;

    color: #FFFFFF;

    cursor: pointer;

    font-size: 15px;
    line-height: 1;

    font-weight: 800;

    box-shadow: none;

    transition:
        background-color .2s ease;
}


.bqpw-next:hover,
.bqpw-submit:hover {

    background: #6D090D;

    color: #FFFFFF;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   SUMMARY
========================================================= */

.bqpw-summary {

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 8px;

    margin:
        -5px
        0
        20px;
}


.bqpw-summary > div {

    padding:
        11px
        12px;

    border:
        1px solid #E1E4E6;

    border-radius: 6px;

    background: #FAFAF9;
}


.bqpw-summary small {

    display: block;

    margin-bottom: 4px;

    color: #8A8E92;

    font-size: 10px;
    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.bqpw-summary strong {

    display: block;

    color: #181A1D;

    font-size: 12px;
    line-height: 1.35;

    font-weight: 700;
}


/* =========================================================
   CONTACT PREFERENCE
========================================================= */

.bqpw-preference {

    grid-column:
        1 / -1;

    margin: 0;
    padding: 0;

    border: 0;
}


.bqpw-preference legend {

    margin-bottom: 8px;

    color: #4F5459;

    font-size: 13px;
    line-height: 1.3;

    font-weight: 700;
}


.bqpw-preference {

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 7px;
}


.bqpw-preference legend {

    grid-column:
        1 / -1;
}


.bqpw-preference label {

    cursor: pointer;
}


.bqpw-preference input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.bqpw-preference label span {

    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding:
        9px
        10px;

    border:
        1px solid #DDE0E3;

    border-radius: 6px;

    background: #FFFFFF;

    color: #4D5257;

    font-size: 12.5px;

    font-weight: 650;
}


.bqpw-preference
input:checked + span {

    border-color: #840C11;

    background:
        rgba(132,12,17,.06);

    color: #840C11;
}


/* =========================================================
   UPLOAD
========================================================= */

.bqpw-upload {

    position: relative;

    display: block;
}


.bqpw-upload__title {

    display: block;

    margin-bottom: 8px;

    color: #4F5459;

    font-size: 13px;

    font-weight: 700;
}


.bqpw-upload__box {

    min-height: 70px;

    display: flex !important;
    align-items: center;

    gap: 13px;

    margin: 0 !important;
    padding:
        12px
        15px;

    border:
        1px dashed #CBCFD2;

    border-radius: 7px;

    background: #FAFAF9;

    cursor: pointer;
}


.bqpw-upload__box i {

    color: #840C11;

    font-size: 22px;
}


.bqpw-upload__box strong {

    color: #181A1D;

    font-size: 13px;
}


.bqpw-upload__box small {

    margin-left: auto;

    color: #888D91;

    font-size: 10.5px;
}


.bqpw-upload input {

    position: absolute;

    left: -99999px;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.bqpw-upload__files {

    display: block;

    margin-top: 6px;

    color: #6B7075;

    font-size: 11px;
}


/* =========================================================
   PRIVACY
========================================================= */

.bqpw-privacy {

    display: grid;

    grid-template-columns:
        19px
        minmax(0,1fr);

    gap: 9px;

    align-items: start;

    margin-top: 16px;

    color: #73787D;

    font-size: 11.5px;
    line-height: 1.5;
}


.bqpw-privacy input {

    width: 16px;
    height: 16px;

    margin-top: 1px;

    accent-color: #840C11;
}


.bqpw-privacy a {

    color: #840C11 !important;

    text-decoration: underline;
}


/* =========================================================
   ERROR
========================================================= */

.bqpw-error {

    min-height: 17px;

    margin-top: 8px;

    color: #B91C1C;

    font-size: 12px;
}


/* =========================================================
   SUCCESS
========================================================= */

.bqpw-success {

    align-items: center;
    justify-content: center;

    text-align: center;
}


.bqpw-success__icon {

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 50%;

    background: #840C11;

    color: #FFFFFF;

    font-size: 24px;
}


.bqpw-success > p {

    max-width: 570px;

    margin:
        18px
        auto
        0;

    color: #686D72;

    font-size: 16px;
    line-height: 1.6;
}


.bqpw-success__phone {

    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 26px;

    color: #181A1D !important;

    text-decoration: none !important;

    font-size: 18px;

    font-weight: 800;
}


.bqpw-success__phone i {

    color: #840C11;
}


.bqpw-success__close {

    min-height: 48px;

    margin-top: 22px;

    padding:
        12px
        20px;

    border:
        1px solid #D9DCDF;

    border-radius: 6px;

    background: #FFFFFF;

    color: #181A1D;

    cursor: pointer;

    font-weight: 700;
}


/* =========================================================
   HONEYPOT
========================================================= */

.bqpw-honeypot {

    position: absolute !important;

    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.bqpw-lock {

    overflow: hidden !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .bqpw-overlay {

        padding: 0;
    }


    .bqpw-dialog {

        width: 100%;
        height: 100vh;

        max-height: 100vh;

        border: 0;
        border-radius: 0;
    }


    .bqpw-top {

        height: 78px;

        grid-template-columns:
            100px
            36px
            minmax(0,1fr)
            40px;

        gap: 9px;

        padding:
            0
            18px;
    }


    .bqpw-logo {

        width: 95px;
        height: 44px;
    }


    .bqpw-logo img {

        width: 88px;
    }


    .bqpw-form {

        height:
            calc(100% - 78px);
    }


    .bqpw-step {

        padding:
            40px
            30px
            30px;
    }


    .bqpw-service-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }


    .bqpw-summary {

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .bqpw-top {

        grid-template-columns:
            62px
            32px
            minmax(0,1fr)
            36px;

        padding:
            0
            12px;
    }


    .bqpw-logo {

        width: 58px;
        height: 38px;
    }


    .bqpw-logo img {

        width: 54px;
    }


    .bqpw-progress__step {

        display: none;
    }


    .bqpw-progress__meta {

        justify-content: flex-end;
    }


    .bqpw-progress__number {

        font-size: 12px;
    }


    .bqpw-progress__track {

        height: 6px;
    }


    .bqpw-step {

        padding:
            30px
            18px
            24px;
    }


    .bqpw-step h2 {

        font-size:
            clamp(32px,9.6vw,42px);
    }


    .bqpw-step__head p {

        font-size: 15px;
    }


    .bqpw-service-grid {

        gap: 8px;
    }


    .bqpw-service {

        min-height: 145px;

        padding: 15px;
    }


    .bqpw-service__icon {

        width: 43px;
        height: 43px;

        font-size: 17px;
    }


    .bqpw-service strong {

        margin-top: 15px;

        font-size: 16px;
    }


    .bqpw-service small {

        font-size: 12px;
    }


    .bqpw-options {

        gap: 8px;
    }


    .bqpw-option {

        min-height: 68px;

        grid-template-columns:
            42px
            minmax(0,1fr);

        gap: 12px;

        padding:
            11px
            13px;
    }


    .bqpw-option > i {

        width: 38px;
        height: 38px;

        font-size: 16px;
    }


    .bqpw-option strong {

        font-size: 15.5px;
    }


    .bqpw-option small {

        font-size: 12px;
    }


    .bqpw-fields {

        grid-template-columns: 1fr;
    }


    .bqpw-field-full {

        grid-column: auto;
    }


    .bqpw-preference {

        grid-template-columns: 1fr;
    }


    .bqpw-preference legend {

        grid-column: auto;
    }


    .bqpw-summary {

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }


    .bqpw-upload__box {

        flex-wrap: wrap;
    }


    .bqpw-upload__box small {

        width: 100%;

        margin-left: 35px;
    }


    .bqpw-next,
    .bqpw-submit {

        margin-top: 24px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bqpw-step,
    .bqpw-progress__bar {

        transition: none !important;
    }

}

/* =========================================================
   BEQIRI WIZARD – HORIZONTAL SCROLL FIX
   Letzter Schritt darf niemals seitlich scrollen
========================================================= */

/* Step ausschließlich vertikal scrollbar */
.bqpw-step {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}


/* Alle wichtigen Grid-Elemente dürfen nicht breiter werden */
.bqpw-step__head,
.bqpw-fields,
.bqpw-summary,
.bqpw-preference,
.bqpw-upload,
.bqpw-privacy,
.bqpw-error,
.bqpw-submit {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}


/* Grid-Kinder dürfen ihre Spalten nicht aufsprengen */
.bqpw-fields > *,
.bqpw-summary > *,
.bqpw-preference > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* Inputs / Select / Textarea */
.bqpw-fields input,
.bqpw-fields select,
.bqpw-fields textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}


/* =========================================================
   DATEIUPLOAD
   Alte -99999px-Technik entfernen
========================================================= */

.bqpw-upload {
    overflow: hidden !important;
}


/*
 * Das Datei-Input liegt unsichtbar DIREKT über dem Uploadfeld.
 * Dadurch bleibt alles klickbar, ohne eine riesige Scrollfläche
 * links oder rechts zu erzeugen.
 */
.bqpw-upload input[type="file"] {
    position: absolute !important;

    left: 0 !important;
    top: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 0 !important;

    cursor: pointer !important;

    z-index: 3 !important;
}


/* Upload-Inhalte bleiben unter dem unsichtbaren Input */
.bqpw-upload__title,
.bqpw-upload__box,
.bqpw-upload__files {
    position: relative;
    z-index: 1;
}


/* lange Dateinamen umbrechen */
.bqpw-upload__files {
    max-width: 100% !important;

    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}


/* =========================================================
   DIALOG SELBST
========================================================= */

.bqpw-dialog,
.bqpw-form {
    overflow-x: hidden !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .bqpw-summary,
    .bqpw-fields,
    .bqpw-preference {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

}


/* =========================================================
   BEQIRI WIZARD – KLEINE ROTE ÜBERSCHRIFTEN FEINER
========================================================= */

.bqpw-kicker {
    font-weight: 600 !important;
    letter-spacing: .13em !important;
}


/* =========================================================
   BEQIRI WIZARD – SCHÖNERE OPEN/CLOSE ANIMATION
========================================================= */

/* Grundzustand des Overlays */
#bqpw-modal {
    display: flex !important;

    opacity: 0 !important;
    visibility: hidden !important;

    pointer-events: none !important;

    transition:
        opacity .32s ease,
        visibility 0s linear .32s !important;
}


/* Dialog im geschlossenen Zustand */
#bqpw-modal .bqpw-dialog {
    opacity: 0;

    transform:
        translateY(24px)
        scale(.975);

    transition:
        opacity .32s ease,
        transform .42s cubic-bezier(.16,1,.3,1) !important;

    will-change:
        opacity,
        transform;
}


/* Geöffnetes Overlay */
#bqpw-modal.is-open {
    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: auto !important;

    transition:
        opacity .32s ease,
        visibility 0s linear 0s !important;
}


/* Dialog geöffnet */
#bqpw-modal.is-open .bqpw-dialog {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* Hintergrund etwas sanfter */
#bqpw-modal.bqpw-overlay {
    background:
        rgba(18,20,22,.42) !important;

    backdrop-filter:
        blur(7px) !important;

    -webkit-backdrop-filter:
        blur(7px) !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    #bqpw-modal,
    #bqpw-modal .bqpw-dialog {
        transition: none !important;
        transform: none !important;
    }

}


/* =========================================================
   BEQIRI WIZARD – FINAL HITBOX FIX
   Geschlossenes Popup darf NICHTS auf der Seite blockieren
========================================================= */

/* GESCHLOSSEN */
html body #bqpw-modal:not(.is-open) {
    display: none !important;

    opacity: 0 !important;
    visibility: hidden !important;

    pointer-events: none !important;
}


/* Auch wirklich alle Kinder deaktivieren */
html body #bqpw-modal:not(.is-open),
html body #bqpw-modal:not(.is-open) * {
    pointer-events: none !important;
}


/* GEÖFFNET */
html body #bqpw-modal.is-open {
    display: flex !important;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: auto !important;
}


/* Dialog und aktive Inhalte erst jetzt klickbar */
html body #bqpw-modal.is-open .bqpw-dialog,
html body #bqpw-modal.is-open .bqpw-step.is-active,
html body #bqpw-modal.is-open button,
html body #bqpw-modal.is-open a,
html body #bqpw-modal.is-open input,
html body #bqpw-modal.is-open textarea,
html body #bqpw-modal.is-open select,
html body #bqpw-modal.is-open label {
    pointer-events: auto !important;
}


/* Inaktive Wizard-Schritte niemals als unsichtbare Hitbox */
html body #bqpw-modal.is-open .bqpw-step:not(.is-active) {
    pointer-events: none !important;
}


/* =========================================================
   OPEN ANIMATION TROTZ DISPLAY:NONE
========================================================= */

html body #bqpw-modal.is-open .bqpw-dialog {
    opacity: 1 !important;

    transform:
        translateY(0)
        scale(1) !important;

    transition:
        opacity .28s ease,
        transform .38s cubic-bezier(.16,1,.3,1) !important;
}


/* Moderne Browser: Startzustand beim Einblenden */
@starting-style {

    html body #bqpw-modal.is-open {
        opacity: 0 !important;
    }

    html body #bqpw-modal.is-open .bqpw-dialog {
        opacity: 0 !important;

        transform:
            translateY(20px)
            scale(.98) !important;
    }

}

