
/* RÜBSAM CONSULTING – KARRIERE */

body {
  background: #fff;
  color: #071f52;
}

.career-hero,
.career-section,
.career-application {
  box-sizing: border-box;
}

.career-hero *,
.career-section *,
.career-application * {
  box-sizing: border-box;
}

/* HERO */

.career-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  background: #071f52;
  color: white;
}

.career-hero-inner {
  position: relative;
  z-index: 1;
}

.career-eyebrow,
.career-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.career-eyebrow {
  color: #8ccfff;
}

.career-kicker {
  color: #1671ff;
}

.career-hero h1 {
  margin: 0;
  max-width: 850px;
  color: white;
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.career-hero h1 span {
  color: #39bcff;
}

.career-hero-description {
  max-width: 620px;
  margin: 24px 0 27px;
  color: #c9d8ec;
  font-size: 16px;
  line-height: 1.85;
}

.career-hero-decoration {
  position: absolute;
  right: -240px;
  bottom: -420px;
  width: 750px;
  height: 750px;
  border: 1px solid rgba(110,190,255,.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 100px rgba(110,190,255,.035),
    0 0 0 200px rgba(110,190,255,.025);
  pointer-events: none;
}

.career-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 56px;
  padding: 16px 22px;
  background: #1671ff;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, transform .2s;
}

.career-button:hover {
  background: #3286ff;
  transform: translateY(-2px);
}

/* SECTIONS */

.career-section {
  padding: 64px 0;
}

.career-section-muted {
  background: #f3f6fb;
}

.career-intro,
.career-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
}

.career-section h2 {
  margin: 0;
  color: #071f52;
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1.13;
  letter-spacing: -.045em;
}

.career-intro p:not(.career-kicker),
.career-values p,
.career-section-heading > p:last-child {
  color: #526179;
  font-size: 15px;
  line-height: 1.85;
}

.career-intro > div:last-child p + p {
  margin-top: 15px;
}

.career-section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.career-section-heading > p:last-child {
  margin-top: 12px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.career-card {
  min-width: 0;
  min-height: 240px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid #e1e8f2;
  transition: transform .2s, border-color .2s;
}

.career-card:hover {
  transform: translateY(-4px);
  border-color: #9bbdf2;
}

.career-card-number {
  display: block;
  margin-bottom: 26px;
  color: #1671ff;
  font-size: 12px;
  font-weight: 700;
}

.career-card h3 {
  margin: 0 0 13px;
  color: #071f52;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.career-card p {
  margin: 0;
  color: #66768c;
  font-size: 13px;
  line-height: 1.8;
}

/* APPLICATION */

.career-application {
  padding: 50px 0 56px;
  background: #092a60;
  color: white;
  scroll-margin-top: 90px;
}

.career-application-inner {
  /* Gleicher linker Rand wie alle .wrap-Abschnitte. */
  max-width: none;
}

.career-application h2 {
  margin: 0;
  color: white;
  max-width: 900px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.career-application-inner > p:not(.career-eyebrow) {
  max-width: 600px;
  margin: 16px 0;
  color: #d2e0f1;
  font-size: 14px;
  line-height: 1.65;
}

.career-button-light {
  background: #fff;
  color: #071f52;
}

.career-button-light:hover {
  background: #e8f1ff;
}

.career-application-inner .career-application-note {
  font-size: 12px !important;
  color: #afc1dc !important;
}

/* Bewerbung: Button und Hinweis bewusst kompakt halten. */
.career-application .career-eyebrow { margin-bottom: 14px; }
.career-application-inner > .career-application-note { margin: 15px 0 0; }
.career-application .career-button { min-height: 44px; padding: 12px 20px; font-size: 13px; }

/* RESPONSIVE */

@media (max-width: 900px) {
  .career-intro {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .career-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-section {
    padding: 55px 0;
  }
}

@media (max-width: 600px) {
  .career-hero {
    padding: 52px 0 60px;
  }

  .career-section {
    padding: 45px 0;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .career-card {
    min-height: auto;
  }

  .career-card-number {
    margin-bottom: 20px;
  }

  .career-application {
    padding: 42px 0 46px;
  }

  .career-application h2 {
    font-size: clamp(28px, 7vw, 36px);
  }
}

/* SCROLL-ANIMATIONEN */

.career-motion-enabled [data-career-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2, .65, .3, 1);
  transition-delay: var(--career-delay, 0ms);
}

.career-motion-enabled [data-career-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-career-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* OFFENE STELLEN
   Stellenkarte selbst wird in karriere.html gestaltet */

.career-jobs {
  background: #f3f6fb;
  padding: 55px 0 60px;
}

.career-jobs .career-section-heading {
  margin-bottom: 23px;
}

@media (max-width: 650px) {
  .career-jobs {
    padding: 42px 0 46px;
  }
}

/* HR – ANSPRECHPARTNER */

.career-hr {
  padding: 54px 0;
  background: #fff;
}

.career-hr-inner {
  display: block;
  max-width: none;
}

.career-hr h2 {
  margin: 0 0 8px;
  color: #071f52;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -.035em;
}

.career-hr-role {
  color: #1671ff;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 12px;
}

.career-hr-description {
  max-width: 660px;
  color: #526179;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.career-hr-link {
  display: inline-block;
  color: #1671ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.career-hr-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .career-hr {
    padding: 42px 0;
  }
}

/* BEWERBUNGSBEREICH MIT GITTERMUSTER */

.career-application {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071f52;
}

.career-application::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(110, 170, 235, .12) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(110, 170, 235, .12) 1px,
      transparent 1px
    );
  background-size: 65px 65px;
  background-position: center center;
}

.career-application::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 700px;
  height: 700px;
  right: -250px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(22, 113, 255, .17),
    transparent 70%
  );
  pointer-events: none;
}

.career-application-inner {
  position: relative;
  z-index: 1;
}

/* UNTERNEHMENSWERTE IN DER EINLEITUNG */

.career-intro-culture {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid #e1e8f2;
}

.career-intro-culture-label {
  margin: 0 0 12px !important;
  font-size: 10px !important;
  font-weight: 700;
  color: #1671ff !important;
  letter-spacing: .1em;
}

.career-intro-culture-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-intro-culture-items span {
  padding: 8px 11px;
  border: 1px solid #dce7f5;
  background: #f5f8fc;
  border-radius: 3px;
  color: #17396e;
  font-size: 11px;
  font-weight: 600;
}
