/* =====================================================
   BÖHM & SCHAAF — Job Subpage Styles
   Extends styles.css
   ===================================================== */

/* ===== Job Hero ===== */
.job-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 0;
}
.job-hero .hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.job-hero .hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.job-hero .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15,15,18,0.5) 0%,
    rgba(15,15,18,0.4) 40%,
    rgba(15,15,18,0.92) 100%);
}
.job-hero-content {
  position: relative; z-index: 2;
  width: 100%;
  min-width: 0;
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--red); font-style: italic; }
.breadcrumb .current { color: var(--white); }

.job-role {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 8px 16px 8px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
  max-width: 100%;
}
.job-role::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.job-hero h1 { max-width: 22ch; overflow-wrap: break-word; }
.job-hero .lead {
  margin-top: 28px;
  color: rgba(255,255,255,0.92);
  font-size: clamp(17px, 1.3vw, 21px);
  max-width: 64ch;
}
.job-hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.job-hero-actions .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.job-hero-actions .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ===== Quick Facts strip ===== */
.facts {
  background: var(--white);
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact:last-child { border-right: none; }
.fact-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fact-label svg { width: 14px; height: 14px; }
.fact-value {
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}
.fact-sub { font-size: 13px; color: var(--steel); }

/* ===== Job Benefits ===== */
.job-benefits {
  padding: 120px 0;
  background: var(--white);
}
.job-benefits-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.job-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.job-benefit {
  background: var(--paper);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
  border-left: 4px solid var(--red);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.job-benefit:hover { background: var(--bone); transform: translateY(-2px); }
.job-benefit-icon {
  width: 56px; height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.job-benefit-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.job-benefit h3 { font-size: 22px; line-height: 1.1; margin-bottom: 10px; }
.job-benefit p { font-size: 15.5px; line-height: 1.55; color: var(--graphite); }

/* ===== Salary Section ===== */
.salary {
  padding: 140px 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.salary::before {
  content: "€";
  position: absolute;
  top: -60px;
  right: -40px;
  font-size: clamp(280px, 30vw, 480px);
  font-weight: 900;
  font-style: italic;
  color: rgba(181,19,29,0.18);
  line-height: 0.8;
  pointer-events: none;
  font-family: var(--font);
}
.salary-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.salary h2 { color: var(--white); }
.salary .lead { color: rgba(255,255,255,0.78); }
.salary .eyebrow { color: var(--white); }
.salary .eyebrow::before { background: var(--red); }

.salary-range {
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  margin: 24px 0 16px;
}
.salary-range .from {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}
.salary-range .amount {
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.03em;
}
.salary-range .amount .sep {
  color: var(--red);
  margin: 0 8px;
}
.salary-range .unit {
  display: block;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-top: 14px;
}

.salary-extras {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.08);
}
.salary-extra {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 28px;
  background: rgba(0,0,0,0.25);
  transition: background .25s var(--ease);
}
.salary-extra:hover { background: rgba(0,0,0,0.4); }
.salary-extra-icon {
  width: 44px; height: 44px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.salary-extra-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.salary-extra-text strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  margin-bottom: 2px;
}
.salary-extra-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ===== Tasks Section ===== */
.tasks {
  padding: 140px 0;
  background: var(--paper);
}
.tasks-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}
.tasks-head .eyebrow { margin-bottom: 18px; }
.tasks-head .lead { margin-top: 24px; }

.tasks-list {
  display: flex;
  flex-direction: column;
}
.task-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.task-item:last-child { border-bottom: 1px solid var(--line); }
.task-num {
  font-size: 56px;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.task-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.task-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 60ch;
}

/* ===== Requirements ===== */
.requirements {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}
.requirements-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}
.requirements-visual {
  position: sticky;
  top: 120px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone);
}
.requirements-visual img { width: 100%; height: 100%; object-fit: cover; }
.requirements-visual::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 60%; height: 8px;
  background: var(--red);
}
.requirements-content .eyebrow { margin-bottom: 18px; }
.requirements-content h2 { margin-bottom: 24px; }
.requirements-content .lead { margin-bottom: 40px; }

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.req-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.req-item:last-child { border-bottom: none; }
.req-check {
  width: 28px; height: 28px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.req-check svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.req-item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 4px;
}
.req-item span {
  font-size: 15.5px;
  color: var(--graphite);
  line-height: 1.55;
}

/* ===== Related jobs ===== */
.related {
  padding: 120px 0;
  background: var(--bone);
}
.related-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { border-bottom: 1px solid var(--line); }
  .fact:nth-child(2) { border-right: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .job-hero { min-height: auto; padding-top: 100px; }
  .job-hero-content { padding-bottom: 60px; }
  .job-benefits, .salary, .tasks, .requirements, .related { padding: 80px 0; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--line); }
  .job-benefits-head, .salary-inner, .tasks-inner, .requirements-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .job-benefits-grid { grid-template-columns: 1fr; }
  .requirements-visual { position: relative; top: 0; aspect-ratio: 16/10; }
  .related-grid { grid-template-columns: 1fr; }
  .task-item { grid-template-columns: 60px 1fr; gap: 20px; padding: 28px 0; }
  .task-num { font-size: 42px; }
}

