.footer__wave{
    aspect-ratio: 1920/300;
    width: 100%;
    background-image: url(../img/transition-bottom.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* assets/css/footer.css – 1:1 angepasst an Farben/Typo/Breiten der Seite */

/* Layout */
footer{
    width: 100%;
    max-width: 100%;
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    height: max-content;
    position: relative;
    margin-top: 0;
}
.footer__holder{
	width: 100%;
	display: flex;
	justify-content: center;
	background-color: var(--ac);
	padding-bottom: 3em;
}

/* Oberer Bereich – Menü */
.footer__nav{
    width: 100%;
    padding: 2em 1em 0;
}
.footer__menu{
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}
.footer__menu > li > a{
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ac);
    transition: transform .2s ease, opacity .2s ease;
}
.footer__menu > li > a:hover{
    transform: translateY(-2px);
    opacity: .85;
}

/* Untere Bar */
.footer__bar{
    width: 100%;
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1em;
}

/* Sprache */
.footer__lang{
    display: inline-flex;
    position: relative;
	z-index: 99;
}
.footer__lang-btn{
	position: fixed;
	bottom: 16px;
	left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--pr);
    border-radius: 12px;
	border: solid 2px var(--ac);
	outline: var(--bl);
    cursor: pointer;
    font-size: .9rem;
    color: var(--bl);
}
.footer__flag{
    font-size: 1rem;
    line-height: 1;
}
.footer__chevron{
    width: 18px;
    height: 18px;
}
.footer__lang-list{
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    list-style: none;
    margin: 0;
    padding: 6px;
    min-width: 160px;
    background: var(--pr);
    border: 1px solid var(--ac2);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
}
.footer__lang-list li a{
    display: block;
    width: 100%;
    padding: 8px 10px;
    text-decoration: none;
    font-size: .9rem;
    color: var(--bl);
    border-radius: 8px;
}
.footer__lang-list li a:hover{
    background: var(--ac);
	color: var(--pr)
}

/* Rechtliches + Copyright */
.footer__legal{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.footer__legal-menu{
    display: inline-flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer__legal-menu > li > a{
    text-decoration: none;
    font-size: .9rem;
    color: var(--bg);
}
.footer__legal-menu > li > a:hover{
	text-decoration: underline;
}
.footer__copy{
    font-size: .85rem;
    color: var(--bg);
    white-space: nowrap;
}

/* Social & Back-to-Top */
.footer__social{
    display: inline-flex;
    gap: 10px;
    align-items: center;
}
.footer__social-link{
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ac2);
    justify-content: center;
    align-items: center;
    color: var(--ac);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    background: var(--pr);
	cursor: pointer;
}
.footer__social-link:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.footer__social-link img{
    width: 18px;
    height: 18px;
}

.footer__totop{
	transform: translatex(100px);
	opacity: 0;
	z-index: 99;
	position: fixed;
	bottom: 1em;
	right: 1em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: solid 2px var(--bg);
    background: var(--ac);
    color: var(--pr);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity 1s ease;
}
.footer__totop.aktiv{
	transform: translateX(0);
	opacity: 1;
}
.footer__totop:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.footer__totop svg{
    width: 20px;
    height: 20px;
}

/* Typografie-Feinheiten */
.footer__bar a,
.footer__bar button{
    letter-spacing: 1px;
}

.footer__copy {
	white-space: wrap;
}

.footer-credit{
    padding-bottom: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
	cursor: pointer;
	background-color: #1e73be;
	width: 100%;
}

.footer-credit span{
    color: var(--pr);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-credit img{
    height: 18px;
    width: auto;
    display: block;
	transform: translateY(2px);
}


/* Responsive */
@media (max-width: 900px){
    .footer__bar{
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }
    .footer__social{
        order: 3;
    }
    .footer__legal{
        order: 2;
        flex-wrap: wrap;
    }
    .footer__copy{
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 500px){
    .footer__menu > li > a{
        font-size: .95rem;
    }
    .footer__legal-menu{
        gap: 12px;
    }
    .footer__legal-menu > li > a{
        font-size: .85rem;
    }
    .footer__copy{
        font-size: .8rem;
    }
}
