/* ============================================================
   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);
  text-align: center;
  padding: 40px 0;
  max-width: 580px;
  margin: 0 auto;
}
.apply-reject__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}
.apply-reject__icon svg { width: 44px; height: 44px; }
.apply-reject h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.apply-reject p {
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 14px;
}

/* ───────── 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); }
}
