body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fafafa;
    color: #4B3A2F;
    line-height: 1.7;
}

header {
    background-color: #4B3A2F; /* Braun */
    color: white;
    padding: 20px;
    text-align: center;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

/* Hover-Effekt */
.main-nav a:hover {
    color: #FFD700; /* Gold beim Überfahren */
}

/* Responsive Anpassung Navigation */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-nav a {
        font-size: 1em;
    }
}

.wp-block-heading {
    text-align: center;
}

/* =========================
   ÜBER MICH – Layout
========================= */
.ueber-mich {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.ueber-mich img {
    max-width: 100%;
    height: auto;
    flex: 0 0 300px;
    border-radius: 10px;
    object-fit: cover;
}

.ueber-mich .text {
    flex: 1;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Responsive Über mich */
@media (max-width: 768px) {
    .ueber-mich {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ueber-mich img {
        width: 90%;
        max-width: 400px;
    }

    .ueber-mich .text {
        text-align: left;
    }
}

/* =========================
   Allgemeine Sections (z.B. Impressum, Datenschutz)
========================= */
section {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Überschriften-Farben */
section h2,
section h3,
section h4 {
    margin-top: 0;
    color: #3b2f27;
}

/* H1 behält ursprüngliche Farbe aus dem Header */
h1 {
    color: white;
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: #4B3A2F; /* Braun */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-media a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #FFD700;
}

@media (max-width: 480px) {
    .social-media {
        gap: 15px;
    }

    .social-media a {
        font-size: 20px;
    }

    footer {
        padding: 15px;
    }
}

/* =========================
   Weitere Responsive-Anpassungen
========================= */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding: 20px;
    }

    section {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .hero h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    nav ul {
        gap: 10px;
    }

    section h2 {
        font-size: 1.2em;
    }

    section p {
        font-size: 0.95em;
    }
}

/* =========================
   AB HIER: ORIGINAL GALLERY-CSS
   (NICHT VERÄNDERT, NUR MIT ÜBERNOMMEN)
========================= */

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.gallery-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(25% - 40px);
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: white;
    transition: transform 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-media a {
    margin: 0 10px;
    color: white;
    font-size: 1.5em;
    text-decoration: none;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
    }
}







