/* Reset & Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('3d.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

/* Hinweis oben */
.top-banner {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 1vh 2vw;
  font-size: 1.1rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.top-banner:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hauptbereich */
.overlay {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 8vh; /* Abstand zum Banner */
  text-align: center;
}

.logo {
  width: 200px;
  max-width: 40vw;
  margin-bottom: 2vh;
}

.headline {
  font-size: 2.5rem;
  margin-bottom: 1vh;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.subtext {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* --- Responsive Anpassungen --- */

@media (max-width: 768px) {
  .top-banner {
    font-size: 1rem;
    padding: 1vh;
  }

  .logo {
    width: 50vw;
    max-width: 250px;
  }

  .headline {
    font-size: 1.8rem;
    padding: 0 5vw;
  }

  .subtext {
    font-size: 1rem;
    padding: 0 8vw;
  }

  .overlay {
    padding-top: 12vh;
  }
}

@media (max-width: 480px) {
  .headline {
    font-size: 1.5rem;
  }

  .subtext {
    font-size: 0.9rem;
  }

  .logo {
    width: 60vw;
  }
}
