/* Layout overrides — hide theme chrome on this template */
.page-template-page-haide-lp header.site-header,
.page-template-page-haide-lp .header-spacer,
.page-template-page-haide-lp .entry-title,
.page-template-page-haide-lp aside.site-menus,
.page-template-page-haide-lp .hm-fab,
.page-template-page-haide-lp .hm-fab-label {
  display: none !important;
}

.page-template-page-haide-lp .body-wrapper,
.page-template-page-haide-lp .no-main-wrapper,
.page-template-page-haide-lp .company-wrapper,
.page-template-page-haide-lp .main-entry-wrapper,
.page-template-page-haide-lp .main-entry-wrapper > .flex,
.page-template-page-haide-lp .entry-content-wrapper,
.page-template-page-haide-lp .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
}

.page-template-page-haide-lp html,
.page-template-page-haide-lp body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Landing page */
.haidelp {
  --magenta: #f332f3;
  --magenta-deep: #d018d0;
  --cyan: #00d3ef;
  --cyan-deep: #00b6cf;
  --ink: #000;
  --cream: #fbf7ee;
  --field-bg: #fff;
}

.haidelp * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.haidelp {
  font-family: "Arimo", system-ui, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.5;
}

.haidelp h1,
.haidelp h2 {
  font-family: "Arimo", sans-serif;
}

.haidelp .wrap {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.haidelp .brand {
  flex: 1 1 50%;
  background: var(--magenta);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 56px 48px;
}

.haidelp .brand-inner {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.haidelp .logo {
  width: 320px;
  max-width: 78%;
  display: block;
  margin: 0 auto 32px;
}

.haidelp .brand h1 {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 26px;
}

.haidelp .brand .sub {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.7;
}

.haidelp .form-side {
  flex: 1 1 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}

.haidelp .card {
  width: 100%;
  max-width: 470px;
  text-align: center;
}

.haidelp .card h2 {
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.haidelp .card .lede {
  font-size: 16px;
  color: #333;
  margin-bottom: 24px;
}

.haidelp form,
.haidelp .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}

.haidelp .wpcf7 form > p {
  margin: 0;
}

.haidelp .field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.haidelp .field .req {
  color: var(--magenta-deep);
}

.haidelp .field input,
.haidelp .field textarea,
.haidelp .field .wpcf7-form-control {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  padding: 12px 15px;
  border: 3px solid #000;
  border-radius: 14px;
  background: var(--field-bg);
  color: #000;
  outline: none;
  transition: border-color 0.12s ease;
}

.haidelp .field textarea,
.haidelp .field textarea.wpcf7-form-control,
.haidelp textarea.wpcf7-textarea,
.haidelp .wpcf7-textarea {
  resize: vertical;
  height: 80px !important;
  min-height: 80px !important;
  max-height: 120px;
  field-sizing: fixed;
}

.haidelp .field input::placeholder,
.haidelp .field textarea::placeholder,
.haidelp .field .wpcf7-form-control::placeholder {
  color: #9a9a9a;
}

.haidelp .field input:focus,
.haidelp .field textarea:focus,
.haidelp .field .wpcf7-form-control:focus {
  border-color: var(--magenta);
}

.haidelp .field .wpcf7-form-control-wrap {
  display: block;
}

.haidelp .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.haidelp .consent {
  display: block;
  font-size: 9.5px;
  color: #444;
  line-height: 1.35;
  margin-top: 2px;
  text-align: right;
}

.haidelp .consent .wpcf7-list-item {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0;
}

.haidelp .consent .wpcf7-list-item input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--magenta);
}

.haidelp .consent a,
.haidelp .consent .wpcf7-list-item-label a {
  color: var(--magenta-deep);
  font-weight: 700;
}

.haidelp .consent .wpcf7-list-item-label {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.haidelp span.wpcf7-form-control.wpcf7-acceptance > span > label {
  display: flex;
  justify-content: space-between;
}

.haidelp span.wpcf7-form-control.wpcf7-acceptance > span > label span.wpcf7-list-item-label {
  margin-right: 10px;
}

.haidelp .consent .wpcf7-not-valid-tip,
.haidelp .consent .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  position: static;
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--magenta-deep);
  text-align: right;
}

.haidelp .consent .wpcf7-form-control-wrap.wpcf7-not-valid {
  outline: 1px solid var(--magenta-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.haidelp .btnwrap {
  text-align: center;
  margin-top: 14px;
}

.haidelp .btnwrap p {
  margin: 0;
}

.haidelp .submit,
.haidelp input.wpcf7-submit,
.haidelp button.wpcf7-submit,
.haidelp input.wpcf7-submit.submit,
.haidelp button.wpcf7-submit.submit {
  display: inline-block;
  min-width: 230px;
  font-family: "Arimo", sans-serif;
  font-weight: 600;
  font-size: 16px;
  background: var(--cyan);
  color: #000;
  border: 2px solid #000;
  border-radius: 30px;
  padding: 11px 48px;
  cursor: pointer;
  box-shadow: none;
  transition: filter 0.12s ease;
  width: auto;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
}

.haidelp .submit:hover,
.haidelp input.wpcf7-submit:hover,
.haidelp button.wpcf7-submit:hover,
.haidelp input.wpcf7-submit.submit:hover,
.haidelp button.wpcf7-submit.submit:hover {
  filter: brightness(0.95);
}

.haidelp input.wpcf7-form-control.wpcf7-submit.submit:disabled,
.haidelp button.wpcf7-form-control.wpcf7-submit.submit:disabled {
  opacity: 0.45;
  cursor: default;
  filter: none;
}

.haidelp .success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.haidelp .success.show {
  display: block;
}

.haidelp .success .big {
  font-size: 54px;
  line-height: 1;
}

.haidelp .success h2 {
  margin: 14px 0 6px;
}

.haidelp .haide-lp-admin-notice {
  color: #c00;
}

/* CF7 validation & response */
.haidelp .wpcf7-not-valid-tip {
  font-size: 11px;
  margin-top: 4px;
  color: var(--magenta-deep);
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  display: block;
  top: -3px;
  left: auto;
  right: 10px;
}

.haidelp .wpcf7 form .wpcf7-response-output {
  display: none;
  margin: 12px 0 0;
  padding: 10px 14px;
  border: 2px solid var(--magenta-deep);
  border-radius: 10px;
  font-size: 14px;
  color: var(--magenta-deep);
  text-align: center;
  position: static;
}

.haidelp .wpcf7 form.invalid .wpcf7-response-output,
.haidelp .wpcf7 form.unaccepted .wpcf7-response-output,
.haidelp .wpcf7 form.failed .wpcf7-response-output,
.haidelp .wpcf7 form.spam .wpcf7-response-output,
.haidelp .wpcf7 form.aborted .wpcf7-response-output {
  display: block;
}

.haidelp .wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

.haidelp .wpcf7-spinner {
  margin: 8px auto 0;
}

@media (max-width: 880px) {
  .haidelp .wrap {
    flex-direction: column;
  }

  .haidelp .brand {
    flex: none;
    padding: 36px 24px 32px;
  }

  .haidelp .logo {
    width: 210px;
    margin-bottom: 20px;
  }

  .haidelp .brand h1 {
    font-size: 32px;
  }

  .haidelp .form-side {
    padding: 30px 22px 48px;
  }
}

@media (max-width: 420px) {
  .haidelp .row2 {
    grid-template-columns: 1fr;
  }
}
