.popup_form_title {
  display: flex;
  flex-direction: column;
}

.popup_form_title h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.popup_form_title p {
  font-size: 18px;
}

.popup_form {
  background-color: #fff;
  border-radius: 15px;
  gap: 20px;
  height: auto;
  justify-content: space-between;
  left: 50%;
  max-width: 1000px;
  min-width: 230px;
  padding: 3.5rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  z-index: 1000000;
}

.popup_form .close-popup {
  align-items: center;
  background-color: #fff;
  border: none;
  border-radius: 100px;
  display: flex;
  height: 35px;
  justify-content: center;
  position: absolute;
  right: 15px;
  top: 15px;
  width: 35px;
}

.popup_form_line {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.popup_form_line .form_group {
  width: 48%;
}

.popup_form {
  display: none;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.popup-form input,
select,
textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-bottom: 0.75rem;
  padding-left: 0.75rem;
  padding-top: 0.75rem;
  width: 100%;
}

#popup_datenschutz {
  width: auto !important;
}
textarea {
  min-height: 58px;
  resize: vertical;
}
.popup_form_line {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.popup_form_line .form_group {
  width: 48%;
}

.pop_wrapper {
  background: #0000006b;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  position: fixed;
  z-index: 9989;
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: blur(5px);
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}

.popup-form label {
  font-weight: 700;
  top: 15px;
}

@media (max-width: 898px) {
  .diagnostic-wrapper,
  .popup_form {
    flex-direction: column;
  }
}

@media (max-width: 568px) {
  .popup_form {
    padding: 1.5rem;
  }
  .popup_form_title {
    margin-top: 30px;
  }
  .popup_form_title h3 {
    font-size: 32px;
  }
}

@media (max-width: 320px) {
  .popup_form_title h3 {
    font-size: 24px;
  }
  .popup_form {
    padding: 1rem;
  }
  .info_block-text p {
    height: 180px;
  }
  p {
    font-size: 14px !important;
  }
}

@media (max-width: 460px) {
  .popup_form_line {
    flex-direction: column;
    gap: 0;
  }
  .popup_form_line .form_group {
    width: 100%;
  }
  .popup_form_title p {
    display: none;
  }
  .popup_form_title {
    font-size: 16px !important;
    margin-top: 0;
  }
  .popup_form_line .form_group {
    width: 100%;
  }
}

.popup-form button {
  margin-top: 45px;
}

.btn,
.btn-text {
  position: relative;
  transition: all 0.3s ease;
}
.btn-text {
  line-height: 18px;
  margin-right: 10px;
  z-index: 2;
}
.btn:after {
  align-items: center;
  background-color: #ffd71d;
  border-radius: 50%;
  color: #000;
  content: "➜";
  display: flex;
  font-size: 14px;
  height: 30px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  width: 30px;
}
.btn:hover .btn-text {
  transform: translateX(-15px);
}
.btn:hover:after {
  opacity: 1;
  right: 10px;
}
