
/* --------------------------------------- */
/* Footer */
/* --------------------------------------- */

.footer {
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding: 20px;
}

/* Zentrierung der Linkgruppe */
.footer-center {
    width: 50%;
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 2%;
    flex-wrap: wrap;
}

/* Links im Footer (Datenschutz, Impressum etc.) */
.footer-center a {
    color: #000;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-center a:hover {
    background-color: #811811;
    color: #fff;
}

/* Footer-Social-Icons enger zusammenrücken */
.footer-right {
    width: 25%;
    display: flex;
    align-items: right;
    justify-content: right;
    gap: 2%; /* enger als vorher */
    padding-right: 50px; /* Abstand vom Back to top button */
}

/* Auf Tablets ausblenden */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer-right {
        display: none;
    }
}

/* Social Media Icons im Footer */
.footer-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.footer-right a img {
    height: 25px;
    filter: brightness(0);
    transition: filter 0.3s ease;
}

.footer-right a:hover {
    background-color: #811811;
}

.footer-right a:hover img {
    filter: brightness(100) invert(1);
}

/* Copyright links */

.footer-left {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.footer-left p {
    margin: 0;
}

/* Scroll-to-top Button vertikal zentrieren im Footer */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    color: #000;
    border-radius: 4px;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #811811;
    color: #fff;
}

/* -------------------- */
/* RESPONSIVE DESIGN HEADER HANDY / MOBILE */
/* -------------------- */
@media screen and (max-width: 1024px)  {

    /* FOOTER */

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        flex: unset;
        width: 100%;
    }

    .footer-right {
        padding: 0;
        margin-bottom: 10px;
    }

    .scroll-to-top {
        right: 15px;
        bottom: 15px;
    }
}



