* {
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: relative; /* Nötig, um das Pseudo-Element richtig zu platzieren */

    /* Hintergrundbild-Einstellungen */
    background-image: url('background.jpg'); /* Pfad zu deinem Hintergrundbild */
    background-size: cover; /* Bild füllt den gesamten Hintergrund */
    background-position: center; /* Zentriere das Bild */
    background-repeat: no-repeat; /* Bild nicht wiederholen */
    background-attachment: fixed; /* Bild bleibt beim Scrollen fixiert */
}

/* Halbtransparente dunkle Schicht über dem Hintergrundbild */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Halbtransparente schwarze Schicht */
    z-index: 1; /* Diese Ebene bleibt hinter dem Formular */
    pointer-events: none; /* Damit die Schicht keine Interaktionen blockiert */
}

.form-container {
    position: relative; /* Damit das Formular über der dunklen Schicht bleibt */
    background-color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2; /* Über der dunklen Schicht */
}

.header-container {
    display: flex;
    align-items: center; /* Logo und Überschrift vertikal ausrichten */
    justify-content: flex-start; /* Inhalt am Anfang der Zeile ausrichten */
    margin-bottom: 20px; /* Abstand zum Formular */
}

.logo {
    max-width: 100px; /* Größe des Logos */
    height: auto;
    margin-right: 20px; /* Abstand zwischen Logo und Überschrift */
}

h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    color: #333;
}

input, select, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="file"] {
    padding: 3px;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

textarea {
    resize: vertical;
}

/* Hinweistext für Gebühren */
.hinweis {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    font-weight: bold; 
}

/* Professioneller und ansprechender Stil für den Datenschutzhinweis */
.privacy-container {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.radio-container {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px; /* enger Abstand */
    justify-content: flex-start;
}

.radio-option label {
    display: inline; /* wichtig! Verhindert Block-Verhalten */
    margin: 10;
}

.radio-option input[type="radio"] {
    margin: -180px;
}


.radio-option2 {
    display: flex;
    align-items: center;
    gap: 10px; /* enger Abstand */
    justify-content: flex-start;
}

.radio-option2 label {
    display: inline; /* wichtig! Verhindert Block-Verhalten */
    margin: 10;
}

.radio-option2 input[type="radio"] {
    margin: -100px;
}


button {
    padding: 10px 15px;
    background-color: #FFD400;
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Stil für Preisinfo */
.price-info {
    font-size: 14px;
    color: #333;
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
    .form-container {
        max-width: 100%; /* Formular nimmt die volle Breite ein */
        padding: 15px; /* Etwas weniger Padding */
    }

    .header-container {
        flex-direction: column; /* Logo und Überschrift untereinander */
        align-items: flex-start;
    }

    .logo {
        max-width: 80px; /* Kleineres Logo auf mobilen Geräten */
        margin-bottom: 10px;
    }

    h1 {
        font-size: 20px; /* Kleinere Schriftgröße */
    }

    label, input, select, textarea {
        font-size: 14px; /* Kleinere Schriftgröße */
    }

    button {
        width: 100%; /* Button nimmt die volle Breite ein */
    }
}

label {
    display: block; /* Labels über den Eingabefeldern platzieren */
    margin-bottom: 5px; /* Abstand zwischen Label und Eingabefeld */
    color: #333;
}

input, select {
    display: block; /* Sicherstellen, dass Eingabefelder eine eigene Zeile haben */
    width: 100%; /* Eingabefelder füllen den verfügbaren Platz */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

#praxisFields {
    border: 1px solid #ccc; /* Rahmenfarbe */
    border-radius: 5px; /* Abgerundete Ecken */
    padding: 15px; /* Abstand innerhalb des Rahmens */
    margin-top: 15px; /* Abstand nach oben */
    background-color: #f9f9f9; /* Optional: leicht grauer Hintergrund */
}

#praxisFields h3 {
    margin-top: 0; /* Kein zusätzlicher Abstand über der Überschrift */
    color: #333; /* Überschriftfarbe */
    font-size: 18px; /* Schriftgröße der Überschrift */
}
