/* Statische Standortkarte für sv-ramacher.de */

.standorte-map-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

#standorte-map {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.standorte-list-wrapper {
    display: flex;
    flex-direction: column;
    height: 520px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    background: var(--card, #fff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.standorte-list-header {
    flex: 0 0 auto;
    padding: 16px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

#standorte-count {
    display: block;
    color: #16596c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.standorte-list-header p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

#standorte-list {
    flex: 1 1 auto;
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    list-style: none;
}

#standorte-list li {
    margin: 0;
    padding: 0;
}

.standorte-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.standorte-list__link:hover,
.standorte-list__link:focus,
.standorte-list__link.is-active {
    background: rgba(22, 89, 108, .10);
    color: #123f4c;
    outline: none;
}

.standorte-list__name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 600;
}

.standorte-list__pin {
    flex: 0 0 auto;
    color: #16596c;
    font-size: 12px;
}

.standorte-list__region {
    flex: 0 0 auto;
    color: #6b7280;
    font-size: 12px;
    text-align: right;
}

.ramacher-marker {
    background: transparent;
    border: 0;
}

.ramacher-marker__inner {
    position: relative;
    width: 26px;
    height: 34px;
}

.ramacher-popup strong {
    color: #123f4c;
    font-size: 14px;
}

.ramacher-popup__region {
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
}

.ramacher-popup a {
    display: inline-block;
    margin-top: 8px;
    color: #16596c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ramacher-popup a:hover {
    text-decoration: underline;
}

@media (max-width: 1023px) {
    .standorte-map-wrapper {
        grid-template-columns: 1fr;
    }

    .standorte-list-wrapper {
        height: 420px;
    }
}

@media (max-width: 640px) {
    #standorte-map {
        height: 420px;
    }

    .standorte-list__link {
        align-items: flex-start;
    }

    .standorte-list__region {
        max-width: 45%;
        white-space: normal;
    }
}
