/* ========================================
   CAREER PAGE STYLES
   ======================================== */

/* ========================================
   CAREER HERO SECTION
   ======================================== */

.career-hero-section {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  background-image: var(--dot-pattern);
  background-size: var(--dot-pattern-size);
  overflow: hidden;
  padding: 256px 0;
  
  /* Image positioning variables for easy adjustment */
  --carrot-offset-top: 240px; /* Unteres Drittel */
  --potato-offset-top: 200px; /* 200px weiter runter als -60px */
}

.career-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.career-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 1.5vw + 1.25rem, 3.5rem); /* 56px - same as regular hero-title */
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  line-height: 1.1;
}

.career-hero-subtitle {
  font-size: clamp(1.5rem, 1vw + 0.875rem, var(--fs-h2)); /* 40px - large subtitle */
  font-weight: var(--font-weight-medium);
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-xl);
  line-height: 1.2;
}

.career-hero-subtitle .highlight-blue {
  color: var(--color-accent);
}

.career-hero-text {
  font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large)); /* 18px - slightly larger than regular text */
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.career-hero-text:last-child {
  margin-bottom: 0;
}

/* Background Images */
.career-hero-image {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.career-hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
}

.career-hero-image-left {
  left: -120px;
  top: var(--carrot-offset-top);
  width: 400px;
}

.career-hero-image-right {
  right: -120px;
  top: var(--potato-offset-top);
  width: 400px;
}

/* ========================================
   CAREER HERO RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .career-hero-section {
    padding: 200px 0;
    --carrot-offset-top: 180px; /* Unteres Drittel auf Tablet */
    --potato-offset-top: 150px; /* Angepasst für Tablet */
  }
  
  .career-hero-title {
    font-size: clamp(1.5rem, 1vw + 0.875rem, var(--fs-h2)); /* 40px */
  }
  
  .career-hero-subtitle {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 2rem); /* 32px */
  }
  
  .career-hero-image-left,
  .career-hero-image-right {
    width: 320px;
  }
  
  .career-hero-image-left {
    left: -100px;
  }
  
  .career-hero-image-right {
    right: -100px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .career-hero-section {
    padding: 150px 0;
    --carrot-offset-top: 140px; /* Unteres Drittel auf Mobile */
    --potato-offset-top: 100px; /* Angepasst für Mobile */
  }
  
  .career-hero-content {
    text-align: left; /* Left-aligned on mobile as requested */
  }
  
  .career-hero-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 2rem); /* 32px */
  }
  
  .career-hero-subtitle {
    font-size: clamp(1.25rem, 0.6vw + 0.625rem, var(--fs-h4)); /* 24px */
  }
  
  .career-hero-text {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body)); /* 16px */
  }
  
  .career-hero-image-left,
  .career-hero-image-right {
    width: 250px;
  }
  
  .career-hero-image-left {
    left: -80px;
  }
  
  .career-hero-image-right {
    right: -80px;
  }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .career-hero-section {
    --carrot-offset-top: 100px; /* Unteres Drittel auf Small Mobile */
    --potato-offset-top: 80px; /* Angepasst für Small Mobile */
  }
  
  .career-hero-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 1.75rem); /* 28px */
  }
  
  .career-hero-subtitle {
    font-size: clamp(1.125rem, 0.4vw + 0.5rem, var(--fs-h5)); /* 20px */
  }
  
  .career-hero-image-left,
  .career-hero-image-right {
    width: 200px;
  }
  
  .career-hero-image-left {
    left: -60px;
  }
  
  .career-hero-image-right {
    right: -60px;
  }
}

/* ========================================
   CAREER SECTION 2
   ======================================== */

.career-section-2 {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100vw;
  padding: 128px 0;
  margin-left: calc(-50vw + 50%);
}

.career-section-2-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.career-section-2-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/images/service-foerderband.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.career-section-2-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--color-accent) 0%, rgba(7, 116, 225, 0.8) 30%, rgba(7, 116, 225, 0.4) 60%, transparent 100%);
  z-index: 2;
}

.career-section-2-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  text-align: left;
}

.career-section-2-title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 1vw + 0.875rem, var(--fs-h2));
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: 1.2;
}

.career-section-2-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-section-2-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
}

.career-section-2-item:last-child {
  margin-bottom: 0;
}

/* Bullet point styles - using the same as product page but with white background */
.bullet-point {
  width: 20px;
  height: 20px;
  margin-right: var(--spacing-sm);
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0774E1;
  color: var(--color-white);
  border-radius: 50%;
  position: relative;
}

