/* ============================================================
   Karriereportal – Die Baumschule Haselberger Gruppe
   Farben und Grundstimmung folgen der bestehenden Website:
   Rot #b72939 / #af3843, Logo-Dunkelgruen, Weiss.
   ============================================================ */

:root {
  --gruen:        #1f3a24;
  --gruen-dunkel: #16281a;
  --gruen-hell:   #eef3ec;
  --rot:          #b72939;
  --rot-hover:    #8e202d;
  --footer-rot:   #af3843;
  --sand:         #f6f5f1;
  --ink:          #26291f;
  --ink-soft:     #5a5e52;
  --linie:        #e4e1d8;
  --weiss:        #ffffff;
  --radius:       4px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* Anker landen unterhalb des Sticky-Headers, nicht darunter versteckt */
[id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-text-size-adjust: 100%;
}

/* Inhaltsbereich als durchgehend reinweisser Streifen,
   breiter als die Textspalte -> Luft links und rechts */
main {
  background: var(--weiss);
  max-width: 1140px;
  margin: 0 auto;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rot); }
a:hover { color: var(--rot-hover); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.schmal { max-width: 860px; }

/* ---------- Header ---------- */

.jobs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}

.jobs-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-logo img {
  height: 42px;
  width: auto;
}

.header-logo .logo-mobil { display: none; }

.jobs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.jobs-nav a {
  display: inline-block;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gruen);
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
}

.jobs-nav a:hover { background: var(--gruen-hell); color: var(--gruen-dunkel); }

.jobs-nav a.aktiv {
  color: var(--rot);
  box-shadow: inset 0 -3px 0 var(--rot);
  border-radius: 6px 6px 0 0;
}

.jobs-nav a.nav-cta {
  background: var(--rot);
  color: var(--weiss);
}

.jobs-nav a.nav-cta:hover { background: var(--rot-hover); color: var(--weiss); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--gruen-dunkel);
  color: var(--weiss);
}

.hero .hero-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero .container {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero .kicker {
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin: 0 0 10px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  line-height: 1.15;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  max-width: 21ch;
}

.hero p.untertitel {
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero-fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 0;
  list-style: none;
}

.hero-fakten li {
  background: var(--weiss);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.btn:active { transform: scale(0.98); }

.btn-rot { background: var(--rot); color: var(--weiss); }
.btn-rot:hover { background: var(--rot-hover); color: var(--weiss); }

.btn-gruen { background: var(--gruen); color: var(--weiss); }
.btn-gruen:hover { background: var(--gruen-dunkel); color: var(--weiss); }

.btn-hell {
  background: var(--weiss);
  color: var(--gruen);
  border: 2px solid var(--gruen);
}
.btn-hell:hover { background: var(--gruen-hell); color: var(--gruen-dunkel); }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 56px 0; }
.abschnitt-sand { background: var(--weiss); border-top: 1px solid var(--linie); }

h2.titel {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--gruen);
  margin: 0 0 8px;
}

p.vorspann {
  margin: 14px 0 30px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Job-Karten (Uebersicht) ---------- */

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 34px;
}

@media (min-width: 640px) {
  .jobs-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.job-karte {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

/* Ganze Karte klickbar: der Titel-Link spannt sich unsichtbar ueber die Karte */
.job-karte h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.job-karte:hover {
  border-color: var(--gruen);
}

.job-karte .bild {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.job-karte .karten-inhalt {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.job-karte h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--gruen);
}

.job-karte h3 a { color: inherit; text-decoration: none; }
.job-karte h3 a:hover { color: var(--rot); }

.job-fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.job-fakten li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gruen);
  background: var(--gruen-hell);
  border-radius: var(--radius);
  padding: 4px 10px;
}

.job-fakten li.gehalt {
  color: var(--weiss);
  background: var(--gruen);
}

.job-karte p.kurz {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
}

.job-karte .btn {
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

/* ---------- Job-Detailseite ---------- */

.job-kopf { padding: 46px 0 8px; }

.brotkrume {
  font-size: 0.85rem;
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.brotkrume a { color: var(--ink-soft); text-decoration: none; }
.brotkrume a:hover { color: var(--rot); text-decoration: underline; }

.job-kopf .kicker {
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  color: var(--rot);
  margin: 0 0 6px;
}

.job-kopf h1 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--gruen);
}

.job-eckdaten {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.job-eckdaten {
  gap: 10px 26px;
}

.job-eckdaten li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.job-eckdaten svg { width: 18px; height: 18px; flex: none; color: var(--gruen); }

.gehalt-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  background: var(--gruen);
  color: var(--weiss);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin: 0 0 30px;
}

