/* =============================================================
   KARRIERE – proZerspanung Website
   ============================================================= */

/* =============================================================
       KARRIERE HERO: Dark, left-aligned
       ============================================================= */
    .karriere-hero {
      background-color: var(--color-schwarz);
      padding: var(--space-2xl) 0;
      min-height: 520px;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Subtle radial glow top-right */
    .karriere-hero::before {
      content: '';
      position: absolute;
      top: -80px;
      right: -80px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(238, 62, 73, 0.07) 0%, transparent 65%);
      pointer-events: none;
    }

    .karriere-hero__inner {
      position: relative;
      z-index: 1;
      max-width: 640px;
    }

    /* =============================================================
       WAS UNS AUSMACHT: why-us variant (section--grey)
       ============================================================= */

    /* =============================================================
       OFFENE STELLEN: Job Cards
       ============================================================= */
    .jobs-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-l);
      align-items: start;
    }

    .jobs-grid--single {
      grid-template-columns: 1fr;
      max-width: 600px;
      margin: 0 auto;
    }

    .job-card {
      border: 1px solid #E0E0E0;
      border-radius: var(--radius-m);
      padding: var(--space-l);
      background-color: var(--color-weiss);
      display: flex;
      flex-direction: column;
      gap: var(--space-m);
      transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .job-card:hover {
      box-shadow: var(--shadow-card-hover);
      transform: translateY(-3px);
    }

    .job-card--initiative {
      border-style: dashed;
      background-color: var(--color-grau-4);
    }

    .job-card--initiative:hover {
      background-color: var(--color-weiss);
    }

    .job-card__header {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .job-card__label {
      font-family: var(--font-heading);
      font-size: 0.625rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      /* --color-rot auf hellem Grund nur 3,87:1, --color-rot-active erreicht 5,2:1 */
      color: var(--color-rot-active);
    }

    .job-card__title {
      font-family: var(--font-heading);
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--color-schwarz);
      line-height: 1.3;
      margin: 0;
    }

    .job-card__meta {
      display: flex;
      align-items: center;
      gap: var(--space-m);
      flex-wrap: wrap;
    }

    .job-card__meta-item {
      display: flex;
      align-items: center;
      gap: 0.375rem;
      font-family: var(--font-heading);
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--color-grau-57);
    }

    .job-card__meta-item svg {
      color: var(--color-grau-57);
      flex-shrink: 0;
    }

    .job-card__divider {
      height: 1px;
      background-color: #F0F0F0;
      margin: 0;
    }

    .job-card__section-title {
      font-family: var(--font-heading);
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-grau-57);
      margin-bottom: 0.625rem;
    }

    .job-card__list {
      display: flex;
      flex-direction: column;
      gap: 0.4375rem;
    }

    .job-card__list li {
      font-size: 0.9375rem;
      color: var(--color-grau-72);
      line-height: 1.5;
      padding-left: 1.125rem;
      position: relative;
    }

    .job-card__list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.5em;
      width: 5px;
      height: 5px;
      background-color: var(--color-rot);
      border-radius: 50%;
      flex-shrink: 0;
    }

    .job-card__text {
      font-size: 0.9375rem;
      color: var(--color-grau-72);
      line-height: 1.7;
    }

    .job-card__cta {
      margin-top: auto;
    }

    /* =============================================================
       BEWERBUNGSPROZESS: 3 Steps
       ============================================================= */
    .process-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-l);
      position: relative;
    }

    /* Connector line between steps */
    .process-grid::before {
      content: '';
      position: absolute;
      top: 28px;
      left: calc(33.333% - 8px);
      right: calc(33.333% - 8px);
      height: 1px;
      background: linear-gradient(
        to right,
        transparent,
        rgba(238, 62, 73, 0.3) 20%,
        rgba(238, 62, 73, 0.3) 80%,
        transparent
      );
      pointer-events: none;
    }

    .process-step {
      display: flex;
      flex-direction: column;
      gap: var(--space-m);
    }

    .process-step__number {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background-color: var(--color-schwarz);
      color: var(--color-weiss);
      font-family: var(--font-cta);
      font-size: 1.25rem;
      font-weight: 400;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .process-step__content {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .process-step__title {
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 700;
      color: var(--color-schwarz);
      line-height: 1.3;
      margin: 0;
    }

    .process-step__text {
      font-size: 0.9375rem;
      color: var(--color-grau-72);
      line-height: 1.7;
    }

    .process-step__text a {
      /* --color-rot auf hellem Grund nur 3,87:1, --color-rot-active erreicht 5,2:1 */
      color: var(--color-rot-active);
      font-weight: 700;
      transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .process-step__text a:hover {
      color: var(--color-rot-active);
    }

    /* =============================================================
       DARK CTA TEASER
       ============================================================= */
    .karriere-cta {
      background-color: var(--color-schwarz);
      padding: var(--space-2xl) 0;
      position: relative;
      overflow: hidden;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .karriere-cta::before {
      content: '';
      position: absolute;
      bottom: -60px;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 420px;
      background: radial-gradient(ellipse at 50% 100%, rgba(238, 62, 73, 0.14) 0%, transparent 62%);
      pointer-events: none;
    }

    .karriere-cta__inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: var(--space-xl);
      align-items: center;
    }

    .karriere-cta__label {
      /* --color-rot auf --color-schwarz nur 4,40:1, --color-rot-hover erreicht 6,57:1 */
      color: var(--color-rot-hover);
      margin-bottom: var(--space-s);
    }

    .karriere-cta__headline {
      font-family: var(--font-cta);
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      font-weight: 400;
      color: var(--color-weiss);
      line-height: 1.1;
      margin-bottom: var(--space-s);
    }

    .karriere-cta__text {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.9375rem;
      line-height: 1.7;
      max-width: 48ch;
    }

    .karriere-cta__text a {
      color: var(--color-rot-hover);
      font-weight: 700;
      transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .karriere-cta__text a:hover {
      color: var(--color-weiss);
    }

    .karriere-cta__action {
      flex-shrink: 0;
    }

    /* =============================================================
       RESPONSIVE
       ============================================================= */
    @media (max-width: 900px) {
      .jobs-grid {
        grid-template-columns: 1fr;
      }

      .process-grid {
        grid-template-columns: 1fr;
        gap: var(--space-m);
      }

      .process-grid::before {
        display: none;
      }

      .process-step {
        flex-direction: row;
        align-items: flex-start;
      }

      .process-step__number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
      }

      .karriere-cta__inner {
        grid-template-columns: 1fr;
        gap: var(--space-l);
      }
    }

    @media (max-width: 480px) {
      .karriere-hero {
        min-height: auto;
        padding: var(--space-xl) 0;
      }
    }
