/* ==========================================================================
   Career + 2nd-round — Hero (Darkshell), Logo-Ticker, Bewerbungsformular, Cal
   Maße: scan/spec.career.*.txt, scan/spec.2nd-round.*.txt
   ========================================================================== */

.hero { position: relative; width: 100%; height: 1299px; overflow: clip; }
.hero--round { height: 1041px; }
.hero__bg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; aspect-ratio: 1.7841435185185186 / 1; overflow: clip; z-index: 1; }
.hero__bg img.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__topgrad { position: absolute; top: 0; left: 0; width: 100%; height: 665px; background: linear-gradient(180deg, #000 0%, rgba(84, 84, 84, 0) 100%); }
.hero__icon { position: absolute; right: 7px; top: 88px; width: 197px; height: 197px; mix-blend-mode: screen; z-index: 1; }
.hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.hero__grad { position: absolute; top: 0; left: 0; right: 0; height: 1325px; background: linear-gradient(180deg, rgba(84, 84, 84, 0) 19%, #000 36%); z-index: 1; }
.hero--round .hero__grad { height: 1152px; }
.hero__text { position: absolute; left: 35px; top: 125px; width: 745px; height: 199px; overflow: clip; z-index: 2; }
.hero__title { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: max-content; font-size: 59px; font-weight: 500; line-height: 1em; text-align: justify; color: #fff; }
.hero__title p { white-space: pre; }
.hero__title--left { left: 0; transform: none; }
.hero__title .sp { letter-spacing: .41em; }
.hero__tag { position: absolute; left: 0; bottom: 67px; font-size: 12px; line-height: 12px; text-align: justify; white-space: pre; color: var(--muted); }
.hero--round .hero__tag { bottom: 65px; }
.hero__logos { position: absolute; left: 0; right: 0; bottom: 0; height: 49px; z-index: 1; }
.logo { position: relative; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo--lovable-svg { width: 101px; height: 31.06px; opacity: .52; }
.logo--lovable { width: 171px; height: 29.09px; opacity: .52; }
.logo--samsung { width: 189px; height: 38.5px; opacity: .52; }
.logo--bmw { width: 30px; height: 30px; overflow: clip; }
.logo--bmw .bmw { position: absolute; inset: 0; background-size: 100% 100%; image-rendering: pixelated; }
.logo--imagi { width: 140px; height: 36.67px; opacity: .5; }
.logo--rapai { width: 104px; height: 35.91px; opacity: .5; }

/* Formular-Container (Career) */
.form-wrap { position: absolute; top: 367px; left: 50%; transform: translateX(-50%); width: 1224px; z-index: 2; }

/* Cal-Embed (2nd-round) */
.round-cal { position: absolute; left: 0; width: 100%; height: 574px; bottom: 65px; overflow: clip; z-index: 2; }
.round-cal__inner { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%; height: 570px; }
.cal-inline { width: 100%; height: 100%; overflow: scroll; }

@media (min-width: 810px) and (max-width: 1199.98px) {
  .hero { height: 1255px; }
  .hero--round { height: 972px; }
  .hero__icon { right: 6px; top: 97px; width: 148px; height: 148px; }
  .hero__grad { height: 1255px; }
  .hero__title { font-size: 45px; left: 0; transform: none; }
  .hero--round .hero__title { font-size: 59px; }
  .hero--round .hero__icon { display: none; }
  .hero__tag { bottom: 92px; }
  .hero--round .hero__tag { bottom: 66px; }
  .hero__logos { width: 569px; right: auto; height: 38px; bottom: 34px; }
  .hero--round .hero__logos { bottom: 3px; }
  .form-wrap { top: 329px; width: 950px; }
  .round-cal { height: 563px; bottom: -6px; left: 50px; width: calc(100% - 100px); }
}
@media (max-width: 809.98px) {
  .hero { height: 1104px; }
  .hero--round { height: 1104px; }
  .hero__bg { width: 152%; }
  .hero__topgrad { background: linear-gradient(180deg, #000 9%, rgba(84, 84, 84, 0) 39%); }
  .hero__icon { display: none; }
  .hero__grad { height: 921px; background: linear-gradient(180deg, rgba(84, 84, 84, 0) 21%, #000 32%); }
  .hero__text { left: 20px; top: 111px; width: 350px; max-width: calc(100% - 40px); height: 107px; }
  .hero__title { font-size: 28px; }
  .hero__title--left { font-size: 29px; }
  .hero__tag { bottom: 39px; font-size: 9px; line-height: 9px; }
  .hero__logos { left: -1px; right: -1px; height: 27px; }
  .logo--lovable-svg { width: 78px; height: 24px; }
  .logo--lovable { width: 118px; height: 20px; }
  .logo--samsung { width: 127px; height: 26px; }
  .logo--bmw { width: 24px; height: 24px; }
  .logo--imagi { width: 108px; height: 28px; }
  .logo--rapai { width: 80px; height: 28px; }
  .form-wrap { top: 286px; left: 8px; right: 8px; width: auto; transform: none; }
  .round-cal { top: 230px; bottom: auto; height: 574px; }
}

/* ==========================================================================
   Formular (Framer Form-Komponente m9drb / OZySk + Input-Komponente EAFBu)
   ========================================================================== */
.form { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; padding: 20px; overflow: hidden; }
.form__content { display: contents; }
.form__head { position: relative; width: 507px; max-width: 100%; height: 57px; overflow: clip; }
.form__title { position: absolute; top: 0; left: 0; z-index: 1; font-size: 22px; font-weight: 600; line-height: 22px; text-align: justify; white-space: pre; color: #fff; }
.form__sub { position: absolute; bottom: 0; left: 1px; z-index: 1; font-size: 12px; line-height: 12px; text-align: justify; color: var(--muted); }
.form__sub p { white-space: pre; }
.form__sub--phone { display: none; }
.form__row { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; overflow: clip; }
.form__row--last { padding-bottom: 10px; }
.form__sep { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 10px; width: 100%; padding-top: 19px; overflow: clip; }
.form__sep i { display: block; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(99, 99, 99, 0) 0%, rgba(99, 99, 99, .76) 38.3657%, rgba(99, 99, 99, .76) 61.2366%, rgba(48, 48, 48, 0) 100%); }

.field { position: relative; display: flex; flex: 1 0 0; flex-direction: column; justify-content: flex-end; gap: 10px; height: 58px; overflow: hidden; cursor: pointer; }
.field__label { position: absolute; left: 11px; bottom: 11px; z-index: 1; font-size: 14px; font-weight: 500; line-height: 16.8px; white-space: pre; color: rgb(97, 97, 97); pointer-events: none; transition: top .2s var(--ease-tween), left .2s var(--ease-tween), bottom .2s var(--ease-tween); }
.field.is-active .field__label { top: 0; left: 0; bottom: auto; }
.field__box {
  position: relative; display: flex; align-items: center; width: 100%; height: 40px; padding: 12px;
  background: rgba(28, 28, 28, .51); border-radius: 10px; overflow: hidden;
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  transition: background .2s var(--ease-tween), box-shadow .2s var(--ease-tween);
}
.field__box::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgb(97, 97, 97); border-radius: 10px; transition: border-color .2s var(--ease-tween), border-width .2s var(--ease-tween); }
.field__box input, .field__box textarea {
  flex: 1; width: auto; min-width: 0; padding: 0; margin: 0; background: none; border: 0; outline: none;
  font-family: var(--font-mono); font-size: 14px; font-weight: 400; line-height: 1.2em; letter-spacing: 0; color: rgb(135, 135, 135);
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.field__box ::placeholder { color: #999; }
.field:focus-within .field__box { background: rgba(69, 69, 69, .51); }
.field:focus-within .field__box::after { border-color: #fff; }
.field:focus-within .field__box input, .field:focus-within .field__box textarea { color: #fff; }
.field.is-filled:not(:focus-within) .field__box { background: rgba(28, 28, 28, .66); }
.field.is-filled:not(:focus-within) .field__box::after { border: 3px solid rgb(43, 43, 43); }
.field.is-filled .field__box input, .field.is-filled .field__box textarea { color: #fff; }
.field.is-error .field__box { background: rgba(38, 21, 21, .5); }
.field.is-error .field__box::after { border: 3px solid rgba(255, 48, 48, .81); }
.field--area { height: 145px; overflow: visible; }
.field--area .field__label { top: 26px; bottom: auto; }
.field--area .field__box { height: 128px; padding: 0; align-items: stretch; }
.field--area textarea { width: 100%; height: 100%; padding: 12px; white-space: break-spaces; overflow-y: auto; resize: vertical; min-height: 128px; max-height: 128px; }
.field--area textarea::-webkit-resizer { background: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2214%22 height=%2214%22><path d=%22m1.5 8 7-7M9 5.5l-3 3%22 stroke=%22%23999%22 stroke-width=%221.5%22 stroke-linecap=%22round%22></path></svg>") no-repeat; }

.form__check { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 10px; cursor: pointer; }
.form__check input {
  appearance: none; -webkit-appearance: none; position: relative; display: flex; justify-content: center; align-items: center;
  width: 16px; height: 16px; margin: 0; flex: none; background: rgba(187, 187, 187, .2); border-radius: 4px; overflow: hidden; cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.form__check input::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; -webkit-mask: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22><path d=%22M 4 8 L 6.5 10.5 L 11.5 5.5%22 fill=%22transparent%22 stroke-width=%222%22 stroke=%22rgb(255, 255, 255)%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22></path></svg>") center / contain no-repeat; mask: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22><path d=%22M 4 8 L 6.5 10.5 L 11.5 5.5%22 fill=%22transparent%22 stroke-width=%222%22 stroke=%22rgb(255, 255, 255)%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22></path></svg>") center / contain no-repeat; transition: opacity .15s; }
.form__check input:checked { background: rgb(0, 153, 255); }
.form__check input:checked::before { opacity: 1; }
.form__check input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px #0099ff; }
.form__check span { font-size: 12px; font-weight: 500; line-height: 14.4px; white-space: pre; color: rgb(136, 136, 136); user-select: none; }

.form__submit-wrap { position: relative; width: 100%; height: 49px; }
.submit {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 17px; cursor: pointer;
  background: #fff; color: #000; transition: background .2s var(--ease-tween);
}
.submit p { font-size: 14px; font-weight: 600; line-height: 16.8px; white-space: pre; text-align: center; user-select: none; }
.submit:hover { background: rgba(255, 255, 255, .73); }
.submit:hover p { font-weight: 700; }
.submit__spinner { display: none; position: relative; width: 20px; height: 20px; overflow: hidden; }
.submit__spinner i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 180deg at 50% 50%, rgb(68, 204, 255) 0deg, rgb(68, 204, 255) 360deg); -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px) ; mask: radial-gradient(circle, transparent 6px, #000 7px); animation: spin 1s linear infinite; }
.submit__spinner i::after { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-loading .submit p { display: none; }
.form.is-loading .submit__spinner { display: block; }
.form.is-error .submit p { color: rgb(255, 34, 68); }
.form.is-success .form__content > * { opacity: 0; pointer-events: none; }
.form.is-success .form__submit-wrap { opacity: 1; pointer-events: auto; }
.form.is-success .submit p { color: #000; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__cal { position: absolute; top: 20px; left: 0; width: 100%; height: calc(100% - 20px); z-index: 1; display: none; }
.form.is-success .form__cal { display: block; }
.form.is-success .form__content > *:not(.form__submit-wrap) { visibility: hidden; }

@media (max-width: 809.98px) {
  .form { gap: 11px; }
  .form__head { width: 302px; height: 49px; }
  .form__title { font-size: 13px; line-height: 13px; }
  .form__sub--desktop { display: none; }
  .form__sub--phone { display: block; top: 22px; bottom: auto; font-size: 9px; line-height: 9px; text-align: left; }
}

/* BMW-Logo (Framer-Vektor, Data-URI wie live) */
.logo--bmw .bmw { background-image: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22 viewBox=%220 0 30 30%22 overflow=%22visible%22><g opacity=%220.93%22><path d=%22M 15 0 C 6.716 0 0 6.716 0 15 C 0 23.284 6.716 30 15 30 C 23.284 30 30 23.284 30 15 C 30.001 6.716 23.284 0 15 0 Z M 29.025 15 C 29.025 22.746 22.746 29.025 15 29.025 C 7.254 29.025 0.975 22.745 0.975 15 C 0.975 7.255 7.255 0.975 15 0.975 C 22.746 0.975 29.025 7.255 29.025 15 Z%22 fill=%22rgb(255,255,255)%22 opacity=%220.52%22></path><path d=%22M 22.27 8.636 C 22.474 8.855 22.767 9.207 22.933 9.422 L 25.97 7.494 C 25.784 7.252 25.592 7.015 25.396 6.781 L 23.472 8.053 L 23.341 8.166 L 23.439 8.023 L 24.288 6.328 L 23.687 5.727 L 21.991 6.577 L 21.848 6.675 L 21.962 6.543 L 23.235 4.621 C 23.002 4.422 22.764 4.23 22.521 4.044 L 20.594 7.078 C 20.838 7.266 21.16 7.542 21.365 7.73 L 23.18 6.788 L 23.297 6.703 L 23.211 6.819 L 22.27 8.636 Z M 15.378 4.79 L 16.207 2.931 L 16.261 2.766 L 16.245 2.938 L 16.333 5.422 C 16.624 5.45 16.924 5.491 17.221 5.539 L 17.086 1.86 C 16.674 1.814 16.26 1.782 15.846 1.764 L 15.029 3.793 L 14.999 3.944 L 14.97 3.793 L 14.153 1.764 C 13.739 1.782 13.325 1.814 12.913 1.86 L 12.779 5.539 C 13.073 5.49 13.37 5.451 13.667 5.422 L 13.754 2.938 L 13.739 2.766 L 13.792 2.93 L 14.622 4.79 Z M 8.665 7.722 C 9.145 7.217 9.417 6.633 8.937 6.076 C 8.676 5.773 8.238 5.707 7.874 5.856 L 7.838 5.87 L 7.849 5.838 C 7.903 5.695 7.937 5.236 7.547 4.919 C 7.356 4.765 7.117 4.708 6.876 4.732 C 6.425 4.778 6.078 5.086 5.135 6.139 C 4.806 6.509 4.49 6.89 4.187 7.281 L 6.779 9.74 C 7.638 8.79 7.987 8.436 8.665 7.722 Z M 5.283 7.121 C 5.805 6.482 6.36 5.903 6.611 5.674 C 6.69 5.601 6.777 5.529 6.882 5.501 C 7.052 5.454 7.228 5.575 7.267 5.749 C 7.307 5.925 7.197 6.091 7.074 6.229 C 6.798 6.54 5.786 7.6 5.786 7.6 Z M 6.298 8.084 C 6.298 8.084 7.284 7.041 7.606 6.708 C 7.734 6.576 7.816 6.495 7.904 6.452 C 8.017 6.397 8.142 6.385 8.253 6.459 C 8.361 6.529 8.414 6.659 8.386 6.784 C 8.353 6.933 8.231 7.075 8.13 7.183 L 6.823 8.582 Z%22 fill=%22rgb(255,255,255)%22 opacity=%220.52%22></path><path d=%22M 23.895 15 L 15.001 15 L 15.001 6.105 C 19.917 6.105 23.896 10.084 23.896 15 Z M 15 15 L 15 23.895 C 10.084 23.895 6.105 19.915 6.105 15 L 15 15 Z%22 fill=%22rgb(255,255,255)%22 opacity=%220.52%22></path><path d=%22M 15 6.105 L 15 15 L 6.105 15 C 6.105 10.084 10.084 6.105 15 6.105 Z%22 fill=%22rgb(0,102,177)%22 opacity=%220.52%22></path><path d=%22M 23.895 15 C 23.895 19.916 19.916 23.895 15 23.895 L 15 15 Z%22 fill=%22rgb(0,102,177)%22 opacity=%220.52%22></path></g></svg>'); }
