/*
 * Verwaltungsoberflaeche der Telefonanlage.
 * Kein Framework — Grid, Flexbox und Custom Properties reichen.
 * Mobil zuerst, Breakpoint bei 700px.
 */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --border: #e2e5ea;
  --text: #1a1d23;
  --muted: #6b7280;
  /* Farben aus dem Logo: Dunkelblau des Schriftzugs, Gold des Ankers */
  --accent: #004870;
  --accent-dark: #00354f;
  --gold: #cc9b40;
  --ok: #1f7a4d;
  --ok-bg: #e8f5ee;
  --warn: #9a3412;
  --warn-bg: #fdf0e8;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --surface: #1c1f25;
    --border: #2c313a;
    --text: #e6e8ec;
    --muted: #9aa1ac;
    --accent: #4aa3c0;
    --accent-dark: #6bbdd6;
    --ok: #5cc98d;
    --ok-bg: #13301f;
    --warn: #f0a37a;
    --warn-bg: #33201a;
    --shadow: none;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* ---------- Kopf und Navigation ---------- */

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bar {
  max-width: 1000px;
  margin: 0 auto;
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 650;
  letter-spacing: -.01em;
  margin-right: auto;
  font-size: 1.02rem;
}
.brand span { color: var(--muted); font-weight: 400; }

