/* ==========================================================
   161. V26 – GLOBAL SITE FOOTER
   ========================================================== */

.bb-site-footer {
    width: 100%;
    margin: 0;
    color: var(--bb-text);
    background:
        radial-gradient(circle at 10% 0%, rgba(216, 40, 40, .045), transparent 28%),
        #07090C;
    border-top: 1px solid #20262D;
}

.bb-site-footer__inner {
    width: min(var(--bb-shell), calc(100% - 48px));
    margin-inline: auto;
}

.bb-site-footer__main {
    display: grid;
    grid-template-columns: minmax(340px, 1.5fr) minmax(180px, .65fr) minmax(180px, .65fr);
    gap: 72px;
    padding: 64px 0 48px;
}

.bb-site-footer__main--compact {
    grid-template-columns: minmax(360px, 1.65fr) minmax(200px, .65fr);
}

.bb-site-footer__brand {
    max-width: 470px;
}

.bb-site-footer__logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    color: var(--bb-text) !important;
    text-decoration: none !important;
}

.bb-site-footer__logo-image {
    display: block;
    width: auto;
    height: 46px;
    max-width: 235px;
    object-fit: contain;
}

.bb-site-footer__site-name {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.bb-site-footer__brand-text {
    max-width: 440px;
    margin: 22px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--bb-text-muted);
}

.bb-site-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.bb-site-footer__social {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #DDE2E7 !important;
    background: #0D1116;
    border: 1px solid #2D343D;
    border-radius: 999px;
    text-decoration: none !important;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.bb-site-footer__social:hover,
.bb-site-footer__social:focus-visible {
    color: #fff !important;
    background: rgba(216, 40, 40, .12);
    border-color: rgba(216, 40, 40, .58);
    transform: translateY(-1px);
}

.bb-site-footer__social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.7;
}

.bb-site-footer__social--instagram svg {
    fill: none;
}

.bb-site-footer__social--youtube .bb-site-footer__youtube-play {
    fill: #07090C;
    stroke: none;
}

.bb-site-footer__heading {
    margin: 2px 0 19px !important;
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: .015em;
    color: var(--bb-text) !important;
}

.bb-site-footer__menu,
.bb-site-footer__legal-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bb-site-footer__menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb-site-footer__menu li,
.bb-site-footer__legal-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bb-site-footer__menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 2px 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--bb-text-muted) !important;
    text-decoration: none !important;
    transition: color 160ms ease;
}

.bb-site-footer__menu a::before { content: none !important; display: none !important; }

.bb-site-footer__menu a:hover,
.bb-site-footer__menu a:focus-visible,
.bb-site-footer__menu .current-menu-item > a {
    color: #fff !important;
    transform: none !important;
}

.bb-site-footer__bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 0;
    border-top: 1px solid #20262D;
}

.bb-site-footer__copyright {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bb-text-subtle);
}

.bb-site-footer__legal-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
}

.bb-site-footer__legal-menu a {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bb-text-subtle) !important;
    text-decoration: none !important;
    transition: color 160ms ease;
}

.bb-site-footer__legal-menu a:hover,
.bb-site-footer__legal-menu a:focus-visible {
    color: #fff !important;
}

@media (max-width: 1024px) {
    .bb-site-footer__main {
        grid-template-columns: minmax(300px, 1.35fr) repeat(2, minmax(150px, .65fr));
        gap: 44px;
        padding-top: 56px;
    }

    .bb-site-footer__main--compact {
        grid-template-columns: minmax(320px, 1.5fr) minmax(180px, .7fr);
    }
}

@media (max-width: 767px) {
    .bb-site-footer__inner {
        width: calc(100% - 40px);
    }

    .bb-site-footer__main,
    .bb-site-footer__main--compact {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 46px 0 38px;
    }

    .bb-site-footer__brand {
        max-width: none;
    }

    .bb-site-footer__logo-image {
        height: 40px;
        max-width: 205px;
    }

    .bb-site-footer__brand-text {
        max-width: 560px;
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.65;
    }

    .bb-site-footer__socials {
        margin-top: 20px;
    }

    .bb-site-footer__nav-column {
        padding-top: 28px;
        border-top: 1px solid var(--bb-border-soft);
    }

    .bb-site-footer__heading {
        margin-bottom: 16px !important;
        font-size: 20px !important;
    }

    .bb-site-footer__menu {
        gap: 10px;
    }

    .bb-site-footer__menu a {
        font-size: 14px;
    }

    .bb-site-footer__bottom {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        padding: 22px 0 28px;
    }

    .bb-site-footer__legal-menu {
        justify-content: flex-start;
        gap: 7px 18px;
    }
}

