/* ============================================================
   BSLP — Logik-Overrides aufs Design-CSS
   Loading-Choreography, Tickets-Picker, Reject-Screen,
   Dropdown-Lesbarkeit, Honeypot, Chip-Grid für Anstellung
   ============================================================ */

/* ───────── Dropdown-Option-Lesbarkeit ───────────────────────
   Native <option>-Items übernehmen OS-Default-Farben → bei
   dunklem Theme oft weiß-auf-weiß. Erzwingen, dass das Menü
   beim Aufklappen lesbar bleibt. */
.field select option {
  color: #1a1a1a;
  background: #ffffff;
}
.field select option:checked,
.field select option:hover {
  background: #f0e3c4;
  color: #1a1206;
}

/* ───────── Honeypot (versteckt) ─────────────────────────── */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ───────── Chip-Row Grid (für lange Listen wie Anstellung) ─ */
.chip-row.chip-row--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 12px 0 4px;
}
.chip-row.chip-row--grid .chip { display: block; width: 100%; }
.chip-row.chip-row--grid .chip span {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.35;
}
.chip-row.chip-row--grid .chip--wide { grid-column: span 2; }

@media (max-width: 600px) {
  .chip-row.chip-row--grid { grid-template-columns: 1fr; }
  .chip-row.chip-row--grid .chip--wide { grid-column: span 1; }
}

/* ───────── Apply-Step error message ─────────────────────── */
.apply-step__error {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 107, 107, 0.10);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ff9090;
  font-size: 13.5px;
  text-align: center;
  display: none;
}
.apply-step__error.is-visible { display: block; }

/* ───────── LOADING SCREEN ───────────────────────────────── */
.apply-loading {
  text-align: center;
  padding: 40px 0 24px;
  animation: stepIn 0.5s var(--ease);
  max-width: 640px;
  margin: 0 auto;
}
.apply-loading__ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
}
.apply-loading__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.apply-loading__circle {
  animation: applyLoadingSpin 1.3s linear infinite;
  transform-origin: 32px 32px;
}
@keyframes applyLoadingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.apply-loading__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text);
}

.apply-loading__painpoint {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 3px solid var(--gold-2);
  border-radius: 14px;
  padding: 22px 24px 18px;
  text-align: left;
  margin: 0 auto 32px;
  min-height: 8em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.apply-loading__painpoint-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
  transition: opacity 0.45s ease;
}
.apply-loading__painpoint-source {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0;
  transition: opacity 0.45s ease;
}
.apply-loading__painpoint.is-fading .apply-loading__painpoint-text,
.apply-loading__painpoint.is-fading .apply-loading__painpoint-source {
  opacity: 0;
}

.apply-loading__phases {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.apply-loading__phase {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.apply-loading__phase.is-current {
  color: var(--gold-1);
  font-weight: 600;
}
.apply-loading__phase.is-current::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
}
.apply-loading__phase.is-done { color: var(--gold-2); }

@media (max-width: 480px) {
  .apply-loading__phases { gap: 16px; }
  .apply-loading__phase { font-size: 10px; }
}

/* ───────── TICKETS-PICKER (nach QUALIFIED) ──────────────── */
.apply-tickets { animation: stepIn 0.55s var(--ease); }
.apply-tickets .section__head { margin-bottom: 40px; }

.packages__grid--two {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .packages__grid--two { grid-template-columns: 1fr; }
}

/* Package als ganzes klickbar (data-tier) */
.package--clickable {
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.package--clickable:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 177, 87, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.package__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--grad-gold);
  color: #1a1206;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  pointer-events: none;
  transition: transform 0.2s var(--ease);
}
.package--clickable:hover .package__cta { transform: scale(1.02); }

