/* Gemeinsamer Style für mobile & desktop Listen */
.jobbenefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 600px; /* deutlich breiter als 160px */
}

.jobbenefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}

.jobbenefits-list li img {
  width: 160px !important;
  height: 160px !important;
  flex-shrink: 0;
}

.jobbenefits-list li span {
  font-size: 1rem;
  color: #193076;
  font-weight: 500;
}

/* Sichtbarkeiten: nur eine Version je Viewport */
@media screen and (max-width: 1180px) {
  .benefits-mobile {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten für Mobile */
    gap: 0.5rem;
    justify-items: center;
    padding: 0;
    list-style: none;
    max-width: 100%;
    margin: 1rem auto;
  }

  .benefits-mobile li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    border: none;
    box-sizing: border-box;
    width: 100%;
  }

  .benefits-mobile li img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
  }

  .benefits-mobile li span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #193076;
    margin-left: -50px;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
  }
  .benefits-desktop {
    display: none;
  }
}

@media screen and (min-width: 1181px) {
  .benefits-mobile {
    display: none;
  }
  .benefits-desktop {
    display: block;
  }
}
/* Sichtbarkeiten: nur eine Version je Viewport */
@media screen and (max-width: 600px) {
  .benefits-mobile li span {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #193076;
    margin-left: 0px !important;
    margin-top: -2rem !important;
    margin-bottom: -0.5rem !important;
  }	
}

@media screen and (min-width: 1181px) {
  .benefits-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
    gap: 2rem;
    justify-items: center;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0;
    list-style: none;
  }

  .benefits-desktop li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
  }

  .benefits-desktop li img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: -60px;
  }

  .benefits-desktop li span {
    font-size: 1rem;
    color: #193076;
    font-weight: 500;
    line-height: 1.4;
  }
}
.benefits-desktop li:hover {
  transform: scale(1.2);
}
