/* Teamleitung Eberswalde – page specific polish */

#jhb-job {
  --jhb-badge-1-bg: linear-gradient(180deg, rgba(246, 251, 247, .98) 0%, rgba(233, 244, 236, .98) 100%);
  --jhb-badge-1-ink: #2f4a3a;
  --jhb-badge-2-bg: linear-gradient(180deg, rgba(255, 247, 240, .98) 0%, rgba(248, 232, 218, .98) 100%);
  --jhb-badge-2-ink: #7b4a12;
  --jhb-badge-3-bg: linear-gradient(180deg, rgba(243, 249, 245, .98) 0%, rgba(228, 241, 233, .98) 100%);
  --jhb-badge-3-ink: #335140;
}

#jhb-job .jhb-job-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 18px;
  padding: 11px 18px;
  border: 1px solid rgba(67, 99, 77, .12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(244, 250, 246, .96) 0%, rgba(255,255,255,.96) 100%);
  box-shadow: 0 10px 22px rgba(23, 39, 28, .05);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
  color: #335140;
  text-wrap: balance;
}

#jhb-job .jhb-job-region::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: .78;
}

#jhb-job .jhb-job-lead {
  max-width: 780px;
  margin: 10px auto 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.74;
  color: #38453d;
}


#jhb-job .jhb-job-grid--facts .jhb-job-card {
  display: grid;
  align-content: start;
  justify-items: center;
  grid-template-rows: 24px minmax(40px, auto) minmax(20px, auto);
  gap: 8px;
}

#jhb-job .jhb-job-grid--facts .jhb-job-card__label,
#jhb-job .jhb-job-grid--facts .jhb-job-card__value,
#jhb-job .jhb-job-grid--facts .jhb-job-card__subvalue {
  margin: 0;
  text-align: center;
}

#jhb-job .jhb-job-hero__logo-wrap::before,
#jhb-job .jhb-job-hero__logo-wrap::after {
  animation: none;
}

#jhb-job .jhb-job-hero__logo {
  animation: jhb-hero-icon-pulse 3.4s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: transform, filter;
  filter: drop-shadow(0 10px 18px rgba(18, 34, 22, .10));
}

#jhb-job .jhb-job-hero__badges .jhb-job-hero__badge,
#jhb-job .jhb-job-badges span {
  will-change: transform;
  animation: jhb-badge-float 6.2s ease-in-out infinite;
}

#jhb-job .jhb-job-hero__badges .jhb-job-hero__badge:nth-child(2),
#jhb-job .jhb-job-badges span:nth-child(2) {
  animation-delay: .9s;
}

#jhb-job .jhb-job-hero__badges .jhb-job-hero__badge:nth-child(3),
#jhb-job .jhb-job-badges span:nth-child(3) {
  animation-delay: 1.8s;
}

#jhb-job .jhb-job-hero__badges .jhb-job-hero__badge:nth-child(4),
#jhb-job .jhb-job-badges span:nth-child(4) {
  animation-delay: 2.7s;
}

#jhb-job .jhb-job-hero__badges .jhb-job-hero__badge:hover,
#jhb-job .jhb-job-badges span:hover {
  animation-play-state: paused;
  transform: translateY(-4px);
}

@keyframes jhb-hero-icon-pulse {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1.04) contrast(1.02) drop-shadow(0 10px 18px rgba(18, 34, 22, .10));
  }
  50% {
    transform: translate3d(0, 0, 0) scale(1.045);
    filter: saturate(1.06) contrast(1.03) drop-shadow(0 14px 24px rgba(18, 34, 22, .14));
  }
}

@keyframes jhb-badge-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -4px, 0); }
}



@media (prefers-reduced-motion: reduce) {
  #jhb-job .jhb-job-hero__logo,
  #jhb-job .jhb-job-hero__badges .jhb-job-hero__badge,
  #jhb-job .jhb-job-badges span {
    animation: none !important;
  }
}

@media (max-width: 820px) {
  #jhb-job .jhb-job-region {
    max-width: min(100%, 330px);
    margin: 0 auto 14px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.36;
  }

  #jhb-job .jhb-job-lead {
    max-width: 34ch;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.7;
  }

}