/* =====================================================
   Logistik-Übersicht (stellenangebote-logistik.html)
   ===================================================== */

/* ===== Schichtmodell ===== */
.shift-info {
  padding: 120px 0;
  background: var(--white);
}
.shift-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.shift-chips {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shift-chip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: var(--paper);
  border-left: 4px solid var(--red);
}
.shift-chip-label {
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  color: var(--ink);
}
.shift-chip-time {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  letter-spacing: -0.01em;
}

/* ===== Stellen-Karten ===== */
.vacancies {
  padding: 140px 0;
  background: var(--paper);
}
.vacancy-group + .vacancy-group { margin-top: 96px; }
.vacancy-group-head { margin-bottom: 48px; max-width: 62ch; }
.vacancy-group-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.55;
}
.vacancy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Unterbereiche innerhalb einer Gruppe (z. B. Teamleiter / Quality Assurance, Lagerhelfer) */
.vacancy-sub { margin-top: 52px; }
.vacancy-sub-head { margin-bottom: 22px; max-width: 76ch; }
.vacancy-sub-title { font-size: 28px; line-height: 1.05; }
.vacancy-sub-title .mwd { color: var(--mute); font-weight: 400; font-style: normal; }
.vacancy-sub-note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.6;
}
.vacancy-sub-note strong { color: var(--ink); }
.vacancy-sub .vacancy-list {
  padding-left: 28px;
  border-left: 2px solid var(--line);
}
.vacancy-list--standalone { margin-top: 52px; }
.vrow {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.vrow:hover { border-color: var(--red); box-shadow: 0 18px 40px -30px rgba(0,0,0,0.35); }
.vrow[open] { border-color: var(--red); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.25); }
.vrow-summary {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px 18px 18px;
  cursor: pointer;
  list-style: none;
}
.vrow-summary::-webkit-details-marker { display: none; }
.vrow-thumb {
  width: 88px; height: 72px;
  overflow: hidden;
  background: var(--bone);
}
.vrow-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.vrow:hover .vrow-thumb img { transform: scale(1.06); }
.vrow-title {
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.vrow-title .mwd { color: var(--mute); font-weight: 400; font-style: normal; }
.vrow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vrow-chip {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--graphite);
  background: var(--bone);
  padding: 5px 11px;
  border-radius: 2px;
}
.vrow-chip--count {
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
}
.vrow-chip--pay {
  color: var(--white);
  background: var(--red);
}
.vrow-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.vrow-apply {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.vrow-apply:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.vrow-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.vrow-toggle svg { width: 18px; height: 18px; }
.vrow[open] .vrow-toggle { transform: rotate(180deg); background: var(--red); color: var(--white); }
.vrow-detail {
  padding: 26px 24px 30px;
  border-top: 1px solid var(--line);
  animation: vrow-in .35s var(--ease);
}
@keyframes vrow-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.vrow-detail-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.vrow-tasks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  margin: 0 0 26px;
}
.vrow-tasks li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--graphite);
}
.vrow-tasks li::before {
  content: "";
  position: absolute;
  left: 3px; top: 6px;
  width: 6px; height: 6px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.vacancy-note {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 12px 16px;
  margin-bottom: 20px;
}
.vacancy-note strong { color: var(--ink); font-style: italic; }
.vacancy-cta {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vacancy-cta::after { content: "→"; transition: transform .2s var(--ease); }
.vacancy-cta:hover::after { transform: translateX(4px); }

/* ===== Platzhalter Kontaktdaten ===== */
.contact-placeholder {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-placeholder:last-child { border-bottom: none; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .shift-info, .vacancies { padding: 80px 0; }
  .shift-inner { grid-template-columns: 1fr; gap: 40px; }
  .shift-chip { flex-direction: column; align-items: flex-start; gap: 6px; }
  .vacancy-group + .vacancy-group { margin-top: 64px; }
  .vacancy-sub, .vacancy-list--standalone { margin-top: 40px; }
  .vacancy-sub-title { font-size: 22px; }
  .vacancy-sub .vacancy-list { padding-left: 14px; }
  .vrow-summary {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 16px;
  }
  .vrow-thumb { width: 64px; height: 56px; }
  .vrow-title { font-size: 17px; }
  .vrow-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
  .vrow-apply { flex: 1; text-align: center; }
  .vrow-detail { padding: 22px 16px 26px; }
  .vrow-tasks { grid-template-columns: 1fr; gap: 12px; }
}
