/* Gravity Forms: Design-Anpassungen (aus WPCodeBox-Snippet 11 "Gravity Forms Styles", kompiliertes SCSS, 13.11.2026) */

.gform_wrapper.gform-theme--framework.gform-theme {
  --gf-ctrl-btn-bg-color-primary: var(--secondary);
  --gf-ctrl-btn-color-primary: var(--white);
  --gf-ctrl-btn-radius: var(--radius-m);
  --gf-ctrl-btn-font-size-md:: var(--text-m);
  --gf-ctrl-btn-padding-y-md: 12px;
  --gf-ctrl-btn-padding-x-md: 20px;
  --gf-ctrl-btn-padding-y: var(--space-xs);
  --gf-font-size-primary: var(--text-s);
  --gf-ctrl-accent-color: var(--secondary);
  --gf-ctrl-choice-check-color: var(--secondary);
  --gf-ctrl-border-color-hover: var(--secondary);
  --gf-ctrl-outline-color-focus: var(--secondary);
}
.gform_wrapper.gform-theme--framework.gform-theme h3 {
  font-size: var(--xl);
}
.gform_wrapper.gform-theme--framework.gform-theme .gform-theme-button:hover, .gform_wrapper.gform-theme--framework.gform-theme .button:hover, .gform_wrapper.gform-theme--framework.gform-theme input[type=submit]:hover {
  background-color: var(--primary) !important;
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_page_steps {
  border-bottom: 2px solid var(--secondary);
  padding-bottom: var(--space-s);
  margin-bottom: var(--space-xl);
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield.gfield--type-choice > .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):not(.gfield_consent_label) {
  font-size: var(--text-s);
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield > .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):not(.gfield_consent_label) {
  font-size: var(--text-xs);
  font-family: "Bitter";
  font-weight: 600;
  color: var(--primary);
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])) {
  border-radius: var(--radius-m);
  border-color: var(--border-primary);
  padding-top: var(--space-2xs);
  padding-bottom: var(--space-2xs);
  height: unset;
  line-height: 1.3;
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])):focus {
  outline: 2px solid var(--secondary);
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield .gform-field-label--type-inline:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  font-size: var(--text-xs);
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield .textarea, .gform_wrapper.gform-theme--framework.gform-theme .gfield input[type="text"], .gform_wrapper.gform-theme--framework.gform-theme .gfield input[type="email"], .gform_wrapper.gform-theme--framework.gform-theme .gfield input[type="tel"] {
  border-color: var(--border-primary);
  border-radius: var(--radius-m);
  box-shadow: none;
  padding-top: var(--space-2xs);
  padding-bottom: var(--space-2xs);
  height: unset;
  line-height: 1.3;
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield .textarea:focus, .gform_wrapper.gform-theme--framework.gform-theme .gfield input[type="text"]:focus, .gform_wrapper.gform-theme--framework.gform-theme .gfield input[type="email"]:focus, .gform_wrapper.gform-theme--framework.gform-theme .gfield input[type="tel"]:focus {
  outline: 2px solid var(--secondary);
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step {
  max-width: 23rem;
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_progressbar_title, .gform_wrapper.gform-theme--framework.gform-theme .gf_step_label, .gform_wrapper.gform-theme--framework.gform-theme .gf_step_number {
  color: var(--text-light);
  text-transform: unset;
  font-weight: 600;
  font-size: var(--text-xs);
  line-height: 1.3;
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step_number {
  border-color: var(--secondary);
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step_active .gf_step_label {
  color: var(--text-title);
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step_active .gf_step_number {
  background: var(--secondary);
  color: var(--light);
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step_completed .gf_step_label {
  color: var(--secondary);
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step_completed .gf_step_number {
  position: relative;
  border: none;
  background-color: var(--primary);
  color: var(--primary);
}
.gform_wrapper.gform-theme--framework.gform-theme .gf_step_completed .gf_step_number::after {
  background-color: var(--text-success);
  border-color: var(--text-success);
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield_description {
  color: var(--secondary);
  font-size: var(--text-s);
  max-width: 70rem;
  text-wrap: balance;
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield_description.validation_message {
  color: var(--error);
  padding-left: 1rem;
  border-left: 6px solid var(--error);
  font-weight: 500;
}
.gform_wrapper.gform-theme--framework.gform-theme .gfield--input-type-likert > .gform-field-label {
  font-size: var(--text-m);
  font-family: "Bitter";
  color: var(--text-title);
  font-weight: 600;
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert tbody tr:nth-child(odd) {
  background: var(--light);
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert td:first-child {
  border-radius: var(--radius-m) 0 0 var(--radius-m);
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert td:last-child {
  border-radius: 0 var(--radius-m) var(--radius-m) 0 !important;
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gsurvey-likert-choice-label, .gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gsurvey-likert-row-label {
  color: var(--text-title);
  font-size: var(--text-s);
  line-height: 1.3;
  text-wrap: balance;
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gsurvey-likert-choice input[type="radio"] {
  background: var(--bg-body);
  width: 3rem;
  height: 3rem;
  border-color: var(--secondary);
  color: var(--bg-body);
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gsurvey-likert-choice input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  border-color: var(--text-accent);
  border-width: 2px;
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gsurvey-likert-choice input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
  width: 2rem;
  height: 2rem;
  background-color: var(--secondary);
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gform_button.button {
  border-radius: var(--radius-full) !important;
}
.gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gform_fields {
  row-gap: var(--space-3xl);
}
@media (min-width: 640px) {
  .gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gform_fields {
    row-gap: var(--space-2xl);
  }
}
@media only screen and (max-width: 761px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert .gsurvey-likert-choice {
    display: flex;
    align-items: center;
  }
  .gform_wrapper.gform-theme--framework.gform-theme table.gsurvey-likert td::after {
    color: var(--bg-body);
    padding-left: 1.6rem;
  }
}
