/*Footer*/

.theme-body .footer-wrapper .logo.footerlogo {
    margin-bottom: 50px;
}

.theme-body footer.footer-wrapper .footer-contact-info {
    color: #fff;
    padding-left: 0;
    padding-right: 0;
}

.theme-body footer.footer-wrapper .socmednav ul.social-links li {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.theme-body footer.footer-wrapper .socmednav ul.social-links li a {
    height: 100%;
}

.theme-body footer.footer-wrapper .socmednav ul.social-links li a span {
    height: 100%;
    align-content: center;
}

.theme-body footer.footer-wrapper .footer-contact-numbers p,
.theme-body footer.footer-wrapper .footer-contact-numbers a {
    color: #fff;
    white-space: nowrap;
}

.theme-body footer.footer-wrapper .footer-contact-numbers a:hover {
    color: #fff;
    text-decoration: unset;
}

.theme-body footer.footer-wrapper .footer-contact-numbers a:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/cta_icons/phone-volume-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    vertical-align: middle;
}

@media screen and (max-width: 991px) {
    .footer-wrapper .footer-column-titel {
        margin: 25px 0 5px;
    }

    .theme-body footer.footer-wrapper .footer-contact-numbers p:last-child {
        margin-bottom: unset;
    }
}

@media screen and (min-width: 992px) {
    .theme-body footer.footer-wrapper .d-lg-flex {
        gap: clamp(10px, 2vw, 70px);
        justify-content: space-between;
        padding: unset;
    }

    .theme-body footer.footer-wrapper .footer-menu-content {
        max-width: 270px;
        width: auto;
        min-width: 25%;
    }

    .theme-body footer.footer-wrapper .footer-menu-content li {
        width: auto;
    }

    .theme-body footer.footer-wrapper .footer-menu-content:first-child {
        padding-left: clamp(10px, 3vw, 60px);
        border-left: 1px solid #BCBCBC;
    }

    .theme-body .footer-wrapper .footer-menu li a {
        hyphens: auto;
    }

    .theme-body footer.footer-wrapper .footer-contact-numbers {
        padding-right: clamp(10px, 3vw, 60px);
    }

    .theme-body footer.footer-wrapper .col-12 .row {
        margin: unset;
    }
}

