/* ── JOB-LIST — Stellenliste im Tabellen-Stil der Preistabelle (Modul) ──
   Steht rechts in einem split-sticky (Intro links, wie „Pakete & Preise“).
   Kopfzeile .job-list-head, darunter je Stelle
   <li><a class="job-list-item" href="stelle-….html"> mit Titel und Eckdaten,
   darunter optional eine zweite Zeile mit Kurzbeschreibung (.job-list-desc).
   Spalten: Stelle · Umfang · Standort · Start · Pfeil (mobil untereinander).
   Farbe: jede Zeile hat links einen Balken, Zeile 1–6 von Gelb nach Rot (wie icon-cards).
   Start „Ab sofort“: grüner Status-Punkt davor (<span class="status-dot">, global).
   Schrift: job-list-th label t-small · job-list-title t-body ·
            job-list-cell t-body · job-list-desc t-small · job-list-more t-body
   Ohne Stellen: <p class="job-list-empty t-body"> nach der Liste, erscheint nur bei leerer Liste
   (dann ohne Kopfzeile).                                                                    */
.job-list { --cols: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) 2rem; }
.job-list-head,
.job-list-item { display: grid; grid-template-columns: var(--cols); align-items: center; column-gap: 1rem; }
.job-list-head  { padding: 1.4rem 1.2rem 1.2rem; border-bottom: 2px solid var(--line); }
.job-list-th    { font-weight: 700; }
.job-list-empty { padding: 1.4rem 1.2rem; border-top: 2px solid var(--line); border-bottom: 1px solid var(--line); color: var(--mid); }
.job-list:has(.job-list-item) .job-list-empty,
.job-list:not(:has(.job-list-item)) .job-list-head { display: none; }
.job-list-items { list-style: none; }
.job-list-items > li { border-bottom: 1px solid var(--line); }
.job-list-items > li:nth-child(6n+1) { --job: var(--yellow); }
.job-list-items > li:nth-child(6n+2) { --job: var(--orange); }
.job-list-items > li:nth-child(6n+3) { --job: var(--darkorange); }
.job-list-items > li:nth-child(6n+4) { --job: var(--red); }
.job-list-items > li:nth-child(6n+5) { --job: var(--darkred); }
.job-list-items > li:nth-child(6n+6) { --job: var(--darkestred); }
.job-list-items > li:last-child { border-bottom: none; }
.job-list-item {
  position: relative;
  padding: 1.1rem 1.2rem;
  color: var(--ink); text-decoration: none; cursor: var(--cursor);
  transition: background .15s;
}
.job-list-item::before {
  content: ''; position: absolute; left: 0; top: 1.1rem; bottom: 1.1rem; width: 3px;
  background: var(--job, var(--ink)); transition: top .25s var(--ease-out), bottom .25s var(--ease-out);
}
.job-list-item:hover { background: color-mix(in srgb, var(--job, var(--line)) 8%, transparent); }
.job-list-item:hover::before { top: 0; bottom: 0; }
.job-list-title { font-weight: 600; }
.job-list-cell  { color: var(--mid); }
.job-list-start { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.job-list-desc  { grid-column: 1 / -2; grid-row: 2; margin-top: 6px; color: var(--mute); max-width: 680px; }
.job-list-more  { grid-row: 1; grid-column: -2; justify-self: end; color: var(--mute); transition: transform .2s var(--ease-out), color .2s; }
.job-list-item:hover .job-list-more { color: var(--job, var(--ink)); transform: translateX(4px); }

@media (max-width: 860px) {
  .job-list-head { display: none; }
  .job-list-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-inline: 16px 0; }
  .job-list-title { flex: 1 1 calc(100% - 3rem); }
  .job-list-more  { order: -1; flex: 0 0 auto; margin-left: auto; }
  .job-list-title { order: -2; }
  .job-list-cell  { color: var(--mute); }
  .job-list-start { color: var(--ink); }
  .job-list-desc  { flex: 1 1 100%; margin-top: 4px; }
}
