* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: 'Inter', sans-serif;
}

.logo {
  width: 280px;  /* Größeres Logo */
  height: 100px;
  background: url("../images/logo.png") no-repeat center center / contain;
  position: fixed;
  top: 90px;  /* Position leicht unter der Oberkante */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.logo1 {
  width: 280px;  /* Größeres Logo */
  height: 100px;
  background: url("../images/logo.png") no-repeat center center / contain;
  position: absolute;
  top: -100px;  /* Position leicht unter der Oberkante */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.content-box {
  width: 80%;
  max-width: 600px;
  height: auto;
  min-height: 350px;
  background: url("../images/background.png") no-repeat center center / cover;
  position: relative;
  margin-top: 150px;  /* Platz für das größere Logo */
  border-radius: 10px;
}

.background-overlay {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
}

.text {
  position: fixed;  /* Fixiert den Text */
  top: 40%;  /* Abstand von oben (statt 50%) */
  left: 30%;  /* Links ausgerichtet */
  transform: translate(0, -50%);  /* Vertikal zentrieren, aber nicht horizontal */
  width: auto;  /* Breite anpassen */
  font-size: 12px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
  text-align: left;  /* Linksbündig */
  z-index: 10;
}
.Rechtstext {
  width: 100%;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
  text-align: left;  /* Text linksbündig */
  position: relative; /* Element bleibt im normalen Fluss */
  padding: 30px;  /* Gleicher Abstand an allen Seiten */
  box-sizing: border-box; /* Padding wird in die Breite mit einbezogen */
  max-width: 1200px;  /* Optional: maximale Breite für bessere Lesbarkeit */
  margin: 50px auto; /* Zentrierung und Abstand oben/unten */
  overflow-y: auto; /* Ermöglicht Scrollen innerhalb des Elements */
}

.footer {
  background-color: #ffffff;
  padding: 30px 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-socials a {
  color: #333;
  text-decoration: none;
  margin: 0 10px;
}

.footer-socials a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 20px;
  font-size: 12px;
}

.back-text {
  position: absolute;
  top: 50px;
  left: 50px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

.back-text:hover {
  text-decoration: underline;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;  /* Höher als .text */
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.popup-content h2 {
  margin-bottom: 5px;
  font-size: 18px;
}

.popup-content p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.popup-content input[type="email"] {
  padding: 10px;
  width: 80%;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.popup-content input[type="date"] {
  padding: 10px;
  width: 80%;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.popup-content button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #555;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

#thankYouPopup {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 100;
}

#thankYouPopup .popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
  .logo {
    width: 220px;
    height: 80px;
    top: 40px;
  }

  .content-box {
    width: 90%;
    height: auto;
    min-height: 300px;
    margin-top: 120px;
  }

  .text {
    font-size: 12px;
    line-height: 1.5;
    padding-left: 0px;  /* Weniger Abstand links auf kleineren Geräten */
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .popup-content {
      width: 90%;
      max-width: 400px;
      padding: 20px;
  }
  .popup-content h2 {
      font-size: 20px;
  }
  .popup-content input,
  .popup-content button {
      width: 100%;
      font-size: 16px;
      padding: 12px;
  }
  .close-btn {
      font-size: 24px;
      top: 10px;
      right: 15px;
  }
}




