.gf-survey {

}
.gform_wrapper.gf-survey_wrapper .gf_progressbar_wrapper {
  margin-bottom: 2rem;
}
.gform_wrapper.gf-survey_wrapper .gf_progressbar_title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gf-color-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gform_wrapper.gf-survey_wrapper .gf_progressbar {
  background: #ffffff;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}
.gform_wrapper.gf-survey_wrapper .gf_progressbar_percentage {
  background: #183a64;
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* --- Allgemeine Field Styles --- */
.gform_wrapper.gf-survey_wrapper .gfield {
  margin-bottom: 3em;
  border: none;
  padding: 0;
}
.gform_wrapper.gf-survey_wrapper .gfield_label {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.75rem 0;
  display: block;
  color: var(--gf-color-text);
  padding: 0;
}
.gform_wrapper.gf-survey_wrapper .gfield_required {
  color: var(--gf-color-error);
  margin-left: 0.2rem;
}
.gform_wrapper.gf-survey_wrapper .gfield_description {
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}
body .gform_wrapper.gf-survey_wrapper input[type="text"],
body .gform_wrapper.gf-survey_wrapper input[type="email"],
body .gform_wrapper.gf-survey_wrapper input[type="tel"],
body .gform_wrapper.gf-survey_wrapper textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #183a64;
  border-radius: 5px;
  background: #ffffff;
  color: #183a64;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.gform_wrapper.gf-survey_wrapper input:focus,
.gform_wrapper.gf-survey_wrapper textarea:focus {
  border-color: #183a64;
}
.gform_wrapper.gf-survey_wrapper textarea {
  min-height: 90px;
  resize: vertical;
}

/* --- Card-Style Radios und Checkboxes mit Checkmark-Icon --- */
.gform_wrapper.gf-survey_wrapper .gfield_radio,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice {
  position: relative;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice input[type="radio"],
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice label,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 2px solid #183a64;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
  background: #ffffff;
  margin-left: 0px !important;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice label:before,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice label:before {
    display:none;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice label::after,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice label::after {
  content: '';
  position:relative; 
  top: auto;
  left: auto;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #f2f1f1;
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 14px 14px;
  transition: all 0.15s ease;
  opacity: 1;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice input:checked + label,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice input:checked + label {
  border-color: #2c5f3f;
  background: #2c5f3f;
  font-weight: 500;
}
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice label::after {
  border-radius: 4px;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice label:hover,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice label:hover {
  border-color: #183a64;
  background: rgba(203, 229, 217, 0.2);
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice input:checked + label,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice input:checked + label {
  border-color: #2c5f3f;
  background: rgba(203, 229, 217, 0.4);
  font-weight: 500;
}
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice input:checked + label::after,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice input:checked + label::after {
  border-color: #2c5f3f;
  background-color: #2c5f3f;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
/*
.gform_wrapper.gf-survey_wrapper .gfield_radio .gchoice input:focus-visible + label,
.gform_wrapper.gf-survey_wrapper .gfield_checkbox .gchoice input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(44, 95, 63, 0.2);
}
*/
.gform_wrapper.gf-survey_wrapper .gfield--type-consent .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  position: relative;
}
.gform_wrapper.gf-survey_wrapper .gfield--type-consent .gchoice input[type="checkbox"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.gform_wrapper.gf-survey_wrapper .gfield--type-consent .gchoice label {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #183a64;
  cursor: pointer;
  font-weight: 400;
  display: inline;
  padding: 0;
  border: none;
  background: transparent;
}
.gform_wrapper.gf-survey_wrapper .gfield--type-consent .gchoice label::after {
  display: none;
}

/* --- Compact Card-Radios (horizontal, kleine Werte wie 1/2/3/4/5+) --- */
.gform_wrapper .gf-radio-compact .gfield_radio {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gform_wrapper .gf-radio-compact .gfield_radio .gchoice {
  flex: 1 1 0;
  min-width: 40px;
}
.gform_wrapper .gf-radio-compact .gfield_radio .gchoice label {
  justify-content: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.95rem;
  min-height: 44px;
}
.gform_wrapper .gf-radio-compact .gfield_radio .gchoice label::after {
  display: none;
}
.gform_wrapper .gf-radio-compact .gfield_radio .gchoice input:checked + label {
  background: rgba(203, 229, 217, 0.4);
  color: #183a64;
  border-color: #2c5f3f;
}
/* --- Buttons / Foolter etc.--- */
.gform_wrapper.gf-survey_wrapper .gform_page_footer {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--gf-color-border);
}
.gform_wrapper.gf-survey_wrapper button {
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.gform_wrapper.gf-survey_wrapper .gform_button,
.gform_wrapper.gf-survey_wrapper .gform_next_button {
  background: #183a64;
  color: #ffffff;
  margin-left: auto;
  border: 2px solid #183a64;
}
.gform_wrapper.gf-survey_wrapper .gform_button:hover,
.gform_wrapper.gf-survey_wrapper .gform_next_button:hover {
  background: #183a64;
}
.gform_wrapper.gf-survey_wrapper .gform_previous_button {
  background: #183a64;
  color: #ffffff;
  border: 2px solid #183a64;
}
.gform_wrapper.gf-survey_wrapper .gform_previous_button:hover {
  background: #183a64;
}
.gform_wrapper.gf-survey_wrapper .gfield_validation_message {
  display: none;
  color: #b91c1c;
  font-size: 0.82rem;
  margin-top: 0.4rem;
}
.gform_wrapper.gf-survey_wrapper .gfield--error .gfield_validation_message {
  display: block;
}
.gform_wrapper.gf-survey_wrapper .gfield--error input,
.gform_wrapper.gf-survey_wrapper .gfield--error textarea {
  border-color: #b91c1c;
}
.gform_wrapper.gf-survey_wrapper .gfield--error .gfield_radio .gchoice label,
.gform_wrapper.gf-survey_wrapper .gfield--error .gfield_checkbox .gchoice label {
  border-color: #b91c1c;
}
.gform_confirmation_wrapper {
  padding: 1.5rem;
  background: rgba(44, 95, 63, 0.06);
  border-left: 3px solid #183a64;
  border-radius: 5px
  font-size: 0.92rem;
  line-height: 1.6;
  color: #183a64;
}