nav { display: flex; gap: .15rem; flex-wrap: wrap; }

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: .4rem .7rem;
  border-radius: var(--radius);
  font-size: .93rem;
}
nav a:hover { background: var(--bg); color: var(--text); }
nav a[aria-current] { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */

main { max-width: 1000px; margin: 0 auto; padding: 1.4rem 1rem 4rem; }

h1 { font-size: 1.35rem; margin: 0 0 .3rem; letter-spacing: -.015em; }
h2 { font-size: 1.05rem; margin: 2rem 0 .7rem; letter-spacing: -.01em; }
.lead { color: var(--muted); margin: 0 0 1.6rem; font-size: .95rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ---------- Statuskacheln ---------- */

.tile { display: flex; flex-direction: column; gap: .2rem; }
.tile .label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.tile .value { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }

/* ---------- Tabellen ---------- */

.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th {
  text-align: left;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-weight: 600;
  padding: .5rem .6rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td { padding: .6rem; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
td.right, th.right { text-align: right; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .89em; }

/* ---------- Zustandsanzeige ---------- */

.state {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .87rem;
  white-space: nowrap;
}
.state::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.state.ok::before { background: var(--ok); }
.state.bad::before { background: var(--warn); }

/* ---------- Formulare ---------- */

label { display: block; font-size: .87rem; font-weight: 550; margin-bottom: .3rem; }
.hint { font-size: .84rem; color: var(--muted); margin: .35rem 0 0; }

input[type=text], input[type=password], input[type=file],
input[type=email], input[type=tel], input[type=number], select {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
}
input:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: transparent;
}
input[type=file] { padding: .45rem; }

.row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 200px; }
.row > .narrow { flex: 0 0 auto; }

button, .button {
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: .93rem;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
}
button:hover { background: var(--accent-dark); }
button.quiet {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
  font-weight: 400;
  padding: .35rem .7rem;
  font-size: .87rem;
}
button.quiet:hover { background: var(--bg); color: var(--warn); border-color: var(--warn); }

/* ---------- Meldungen ---------- */

.note {
  padding: .7rem .9rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .92rem;
  border: 1px solid transparent;
}
.note.ok { background: var(--ok-bg); color: var(--ok); border-color: currentColor; }
.note.bad { background: var(--warn-bg); color: var(--warn); border-color: currentColor; }

.empty { color: var(--muted); font-size: .93rem; padding: 1.2rem 0; text-align: center; }

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

.login {
  max-width: 340px;
  margin: 14vh auto;
  padding: 0 1rem;
}
.login .card { padding: 1.6rem; }
.login h1 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.login button { width: 100%; margin-top: .9rem; padding: .65rem; }

/* ---------- Klassenauswahl ---------- */

.tabs { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs a {
  padding: .35rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: .88rem;
  background: var(--surface);
}
.tabs a[aria-current] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tabs .count { opacity: .65; font-size: .85em; }

@media (max-width: 700px) {
  .bar { padding: .7rem .8rem; }
  main { padding: 1rem .8rem 3rem; }
  .brand span { display: none; }
  h1 { font-size: 1.2rem; }
  td, th { padding: .5rem .4rem; }
}

/* ---------- Seitenkopf ---------- */

.kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
h2 .klasse-hinweis {
  font-weight: 400;
  font-size: .8rem;
  color: var(--muted);
  margin-left: .5rem;
}
code {
  background: var(--bg);
  padding: .1em .38em;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .87em;
}

/* ---------- Einträge ---------- */

.liste {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.4rem;
}

.eintrag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.eintrag:last-child { border-bottom: none; }
.eintrag.neu { background: color-mix(in srgb, var(--bg) 60%, transparent); }

.eintrag-links { display: flex; align-items: center; gap: .85rem; min-width: 0; flex: 1; }
.eintrag-text { min-width: 0; }
.eintrag-text strong { font-weight: 600; font-size: .96rem; display: block; }
.eintrag-text p {
  margin: .15rem 0 0;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.4;
}
.eintrag-rechts { display: flex; align-items: center; gap: .9rem; flex: none; }

.dauer {
  font-size: .85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 4.5rem;
  text-align: right;
}
.eintrag.belegt .dauer { color: var(--text); }
.eintrag.inaktiv .eintrag-text, .eintrag.inaktiv .dauer { opacity: .45; }

/* ---------- Knöpfe: alle gleich groß, gleicher Stil ---------- */

.aktionen { display: flex; align-items: center; gap: .4rem; }

.knopf {
  height: 32px;
  padding: 0 .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .87rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, border-color .12s, color .12s;
}
.knopf:hover { background: var(--bg); border-color: var(--muted); }
.knopf:disabled { opacity: .5; cursor: default; }
.knopf.voll { background: var(--accent); border-color: var(--accent); color: #fff; }
.knopf.voll:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.knopf.still { color: var(--muted); }
.knopf.still:hover { color: var(--warn); border-color: var(--warn); background: var(--warn-bg); }

/* Abspielknopf: gleiche Höhe, quadratisch */
.knopf.play { width: 32px; padding: 0; position: relative; }
.knopf.play::before {
  content: "";
  border-style: solid;
  border-width: 5.5px 0 5.5px 9px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}
.knopf.play.spielt { border-color: var(--accent); color: var(--accent); }
.knopf.play.spielt::before {
  border: none;
  width: 9px; height: 11px;
  margin: 0;
  background:
    linear-gradient(currentColor, currentColor) left / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right / 3px 100% no-repeat;
}

/* ---------- Schalter ---------- */

.schalter {
  width: 36px; height: 21px;
  padding: 0;
  border-radius: 999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background .15s;
  flex: none;
}
.schalter span {
  position: absolute;
  top: 3px; left: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
  transition: transform .15s;
}
.schalter.an { background: var(--ok); }
.schalter.an span { transform: translateX(15px); }
.schalter-platz { width: 36px; flex: none; }

/* ---------- Reiter ---------- */

.tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.2rem; align-items: center; }
.tabs a, .tab-neu {
  padding: .35rem .8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: .88rem;
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
}
.tabs a:hover, .tab-neu:hover { color: var(--text); border-color: var(--muted); }
.tabs a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Rückmeldung ---------- */

#hinweis {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  transform: translate(-50%, 3rem);
  background: var(--text);
  color: var(--bg);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
#hinweis.sichtbar { opacity: 1; transform: translate(-50%, 0); }
#hinweis.bad { background: var(--warn); color: #fff; }

.zeile-form { margin-bottom: 1.4rem; }

@media (max-width: 700px) {
  .eintrag { flex-wrap: wrap; }
  .eintrag-rechts { width: 100%; justify-content: space-between; }
  .dauer { min-width: 0; text-align: left; }
  .eintrag-links { flex: 1 1 100%; }
}

/* ---------- Öffnungszeiten ---------- */

.zeiten { display: flex; flex-direction: column; gap: .1rem; }

.zeile-tag {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
}
.zeile-tag:last-child { border-bottom: none; }
.zeile-tag .tagname {
  flex: 1;
  font-size: .93rem;
  font-weight: 500;
  min-width: 5.5rem;
}
.zeile-tag input[type=time] {
  width: auto;
  padding: .35rem .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.zeile-tag .bis { color: var(--muted); font-size: .85rem; }
.zeile-tag.zu .tagname,
.zeile-tag.zu input[type=time],
.zeile-tag.zu .bis { opacity: .4; }
.zeile-tag.zu input[type=time] { pointer-events: none; }

/* ---------- Wartezeiten ---------- */

.verzoegerungen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .1rem 1.6rem;
}
.verz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  font-weight: 400;
  margin: 0;
}
.mit-einheit { display: inline-flex; align-items: center; gap: .35rem; flex: none; }
.mit-einheit input[type=number] {
  width: 4.5rem;
  padding: .3rem .5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.mit-einheit em { font-style: normal; color: var(--muted); font-size: .85rem; }

@media (max-width: 560px) {
  .zeile-tag { flex-wrap: wrap; }
  .zeile-tag .tagname { flex: 1 1 100%; order: -1; }
}

/* ---------- Erreichbarkeit ---------- */

.modus-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem; }
.modus-knopf {
  text-align: left;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font: inherit;
  color: var(--text);
  transition: border-color .12s, background .12s;
}
.modus-knopf:hover { border-color: var(--muted); }
.modus-knopf strong { display: block; font-size: .93rem; font-weight: 600; }
.modus-knopf span { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; line-height: 1.35; }
.modus-knopf.aktiv { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.modus-knopf.aktiv strong { color: var(--accent); }

/* ---------- Rufnummern ---------- */

.nummer-felder { gap: .5rem; }
.nummer-felder select { min-width: 150px; font-size: .89rem; padding: .4rem .6rem; }
.eintrag.gespeichert { background: color-mix(in srgb, var(--ok) 8%, transparent); transition: background .3s; }

@media (max-width: 700px) {
  .nummer-felder { flex-wrap: wrap; }
  .nummer-felder select { flex: 1 1 100%; min-width: 0; }
}

/* Modus-Knöpfe: Text darf umbrechen statt überzulaufen */
.modus-knopf { overflow-wrap: anywhere; }
.modus-knopf span { white-space: normal; }
.modus-wahl { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---------- Ausklappbare Einträge ---------- */

.eintrag.ausklappbar { flex-wrap: wrap; cursor: default; }
.eintrag.ausklappbar [data-aufklappen] { cursor: pointer; }
.eintrag.offen { background: color-mix(in srgb, var(--bg) 50%, transparent); }

.ausklapp {
  flex: 1 1 100%;
  padding-top: .9rem;
  margin-top: .85rem;
  border-top: 1px solid var(--border);
}
.ausklapp .row { margin-bottom: .7rem; }
.ausklapp-fuss {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.ausklapp-fuss .knopf.still { margin-right: auto; }

.schalter-zeile {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 0;
  font-size: .92rem;
}

/* ---------- Passwortanzeige ---------- */

.passwort-box {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(420px, calc(100vw - 2rem));
  height: fit-content;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  z-index: 200;
}
.passwort-box strong { display: block; margin-bottom: .9rem; font-size: 1rem; }
.passwort-box dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem .9rem;
  margin: 0 0 1rem;
  font-size: .9rem;
}
.passwort-box dt { color: var(--muted); }
.passwort-box dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.passwort-box dd.pw {
  background: var(--bg);
  padding: .25rem .5rem;
  border-radius: 4px;
  user-select: all;
  font-weight: 600;
}
.passwort-box p { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.passwort-box button { width: 100%; }

.schalter-block { display: flex; flex-direction: column; justify-content: center; }
.schalter-block .hint { margin-top: .4rem; }
.row > div:empty { display: none; }
@media (min-width: 701px) { .row > div:empty { display: block; } }

/* ---------- Sondertage ---------- */

.sondertag .tag-felder { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sondertag input[type=date] {
  width: auto;
  padding: .35rem .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.sondertag .bezeichnung { width: auto; min-width: 12rem; flex: 1; }
.sondertag .eintrag-rechts { gap: 1.2rem; }
.sondertag .schalter-zeile { padding: 0; font-size: .87rem; color: var(--muted); }

@media (max-width: 700px) {
  .sondertag .bezeichnung { flex: 1 1 100%; min-width: 0; }
  .sondertag .eintrag-rechts { justify-content: space-between; width: 100%; }
}

/* ---------- Projektwahl im Kopf ---------- */

.projektwahl { display: flex; align-items: center; gap: .45rem; }
.projektwahl label { margin: 0; font-size: .8rem; color: var(--muted); font-weight: 400; }
.projektwahl select {
  width: auto;
  padding: .3rem 1.8rem .3rem .6rem;
  font-size: .88rem;
  background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%;
}

h1 .fuer {
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: .6rem;
  letter-spacing: 0;
}

.filterzeile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.filterzeile .hint { flex: 1; min-width: 220px; }

a.knopf { text-decoration: none; }
nav a.abmelden { margin-left: .5rem; opacity: .7; }

@media (max-width: 700px) {
  .bar { gap: .6rem; }
  .projektwahl { order: 3; width: 100%; }
  .projektwahl select { flex: 1; }
}

/* ---------- Logo ---------- */

.brand {
  display: flex;
  /* Unten ausrichten statt mittig: der Anker ragt über den Schriftzug
     hinaus, eine mittige Ausrichtung setzt den Text daneben deshalb zu
     hoch. */
  align-items: flex-end;
  gap: .85rem;
  margin-right: auto;
}
/* Das Logo trägt oben Weißraum, weil der Anker höher reicht als der
   Schriftzug. Auf gleiche Pixelhöhe gebracht wirkt der Text daneben
   deshalb zu groß — das Logo braucht mehr Höhe, der Text weniger. */
.brand img {
  height: 34px;
  width: auto;
  display: block;
}
.brand .logo-dunkel { display: none; }
@media (prefers-color-scheme: dark) {
  .brand .logo-hell { display: none; }
  .brand .logo-dunkel { display: block; }
}
.brand .titel {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  padding-left: .85rem;
  border-left: 1px solid var(--border);
  letter-spacing: .01em;
  /* Der Schriftzug endet bei rund 94 % der Logohöhe — der Text sitzt
     mit seiner Grundlinie auf derselben Linie. */
  padding-bottom: 2px;
}

/* Der Goldton des Ankers als Akzent für aktive Zustände */
nav a[aria-current] { background: var(--accent); }
.tabs a[aria-current] { background: var(--accent); border-color: var(--accent); }

@media (max-width: 700px) {
  .brand .titel { display: none; }
  .brand img { height: 26px; }
}

/* ---------- Anmeldung mit Logo ---------- */

.login .marke { text-align: center; margin-bottom: 1.6rem; }
.login .marke img { height: 42px; width: auto; }
.login .marke .logo-dunkel { display: none; }
@media (prefers-color-scheme: dark) {
  .login .marke .logo-hell { display: none; }
  .login .marke .logo-dunkel { display: inline-block; }
}

/* ---------- Voicemail-Zeitplan ---------- */

.vmplan {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
}
.vmzeiten { margin-top: .5rem; padding-left: 2.5rem; }
.vmzeiten .zeile-tag { padding: .3rem 0; }
.vmzeiten .tagname { font-size: .88rem; font-weight: 400; }
.vmzeiten .hint { margin-top: .7rem; }

@media (max-width: 700px) { .vmzeiten { padding-left: 0; } }

/* Verweis auf eine andere Seite, direkt im Fließtext einer Zeile */
a.weiter {
  color: var(--accent);
  text-decoration: none;
  font-size: .84rem;
  margin-left: .5rem;
  padding: .1rem .45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}
a.weiter:hover { border-color: var(--accent); background: var(--bg); }
a.weiter::after { content: " →"; opacity: .6; }

/* ---------- Mitgliederauswahl ---------- */

.mitglieder {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.mitglied {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .88rem;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
  user-select: none;
}
.mitglied:hover { border-color: var(--muted); }
.mitglied input { margin: 0; accent-color: var(--accent); }
.mitglied:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
