
/* =========================================================
   nAund Formidable Forms Styling
   Gilt für Formulare innerhalb von .naund-form-area
   ========================================================= */

.naund-form-area .column_attr > p {
  margin: 0;
}

.naund-form-area .frm_forms {
  position: relative;
  background:
    linear-gradient(135deg, rgba(216,166,70,.045), rgba(255,255,255,.012) 36%, rgba(0,0,0,.04)),
    #141D24;
  border: 1px solid rgba(216,166,70,.32);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 26px 65px rgba(0,0,0,.22);
  overflow: hidden;
}

.naund-form-area .frm_forms::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(120,86,32,.2),
    rgba(216,166,70,.65),
    rgba(120,86,32,.2)
  );
  pointer-events: none;
}

.naund-form-area fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.naund-form-area .frm_form_field {
  margin-bottom: 20px;
}

.naund-form-area .frm_primary_label {
  display: block;
  margin-bottom: 7px;
  color: #f3f5f7;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .055em;
}

.naund-form-area .frm_required {
  color: #d8a646;
  font-weight: 700;
}

/* Eingabefelder */
.naund-form-area .frm_form_field input[type="text"],
.naund-form-area .frm_form_field input[type="email"],
.naund-form-area .frm_form_field input[type="tel"],
.naund-form-area .frm_form_field input[type="url"],
.naund-form-area .frm_form_field input[type="number"],
.naund-form-area .frm_form_field input[type="date"],
.naund-form-area .frm_form_field input[type="search"],
.naund-form-area .frm_form_field input[type="password"],
.naund-form-area .frm_form_field textarea,
.naund-form-area .frm_form_field select {
  width: 100%;
  background: #111A2A !important;
  color: #f3f5f7 !important;
  border: 1px solid rgba(36,50,71,.95) !important;
  border-radius: 14px !important;
  padding: 13px 15px !important;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: none !important;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.naund-form-area .frm_form_field textarea {
  min-height: 145px;
  resize: vertical;
}

.naund-form-area .frm_form_field input[type="text"]::placeholder,
.naund-form-area .frm_form_field input[type="email"]::placeholder,
.naund-form-area .frm_form_field input[type="tel"]::placeholder,
.naund-form-area .frm_form_field input[type="url"]::placeholder,
.naund-form-area .frm_form_field input[type="number"]::placeholder,
.naund-form-area .frm_form_field input[type="date"]::placeholder,
.naund-form-area .frm_form_field input[type="search"]::placeholder,
.naund-form-area .frm_form_field input[type="password"]::placeholder,
.naund-form-area .frm_form_field textarea::placeholder {
  color: #8e9aae;
  opacity: 1;
}

/* Hover */
.naund-form-area .frm_form_field input[type="text"]:hover,
.naund-form-area .frm_form_field input[type="email"]:hover,
.naund-form-area .frm_form_field input[type="tel"]:hover,
.naund-form-area .frm_form_field input[type="url"]:hover,
.naund-form-area .frm_form_field input[type="number"]:hover,
.naund-form-area .frm_form_field input[type="date"]:hover,
.naund-form-area .frm_form_field input[type="search"]:hover,
.naund-form-area .frm_form_field input[type="password"]:hover,
.naund-form-area .frm_form_field textarea:hover,
.naund-form-area .frm_form_field select:hover {
  border-color: rgba(216,166,70,.38) !important;
}

/* Fokus */
.naund-form-area .frm_form_field input[type="text"]:focus,
.naund-form-area .frm_form_field input[type="email"]:focus,
.naund-form-area .frm_form_field input[type="tel"]:focus,
.naund-form-area .frm_form_field input[type="url"]:focus,
.naund-form-area .frm_form_field input[type="number"]:focus,
.naund-form-area .frm_form_field input[type="date"]:focus,
.naund-form-area .frm_form_field input[type="search"]:focus,
.naund-form-area .frm_form_field input[type="password"]:focus,
.naund-form-area .frm_form_field textarea:focus,
.naund-form-area .frm_form_field select:focus {
  background: #162234 !important;
  border-color: #d8a646 !important;
  box-shadow: 0 0 0 3px rgba(216,166,70,.13) !important;
  color: #fff !important;
}

/* Checkboxen / Radios */
.naund-form-area .frm_checkbox label,
.naund-form-area .frm_radio label {
  color: #c7cfdb;
}

.naund-form-area input[type="checkbox"],
.naund-form-area input[type="radio"] {
  accent-color: #d8a646;
}

/* Fehler */
.naund-form-area .frm_error {
  margin-top: 6px;
  color: #ff8e8e;
  font-size: 13px;
  line-height: 1.4;
}

.naund-form-area .frm_blank_field input,
.naund-form-area .frm_blank_field textarea,
.naund-form-area .frm_blank_field select,
.naund-form-area .frm_error_field input,
.naund-form-area .frm_error_field textarea,
.naund-form-area .frm_error_field select {
  border-color: rgba(255,142,142,.75) !important;
  box-shadow: 0 0 0 3px rgba(255,142,142,.1) !important;
}

.naund-form-area .frm_error_style {
  background: #2a1618;
  color: #ff8e8e;
  border: 1px solid rgba(255,142,142,.35);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

/* Erfolgsmeldung */
.naund-form-area .frm_message {
  background: #15261d;
  color: #8fd3a8;
  border: 1px solid rgba(143,211,168,.35);
  border-radius: 14px;
  padding: 16px 18px;
}

/* Captcha */
.naund-form-area .frm-g-recaptcha {
  margin-top: 6px;
  margin-bottom: 8px;
}

/* Submit */
.naund-form-area .frm_submit {
  margin-top: 10px;
}

.naund-form-area .frm_button_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  background: #d8a646 !important;
  color: #0b1320 !important;
  border: 1px solid #d8a646 !important;
  border-radius: 999px !important;
  padding: 11px 25px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.naund-form-area .frm_button_submit:hover,
.naund-form-area .frm_button_submit:focus {
  background: #f0bc57 !important;
  border-color: #f0bc57 !important;
  color: #0b1320 !important;
  box-shadow: 0 0 0 3px rgba(216,166,70,.13) !important;
}

/* Honeypot-Feld verstecken */
.naund-form-area .frm_verify {
  visibility: hidden !important;
  overflow: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Mobile */
@media (max-width: 767px) {
  .naund-form-area .frm_forms {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .naund-form-area .frm_form_field {
    margin-bottom: 17px;
  }

  .naund-form-area .frm_button_submit {
    width: 100%;
  }

  .naund-form-area .frm_form_field input[type="text"],
  .naund-form-area .frm_form_field input[type="email"],
  .naund-form-area .frm_form_field input[type="tel"],
  .naund-form-area .frm_form_field input[type="url"],
  .naund-form-area .frm_form_field input[type="number"],
  .naund-form-area .frm_form_field input[type="date"],
  .naund-form-area .frm_form_field input[type="search"],
  .naund-form-area .frm_form_field input[type="password"],
  .naund-form-area .frm_form_field textarea,
  .naund-form-area .frm_form_field select {
    font-size: 16px;
  }
}

/* =========================================================
   nAund Formidable Forms - Feinschliff Terminanfrage
   Bitte ganz ans Ende des Custom CSS setzen
   ========================================================= */

/* Formular-Card etwas ruhiger und kompakter */
.naund-form-area .frm_forms {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 30px 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(216,166,70,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(0,0,0,.08)),
    #111a20;
  border-color: rgba(216,166,70,.26);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

/* Formidable legt teils eigene Abstände an */
.naund-form-area .frm_fields_container {
  display: block;
}

.naund-form-area .frm_form_field {
  margin-bottom: 16px;
}

/* Labels etwas weniger laut, aber sauber lesbar */
.naund-form-area .frm_primary_label {
  margin-bottom: 6px;
  color: #eef2f6;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .045em;
}

/* Inputs etwas flacher und edler */
.naund-form-area .frm_form_field input[type="text"],
.naund-form-area .frm_form_field input[type="email"],
.naund-form-area .frm_form_field input[type="tel"],
.naund-form-area .frm_form_field input[type="url"],
.naund-form-area .frm_form_field input[type="number"],
.naund-form-area .frm_form_field input[type="date"],
.naund-form-area .frm_form_field input[type="search"],
.naund-form-area .frm_form_field input[type="password"],
.naund-form-area .frm_form_field textarea,
.naund-form-area .frm_form_field select {
  min-height: 41px;
  background: #101827 !important;
  border-color: rgba(54,72,98,.78) !important;
  border-radius: 13px !important;
  padding: 10px 13px !important;
  font-size: 14px;
}

/* Textarea nicht so massiv */
.naund-form-area .frm_form_field textarea {
  min-height: 128px;
}

/* Uhrzeit-Feld reparieren */
.naund-form-area .frm_time_wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.naund-form-area .frm_time_wrap > span {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.naund-form-area .frm_time_wrap select.frm_time_select,
.naund-form-area .frm_time_wrap select.auto_width {
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  flex: 0 0 88px;
  text-align: center;
  padding-left: 12px !important;
  padding-right: 28px !important;
}

.naund-form-area .frm_time_sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d8a646;
  font-weight: 700;
  line-height: 1;
}

/* Datei-Upload komplett neu einfangen */
.naund-form-area .frm_dropzone {
  position: relative;
  min-height: 150px !important;
  padding: 22px 18px !important;
  background:
    linear-gradient(180deg, rgba(216,166,70,.045), rgba(255,255,255,.012)),
    #101827 !important;
  border: 1px dashed rgba(216,166,70,.38) !important;
  border-radius: 16px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
  overflow: hidden;
}

.naund-form-area .frm_dropzone .dz-message {
  min-height: 105px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #c7cfdb;
  text-align: center;
}

/* DAS ist der wichtige Fix: Upload-Icon klein machen */
.naund-form-area .frm_dropzone .frmsvg,
.naund-form-area .frm_dropzone svg.frm-svg-icon {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  display: block;
  fill: #d8a646 !important;
  opacity: .9;
}

/* Upload-Button schöner */
.naund-form-area .frm_dropzone button {
  appearance: none;
  background: rgba(216,166,70,.14) !important;
  color: #f3f5f7 !important;
  border: 1px solid rgba(216,166,70,.32) !important;
  border-radius: 999px !important;
  padding: 8px 15px !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  cursor: pointer;
}

.naund-form-area .frm_dropzone button:hover {
  background: rgba(216,166,70,.24) !important;
  border-color: rgba(216,166,70,.55) !important;
}

/* Kleine Upload-Info */
.naund-form-area .frm_small_text,
.naund-form-area .frm_small_text p {
  margin: 0 !important;
  color: #8e9aae !important;
  font-size: 12px !important;
  line-height: 1.35;
}

/* Captcha optisch besser einordnen */
.naund-form-area .frm-g-recaptcha {
  margin-top: 8px;
  transform-origin: left top;
}

/* Submit Button etwas hochwertiger */
.naund-form-area .frm_button_submit {
  min-height: 40px;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #e7b34d, #c98f2f) !important;
  border-color: rgba(216,166,70,.75) !important;
  color: #0b1320 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
}

.naund-form-area .frm_button_submit:hover,
.naund-form-area .frm_button_submit:focus {
  background: linear-gradient(180deg, #f0bc57, #d89a35) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.28),
    0 0 0 3px rgba(216,166,70,.14) !important;
}

/* Optional: wenn Formidable im Admin-View extra Klassen setzt */
.naund-form-area form.frm-admin-viewing {
  margin-bottom: 0;
}

/* Mobile sauberer */
@media (max-width: 767px) {
  .naund-form-area .frm_forms {
    max-width: none;
    padding: 24px 18px 28px;
  }

  .naund-form-area .frm_time_wrap select.frm_time_select,
  .naund-form-area .frm_time_wrap select.auto_width {
    width: 50% !important;
    max-width: none !important;
    flex: 1 1 0;
  }

  .naund-form-area .frm_dropzone {
    min-height: 135px !important;
  }

  .naund-form-area .frm-g-recaptcha {
    transform: scale(.92);
  }
}