#hoch5overlay {
  position: fixed;
  top:0; left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.7);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

#hoch5overlay .overlay-wrapper {
  background:white;
  padding:  40px 40px 20px 40px;
  border-radius:10px;
  max-width: 90vw;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

#hoch5overlay .start-text {
  text-align: center;
  margin-bottom: 20px;
}

#hoch5overlay .start-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

#hoch5overlay .close-x {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  line-height: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

#hoch5overlay .close-x:hover {
  color: #333;
  background-color: #f0f0f0;
  border-radius: 50%;
}

#hoch5overlay .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 90vw;
  justify-content: space-around;
}

#hoch5overlay .card {
  background:#f5f5f5;
  padding:10px;
  border-radius: 10px;
  text-align:center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 320px;
  max-width: 320px;
}

#hoch5overlay .card img.logo {
  max-width:100px;
  margin: 0 auto 10px auto;
}

#hoch5overlay .card img.image {
  /* max-width:150px; */
  width: auto;
  max-height: 200px;
  max-width: 100%;
  object-fit: contain;
  height: auto;
  border-radius: 4px;
  margin: 0 auto 10px auto;
}

#hoch5overlay .card-link {
  text-decoration: none;
  color: inherit;
}

#hoch5overlay .card.clickable {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

#hoch5overlay .card.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}



#hoch5overlayClose{
  cursor: pointer;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: rgb(222, 71, 84);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
}

#hoch5overlay .card-link + .card-link {
  margin-left: 0;
}