/* Seiten-Layout */
body {
  margin: 0;
  padding: 0;
  background: #0056b3;
  background: linear-gradient(to bottom, #0056b3, rgba(0, 87, 179, 0.21));
  background-attachment: fixed;
  background-size: 100% 100%;
  background-position: center;
  font-family: "Overpass", sans-serif;
  display: flex;
  justify-content: center;
  height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bottom-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background-color: #2f2f2f;
  z-index: -1;
}

.header-title {
  font-size: 80px;
  letter-spacing: -0.2rem;
  color: white;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}

.centered-box {
  position: relative;
  z-index: 2;
  margin-top: 4vh;
}

#svg-container {
  width: 500px;
  height: auto;
}

.buttons {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  z-index: 2;
}

.button {
  border: none;
  padding: 28px 0 24px;
  font-family: "Overpass", sans-serif;
  color: white;
  position: relative;
  background: linear-gradient(45deg, #034184, #0a609d);
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.25s ease;
  width: 30%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.button::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  z-index: 1;
  pointer-events: none;
  border: 0.1rem solid #fff;
  border-radius: 0.3rem;
  box-sizing: border-box;
}

.button:hover {
  transform: scale(1.08);
}

.button.active {
  background: linear-gradient(45deg, #0a6f34, #1b9549);
}

#cars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.car {
  position: absolute;
  width: 100px;
  height: auto;
  transition: transform 0.2s;
}

/* Versteckt, falls vorhanden */
#parking-status {
  display: none;
}

/* WOLKEN-STYLES */
.wolken {
  width: 100vw;
  overflow: hidden;
  position: absolute;
  height: 100vh;
  pointer-events: none;
}

.wolke {
  position: absolute;
  top: 50px;
  left: 110%;
  width: 400px;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  animation: fly-left 25s linear infinite;
}

.wolke1 {
  top: 60px;
  animation-delay: 0s;
}

.wolke2 {
  top: 110px;
  width: 350px;
  animation-delay: 8s;
}

@keyframes fly-left {
  0% {
    left: 110%;
  }
  100% {
    left: -400px;
  }
}

@media (max-width: 768px) {
  body {
    background: #0056b3 !important;
  }

  .header-title {
    font-size: 10vw; /* Skalierung mit Viewport-Breite */
    letter-spacing: 0;
  }

  .bottom-overlay {
    height: 60vh;
  }

  #svg-container {
    width: 90vw;
    max-width: 100%;
    margin: 0 auto;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px; /* etwas Abstand zwischen Buttons */
  }

  .button {
    width: 80%;
    font-size: 20px;
    padding: 14px;
  }

  .centered-box {
    margin-top: 2vh;
    padding: 0 10px;
  }

  .wolke1 {
    top: 20px;
    width: 250px;
    animation-delay: 0s;
  }

  .wolke2 {
    top: 80px;
    width: 200px;
    animation-delay: 12s;
  }
}
