:root {
  --bg: #f7f6f3; --flaeche: #ffffff; --text: #2b2f36; --gedaempft: #6b7280; --rand: #e3e1db;
  --akzent: #5b7fa6;
  --c-mieter: #cfe3f5; --c-eigentuemer: #d9ecd2; --c-handwerker: #f7e2c4;
  --c-versorger: #e6dcf3; --c-behoerde: #f5d6d6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1e22; --flaeche: #25282d; --text: #e6e7ea; --gedaempft: #9aa0aa; --rand: #343840;
    --akzent: #8fb0d6;
    --c-mieter: #2e4258; --c-eigentuemer: #34503a; --c-handwerker: #5a4730;
    --c-versorger: #44385a; --c-behoerde: #5a3636;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.kopf { position: sticky; top: 0; display: flex; gap: 1rem; align-items: center; padding: .75rem 1rem; background: var(--flaeche); border-bottom: 1px solid var(--rand); }
.marke { font-weight: 600; color: var(--text); text-decoration: none; }
.suche { flex: 1; }
.suche input { width: 100%; padding: .55rem .9rem; border: 1px solid var(--rand); border-radius: 999px; background: var(--bg); color: var(--text); font: inherit; }
.suche input:focus { outline: 2px solid var(--akzent); outline-offset: 1px; }
.inhalt { max-width: 70rem; margin: 0 auto; padding: 1.5rem 1rem; }
.gedaempft { color: var(--gedaempft); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.kachel { padding: 1.2rem 1rem; border-radius: .75rem; color: var(--text); }
.k-mieter { background: var(--c-mieter); } .k-eigentuemer { background: var(--c-eigentuemer); }
.k-handwerker { background: var(--c-handwerker); } .k-versorger { background: var(--c-versorger); }
.k-behoerde { background: var(--c-behoerde); }
.meldungen { list-style: none; margin: 0 0 1rem; padding: 0; }
.meldung { padding: .6rem .9rem; border-radius: .5rem; background: var(--flaeche); border: 1px solid var(--rand); margin-bottom: .4rem; }
.meldung.warning, .meldung.error { border-color: var(--akzent); }
.inhalt form p, .inhalt form > div { margin: .6rem 0; }
.inhalt input[type=text], .inhalt input[type=password], .inhalt input[type=email] { padding: .5rem .7rem; border: 1px solid var(--rand); border-radius: .5rem; background: var(--flaeche); color: var(--text); font: inherit; }
.inhalt button { padding: .5rem 1rem; border: 0; border-radius: .5rem; background: var(--akzent); color: #fff; font: inherit; cursor: pointer; }
.inhalt a { color: var(--akzent); }
