@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: 'Montserrat', sans-serif !important;
  background: #7b0709;
}

#car {
  display: none !important;
}

#prize {
  background-image: url('https://mbmr.kunden-freude.de/bg.webp') !important;
  display: none;
}

.wrapper {
  background: #7b0709;
}

#app-main__container {
  justify-content: flex-end;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  height: 100%;
}

.bg img {
  display: none !important;
}

.title {
  font-weight: 700;
  font-size: 33px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  color: #fff8e9;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 1160px;
  padding: 0 16px;
  line-height: 115%;
  color: #fff8e9;
}
.title span {
  color: #ffcf32;
  color: #ffcf32;
}
.text {
  font-weight: 700;
  font-size: 18px;
  color: #fff8e9;
  line-height: 115%;
  margin-bottom: 16px;
}
.text b {
  font-weight: 700;
  color: #ffcf32;
}

.subtitle {
  font-weight: 700;
  font-size: 18px;
  color: #fff8e9;
  margin-bottom: 16px;
  line-height: 115%;
}

.quiz__elements {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.quiz__element {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quiz__element img {
  width: 40px;
}
.quiz__element p {
  font-weight: 500;
  font-size: 15px;
  color: #fff8e9;
}
.quiz__element p b {
  font-weight: 700;
  color: #ffcf32;
}

.quiz__container {
  max-width: 460px !important;
  min-width: 460px !important;
}

.app-main__container {
  min-height: 700px !important;
}

.quiz__container {
  padding: 0px !important;
  background: none !important;
  border-radius: 20px;
  margin: 0px 0px;
  height: fit-content;
}

.quiz-pc__wrapper {
  background: rgba(85, 4, 6, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 50, 0.25);
  padding: 20px;
  border-radius: 10px;
}

.radio-filds {
  background: none !important;
  display: flex !important;
  gap: 30px !important;
  height: 45px !important;
}

.registration-formular__fieldset {
  background: none !important;
}

.radio-field {
  border-radius: 10px !important;
  height: 45px !important;
  background: #fff8e9 !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  text-align: center !important;
  color: #4b080b !important;
}

.registration-formular__control__button {
  font-weight: 500 !important;
  font-size: 18px !important;
  text-align: center !important;
  color: #4b080b !important;
  font-family: 'Montserrat', sans-serif !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.registration-formular__control__button svg {
  width: 24px;
}

.form__trigger label {
  background: #fff8e9 !important;
  color: #4b080b !important;
  border-radius: 10px !important;
  font-family: 'Montserrat', sans-serif !important;
}

.registration-formular__field input {
  height: 45px !important;
  background: #fff8e9 !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  text-align: left !important;
  color: #4b080b !important;
  box-shadow: inset 0 0 0 1px rgba(209, 161, 56, 0.45);
  font-family: 'Montserrat', sans-serif !important;
}

input[name='birth_day'] {
  text-align: center !important;
}
input[name='birth_month'] {
  text-align: center !important;
}
input[name='birth_year'] {
  text-align: center !important;
}

.primary-button {
  min-height: auto !important;
  height: 50px !important;
  background: linear-gradient(110deg, #ffe49a 0%, #ffcf32 58%, #e7a91b 100%) !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  text-align: center !important;
  color: #4b080b !important;
  font-family: 'Montserrat', sans-serif !important;
}

.quiz {
  display: flex !important;
  justify-content: center !important;
  position: static !important;
  margin-top: 180px;
  /* backdrop-filter: blur(9.600000381469727px); */
  /* background: rgba(85, 4, 6, 0.78) !important; */
}

.container {
  max-width: 1440px !important;
}

input:checked ~ .registration-formular__control__button {
  background: linear-gradient(110deg, #ffe49a 0%, #ffcf32 58%, #e7a91b 100%) !important;
  color: #4b080b !important;
}

input:checked ~ .registration-formular__control__button svg {
}
input:checked ~ .registration-formular__control__button svg path {
  stroke: #4b080b !important;
  fill: #4b080b !important;
}

form {
  max-width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-height: 700px) {
  .wrapper {
    min-height: 700px !important;
  }
}
.quiz__elements_mob {
  display: none;
}

.title-bg {
  display: none;
}

.quiz__icon {
  flex: 0 0 30px;
}
.werden {
  color: #fff8e9 !important;
}

#formular-button .flash {
  text-transform: uppercase !important;
}

.bg-soi {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

.bg-soi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .bg {
    position: static;
    background: none !important;
  }
  .bg-video {
    position: relative;
    top: auto;
    left: auto;
  }

  .werden {
    text-align: center;
    font-weight: 500 !important;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
    color: #fff8e9;
    max-width: 345px;
    margin: 0 auto;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 115%;
    font-family: 'Montserrat', sans-serif !important;
  }

  .bg-video__wrapper {
    position: relative;
  }

  .bg-video__wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: -1px;
    left: 0;
    background: linear-gradient(180deg, rgba(123, 7, 9, 0) 0%, #7b0709 100%);
  }

  .bg {
    position: relative;
  }

  .bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: -1px;
    left: 0;
    background: linear-gradient(180deg, rgba(123, 7, 9, 0) 0%, #7b0709 100%);
  }
  .quiz-pc__wrapper {
    padding: 0;
    background-color: none;
    background: none;
  }

  #prize {
    background-image: url(https://trnd.kunden-freude.de/bg.webp) !important;
  }
  .wrapper {
    min-height: 1350px !important;
  }
  #regfull .registration-formular__fields:first-child {
    gap: 0 !important;
  }

  #regfull .w67 {
    margin-bottom: 10px;
  }

  body {
    background: #690507 !important;
  }
  #app-footer {
    background-color: #fff;
  }
  #app-main__container {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .bg {
    display: block !important;
  }
  .bg img {
    display: block !important;
    width: 100%;
  }
  .bg img {
    /* width: 100%; */
  }

  .radio-filds {
    gap: 16px !important;
  }

  #prize__image {
    display: none !important;
  }
  #prize {
    position: absolute !important;
    height: 100% !important;
    background-position: top center !important;
    /* display: none !important; */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: none !important;
    /* height: auto !important; */
  }
  .title {
    position: static;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -15px;
    z-index: 2;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    text-transform: uppercase;
    text-align: center;
    color: #fff8e9;
    transform: none;
    color: #fff8e9;
    /* margin-top: 86vw; */
  }

  .quiz {
    margin-top: 0;
    background-color: #7b0709;
  }

  .title span {
    display: block;
    font-weight: 700;
    font-size: 32px;
    line-height: 110%;
    text-transform: uppercase;
    text-align: center;
    color: #ffcf32 !important;
    margin-bottom: 15px;
  }
  .text {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
  }
  .quiz__container {
    /* margin-top: 15px !important; */
    padding: 15px !important;
    padding-top: 0 !important;
    min-width: auto !important;
  }
  .quiz__items_mob {
    display: none !important;
  }

  .quiz__elements {
    display: none !important;
  }

  .quiz__elements_mob {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 10px;
  }

  .quiz__elements_mob img {
    width: 30px !important;
  }

  .quiz__elements_mob p {
    font-size: 15px !important;
  }

  .subtitle {
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff8e9;
  }
  .primary-button {
    font-size: 20px !important;
  }

  #optin-alert__window,
  .optin-cookie-layer__window {
    max-height: 75vh;
  }

  .quiz__element p {
    font-weight: 500;
    font-size: 15px;
    color: #fff8e9;
  }

  .form__trigger label {
    background: #fff1d5 !important;
    color: #4b080b !important;
  }

  .registration-formular__field input {
    background: #fff1d5 !important;
  }

  .werden {
    color: #fff8e9 !important;
  }
}

