.bestandpilot-purchase,
.bestandpilot-purchase * {
  box-sizing: border-box;
}

.bestandpilot-purchase {
  --bp-purchase-primary: #f39421;
  --bp-purchase-primary-hover: #d97706;
  --bp-purchase-text: #1f2937;
  --bp-purchase-muted: #64748b;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
  max-width: none;
  margin: 28px 0;
  padding: 0;
  overflow: visible;
  color: var(--bp-purchase-text);
  font-family: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.bestandpilot-purchase__intro {
  align-self: start;
}

.bestandpilot-purchase__eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  color: #9a4c05;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #ffedd5;
  border-radius: 999px;
}

.bestandpilot-purchase__intro h2 {
  margin: 18px 0 14px;
  color: var(--bp-purchase-text);
}

.bestandpilot-purchase__intro > p {
  margin: 0;
  color: var(--bp-purchase-muted);
  font-size: 18px;
  line-height: 1.65;
}

.bestandpilot-purchase__intro ul {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.bestandpilot-purchase__intro li {
  position: relative;
  margin: 0;
  padding-left: 34px;
}

.bestandpilot-purchase__intro li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  content: "✓";
  background: var(--bp-purchase-primary);
  border-radius: 50%;
}

.bestandpilot-purchase__intro li strong,
.bestandpilot-purchase__intro li span {
  display: block;
}

.bestandpilot-purchase__intro li strong {
  margin-bottom: 3px;
  font-size: 16px;
}

.bestandpilot-purchase__intro li span {
  color: var(--bp-purchase-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bestandpilot-purchase__card {
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
}

.bestandpilot-purchase__progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.bestandpilot-purchase__progress::before {
  position: absolute;
  top: 17px;
  right: 10%;
  left: 10%;
  height: 2px;
  content: "";
  background: #e2e8f0;
}

.bestandpilot-purchase__progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0;
  color: #94a3b8;
}

.bestandpilot-purchase__progress li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
}

.bestandpilot-purchase__progress li small {
  font-size: 12px;
  font-weight: 700;
}

.bestandpilot-purchase__progress li.is-active,
.bestandpilot-purchase__progress li.is-complete {
  color: var(--bp-purchase-text);
}

.bestandpilot-purchase__progress li.is-active > span,
.bestandpilot-purchase__progress li.is-complete > span {
  color: #fff;
  background: var(--bp-purchase-primary);
  border-color: var(--bp-purchase-primary);
}

.bestandpilot-purchase__form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bestandpilot-purchase.is-enhanced .bestandpilot-purchase__step:not(.is-active) {
  display: none;
}

.bestandpilot-purchase__step + .bestandpilot-purchase__step {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid #e2e8f0;
}

.bestandpilot-purchase.is-enhanced .bestandpilot-purchase__step + .bestandpilot-purchase__step {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bestandpilot-purchase__legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bestandpilot-purchase__step h3 {
  margin: 0 0 8px;
  padding: 0;
  color: var(--bp-purchase-text);
}

.bestandpilot-purchase__hint {
  margin: 0 0 24px;
  color: var(--bp-purchase-muted);
  font-size: 15px;
  line-height: 1.55;
}

.bestandpilot-purchase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bestandpilot-purchase label {
  display: block;
  min-width: 0;
  margin: 18px 0 0;
}

.bestandpilot-purchase__grid label {
  margin-top: 0;
}

.bestandpilot-purchase label > span:first-child {
  display: block;
  margin: 0 0 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.bestandpilot-purchase input:not([type="checkbox"]):not([type="file"]),
.bestandpilot-purchase select,
.bestandpilot-purchase textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  color: var(--bp-purchase-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: none;
}

.bestandpilot-purchase textarea {
  min-height: 112px;
  resize: vertical;
}

.bestandpilot-purchase input:focus,
.bestandpilot-purchase select:focus,
.bestandpilot-purchase textarea:focus {
  border-color: var(--bp-purchase-primary);
  outline: 3px solid color-mix(in srgb, var(--bp-purchase-primary) 20%, transparent);
  outline-offset: 1px;
}

.bestandpilot-purchase__input-suffix {
  position: relative;
  display: block;
}

.bestandpilot-purchase__input-suffix input {
  padding-right: 42px !important;
}

.bestandpilot-purchase__input-suffix em {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--bp-purchase-muted);
  font-style: normal;
  transform: translateY(-50%);
}

.bestandpilot-purchase__upload {
  position: relative;
  padding: 22px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  cursor: pointer;
}

.bestandpilot-purchase__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.bestandpilot-purchase__upload strong,
.bestandpilot-purchase__upload small {
  display: block;
}

.bestandpilot-purchase__upload strong {
  margin: 8px 0 5px;
  color: var(--bp-purchase-primary-hover);
}

.bestandpilot-purchase__upload small {
  color: var(--bp-purchase-muted);
  font-size: 13px;
}

.bestandpilot-purchase__upload small.is-error {
  color: #b91c1c;
}

.bestandpilot-purchase__consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.bestandpilot-purchase__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--bp-purchase-primary);
}

.bestandpilot-purchase__consent span {
  margin: 0 !important;
  font-weight: 500 !important;
}

.bestandpilot-purchase__privacy {
  margin: 8px 0 0;
  color: var(--bp-purchase-muted);
  font-size: 13px;
}

.bestandpilot-purchase__privacy a {
  color: inherit;
  text-decoration: underline;
}

.bestandpilot-purchase__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.bestandpilot-purchase__actions button {
  min-height: 50px;
  margin: 0;
  padding: 12px 20px;
  color: var(--bp-purchase-text);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
}

.bestandpilot-purchase__actions .bestandpilot-purchase__next,
.bestandpilot-purchase__actions .bestandpilot-purchase__submit {
  color: #fff;
  background: var(--bp-purchase-primary);
  border-color: var(--bp-purchase-primary);
}

.bestandpilot-purchase__actions .bestandpilot-purchase__next:hover,
.bestandpilot-purchase__actions .bestandpilot-purchase__submit:hover {
  background: var(--bp-purchase-primary-hover);
  border-color: var(--bp-purchase-primary-hover);
}

.bestandpilot-purchase__actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.bestandpilot-purchase__status {
  min-height: 24px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

.bestandpilot-purchase__status.is-success {
  padding: 14px 16px;
  color: #166534;
  background: #dcfce7;
  border-radius: 10px;
}

.bestandpilot-purchase__status.is-error {
  padding: 14px 16px;
  color: #991b1b;
  background: #fee2e2;
  border-radius: 10px;
}

.bestandpilot-purchase__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bestandpilot-purchase-notice {
  padding: 14px 16px;
  color: #7c2d12;
  background: #ffedd5;
  border-left: 4px solid #f97316;
}

@media (max-width: 840px) {
  .bestandpilot-purchase {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  .bestandpilot-purchase__intro ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bestandpilot-purchase {
    width: 100%;
    margin: 18px 0;
    padding: 0;
  }

  .bestandpilot-purchase__intro ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .bestandpilot-purchase__card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .bestandpilot-purchase__progress {
    margin-bottom: 26px;
  }

  .bestandpilot-purchase__progress li small {
    font-size: 10px;
  }

  .bestandpilot-purchase__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .bestandpilot-purchase__actions {
    flex-wrap: wrap;
  }

  .bestandpilot-purchase__actions button {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bestandpilot-purchase {
    scroll-behavior: auto;
  }
}
