/* ==========================================
    1. GRUNDLAGEN & RESET
    ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: normal;
    margin-bottom: 1.5rem;
    color: #000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #383838;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #6ea5c3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a84a6;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h2 {
    font-weight: normal;
    margin-bottom: 1.5rem;
    color: #000;
    text-align: center;
}

/* Container für zentrierten Inhalt */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================
    2. HEADER & NAVIGATION
    ========================================== */
.header-content {
    background-color: #d1e3ed; /* Hellblau aus header_footer.css */
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.header-text p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #444;
}

/* ==========================================
    3. KARTE (MAP)
    ========================================== */
.map-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px; /* Auf Smartphones etwas kleiner */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-address {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: #444;
}

/* ==========================================
    4. BILDERGALERIE (CSS Grid)
    ========================================== */
.gallery-wrapper {
    background-color: #fff;
    padding: 20px 0 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ==========================================
    5. FOOTER
    ========================================== */
footer {
    background-color: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
    color: #666;
}

/* ==========================================
    6. RESPONSIVE DESIGN (TABLETS & DESKTOP)
    ========================================== */
@media (min-width: 768px) {
    /* Header nebeneinander auf großen Screens */
    .header-content {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        gap: 50px;
    }
    .map-container {
        height: 510px; /* 510px Höhe auf Desktops, wie im Original-CSS gefordert */
    }
    .gallery img {
        height: 250px;
    }
}