/* ============================================
   ANFAHRT-BEREICH
   ============================================ */

.anfahrt-section {
    background: #0f0f0f;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Großes Hintergrund-Dekor-Element */
.anfahrt-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 65, 65, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.anfahrt-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(220, 65, 65, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.anfahrt-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.anfahrt-header {
    text-align: center;
    margin-bottom: 4rem;
}

.anfahrt-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin: 0 0 1rem;
}

.anfahrt-header p {
    color: rgba(255,255,255,0.5);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Layout: Karte + Adresse nebeneinander oben, Route-Cards unten */
.anfahrt-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.anfahrt-top-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: stretch; /* gleiche Höhe */
}

.anfahrt-bottom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* ── Google Maps Wrapper ── */
.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(220, 65, 65, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(220, 65, 65, 0.1);
    transition: box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.map-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(220, 65, 65, 0.15);
}

/* Roter Akzent-Streifen oben auf der Karte */
.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(220, 65, 65), #b02222);
    z-index: 3;
}

/* 2-Klick DSGVO-Overlay */
.map-consent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
    transition: opacity 0.4s ease;
}

.map-consent-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.map-consent-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.map-consent-overlay h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 0.6rem;
}

.map-consent-overlay p {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    max-width: 340px;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.map-consent-btn {
    background: linear-gradient(135deg, rgb(220, 65, 65), #b02222);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1.25rem 2rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
}

.map-consent-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}

.map-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 65, 65, 0.45);
}

.map-consent-btn:hover::before {
    left: 100%;
}

/* Die eigentliche iFrame */
.map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.4s ease;
    flex: 1;
}

.map-wrapper:hover .map-frame {
    filter: grayscale(0%) contrast(1.1);
}

/* ── Rechte Spalte: nur Adressbox ── */
.anfahrt-info-col {
    display: flex;
    flex-direction: column;
}

/* Adress-Highlight-Box */
.anfahrt-address-box {
    background: rgba(220, 65, 65, 0.08);
    border: 1px solid rgba(220, 65, 65, 0.35);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    flex: 1; /* füllt die volle Höhe der Top-Row */
}

.anfahrt-address-box::before {
    content: '📍';
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 4.5rem;
    opacity: 0.07;
    pointer-events: none;
}

.anfahrt-address-box h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgb(220, 65, 65);
    margin: 0 0 0.75rem;
}

.anfahrt-address-box address {
    font-style: normal;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.55;
}

.anfahrt-gmaps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: rgb(220, 65, 65);
    color: white;
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.anfahrt-gmaps-link:hover {
    background: #b02222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 65, 65, 0.4);
}

/* Einzelne Anreise-Karte */
.anfahrt-route-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(220, 65, 65, 0.15);
    border-radius: 14px;
    padding: 1.3rem 1.5rem;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease,
                border-color 0.3s ease, background 0.3s ease;
}

.anfahrt-route-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.anfahrt-route-card:hover {
    border-color: rgba(220, 65, 65, 0.45);
    background: rgba(220, 65, 65, 0.05);
}

.anfahrt-route-icon {
    width: 44px;
    height: 44px;
    background: rgba(220, 65, 65, 0.12);
    border: 1px solid rgba(220, 65, 65, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s;
}

.anfahrt-route-card:hover .anfahrt-route-icon {
    background: rgba(220, 65, 65, 0.22);
    border-color: rgb(220, 65, 65);
}

.anfahrt-route-text h4 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: 0.3px;
}

.anfahrt-route-text p {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.55;
}

/* Hinweis-Badge */
.anfahrt-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 200, 0, 0.05);
    border: 1px solid rgba(255, 200, 0, 0.2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
    margin-top: 0.25rem;
}

.anfahrt-hint span:first-child {
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .anfahrt-top-row {
        grid-template-columns: 1fr;
    }

    .anfahrt-bottom-row {
        grid-template-columns: 1fr;
    }

    .map-frame {
        min-height: 360px;
    }

    .anfahrt-address-box {
        flex: unset;
    }
}

@media (max-width: 600px) {
    .anfahrt-section {
        padding: 4rem 1rem;
    }

    .map-frame {
        min-height: 280px;
    }
}