.gehalt-box .betrag {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.gehalt-box .zusatz {
  font-size: 0.92rem;
  opacity: 0.92;
}

.job-bild {
  border-radius: var(--radius);
  margin: 0 0 34px;
  width: 100%;
  object-fit: cover;
}

.job-inhalt h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gruen);
  margin: 34px 0 12px;
}

.job-inhalt p.intro {
  font-size: 1.08rem;
  max-width: 68ch;
}

.liste {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 72ch;
}

.liste li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
}

.liste li::before {
  content: "\2013";
  position: absolute;
  left: 4px;
  color: var(--rot);
  font-weight: 800;
}

/* ---------- Anna Luger / Kontaktkarte ---------- */

.kontakt-karte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 28px;
}

.kontakt-karte .portrait {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gruen-hell);
  flex: none;
}

.kontakt-karte .kontakt-text { flex: 1; min-width: 240px; }

.kontakt-karte h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gruen);
}

.kontakt-karte .rolle {
  margin: 2px 0 4px;
  font-weight: 700;
  color: var(--rot);
}

.kontakt-karte .adresse {
  margin: 6px 0 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.kontakt-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kontakt-aktionen .btn {
  padding: 11px 18px;
  font-size: 0.95rem;
}

/* ---------- Arbeitgeberprofil ---------- */

.vision {
  background: var(--gruen-hell);
  border-left: 4px solid var(--rot);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 30px 0 6px;
  max-width: 72ch;
}

.vision-kicker {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rot);
}

.vision blockquote {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--gruen-dunkel);
}

.gehalt-zeile {
  display: inline-block;
  margin: 16px 0 0;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--weiss);
  background: var(--gruen);
  border-radius: 0;
}

.profil-fakten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.profil-fakten li {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}

.profil-fakten .zahl {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gruen);
  font-variant-numeric: tabular-nums;
}

.profil-fakten .wort {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.marken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.marke {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.marke .marken-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto 14px;
}

.marke h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gruen);
}

.marke p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.galerie figure { margin: 0; }

.galerie img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.job-bild { cursor: zoom-in; }

/* ---------- Lightbox (Fotos in gross) ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox .schliessen {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.lightbox .schliessen:hover { background: var(--weiss); }

.galerie figcaption {
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin-top: 7px;
}

/* ---------- Formular ---------- */

.formular-rahmen {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 640px;
}

.feld { margin-bottom: 18px; }

.feld label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gruen);
  margin-bottom: 6px;
}

.feld .pflicht { color: var(--rot); }

.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld select,
.feld textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--weiss);
  border: 1.5px solid var(--linie);
  border-radius: 8px;
}

.feld textarea { min-height: 130px; resize: vertical; }

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: 2px solid var(--gruen);
  outline-offset: 1px;
  border-color: var(--gruen);
}

.feld input[type="file"] {
  width: 100%;
  padding: 9px;
  border: 1.5px dashed #cfccc0;
  border-radius: 8px;
  background: var(--sand);
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.feld input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  background: var(--gruen);
  color: var(--weiss);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.feld input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  background: var(--gruen);
  color: var(--weiss);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.feld input[type="file"]::file-selector-button:hover { background: var(--gruen-dunkel); }
.feld input[type="file"]:hover { border-color: var(--gruen); }

.captcha-frage {
  display: block;
  margin-top: 5px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gruen-dunkel);
}

.feld .hinweis {
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin-top: 5px;
}

.feld .fehler-text {
  display: none;
  font-size: 0.86rem;
  color: var(--rot);
  font-weight: 600;
  margin-top: 5px;
}

.feld.hat-fehler input,
.feld.hat-fehler select,
.feld.hat-fehler textarea { border-color: var(--rot); }

.feld.hat-fehler .fehler-text { display: block; }

.zustimmung {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.zustimmung input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--gruen);
}

/* Feld fuer Firmen-Website: bleibt fuer Menschen unsichtbar */
.fw-feld {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular-status {
  margin-top: 14px;
  font-weight: 600;
  color: var(--rot);
  display: none;
}

.formular-status.sichtbar { display: block; }

/* Erfolgs-Animation */

.erfolg {
  display: none;
  text-align: center;
  padding: 44px 24px;
}

.erfolg.sichtbar { display: block; }

.erfolg .kreis {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
}

.erfolg .kreis circle {
  fill: none;
  stroke: var(--gruen);
  stroke-width: 4;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: kreis-zeichnen 0.7s ease-out forwards;
}

.erfolg .kreis path {
  fill: none;
  stroke: var(--gruen);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: haken-zeichnen 0.45s 0.55s ease-out forwards;
}

.erfolg h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gruen);
  margin: 0 0 8px;
}

