/* Only audited widgets, never body-wide overflow or navigation overrides. */
#cmsmasters-slider-aac5989 .cmsmasters-swiper-container,
#cmsmasters-slider-89dd53f .cmsmasters-swiper-container,
#cmsmasters-slider-45e6e25 .cmsmasters-swiper-container { overflow: hidden; }
@media (max-width: 480px) {
 body.home .elementor-element-45d36ba { min-width:0 !important; max-width:100% !important; }
 body.home .elementor-element-eb360bb,
 body.home .elementor-element-4cea67a,
 body.home .elementor-element-6ac1d39 { min-width:0 !important; max-width:100% !important; }
 body.home .elementor-element-eb360bb .elementor-heading-title,
 body.home .felder-hero-doctor { white-space:normal !important; overflow-wrap:break-word; max-width:100%; }
 #cmsmasters-slider-45e6e25 { min-width:0; max-width:100%; }
 #cmsmasters-slider-45e6e25 .swiper-slide { min-width:0; box-sizing:border-box; }
 #cmsmasters-slider-45e6e25 .entry-title { overflow-wrap:anywhere; }
}
@media (max-width: 360px) {
 body.home .elementor-element-45d36ba { transform:none !important; }
 body.home .elementor-element-eb360bb .elementor-heading-title { font-size:clamp(24px,8vw,32px) !important; }
}
.felder-v7-footer-toggle { display:none !important; }
@media (max-width: 767px) {
 .felder-v7-footer-toggle { display:flex !important; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:10px 12px; border:1px solid rgba(158,203,250,.25); border-radius:12px; background:rgba(255,255,255,.045); color:#fff; font:inherit; font-size:14px; text-align:left; cursor:pointer; }
 .felder-v7-footer-toggle:focus-visible { outline:2px solid #9ECBFA; outline-offset:3px; }
 .felder-v7-footer-toggle::after { content:'+'; color:#9ECBFA; font-size:21px; line-height:1; }
 .felder-v7-footer-toggle[aria-expanded=true]::after { content:'−'; }
 .felder-v7-footer-heading { display:none !important; }
 .felder-v7-footer-panel[data-v7-closed=true] { display:none !important; }
}

/* FELDER 7.5 – CLEAN & SMOOTH */

@media (max-width: 767px) {

    /* Tatsächlicher Footer-Hauptcontainer */

    html body .elementor-element-76e99234
    > .e-con-inner {
        padding-top: 32px !important;
        padding-bottom: 30px !important;
        gap: 24px !important;
    }

    /* Tatsächlicher Navigationscontainer */

    html body .elementor-element-76e99234
    .elementor-element-169c179
    > .e-con-inner {
        --gap: 24px !important;
        --row-gap: 24px !important;
        gap: 24px !important;
    }

    /* Ausschließlich die beiden Accordion-Bereiche */

    html body .elementor-element-76e99234 :is(
        .elementor-element-65f2c8aa,
        .elementor-element-2ac125ec
    ) {
        --gap: 0px !important;
        --row-gap: 0px !important;

        gap: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        background-image: none !important;

        box-shadow: none !important;
        border-radius: 0 !important;
    }

    /* Zwischen beiden Navigationsgruppen kein Leerraum */

    html body .elementor-element-76e99234
    .elementor-element-65f2c8aa
    + .elementor-element-2ac125ec {
        margin-top: -24px !important;
        border-bottom: 1px solid
            rgba(255,255,255,.12) !important;
    }

    /* Einheitliche Navigationszeilen */

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle {
        appearance: none !important;
        -webkit-appearance: none !important;

        position: relative !important;

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

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

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

        background: transparent !important;
        background-image: none !important;

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

        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 21px !important;

        letter-spacing: .2px !important;
        text-transform: none !important;
        text-align: left !important;

        border: 0 !important;
        border-top: 1px solid
            rgba(255,255,255,.12) !important;

        border-radius: 0 !important;
        box-shadow: none !important;
        text-shadow: none !important;

        transform: none !important;
        opacity: 1 !important;

        -webkit-tap-highlight-color: transparent;
    }

    /* Keine Farbwechsel bei Interaktionen */

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle:is(
        :hover,:active,:focus
    ) {
        background: transparent !important;
        background-image: none !important;
        color: #c5cdd4 !important;
        box-shadow: none !important;
    }

    /* Dezentes Plus und Minus */

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle::before {
        display: none !important;
        content: none !important;
    }

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle::after {
        content: '+' !important;

        display: block !important;
        position: absolute !important;

        right: 4px !important;
        left: auto !important;
        top: 50% !important;
        bottom: auto !important;

        width: 16px !important;
        height: 20px !important;

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

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

        font-size: 19px !important;
        font-weight: 300 !important;
        line-height: 20px !important;

        border: 0 !important;
        background: transparent !important;

        transform: translateY(-50%) !important;
    }

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle[
        aria-expanded="true"
    ]::after {
        content: '−' !important;
    }

    /* Transparente Inhalte ohne Farbübergänge */

    html body .elementor-element-76e99234
    .felder-v7-footer-panel {
        box-sizing: border-box !important;

        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        background-image: none !important;

        box-shadow: none !important;
        opacity: 1 !important;

        animation: none !important;
        transition: none !important;
    }

    html body .elementor-element-76e99234
    .felder-v7-footer-panel
    .elementor-widget-container {
        background: transparent !important;
        background-image: none !important;

        padding: 4px 0 16px !important;
        margin: 0 !important;

        box-shadow: none !important;
    }

    html body .elementor-element-76e99234
    .felder-v7-footer-panel[
        data-v75-animating="true"
    ] {
        overflow: hidden !important;
    }

    html body .elementor-element-76e99234
    .felder-v7-footer-panel[
        data-v7-closed="true"
    ] {
        display: none !important;
    }

    html body .elementor-element-76e99234
    .felder-v7-footer-panel a {
        background: transparent !important;
        color: #b7c1c9 !important;
        font-size: 13px !important;
        line-height: 1.9 !important;
        box-shadow: none !important;
    }

    /* Platz unter dem Footer für die Kontaktleiste */

    html body.felder-mobile-contact-active
    .elementor-element-76e99234 {
        padding-bottom: calc(
            72px + env(safe-area-inset-bottom, 0px)
        ) !important;
    }
}


/* FELDER 7.5.1 – ACCORDION ICONS */

@media (max-width: 767px) {

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle {
        position: relative !important;
        overflow: visible !important;
    }

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle::before,

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle::after {

        content: '' !important;

        display: block !important;
        position: absolute !important;

        top: 50% !important;
        right: 4px !important;
        left: auto !important;
        bottom: auto !important;

        width: 12px !important;
        height: 1.5px !important;

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

        background: #a3afb8 !important;
        background-image: none !important;

        border: 0 !important;
        border-radius: 1px !important;

        box-shadow: none !important;

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

        pointer-events: none !important;
        z-index: 2 !important;

        transition: transform 280ms ease,
                    opacity 280ms ease !important;
    }

    /* Horizontaler Strich */

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle::before {
        transform: translateY(-50%) !important;
    }

    /* Vertikaler Strich */

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle::after {
        transform:
            translateY(-50%) rotate(90deg) !important;
    }

    /* Geöffneter Zustand: Minuszeichen */

    html body .elementor-element-76e99234
    button.felder-v7-footer-toggle[
        aria-expanded="true"
    ]::after {
        content: '' !important;

        transform:
            translateY(-50%) rotate(0deg) !important;

        opacity: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    button.felder-v7-footer-toggle::before,
    button.felder-v7-footer-toggle::after {
        transition: none !important;
    }
}


/* FELDER 7.5.2 – MOBILE MENU GRADIENT */

html body .f18-panel .f18-actions a.f18-appointment,
html body .f18-panel .f18-actions a.f18-appointment:hover,
html body .f18-panel .f18-actions a.f18-appointment:focus,
html body .f18-panel .f18-actions a.f18-appointment:active {

    background: linear-gradient(
        90deg,
        #9ECBFA 0%,
        #0C76F1 100%
    ) !important;

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

    box-shadow: none !important;
    text-decoration: none !important;

    -webkit-tap-highlight-color: transparent;
}


/* FELDER – DESKTOP MENU ALIGNMENT */

@media (min-width: 1025px) {

    .cmsmasters-header-menu .menu > li > a,
    .cmsmasters-navigation .menu > li > a {
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: middle !important;
        line-height: 1.2 !important;
        gap: 8px;
    }

    .cmsmasters-header-menu .menu > li.menu-item-has-children > a,
    .cmsmasters-navigation .menu > li.menu-item-has-children > a {
        align-items: center !important;
        vertical-align: middle !important;
    }

    .cmsmasters-header-menu .menu > li.menu-item-has-children > a :is(i,svg),
    .cmsmasters-navigation .menu > li.menu-item-has-children > a :is(i,svg) {
        vertical-align: middle !important;
        align-self: center !important;
    }
}


/* FELDER – MOBILE FOOTER BOTTOM FIX */

@media (max-width: 767px) {

    html body.felder-mobile-contact-active {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    html body.felder-mobile-contact-active
    .elementor-element-76e99234 {

        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    html body.felder-mobile-contact-active
    .elementor-element-76e99234 > .e-con-inner {

        padding-bottom: calc(
            85px + env(safe-area-inset-bottom, 0px)
        ) !important;
    }

    html body.felder-mobile-contact-active
    :is(#footer, footer.cmsmasters-footer) {

        margin-bottom: 0 !important;
        padding-bottom: 0 !important;

        background-color: #0a2232;
    }
}


/* FELDER – FINAL MOBILE OVERSCROLL FIX */

@media (max-width: 767px) {

    /* Tatsächlichen Footer-Wrapper korrigieren */

    html body footer.elementor-107.cmsmasters-location-cmsmasters_footer {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Vertikales Überscrollen verhindern */

    html {
        overscroll-behavior-y: none !important;
    }

    html body#cmsmasters_body {
        overscroll-behavior-y: none !important;
    }

    /* Bestehenden Footer-Abstand beibehalten */

    html body.felder-mobile-contact-active
    .elementor-element-76e99234 > .e-con-inner {
        padding-bottom: calc(
            85px + env(safe-area-inset-bottom, 0px)
        ) !important;
    }
}


/* FELDER – SAFARI NATURAL SCROLL FIX */

@media (max-width: 767px) {

    html,
    html body#cmsmasters_body {
        overscroll-behavior-y: auto !important;
    }

    html {
        background-color: #102230 !important;
    }

    html body#cmsmasters_body {
        background-color: #ffffff !important;
    }

    html body
    footer.elementor-107.cmsmasters-location-cmsmasters_footer {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        background-color: #102230 !important;
    }
}

