/* =========================
   VM FOOTER
   modern / schmal / flex
   ========================= */

.vm-footer-visual {
    max-width: 1180px;
    margin: 26px auto 0 auto;
    height: 120px;
    overflow: hidden;

    border: 1px solid rgba(28, 43, 49, 0.14);
    border-bottom: 0;

    background: #d8d3c8;
    box-sizing: border-box;
}

.vm-footer-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    filter: grayscale(10%) contrast(1.04);
}

.vm-footer {
    max-width: 1180px;
    margin: 0 auto 26px auto;

    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #1c2b31;

    border: 1px solid rgba(28, 43, 49, 0.16);
    background: #f7f6f2;

    box-shadow:
        0 8px 20px rgba(28, 43, 49, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.55);

    box-sizing: border-box;
}

.vm-footer *,
.vm-footer *::before,
.vm-footer *::after {
    box-sizing: border-box;
}

/* obere Footer-Zeile */

.vm-footer-upper {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(28, 43, 49, 0.10);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.38),
            rgba(237, 232, 220, 0.50)
        );
}

.vm-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* linke kleine Info */

.vm-footer-brand {
    flex: 0 1 330px;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;

    padding-left: 12px;
    border-left: 2px solid rgba(28, 43, 49, 0.36);
}

.vm-footer-label {
    color: rgba(28, 43, 49, 0.54);
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.vm-footer-brand strong {
    color: #1c2b31;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vm-footer-brand span:last-child {
    color: rgba(28, 43, 49, 0.62);
    font-size: 11px;
    line-height: 1.35;
}

/* Sprach-/Themeauswahl */

.vm-footer-selects {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 8px;
}

.vm-footer-selects select {
    max-width: 150px;
    height: 26px;

    border: 1px solid rgba(28, 43, 49, 0.18);
    background: rgba(255, 255, 255, 0.48);
    color: #1c2b31;

    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    font-size: 11px;
}

/* Links */

.vm-footer-links {
    flex: 1 1 auto;
    min-width: 0;
}

.vm-footer-links ul,
.vm-footer-links .bottom_links {
    margin: 0;
    padding: 0;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    list-style: none;
}

.vm-footer-links li {
    margin: 0;
    padding: 0;
}

.vm-footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 25px;
    padding: 0 9px;

    border: 1px solid rgba(28, 43, 49, 0.12);
    background: rgba(255, 255, 255, 0.32);

    color: rgba(28, 43, 49, 0.72);
    text-decoration: none;

    font-size: 10px;
    line-height: 1;
    letter-spacing: .11em;
    text-transform: uppercase;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.vm-footer-links a:hover {
    color: #000;
    border-color: rgba(28, 43, 49, 0.32);
    background: rgba(28, 43, 49, 0.055);
    text-decoration: none;
}

/* untere Footer-Zeile */

.vm-footer-lower {
    background: #1c2b31;
    color: rgba(247, 246, 242, 0.78);
}

.vm-footer-bottom {
    min-height: 34px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.vm-footer-time,
.vm-footer-copy {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vm-footer-copy {
    text-align: right;
}

.vm-footer-copy a,
.vm-footer-lower a {
    color: #f7f6f2;
    text-decoration: none;
    opacity: .88;
}

.vm-footer-copy a:hover,
.vm-footer-lower a:hover {
    opacity: 1;
    text-decoration: none;
}

/* MyBB Wrapper im Footer nicht stören */

.vm-footer .wrapper,
.vm-footer-visual.wrapper {
    max-width: none;
}

/* Responsive */

@media screen and (max-width: 900px) {
    .vm-footer-visual,
    .vm-footer {
        margin-left: 10px;
        margin-right: 10px;
    }

    .vm-footer-flex {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .vm-footer-brand {
        flex: 1 1 100%;
    }

    .vm-footer-selects {
        flex: 1 1 auto;
    }

    .vm-footer-links {
        flex: 1 1 100%;
    }

    .vm-footer-links ul,
    .vm-footer-links .bottom_links {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 600px) {
    .vm-footer-visual {
        height: 90px;
    }

    .vm-footer-upper {
        padding: 12px;
    }

    .vm-footer-bottom {
        min-height: auto;
        padding: 10px 12px;

        flex-direction: column;
        align-items: flex-start;
    }

    .vm-footer-copy {
        text-align: left;
    }

    .vm-footer-selects {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-footer-selects select {
        max-width: 220px;
    }
}