.bullet-point::after {
  content: "✓";
  color: var(--color-white);
  font-size: clamp(0.7rem, 0.3vw + 0.6rem, var(--fs-caption));
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bullet-point-white {
  background-color: var(--color-white);
}

.bullet-point-white::after {
  color: var(--color-accent);
}

.career-section-2-item span {
  font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
  line-height: 1.6;
  font-weight: var(--font-weight-regular);
}

/* ========================================
   CAREER SECTION 2 RESPONSIVE
   ======================================== */

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .career-section-2 {
    padding: 100px 0;
  }
  
  .career-section-2-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 2rem);
  }
  
  .career-section-2-item span {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .career-section-2 {
    padding: 80px 0;
  }
  
  .career-section-2-gradient {
    background: linear-gradient(to right, var(--color-accent) 0%, rgba(7, 116, 225, 0.9) 40%, rgba(7, 116, 225, 0.6) 70%, rgba(7, 116, 225, 0.3) 100%);
  }
  
  .career-section-2-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 1.75rem);
    margin-bottom: var(--spacing-lg);
  }
  
  .career-section-2-item {
    margin-bottom: var(--spacing-md);
  }
  
  .career-section-2-item span {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .career-section-2-title {
    font-size: clamp(1.25rem, 0.6vw + 0.625rem, var(--fs-h4));
  }
  
  .career-section-2-item span {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
  }
  
  .bullet-point {
    width: 18px;
    height: 18px;
  }
  
  .bullet-point::after {
    font-size: clamp(0.65rem, 0.25vw + 0.55rem, 0.625rem);
  }
}

/* ========================================
   CAREER JOBS SECTION
   ======================================== */

.career-jobs-section {
  padding: 128px 0;
  background-color: var(--color-white);
  background-image: var(--dot-pattern);
  background-size: var(--dot-pattern-size);
}

.career-jobs-content {
  text-align: center;
}

.career-jobs-title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 1vw + 0.875rem, var(--fs-h2));
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  line-height: 1.2;
}

.career-jobs-subtitle {
  font-family: var(--font-secondary);
  font-style: italic;
  color: var(--color-accent);
  font-size: clamp(1.125rem, 0.4vw + 0.5rem, var(--fs-h5));
  margin-bottom: var(--spacing-xl);
}

.career-jobs-text {
  margin-bottom: var(--spacing-xxl);
  color: var(--color-text-dark);
}

.career-jobs-text p {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  line-height: 1.6;
}

.career-jobs-text p:last-child {
  margin-bottom: 0;
}

.career-jobs-email {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: var(--font-weight-medium);
  transition: var(--transition-fast);
}

.career-jobs-email:hover {
  color: #0056b3;
}

.career-jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}

.career-jobs-card {
  background-color: var(--color-accent);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  display: flex;
  align-items: left;
  justify-content: space-between;
  color: var(--color-white);
  transition: var(--transition-fast);
  cursor: pointer;
}

.career-jobs-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.career-jobs-card-content {
  flex: 1;
  text-align: left;
}

.career-jobs-card-title {
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 0.4vw + 0.5rem, var(--fs-h5));
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.career-jobs-card-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.career-jobs-card-details p {
  font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  color: var(--color-white);
  margin: 0;
  line-height: 1.4;
}

.career-jobs-card-arrow {
  flex-shrink: 0;
  margin-left: var(--spacing-md);
  color: var(--color-white);
}

/* ========================================
   CAREER JOBS RESPONSIVE
   ======================================== */

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .career-jobs-section {
    padding: 100px 0;
  }
  
  .career-jobs-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 2rem);
  }
  
  .career-jobs-subtitle {
    font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .career-jobs-section {
    padding: 80px 0;
  }
  
  .career-jobs-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 1.75rem);
  }
  
  .career-jobs-subtitle {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  }
  
  .career-jobs-text {
    margin-bottom: var(--spacing-xl);
  }
  
  .career-jobs-card {
    padding: 20px;
  }
  
  .career-jobs-card-title {
    font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
  }
  
  .career-jobs-card-details p {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
  }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .career-jobs-title {
    font-size: clamp(1.25rem, 0.6vw + 0.625rem, var(--fs-h4));
  }
  
  .career-jobs-subtitle {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
  }
  
  .career-jobs-text p {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
  }
  
  .career-jobs-card {
    padding: 16px;
  }
  
  .career-jobs-card-title {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  }
  
  .career-jobs-card-details p {
    font-size: clamp(0.75rem, 0.3vw + 0.7rem, var(--fs-body-small));
  }
}

/* Page-specific styles for career page */