* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'DB Neo Screen Rounded', Arial, Helvetica, sans-serif;
}

/* Light */
@font-face {
  font-family: 'DB Neo Screen Rounded';
  src: url('/assets/fonts/DBNeoScreenRounded-Light.woff2') format('woff2'),
    url('/assets/fonts/DBNeoScreenRounded-Light.woff') format('woff'),
    url('/assets/fonts/DBNeoScreenRounded-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: 'DB Neo Screen Rounded';
  src: url('/assets/fonts/DBNeoScreenRounded-Black.woff2') format('woff2'),
    url('/assets/fonts/DBNeoScreenRounded-Black.woff') format('woff'),
    url('/assets/fonts/DBNeoScreenRounded-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/pictures/ubahn-landscape_small.jpg') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

@media (orientation: portrait) {
  .background {
    background: url('/assets/pictures/hbf_portrait_small.jpg') no-repeat center center;
    background-size: cover;
    /* sorgt dafür, dass das Bild immer den gesamten Bereich abdeckt */
    min-height: 100vh;
    /* verhindert weiße Ränder bei langen Bildschirmen */
  }
}

.login-container {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px 40px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.error {
  background: rgba(212, 5, 17, 0.2);
  border: 1px solid rgba(212, 5, 17, 0.5);
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

.logo {
  width: 180px;
  margin-bottom: 20px;
}

.login-form h2 {
  margin-bottom: 25px;
  color: #fff;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px 10px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus+label,
.input-group input:valid+label {
  top: -8px;
  left: 8px;
  font-size: 12px;
  color: #d40511;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #d40511;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #a8030d;
}

/* Footer */
.footer-text {
  margin-top: 18px;
  font-size: 12px;
  color: #383434;
}