@font-face { font-family: "Barlow"; src: url("fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

/* Design „Nacht“: dunkles Oliv, Sand, Grün */
:root {
  --nacht: #14160f; --flaeche: #1e2218; --sand: #ebe3cc; --sand-dunkel: #c9b58a;
  --gruen: #7f9a5a; --grau: #9c977f; --rot: #c0634b;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(circle at 50% 24%, rgba(201,181,138,.16) 0%, rgba(20,22,15,0) 55%), var(--nacht);
  background-attachment: fixed;
  color: var(--sand);
  font: 400 16px/1.45 "Barlow", system-ui, sans-serif;
}
.login {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; padding: 32px 20px;
}
.patch {
  width: min(48vw, 190px); height: auto;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.65));
}
.panel {
  width: 100%; max-width: 340px; display: grid; gap: 12px;
  padding: 20px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,181,138,.18);
  backdrop-filter: blur(6px);
}
label { display: grid; gap: 6px; font-size: 13px; color: var(--grau); letter-spacing: .04em; }
input {
  font: inherit; font-size: 16px; height: 48px; padding: 0 14px;
  border-radius: 11px; border: 1px solid rgba(235,227,204,.14);
  background: rgba(0,0,0,.35); color: var(--sand);
}
input:focus { outline: none; border-color: var(--sand-dunkel); box-shadow: 0 0 0 3px rgba(201,181,138,.2); }
button {
  height: 50px; margin-top: 6px; border: 0; border-radius: 11px; cursor: pointer;
  background: linear-gradient(180deg, #d8c79d, #b9a473); color: var(--nacht);
  font: 600 16px/1 "Barlow", sans-serif; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 20px -10px rgba(201,181,138,.6);
}
button:hover { filter: brightness(1.06); }
button:active { transform: translateY(1px); }
.error { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(192,99,75,.16); border: 1px solid rgba(192,99,75,.5); color: #f0c2b5; font-weight: 600; }
.hint { margin: 0 0 4px; text-align: center; color: var(--grau); font-size: 14px; }