@media screen and (min-width: 1540px) {
    .theme-body .footer-nav-wrapper .container,
    .theme-body .footer-wrapper .container {
        width: 100%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .theme-body footer.footer-wrapper .d-lg-flex {
        width: 100%;
        flex: unset;
        max-width: unset;
        justify-content: unset;
        gap: 60px;
    }

    .theme-body footer.footer-wrapper .d-lg-flex.col-lg-7 {
        margin-top: 60px;
    }

    .theme-body footer.footer-wrapper .footer-menu-content {
        max-width: unset;
    }

    .theme-body footer.footer-wrapper .footer-menu-content:first-child {
        padding-left: unset;
        border: unset;
    }

    .theme-body footer.footer-wrapper .footer-contact-numbers {
        padding-right: unset;
    }
}

/*Sticky Element*/

.sticky-element {
    max-width: 320px;
    width: 100%;
}

.main-content > .default-wrap.sticky-element {
    margin-top: 0px;
}

.sticky-element [class*="backgroundimage-"] {
    position: relative;
    padding: 20px;
    margin-bottom: 20px !important;
}

.sticky-element .backgroundimage-c13504 {
    background-size: 130%;
    background-position: -25px -155px;
}

.sticky-element .backgroundimage-c13507 {
    background-size: 110%;
    background-position: 0px -85px;
}

.sticky-element .backgroundimage-c13502 {
    background-size: 130%;
    background-position: -25px -155px;
}

.sticky-element [class*="backgroundimage-"]:before {
    content: "";
    background: linear-gradient(0deg, #34363C 30%, rgba(52, 54, 60, 0.00) 140%);
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.sticky-element [class*="backgroundimage-"]:after {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 12px 22px 0 22px;
    border-color: #34363C transparent transparent transparent;
    transform: rotate(0deg);
    content: "";
    position: absolute;
    bottom: -12px;
    right: 55px;
}

.sticky-element [class*="backgroundimage-"] div {
    z-index: 1;
    position: relative;
    padding: 80px 0 15px;
    min-height: 400px;
    align-content: flex-end;
}

.sticky-element h2 {
    color: #fff;
    font-size: 24px !important;
    margin-bottom: 15px !important;
}

.sticky-element p:first-of-type {
    color: #fff;
    margin-bottom: 15px;
}

.sticky-element p {
    margin-bottom: 5px;
    font-size: 18px;
}

.sticky-element p .arrow-link {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #FFF;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    padding-left: 0;
}

.sticky-element p.arrow-link:last-child {
    margin-bottom: 0;
}

.sticky-element .btn.icon-button {
    width: 100%;
    background-color: white;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    border: 1px solid #E2E3E4;
    text-align: start;
    color: #34363C;
}

.sticky-element .btn.icon-button:hover {
    border: 1px solid #E2E3E4;
    background: #E2E3E4;
    text-decoration: none;
    color: #34363C;
}

.sticky-element .btn.icon-button:hover:before {
    filter: brightness(0) saturate(100%) sepia(1) hue-rotate(180deg) contrast(100%);
}

.sticky-element .btn.icon-button:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    vertical-align: middle;
}

.sticky-element .btn.icon-button.chat:before {
    background-image: url(../images/cta_icons/sms.svg);
}

.sticky-element .btn.icon-button.contact:before {
    background-image: url(../images/cta_icons/mail.svg);
}

.sticky-element .btn.icon-button.phone:before {
    background-image: url(../images/cta_icons/call.svg);
}

.sticky-element .btn.icon-button.membership:before {
    background-image: url(../images/cta_icons/membership.svg);
}

.sticky-element .btn.icon-button.info_call:before {
    background-image: url(../images/cta_icons/info_call.svg);
}

.sticky-element .btn.icon-button.add_call:before {
    background-image: url(../images/cta_icons/add_call.svg);
}

.sticky-element .close-icon {
    position: relative;
    font-size: 0;
    height: 15px;
    width: 15px;
    margin-left: auto;
}

.sticky-element .close-icon:before {
    background-image: url(../images/cta_icons/close.svg);
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    vertical-align: middle;
}

.sticky-element .close-icon:hover:before {
    cursor: pointer;
}

.sticky-element p .arrow-link:before {
    content: none;
}

.sticky-element p .arrow-link:after {
    content: "\e5cc";
    font-family: "Material Icons";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
}

body .sticky-element p .arrow-link:hover {
    color: #fff;
}

.sticky-element p:has(a + a) {
    gap: 10px;
    display: flex;
}

.sticky-element p:has(a + a) .btn.icon-button {
    width: calc(50% - 5px);
    padding: 10px 20px;
}

body .sticky-element-toggle {
    position: fixed;
    right: 30px;
    bottom: 65px;
    z-index: 999999;
    margin: unset;
}

body .sticky-element-toggle p {
    margin-bottom: unset;
}

.sticky-element-toggle .btn.icon-button.chat {
    filter: drop-shadow(0px 0px 50px rgba(0, 0, 0, 0.25));
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
    align-content: center;
    width: 80px;
    height: 80px;
    background: #fff;
}

.sticky-element-toggle .btn.icon-button.chat:before {
    background-image: url(../images/cta_icons/sms.svg);
    filter: brightness(0) saturate(100%) sepia(1) hue-rotate(180deg) contrast(100%);
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.sticky-element-toggle .btn.icon-button.chat p {
    margin-bottom: unset;
}

.sticky-element-toggle .btn.icon-button.chat span {
    display: none;
}

/* Positionierung Sticky-Element*/

.default-wrap.sticky-element {
    position: fixed;
    position: fixed;
    right: 10px;
    bottom: 145px;
    z-index: 999999;
    margin: unset;
}

body .botario-chat-widget.botario-chat-widget-float {
    right: 10px;
    bottom: 145px;
}

/*Temporäre Positionierung Sticky-Element*/
/*
div#main-content:has(.sticky-element) {
    display: flex;
    gap: 20px;
}
*/

.botario-chat-floating {
    display: none;
}

@media screen and (max-width: 767px) {
    .sticky-element [class*="backgroundimage-"] div {
        padding-top: 40px;
    }

    body .sticky-element-toggle {
        bottom: 20px;
    }

    .default-wrap.sticky-element {
        bottom: 85px;
    }

    .theme-body .sticky-element .text-center {
        text-align: center !important;
    }

    .sticky-element p,
    .sticky-element .btn.icon-button {
        font-size: 16px;
    }

    .sticky-element .btn.icon-button:before {
        width: 25px;
        height: 25px;
    }

    .sticky-element-toggle .btn.icon-button.chat {
        width: 64px;
        height: 64px;
    }

    .sticky-element-toggle .btn.icon-button.chat:before {
        width: 30px;
        height: 30px;
    }

    .sticky-element [class*="backgroundimage-"]:after {
        right: 32px;
        bottom: -10px;
    }
}

@media screen and (max-width: 992px) {
    #botario .chat-window-head .chat-window-title-custom p {
        right: 75px;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 993px) {
    body .botario-chat-widget.botario-chat-widget-float {
        max-height: calc(100vh - 160px);
    }
}


/*Störer im Menü*/
.cta-menu {
    max-width: 470px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.cta-menu .t3-layout-background-grey {
    padding: 40px 20px 40px 37px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cta-popup .cta-popup-right .ce-textpic {
    display: flex;
    justify-content: flex-end;
    padding: 15px 10px 20px;
    margin-top: 55px;
    margin-bottom: auto;
    background: #fff;
    overflow: visible;

}

.cta-popup .cta-popup-right .ce-gallery {
    width: 45%;
    position: absolute;
    left: -10px;
    bottom: -20px;
    overflow: visible;
    max-width: unset;
}

.cta-popup .cta-popup-right .ce-row {
    overflow: visible;
}

.cta-popup .cta-popup-right .ce-gallery img {
    scale: 1.5;
}

.cta-popup .cta-popup-right .ce-bodytext {
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: unset;
}

.cta-menu .cta-menu-text {
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-menu .cta-menu-text p {
    margin-bottom: unset;
    line-height: normal;
}

.cta-menu-text .cta-menu-text-top p:nth-of-type(2) {
    margin: 3px 0 0;
}

.cta-menu .cta-menu-text .cta-menu-text-bottom {
    margin-top: 50px;
    font-size: 16px;
}

.cta-menu .btn.icon-button {
    background-color: white;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    border: 1px solid #E2E3E4;
    text-align: start;
    color: #34363C;
    margin-top: 12px;
}

.cta-menu .btn.icon-button:hover {
    border: 1px solid #E2E3E4;
    background: #E2E3E4;
    text-decoration: none;
    color: #34363C;
}

.cta-menu .btn.icon-button:hover:before {
    filter: brightness(0) saturate(100%) sepia(1) hue-rotate(180deg) contrast(100%);
}

.cta-menu .btn.icon-button:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    vertical-align: middle;
}

.cta-menu .btn.icon-button.phone:before {
    background-image: url(../images/cta_icons/call.svg);
}

.theme-body .menu-wrapper nav.navbar .main-menu > li.has_children:has(.cta-menu):hover .level_2,
.theme-body .menu-wrapper nav.navbar .main-menu > li.has_children:has(.cta-menu):focus-within .level_2 {
    flex-wrap: nowrap;
    padding: 0;
}

.theme-body .menu-wrapper nav.navbar .main-menu > li:has(.cta-menu):hover .level_2 .level_2-list,
.theme-body .menu-wrapper nav.navbar .main-menu > li:has(.cta-menu):focus-within .level_2 .level_2-list {
    padding: 35px 20px;
}

@media screen and (max-width: 991px) {
    .cta-menu {
        margin: auto;
    }

    .cta-menu .t3-layout-background-grey {
        padding: 40px 20px 20px 37px;
    }

    .cta-menu .ce-gallery {
        left: -20px;
        bottom: -20px;
        max-height: 280px;
    }

    .cta-menu .ce-gallery img {
        scale: 1;
    }

    .cta-menu .cta-menu-text .cta-menu-text-bottom {
        margin-top: 30px;
    }

    .cta-menu .btn.icon-button {
        padding: 10px;
    }
}


/*CTA-Element Popup*/
/*.frame-type-html:has(.cta-popup) {
    position: fixed;
    z-index: 99999999;
    margin: auto !important;
    height: fit-content;
    inset: 20px;
}*/

.cta-popup {
    display: flex;
    position: fixed;
    z-index: 99999999;
    margin: auto !important;
    height: fit-content;
    inset: 20px;
}

.cta-popup .element-container-2-spaltig-60-40 {
    box-shadow: 0 0 50px 20px rgba(0, 0, 0, 0.20);
    justify-content: space-between;
    max-width: 810px;
    margin: auto;
    width: 100%;
}

.cta-popup .t3-layout-background-white {
    padding: unset;
}

.cta-popup .row.two-col-content-six-four {
    margin: unset;
}

.cta-popup .col-lg-8 {
    width: 60%;
    max-width: 60%;
    flex: unset;
    padding: unset !important;
}

.cta-popup .col-lg-4 {
    max-width: 40%;
    width: 40%;
    flex: unset;
    overflow: hidden;
    padding: unset !important;
    display: flex;
    flex-direction: column;
    margin: unset !important;
    background-color: #E9E9E9;
}

.cta-popup .element-text .t3-layout-background-grey.has-bg-color {
    padding: unset !important;
}

.cta-popup .col-lg-4 > .default-wrap:first-of-type {
    padding: 50px 25px 0;
}

.cta-popup .cta-popup-left .frame-type-text {
    padding: 50px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #fff;
}

.cta-popup .cta-popup-left h2 {
    margin-bottom: unset !important;
    line-height: unset;
    color: #34363C;
}

.cta-popup .popup-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-popup .popup-text-group p {
    margin-bottom: 10px;
    line-height: normal;
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
}

.cta-popup .popup-text-group .popup-btn-group p {
    margin-bottom: unset;
}

.cta-popup .btn.icon-button {
    width: 100%;
    background-color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    border: 1px solid #E2E3E4;
    text-align: start;
    color: #34363C;
}

.cta-popup .btn.icon-button:hover {
    border: 1px solid #E2E3E4;
    background: #E2E3E4;
    text-decoration: none;
    color: #34363C;
}

.cta-popup .btn.icon-button:hover:before {
    filter: brightness(0) saturate(100%) sepia(1) hue-rotate(180deg) contrast(100%);
}

.cta-popup .btn.icon-button:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    vertical-align: middle;
}

.cta-popup .btn.icon-button.chat:before {
    background-image: url(../images/cta_icons/sms.svg);
}

.cta-popup .btn.icon-button.contact:before {
    background-image: url(../images/cta_icons/mail.svg);
}

.cta-popup .btn.icon-button.phone:before {
    background-image: url(../images/cta_icons/call.svg);
}

.cta-popup .btn.icon-button.membership:before {
    background-image: url(../images/cta_icons/membership.svg);
}

.cta-popup .btn.icon-button.info_call:before {
    background-image: url(../images/cta_icons/info_call.svg);
}

.cta-popup .btn.icon-button.add_call:before {
    background-image: url(../images/cta_icons/add_call.svg);
}

.cta-popup .btn.icon-button.customer_consultation:before {
    background-image: url(../images/cta_icons/apartment.svg);
}

.cta-popup .btn.icon-button.callback:before {
    background-image: url(../images/cta_icons/phone_callback.svg);
}

.cta-popup .btn.icon-button.health_phone:before {
    background-image: url(../images/cta_icons/health_and_safety.svg);
}

.cta-popup .btn.icon-button.video_consulting:before {
    background-image: url(../images/cta_icons/video-consulting.svg);
}

.cta-popup .btn.icon-button.online_service:before {
    background-image: url(../images/cta_icons/online.svg);
}

.cta-popup .popup-text-bottom p {
    display: flex;
    column-gap: 48px;
    margin-top: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
    row-gap: 10px;
}

.cta-popup .popup-text-bottom a {
    text-decoration: unset;
    color: #34363C;
    font-size: 16px;
    line-height: normal;
}

.cta-popup .popup-text-bottom a:hover {
    text-decoration: underline;
}

.cta-popup .close-icon-popup {
    position: relative;
    font-size: 0;
    height: 25px;
    width: 25px;
    margin-bottom: unset;
    position: absolute;
    right: 15px;
    top: 15px;
}

.cta-popup .close-icon-popup:before {
    background-image: url(../images/cta_icons/close-grey.svg);
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;
    vertical-align: middle;
}

.cta-popup .close-icon-popup:hover:before {
    cursor: pointer;
}

.cta-popup .cta-popup-right {
    height: 100%;
}

.cta-popup .cta-popup-right .element-textpic {
    height: 100%;
}

.cta-popup .cta-popup-right .t3-layout-background-grey {
    padding: 50px 25px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: unset;
}

.cta-popup .cta-popup-right .t3-layout-background-grey {
    margin: auto 0;
}

.cta-popup .col-lg-4 .t3-layout-background-grey h2 {
    color: #34363C;
    font-size: 50px;
    line-height: 110%;
    max-width: min-content;
}

.cta-popup .cta-popup-right .ce-textpic {
    display: flex;
    justify-content: flex-end;
    padding: 15px 10px 20px;
    margin-top: 55px;
    margin-bottom: auto;
    background: #fff;
    overflow: visible;
    position: relative;
}

.cta-popup .cta-popup-right .ce-gallery {
    width: 45%;
    position: absolute;
    left: -10px;
    bottom: -120px;
    overflow: visible;
    max-width: unset;

}

.cta-popup .cta-popup-right .ce-row {
    overflow: visible;
}

.cta-popup .cta-popup-right .ce-gallery img {
    scale: 1.5;
}

.cta-popup .cta-popup-right .ce-bodytext {
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: unset;
}

body .cta-popup .cta-popup-right .ce-bodytext h3 {
    font-size: 20px;
    margin-bottom: unset;
    line-height: 120%;
    max-width: 115px;
    margin-left: auto;
}

.cta-popup-left:not(.col-12 .col-lg-8 .cta-popup-left) {
    display: none;
}

.cta-popup-right:not(.col-12  .col-lg-4 .cta-popup-right) {
    display: none;
}

.t3-layout-background-grey:not(.col-12 .col-lg-4  .t3-layout-background-grey) {
    display: none;
}


@media screen and (max-width: 900px) {
    .cta-popup {
        max-height: 90vh;
        overflow-y: auto;
    }

    .cta-popup .row.two-col-content-six-four {
        flex-direction: column-reverse;
    }

    .cta-popup .element-container-2-spaltig-60-40 {
        max-width: unset;
        border: 2px solid #e9e9e9;
    }

    .cta-popup .popup-btn-group {
        flex-direction: column;
    }

    .cta-popup .col-lg-4 .t3-layout-background-grey h2 {
        font-size: 35px;
    }

    .cta-popup .cta-popup-right .t3-layout-background-white {
        padding: 50px 5px 50px;
        margin-top: 30px;
    }

    .cta-popup .cta-popup-right .ce-gallery {
        bottom:-420px;
        position: absolute;
        width: 40%;
        left: -10px;
        max-height: 300px;
        height: 100%;
        overflow: visible;
    }


    .cta-popup .cta-popup-right .ce-gallery img {
        height: 100%;
        scale: 1.4;
        max-height: 330px;
        transform: translate(0);
        will-change: transform;
    }

}

@media screen and (min-width: 720px) and (max-width: 900px) {
    .cta-popup {
        max-height: 90vh;
        overflow-y: auto;
    }

    .cta-popup .row.two-col-content-six-four {
        flex-direction: row;
    }

    .cta-popup .popup-text-bottom {
        margin-top: unset;
    }

    .cta-popup .popup-text-bottom a {
        width: 100%;
    }

    .cta-popup .cta-popup-left {
        height: 100%;
    }

    .cta-popup .cta-popup-left .t3-layout-background-white {
        height: 100%;
    }

    .cta-popup .cta-popup-right .ce-bodytext {
        width: 100%;
    }

    body .cta-popup .cta-popup-right .ce-bodytext h3 {
        max-width: unset;
    }

    .cta-popup .cta-popup-right .ce-textpic {
        margin-top: unset;
        padding: 50px 30px 50px;
    }

}

@media screen and (max-width: 720px) {
    .cta-popup .col-lg-8 {
        width: 100%;
        max-width: unset;

    }

    .cta-popup .col-lg-4 {
        width: 100%;
        max-width: unset;
    }
}

@media screen and (max-width: 520px){
.cta-popup .cta-popup-right .ce-gallery {
    bottom: 0;
}
}