
/* FELDER APPOINTMENT POPUP 12.1 */

.cmsmasters-elementor-popup-127 {
    box-sizing: border-box !important;
    max-width: calc(100vw - 32px) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 20px 70px rgba(11,35,49,.20) !important;
}

.cmsmasters-elementor-popup-127
.elementor[data-elementor-id="127"] {
    box-sizing: border-box !important;
    border-radius: 24px !important;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cmsmasters-elementor-popup-127
.forminator-label {
    color: #0b2331 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
}

.cmsmasters-elementor-popup-127
.forminator-input,

.cmsmasters-elementor-popup-127
select.felder-native-select,

.cmsmasters-elementor-popup-127
input.felder-native-date {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 12px 15px !important;

    border: 1px solid #dfe6ed !important;
    border-radius: 12px !important;

    background-color: #fff !important;
    color: #0b2331 !important;

    font-size: 16px !important;
    font-family: inherit !important;

    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;

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

.cmsmasters-elementor-popup-127
select.felder-native-select {
    display: block !important;
    position: relative !important;

    appearance: auto !important;
    -webkit-appearance: menulist !important;

    clip: auto !important;
    clip-path: none !important;

    height: 50px !important;
    margin: 0 !important;

    cursor: pointer !important;
}

.cmsmasters-elementor-popup-127
input.felder-native-date {
    display: block !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    cursor: pointer !important;
}

/* Originales Datumsfeld fuer Forminator erhalten */

.cmsmasters-elementor-popup-127
input.felder-date-original {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.cmsmasters-elementor-popup-127
.forminator-input:focus,

.cmsmasters-elementor-popup-127
.felder-native-select:focus,

.cmsmasters-elementor-popup-127
.felder-native-date:focus {
    border-color: #0c76f1 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(12,118,241,.12) !important;
}

.cmsmasters-elementor-popup-127
.forminator-row {
    margin-bottom: 16px !important;
}

.cmsmasters-elementor-popup-127
.forminator-button-submit {
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 20px !important;

    background: linear-gradient(
        135deg, #70aff5, #0c76f1
    ) !important;

    border: none !important;
    border-radius: 14px !important;

    color: #fff !important;
    font-weight: 600 !important;

    box-shadow: 0 6px 20px rgba(12,118,241,.16);
    cursor: pointer !important;
}

@media (max-width: 767px) {

    .cmsmasters-elementor-popup-127 {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        border-radius: 20px !important;
    }

    .cmsmasters-elementor-popup-127
    .elementor[data-elementor-id="127"] {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        border-radius: 20px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-row {
        flex-wrap: wrap !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-row > .forminator-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-row > .forminator-col
    + .forminator-col {
        margin-top: 12px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-label {
        min-height: 0 !important;
    }

}


/* FELDER POPUP 12.2 - VISUAL FIX */

.cmsmasters-elementor-popup-127 {
    --felder-popup-blue: #0c76f1;
}

/* Doppelte Dropdown-Pfeile entfernen */

.cmsmasters-elementor-popup-127
.forminator-field:has(select.felder-native-select)::before,

.cmsmasters-elementor-popup-127
.forminator-field:has(select.felder-native-select)::after,

.cmsmasters-elementor-popup-127
.forminator-field:has(select.felder-native-select)
.forminator-icon-chevron-down {
    display: none !important;
    content: none !important;
}

.cmsmasters-elementor-popup-127
select.felder-native-select {
    appearance: none !important;
    -webkit-appearance: none !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2374818d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 19px !important;

    padding-right: 44px !important;
}

/* Altes Kalendersymbol ausblenden */

.cmsmasters-elementor-popup-127
.forminator-field:has(input.felder-native-date)
.forminator-icon-calendar,

.cmsmasters-elementor-popup-127
.forminator-field:has(input.felder-native-date)
.forminator-icon-calendar-alt,

.cmsmasters-elementor-popup-127
.forminator-field:has(input.felder-native-date)
.forminator-input-with-icon > i,

.cmsmasters-elementor-popup-127
.forminator-field:has(input.felder-native-date)
.forminator-input-with-icon > span[aria-hidden="true"] {
    display: none !important;
}

.cmsmasters-elementor-popup-127
input.felder-native-date {
    background-image: none !important;
    padding: 12px 16px !important;
    text-align: left !important;
    color: #0b2331 !important;
}

.cmsmasters-elementor-popup-127
input.felder-native-date::-webkit-calendar-picker-indicator {
    opacity: .65;
    cursor: pointer;
}

/* Einheitliche Eingabefelder */

.cmsmasters-elementor-popup-127
.forminator-input:not(.felder-date-original),

.cmsmasters-elementor-popup-127
select.felder-native-select {
    min-height: 52px !important;
    border-radius: 12px !important;
    border: 1px solid #dce5ed !important;
}

.cmsmasters-elementor-popup-127
.forminator-label {
    min-height: 0 !important;
    margin-bottom: 10px !important;
    letter-spacing: 1px !important;
    font-weight: 500 !important;
}

.cmsmasters-elementor-popup-127
.forminator-row {
    margin-bottom: 18px !important;
}

/* Terminbutton sichtbar machen */

.cmsmasters-elementor-popup-127
button.forminator-button-submit,

.cmsmasters-elementor-popup-127
.forminator-button.forminator-button-submit {
    background: linear-gradient(
        110deg, #76b1f5 0%, #0c76f1 100%
    ) !important;

    background-color: #0c76f1 !important;
    background-image: linear-gradient(
        110deg, #76b1f5 0%, #0c76f1 100%
    ) !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border: none !important;
    border-radius: 14px !important;

    width: 100% !important;
    min-height: 52px !important;

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

    font-size: 14px !important;
    font-weight: 600 !important;

    box-shadow: 0 5px 16px rgba(12,118,241,.18) !important;
}

.cmsmasters-elementor-popup-127
.forminator-button-submit > * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.cmsmasters-elementor-popup-127
.forminator-button-submit::before,

.cmsmasters-elementor-popup-127
.forminator-button-submit::after {
    display: none !important;
    content: none !important;
}

@media (hover: hover) {
    .cmsmasters-elementor-popup-127
    .forminator-button-submit:hover {
        background: #0c76f1 !important;
    }
}

/* Mobile Feinanpassung */

@media (max-width: 767px) {

    .cmsmasters-elementor-popup-127
    .forminator-row {
        margin-bottom: 14px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-label {
        font-size: 12px !important;
        letter-spacing: .8px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-input,

    .cmsmasters-elementor-popup-127
    select.felder-native-select {
        font-size: 16px !important;
    }
}


/* =========================================
   FELDER POPUP 12.3
   Premium Responsive Modal Design
   ========================================= */

/* Stoerenden aeusseren Rahmen entfernen */

.cmsmasters-elementor-popup-127 {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
}

/* Eigentliches Popup-Fenster */

.cmsmasters-elementor-popup-127
.elementor[data-elementor-id="127"] {
    width: min(1120px, calc(100vw - 64px)) !important;
    max-width: calc(100vw - 64px) !important;

    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;

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

    background: #fff !important;
    border: 0 !important;
    border-radius: 24px !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    box-shadow:
        0 24px 80px rgba(11,35,49,.24),
        0 4px 16px rgba(11,35,49,.08)
        !important;

    isolation: isolate;
    box-sizing: border-box !important;
    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: #d6dfe7 transparent;
}

/* Inhalt an den Aussenkanten sauber abschneiden */

.cmsmasters-elementor-popup-127
.elementor[data-elementor-id="127"] > .e-con,

.cmsmasters-elementor-popup-127
.elementor[data-elementor-id="127"] > .elementor-section {
    margin: 0 !important;
    border-radius: inherit !important;
    overflow: hidden !important;
}

/* Kein horizontaler Ueberlauf */

.cmsmasters-elementor-popup-127 .e-con,
.cmsmasters-elementor-popup-127 .elementor-column,
.cmsmasters-elementor-popup-127 .elementor-widget-wrap,
.cmsmasters-elementor-popup-127 .forminator-col {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Ueberschrift */

.cmsmasters-elementor-popup-127 h1,
.cmsmasters-elementor-popup-127 h2,
.cmsmasters-elementor-popup-127 h3,
.cmsmasters-elementor-popup-127 .elementor-heading-title {
    font-size: clamp(26px, 3vw, 42px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em !important;
    overflow-wrap: break-word;
}

/* Formularabstaende */

.cmsmasters-elementor-popup-127
.forminator-custom-form-51 {
    width: 100% !important;
    max-width: 100% !important;
}

.cmsmasters-elementor-popup-127
.forminator-row {
    margin-bottom: 16px !important;
}

.cmsmasters-elementor-popup-127
.forminator-label {
    line-height: 1.45 !important;
}

/* Einheitliche Feldbeschriftungen */

.cmsmasters-elementor-popup-127
label[for^="forminator-field-name-1_"],

.cmsmasters-elementor-popup-127
label[for^="forminator-field-phone-1_"] {
    min-height: 2.9em !important;
}

/* Schliessen-Button */

.cmsmasters-elementor-popup-127
.mfp-close,

.cmsmasters-elementor-popup-127
.cmsmasters-popup-close,

.cmsmasters-elementor-popup-127
.cmsmasters-popup-close-button,

.cmsmasters-elementor-popup-127
.dialog-close-button {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;

    background: rgba(235,240,244,.85) !important;
    color: #0b2331 !important;

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);

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

    cursor: pointer !important;
    opacity: 1 !important;
    z-index: 20 !important;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {

    .cmsmasters-elementor-popup-127
    .elementor[data-elementor-id="127"] {
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        border-radius: 22px !important;
    }

    .cmsmasters-elementor-popup-127
    .e-con:has(> .e-con form.forminator-custom-form-51)
    > .e-con:has(form.forminator-custom-form-51) {
        width: 65% !important;
        flex-basis: 65% !important;
    }
}

/* Smartphone */

@media (max-width: 767px) {

    .cmsmasters-elementor-popup-127 {
        width: 100% !important;
        padding: 0 !important;
    }

    .cmsmasters-elementor-popup-127
    .elementor[data-elementor-id="127"] {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;

        max-height: calc(100vh - 32px) !important;
        max-height: calc(
            100dvh - 32px
            - env(safe-area-inset-top, 0px)
            - env(safe-area-inset-bottom, 0px)
        ) !important;

        border-radius: 20px !important;
    }

    /* Bildspalte ohne Formular ausblenden */

    .cmsmasters-elementor-popup-127
    .e-con:has(> .e-con form.forminator-custom-form-51)
    > .e-con:not(:has(form)):has(img),

    .cmsmasters-elementor-popup-127
    .elementor-section:has(form.forminator-custom-form-51)
    > .elementor-container
    > .elementor-column:not(:has(form)):has(img) {
        display: none !important;
    }

    /* Formularspalte auf volle Breite */

    .cmsmasters-elementor-popup-127
    .e-con:has(> .e-con form.forminator-custom-form-51) {
        flex-direction: column !important;
    }

    .cmsmasters-elementor-popup-127
    .e-con:has(> .e-con form.forminator-custom-form-51)
    > .e-con:has(form.forminator-custom-form-51),

    .cmsmasters-elementor-popup-127
    .elementor-column:has(form.forminator-custom-form-51) {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: auto !important;
        padding: 24px 18px !important;
    }

    .cmsmasters-elementor-popup-127
    .elementor-heading-title {
        font-size: 27px !important;
        line-height: 1.2 !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-row {
        margin-bottom: 14px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-label {
        min-height: 0 !important;
        font-size: 12px !important;
        letter-spacing: .6px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-input:not(.felder-date-original),

    .cmsmasters-elementor-popup-127
    select.felder-native-select,

    .cmsmasters-elementor-popup-127
    input.felder-native-date {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        font-size: 16px !important;
    }

    .cmsmasters-elementor-popup-127
    .forminator-button-submit {
        min-height: 52px !important;
        font-size: 13px !important;
        border-radius: 13px !important;
    }
}

/* Sehr kleine Smartphones */

@media (max-width: 360px) {
    .cmsmasters-elementor-popup-127
    .elementor[data-elementor-id="127"] {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        border-radius: 16px !important;
    }

    .cmsmasters-elementor-popup-127
    .elementor-heading-title {
        font-size: 24px !important;
    }
}

