/* Grundlayout */
body {
  background-color: #121212;
  font-family: Arial, sans-serif;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Header und Logo */
header {
  text-align: center;
  margin-top: 2vh;
}

header img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 0rem;
}

/* Titel */
h1 {
  font-size: 0rem;
  color: white;
}

/* Einleitender Text */
.intro {
  text-align: center;
  max-width: 800px;
  margin: 0.8rem auto;
  padding: 1rem;
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  color: white;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.intro ul {
  list-style-type: disc;
  padding-left: 20px;
}

.intro ul li {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.outro {
  text-align: center;
  max-width: 800px;
  margin: 0.8rem auto;
  padding: 1rem;
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  color: white;
}

.outro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.outro p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.outro ul {
  list-style-type: disc;
  padding-left: 20px;
}

.outro ul li {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Formularbereich */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 90%;
  max-width: 500px;
  margin-top: 2vh;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

label {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

input, select {
  padding: 0.5rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 5px;
  width: 100%;
  background-color: #2b2b2b;
  color: white;
}

input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 5px #2ecc71;
}

/* Buttons */
button {
  padding: 0.8rem;
  font-size: 1rem;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:disabled {
  background-color: gray;
  cursor: not-allowed;
}

button:hover:enabled {
  background-color: #27ae60;
}

/* Rückmeldungstext */
#feedback {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
}

.back-button {
  display: inline-block;
  background-color: #2a2a2a; /* Dunkles Grau */
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
}

.back-button a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

.back-button a:hover {
  background-color: #444; /* Etwas helleres Grau für den Hover-Effekt */
  border-radius: 5px;
  padding: 10px 20px;
}


/* Startseiten-Boxen */
.options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 90%;
  max-width: 400px;
  margin: 0rem auto;
}

.options a {
  display: block;
  text-align: center;
  padding: 1rem;
  background-color: #1e1e1e;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s;
}

/* Buttons mit IDs für Hover */
#anmelden:hover {
  background-color: #27ae60; /* Grüner Hover-Effekt */
}

#ummelden:hover {
  background-color: #e68900; /* Oranger Hover-Effekt */
}

#abmelden:hover {
  background-color: #e60000; /* Roter Hover-Effekt */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  form, .options {
    width: 95%;
    padding: 1.5rem;
  }

  input, select {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  button {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  label {
    font-size: 0.95rem;
  }

  .options a {
    font-size: 1rem;
    padding: 0.9rem;
  }
}

@media (max-width: 480px) {
  form {
    padding: 1rem;
    gap: 1rem;
  }

  input, select {
    font-size: 0.9rem;
  }

  button {
    font-size: 0.9rem;
  }

  label {
    font-size: 0.9rem;
  }

  .options a {
    font-size: 0.95rem;
  }
}

/* Stellt sicher, dass der Hinweis unter dem Formular angezeigt wird */
.disclaimer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #ccc; /* Heller Grauton für den Hinweis */
}

/* Titel des Hinweises in Rot */
.disclaimer-title {
  font-weight: bold;
  color: #ff1900; /* Rot für den Hinweis-Titel */
  font-size: 1.1rem;
}

