/* Allgemeines Design */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f9;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    margin-right: 1rem;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logo-text p {
    margin: 0;
    font-size: 0.9rem;
}

.menu {
    display: none; /* Standardmäßig ausgeblendet */
    flex-direction: column;
    gap: 0.5rem;
    background-color: #34495e;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 1rem;
    border-radius: 8px;
}

.menu.active {
    display: flex; /* Anzeigen, wenn aktiv */
}

.menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-align: center;
    background-color: #2c3e50;
}

.menu a:hover {
    background-color: #1abc9c;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

/* Hauptabschnitte */
section {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

h2 {
    color: #2c3e50;
}

footer {
    text-align: center;
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

/* Desktop-Layout */
@media (min-width: 768px) {
    header {
        flex-wrap: nowrap;
    }

    .menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
    }

    .menu a {
        background: none;
        padding: 0.5rem 1rem;
    }

    .menu-toggle {
        display: none;
    }

    .logo {
        height: 70px;
    }
}
