/**
 * SV Google Maps 2-Klick Styling
 * Flat Design passend zum Twenty Twenty-Four Theme
 */

.sv-maps-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.sv-maps-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    padding: 2rem;
    text-align: center;
}

.sv-maps-content {
    max-width: 500px;
}

.sv-maps-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #0D98BA;
}

.sv-maps-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #000;
}

.sv-maps-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0 0 1.5rem 0;
}

.sv-maps-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #0D98BA;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    margin-bottom: 1rem;
}

.sv-maps-button:hover {
    background: linear-gradient(90deg, #0D98BA 0%, #0000FF 100%);
}

.sv-maps-link {
    display: block;
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sv-maps-link:hover {
    background: linear-gradient(90deg, #0D98BA 0%, #0000FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Wenn die Karte geladen ist */
.sv-maps-container.loaded .sv-maps-overlay {
    display: none;
}

.sv-maps-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sv-maps-overlay {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .sv-maps-icon {
        width: 48px;
        height: 48px;
    }
    
    .sv-maps-content h3 {
        font-size: 1.25rem;
    }
    
    .sv-maps-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }
}