/* Free-Tier (Kostenfrei statt €-Betrag) */
.package__price--free .amount {
  font-size: 0.6em;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.package__price--free .currency { display: none; }

/* ───────── REJECT-SCREEN ───────────────────────────────── */
.apply-reject {
  animation: stepIn 0.55s var(--ease);
  padding: 40px 0;
  max-width: 720px;
  margin: 0 auto;
}
.apply-reject .section__head { margin-bottom: 0; }
.apply-reject__card {
  max-width: 460px;
  margin: 36px auto 0;
  text-decoration: none;
  text-align: left;
  color: inherit;
}
.apply-reject__card .package__flag {
  background: var(--grad-gold);
  color: #1a1206;
  border-color: transparent;
  font-weight: 700;
}
.apply-reject__back {
  display: block;
  text-align: center;
  margin-top: 32px;
  color: var(--text-3);
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.apply-reject__back:hover { color: var(--text-2); }

/* ───────── ERROR-SCREEN ───────────────────────────────── */
.apply-error-screen {
  animation: stepIn 0.55s var(--ease);
  text-align: center;
  padding: 40px 0;
  max-width: 540px;
  margin: 0 auto;
}
.apply-error-screen__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.10);
  border: 1px solid rgba(255, 107, 107, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9090;
}
.apply-error-screen h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  margin-bottom: 12px;
}
.apply-error-screen p {
  color: var(--text-2);
  margin: 0 0 24px;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================================================
   MOBILE-FIXES  (≤ 768px) — Index-Hero + Nav
   Marian-Brief 12.05.2026: Headline-Cutoff, Subline-Size,
   Kennzahlen-Wrap, Bildmarke statt Wortmarke
   =========================================================== */

/* Desktop-Default: Mobile-Bildmarke versteckt */
.nav__logo--mobile { display: none; }

@media (max-width: 768px) {
  /* ---------- (4) NAV: nur Bildmarke + CTA mittig + Burger rechts ----------
     Nur für die LP-Nav (Index). Bewerbungsseite hat `.nav--apply`-Modifier
     und bleibt unangetastet. */
  .nav:not(.nav--apply) {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
  }
  .nav:not(.nav--apply) .nav__logo--desktop { display: none !important; }
  .nav:not(.nav--apply) .nav__logo--mobile {
    display: block !important;
    width: 40px;
    height: 40px;
  }
  .nav:not(.nav--apply) .nav__brand { max-width: 40px; }
  .nav:not(.nav--apply) .nav__cta {
    justify-self: center;
    padding: 11px 22px !important;
    font-size: 14px !important;
  }
  .nav:not(.nav--apply) .nav__burger { display: flex; justify-self: end; }

  /* ---------- (1) HEADLINE: passt komplett in den Viewport ---------- */
  .hero__title--huge {
    font-size: clamp(36px, 11vw, 64px) !important;
    letter-spacing: -0.03em !important;
    padding-inline: 8px;
    line-height: 0.92 !important;
  }
  /* AUFBRUCH war 1.42× → reduziert auf 1.22×, damit nichts mehr rechts überläuft */
  .hero__title--huge .line:nth-child(2) > span {
    font-size: 1.22em !important;
    letter-spacing: -0.04em !important;
    line-height: 0.92 !important;
  }
  .hero__title--huge .line:nth-child(2) {
    margin-top: -0.10em !important;
  }

  /* ---------- (2) SUBLINE: kleiner → max 2-3 Zeilen ---------- */
  .hero__sub--lead {
    font-size: clamp(15px, 4.2vw, 19px) !important;
    line-height: 1.35 !important;
    max-width: 92vw;
    margin: 14px auto 20px !important;
    padding-inline: 8px;
  }

  /* ---------- (3) KENNZAHLEN: alle 3 nebeneinander, kein Wrap ---------- */
  .hero__meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px !important;
    padding: 14px 10px !important;
    border-radius: 18px;
    width: 100%;
    max-width: 94vw;
    margin: 0 auto 40px !important;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .hero__meta-item {
    min-width: 0;
    flex: 1 1 0;
    text-align: center;
    padding: 0 2px;
  }
  .hero__meta-num {
    font-size: clamp(18px, 5.2vw, 26px) !important;
    white-space: nowrap;
  }
  .hero__meta-label {
    font-size: 9px !important;
    letter-spacing: 0.06em !important;
    line-height: 1.2;
    margin-top: 4px;
    word-break: keep-all;
  }
  .hero__divider {
    width: 1px;
    height: 26px;
    flex-shrink: 0;
  }

  /* ---------- (6) STEP-INDIKATOR (Bewerbungsseite): "BESTÄTIGUNG" passte nicht ----------
     Mobile: kleinere Schrift + weniger letter-spacing + alle Dots flexen gleichmäßig. */
  .apply-form__progress { gap: 4px !important; }
  .step-dot {
    flex: 1 1 0;
    min-width: 0;
  }
  .step-dot label {
    font-size: 9px !important;
    letter-spacing: 0.05em !important;
    text-align: center;
    line-height: 1.1;
    white-space: nowrap;
  }
  .step-line { min-width: 8px; }

  /* ---------- (5) HOTEL-CARDS: Label + Wert untereinander statt nebeneinander ---------- */
  .venue-map__card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0 !important;
  }
  .venue-map__card-row span:first-child {
    font-size: 11px;
    /* Caption-Look bleibt: uppercase + grau + letter-spacing — wie im Original */
  }
  .venue-map__card-row span:last-child {
    font-size: 14px;
    line-height: 1.35;
    /* Wert auf voller Card-Breite, bricht jetzt sauber um wenn nötig */
  }
}