@media (max-width: 550px) {
  .wrapper {
    min-height: 100vh !important;
  }
  #reghalf .wrapper {
    min-height: auto !important;
  }
  #regfull .wrapper {
    min-height: auto !important;
  }
}

/* quiz-pc__wrapper */

.quiz {
  margin-top: 80px;
}

.title {
  background: rgba(85, 4, 6, 0.9);
  color: #fff8e9;
  padding: 8px 16px;
  max-width: 944px;
  top: 20px;
  font-size: 34px;
  border-radius: 10px;
}

.quiz-pc__wrapper {
  background: rgba(85, 4, 6, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 50, 0.25);
  padding: 20px;
  border-radius: 10px;
}

@media (max-height: 750px) {
  .wrapper {
    min-height: 750px !important;
  }
}

@media (max-width: 992px) {
  .quiz {
    margin-top: -30px;
    margin-bottom: 10px;
  }
  .title {
    background: none;
    color: #fff8e9;
    padding: 0;
    position: static;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -15px;
    z-index: 2;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    text-transform: uppercase;
    text-align: center;
    color: #fff8e9;
    transform: none;
    color: #fff8e9;
  }
  .quiz-pc__wrapper {
    padding: 0;
    background-color: none;
    background: none;
  }

  .title span {
    position: relative;
    z-index: 1;
    /* color: #fff8e9; */
  }

  /* основной слой обводки */
  .title span::before {
    content: 'Ihre Chance:';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    /* color: #fff8e9; */
    /* -webkit-text-stroke: 1px #fff8e9; */
    width: 100%;
    height: 100%;
  }
}

/* quiz-pc__wrapper end */

/* badge */
.badge {
  position: absolute;
  left: 5%;
  bottom: 5%;
  width: clamp(80px, 20vw, 120px);
  height: clamp(80px, 20vw, 120px);
  background: radial-gradient(circle at 35% 35%, #ffe9a0, #ffcf32);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  border: 3px solid #ffde7c;
  text-align: center;
  line-height: 1.1;

  /* АНИМАЦИЯ */
  transform: translateX(-150%);
  opacity: 0;
  animation: badgeSlideIn 0.8s ease-out 2s forwards;
}

@keyframes badgeSlideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.badge .badge-label {
  font-size: clamp(9px, 2.5vw, 13px);
  font-weight: 700;
  color: #7d210c;
}

.badge .badge-value {
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 900;
  color: #4b080b;
  line-height: 1;
}

@media (max-width: 992px) {
  .badge {
    left: 5%;
    bottom: auto;
    top: 5%;
  }
}

.title {
  display: none !important;
}

/* PNAM registration form: visual theme only; keep platform behavior. */
#app-formular {
  --form-surface: #fff8e9;
  --form-field-text: #4b080b;
  --form-text: #fff8e9;
  --form-muted: #ecd5bd;
  --form-accent: #ffcf32;
  --form-focus: #ffe49a;
}

