.input-box {
    height: 50px;
  }

.container_kontakt {
    display: flex; /* Horizontales Layout */
    justify-content: space-between; /* Abstand zwischen linken und rechten Teil */
    align-items: flex-start; /* Vertikale Ausrichtung */
    padding: 50px; /* Abstand zum Rand */
    color: #FFFFFF; /* Schriftfarbe */
    background-image: url(img/background-3.jpg);
    
}

.container_kontakt .content {
    flex: 1; /* Nutzt gleiche Breite wie das Bild */
    margin-right: 20px; /* Abstand zum Bild */
}

.container_kontakt .content h2 {
    font-size: 2rem; /* Titelgröße */
    margin-bottom: 20px; /* Abstand unterhalb des Titels */
}

.container_kontakt .content p {
    font-size: 1.2rem; /* Textgröße */
}

.container_kontakt .image {
    flex: 1; /* Gleiche Breite wie Textinhalt */
}

.container_kontakt .image img {
    max-width: 300px; /* Maximale Breite von 300 Pixel */
    width: 100%; /* Fallback für kleinere Container */
    height: auto; /* Beibehaltung der Proportionen */
}

.body_ville {
    font-family: Arial, sans-serif; /* Schriftart für die gesamte Seite */
    margin: 0; /* Entfernt Standardabstände */
    padding: 0; /* Entfernt Standardabstände */
    box-sizing: border-box; /* Sorgt für konsistente Größenberechnung */
    background-color: #8CA4BC; /* Hintergrundfarbe der Seite */
    background-size: cover; /* Bild skaliert auf gesamten Bildschirm */
    background-position: center; /* Hintergrundbild zentrieren */
    background-attachment: fixed; /* Hintergrund bleibt beim Scrollen */
}

input[type=text] {
    width: 75%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
  }

  input[type=text]:focus {
    border: 3px solid #8CA4BC;
  }

  input[type=email] {
    width: 75%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
  }

  input[type=email]:focus {
    border: 3px solid #8CA4BC;
  }

.textarea {
    width: 75%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    resize: none
  }

select {
    width: 7%;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    background-color: #f8f8f8;
  }

input[type=button], input[type=submit], input[type=reset] {
    background-color: #f8f8f8;
    border: none;
    color: #727272;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
  }

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 20px;
}
label {
    font-size: 1rem;
    margin-bottom: 5px;
}
input, select, textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
textarea {
    resize: none;
}
input[type="submit"] {
    background-color: #8CA4BC;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #6F8DA1;
}
.radio-group {
    display: flex; /* Aligns items in a row */
    align-items: flex-start; /* Vertically centers the label with the radio button */
    margin-bottom: 10px; /* Adds spacing between rows */
}

.radio-group input[type="radio"] {
    margin-right: 10px; /* Space between the radio button and label */
}

.container_FAQ {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    color: #6F8DA1;
    background-color: #ffffff;
}

.faq-card {
    width: 100%;
    max-width: 800px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.5rem;
    cursor: pointer;
    color: #6F8DA1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: #8CA4BC;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-card.open .faq-answer {
    display: block;
}

.container_FAQ h2 {
    font-size: 2.5rem; /* Adjust as needed */
    font-weight: bold; /* Optional: Makes it stand out more */
    margin-bottom: 10px;
}

.container_FAQ p {
    font-size: 1.5rem; /* Adjust as needed */
    margin-bottom: 20px;
}






/* responsive

/* Responsiveness for Main Content */
@media (max-width: 768px) {
    /* Kontakt Container */
    .container_kontakt {
        flex-direction: column; /* Inhalte untereinander statt nebeneinander */
        padding: 20px;
        gap: 20px;
    }


    
        .container_kontakt .image img {
            display: none; /* Bild ausblenden */
        }


    .container_kontakt .content {
        margin-right: 0; /* Abstand rechts entfernen */
        text-align: left; /* Text zentrieren */
    }

    .container_kontakt .content h2 {
        font-size: 1.8rem; /* Titelgröße anpassen */
    }

    .container_kontakt .content p {
        font-size: 1rem; /* Textgröße anpassen */
    }

    .container_kontakt .image img {
        max-width: 100%; /* Bild passt sich der Containerbreite an */
        height: auto; /* Proportionen beibehalten */
    }

    /* Formular */
    form {
        align-items: flex-start; /* Formularinhalte zentrieren */
     
    }

    input, select, textarea {
        width: 100%; /* Felder füllen die Breite */
    }

    input[type="submit"] {
        width: auto; /* Button passt sich an */
    }

    /* FAQ Section */
    .container_FAQ {
        padding: 20px; /* Weniger Padding */
    }

    .faq-card {
        width: 100%; /* Kartengröße anpassen */
    }

    .faq-question {
        font-size: 1.2rem; /* Kleinere Schriftgröße */
    }

    .faq-answer {
        font-size: 1rem; /* Antworttextgröße anpassen */
    }
}

@media (max-width: 480px) {
    /* Kontakt Container */
    .container_kontakt .content h2 {
        font-size: 1.5rem; /* Titelgröße weiter reduzieren */
    }

    .container_kontakt .content p {
        font-size: 0.9rem; /* Kleinere Schrift für den Text */
    }

    .container_kontakt .image img {
        max-width: 100%; /* Bild vollständig responsive */
    }

    /* FAQ Section */
    .faq-question {
        font-size: 1rem; /* Kleinere Schriftgröße */
    }

    .faq-answer {
        font-size: 0.9rem; /* Antworttext weiter anpassen */
    }

    .faq-card {
        padding: 15px; /* Weniger Padding in den Karten */
    }
}
