/* Mobil-/Tablet-Anpassungen nur fuer /jobs/ (gilt nur, wenn in Media-Queries <=1024px, ausser bewusst global) */

@media (max-width: 1024px) {
  /* Hero: Bild bekommt Platz, Titelbox liegt mittig darauf */
  body .con-kit-section.cover .con-kit-frame {
    min-height: 320px;
    align-items: center;
  }

  /* Buttons ("Mehr erfahren"): gut antippbar */
  body .con-kit-section:not(.menu) a.con-kit-component-button--type-solid {
    min-height: 52px;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 600;
  }
  body .con-kit-section:not(.menu) a.con-kit-component-button--type-solid .con-kit-component-button__label,
  body .con-kit-section:not(.menu) a.con-kit-component-button--type-solid .con-kit-component-button__text {
    font-size: 17px;
    font-weight: 600;
  }
}

/* Drei Stellen-Karten: unter 860px untereinander (sonst "Lagermitarbeite-r") */
@media (max-width: 860px) {
  body .con-kit-component-grid-list--columns-3 .con-kit-component-grid-list-item {
    width: 100%;
  }
  body .con-kit-component-grid-list--columns-3 .con-kit-component-header .con-kit-quark {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }
}

@media (max-width: 600px) {
  body .con-kit-section.cover .con-kit-frame {
    min-height: 300px;
  }

  /* Unterstreichung sitzt mobil an der falschen Stelle (Desktop-Koordinaten) */
  body .con-kit-section .highlight-container {
    display: none;
  }

  /* Ausbildungs-Karten untereinander statt 2 Mini-Spalten mit gebrochenen Woertern */
  body .con-kit-component-grid-list--columns-2 .con-kit-component-grid-list-item {
    width: 100%;
  }
  body .con-kit-component-grid-list--columns-2 .con-kit-component-header .con-kit-quark {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  /* Karten: gleichmaessige Innenabstaende */
  body .con-kit-component-grid-list .con-kit-molecule-grid-item {
    height: auto;
  }
}

/* Review: leere Platzhalter-Absaetze (nur fuer gleiche Kartenhoehe am Desktop) erzeugten
   in gestapelten Karten grosse Luecken zwischen Text und "Mehr erfahren" */
@media (max-width: 860px) {
  body .con-kit-component-grid-list .con-kit-quark:has(> br:only-child) { display: none; }
}
