/* ===============================
   Contact Form 7 Styling
   angepasst an Dienstleister / Kooperationen
=================================*/

/* Container */
.custom-form-container {
    background: rgba(255, 255, 255, 0.8) !important; /* leicht durchsichtig */
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid #D99C5B;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

/* Allgemeines Formularstyling */
.custom-form-container .wpcf7-form {
    font-family: "Roboto", sans-serif;
    width: 100%;
}

/* Label Styling */
.custom-form-container label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #1F2937;
    font-size: 1rem;
}

/* Überschrift für Formularabschnitte */
.custom-form-container p {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1F2937;
    margin-bottom: 1rem;
}

/* Input, Textarea, Select Styling */
.custom-form-container input[type="text"],
.custom-form-container input[type="email"],
.custom-form-container input[type="tel"],
.custom-form-container input[type="date"],
.custom-form-container select,
.custom-form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #D99C5B;
    border-radius: 1rem;
    margin-bottom: 15px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

/* Textarea höher machen */
.custom-form-container textarea {
    min-height: 120px;
}

/* Checkboxen Styling */
.custom-form-container .wpcf7-list-item {
    margin-bottom: 8px;
}

.custom-form-container .wpcf7-list-item-label {
    font-weight: 400;
}

/* Submit Button Styling */
.custom-form-container input[type="submit"] {
    background-color: #D99C5B !important; /* gleiche Farbe wie Kooperationen */
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 1rem;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
    display: block;
    margin: 1.5rem auto 0 auto; /* zentriert */
}

.custom-form-container input[type="submit"]:hover {
    background-color: #FCCC70; /* Hover wie bei Kooperationen */
    color: #1F2937;
}
