/* =======================================
   Sommerfreizeit Formular – Clean Nature
   ======================================= */

/* ===============================
   Formular-Container
   =============================== */

.visforms-form {
    background: #f4f8f4;
    padding: 60px;
    border-radius: 26px;
    max-width: 950px;
    margin: 60px auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border: 1px solid #e3eee3;
}

/* ===============================
   Labels
   =============================== */

.visforms-form label {
    font-weight: 600;
    font-size: 15px;
    color: #2f3a2f;
    margin-bottom: 8px;
    display: block;
}

/* Pflicht-Stern */
.visforms-form .required label::after {
    content: " *";
    color: #c0392b;
}

/* ===============================
   Trennlinien
   =============================== */

.visforms-form hr {
    border: none;
    height: 1px;
    background: #dce8dc;
    margin: 40px 0;
}

/* ===============================
   Input-Felder
   =============================== */

.visforms-form input[type="text"],
.visforms-form input[type="email"],
.visforms-form input[type="tel"],
.visforms-form input[type="number"],
.visforms-form textarea,
.visforms-form select {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #d9e4d9;
    background: #ffffff;
    font-size: 15px;
    transition: all 0.2s ease;
}

/* Focus-Effekt */
.visforms-form input:focus,
.visforms-form textarea:focus,
.visforms-form select:focus {
    outline: none;
    border-color: #6aa96a;
    box-shadow: 0 0 0 3px rgba(106,169,106,0.15);
}

/* Textarea */
.visforms-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===============================
   Radio & Checkbox
   =============================== */

.visforms-form input[type="radio"],
.visforms-form input[type="checkbox"] {
    accent-color: #6aa96a;
    transform: scale(1.1);
    margin-right: 8px;
}

/* Ja / Nein nebeneinander */
.visforms-form .radio,
.visforms-form .form-check {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
}

/* Falls VisForms andere Struktur nutzt */
.visforms-form .visCSSinput > div {
    display: inline-block;
    margin-right: 30px;
}

/* ===============================
   Kalender-Bereich
   =============================== */

.field-calendar .input-append {
    margin-bottom: 20px;
}

.field-calendar button,
.field-calendar .btn-secondary {
    margin-top: 14px;
}

/* Kalender-Button Styling */
.visforms-form .btn-secondary {
    background: #eef5ee;
    color: #4f7f4f;
    border-radius: 12px;
    border: 1px solid #dce5dc;
    padding: 10px 16px;
    transition: 0.2s ease;
}

.visforms-form .btn-secondary:hover {
    background: #e3efe3;
}

/* ===============================
   Buttons
   =============================== */

.visforms-form button,
.visforms-form .btn {
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

/* Submit */
.visforms-form button[type="submit"],
.visforms-form .btn-primary {
    background: #6aa96a;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(106,169,106,0.25);
}

.visforms-form button[type="submit"]:hover {
    background: #5c965c;
    transform: translateY(-2px);
}

/* Reset */
.visforms-form button[type="reset"] {
    background: transparent;
    color: #6aa96a;
    border: 1px solid #6aa96a;
}

.visforms-form button[type="reset"]:hover {
    background: #e9f3e9;
}

/* ===============================
   Feld-Abstände allgemein
   =============================== */

.visforms-form .form-group,
.visforms-form .field {
    margin-bottom: 22px;
}

/* ===============================
   Mobile Optimierung
   =============================== */

@media (max-width: 768px) {
    .visforms-form {
        padding: 30px;
    }
}
