:root {
  --job-blue: #014672;
  --job-blue-bright: #036ea5;
  --job-blue-soft: #eaf4fc;
  --job-orange: #f39100;
  --job-orange-dark: #d97706;
  --job-ink: #263746;
  --job-muted: #5e7080;
  --job-line: #dbe5ec;
  --job-surface: #ffffff;
}

body {
  background: #f5f8fa;
  color: var(--job-ink);
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

.hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.13), transparent 24rem),
    linear-gradient(135deg, #013b61 0%, var(--job-blue) 52%, var(--job-blue-bright) 100%);
  color: #fff;
  margin-top: 100px;
  overflow: hidden;
  padding: 5.5rem 1rem 4rem;
  position: relative;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 auto 1rem;
  max-width: 1050px;
}

.hero p {
  color: #d9edf7;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
  margin: 0.5rem auto 0;
  max-width: 930px;
}

.hero .lead {
  font-weight: 400;
  padding: 0;
}

.job-eyebrow {
  color: #ffbd61;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.sht-hero__line {
  animation: expandLine 0.9s ease-out forwards;
  background: var(--job-orange);
  border-radius: 99px;
  height: 4px;
  margin: 1.4rem auto 0;
  max-width: 210px;
  width: 0;
}

@keyframes expandLine {
  to { width: 210px; }
}

.section-wrapper {
  margin: 0 auto;
  max-width: 1120px;
  padding: 4.5rem 1rem;
}

.section-heading {
  margin: 0 auto 2rem;
  max-width: 780px;
  text-align: center;
}

.section-heading > span,
.section-kicker {
  color: var(--job-orange-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.section-heading h2,
.job-work-section h2 {
  color: var(--job-blue);
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-heading p,
.job-work-section p {
  color: var(--job-muted);
  line-height: 1.75;
}

.job-card-list {
  display: grid;
  gap: 1.2rem;
}

.job-card {
  align-items: flex-start;
  background: var(--job-surface);
  border: 1px solid rgba(1, 70, 114, 0.08);
  border-radius: 1rem;
  box-shadow: 0 12px 34px rgba(20, 51, 72, 0.08);
  display: flex;
  gap: 1.35rem;
  padding: 1.65rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
  border-color: rgba(243, 145, 0, 0.42);
  box-shadow: 0 16px 38px rgba(20, 51, 72, 0.13);
  transform: translateY(-2px);
}

.job-icon {
  align-items: center;
  background: linear-gradient(145deg, var(--job-blue-soft), #f5fbff);
  border-radius: 0.85rem;
  color: var(--job-blue);
  display: flex;
  flex: 0 0 72px;
  font-size: 1.9rem;
  height: 72px;
  justify-content: center;
}

.job-content {
  flex: 1;
  min-width: 0;
}

.job-card-meta {
  color: var(--job-orange-dark);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.job-title {
  color: var(--job-blue);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.6rem;
}

.job-title span {
  white-space: nowrap;
}

.job-text {
  color: var(--job-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0 0 0.9rem;
}

.job-link {
  align-items: center;
  color: var(--job-blue);
  display: inline-flex;
  font-weight: 700;
  gap: 0.45rem;
  text-decoration: none;
}

.job-link i {
  transition: transform 0.2s ease;
}

.job-link:hover {
  color: var(--job-orange-dark);
}

.job-link:hover i {
  transform: translateX(4px);
}

.job-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.job-apply-link {
  background: var(--job-orange);
  border-radius: 0.5rem;
  color: #fff;
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.job-apply-link:hover {
  background: var(--job-orange-dark);
  color: #fff;
}

.job-work-section {
  background: var(--job-surface);
  border: 1px solid var(--job-line);
  border-radius: 1rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-bottom: 5rem;
  padding: 2.5rem;
}

.job-detail-hero {
  padding-bottom: 3.5rem;
}

.job-section {
  background: var(--job-surface);
  border: 1px solid rgba(1, 70, 114, 0.08);
  border-radius: 1rem;
  box-shadow: 0 16px 44px rgba(20, 51, 72, 0.08);
  margin: 3.5rem auto 5rem;
  max-width: 980px;
  padding: clamp(1.25rem, 4vw, 3rem);
  width: calc(100% - 2rem);
}

.job-section h2 {
  color: var(--job-blue);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.job-section p {
  line-height: 1.75;
}

.job-section ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.job-section li {
  line-height: 1.65;
  margin-bottom: 0.75rem;
  padding-left: 1.65rem;
  position: relative;
}

.job-section li::before {
  color: var(--job-orange);
  content: "\2713";
  font-weight: 700;
  left: 0;
  position: absolute;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.job-meta span {
  background: var(--job-blue-soft);
  border-radius: 999px;
  color: var(--job-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
}

.job-meta i {
  color: var(--job-orange-dark);
  margin-right: 0.2rem;
}

.job-intro {
  font-size: 1.03rem;
}

.section-divider {
  background: var(--job-line);
  height: 1px;
  margin: 2.35rem 0;
}

.job-note {
  background: #f5f9fc;
  border-left: 4px solid var(--job-orange);
  border-radius: 0 0.55rem 0.55rem 0;
  padding: 1rem 1.15rem;
}

.apply-panel {
  align-items: center;
  background: linear-gradient(135deg, #013f68, #076b9d);
  border-radius: 0.85rem;
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding: 1.6rem;
}

.apply-panel h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.apply-panel p {
  color: #d9edf7;
  margin: 0;
  max-width: 620px;
}

.btn-apply {
  align-items: center;
  background: var(--job-orange);
  border-radius: 0.55rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 700;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-apply:hover {
  background: var(--job-orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.kontaktbox {
  background: var(--job-blue-soft);
  border-left: 4px solid var(--job-blue);
  border-radius: 0.55rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.back-to-overview {
  margin: 2rem 0 0;
}

.back-to-overview a {
  color: var(--job-blue);
  font-weight: 700;
  text-decoration: none;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 { transition-delay: 0.08s; }
.fade-in-up.delay-2 { transition-delay: 0.16s; }
.fade-in-up.delay-3 { transition-delay: 0.24s; }

@media (max-width: 800px) {
  .hero {
    margin-top: 80px;
    padding-top: 4.5rem;
  }

  .job-work-section {
    grid-template-columns: 1fr;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .apply-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .fade-in-up,
  .fade-in-up.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 560px) {
  .job-card {
    flex-direction: column;
    padding: 1.25rem;
  }

  .job-icon {
    flex-basis: 60px;
    font-size: 1.55rem;
    height: 60px;
    width: 60px;
  }

  .job-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .job-meta span {
    border-radius: 0.55rem;
  }

  .btn-apply {
    justify-content: center;
    width: 100%;
  }

  .job-work-section {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
