/* Mitgliedschaftshinweis im Footer, auf allen Hauptseiten */
.bpa-membership {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin: 0 0 2.5rem;
    padding: 1.5rem 1.75rem;
    background: #f5f9fc;
    border: 1px solid #dce8f0;
    border-radius: 14px;
}
.bpa-membership__copy {
    flex: 1 1 280px;
}
.bpa-membership__copy h4 {
    margin: 0 0 .45rem;
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 700;
    color: #153e60;
}
.bpa-membership__copy p {
    margin: 0;
    max-width: 40rem;
    color: #344a5a;
    font-size: 1rem;
    line-height: 1.65;
}
.bpa-membership__badge {
    display: block;
    flex: 0 1 360px;
    max-width: 100%;
    padding: .7rem .85rem;
    background: #fff;
    border: 1px solid #e1e7eb;
    border-radius: 10px;
    transition: border-color .2s ease;
}
.bpa-membership__badge:hover,
.bpa-membership__badge:focus-visible {
    border-color: #0b65a0;
}
.bpa-membership__badge img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 767px) {
    .bpa-membership {
        padding: 1rem;
        gap: 1rem;
    }
    .bpa-membership__copy,
    .bpa-membership__badge {
        flex: 1 1 100%;
    }
}

/* Kompakter Mitgliedschaftshinweis in der oberen Kontaktleiste */
.top-contact-bar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}
.top-contact-bar .top-contact-content {
    flex: 0 1 auto;
    min-width: 0;
    gap: 1.5rem;
}
.top-bpa-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .45rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    text-decoration: none;
}
.top-bpa-link:hover,
.top-bpa-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.top-bpa-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 4px;
}
.top-bpa-mark {
    display: inline-block;
    padding: .1rem .4rem;
    border-radius: 4px;
    background: #fff;
    color: #08688d;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.04em;
}
@media (max-width: 991.98px) {
    .top-contact-bar .top-contact-content {
        gap: .75rem;
    }
    .top-contact-bar .top-contact-content .contact-info-item:nth-child(n+3) {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .top-contact-bar > .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: .5rem;
        min-height: 28px;
    }
    .top-contact-bar .top-contact-content {
        display: flex;
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        margin-left: auto;
    }
    .top-contact-bar .top-contact-content .contact-info-item:nth-child(n+2) {
        display: none;
    }
    .top-contact-bar .contact-info-item {
        font-size: .73rem;
        white-space: nowrap;
    }
    .top-bpa-link {
        font-size: .75rem;
        gap: .3rem;
    }
    .top-bpa-link > span:last-child {
        display: none;
    }
    .top-bpa-link::after {
        content: "Mitglied";
        font-weight: 600;
    }
    .top-bpa-mark {
        padding: .05rem .32rem;
        font-size: .87rem;
    }
}

