/**
 * Hub34 – Recruiting Funnel (Referenz-Struktur, Premium UI)
 */
.rc-funnel-page {
  background: var(--h34-bg, #f5f5f7);
  padding: 2rem 0 4rem;
}

.rc-funnel-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.rc-funnel-card {
  background: #fff;
  border: 1px solid rgba(15, 20, 25, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(15, 20, 25, 0.08), 0 2px 8px rgba(15, 20, 25, 0.04);
  overflow: hidden;
}

.rc-profile {
  position: relative;
  text-align: center;
  padding: 0 1.5rem 1.35rem;
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
  background: #fff;
}

.rc-profile-banner {
  margin: 0 -1.5rem 0;
  height: 140px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.rc-profile-banner--brand {
  background: linear-gradient(135deg, #1a1d24 0%, #2d323c 50%, rgba(255, 107, 0, 0.25) 100%);
}

.rc-profile-banner--brand img {
  display: none;
}

.rc-profile-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rc-funnel-card:hover .rc-profile-banner-img {
  transform: scale(1.06);
}

.rc-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 12px 32px rgba(15, 20, 25, 0.14);
  margin: -48px auto 0.75rem;
  position: relative;
  z-index: 2;
}

.rc-avatar--vector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  margin-top: -54px;
  padding: 0;
  overflow: hidden;
  background: #f5f5f7;
  border: 4px solid #fff;
  box-shadow:
    0 12px 32px rgba(15, 20, 25, 0.14),
    0 0 0 1px rgba(255, 107, 0, 0.12);
}

.rc-avatar--vector .h34-career-avatar,
.rc-avatar--vector > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rc-profile-banner--brand {
  height: 152px;
}

.rc-reject-visual .rc-reject-avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(15, 20, 25, 0.1);
  background: #f5f5f7;
}

.rc-reject-photo {
  object-fit: cover;
  object-position: center;
}

.rc-profile-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b00;
}

.rc-profile-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1419;
  margin-top: 0.15rem;
}

.rc-progress-block {
  padding: 1.25rem 1.5rem 0;
}

.rc-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c6578;
  margin-bottom: 0.5rem;
}

.rc-progress-track {
  height: 8px;
  background: #ebebed;
  border-radius: 999px;
  overflow: hidden;
}

.rc-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b00, #ff8c33);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.35);
}

.rc-progress-fill.is-reject {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
  box-shadow: none;
}

.rc-step-body {
  padding: 1.75rem 1.5rem 2rem;
}

.rc-step {
  display: none;
  animation: rcStepIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#hub34-recruiting-funnel[data-rc-step-active="reject"] .rc-progress-block,
#hub34-recruiting-funnel[data-rc-step-active="success"] .rc-progress-block {
  opacity: 0.85;
}

.rc-step.is-active {
  display: block;
}

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

.rc-step h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f1419;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.rc-step .rc-lead {
  font-size: 0.95rem;
  color: #5c6578;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

/* Area cards */
.rc-area-grid {
  display: grid;
  gap: 1rem;
}

.rc-area-card {
  position: relative;
  cursor: pointer;
}

.rc-area-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rc-area-card .rc-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 2px solid #e5e5ea;
  border-radius: 16px;
  background: #fafafa;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.rc-area-card:hover .rc-card-inner {
  border-color: rgba(255, 107, 0, 0.35);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 20, 25, 0.06);
  transform: translateY(-2px);
}

.rc-area-card input:checked + .rc-card-inner {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.06);
  box-shadow: 0 0 0 1px #ff6b00, 0 12px 32px rgba(255, 107, 0, 0.12);
}

.rc-area-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.12);
  color: #ff6b00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.rc-area-card input:checked + .rc-card-inner .rc-area-icon {
  background: #ff6b00;
  color: #fff;
}

.rc-area-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f1419;
  display: block;
}

.rc-area-sub {
  font-size: 0.85rem;
  color: #5c6578;
  margin-top: 0.2rem;
  display: block;
}

/* Role info */
.rc-role-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.rc-role-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.rc-role-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: #3d4654;
}

.rc-role-list li i {
  color: #ff6b00;
  margin-top: 0.2rem;
  font-size: 0.75rem;
}

/* Screening options */
.rc-choice-grid {
  display: grid;
  gap: 0.65rem;
}

.rc-choice {
  position: relative;
}

.rc-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rc-choice label {
  display: block;
  padding: 1rem 1.15rem;
  border: 2px solid #e5e5ea;
  border-radius: 14px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #3d4654;
  text-align: center;
  cursor: pointer;
  margin: 0;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.rc-choice label:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15, 20, 25, 0.06);
}

.rc-choice input:checked + label {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.08);
  color: #0f1419;
  box-shadow: 0 0 0 1px #ff6b00, 0 8px 20px rgba(255, 107, 0, 0.15);
}

.rc-choice.is-picked label {
  transform: scale(0.98);
}

@keyframes rcChoicePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.45);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
  }
}

.rc-choice.is-picked input:checked + label {
  animation: rcChoicePulse 0.4s ease-out;
}

.rc-choice.rc-choice-danger input:checked + label {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.06);
  color: #b91c1c;
}

