/* -------------------------- start fonts footer -------------------------- */

footer a {
    text-decoration: none;
    transition: all 0.5s ease 0s;
    color: inherit;
}

footer {}

footer p,
footer li,
footer a {
    font-family: var(--mainfont);
    list-style: none;
    color: #fff;
}

#footer-mitte .textwidget p,
#footer-rechts .textwidget a {
    font-weight: 700;
    /*font-size: min(calc(12px + (18 - 12) * ((100vw - 375px) / (1920 - 375))), 18px);*/
    font-size: min(calc(12px + (18 - 12) * ((100vw - 375px) / (1721 - 375))), 18px);
    line-height: 1.94;
}

#footer-rechts a:last-child:before {
    margin-right: 0.5em;
    content: '';
    display: block;
    background-size: contain;
    --my-size: 2em;
    width: var(--my-size);
    height: var(--my-size);
    background-repeat: no-repeat;
    background-image: url(/wp-content/themes/astra-impuls-child/img/icon-ig);
}

@media (min-width: 631px) {
    #footer-rechts a:last-child:before {
        display: none;
    }

}

#footer-rechts a:last-child {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.3em !important;
}

#menu-footer-menu>li>a {
    font-size: 13px;
}

#footer-claim .textwidget>p {
    font-family: var(--headlinefontalternative);
    /*font-size: min(calc(17px + (30 - 17) * ((100vw - 375px) / (1920 - 375))), 30px);*/
    font-size: min(calc(17px + (30 - 17) * ((100vw - 375px) / (1721 - 375))), 30px);
    letter-spacing: 0.02em;
    font-style: normal;
}

#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--ast-global-color-2);
    padding: var(--bg-padding) 0;
    border-bottom: solid 25px var(--ast-global-color-0);
}

#footer .wrap {
    display: flex;
    justify-content: center;
    margin: 0 auto calc(var(--gap-xl) + 9px) auto;
    max-width: 1106px;
    width: 90%;
}

#footer-links {
    max-width: 358px;
    height: auto;
    margin-right: 4rem;
    width: clamp(203px, 42vw, 358px);
}

#footer .wrap:before {
    content: '';
    width: 277px;
    height: 138px;
    position: absolute;
    right: 0;
    top: 2vw;
    background: url('/wp-content/themes/astra-impuls-child/img/footer-berge.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

#menu-footer-menu {
    margin: 0 !important;
}

.inner-wrap {
    display: flex;
    align-items: center;
    gap: calc(var(--gap-l) + 5px);
}

#menu-footer-menu {
    display: flex;
    gap: calc(var(--gap-m) + 1.5rem);
}

li#menu-item-1492 {
    display: none;
}

.inner-wrap-2 {
    display: flex;
    align-items: center;
    max-width: 1106px;
    width: 90%;
    justify-content: space-between;
    flex-shrink: 5;
}

/*----------------- END SOCIAL SHARE -------------*/

@media (min-width: 1920px) {
    .ft-logo {
        margin: 0 50px;
    }
}

@media (max-width: 1600px) {}

@media (max-width: 1204px) {

    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1155px) {

    /*----------------- ELEMENT -------------*/
    .inner-wrap {
        flex-flow: wrap-reverse;
        justify-content: center;
        text-align: center;
    }

    #footer-rechts a:last-child {
        justify-content: center;
    }

    #footer-links {
        order: 3;
    }

    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1090px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {

    /*----------------- ELEMENT -------------*/
    #footer-links {
        margin-right: 0;
    }

    .inner-wrap-2 {
        flex-direction: column-reverse;
        gap: var(--gap-l);
    }

    #footer .wrap {
        margin: 0 auto var(--gap-l) auto;
    }

    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
    div#mobile-bar {
        display: flex;
    }
}

@media (max-width: 768px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 630px) {

    /*----------------- ELEMENT -------------*/
    #menu-footer-menu {
        gap: var(--gap-s);
        flex-direction: column;
        text-align: center;
    }

    #menu-footer-menu>.menu-item:nth-child(2) {
        order: -2;
    }

    #menu-footer-menu>.menu-item:nth-child(3) {
        order: -1;
    }

    #footer-rechts a:last-child {
        transform: translateX(-5.9%);
    }

    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 576px) {

    #footer {
        border-bottom: 15px solid var(--ast-global-color-0);
    }
}

@media (max-width: 500px) {

    #footer-mitte {
        margin-bottom: -30px;
        order: 2;
    }
}

@media (max-width: 420px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}