#job-popup.job-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.65);
}

#job-popup[hidden] {
  display: none !important;
}

#job-popup .job-popup-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

#job-popup h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 20px;
  color: #333333;
}

#job-popup p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
}

#job-popup .job-popup-button {
  display: inline-block;
  padding: 14px 25px;
  background: #795548;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

#job-popup .job-popup-button:hover {
  background: #5d4037;
  color: #ffffff;
}

#job-popup .job-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: 0;
  background: transparent;
  color: #555555;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 600px) {
  #job-popup .job-popup-box {
    padding: 40px 20px 30px;
  }

  #job-popup h2 {
    font-size: 23px;
  }
}

/* Stellenanzeige Marktstübchen */

#job-popup .job-popup-box {
  max-width: 580px;
  padding: 38px 35px;
}

#job-popup h2 {
  font-size: 27px;
  margin-bottom: 14px;
}

#job-popup .job-slogan {
  color: #74533e;
  font-weight: bold;
  font-size: 18px;
}

#job-popup .job-positions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 15px;
  margin: 22px 0;
  background: #f0e6d8;
  border-radius: 6px;
  color: #49372c;
  font-size: 19px;
}

#job-popup h3 {
  margin: 22px 0 15px;
  color: #49372c;
  font-size: 20px;
  line-height: 1.4;
}

#job-popup .job-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

#job-popup .job-benefits li {
  padding: 9px 0;
  border-bottom: 1px solid #e8dfd3;
  color: #66564b;
  font-size: 16px;
  line-height: 1.5;
}

#job-popup .job-popup-button {
  margin: 8px 0 20px;
}

#job-popup .job-footer {
  font-size: 15px;
  margin: 8px 0 12px;
}

#job-popup .job-goodbye {
  color: #74533e;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  #job-popup .job-popup-box {
    padding: 40px 20px 25px;
    max-height: 85vh;
  }

  #job-popup h2 {
    font-size: 23px;
  }

  #job-popup .job-positions {
    font-size: 17px;
  }

  #job-popup .job-benefits li {
    font-size: 15px;
  }
}