@media (max-width: 380px) {
    .bb-site-footer__inner {
        width: calc(100% - 32px);
    }

    .bb-site-footer__social {
        width: 38px;
        height: 38px;
    }
}


/* Theme V1.1: official footer logo sizing, matching the final V29 rules. */
body .bb-site-footer .bb-site-footer__logo {
    width: auto !important;
    max-width: 190px !important;
    line-height: 0 !important;
}
body .bb-site-footer .bb-site-footer__logo > img.bb-site-footer__logo-image,
body .bb-site-footer .bb-site-footer__logo img.bb-site-footer__logo-image {
    display: block !important;
    width: 190px !important;
    max-width: 190px !important;
    height: auto !important;
    max-height: 45px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
    body .bb-site-footer .bb-site-footer__logo {
        max-width: 175px !important;
    }

    body .bb-site-footer .bb-site-footer__logo > img.bb-site-footer__logo-image,
    body .bb-site-footer .bb-site-footer__logo img.bb-site-footer__logo-image {
        width: 175px !important;
        max-width: 175px !important;
        max-height: 42px !important;
    }
}

@media (max-width: 767px) {
    body .bb-site-footer .bb-site-footer__logo,
    body .bb-site-footer .bb-site-footer__logo > img.bb-site-footer__logo-image,
    body .bb-site-footer .bb-site-footer__logo img.bb-site-footer__logo-image {
        max-width: 160px !important;
    }

    body .bb-site-footer .bb-site-footer__logo > img.bb-site-footer__logo-image,
    body .bb-site-footer .bb-site-footer__logo img.bb-site-footer__logo-image {
        width: 160px !important;
        height: auto !important;
        max-height: 38px !important;
    }
}

/* ==========================================================
   THEME V1.1 – FINAL FOOTER POLISH
   ========================================================== */
.bb-site-footer__menu,
.bb-site-footer__menu li,
.bb-site-footer__legal-menu,
.bb-site-footer__legal-menu li {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}
.bb-site-footer__menu li::marker,
.bb-site-footer__legal-menu li::marker,
.bb-site-footer__menu li::before,
.bb-site-footer__legal-menu li::before,
.bb-site-footer__menu a::before {
    content: none !important;
    display: none !important;
}
.bb-site-footer__menu a,
.bb-site-footer__menu a:hover,
.bb-site-footer__menu a:focus-visible,
.bb-site-footer__menu .current-menu-item > a {
    gap: 0 !important;
    padding: 2px 0 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    transform: none !important;
    scale: 1 !important;
}
.bb-site-footer__menu a:hover,
.bb-site-footer__menu a:focus-visible,
.bb-site-footer__menu .current-menu-item > a {
    color: #F4F6F8 !important;
}
.bb-site-footer__bottom { justify-content: space-between !important; }
.bb-site-footer__legal { margin-left: auto; }
.bb-site-footer__legal-menu { justify-content: flex-end !important; text-align: right; }

/* Zusätzliche Spalte „Über bodybuilding.de“ */
.bb-site-footer__main--about { grid-template-columns: minmax(300px, 1.4fr) repeat(3, minmax(160px, .6fr)); gap: 56px; }
.bb-site-footer__main--about.bb-site-footer__main--compact { grid-template-columns: minmax(320px, 1.5fr) repeat(2, minmax(170px, .6fr)); }
@media (max-width: 1024px) {
    .bb-site-footer__main--about,
    .bb-site-footer__main--about.bb-site-footer__main--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
    .bb-site-footer__main--about .bb-site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .bb-site-footer__main--about,
    .bb-site-footer__main--about.bb-site-footer__main--compact { grid-template-columns: 1fr; gap: 36px; }
}
