/* --- Globale Stile und Reset --- */
:root {
    --header-height: 70px;
    --primary-color: #0a2d5d; /* Dunkelblau */
    --secondary-color: #f0f0f0; /* Hellgrau */
    --text-color: #333;
    --accent-color: #007bff; /* Akzentfarbe für Links */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* --- Header --- */
.main-header {
    background-color: #ffffff;
    height: var(--header-height);
    width: 100%;
    position: fixed; /* Hält den Header am oberen Rand */
    top: 0;
    left: 0;
    z-index: 1000; /* Stellt sicher, dass der Header über allem liegt */
    border-bottom: 1px solid var(--secondary-color);
    display: flex;
    justify-content: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}





/*------------------------------------------------------------------------------- */
/* Logo */
/*------------------------------------------------------------------------------- */


.logo {
    height: 60px; /* Standard-Höhe für mobile Geräte */
    width: auto;
    display: block;
    /* NEU: Sorgt für einen sanften Übergang bei Größenänderungen */
    transition: height 0.3s ease; 
}

/* 
  Media Query für Tablets und Desktops.
  Diese Regeln gelten NUR, wenn der Bildschirm 768px oder breiter ist.
*/
@media (min-width: 768px) {
    .logo {
        height: 75px; /* Größeres Logo für Desktops */
    }
}















/*------------------------------------------------------------------------------- */
/* --- Haupt-Inhaltsbereich --- */
/*------------------------------------------------------------------------------- */

.content-area {

}

.content-area h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}






/*------------------------------------------------------------------------------- */
/* --- Mobile Navigation (Standard) --- */
/*------------------------------------------------------------------------------- */
.main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    transform: translateX(-100%); /* Menü ist standardmäßig außerhalb des Bildschirms */
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid var(--secondary-color);
}

.main-nav.is-open {
    transform: translateX(0); /* Menü wird sichtbar */
}

.main-nav ul {
    list-style: none;
    padding-top: 20px;
}

.main-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid var(--secondary-color);
}

.main-nav ul li a:hover {
    background-color: var(--secondary-color);
}






/*------------------------------------------------------------------------------- */
/* --- Hamburger Button --- */
/*------------------------------------------------------------------------------- */

.hamburger-button {
    display: flex; /* Wird nur auf Mobilgeräten angezeigt */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-button span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s linear;
}







/*------------------------------------------------------------------------------- */
/* --- Desktop Navigation (ab 768px) --- */
/*------------------------------------------------------------------------------- */


@media (min-width: 768px) {
    .hamburger-button {
        display: none; /* Hamburger-Icon auf Desktops ausblenden */
    }

    .main-nav {
        position: static; /* Position zurücksetzen */
        height: auto;
        width: auto;
        background-color: transparent;
        transform: translateX(0); /* Immer sichtbar */
        transition: none;
        border-top: none;
        backdrop-filter: none;
    }

    .main-nav ul {
        display: flex;
        padding-top: 0;
    }

    .main-nav ul li {
        margin-left: 20px;
    }

    .main-nav ul li a {
        padding: 5px 10px;
        font-size: 1rem;
        border-bottom: none;
        position: relative;
    }
    
    .main-nav ul li a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--accent-color);
        transition: width 0.3s ease;
    }
    
    .main-nav ul li a:hover::after {
        width: 100%;
    }
}


/*------------------------------------------------------------------------------- */
/* --- Hinzugefügte Stile für den Footer 
/*------------------------------------------------------------------------------- */

.main-footer {
    padding: 30px 20px;
    background-color: #2c3e50; /* Ein dunkleres Blau/Grau für den Footer */
    color: #ecf0f1; /* Heller Text für besseren Kontrast */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch auf kleinen Bildschirmen */
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin: 5px 15px; /* Etwas Abstand zwischen den Links */
}

.footer-nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #3498db; /* Eine Akzentfarbe beim Hovern */
    text-decoration: underline;
}

.copyright {
    font-size: 0.8rem;
    color: #bdc3c7; /* Etwas dezenterer Text für das Copyright */
    border-top: 1px solid #34495e; /* Eine feine Trennlinie */
    padding-top: 20px;
    margin-top: 10px;
}

/* Anpassung für den alten Footer-Stil (kann entfernt oder angepasst werden) */
/*
.main-footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-color);
    color: #666;
    font-size: 0.9rem;
}
*/
