/* ==========================================================================
   HaiEnd-Event: Jobseiten (/jobs, /jobs/service-bar, /jobs/danke, Datenschutz)
   Mobil zuerst. Farben und Schriften nur über Tokens aus stil.css.
   ========================================================================== */

/* Bühne */
.held.jobs {
  min-height: 64vh;
  min-height: 64svh;
}

.held.jobs picture {
  display: contents;
}

.lohnzeile {
  display: inline-block;
  background: var(--hellblau);
  color: var(--band);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-klein);
  margin: 0 0 1.25rem;
}

.held .lohnzeile {
  margin-top: 0.25rem;
}

/* Kacheln "Wo du arbeitest" */
.kacheln {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kachel {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
}

.kachel-bild {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.kachel-inhalt {
  padding: 1.2rem 1.3rem 1.4rem;
  flex: 1 1 auto;
}

.kachel-inhalt h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}

.kachel-inhalt p {
  margin: 0;
  color: var(--text-gedaempft);
}

.kachel.text {
  background: var(--band);
  color: var(--band-text);
  border-color: var(--band);
  justify-content: center;
}

.kachel.text h3,
.kachel.text p {
  color: var(--band-text);
}

@media (min-width: 600px) {
  .kacheln {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .kacheln {
    grid-template-columns: repeat(6, 1fr);
  }
  .kacheln > .kachel {
    grid-column: span 2;
  }
  .kacheln > .kachel:nth-child(4):nth-last-child(2),
  .kacheln > .kachel:nth-child(5):last-child {
    grid-column: span 3;
  }
}

/* Galerie */
.galerie {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.galerie li {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--band);
  box-shadow: var(--schatten);
}

.galerie picture,
.galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 800px) {
  .galerie {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* Stellenkarte */
.stellenkarte {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-left: 5px solid var(--blau);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--schatten);
  max-width: 52rem;
}

.stellenkarte h3 {
  margin-bottom: 0.3em;
}

.stellenkarte .stellen-fakten {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stellenkarte .stellen-fakten li {
  background: var(--grund);
  border: 1px solid var(--rand);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.92rem;
}

/* Konditionen */
.konditionen {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: kond;
}

.kondition {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--schatten);
  counter-increment: kond;
}

.kondition h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2em;
}

.kondition h3::before {
  content: counter(kond) ". ";
  color: var(--blau);
}

.kondition .preis {
  display: block;
  font-family: var(--schrift-kopf);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--blau);
  margin-bottom: 0.5rem;
}

.kondition p {
  margin: 0;
  color: var(--text-gedaempft);
}

@media (min-width: 800px) {
  .konditionen {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Einsatzorte als Textkarten */
.orte {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ort {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.ort h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}

.ort p {
  margin: 0;
}

.ort .adresse {
  color: var(--text-gedaempft);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

@media (min-width: 700px) {
  .orte {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Formular-Erweiterungen */
.formular.bewerbung {
  max-width: 52rem;
}

.formular-gruppe {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
  min-width: 0;
}

.formular-gruppe > legend {
  font-family: var(--schrift-kopf);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.75rem;
}

.formular-gruppe .hinweis {
  margin-top: -0.4rem;
  margin-bottom: 0.9rem;
}

.chips {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.chips > legend {
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0;
  margin-bottom: 0.4rem;
}

.chip-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--rand);
  border-radius: 999px;
  background: var(--grund);
  cursor: pointer;
  font-weight: 400;
  font-size: 0.97rem;
}

.chip input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--blau);
}

.chip:has(input:checked) {
  border-color: var(--blau);
  background: var(--hellblau);
  color: var(--band);
}

.chip:has(input:focus-visible) {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}

.feld input[type="file"] {
  padding: 0.6rem;
  min-height: 48px;
  cursor: pointer;
}

.feld-fehler {
  color: var(--fehler);
  font-size: 0.9rem;
  margin: 0;
}

.feld-fehler:empty {
  display: none;
}

.zaehler {
  font-size: 0.85rem;
  color: var(--text-gedaempft);
  margin: 0;
}

.feld.ankreuz input {
  width: 1.5rem;
  height: 1.5rem;
}

.feld.ankreuz label {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Video */
.video-wege {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.video-weg {
  background: var(--grund);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.video-weg h4 {
  font-family: var(--schrift-text);
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.video-buehne {
  position: relative;
  background: var(--schwarz);
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  max-width: 320px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.video-buehne video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--schwarz);
}

.video-zaehler {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--band);
  color: var(--band-text);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-klein);
  font-weight: 700;
  font-size: 0.95rem;
}

.video-zaehler:empty {
  display: none;
}

.video-status {
  margin: 0.75rem 0 0;
  font-weight: 700;
}

.video-status:empty {
  display: none;
}

.video-weg .knopf-gruppe {
  margin-top: 0.75rem;
}

.video-weg .knopf {
  min-height: 44px;
}

@media (min-width: 800px) {
  .video-wege {
    grid-template-columns: 1fr 1fr;
  }
}

/* Fortschritt */
.fortschritt {
  height: 12px;
  background: var(--rand-hell);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}

.fortschritt-balken {
  height: 100%;
  width: 0;
  background: var(--blau);
  transition: width 0.2s ease;
}

.fortschritt-text {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--text-gedaempft);
}

/* Klebender Knopf unten (nur Handy) */
.kleb-knopf {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: block;
  text-align: center;
  background: var(--blau);
  color: var(--flaeche);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1rem;
  min-height: 52px;
  text-decoration: none;
  box-shadow: var(--schatten);
}

.kleb-knopf:hover {
  background: var(--blau-dunkel);
  color: var(--flaeche);
}

.kleb-knopf.verborgen {
  display: none;
}

body.hat-kleb {
  padding-bottom: 52px;
}

@media (min-width: 720px) {
  .kleb-knopf {
    display: none;
  }
  body.hat-kleb {
    padding-bottom: 0;
  }
}

/* Fließtext der Rechtsseite */
.rechtstext {
  max-width: 48rem;
}

.rechtstext h2 {
  font-size: 1.5rem;
  margin-top: 1.8rem;
}

/* Kein Querscrollen bei 360 px */
.held,
.abschnitt {
  overflow-x: hidden;
}

.huelle {
  min-width: 0;
}

.kachel-inhalt {
  display: flex;
  flex-direction: column;
}

.kachel-inhalt p.bildnachweis {
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.78rem;
  opacity: 0.75;
}
