/* Nur Login-Seite */

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: white;
  overflow-x: hidden;
  background-color: #000;
}

/* Überschrift Anlauftext*/
.h3hz {
    font-weight: 500;
    font-size: 30px;
    color: white;
    margin-bottom: 30px; /* Abstand unter der Überschrift */
}

/* Grundschrift Kasten rechts */
.ptext {
    font-weight: 300;
    font-size: 18px;
    color: white;
    text-align: left;
}

.login-forgot {
  color: white;
  font-size: 0.9rem; /* entspricht "small", optional anpassen */
  text-decoration: none;
}

/* Link-Farbe nach Hoover (Leiste unten #9CF)*/
a:hover,
a:focus {
  color: #4dd4ae;
  text-decoration: none;
}

#login {
  background-image: url(../Bilder/login.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: #000;

  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* statt center */
  justify-content: center;
  min-height: 100vh;
  overflow-y: auto; /* ← damit Inhalt scrollen kann */
}

/*  Flächen */
#login .container {
  max-width: 1000px; /* Breite der beiden Flächen  */
  margin-top: 0; /* ← Abstand hier entfernen, Steuerung zentral über .login-wrapper */
}

.tm-register-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap; /* Hier das Umfließen erlauben */
}

.tm-register-row > div {
  flex: 1;
  min-width: 0; /* verhindert zu breite Inhalte */
}

textarea, /* Cursorfarbe */
input {
  color: white;
}

/* Schrift Login-Button */
.btn-large-white {
  background-color: white;
  color: black;
  font-size: 1.1rem;
}

/* Login-Button Farbe Hover*/
.btn-large-white:hover,
.btn-large-white:focus {
  background-color: #ccc;
  color: black;
}

/* Footer-Link Schriftgröße+Farbe*/
.tm-footer-tuerkis {
  font-size: 16px;
  color: #60fed2;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* Footer Schriftgröße + Raum rechts/links */
.tm-px-5 {
  font-size: 15px;
  padding: 0 1.5rem;
  margin: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  min-height: calc(100vh - 30px); /* 60px Abstand nach unten */
  display: flex;
  flex-direction: column;
  margin-bottom: 60px; /* Platz für Footer lassen */
}

.main-content {
  flex: 1;
}

/* Fläche hinter Footer */
footer.row {
  background-color: rgba(0, 0, 0, 0.6);
  max-width: 1000px;     /* z. B. wie bei den Boxen */
  margin: 20px auto 10px auto; /* ↑ Abstand von oben etwas verringert */
  padding: 0.1rem 1rem;     /* oben/unten 1rem, rechts/links 2rem */
  box-sizing: border-box;
  border-radius: 4px;     /* optional: etwas abrunden */
  margin-bottom: 15px; /* kein zusätzlicher Abstand unten */
}



/* Login-Button Stand */
.tm-flex-lr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px; /* Abstand zwischen den Boxen */
  max-width: 1000px;
  padding: 0 20px;
  flex-wrap: wrap;
  max-height: 90vh; /* ← damit Begrenzung greift */
  overflow-y: auto; /* ← hier muss gescrollt werden können */
  margin-top: 500px; /* ← Abstand oben für alle Bildschirmgrößen */
  /*padding-bottom: 200px; /* Abstand nach unten */


}

.login-box,
.info-box {
  flex: 1 1 400px;
  background-color: rgba(0, 0, 0, 0.6);
  height: 260px; /* oder 420px o. ä., je nach Bedarf */
  padding: 2rem;
  box-sizing: border-box;
  min-width: 300px;
  height: 260px;    /* maximal 80% der Bildschirmhöhe */
  overflow-y: auto;    /* vertikaler Scrollbalken bei Bedarf */
}


@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
  }
}

@media (min-width: 769px) {
  .login-wrapper {
  }
}

@media screen and (max-width: 600px) {
  .login-box,
  .info-box {
    height: 360px;
  }

  .login-wrapper {
    max-height: 90vh;
    overflow-y: auto;
  }
}
