/* Karriere – Figma „💼 Careers“ (3823:45648)
   Stellenkarte und Meta-Zeile liegen in stelle.css (auch auf den Detailseiten genutzt). */

/* Hero */
.ka-hero { padding-block: 90px; }
.ka-hero__inner { width: min(1167px, 100% - 2 * var(--gutter)); display: grid; justify-items: center; gap: 22px; }
.ka-hero__text { max-width: 804px; display: grid; justify-items: center; text-align: center; }
.ka-hero__text p { max-width: 606px; margin-top: 12px; margin-bottom: 40px; }

/* Karrierevideo: Vorschaubild mit Play-Knopf unten links (Bildmitte zeigt Gesichter), Link zu YouTube */
.ka-video { position: relative; display: block; width: 100%; overflow: hidden; background: var(--ink); }
.ka-video__bild { width: 100%; transition: transform .4s ease; }
.ka-video:hover .ka-video__bild { transform: scale(1.02); }
.ka-video__knopf {
  position: absolute; left: 32px; bottom: 32px; display: flex; align-items: stretch;
  background: var(--ink); color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
  transition: background-color .2s ease;
}
.ka-video:hover .ka-video__knopf, .ka-video:focus-visible .ka-video__knopf { background: var(--cyan); }
.ka-video__play { width: 76px; display: flex; align-items: center; justify-content: center; padding-left: 5px; border-right: 1px solid rgba(255, 255, 255, 0.24); }
.ka-video__play svg { width: 22px; height: 26px; }
.ka-video__label { display: grid; align-content: center; gap: 4px; padding: 16px 24px; font-size: 18px; line-height: 20px; font-weight: 700; }
.ka-video__hinweis { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--grey-100); }

/* Warum Leute zu uns kommen */
.ka-benefits { padding-block: 132px; }
.ka-benefits__titel { max-width: 596px; margin: 0 auto 48px; text-align: center; }
.ka-benefits__liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.ka-benefit { display: grid; justify-items: start; align-content: start; }
.ka-benefit__icon { width: 76px; height: 76px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.ka-benefit__icon svg { width: 46px; height: 46px; }
.ka-benefit__titel { margin-top: 30px; font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; }
.ka-benefit p { margin-top: 12px; max-width: 290px; }

.ka-spannbreite {
  margin-top: 48px; background: var(--grey-50); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 415px) minmax(0, 683px); align-items: center; column-gap: 48px; padding-left: 74px;
}
.ka-spannbreite__text { display: grid; gap: 8px; }
.ka-spannbreite__titel { font-size: clamp(28px, 0.9vw + 22px, 38px); line-height: 1.316; font-weight: 700; margin-bottom: 5px; }
.ka-spannbreite__bild { width: 683px; max-width: 100%; align-self: end; }
.ka-benefits__button { margin-top: 48px; }

/* Stimmen aus dem Team */
.ka-stimmen { padding-block: 132px; }
.ka-stimmen__grid { display: grid; grid-template-columns: 586fr 596fr; column-gap: 38px; align-items: start; }
.ka-stimmen__spalte { display: grid; gap: 28px; }
.ka-stimmen__spalte:first-child { gap: 33px; }
.ka-stimmen__intro { display: grid; gap: 14px; }
.ka-stimmen__intro h2 { max-width: 400px; }
.ka-stimmen__intro p { max-width: 465px; }
.ka-stimme { background: var(--grey-50); padding: 56px 37px 30px; display: grid; gap: 24px; }
.ka-stimme__autor { display: flex; align-items: center; gap: 24px; }
.ka-stimme__autor img { width: 69px; height: 69px; flex: none; border-radius: 50%; }
.ka-stimme__autor > span { display: grid; gap: 2px; }
.ka-stimme__name { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; }
.ka-stimme__rolle { font-size: 18px; line-height: 20px; font-weight: 600; color: var(--grey-700); }
.ka-stimme__zitat { color: var(--grey-600); min-height: 101px; }
.ka-gruppe { margin-top: 64px; }
.ka-gruppe img { width: 100%; }

/* Offene Stellen (schwarz) mit Filter */
.ka-stellen { background: var(--ink); color: var(--white); border-bottom: 1px solid var(--grey-700); padding-block: 180px; }
.ka-stellen__kopf { max-width: 604px; margin-inline: auto; display: grid; gap: 12px; text-align: center; }
.ka-filter { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; }
.ka-filter[hidden] { display: none; }
.ka-filter__button {
  padding: 14px 22px; font-size: 16px; line-height: 18px; font-weight: 500; color: var(--white);
  border: 1px solid var(--grey-500); transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ka-filter__button:hover { border-color: var(--cyan); color: var(--cyan); }
.ka-filter__button[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--ink); }
.ka-filter__button[aria-pressed="true"]:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.ka-stellen__liste { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 29px 28px; }
.ka-stellen__liste > li[hidden] { display: none; }
.ka-stellen__liste > li { display: flex; }
.ka-stellen__liste .stelle-karte { flex: 1; }
.ka-stellen__leer { margin-top: 48px; text-align: center; }
.ka-stellen__leer a { text-decoration: underline; }

/* ---------- Responsiv ---------- */
@media (max-width: 1279px) {
  .ka-spannbreite { padding-left: 48px; column-gap: 32px; grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 991px) {
  .ka-hero { padding-block: 64px 48px; }
  .ka-benefits, .ka-stimmen { padding-block: 104px; }
  .ka-benefits__liste { grid-template-columns: 1fr 1fr; }
  .ka-spannbreite { grid-template-columns: 1fr; padding: 48px 32px 0; row-gap: 32px; }
  .ka-spannbreite__bild { justify-self: center; }
  .ka-stimmen__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .ka-stellen { padding-block: 104px; }
  .ka-stellen__liste { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ka-benefits, .ka-stimmen, .ka-stellen { padding-block: 80px; }
  .ka-benefits__liste { grid-template-columns: 1fr; gap: 40px; }
  .ka-benefit p { max-width: none; }
  .ka-spannbreite { padding: 40px 20px 0; }
  .ka-stimme { padding: 36px 24px 28px; }
  .ka-stimme__autor { gap: 16px; }
  .ka-stimme__name { font-size: 22px; line-height: 30px; }
  .ka-stimme__rolle { font-size: 16px; }
  .ka-stimme__zitat { min-height: 0; }
  .ka-video__knopf { left: 12px; bottom: 12px; }
  .ka-video__play { width: 52px; }
  .ka-video__play svg { width: 16px; height: 19px; }
  .ka-video__label { padding: 10px 14px; font-size: 15px; line-height: 18px; gap: 2px; }
  .ka-video__hinweis { font-size: 13px; line-height: 16px; }
  .ka-gruppe { margin-top: 40px; }
  .ka-filter { gap: 12px; }
}
