/* Basis-Reset für alle Elemente */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Allgemeine Einstellungen */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

/* Header-Styling */
header {
    background-color: #0073e6;
    padding: 1rem;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 2rem;
}

/* Navigation Desktop (Standard) */
nav {
    background-color: #0073e6;
    position: relative;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #005bb5;
}

/* Mobile Menü-Schalter */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    position: absolute;
    right: 1rem;
    top: 1.2rem;
    cursor: pointer;
}

/* Mobiles Layout */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #menu-list {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #0073e6;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        text-align: center;
    }

    #menu-list.open {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 1.2rem;
        padding: 0.75rem;
        display: block;
        width: 100%;
    }
}

/* Main Content Bereich */
main {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

main h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

main p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Footer Styling */
footer {
    background-color: #0073e6;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Button Hover-Effekte */
button, .menu-toggle {
    transition: color 0.3s ease;
}

button:hover, .menu-toggle:hover {
    color: #005bb5;
}