/*
 * QM — Oberfläche: hell, schlicht, deutsch.
 *
 * Alles ohne Build-Schritt: Propshaft liefert diese Datei direkt aus.
 */

:root {
  --hintergrund: #f5f6f8;
  --flaeche: #ffffff;
  --rahmen: #dfe3e8;
  --schrift: #1c2024;
  --schrift-blass: #5c6570;
  --akzent: #1f4fd8;
  --akzent-hell: #e8edfb;
  --gruen-hell: #e6f4ea;
  --gruen-schrift: #1c4620;
  --rot-hell: #fdecea;
  --rot-schrift: #7a1c17;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--schrift);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

.kopfzeile {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  background: var(--flaeche);
  border-bottom: 1px solid var(--rahmen);
}

.marke {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--schrift);
}

.bereiche {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.bereich {
  padding: 0.4rem 0.75rem;
  border-radius: 0.45rem;
  text-decoration: none;
  color: var(--schrift-blass);
}

.bereich:hover {
  background: var(--akzent-hell);
}

.bereich.aktiv {
  background: var(--akzent-hell);
  color: var(--akzent);
  font-weight: 600;
}

.abmelden {
  margin-left: auto;
}

.inhalt {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 650;
}

.leer {
  margin-top: 2rem;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--rahmen);
  border-radius: 0.75rem;
  background: var(--flaeche);
  color: var(--schrift-blass);
  text-align: center;
}

.meldung {
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  border-radius: 0.5rem;
}

.meldung--notice {
  background: var(--gruen-hell);
  color: var(--gruen-schrift);
}

.meldung--alert {
  background: var(--rot-hell);
  color: var(--rot-schrift);
}

.anmeldung {
  max-width: 24rem;
  padding: 1.5rem;
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-radius: 0.75rem;
}

.anmeldung p {
  margin: 0 0 1rem;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: var(--schrift-blass);
}

input[type="text"],
input[type="password"],
input[type="search"] {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--rahmen);
  border-radius: 0.45rem;
  background: var(--flaeche);
  font-size: 1rem;
  color: inherit;
}

input[type="submit"],
button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--akzent);
  border-radius: 0.45rem;
  background: var(--akzent);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
}

input[type="submit"]:hover,
button:hover {
  filter: brightness(1.08);
}