/* ───────── Reject-Screen: Eyebrow „Bewerbung nicht angenommen" ─────────
   Default .eyebrow ist 12 px — auf dem SOFT_REJECT-Bildschirm soll der
   Status-Hinweis als eigenständige Sub-Headline lesbar sein, damit der
   Bewerber sofort erkennt: Bewerbung wurde nicht angenommen, hier folgt
   die Alternative. */
.eyebrow.eyebrow--xl {
  font-size: 22px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.25;
}
@media (max-width: 560px) {
  .eyebrow.eyebrow--xl {
    font-size: 17px;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
  }
}

/* ============================================================
   DANKE-SEITE (/danke) — Thank-You-Page Styles
   Quelle: 05_LP_UA/css/style.css, Thanks-Block (Lines 1488–1593).
   Wir ziehen die Styles als Override hier rein, weil der LIVE
   /css/style.css keine .thanks-*-Regeln kennt (das Hauptdesign
   ist älter als die Danke-Seite). Step-3-Upgrade-Klassen sind
   bewusst NICHT enthalten — diese Seite zeigt nur Step 1 + 2.
   ============================================================ */
@keyframes thanksFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.thanks-page { position: relative; min-height: calc(100dvh - 90px); padding: 80px 24px 120px; overflow: hidden; }
.thanks-page .thanks-head__badge,
.thanks-page .thanks-head__title,
.thanks-page .thanks-head__lead,
.thanks-page .thanks-eyebrow,
.thanks-page .thanks-step {
  animation: thanksFadeUp 0.9s var(--ease) forwards;
}
.thanks-page .thanks-head__title { animation-delay: 0.05s; }
.thanks-page .thanks-head__lead  { animation-delay: 0.1s; }
.thanks-page .thanks-eyebrow     { animation-delay: 0.15s; }
.thanks-page .thanks-step:nth-of-type(1) { animation-delay: 0.2s; }
.thanks-page .thanks-step:nth-of-type(2) { animation-delay: 0.25s; }
.thanks-page__bg { position: absolute; inset: 0; pointer-events: none; }
.thanks-page__inner { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; }

.thanks-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.thanks-head__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(67, 200, 110, 0.18), rgba(67, 200, 110, 0.04));
  border: 1px solid rgba(67, 200, 110, 0.4);
  color: #8de4a3; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 28px;
}
.thanks-head__badge svg { width: 16px; height: 16px; }
.thanks-head__title {
  font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 22px;
  padding-bottom: 0.14em;
}
.thanks-head__title em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thanks-head__lead { color: var(--text-2); font-size: clamp(15px, 1.3vw, 18px); max-width: 620px; margin: 0 auto; }

.thanks-eyebrow {
  text-align: center; font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 32px;
}

.thanks-steps { display: flex; flex-direction: column; gap: 22px; }

.thanks-step {
  position: relative;
  display: grid; grid-template-columns: 78px 1fr; gap: 28px;
  padding: 36px clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
    radial-gradient(circle at 100% 0%, rgba(226,177,87,0.06), transparent 50%);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.thanks-step:hover { transform: translateY(-3px); border-color: rgba(226,177,87,0.3); }
.thanks-step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 700;
  background: var(--grad-gold-soft);
  border: 1px solid rgba(226,177,87,0.35);
  color: var(--gold-1);
}
.thanks-step__body { padding-top: 6px; }
.thanks-step__label { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.thanks-step__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.01em; }
.thanks-step__text { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.thanks-step__text strong { color: var(--text); font-weight: 600; }

.thanks-info {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(226,177,87,0.35);
  border-radius: 14px;
  background: rgba(226,177,87,0.06);
  color: var(--text-2); font-size: 14px;
}
.thanks-info svg { width: 18px; height: 18px; color: var(--gold-2); flex-shrink: 0; }

.thanks-cal { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.thanks-cal__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: 0.3s var(--ease);
}
.thanks-cal__btn:hover { border-color: var(--gold-2); background: rgba(226,177,87,0.08); color: var(--gold-1); }
.thanks-cal__btn svg { width: 18px; height: 18px; }

.thanks-event {
  display: flex; flex-wrap: wrap; gap: 22px 32px;
  margin-top: 18px; padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.thanks-event__item { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.thanks-event__item svg { width: 16px; height: 16px; color: var(--gold-2); }

.thanks-support {
  margin-top: 56px; text-align: center;
  color: var(--text-3); font-size: 14px;
}
.thanks-support a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.thanks-support a:hover { color: var(--gold-1); }

@media (max-width: 720px) {
  .thanks-step { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
  .thanks-step__num { width: 56px; height: 56px; font-size: 22px; }
}

