body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    font-size: 16px;
    color: #222;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    
    background-size: cover;       /* Bild über gesamte Breite */
    background-repeat: no-repeat; /* Kein Wiederholen */
    background-position: center;  /* Zentriert */
    background-attachment: fixed; /* Bleibt beim Scrollen */    
}

body::before {
    content: "";
    background-image: url('feriencamp2025.JPG');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.08; /* Transparenz einstellen */
    z-index: -1;
}


.header {
    display: flex;
    flex-wrap: nowrap; /* alles in einer Zeile */
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 10px 0;
    
}

.header img{
    width: 25%;               /* alle Bilder gleich breit – bei 4 Bildern z.B. 22% + etwas Platz für gap */
    height: auto;
    object-fit: contain;
    max-width: none;          /* überschreibt evtl. frühere max-width */
    display: block;
}

.header a {
    display: flex;
    align-items: center;       /* vertikal zentriert */
    justify-content: center;   /* horizontal zentriert */
    height: 100%;
}

.header a img {
    width: 60%;               /* alle Bilder gleich breit – bei 4 Bildern z.B. 22% + etwas Platz für gap */
    height: auto;
    object-fit: contain;
    max-width: none;          /* überschreibt evtl. frühere max-width */
    display: block;
}
@media (max-width: 600px) {
    .header img[alt="Jugendlogo"] {
        display: none;
    }

    /* Dann kannst du z. B. auf 33% umstellen für die restlichen 3 */
    .header img{
        width: 30%;
    }
   .header a img {
        width: 60%;
    }

}


.form-header-img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0; /* Optional: abgerundete obere Ecken */
    display: block;
}


.header img {
    height: 80px;
}

.form-container {
    max-width: 600px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin: auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%; /* Wichtig für mobile Geräte */
    box-sizing: border-box; /* verhindert Überlauf durch Padding */
}

/* Auf kleinen Bildschirmen (max 600px) volle Breite */
@media (max-width: 600px) {
    .form-container {
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        padding: 20px;
    }
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea,
input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    margin-top: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}


.checkbox-field {
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-field input[type="checkbox"] {
    margin-right: 8px;
}