#zh-footer {
    background: rgb(244 235 203 / 85%);
    border-top: 1px solid rgba(163, 133, 59, 0.25);
    padding: 2.5rem 1.25rem 1.5rem;
    margin-top: 3rem;
    color: #3b2e16 !important;
}

.zh-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.zh-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem 2.5rem;
}

.zh-footer-column h2 {
    color: #a3853b !important;
    font-family: "Quattrocento", "Palatino Linotype", serif;
    font-size: 1.15rem;
    font-weight: normal;
    margin: 0 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(163, 133, 59, 0.3);
    text-align: left;
}

/* Überschrift als Toggle-Button (auf Desktop optisch wie reine Überschrift) */
#zh-footer .zh-footer-toggle {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: default;
}

.zh-footer-chevron {
    display: none;
    margin-left: auto;
    font-size: 0.85em;
    transition: transform 0.2s ease;
}

.zh-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.zh-footer-column li {
    margin: 0.35rem 0;
    line-height: 1.5;
}

#zh-footer span {
    background: none !important;
}

#zh-footer a,
#zh-footer a:visited,
#zh-footer a:hover,
#zh-footer a:focus,
#zh-footer a:active {
    color: #545ea8 !important;
    text-decoration: none;
}

#zh-footer a:hover,
#zh-footer a:focus {
    text-decoration: underline;
}

.zh-footer-column i {
    width: 1.2em;
    text-align: center;
    margin-right: 0.25rem;
}

.zh-footer-copyright {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(163, 133, 59, 0.25);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    color: #6b5a3a;
}

/* Mobile Ansicht: Sektionen einklappbar (nur wenn JS aktiv ist) */
@media (max-width: 539.98px) {
    #zh-footer.zh-footer-js .zh-footer-toggle {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    #zh-footer.zh-footer-js .zh-footer-chevron {
        display: inline-block;
    }

    #zh-footer.zh-footer-js .zh-footer-column ul {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.25s ease;
    }

    #zh-footer.zh-footer-js .zh-footer-column.is-open ul {
        max-height: 30rem;
    }

    #zh-footer.zh-footer-js .zh-footer-column.is-open .zh-footer-chevron {
        transform: rotate(180deg);
    }
}

@media (min-width: 540px) {
    .zh-footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 864px) {
    .zh-footer-columns {
        grid-template-columns: repeat(4, 1fr);
    }
}
