footer {
    background-color: var(--dark-blue);
    padding: 7vw 0;
    position: relative;
}

footer#footer:after {
    display: block;
    content: '';
    position: absolute;
    height: 20.5vw;
    width: calc(20.5vw / 2.15);
    background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/footer-grafik.svg);
    background-repeat: no-repeat;
    background-size: cover;
    right: 5.8vw;
    bottom: 0;
}

footer a {
    text-decoration: none;
    transition: all 0.5s ease 0s;
    position: relative;
}

footer h4 {
    margin-top: 0;
    margin-bottom: 55px;
}

footer a,
footer p {
    color: #fff;
}

footer#footer a:hover:after {
    width: 100%;
    opacity: 1;
}

footer#footer a:hover {
    color: var(--brown);
}

footer#footer a:after {
    height: 1px;
    width: 0;
    content: '';
    left: 0;
    bottom: -1px;
    position: absolute;
    transition: all .5s ease 0s;
    background-color: var(--brown);
    opacity: 0;
}

div#footer-logos a {
    color: var(--brown);
}

div#footer-logos a:hover {
    color: #fff;
}

div#footer-logos a:after {
    background-color: #fff;
}

.wrap {
    display: flex;
    justify-content: flex-start;
    margin-left: 6vw;
}

.inner-wrap {
    display: flex;
    width: calc(100% - (20.5vw / 2.15) - (6.6vw + 60px) - 2vw);
    max-width: 1159px;
    justify-content: space-between;
    flex-wrap: wrap;
}

div#footer-social {
    display: flex;
    margin-right: 6.66vw;
    flex-direction: column;
}

div#footer-social .social-icon {
    background-color: var(--blue-grey);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 3px;
    position: relative;
    overflow: hidden;
}


/*
div#footer-social .social-icon:last-of-type {
    height: 145px;
}
*/

div#footer-social .social-icon:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--brown);
    z-index: 1;
    transform: translateY(-100%);
    transition: all .5s ease 0s;
}

div#footer-social .social-icon:hover:before {
    transform: translateY(0);
}

div#footer-social .social-icon a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

div#footer-social .social-icon img {
    width: auto;
    height: auto;
}

#footer-links,
#footer-mitte,
#footer-rechts {
    display: flex;
    flex-basis: auto;
    flex-direction: column;
}

#footer-links p:not(:last-of-type),
#footer-mitte p:not(:last-of-type),
#footer-rechts p:not(:last-of-type) {
    margin-bottom: calc(1em * 1.7) !important;
}

#footer-logos {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 7.7vw;
}

div#footer-logos .ft-logo {
    width: 100%;
}

ul#menu-footer-menu {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    max-width: 833px;
    justify-content: space-between;
}

div#footer-logos li {
    list-style: none;
}

#footer-top-btn {
    position: absolute;
    right: 2vw;
    bottom: 6.5vw;
}


/*----------------- MOBILE BAR  -------------*/

div#mobile-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999999;
    display: none;
    transform: translateY(100%);
    transition: all .5s ease 0s;
}

.shiftnav-open div#mobile-bar {
    transform: translateY(0);
    transition-delay: .5s;
}

div#mobile-icons {
    z-index: 100;
    display: flex;
    width: 100%;
    background-color: var(--dark-blue);
    padding: 10px;
}

.mobile-icon {
    height: 62px;
    display: flex;
    text-align: center;
    vertical-align: top;
    transition: all 0.3s ease 0s;
    width: 62px;
    margin-right: 2px;
    background-color: var(--blue-grey);
}

.mobile-icon:first-of-type {
    flex: 1 1 auto;
    background-color: transparent;
    margin-right: 0;
}

.mobile-icon>.textwidget {
    display: flex;
    width: 100%;
}

.mobile-icon>.textwidget>* {
    flex-basis: 50%;
    margin-right: 2px !important;
    background-color: var(--blue-grey);
}

