/* Styles of the two portal screens (sign-in and systems), brand lumi, dark. Mockup only. */
:root {
  --bg: oklch(0.08 0.003 264);
  --karte: oklch(0.12 0.005 264);
  --text: oklch(0.985 0 0);
  --leise: oklch(0.78 0.01 264);
  --rand: oklch(0.62 0.01 264);
  --kartenrand: oklch(0.24 0.008 264);
  --marke: oklch(0.488 0.243 264.376);
  --marke-hell: oklch(0.54 0.243 264.376);
  --akzent: oklch(0.75 0.14 192);
  --fehler: oklch(0.704 0.191 22.216);
  --radius: 0.75rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.5 Inter, system-ui, sans-serif;
}
h1, h2, .kennung { font-family: "Space Grotesk", Inter, system-ui, sans-serif; }
h1, h2 { margin: 0; line-height: 1.2; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.375rem; }
p { margin: 0; }
a { color: var(--akzent); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

.kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
}
.kennung { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 600; }
.logo { display: block; padding: 0.25rem 0.375rem; border-radius: 0.5rem; background: #fff; line-height: 0; }
.logo img { display: block; height: 2.5rem; width: auto; }
.nutzer { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

main { flex: 1; display: flex; justify-content: center; padding: 1.5rem 1rem 2rem; }
.seite-anmelden main { align-items: center; }
.seite-systeme main { align-items: flex-start; }
.inhalt { width: 100%; max-width: 26rem; }
.seite-systeme .inhalt { max-width: 40rem; }
.seite-systeme h1 { margin-bottom: 1.25rem; }

.karte {
  padding: 1.75rem 1.5rem;
  background: var(--karte);
  border: 1px solid var(--kartenrand);
  border-radius: var(--radius);
}
.karte h1 { margin-bottom: 0.5rem; }
.system > * + * { margin-top: 0.75rem; }
.system .stand { font-size: 0.875rem; color: var(--leise); }
.system .knopf { margin-top: 1.25rem; }

.feld { display: flex; flex-direction: column; gap: 0.375rem; margin-top: 1rem; }
.feld label { font-weight: 500; }
input {
  width: 100%;
  min-height: 3rem;
  padding: 0 0.875rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
}
input:focus-visible { border-color: var(--akzent); }
.passwort { display: flex; gap: 0.5rem; }
.passwort input { flex: 1; min-width: 0; }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  cursor: pointer;
}
.knopf:hover { border-color: var(--text); }
.knopf.haupt { color: #fff; background: var(--marke); border-color: var(--marke); }
.knopf.haupt:hover { background: var(--marke-hell); border-color: var(--marke-hell); }
.zeigen { min-width: 5.75rem; font-weight: 500; }
.anmelden .haupt { width: 100%; margin-top: 1.25rem; }

.meldung { margin-top: 1rem; font-weight: 500; color: var(--fehler); }
.meldung:empty { display: none; }
.hilfe { margin-top: 1.25rem; font-size: 0.875rem; color: var(--leise); }

.fuss { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5rem; padding: 0.5rem 1rem 1rem; font-size: 0.875rem; }
.fuss a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--leise); }
.fuss a:hover { color: var(--text); }
