.bebb-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
    width: calc(100% - 2rem);
    min-height: 9rem;
    margin: 1rem auto 0;
    padding: 1.5rem;
    border-radius: 5px;
    background: #393939;
    color: #f0f0f0;
    font-family: var(--bebb-font-ui);
}

.bebb-footer__logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    min-height: 6rem;
}

.bebb-footer__logos a {
    display: inline-flex;
    justify-content: center;
    width: auto;
    transition: transform 0.2s ease;
}

.bebb-footer__logos a:hover,
.bebb-footer__logos a:focus-visible {
    transform: scale(1.05);
}

.bebb-footer__logos img {
    width: auto;
    max-width: calc(100% - 2rem);
    max-height: 60px;
}

.bebb-footer__info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 1rem 1.5rem;
    width: 100%;
}

.bebb-footer__info a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    color: #f0f0f0;
    text-decoration: none;
    white-space: nowrap;
}

.bebb-footer__info img {
    width: auto;
    height: 20px;
}

.bebb-footer__imprint {
    justify-self: center;
}

@media (max-width: 43.75rem) {
    .bebb-footer__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .bebb-footer__info {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 32.5rem) {
    .bebb-footer__logos,
    .bebb-footer__info {
        grid-template-columns: minmax(0, 1fr);
    }
}