.erfolg p { color: var(--ink-soft); margin: 0; }

@keyframes kreis-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes haken-zeichnen  { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .erfolg .kreis circle,
  .erfolg .kreis path { animation: none; stroke-dashoffset: 0; }
  .job-karte, .btn { transition: none; }
}

/* ---------- Instagram (Zwei-Klick-Loesung, DSGVO) ---------- */

.insta { margin-top: 44px; }

.insta-titel {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gruen);
  margin: 0 0 14px;
}

.insta-consent {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.insta-bg {
  position: absolute;
  inset: -24px;
  background: url('/jobs/fotos/fiat-rosen.jpg') center / cover no-repeat;
  filter: blur(9px);
}

.insta-consent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
}

.insta-consent-text {
  position: relative;
  z-index: 1;
  max-width: 500px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.insta-frage {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gruen);
  margin: 0 0 10px;
}

.insta-hinweis {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 18px;
}

.insta-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.insta-inhalt iframe {
  display: block;
  width: 100%;
  height: 900px;
  margin: 0 auto;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
}

@media (max-width: 719px) {
  .insta-inhalt iframe { height: 640px; }
}

.insta-profil-link {
  text-align: center;
  font-weight: 600;
  margin: 12px 0 0;
}

/* Anfahrt: eigenes Luftbild als unscharfe Vorschau, Karte in voller Breite */
.zwei-klick-karte { margin-top: 34px; }

.zwei-klick-karte .insta-bg {
  background-image: url('/jobs/fotos/luftbild.jpg');
}

.zwei-klick-karte .insta-consent { min-height: 300px; }

.zwei-klick-karte .insta-inhalt iframe {
  max-width: none;
  height: 420px;
}

/* ---------- Teilen (Shariff-Prinzip: reine Links, kein Tracking) ---------- */

.teilen {
  border-top: 1px solid var(--linie);
  margin-top: 42px;
  padding-top: 24px;
}

.teilen p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.teilen-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teilen-knopf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid var(--linie);
  border-radius: 5px;
  background: var(--weiss);
  color: var(--gruen);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.teilen-knopf:hover {
  border-color: var(--gruen);
  background: var(--gruen-hell);
  color: var(--gruen-dunkel);
}

/* ---------- Weitere offene Stellen (Jobseiten unten) ---------- */

.stellen-links {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.stellen-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gruen);
  font-weight: 700;
}

.stellen-links a span {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.stellen-links a:hover {
  border-color: var(--gruen);
  color: var(--gruen-dunkel);
}

/* ---------- CTA-Leiste unten auf Jobseiten ---------- */

.mehr-leiste {
  border-top: 1px solid var(--linie);
  padding: 40px 0;
  text-align: center;
}

.mehr-leiste p {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mehr-leiste .btn { margin: 4px 6px; }

/* ---------- Footer ---------- */

.jobs-footer {
  background: var(--footer-rot);
  color: var(--weiss);
  padding: 46px 0;
  margin-top: 30px;
}

.jobs-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.jobs-footer strong { font-size: 1.02rem; }

.jobs-footer p { margin: 8px 0 0; font-size: 0.93rem; line-height: 1.7; }

.jobs-footer a { color: var(--weiss); text-decoration: underline; }
.jobs-footer a:hover { text-decoration: none; }

.jobs-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

/* ---------- Fokus sichtbar (Tastatur) ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 719px) {
  body { font-size: 16px; }

  .jobs-header { position: static; }

  .jobs-header .container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 60px;
  }

  .header-logo .logo-desktop { display: none; }

  .header-logo .logo-mobil {
    display: block;
    height: 42px;
    width: 42px;
  }

  .jobs-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 0;
    flex-wrap: nowrap;
  }

  .jobs-nav a { padding: 9px 7px; font-size: 0.88rem; }

  .jobs-nav a.nav-cta { display: none; }

  .hero .container { padding-top: 48px; padding-bottom: 48px; }

  .abschnitt { padding: 40px 0; }

  .kontakt-karte { padding: 22px; }

  .formular-rahmen { padding: 22px; }

  .job-bild { aspect-ratio: 4 / 3; }
}

@media (min-width: 720px) {
  .job-bild { aspect-ratio: 21 / 9; }
}
