.mitglieder-archive-page {
    background: #ffffff;
}

.mitglieder-archive-hero {
    padding: 70px 0 34px;
}

.mitglieder-archive-hero__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.mitglieder-archive-hero h1 {
    margin: 0 0 18px;
    color: #2b2b2b;
    font-size: 42px;
    line-height: 1.15;
}

.mitglieder-archive-teaser {
    max-width: 760px;
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.7;
}

.mitglieder-archive-teaser p:last-child {
    margin-bottom: 0;
}

.mitglieder-archive-button {
    flex: 0 0 auto;
    margin-top: 8px;
}

.mitglieder-map-section {
    padding: 26px 0 44px;
}

.mitglieder-map-consent,
.mitglieder-map,
.mitglieder-map-placeholder {
    width: 100%;
    min-height: 520px;
    border: 1px solid #e4e4e4;
    background: #f7f7f7;
}

.mitglieder-map-consent {
    position: relative;
    overflow: hidden;
}

.mitglieder-map-preview {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(38deg, transparent 0 44%, rgba(126, 31, 43, 0.18) 45% 47%, transparent 48% 100%),
        linear-gradient(112deg, transparent 0 38%, rgba(58, 113, 78, 0.18) 39% 42%, transparent 43% 100%),
        linear-gradient(8deg, transparent 0 58%, rgba(48, 112, 168, 0.14) 59% 61%, transparent 62% 100%),
        radial-gradient(circle at 26% 34%, rgba(126, 31, 43, 0.32) 0 7px, transparent 8px),
        radial-gradient(circle at 70% 46%, rgba(126, 31, 43, 0.32) 0 7px, transparent 8px),
        radial-gradient(circle at 53% 70%, rgba(126, 31, 43, 0.32) 0 7px, transparent 8px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        #eef1ed;
    background-size: auto, auto, auto, auto, auto, auto, 72px 72px, 72px 72px, auto;
    filter: saturate(0.82);
    transform: scale(1.02);
}

.mitglieder-map-consent__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(3px);
}

.mitglieder-map-consent__box {
    max-width: 560px;
    padding: 32px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.mitglieder-map-consent__box h2 {
    margin: 0 0 12px;
    color: #2b2b2b;
    font-size: 28px;
    line-height: 1.2;
}

.mitglieder-map-consent__box p {
    margin: 0 0 22px;
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.65;
}

.mitglieder-map-consent__remember {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #444444;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
}

.mitglieder-map-consent__remember input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.mitglieder-map-consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    background: #7e1f2b;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.mitglieder-map-consent__button:hover,
.mitglieder-map-consent__button:focus {
    background: #5e1720;
}

.mitglieder-map-consent .mitglieder-map {
    position: absolute;
    inset: 0;
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
}

.mitglieder-map-consent.is-accepted .mitglieder-map {
    opacity: 1;
    visibility: visible;
}

.mitglieder-map-consent.is-accepted .mitglieder-map-preview,
.mitglieder-map-consent.is-accepted .mitglieder-map-consent__overlay {
    display: none;
}

.mitglieder-map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    color: #555555;
    text-align: center;
}

.mitglieder-map-info {
    min-width: 180px;
    max-width: 240px;
}

.mitglieder-map-info__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 64px;
    margin-bottom: 10px;
}

.mitglieder-map-info__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mitglieder-map-info strong {
    display: block;
    margin-bottom: 8px;
    color: #2b2b2b;
    font-size: 16px;
}

.mitglieder-map-info a {
    color: #7e1f2b;
    font-weight: 700;
}

.mitglieder-list-section {
    padding: 28px 0 80px;
}

.mitglieder-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.mitglied-card {
    margin: 0;
}

.mitglied-card__link {
    display: block;
    height: 100%;
    padding: 24px 18px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #2b2b2b;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mitglied-card__link:hover,
.mitglied-card__link:focus {
    border-color: #7e1f2b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    color: #2b2b2b;
    text-decoration: none;
}

.mitglied-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 18px;
}

.mitglieder-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mitglied-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #7e1f2b;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
}

.mitglied-card__title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.mitglied-single {
    padding: 70px 0;
}

.mitglied-single__header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
}

.mitglied-single__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 120px;
    flex: 0 0 180px;
}

.mitglied-single__header h1 {
    margin: 0 0 12px;
}

.mitglied-single__description {
    margin: 0;
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.6;
}

.mitglied-single__meta {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}

.mitglied-single__meta-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
}

.mitglied-single__meta dt {
    color: #555555;
    font-weight: 700;
}

.mitglied-single__meta dd {
    margin: 0;
    color: #2b2b2b;
}

.mitglied-single__meta a {
    color: #7e1f2b;
    font-weight: 700;
}

@media (max-width: 991px) {
    .mitglieder-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mitglieder-archive-hero {
        padding-top: 46px;
    }

    .mitglieder-archive-hero__content,
    .mitglied-single__header {
        display: block;
    }

    .mitglieder-archive-hero h1 {
        font-size: 34px;
    }

    .mitglieder-archive-button {
        margin-top: 24px;
    }

    .mitglieder-map,
    .mitglieder-map-placeholder {
        min-height: 420px;
    }

    .mitglieder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .mitglied-card__link {
        padding: 20px 14px;
    }

    .mitglied-single__logo {
        margin-bottom: 24px;
    }

    .mitglied-single__meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .mitglieder-grid {
        grid-template-columns: 1fr;
    }
}
