/* Grundlayout */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d6e6f3);
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header */
header h1 {
    margin-top: 40px;
    font-size: 2.6rem;
    color: #007a99;
    font-weight: 700;
    text-align: center;
    position: relative;

}
 textarea[name="notizen"] {
    margin-bottom: 25px;
}

header h1::after {
    content: '';
    display: block;
    height: 4px;
    width: 60px;
    background: #00aacc;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Formular */
form {
    background: #ffffffee;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 140, 180, 0.2);
    max-width: 550px;
    width: 90%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 12px 14px;
    border: 1.5px solid #00aacc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px; /* ⬅️ hinzugefügt */
}


input:focus,
textarea:focus {
    outline: none;
    border-color: #007a99;
    box-shadow: 0 0 8px #00aacc88;
}

/* Radio-Buttons */
.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Labels */
label {
    font-weight: 600;
    margin-top: 8px;
    display: block;
    color: #004d5a;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 90px;
}

/* Begleitpersonen */
.begleiter h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #007a99;
}

.begleiter-block {
    margin-top: 10px;
}

.begleitfeld {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: center;
}

.begleitfeld input {
    flex: 1 1 45%;
    max-width: 220px;
}

/* Hinweis */
small {
    font-size: 0.85rem;
    color: #555;
    display: block;
    text-align: center;
}

/* Submit-Button */
button[type="submit"] {
    background: #0099aa;
    color: white;
    border: none;
    padding: 14px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease;
}

button[type="submit"]:hover {
    background: #007a99;
}

/* Teilnahmebereich toggeln (optional, falls JS fehlt) */
#teilnahme-bereich {
    display: block;
}