/* Zustimmung Stellenbeschreibung */
.rc-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 2px solid #e5e5ea;
  border-radius: 14px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.rc-consent:hover {
  border-color: rgba(255, 107, 0, 0.35);
  background: #fff;
}

.rc-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rc-consent-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  border: 2px solid #c5c9d2;
  border-radius: 6px;
  background: #fff;
  position: relative;
  transition: all 0.2s ease;
}

.rc-consent input:checked + .rc-consent-box {
  border-color: #ff6b00;
  background: #ff6b00;
}

.rc-consent input:checked + .rc-consent-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rc-consent-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: #3d4654;
}

.rc-consent:has(input:checked) {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.2);
}

/* Zurück-Link (Screening) */
.rc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8b95a8;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.rc-back-link:hover {
  color: #ff6b00;
  transform: translateX(-2px);
}

.rc-btn.is-disabled,
.rc-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* FAQ */
.rc-faq {
  margin: 1.5rem 0 0;
  border-top: 1px solid #ebebed;
  padding-top: 1.25rem;
}

.rc-faq-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b95a8;
  margin-bottom: 0.75rem;
}

.rc-faq-item {
  border: 1px solid #ebebed;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rc-faq-item.is-open {
  border-color: rgba(255, 107, 0, 0.25);
  box-shadow: 0 4px 12px rgba(15, 20, 25, 0.04);
  background: #fff;
}

.rc-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f1419;
  text-align: left;
  cursor: pointer;
}

.rc-faq-trigger i.rc-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ebebed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #5c6578;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, color 0.2s;
}

.rc-faq-item.is-open .rc-faq-trigger i.rc-chevron {
  transform: rotate(180deg);
  background: rgba(255, 107, 0, 0.15);
  color: #ff6b00;
}

.rc-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rc-faq-item.is-open .rc-faq-panel {
  max-height: 400px;
}

.rc-faq-item--rich.is-open .rc-faq-panel {
  max-height: 720px;
}

.rc-faq-content {
  padding: 0 1.1rem 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #5c6578;
}

/* Vergütung – Premium-Karten */
.rc-pay-intro {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: #3d4654;
}

.rc-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.rc-pay-card {
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #ebebed;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rc-pay-card--primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 107, 0, 0.04));
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
}

.rc-pay-amount {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f1419;
  line-height: 1.2;
}

.rc-pay-card--primary .rc-pay-amount {
  font-size: 1.75rem;
  color: #ff6b00;
}

.rc-pay-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b95a8;
}

.rc-pay-plus {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff6b00;
}

.rc-pay-footnote {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #8b95a8;
  padding: 0.65rem 0.75rem;
  background: #f5f5f7;
  border-radius: 10px;
}

/* Auszahlung – Timeline */
.rc-payout-flow {
  display: grid;
  gap: 0.65rem;
}

.rc-payout-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  background: #f5f5f7;
  border-radius: 12px;
  border: 1px solid #ebebed;
}

.rc-payout-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.12);
  color: #ff6b00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.rc-payout-step strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b95a8;
  margin-bottom: 0.2rem;
}

.rc-payout-step p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #3d4654;
}

.rc-choice.is-picked {
  border-color: #ff6b00;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

/* Reject */
.rc-reject-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f1f3;
  color: #5c6578;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 1.25rem;
}

.rc-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.rc-reject-visual {
  text-align: center;
  margin-bottom: 1.5rem;
}

.rc-reject-visual img {
  width: 100%;
  max-width: 280px;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  border: none;
  box-shadow: 0 8px 28px rgba(15, 20, 25, 0.1);
  filter: saturate(0.85);
}

.rc-reject-box {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.rc-reject-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3d4654;
}

.rc-reject-box p + p {
  margin-top: 0.75rem;
  color: #5c6578;
  font-size: 0.9rem;
}

/* Calendly */
.rc-calendly-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #3d4654;
  line-height: 1.55;
}

.rc-calendly-note i {
  color: #ff6b00;
  margin-top: 0.15rem;
}

.rc-calendly-embed {
  min-height: 620px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ebebed;
  background: #fafafa;
}

.rc-calendly-embed iframe {
  width: 100%;
  height: 620px;
  border: 0;
}

.rc-calendly-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
  text-align: center;
  color: #5c6578;
}

/* Nav */
.rc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ebebed;
}

.rc-nav.is-hidden {
  display: none;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.rc-btn-primary {
  background: #ff6b00;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.rc-btn-primary:hover {
  background: #e85f00;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.rc-btn-ghost {
  background: transparent;
  color: #5c6578 !important;
  border: 1px solid #e5e5ea;
}

.rc-btn-ghost:hover {
  background: #f5f5f7;
  color: #0f1419 !important;
}

.rc-btn-block {
  width: 100%;
}

.rc-hidden {
  display: none !important;
}

@media (max-width: 575px) {
  .rc-funnel-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .rc-profile-banner {
    margin: 0;
    border-radius: 0;
    height: 120px;
  }

  .rc-pay-grid {
    grid-template-columns: 1fr;
  }

  .rc-pay-card--primary {
    grid-column: auto;
  }

  .rc-step-body {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .rc-calendly-embed,
  .rc-calendly-embed iframe {
    min-height: 520px;
    height: 520px;
  }
}
