/* _header_footer.css: Header, Logo, Navigation und Footer Stile */

/* HEADER STILE */
.main-header {
    background-color: #FFFFFF;
    padding: 15px 0;
    flex-shrink: 0;
}

/* Trennlinie im Container entfernt, ABER Padding für Abstand nach unten beibehalten */
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    padding-bottom: 5px; /* NEU: Fügt leichten Abstand zwischen Logo/Nav und Linie hinzu */
}


/* NEU: Styling für die separate Trennlinie */
.main-header-line {
    border-bottom: 1px solid #000000;
    width: 90%; 
    max-width: 1200px;
    margin: 0 auto 20px auto; /* KORREKTUR: Abstand nach unten auf 20px erhöht */
}


/* LOGO ANPASSUNGEN FÜR RECHTSBÜNDIGEN SLOGAN */
.logo {
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    width: auto; 
}

.logo a.logo-title {
    font-family: 'Lobster', cursive;
    font-weight: normal;
    font-size: 2em;
    color: #0310FF; /* Konsistent Dunkelblau */ 
    line-height: 1;
    display: block; 
    width: 100%; 
    text-align: right; 
}

.logo-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8em;
    color: #555;
    margin-top: 5px;
    width: 100%; 
    text-align: right; 
}


/* NAVIGATION */
.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 25px;
}

.main-nav .nav-list a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #000000; 
    font-size: 0.9em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav .nav-list a.active,
.main-nav .nav-list a:hover {
    color: #0310FF; 
}

/* Responsive Navigation Toggle (Hamburger-Menü) */
.nav-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 1.8em;
    color: #0310FF;
    cursor: pointer;
}

/* FOOTER STILE */
.main-footer {
    background-color: #0310FF;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    flex-shrink: 0; 
}

.main-footer a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 5px;
}

.main-footer a:hover {
    text-decoration: underline;
}