.mobile-icon>.textwidget * {
    font-family: 'DM SANS';
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.mobile-icon:last-of-type {
    margin-right: 0;
}

.mobile-icon a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mobile-icon img {
    width: auto;
    height: 25px !important;
}

div#button-wrapper {
    width: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
}

a.button-anfrage,
a.button-buchen {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Muli;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.125em;
}

a.button-anfrage {
    background: #fff000;
}

a.button-buchen {
    background-color: #9A0707;
}

a.button-buchen span:first-of-type {
    display: none;
}

a.button-buchen span:only-of-type {
    display: block;
}


/*----------------- SOCIAL SHARE -------------*/

.heateorSssSharing,
.heateorSssSharingButton {
    margin: 0;
}

.heateor_sss_sharing_container.heateor_sss_horizontal_sharing {
    margin-top: 1vw;
    margin-bottom: 6vw;
    filter: saturate(0.7);
}

ul.heateor_sss_follow_ul li,
ul.heateor_sss_sharing_ul li {
    float: right !important;
}


/*----------------- END SOCIAL SHARE -------------*/

@media (min-width: 1920px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
    .wrap {
        margin-left: 5vw;
    }
    footer#footer:after {
        right: 30px;
    }
    div#footer-logos .ft-logo {
        width: 95%;
    }
}

@media (max-width: 1200px) {
    footer#footer:after {
        display: none;
    }
    .wrap {
        margin-left: auto;
        max-width: 90%;
        margin-right: auto;
    }
    div#footer-social {
        display: flex;
        margin-right: 2.56vw;
        flex-direction: column;
    }
    .inner-wrap {
        width: 100%;
    }
}

@media (max-width: 990px) {
    div#footer-social {
        flex-direction: row;
    }
    div#mobile-bar {
        display: flex;
    }
    .wrap {
        flex-wrap: wrap;
    }
    /*
    div#footer-social .social-icon:last-of-type {
        height: 145px;
        transform: rotate( 90deg) translateY(calc(-100%));
        transform-origin: left top;
    }
    */
    div#footer-social .social-icon {
        margin-right: 3px;
    }
    div#footer-social .social-icon:last-of-type::before {
        transform: translateX(-100%);
    }
    div#footer-social .social-icon:hover:before {
        transform: translateY(0) !important;
    }
    #footer-links,
    #footer-mitte {
        margin-right: 30px;
    }
    footer h4 {
        margin-top: 0;
        margin-bottom: 28px;
    }
    #footer-links,
    #footer-mitte,
    #footer-rechts {
        margin-bottom: 7vw;
    }
}

@media (max-width: 767px) {
    ul#menu-footer-menu {
        flex-flow: wrap;
    }
    div#footer-logos li {
        margin: 15px 0;
        flex-basis: 50%;
        text-align: center;
    }
    .inner-wrap * {
        text-align: center;
        margin-right: 0 !important;
    }
    .inner-wrap {
        flex-direction: column;
        align-items: center;
    }
    div#footer-social {
        margin-right: auto;
        margin-left: auto;
        margin: 25px auto 40px auto;
        /* transform: translateX(calc(1px - (99px / 2) + 1px)); */
    }
    #footer-links,
    #footer-mitte,
    #footer-rechts {
        margin-bottom: 60px;
    }
}

@media (max-width: 576px) {
    div#footer-logos li {
        margin: 15px 0;
        flex-basis: 100%;
        text-align: center;
    }
    .heateor_sss_sharing_container.heateor_sss_horizontal_sharing {
        margin: 60px 0;
    }
    footer#footer a:hover:after {
        width: 0;
        opacity: 1;
    }
}

@media (max-width: 420px) {
    .mobile-icon img {
        width: auto;
        height: 22px !important;
    }
    footer {
        padding: 14vw 0;
    }
    footer h4 {
        margin-top: 0;
        margin-bottom: 20px;
    }
    div#footer-rechts {
        margin-bottom: 0;
    }
}

@media (max-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}