/* Wissensbasis - gemeinsames Stylesheet fuer Login und App.
   Bewusst dunkel und einfarbig-akzentuiert: die Karte traegt die Farbe,
   die Oberflaeche drumherum soll sich zurueckhalten. */

:root {
  --bg: #0f1412;
  --bg-tief: #0a0e0c;
  --flaeche: #171d1a;
  --flaeche-hoch: #1e2622;
  --rand: #2a3330;
  --rand-hell: #3a4642;
  --text: #e3e9e6;
  --text-leise: #8b9a93;
  --text-still: #61706a;
  --akzent: #7dd3a0;
  --akzent-tief: #2f6b4c;
  --warn: #f0b45f;
  --gefahr: #ef7a72;
  --info: #7ab8e8;
  --radius: 10px;
  --schrift: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--akzent); }

/* --- Login ---------------------------------------------------------------- */

.login-huelle {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(125, 211, 160, 0.09), transparent 70%),
    var(--bg);
}

.login-karte {
  width: 100%;
  max-width: 380px;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.login-karte h1 {
  margin: 0 0 4px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.login-karte p.unter {
  margin: 0 0 24px;
  color: var(--text-leise);
  font-size: 13.5px;
}

label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-leise);
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-tief);
  border: 1px solid var(--rand);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--akzent-tief);
  box-shadow: 0 0 0 3px rgba(125, 211, 160, 0.12);
}

textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

button {
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--rand);
  background: var(--flaeche-hoch);
  color: var(--text);
  padding: 9px 14px;
  transition: background 0.12s, border-color 0.12s;
}

button:hover { background: var(--rand); border-color: var(--rand-hell); }

button.primaer {
  background: var(--akzent);
  border-color: var(--akzent);
  color: #0a1710;
  font-weight: 600;
  width: 100%;
  margin-top: 18px;
  padding: 11px 14px;
}

button.primaer:hover { background: #96e0b6; border-color: #96e0b6; }

.fehler {
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(239, 122, 114, 0.12);
  border: 1px solid rgba(239, 122, 114, 0.35);
  color: #f5aba5;
  font-size: 13px;
}

.fehler[hidden] { display: none; }
