/* Glücksrad-Modal */

.bh-pw-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  background: rgba(0, 0, 0, 0.45);
}

.bh-pw {
  position: fixed;
  z-index: 99981;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
}

.bh-pw[hidden],
.bh-pw-overlay[hidden] {
  display: none !important;
}

.bh-pw-layout {
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  width: min(980px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: hidden;
  background: #f3ebe3;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.bh-pw-stage {
  background: #5c5c5c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.bh-pw-wheel {
  position: relative;
  width: min(460px, 52vw);
  aspect-ratio: 1;
}

.bh-pw-spin {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.bh-pw-spin.is-spinning {
  transition: transform 4.6s cubic-bezier(0.12, 0.7, 0.08, 1);
}

.bh-pw-disc {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bh-pw-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 29%;
  height: auto;
  transform: translate(-50%, -59%);
  pointer-events: none;
  z-index: 2;
}

.bh-pw-panel {
  position: relative;
  background: #f3ebe3;
  padding: 3rem 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bh-pw-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  border: 0;
  background: transparent;
  color: #e6503e;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.bh-pw-title {
  margin: 0 0 1.1rem;
  color: #000;
}

.bh-pw-title-line,
.bh-pw-title-em {
  display: block;
  font-family: Mulish, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bh-pw-title-em {
  width: fit-content;
  font-weight: 700;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid #000;
}

.bh-pw-lead {
  margin: 0 0 1.25rem;
  font-family: Mulish, sans-serif;
  font-size: 15px;
  color: #222;
}

.bh-pw-field {
  display: block;
  margin-bottom: 0.85rem;
}

.bh-pw-field input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  padding: 0 1rem;
  font-family: Mulish, sans-serif;
  font-size: 15px;
  color: #111;
  box-shadow: none;
}

.bh-pw-field input::placeholder {
  color: #9a9a9a;
}

.bh-pw-field input:focus {
  outline: 2px solid #e6503e;
  outline-offset: 1px;
}

.bh-pw-submit {
  display: block;
  width: 100%;
  margin: 0.35rem 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #e6503e;
  color: #fff;
  font-family: Mulish, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: 48px;
  cursor: pointer;
}

.bh-pw-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.bh-pw-legal {
  margin: 0 0 0.65rem;
  font-family: Mulish, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: #8a8a8a;
}

.bh-pw-error {
  margin: 0 0 0.6rem;
  color: #e6503e;
  font-size: 13px;
}

.bh-pw-result .bh-pw-code {
  font-family: Mulish, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
  color: #e6503e;
}

.bh-pw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

body.bh-pw-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .bh-pw {
    padding: 0.5rem;
    align-items: stretch;
  }

  .bh-pw-layout {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 1rem);
    overflow: auto;
  }

  .bh-pw-stage {
    padding: 1.5rem 1rem 0.75rem;
  }

  .bh-pw-wheel {
    width: min(280px, 70vw);
  }

  .bh-pw-panel {
    padding: 1.5rem 1.35rem 1.75rem;
  }

  .bh-pw-title-line,
  .bh-pw-title-em {
    font-size: 26px;
  }
}
