/* =====================================================================
   Karriere-Funnel – ergänzt ../../css/site.min.css (Farben, Buttons,
   Karten und Formularfelder kommen von dort).
   ===================================================================== */

/* ---------- Kopfzeile ---------- */
.apply-header .site-header__inner { gap: 16px; }
.apply-header__hint { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .72); font-size: .92rem; }

/* ---------- Hero mit Formular ---------- */
.apply-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(48px, 7vw, 88px); color: #fff; background: radial-gradient(circle at 12% 18%, rgba(251, 199, 7, .20), transparent 34%), radial-gradient(circle at 88% 86%, rgba(251, 199, 7, .11), transparent 32%), linear-gradient(135deg, var(--ink), var(--navy) 58%, var(--navy-2)); }
.apply-hero .eyebrow { color: var(--gold-soft); background: rgba(251, 199, 7, .13); }
.apply-hero .apply-card h1 { color: var(--navy); }
.apply-header .btn { white-space: nowrap; }
.apply-header .brand img { height: 34px; }
.apply-header__hint span { display: none; }
.apply-hero .apply-card .eyebrow { color: var(--gold-ink); background: rgba(245, 180, 0, .15); }
.apply-hero__intro > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.apply-hero__intro > h1 { animation-name: slide-up; }
.apply-hero__intro > p { animation-delay: .12s; }
.apply-card { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .15s backwards; }
.apply-points li { animation: rise .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.apply-points li:nth-child(1) { animation-delay: .3s; }
.apply-points li:nth-child(2) { animation-delay: .4s; }
.apply-points li:nth-child(3) { animation-delay: .5s; }
.apply-hero__grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "intro" "card" "points"; grid-template-rows: auto; gap: 26px 0; align-items: start; }
.apply-hero__intro { grid-area: intro; padding-top: 0; }
.apply-hero__points { grid-area: points; margin-top: 6px; }
.apply-hero h1 { margin-top: 20px; color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; }
.apply-hero h1 span { display: block; margin-top: .55em; color: var(--gold); font-size: .5em; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.apply-hero__lead { max-width: 560px; margin-top: 22px; color: var(--on-dark); font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
.apply-points { display: grid; gap: 12px; }
.apply-points li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .92); font-weight: 600; }
.apply-points .icon { width: 26px; height: 26px; padding: 5px; margin-top: 1px; border-radius: 50%; color: #14110a; background: var(--gold); stroke-width: 3; }
.apply-points small { display: block; color: rgba(255, 255, 255, .62); font-size: .9rem; font-weight: 400; }

/* ---------- Formularkarte ---------- */
.apply-card { grid-area: card; width: 100%; max-width: 620px; margin-inline: auto; padding: clamp(20px, 3vw, 32px); color: var(--text); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, .42); scroll-margin-top: calc(var(--header-h) + 16px); }
.apply-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.apply-card__kicker { color: var(--gold-ink); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.apply-card__count { flex: none; padding: 5px 12px; border-radius: 999px; color: #fff; background: var(--navy); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.apply-progress { height: 8px; margin: 14px 0 22px; border-radius: 999px; background: #e8ebf0; overflow: hidden; }
.apply-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); transition: width .35s ease; }
.apply-status { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; color: #8a1c1c; background: #fde8e8; border: 1px solid #f3bcbc; font-size: .95rem; font-weight: 600; }

.js .step { display: none; }
.js .step.is-active { display: block; animation: step-in .3s ease; }
html:not(.js) .step + .step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
html:not(.js) #nextBtn, html:not(.js) .apply-card__count, html:not(.js) .apply-progress { display: none; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.step h2 { margin-bottom: 6px; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.015em; }
.step__hint { margin-bottom: 16px; color: var(--muted); font-size: .95rem; }

.choices { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 48px 14px 16px; background: #fff; border: 1.5px solid #d5dae2; border-radius: 14px; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.choice span::after { content: ""; position: absolute; top: 50%; right: 16px; width: 20px; height: 20px; margin-top: -10px; border: 2px solid #c3cad4; border-radius: 50%; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.choice strong { color: var(--navy); font-weight: 650; line-height: 1.3; }
.choice small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.choice:hover span { border-color: var(--gold-deep); transform: translateY(-1px); }
.choice input:checked + span { background: rgba(245, 180, 0, .10); border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(245, 180, 0, .18); }
.choice input:checked + span::after { background: var(--gold-deep); border-color: var(--gold-deep); box-shadow: inset 0 0 0 4px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.apply-card .form-grid { margin-top: 4px; }
.apply-card .field input:user-invalid { border-color: #d14343; }
.apply-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.apply-nav .btn { min-height: 48px; }
.apply-nav .btn--submit { flex: 1; }
.apply-nav__next { margin-left: auto; }
.field textarea.is-short { min-height: 88px; }
.thanks__action { margin-top: 26px; }
.apply-hero .breadcrumb { margin-bottom: 18px; }
.apply-hero .breadcrumb ol { color: rgba(255, 255, 255, .62); }
.apply-hero .breadcrumb a:hover { color: var(--gold-soft); }
.apply-hero .breadcrumb [aria-current] { color: #fff; }
.apply-note { margin-top: 14px; color: var(--muted); font-size: .86rem; text-align: center; }

/* ---------- Inhalte unter dem Formular ---------- */
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.req-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.req-card { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.req-card h3 { margin-bottom: 18px; font-size: 1.35rem; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { width: 24px; height: 24px; padding: 5px; margin-top: 2px; border-radius: 50%; color: var(--gold-ink); background: rgba(245, 180, 0, .18); stroke-width: 3; }

.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { padding: 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--gold-ink); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

.apply-cta { text-align: center; }
.apply-cta p { max-width: 560px; margin: 16px auto 0; color: var(--on-dark); font-size: 1.1rem; }
.apply-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

.apply-footer { padding: 26px 0 92px; color: rgba(255, 255, 255, .72); background: var(--ink); font-size: .92rem; }
.apply-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.apply-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.apply-footer a:hover { color: var(--gold-soft); }

/* ---------- Dankeseite ---------- */
.thanks { min-height: 100dvh; display: grid; place-items: center; padding: 40px 0; }
.thanks .apply-card { max-width: 640px; margin-inline: auto; text-align: center; }
.thanks h1 { margin: 18px 0 12px; font-size: clamp(2rem, 6vw, 3rem); }
.thanks .process-mini { display: grid; gap: 12px; margin: 26px 0; text-align: left; counter-reset: s; }
.thanks .process-mini li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.thanks .process-mini li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; color: #14110a; background: var(--gold); font-weight: 800; font-size: .9rem; }

/* ---------- Feste Bewerben-Leiste (Smartphone) ---------- */
.apply-sticky { position: fixed; inset: auto 0 0 0; z-index: 900; display: block; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7, 9, 13, .96); border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -10px 30px rgba(0, 0, 0, .3); transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.apply-sticky.is-visible { transform: none; visibility: visible; }
.apply-sticky .btn { width: 100%; min-height: 48px; }

/* =====================================================================
   Größere Bildschirme (Mobile-First: nur Ergänzungen zur Grundfassung)
   ===================================================================== */
@media (min-width: 641px) {
  .apply-header .brand img { height: 42px; }
  .apply-header__hint span { display: inline; }
  .apply-card { border-radius: 24px; }
  .step h2 { font-size: 1.35rem; }
  .benefit-grid, .req-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-footer { padding-bottom: 26px; }
  .apply-sticky { display: none; }
}
@media (min-width: 961px) {
  .apply-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "intro card" "points card"; grid-template-rows: auto 1fr; gap: 0 clamp(28px, 5vw, 72px); }
  .apply-hero__intro { padding-top: clamp(0px, 3vw, 36px); }
  .apply-hero__points { margin-top: 30px; }
  .apply-card { width: auto; max-width: none; margin-inline: 0; }
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
