body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #f4f4f4;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: url('../images/background.jpg') no-repeat center center/cover;
  filter: blur(8px);
  z-index: -1;
}

.container {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.logo {
  max-width: 150px;
  margin-bottom: 8px; /* kleiner, aber sicher */
}

h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2rem); /* optional: responsiv skalieren */
  color: #004F7C;
}

.subtitle {
  color: #555;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem); /* min: 0.9rem, ideal: 2.5vw, max: 1.2rem */
  margin-bottom: 20px;
}
.input-group {
  text-align: left;
  margin-bottom: 20px;
}

label {
  font-size: 0.95rem;
  margin-bottom: 5px;
  display: block;
  color: #444;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #ec6421;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #d8561a;
  transform: translateY(-1px);
}

.message {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #FF4D4D;
  background-color: #FFDDDD;
  color: #FF4D4D;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

.custom-hr {
  border: none;
  border-top: 1px solid #ddd;  /* Hellgrau, dezenter als #888 */
  margin: 24px 0 12px 0;       /* Weniger Abstand, wirkt zurückhaltender */
  width: 100%;
}


.agb-box {
  display: flex;
  justify-content: center;
}

.agb-box a {
  font-size: 12px;
  color: #888;
  padding: 6px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background-color: #fafafa;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.agb-box a:hover {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transform: translateY(-1px);
}

/* … dein bestehendes CSS oben … */

/* Gruppe für Passwort-Input + Icon */
.password-group {
  margin-bottom: 20px; /* wie vorher */
}

/* Label + Button bleiben inline */
.password-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;          /* minimaler Abstand Icon/Text */
  font-size: 0.95rem;
  color: #444;
}

/* Button als reines Icon */
.toggle-pw {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}

/* Kein Fokusrand */
.toggle-pw:focus {
  outline: none;
}

/* Input direkt unter Label, ohne extra Abstand */
.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  margin-top: 4px;    /* kleiner Abstand */
}