.jet-fb-form-block .text-block h2 {
  padding-bottom: 2rem !important;
}

.jet-fb-form-block p {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
  line-height: clamp(1.5rem, 2.5vw, 2rem) !important;
}

.form_spacer {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  margin: 2.5rem 0;
}

.jet-form-builder .wp-block-columns.is-layout-flex {
  gap: 2.5rem;
  column-gap: 2.5rem;
}

.layout-column .jet-form-builder__field {
  height: 55px;
  border: none !important;
  color: var(--color-secondary);
  padding-left: 3rem;

  font-family: var(--font-family-primary);
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  line-height: clamp(1.4375rem, 2.5vw, 1.4rem);
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.layout-column .jet-form-builder__field::placeholder {
  font-family: var(--font-family-primary);
  font-weight: 900;
  font-size: 22px;
  line-height: 23px;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  color: var(--color-light-gray);
}

input[type="date"] {
  color: var(--color-light-gray);
}

input[type="date"]:valid {
  color: var(--color-secondary);
}

.jet-form-builder__field:focus {
  outline: 2px solid var(--color-secondary);
}

.jet-form-builder__label {
  margin-bottom: 0.25rem !important;
  padding-bottom: 0 !important;
}

.form_heading .jet-form-builder__label-text {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-family-primary);
  font-weight: 900;
  font-size: clamp(1.6875rem, 4vw, 3.125rem);
  line-height: clamp(2.1125rem, 4vw, 3.5rem);
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  color: var(--color-secondary);
}

.jet-form-builder__label-text {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-family-primary);
  font-weight: 900;
  font-size: 22px;
  line-height: 23px;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  color: var(--color-secondary);
}

.jet-form-builder__field {
  margin-top: 0 !important;
}

.jet-form-builder-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.jet-form-builder__field.date-field,
.jet-form-builder__field.time-field {
  height: 55px !important;
  line-height: 55px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.jet-form-builder__field.textarea-field {
  min-height: 132px;
  width: 100% !important;
  padding: 1rem !important;
}

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
  text-align: center;
}

.form_btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: var(--color-white) !important;
  text-decoration: none;
  font-family: var(--font-family-primary);
  font-weight: 900;
  font-size: clamp(1.6875rem, 3vw, 3rem);
  line-height: clamp(2.1125rem, 4vw, 3.125rem);
  background-color: var(--color-secondary) !important;
  padding: 20px 40px;
  cursor: pointer;
  overflow: hidden;
  z-index: 2;
  margin-top: 2rem;
  white-space: nowrap;
  transition: filter 0.3s ease-in-out;
}

.form_btn:hover {
  filter: brightness(0.85);
}

.jet-form-builder__calculated-field-suffix {
  text-align: center;
}

.jet-form-builder__submit-wrap {
  align-items: start;
  justify-content: center;
}

.jet-form-builder__calculated-field {
  color: #000;
  font-family: "Nunito Sans";
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  line-height: 60px;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  color: var(--color-black);
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.jet-form-builder__heading-desc {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: clamp(1.25rem, 2.5vw, 1.625rem);
  text-align: center;
}

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
  text-align: start !important;
}

.jet-form-builder__fields-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.jet-form-builder__field input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jet-form-builder__field-label.for-radio {
  display: block;
  position: relative;
  cursor: pointer;
  padding: 32px 28px;
  min-height: 160px;

  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.jet-form-builder__field-label {
  display: inline-flex;
  align-items: center;
  width: auto;
}

.jet-form-builder-row.field-type-choices-field .jet-form-builder-choice {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jet-form-builder-choice--item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  padding: 32px 40px;
  min-height: 110px;

  cursor: pointer;
  transition: background 0.25s ease;
}

.jet-form-builder-choice--item-control-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jet-form-builder__fields-group:has(.pakete) {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row !important;
  gap: 48px;
}

.jet-form-builder__fields-group {
  flex-direction: row !important;
}

.jet-form-builder__field-label:has(.pakete) {
  display: inline-block;
  cursor: pointer;
  position: relative;
  width: auto;
}

input.pakete {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
}

input.pakete + span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  width: auto;
  z-index: 0;
  transition: all 0.25s ease;
  max-width: 23rem;
}

input.pakete + span::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 184' preserveAspectRatio='none'><path d='M19.0094 0L0 19.8349V157.413L44.1767 175.56L178.581 184L291.834 166.275L391.7 167.119L400 46.422L375.904 8.44037H338.153L256.225 4.22018L178.581 8.44037H69.344L19.0094 0Z' fill='white'/></svg>");
}

input.pakete:hover + span::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 184' preserveAspectRatio='none'><path d='M19.0094 0L0 19.8349V157.413L44.1767 175.56L178.581 184L291.834 166.275L391.7 167.119L400 46.422L375.904 8.44037H338.153L256.225 4.22018L178.581 8.44037H69.344L19.0094 0Z' fill='%23e0634a'/></svg>");
}

input.pakete:hover + span {
  color: #ffffff !important;
}

input.pakete:hover + span .h3,
input.pakete:hover + span .body_20_26 {
  color: #ffffff !important;
}

input.pakete:checked + span {
  color: #ffffff !important;
}

input.pakete:checked + span .h3,
input.pakete:checked + span .body_20_26 {
  color: #ffffff !important;
}

input.pakete:checked + span::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 184' preserveAspectRatio='none'><path d='M19.0094 0L0 19.8349V157.413L44.1767 175.56L178.581 184L291.834 166.275L391.7 167.119L400 46.422L375.904 8.44037H338.153L256.225 4.22018L178.581 8.44037H69.344L19.0094 0Z' fill='%23e0634a'/></svg>");
}

.field-type-checkbox-field
  .jet-form-builder__field-label.for-checkbox:has(.pakete)
  > span::before {
  display: none !important;
}

@media (max-width: 1024px) {
  .jet-form-builder__fields-group:has(.pakete) {
    gap: 12px;
  }
}

.jet-form-builder__fields-group:has(.Technikbedarf) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  row-gap: 16px;
}

.jet-form-builder__field-label:has(.Technikbedarf) {
  display: block;
  cursor: pointer;
  position: relative;
  width: 100%;
}

input.Technikbedarf {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
}

input.Technikbedarf + span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 16px 24px;
  min-height: 60px;
  font-family: var(--font-family-primary);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-secondary);
  transition: all 0.25s ease;
}

input.Technikbedarf + span::after {
  content: "";
  width: 24px;
  height: 24px;
  background: #d9d9d9;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

input.Technikbedarf:checked + span,
input.Technikbedarf:hover + span {
  background: var(--color-secondary);
  color: #ffffff;
}

input.Technikbedarf:checked + span::after {
  background: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0634a'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
}

.field-type-checkbox-field
  .jet-form-builder__field-label.for-checkbox:has(.Technikbedarf)
  > span::before {
  display: none !important;
}

@media (max-width: 1200px) {
  .layout-column .jet-form-builder__field {
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  .jet-form-builder__fields-group:has(.Technikbedarf) {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wp-block-spacer {
    height: 2rem !important;
  }

  .jet-form-builder .wp-block-columns.is-layout-flex {
    gap: 0.5rem;
    column-gap: 2.5rem;
  }
}

.jet-fb-form-block #pause {
  margin-top: 1.5rem !important;
}

@media (max-width: 530px) {
  .wp-block-spacer {
    height: 1rem !important;
  }
}
