  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
  }

  .login-container {
    background: #fff;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }

  .login-container:hover {
    transform: translateY(-4px);
  }

  h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    color: #111;
  }

  form {
    display: flex;
    flex-direction: column;
  }

  input[type="text"],
  input[type="password"] {
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    font-size: 1rem;
    outline-offset: 2px;
    outline-color: transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  input[type="text"]:focus,
  input[type="password"]:focus {
    border-color: #4f46e5; /* Indigo-600 */
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.4);
  }

  button {
    background: #4f46e5; /* Indigo-600 */
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.6);
  }

  button:hover {
    background: #4338ca; /* Indigo-700 */
    box-shadow: 0 6px 20px rgba(67, 56, 202, 0.8);
  }

  .error {
    background-color: #fee2e2; /* Red-100 */
    color: #b91c1c; /* Red-700 */
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(185, 28, 28, 0.3);
  }

  @media (max-width: 400px) {
    .login-container {
      width: 90vw;
      padding: 2rem 1.5rem;
    }
  }

  /* Für Screenreader versteckte Labels */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
  }