    .login-toggle {
      position: absolute;
      top: 20px;
      right: 20px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: bold;
      color: #00467f;
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 26px;
    }
    .switch input { display: none; }

    .slider {
      position: absolute;
      cursor: pointer;
      background-color: #ccc;
      border-radius: 34px;
      top: 0; left: 0; right: 0; bottom: 0;
      transition: .4s;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      border-radius: 50%;
      transition: .4s;
    }
    input:checked + .slider {
      background-color: #00467f;
    }
    input:checked + .slider:before {
      transform: translateX(24px);
    }
    .slider.round {
      border-radius: 34px;
    }

    .dark-mode {
      background-color: #1e1e1e;
      color: #eaeaea;
    }
    .dark-mode section {
      background-color: #2a2a2a;
      box-shadow: 0 0 8px rgba(0,0,0,0.4);
    }
    .dark-mode input,
    .dark-mode textarea {
      background-color: #3a3a3a;
      color: white;
      border-color: #666;
    }
    .dark-mode form button {
      background-color: #666;
    }

/* Styling des Modals */
.modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 80%;
  max-width: 700px; /* Maximale Breite für das Modal */
  text-align: left;
}

/* Schließen-Button (jetzt viereckig und rot) */
.modal-content button.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: red;
  border: none;
  color: white;
  border-radius: 0; /* Viereckig */
  width: 30px;
  height: 30px;
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-content button.close-button:hover {
  background-color: #cc0000; /* Dunkleres Rot beim Hover */
}

/* Modal-Titel */
.modal-content h2 {
  font-size: 1.8rem;
  color: #00467f;
  margin-bottom: 1rem;
  text-align: center;
}

/* Absatz-Text */
.modal-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Starker Text */
.modal-content strong {
  font-weight: bold;
  color: #00467f;
}

/* Links im Modal */
.modal-content a {
  color: #00467f;
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

/* Überschrift für den Abschnitt "Wie können Sie sich anmelden?" */
.modal-content h3 {
  font-size: 1.4rem;
  color: #00467f;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
