/* Vier-Vier-Consulting – Karriere (Übersicht und Stellenanzeigen)
   Gilt für /karriere/ und alle Anzeigen. Wird nach basis.css und vor animationen.css eingebunden.
   Die Seiten erzeugt tools/seiten-bauen.py aus Inhalte/karriere/ – Änderungen am Aufbau dort, am Aussehen hier. */

/* ---------- Übersicht ---------- */
.job-uebersicht-kopf .hero-copy { padding: 110px 0 40px; }
.job-uebersicht-kopf .hero-copy p { max-width: 760px; margin-bottom: 30px; }
.job-stellen { padding-top: 30px; }
.job-gruppe { margin-top: 56px; }
.job-gruppe h3 { font-family: var(--roboto); font-size: 22px; font-weight: 600; margin-bottom: 22px; display: flex; align-items: center; gap: 18px; }
.job-gruppe h3::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.job-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.job-karte { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.job-karte:hover { transform: translateY(-4px); border-color: var(--line-2); }
.job-karte img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.job-karte-text { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 22px; }
.job-karte-titel { font-size: 17px; font-weight: 500; line-height: 1.35; color: #fff; }
.job-karte .text-link { margin-top: auto; }
.text-link { color: var(--green-2); font-size: 15px; white-space: nowrap; }

/* Eckdaten (Standort, Arbeitszeit, Bereich) */
.job-fakten { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.job-fakten li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); font-size: 14px; color: #fff; }
.job-fakten svg { width: 15px; height: 15px; stroke: var(--green-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.job-fakten.klein { margin: 0; gap: 6px; }
.job-fakten.klein li { padding: 5px 10px; font-size: 12.5px; }
.job-fakten.klein svg { width: 13px; height: 13px; }

/* ---------- Anzeige: Kopf mit Titel und Bild ---------- */
.job-kopf { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 110px; padding-bottom: 70px; }
.job-kopf .hero-copy { padding: 0; }
.job-kopf .hero-copy h1 { font-size: 42px; line-height: 1.2; }
.job-kopf .hero-copy p { margin-bottom: 24px; }
.job-pfad { font-size: 13.5px; color: var(--dim); margin-bottom: 22px; }
.job-pfad a { color: var(--green-2); }
.job-bild { max-width: 440px; justify-self: end; width: 100%; }
.job-bild img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- Anzeige: Beschreibung links, „Auf einen Blick“ rechts ---------- */
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 20px; }
.job-haupt { grid-column: 1; grid-row: 1; }
.job-seite { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
.job-blick { padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, #0D3040 0%, #0A2230 100%); border: 1px solid var(--line-2); box-shadow: 0 0 40px rgba(18, 193, 122, .08); }
.job-blick > strong { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); margin-bottom: 16px; }
.job-blick dl { margin: 0 0 22px; display: grid; gap: 14px; }
.job-blick dt { font-size: 12.5px; color: var(--dim); margin-bottom: 2px; }
.job-blick dd { margin: 0; font-size: 15px; color: #fff; }
.job-blick .btn { width: 100%; justify-content: center; padding: 15px 20px; font-size: 15px; }

.job-titel-beschreibung { font-family: var(--roboto); font-size: 28px; font-weight: 600; margin-bottom: 18px; }
.job-einleitung p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.job-abschnitt { margin-top: 26px; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.job-abschnitt h2 { font-family: var(--roboto); font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.haken li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 16px; line-height: 1.6; }
.haken .ic { width: 24px; height: 24px; flex: none; margin-top: 1px; box-shadow: 0 0 0 4px rgba(18, 193, 122, .12); }
.haken .ic svg { width: 12px; height: 12px; stroke-width: 2.6; }
.job-ende { margin-top: 30px; padding: 34px 36px; border-radius: var(--radius); background: linear-gradient(180deg, #0D3040 0%, #0A2230 100%); border: 1px solid var(--line-2); box-shadow: 0 0 40px rgba(18, 193, 122, .08); }
.job-ende h2 { font-family: var(--roboto); font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.job-ende p { color: var(--muted); margin-bottom: 10px; }
.job-ende .btn { margin-top: 16px; }

/* Weitere Stellen */
.job-weitere { padding-top: 90px; }
.job-weitere-kopf { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.job-weitere-kopf h2 { font-family: var(--roboto); font-size: 26px; font-weight: 600; }

@media (max-height: 640px) {
  .job-seite { position: static; }
}
@media (max-width: 1024px) {
  .job-raster { grid-template-columns: repeat(3, 1fr); }
  .job-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .job-seite, .job-haupt { grid-column: auto; grid-row: auto; }
  .job-seite { display: none; }  /* Eckdaten und Button stehen mobil schon im Kopf */
}
@media (max-width: 860px) {
  .job-uebersicht-kopf .hero-copy { padding: 50px 0 40px; }
  .job-raster { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .job-kopf { grid-template-columns: minmax(0, 1fr); padding-top: 50px; padding-bottom: 40px; gap: 30px; text-align: left; }
  .job-kopf .hero-copy h1 { font-size: 30px; }
  .job-kopf .hero-copy p { margin-left: 0; }
  .job-kopf .job-fakten { justify-content: flex-start; }
  .job-bild { justify-self: start; max-width: 260px; }
  .job-titel-beschreibung { font-size: 24px; }
  .job-einleitung p { font-size: 16px; }
  .job-abschnitt { padding: 24px 20px; }
  .job-ende { padding: 28px 22px; }
  .job-weitere { padding-top: 70px; }
  .job-gruppe { margin-top: 44px; }
}
@media (max-width: 560px) {
  .job-karte-text { padding: 16px 14px 18px; }
  .job-karte-titel { font-size: 15px; }
  .job-fakten.klein li { font-size: 11.5px; padding: 4px 8px; }
  .job-weitere-kopf { flex-wrap: wrap; }
}

/* ---------- Bewerbungsformular (/bewerbung/) ---------- */
.bw { padding: 10px 0 110px; }
.bw-karte { max-width: 820px; margin: 0 auto; padding: 40px; display: grid; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bw-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bw-feld { display: grid; gap: 8px; }
.bw-feld label { font-size: 15px; font-weight: 500; color: #fff; }
.bw-feld label span { color: var(--dim); font-weight: 400; }
.bw-feld input, .bw-feld select, .bw-feld textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: #fff; padding: 14px 16px; border-radius: 12px;
  background: var(--ground); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
}
.bw-feld textarea { resize: vertical; min-height: 130px; }
.bw-feld select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312C17A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.bw-feld select:invalid { color: var(--dim); }
.bw-feld option { color: #000; }
.bw-feld input::placeholder, .bw-feld textarea::placeholder { color: var(--dim); }
.bw-feld input:focus, .bw-feld select:focus, .bw-feld textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(18, 193, 122, .18); }
.bw-einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.bw-einwilligung input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--green-2); }
.bw-einwilligung a { color: var(--green-2); text-decoration: underline; }
.bw-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bw-karte .btn { justify-self: start; }
.bw-karte .btn:disabled { opacity: .6; cursor: wait; }
.bw-fehler { padding: 14px 18px; border-radius: 12px; background: rgba(214, 69, 69, .12); border: 1px solid rgba(214, 69, 69, .5); color: #FFD5D5; font-size: 15px; }
@media (max-width: 860px) {
  .bw { padding-bottom: 70px; }
  .bw-karte { padding: 26px 20px; gap: 18px; }
  .bw-reihe { grid-template-columns: 1fr; gap: 18px; }
  .bw-karte .btn { justify-self: stretch; justify-content: center; }
}
