/* ============================================================
   Geosys Formidable Style — formidable-style.css v1.0.0
   Styled die durch formidable-style.js mit qodef-btn-Klassen
   versehenen Submit-Buttons site-weit auf Theme-Look:
   CI-Blau Hintergrund, Hover-Orange, Padding, Typo, animierte
   weisse Underline (zwei ::before/::after auf .qodef-btn-text).
   Selektor mit body + form.frm-show-form fuer ausreichend
   Spezifitaet gegen Formidable-Defaults.
   ============================================================ */

body form.frm-show-form .frm_submit button.qodef-btn.frm_final_submit,
body form.frm-show-form .frm_submit button.qodef-btn.frm_button_submit {
  display: inline-block;
  padding: 14px 24px 20px;
  font-family: 'Overpass', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.47;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  background-color: #005187;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: visible;
  width: auto;
  height: auto;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

body form.frm-show-form .frm_submit button.qodef-btn.frm_final_submit:hover,
body form.frm-show-form .frm_submit button.qodef-btn.frm_button_submit:hover {
  background-color: #f9af00;
  color: #fff;
}

/* Animierte weisse Unterstreichung — zwei Spans skalieren sequenziell */
body form.frm-show-form .frm_submit button.qodef-btn .qodef-btn-text {
  position: relative;
}

body form.frm-show-form .frm_submit button.qodef-btn .qodef-btn-text::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  background-color: #fff;
  width: 100%;
  transform-origin: 100% 50%;
  transition: transform 0.4s cubic-bezier(0.28, 0.38, 0, 0.81);
}

body form.frm-show-form .frm_submit button.qodef-btn .qodef-btn-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  background-color: #fff;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s cubic-bezier(0.28, 0.38, 0, 0.81) 0.2s;
}

body form.frm-show-form .frm_submit button.qodef-btn:hover .qodef-btn-text::before {
  transform: scaleX(0);
}

body form.frm-show-form .frm_submit button.qodef-btn:hover .qodef-btn-text::after {
  transform: scaleX(1);
}

/* ============================================================
   Pflichtfeld-Stern: CI-Orange statt Default-Rot/Grau
   ============================================================ */

.with_frm_style .frm_required,
form.frm-show-form .frm_required {
  color: #f9af00 !important;
}
