/* Allgemeine Stile */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Banner */
.banner {
    position: absolute; /* Banner wird über der Slideshow positioniert */
    top: 0;
    left: 0;
    width: 100%; /* Banner nimmt die gesamte Breite ein */
    padding: 20px;
    background: rgba(63, 79, 93, 0.8); /* Halbtransparenter Hintergrund */
    color: #f3f2f0; /* Helle Schriftfarbe */
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: space-between; /* Platz zwischen Logo und Navigation */
    z-index: 10; /* Banner bleibt über der Slideshow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

.logo {
    height: 70px; /* Logo-Größe */
    margin-right: 20px; /* Abstand zum Rest des Inhalts */
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 10px; /* Abstand um die Navigation */
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #f3f2f0; /* Helle Schriftfarbe */
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6c8b85; /* Akzentfarbe beim Hover */
}

.hamburger {
    margin-right: 40px; /* Abstand zum Rest des Inhalts */
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: #f3f2f0; /* Helle Farbe */
    height: 3px;
    margin: 5px;
    width: 25px;
}

.logo {
    height: 70px; /* Passen Sie die Höhe des Logos an */
    margin-right: 20px; /* Abstand zum Rest des Inhalts */
}

.slideshow {
    position: absolute; /* Hintergrund bleibt hinter dem Inhalt */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    animation: backgroundChange 10s infinite;
    z-index: -1; /* Hintergrund wird hinter allen anderen Elementen angezeigt */
}

@keyframes backgroundChange {
    0% { background-image: url('hintergrund1.jpg'); }
    50% { background-image: url('hintergrund2.jpg'); }
    100% { background-image: url('hintergrund1.jpg'); }
}

/* Hintergrund für die #home-Sektion */
#home {
    align-content: center;
    position: relative; /* Stellt sicher, dass die Slideshow nur innerhalb von #home wirkt */
    height: 100vh; /* Die Höhe der #home-Sektion wird auf die Bildschirmhöhe begrenzt */
    overflow: hidden; /* Verhindert, dass Inhalte aus der Sektion herausragen */
    background: none; /* Entfernt jeglichen Hintergrund von #home */
}

#home .slideshow {
    position: absolute; /* Hintergrund bleibt hinter dem Inhalt */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: backgroundChange 10s infinite;
    z-index: -1; /* Hintergrund wird hinter allen anderen Elementen angezeigt */
}

@keyframes backgroundChange {
    0% { background-image: url('hintergrund1.jpg'); }
    50% { background-image: url('hintergrund2.jpg'); }
    100% { background-image: url('hintergrund1.jpg'); }
}
/* Sektionen */
section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f3f2f0; /* Heller Hintergrund */
    color: #f3f2f0;
}
/* Willkommenstext */
#welcome-text {
    position: absolute; /* Text bleibt über der Slideshow */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Text horizontal und vertikal */
    text-align: center;
    align-content: center;
    color: #f3f2f0; /* Helle Schriftfarbe */
    z-index: 2; /* Text bleibt über der Slideshow */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Schatten für den Text */
}

h1 {
    font-size: 3em; /* Größere Schriftgröße für die Überschrift */
    margin: 0;
}

p {
    font-size: 1.5em; /* Größere Schriftgröße für den Untertitel */
    margin-top: 10px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #3f4f5d; /* Dunklere Farbe */
}

/* Buttons */
button {
    background-color: #6c8b85;
    color: #f3f2f0;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3f4f5d;
}

/* Über uns Sektion */
#about {
    color: #3f4f5d; /* Dunklere Schriftfarbe für besseren Kontrast */
    text-align: left; /* Text linksbündig */
    line-height: 1.6; /* Angenehmer Zeilenabstand */
    padding: 20px; /* Innenabstand für die Sektion */
}

/* Formular-Stil */
#signup-form {
    background-color: #f3f2f0; /* Heller Hintergrund */
    padding: 20px;
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    max-width: 600px; /* Maximale Breite des Formulars */
    margin: 0 auto; /* Zentrierung des Formulars */
    font-family: Arial, sans-serif;
}

#signup-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #3f4f5d; /* Dunklere Schriftfarbe */
}

#signup-form input,
#signup-form textarea {
    width: 100%; /* Volle Breite */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #6c8b85; /* Akzentfarbe für den Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 1rem;
    color: #3f4f5d; /* Dunklere Schriftfarbe */
    background-color: #f3f2f0; /* Heller Hintergrund */
    box-sizing: border-box; /* Padding wird in die Breite einbezogen */
}

#signup-form input:focus,
#signup-form textarea:focus {
    outline: none;
    border-color: #3f4f5d; /* Dunklere Farbe beim Fokus */
    box-shadow: 0 0 5px rgba(63, 79, 93, 0.5); /* Leichter Fokus-Schatten */
}

#signup-form button {
    background-color: #6c8b85; /* Akzentfarbe */
    color: #f3f2f0; /* Helle Schriftfarbe */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px; /* Abgerundete Ecken */
    transition: background-color 0.3s ease;
    width: 100%; /* Button nimmt die volle Breite ein */
}

#signup-form button:hover {
    background-color: #3f4f5d; /* Dunklere Farbe beim Hover */
}

#success-message {
    margin-top: 20px;
    font-size: 1rem;
    color: green;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #3f4f5d; /* Dunkler Hintergrund für das Menü */
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        border-radius: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #f3f2f0; /* Helle Schriftfarbe */
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
    }
}

