/* css/google_map.css — Karte auf der Kontaktseite (content_inc/google_map.php, js/google_map.js)
   Volle Breite. Vor dem Klick: Platzhalter ohne Google, mit feinem Raster als Andeutung einer Karte. */

.google-map {
    /* margin-top: var(--section-space); */
}

.google-map-frame {
    position: relative;
    height: 70svh;
    min-height: 420px;
    overflow: hidden;
    background-color: var(--mat);
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* Mit Vorschaubild (eigener Screenshot): Karte füllt die Fläche, kein Raster */
.google-map-frame.has-preview {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mitte hell für den Text, außen sieht man die Karte 
.google-map-frame.has-preview .google-map-placeholder {
    background: radial-gradient(ellipse at center, rgba(242, 242, 239, 0.92) 0%, rgba(242, 242, 239, 0.7) 35%, rgba(242, 242, 239, 0) 75%);
}
*/

.google-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.google-map-placeholder {
    backdrop-filter: blur(10px);
    width: 500px;
    margin: 0 auto;
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px var(--gutter);
    text-align: center;
    background: radial-gradient(circle at center, rgba(242, 242, 239, 0.96) 0%, rgba(242, 242, 239, 0.75) 55%, rgba(242, 242, 239, 0.35) 100%);
}

.google-map-frame.is-loaded .google-map-placeholder {
    display: none;
}

.google-map-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--graphite);
}

.google-map-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    font-stretch: 75%;
    line-height: 1.05;
}

.google-map-address {
    margin: 0 0 28px;
    font-style: normal;
    font-size: 17px;
    line-height: 1.5;
}

.google-map-notice {
    max-width: 42ch;
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--graphite);
}

.google-map-notice a,
.google-map-open {
    color: var(--paynes-grey);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
}

.google-map-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
}