#app-formular .quiz__container {
  min-width: 0 !important;
  width: 100%;
}

#app-formular .quiz-pc__wrapper {
  padding: 28px;
  border: 1px solid rgba(255, 207, 50, 0.35);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(112, 7, 10, 0.96), rgba(70, 3, 6, 0.97) 65%);
  box-shadow:
    0 20px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--form-text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#app-formular .quiz-pc__wrapper .subtitle {
  color: var(--form-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-transform: none;
}

#app-formular .quiz-pc__wrapper .quiz__element p,
#app-formular .quiz-pc__wrapper .text {
  color: var(--form-muted);
  font-family: Arial, Helvetica, sans-serif;
}

#app-formular .quiz-pc__wrapper .quiz__element p b,
#app-formular .quiz-pc__wrapper .text b {
  color: var(--form-focus);
}

#registration-formular
  .registration-formular__field
  input:not([type='radio']):not([type='checkbox']):not([type='hidden']),
#registration-formular .registration-formular__field select,
#registration-formular .registration-formular__field textarea {
  min-height: 52px;
  height: 52px !important;
  padding-inline: 14px;
  border: 1px solid rgba(209, 161, 56, 0.45);
  border-radius: 12px !important;
  background: var(--form-surface) !important;
  color: var(--form-field-text) !important;
  color-scheme: light;
  caret-color: var(--form-field-text);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

#registration-formular .registration-formular__field input::placeholder {
  color: #99765f;
  opacity: 1;
}

#registration-formular .registration-formular__field input:autofill {
  -webkit-text-fill-color: var(--form-field-text);
  caret-color: var(--form-field-text);
  box-shadow: inset 0 0 0 100px var(--form-surface);
}

#registration-formular > .registration-formular__fieldset:first-of-type {
  /* margin-bottom: 16px; */
}

#registration-formular .radio-filds {
  height: 52px !important;
}

#registration-formular .radio-field {
  height: 52px !important;
  border-radius: 12px !important;
  background: transparent !important;
}

#registration-formular .form__trigger .registration-formular__control__button {
  min-height: 52px;
  height: 100%;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(209, 161, 56, 0.45);
  border-radius: 12px !important;
  background: var(--form-surface) !important;
  color: var(--form-field-text) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

#registration-formular .form__trigger .registration-formular__control__button:hover {
  border-color: var(--form-accent);
  background: #fff0c8 !important;
}

#registration-formular .form__trigger input:checked ~ .registration-formular__control__button {
  border-color: var(--form-accent);
  background: linear-gradient(110deg, #ffe49a 0%, #ffcf32 58%, #e7a91b 100%) !important;
  color: var(--form-field-text) !important;
}

#registration-formular .registration-formular__field input:focus-visible,
#registration-formular .registration-formular__field select:focus-visible,
#registration-formular .registration-formular__field textarea:focus-visible,
#registration-formular .form__trigger input:focus-visible ~ label,
#registration-formular #formular-button:focus-visible {
  outline: 2px solid var(--form-focus);
  outline-offset: 3px;
}

#registration-formular .registration-formular__field input.--error,
#registration-formular .form__trigger label.--error,
#registration-formular .registration-formular__field [aria-invalid='true'] {
  border: 2px solid #ed657e !important;
}

#registration-formular .registration-formular__hint {
  color: #ffb3c0;
}

#registration-formular #formular-button {
  min-height: 56px !important;
  height: auto !important;
  padding: 15px 20px;
  border: 1px solid rgba(255, 222, 124, 0.8);
  border-radius: 999px;
  background: linear-gradient(110deg, #ffe49a 0%, #ffcf32 58%, #e7a91b 100%) !important;
  color: #4b080b !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-transform: none;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.27);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#registration-formular #formular-button .flash {
  animation: none;
  opacity: 1;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  text-transform: none !important;
}

#registration-formular #formular-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 207, 50, 0.24);
}

#registration-formular #formular-button:active:not(:disabled) {
  transform: translateY(0);
}

#registration-formular #formular-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

#registration-formular .werden {
  color: var(--form-muted) !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Keep the footer white on desktop and mobile. */
#app-footer {
  background-color: #fff !important;
}

@media (max-width: 992px) {
  #app-formular .quiz-pc__wrapper {
    padding: 24px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  #app-formular .quiz-pc__wrapper {
    padding: 22px 16px;
  }

  #registration-formular .registration-formular__field input {
    padding-inline: 10px;
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #registration-formular .registration-formular__field input,
  #registration-formular .form__trigger label,
  #registration-formular #formular-button {
    transition: none;
  }
}
