/* Stellen – Stellenkarte + Meta-Zeile (auch auf /karriere/) und Detailseite /karriere/<slug>/
   Figma: „Job Card“ (Careers 6838:13546) und z. B. „Frontend Developer“ (11925:9800) */

/* Meta-Zeile: Ort — Art (— Zusatz) */
.stelle-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 27px; row-gap: 8px; font-size: 18px; line-height: 20px; }
.stelle-meta li { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.stelle-meta .stelle-meta__ort { gap: 8px; font-weight: 600; }
.stelle-meta li + li::before { content: ""; width: 27px; height: 1.6px; background: currentColor; margin-right: 18px; }
.stelle-meta__icon { flex: none; }

/* Stellenkarte (weiß, auf schwarzem Grund) */
.stelle-karte {
  position: relative; background: var(--white); color: var(--ink);
  padding: 56px 67px; display: flex; flex-direction: column; gap: 30px;
  transition: background-color .2s ease;
}
.stelle-karte__text { display: grid; gap: 6px; }
.stelle-karte__titel { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; }
.stelle-karte__text p { color: var(--grey-600); min-height: 91px; }
.stelle-karte__link::after { content: ""; position: absolute; inset: 0; }
.stelle-karte__link:focus-visible { outline: none; }
.stelle-karte:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.stelle-karte__pfeil { position: absolute; top: 19px; right: 19px; width: 40px; height: 40px; transition: color .2s ease; }
.stelle-karte__pfeil svg { width: 100%; height: 100%; }
.stelle-karte__pfeil path { stroke-width: 1.8; }
.stelle-karte:hover { background: var(--grey-50); }
.stelle-karte:hover .stelle-karte__pfeil { color: var(--cyan); }

/* Detailseite: Kopf + graue Textbox */
.st-inhalt { padding: 100px 0 180px; }
.st-inhalt__container { width: min(1012px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.st-kopf { max-width: 656px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.st-kopf .stelle-meta { justify-content: center; }
.st-kopf__titel { max-width: 596px; margin-top: 12px; }
.st-kopf__intro { margin-top: 12px; color: var(--grey-700); }
.st-kopf__status { margin-top: 48px; font-size: 18px; line-height: 20px; font-weight: 700; }

.st-text { margin-top: 48px; background: var(--grey-50); padding: 89px 104px; }
.st-text h2 { font-size: var(--fs-display-3); line-height: var(--lh-display-3); font-weight: 700; margin-bottom: 24px; }
.st-text > p { margin-bottom: 24px; }
.st-text ul { list-style: none; display: grid; gap: 12px; padding-left: 40px; margin-bottom: 48px; }
.st-text li { position: relative; padding-left: 33px; }
.st-text li::before { content: "—"; position: absolute; left: 0; }

.st-cta { background: var(--ink); color: var(--white); padding: 80px 155px; display: grid; justify-items: center; gap: 28px; }
.st-cta h2 { margin: 0; text-align: center; }
.st-cta p { width: 100%; }
.st-cta p a { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.st-cta p a:hover { color: var(--cyan); }

/* Weitere offene Stellen (schwarz) */
.st-weitere { background: var(--ink); color: var(--white); border-bottom: 1px solid var(--grey-700); padding-block: 180px; }
.st-weitere__kopf { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.st-weitere__kopf .btn { border-width: 2px; }
.st-weitere__liste { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 29px; }
.st-weitere__liste > li { display: flex; }
.st-weitere__liste .stelle-karte { flex: 1; }

/* ---------- Responsiv ---------- */
@media (max-width: 991px) {
  .st-inhalt { padding: 64px 0 104px; }
  .st-text { padding: 64px 48px; }
  .st-cta { padding: 56px 48px; }
  .st-weitere { padding-block: 104px; }
  .st-weitere__liste { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .stelle-meta { font-size: 16px; column-gap: 18px; }
  .stelle-meta li + li::before { content: none; }
  .stelle-karte { padding: 48px 24px 36px; gap: 20px; }
  .stelle-karte__text p { min-height: 0; }
  .stelle-karte__pfeil { top: 10px; right: 10px; width: 32px; height: 32px; }
  .st-inhalt { padding: 48px 0 80px; }
  .st-kopf__status { margin-top: 32px; }
  .st-text { margin-top: 40px; margin-inline: calc(-1 * var(--gutter)); padding: 48px var(--gutter); }
  .st-text ul { padding-left: 0; margin-bottom: 40px; }
  .st-text li { padding-left: 28px; }
  .st-cta { padding: 48px 24px; margin-inline: calc(-1 * var(--gutter)); }
  .st-weitere { padding-block: 80px; }
}
