/* Zentrale · 28 Solutions
   Ruhig und matt: Blaugrau als Fläche, das Hausblau nur als Akzent.
   Keine Webschriften, keine Fremdquelle (CSP style-src 'self'). */

:root {
  --grund: #eef1f5;
  --flaeche: #ffffff;
  --tinte: #1d2633;
  --tinte-leise: #56627a;
  --linie: #d5dbe4;
  --blaugrau: #45546b;
  --blaugrau-hell: #e4e9f0;
  --blau: #2438c9;
  --blau-tief: #1c2da8;
  --blau-hauch: #e6e9fa;
  --fehler: #9b1c1c;
  --fehler-grund: #fbeceb;
  --radius: 10px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font: 16px/1.5 var(--schrift);
}

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

:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}

/* ---------- Marke ---------- */

.marke {
  margin: 0;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--tinte);
}
.marke-zusatz {
  font-weight: 400;
  color: var(--tinte-leise);
  margin-left: 0.35em;
}
.marke-hell { color: #ffffff; }
.marke-hell .marke-zusatz { color: #cdd5e1; }

/* ---------- Kopfleiste ---------- */

.kopf {
  background: var(--blaugrau);
  color: #ffffff;
}
.kopf-innen {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.abmelden {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.konto { color: #dfe5ee; font-size: 0.95rem; }
.konto strong { color: #ffffff; font-weight: 600; }

.knopf-leise {
  font: inherit;
  font-size: 0.95rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  min-height: 2.5rem;
  cursor: pointer;
}
.knopf-leise:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Inhalt ---------- */

.inhalt {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 16px 3rem;
}
.abschnitt + .abschnitt { margin-top: 2.5rem; }

h1, h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  font-weight: 650;
}
.hinweis {
  margin: 0 0 1rem;
  color: var(--tinte-leise);
  font-size: 0.95rem;
}

/* ---------- Kacheln der Verwaltungen ---------- */

.kacheln {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 0.9rem;
}
.kacheln li { display: flex; }

.kachel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 8.5rem;
  padding: 1rem 1.1rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--blaugrau);
  border-radius: var(--radius);
  color: var(--tinte);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.kachel:hover {
  border-color: var(--blau);
  background: #fbfcfe;
}
.kachel-titel {
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--tinte);
}
.kachel:hover .kachel-titel { color: var(--blau-tief); }
.kachel-text {
  color: var(--tinte-leise);
  font-size: 0.93rem;
}
.kachel-fuss {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.host {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--tinte-leise);
  overflow-wrap: anywhere;
}

.plakette {
  font-size: 0.78rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--blaugrau-hell);
  color: var(--blaugrau);
  white-space: nowrap;
}
.plakette-zentrale {
  background: var(--blau-hauch);
  color: var(--blau-tief);
}

/* ---------- Liste der externen Konten ---------- */

.konten {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 0.5rem 0.9rem;
}
.konto-verweis {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.75rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 8px;
  color: var(--tinte);
  text-decoration: none;
}
.konto-verweis:hover { border-color: var(--blau); }
.konto-verweis:hover .konto-name { color: var(--blau-tief); }
.konto-name { font-weight: 600; }

/* ---------- Anmeldung ---------- */

.seite-anmeldung {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 2rem;
}
.anmeldung {
  width: 100%;
  max-width: 24rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-top: 4px solid var(--blaugrau);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.25rem;
}
.anmeldung h1 { margin: 0.9rem 0 1rem; }

.formular { display: flex; flex-direction: column; gap: 0.35rem; margin: 0; }
.formular label { font-size: 0.93rem; font-weight: 600; margin-top: 0.5rem; }
.formular input[type="text"],
.formular input[type="password"] {
  font: inherit;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #b9c2cf;
  border-radius: 8px;
  background: #ffffff;
  color: var(--tinte);
}
.formular input:focus-visible { border-color: var(--blau); }

.knopf {
  font: inherit;
  font-weight: 600;
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--blau);
  color: #ffffff;
  cursor: pointer;
}
.knopf:hover { background: var(--blau-tief); }

.meldung {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.meldung-fehler {
  background: var(--fehler-grund);
  color: var(--fehler);
  border: 1px solid #efc9c6;
}

.fussnote {
  margin: 1.25rem 0 0;
  color: var(--tinte-leise);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .kachel { transition: none; }
}
