.parkplan_container {
  position: relative;
  width: 80vw;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.parkplan_background,
.parkplan_overlay {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.parkplan_modal_overlay,
.parkplan_modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.parkplan_modal_overlay.parkplan_active,
.parkplan_modal.parkplan_active {
  opacity: 1;
  pointer-events: all;
}

.parkplan_modal.parkplan_active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

.parkplan_overlay {
  position: absolute;
  top: 0;
  left: 0;
  animation: parkplan_color_glow 4s ease-in-out infinite, parkplan_sparkle_spin_scale 1.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes parkplan_color_glow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.5) saturate(1.8); }
  100% { filter: brightness(1); }
}

@keyframes parkplan_sparkle_spin_scale {
  0% {
    transform: rotate(-0.5deg) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: rotate(0.5deg) scale(1.02);
    opacity: 1;
  }
}

.parkplan_button {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.parkplan_schrift{
  position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    color: white;
    /* border: 2px solid white; */
    /* border-radius: 4px; */
    /* padding: 10px 20px; */
    /* cursor: pointer; */
    font-size: 3.2rem;
    z-index: 2;
    /* transition: background-color 0.3s ease; */
        text-shadow: 2px 4px 2px rgba(0, 0, 0, 0.5);
}

.parkplan_button:hover {
  background-color: rgba(255, 255, 255, 0.2); /* halbtransparent weiß */
}

.parkplan_modal_overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.parkplan_modal {
  position: fixed;
  top: 50%; left: 50%;
  background: white;
  padding: 10px;
  border-radius: 10px;
  z-index: 100;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.95);
}

.parkplan_modal_content {
  position: relative;
}

.parkplan_close {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 24px;
  height: 24px;
  background-color: white;
  color: black;
  font-size: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 900;
}

.parkplan_close:hover {
  background-color: #f0f0f0;
  color: red;
}


.parkplan_image {
  height: 90vh;
}


@media (min-width: 2000px) {

  .parkplan_container {
    width: 50vw;
  }

}

@media (max-width: 767px) {
  .parkplan_schrift{
    display: none;
  }
  .parkplan_image {
    
    width: 90vw;
    height: auto;
  }

}

