/* ========================================
   Atlas Standorte – Ansprechpartner Box
   ======================================== */

/* Versteckt bis JS die Daten geladen hat */
.atlas-ap-box:not(.atlas-ap-loaded) {
    display: none !important;
}

.atlas-ap-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.atlas-ap-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.atlas-ap-info {
    padding: 20px;
}

.atlas-ap-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 6px;
}

.atlas-ap-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.atlas-ap-detail {
    font-size: 14px;
    margin-bottom: 8px;
    color: #444;
}

.atlas-ap-detail a {
    color: #0073aa;
    text-decoration: none;
}

.atlas-ap-detail a:hover {
    text-decoration: underline;
}

.atlas-ap-icon {
    margin-right: 4px;
}

/* Hint / Fallback */
.atlas-ap-hint {
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
    background: #f9fafb;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.atlas-ap-hint a {
    color: #0073aa;
    text-decoration: underline;
}

/* Loading */
.atlas-ap-loading {
    padding: 30px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.atlas-ap-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: atlas-spin 0.6s linear infinite;
    margin: 0 auto 10px;
}

@keyframes atlas-spin {
    to { transform: rotate(360deg); }
}
