#footer {
    position: relative;
    padding-top: 20px;
    text-align: center;
}

#footer .lower .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
}

#footer ul.bottom_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer ul.bottom_links li::before {
    content: none; /* bullet weg */
}

#footer #copyright {
    font-size: 0.78em;
    opacity: 0.45;
}

/* Scroll-to-top Pfeil */
#back_to_top {
    position: fixed;
    right: 10%;
    top: 90%;
    transform: translateY(-50%);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 22px;
    background: rgba(20, 10, 10, 0.8);
    border: 1px solid rgba(180, 60, 40, 0.5);
   color: #b43c28 !important;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    /* Debug: kurz testen ob er überhaupt da ist */
    opacity: 1 !important;
    border-radius: 50%; /* nur links abgerundet */
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.3s;
}

#back_to_top.visible {
    opacity: 1;
}

#back_to_top:hover {
    background: rgba(180, 60, 40, 0.2);
    color: #d45030;
}

#footer select {
    background: transparent;
    border: 1px solid rgba(180, 60, 40, 0.5);
    color: #b43c28;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: pointer;
}

#footer select:hover {
    background: rgba(180, 60, 40, 0.1);
}
