/* ===== KONTAKT ===== */
:root {
    --primary-color: #7a5268;
}

.color-white {
    color: var(--accent, #b5706b);
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 12px;
    display: block;
}

#hbmain {
    background:
        linear-gradient(rgba(250, 245, 240, 0.97), rgba(250, 245, 240, 0.88)),
        url(/img/hintergrund1.jpg) center / cover fixed;
    padding: var(--spacing-section, 70px) 0;
    min-height: calc(100vh - 160px);
}

/* ---- Seitenheader ---- */
#kontakt-header {
    text-align: center;
    padding: 10px clamp(15px, 4vw, 40px) clamp(28px, 4vw, 48px);
}

#kontakt-header h1 {
    font-size: clamp(24px, 4vw, 34px);
    color: var(--primary-color, #7a5268);
}

#kontakt-header h1::after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background: var(--accent, #b5706b);
    margin: 12px auto 0;
    border-radius: 2px;
}

#kontakt-header p {
    font-size: clamp(14px, 1.6vw, 16px);
    max-width: 600px;
    margin: 12px auto 0;
    color: var(--text-light, #7a6b68);
}

/* ---- Kontaktkarten ---- */
#kontakt-auswahl {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px) clamp(28px, 4vw, 50px);
    display: flex;
    justify-content: center;
    gap: clamp(18px, 2.5vw, 40px);
    flex-wrap: wrap;
}

#kontakt-auswahl .vegesack,
#kontakt-auswahl .lemwerder {
    flex: 1 1 280px;
    max-width: 450px;
    text-align: center;
    background: var(--card-bg, #fffef9);
    border-radius: 28px;
    padding: clamp(28px, 3.5vw, 45px) clamp(20px, 2.5vw, 32px);
    box-shadow: var(--shadow, 0 8px 28px rgba(90,50,40,0.09));
    transition: var(--transition, all 0.3s ease);
    border: 1px solid rgba(181, 112, 107, 0.12);
    position: relative;
    overflow: hidden;
}

/* Farbiger Balken oben */
#kontakt-auswahl .vegesack::before,
#kontakt-auswahl .lemwerder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent, #b5706b), var(--primary-color, #7a5268));
    border-radius: 28px 28px 0 0;
}

#kontakt-auswahl .vegesack:hover,
#kontakt-auswahl .lemwerder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover, 0 16px 40px rgba(90,50,40,0.14));
}

#kontakt-auswahl h2 {
    color: var(--primary-color, #7a5268);
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 16px;
}

#kontakt-auswahl p,
#kontakt-auswahl a {
    color: var(--text-color, #3a3232);
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: 1.85;
}

#kontakt-auswahl a:hover {
    color: var(--accent, #b5706b);
    text-decoration: underline;
}

/* ---- Abschlusstext ---- */
#abschluss {
    text-align: center;
    padding: clamp(28px, 4vw, 55px) clamp(15px, 4vw, 30px);
    max-width: 750px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-alt, #f4ece5), var(--warm-cream, #f7ede6));
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-soft, 0 4px 16px rgba(90,50,40,0.06));
    border: 1px solid rgba(181, 112, 107, 0.1);
}

#abschluss p {
    font-size: clamp(15px, 2vw, 20px);
    color: var(--text-light, #7a6b68);
    line-height: 1.7;
}

/* ---- Maps ---- */
#maps {
    max-width: 1100px;
    margin: clamp(20px, 3vw, 40px) auto 0;
    padding: 0 clamp(15px, 3vw, 30px) clamp(25px, 4vw, 50px);
    display: flex;
    justify-content: center;
    gap: clamp(18px, 2.5vw, 40px);
    flex-wrap: wrap;
}

#maps .maps-vegesack,
#maps .maps-lemwerder {
    flex: 1 1 280px;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow, 0 8px 28px rgba(90,50,40,0.09));
    border: 6px solid var(--warm-cream, #f7ede6);
    transition: var(--transition, all 0.3s ease);
    outline: 1px solid rgba(181, 112, 107, 0.15);
    outline-offset: 3px;
}

#maps .maps-vegesack:hover,
#maps .maps-lemwerder:hover {
    box-shadow: var(--shadow-hover, 0 16px 40px rgba(90,50,40,0.14));
    transform: translateY(-3px);
}

#maps iframe {
    width: 100%;
    height: clamp(220px, 30vw, 320px);
    display: block;
    border: none;
}

/* ===== TABLET (≤ 900px) ===== */
@media (max-width: 900px) {
    #hbmain {
        background-attachment: scroll;
    }

    #maps iframe {
        height: 250px;
    }
}

/* ===== MOBILE (≤ 600px) ===== */
@media (max-width: 600px) {
    #hbmain {
        padding: 20px 0 30px;
    }

    #kontakt-auswahl {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 0 12px 25px;
    }

    #kontakt-auswahl .vegesack,
    #kontakt-auswahl .lemwerder {
        max-width: 100%;
        border-radius: 18px;
        padding: 24px 16px;
    }

    #abschluss {
        margin: 0 12px;
        border-radius: 16px;
        padding: 22px 15px;
    }

    #maps {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 15px 12px 25px;
    }

    #maps .maps-vegesack,
    #maps .maps-lemwerder {
        max-width: 100%;
        border-radius: 16px;
        border-width: 4px;
    }

    #maps iframe {
        height: 220px;
    }
}
