/* Personal & Lohn – gemeinsame Gestaltung aller Seiten. Schlicht wie die Schwesterprojekte: wenige Dinge, kleine Zeichen, wenig Text. */

/* Schriften liegen auf unserem eigenen Server – kein Abruf bei Google (Datenschutz). SIL Open Font License. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/schriften/bricolage-grotesque.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/schriften/source-sans-3.woff2) format("woff2"); }

:root {
  --bg: #F3F4F6; --surface: #FFFFFF; --ink: #1E2328; --muted: #5C6570; --line: #D9DCE1;
  --akzent: #2C47C9; --akzent-weich: #E4E9FA; --warn: #B3261E; --ok: #2F6B3F; --ok-weich: #E3EFE5; --gelb-weich: #FBF1D9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171B; --surface: #1C2026; --ink: #E7EAEE; --muted: #A1A9B3; --line: #313740;
    --akzent: #9DB0F5; --akzent-weich: #232C4A; --warn: #FF8A80; --ok: #8CCB99; --ok-weich: #22362A; --gelb-weich: #3A3120;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14171B; --surface: #1C2026; --ink: #E7EAEE; --muted: #A1A9B3; --line: #313740;
  --akzent: #9DB0F5; --akzent-weich: #232C4A; --warn: #FF8A80; --ok: #8CCB99; --ok-weich: #22362A; --gelb-weich: #3A3120;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 "Source Sans 3", "Segoe UI", system-ui, sans-serif; }
a { color: var(--akzent); }
h1, h2, h3 { font-family: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

/* Marke: Wortmarke mit einem blauen Strich (I·We·It-Blau, denn hier geht es um Menschen) */
.marke { display: inline-flex; align-items: baseline; gap: .05rem; text-decoration: none; color: var(--ink);
  font: 800 1.35rem/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.02em; }
.marke::before { content: ""; width: .32rem; height: 1.05rem; border-radius: 2px; background: var(--akzent); margin-right: .45rem; align-self: center; }
.marke span { color: var(--muted); font-weight: 600; }

/* Formulare */
label { display: block; font-size: .85rem; font-weight: 600; margin: .8rem 0 .25rem; color: var(--muted); }
input, select, textarea { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
textarea { min-height: 5rem; resize: vertical; }
input:disabled, select:disabled, textarea:disabled { opacity: .75; }
button, .knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border: 0; border-radius: 9px;
  background: var(--akzent); color: var(--surface); font: 600 .95rem "Source Sans 3", system-ui, sans-serif; cursor: pointer; text-decoration: none; }
button.leise, .knopf.leise { background: transparent; color: var(--akzent); border: 1px solid var(--line); }
button:disabled { opacity: .55; cursor: default; }
.fehler { color: var(--warn); font-weight: 600; min-height: 1.2em; margin: .6rem 0 0; }

/* I·We·It-Marke im Knopf „Anmelden mit I·We·It“ – drei Ringe wie im Original, klein */
.iweit-ringe { display: inline-flex; align-items: center; --r: 1.55rem; }
.iweit-ringe span { width: var(--r); height: var(--r); border-radius: 50%; display: grid; place-items: center; background: #fff;
  border: 2px solid var(--f); color: #2F3A3F; font: 700 calc(var(--r) * .36) "Bricolage Grotesque", system-ui, sans-serif; margin-left: calc(var(--r) * -.21); position: relative; }
.iweit-ringe span:first-child { margin-left: 0; z-index: 3; background: var(--f); color: #fff; }
.iweit-ringe .i { --f: #2C47C9; } .iweit-ringe .we { --f: #0E7564; z-index: 2; } .iweit-ringe .it { --f: #F5CF1B; z-index: 1; }

/* Siegel aus I·We·It: nur ein farbiger Punkt; Klick zeigt, wodurch die Angabe gesichert ist */
.siegel { position: relative; display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; border: 1.5px solid transparent;
  padding: 0; margin-right: .45rem; vertical-align: -.05em; cursor: pointer; background: none; flex: none; }
.siegel-dunkelblau { background: #0C447C; } .siegel-hellblau { background: #85B7EB; border-color: #378ADD; }
.siegel-gruen { background: #3B6D11; } .siegel-hellgruen { background: #97C459; border-color: #639922; }
.siegel-farblos { background: transparent; border-color: var(--muted); } .siegel-gelb { background: #EF9F27; } .siegel-rot { background: #E24B4A; }
.siegel-info { position: absolute; z-index: 20; top: 1.1rem; left: -.4rem; width: min(20rem, 75vw); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: .65rem .8rem; box-shadow: 0 6px 18px rgb(0 0 0 / .12); font-size: .85rem; line-height: 1.45; color: var(--ink); text-align: left; cursor: default; }
.siegel-info small { display: block; color: var(--muted); margin-top: .2rem; }

.fuss { text-align: center; font-size: .85rem; color: var(--muted); margin: 2.5rem 0 1.5rem; }
.fuss a { color: var(--muted); }
