/* ==========================================================================
   HEADER & NAVIGATION - VERTICAL LOGO DESIGN
   ========================================================================== */

header {
    background-color: #f9f5f0 !important;
    padding: 10px 0 15px 0; /* Genug Platz für Logo + Text */
    border-bottom: 4px solid #c5835d;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Container für Logo und Navigation */
nav {
    display: flex;
    align-items: center; /* Menü vertikal mittig zum Logo-Block */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LOGO & TITEL BLOCK (VERTIKAL) --- */
.logo {
    display: flex;
    flex-direction: column; /* Stapelt Logo, Titel und Untertitel */
    align-items: center;    /* Zentriert alles untereinander */
    text-align: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    height: 80px; /* Logo-Größe angepasst */
    width: auto;
    display: block;
    margin-bottom: 5px;
}

.main-title {
    font-family: 'Georgia', serif;
    color: #2c2c2c;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}

.sub-title {
    font-family: 'Georgia', serif;
    color: #666666;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 2px;
    display: block;
    /* Bleibt jetzt sicher innerhalb des Headers */
}

/* --- NAVIGATION LINKS --- */
#nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #c5835d;
}

@media (max-width: 768px) {
    nav {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: flex !important; /* Erzwingt die Sichtbarkeit des Buttons */
    }

    /* Wir nutzen die ID, da diese spezifischer ist als 'nav ul' */
    #nav-list {
        display: none !important; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f9f5f0;
        border-bottom: 2px solid #c5835d;
        z-index: 1000;
        padding: 10px 0;
        margin: 0;
        list-style: none;
    }

    #nav-list.active {
        display: flex !important; /* Zeigt das Menü bei Klick */
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(197, 131, 93, 0.1);
    }
}
/* --- MOBILE ANPASSUNG --- */
@media (max-width: 992px) {
nav {
        flex-direction: row; /* Behält Hamburger rechts vom Logo */
    }
    
    .logo img {
        height: 60px;
    }
    
    .main-title {
        font-size: 1.1rem;
    }
}