footer {
    font-size: 16px;
    max-width: var(--hero-width);
    margin: 72px auto;
}

footer h2 {
    hyphens: none;
}

/* footer breite wie content - nicht navigation */

.footer-inner {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 64px;
    padding: var(--p-64);
    border-radius: var(--border-radius);
    background-color: var(--backgrounds-card-footer);
}

.footer-top {
    margin-bottom: 64px;
}

.footer-top .image-element {
    margin-bottom: 0;
}

.footer-top img {
    max-width: 64px;
}

.footer-middle {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: calc(64px - 15px);
}

.footer-middle h2,
.footer-middle strong,
.footer-middle-right {
    color: #ffffff;
}

.footer-middle h2 {
    margin-bottom: 16px;
}

.footer-small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-middle-right .link {
    font-size: 20px;
    color: #ffffff;
    margin: 24px 24px 5px 0;
}

.footer-middle-right .link i {
    margin-right: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 48px;
}

.footer-bottom-left {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-left p,
.footer-bottom-left ul,
.footer-bottom-left ul li {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-bottom-left ul {
    margin-bottom: 0;
}

.footer-ziegler-group-text {
    color: #ffffff;
    margin-right: 16px;
}

.footer-bottom-left ul {
    padding: 0;
}

.footer-bottom-left ul li {
    margin-right: 24px;
}

.footer-bottom-left ul::before {
    content: "·";
    font-size: 26px;
    line-height: 15%;
    color: rgba(216, 223, 228, 1);
    display: inline-block;
    margin: 0 16px;
    position: relative;
    top: 4px;
}

.footer-bottom-left a {
    color: #ffffff;
}

/* Light/Dark Mode Toggle */
.color-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
    font-size: 14px;
    white-space: nowrap;
}

.color-mode-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.color-mode-option i {
    font-size: 16px;
}

.color-mode-option.is-active {
    font-family: var(--font-bold), sans-serif;
    color: #ffffff;
}

@media (max-width: 1415px) {
    .footer-middle-right .link {
        margin: 14px 24px 5px 0;
    }

    .footer-bottom-left ul {
        display: block;
    }

    .footer-bottom-left ul::before {
        display: none;
    }
}

@media (max-width: 1199px) {
    footer {
        font-size: 14px;
        margin: 24px auto;
    }

    .footer-inner {
        margin: 0 32px;
        padding: 32px 20px 48px;
    }

    .footer-top {
        margin-bottom: 24px;
    }

    .footer-top img {
        max-width: 36px;
    }

    .footer-middle {
        margin-bottom: calc(24px - 5px);
    }

    .footer-middle h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .footer-middle-right {
        margin-top: calc(24px - 15px)
    }

    .footer-middle-right .link {
        margin: 16px 24px 5px 0;
    }

    .footer-bottom {
        padding-top: 24px;
    }

    .footer-bottom-left {
        margin-bottom: calc(48px - 16px)
    }

    .color-mode-toggle {
        justify-content: start;
    }
}

@media (max-width: 639px) {
    footer {
        margin: 16px auto;
    }

    .footer-inner {
        margin: 0 16px;
    }
}