/* GTA-Planer · Gestaltung wie der HBS-Planer (D-043): Stil „ruhig & hell“ – weiße Flächen, feine Linien, Schwarz für Schrift,
   Systemschrift (Fira Sans, sonst Segoe UI), runde Ecken. Werte aus C:/Projekte/SL-Verwaltungstool/prototyp/css/app.css (Stand 0.349).
   Akzent: Orange #E26235 aus dem Ganztag-Logo an der Stelle des Böll-Grüns – nur Fläche und Linie, nie Textfarbe auf Weiß
   (gegen Weiß 3,5 : 1). Schriftgrößen immer als calc(Npx * var(--fs)). */
:root {
  --fs: 1;
  --accent: #e26235;
  --accent-soft: #fdeee8;
  --accent-line: #f3b9a3;
  --ink: #1d1d1f;
  --ink-2: #48484d;
  --muted: #68686e;        /* 5,4 : 1 auf Weiß */
  --line: #e7e7e4;
  --line-2: #d6d6d2;
  --bg: #fafaf8;
  --paper: #fff;
  --hover: #f3f3f0;
  --red: #b3261e;
  --red-soft: #fbeeec;
  --amber: #8a5a00;
  --amber-soft: #fdf4e1;
  --green: #24642a;
  --green-soft: #eef6ee;
  --blue: #2b5797;
  /* Kategorien im Stundenplan (D-065): nur als Punkt, nie als Textfarbe */
  --kat-lrs: #534ab7;
  --kat-foerder: #7f77dd;
  --kat-sport: #378add;
  --kat-kreativ: #d85a30;
  --kat-forschen: #1d9e75;
  --kat-mitgestalten: #d4537e;
  --kat-bl: #b4b2a9;
  /* Schultermine aus dem HBS-Planer (D-072): Böll-Grün des Planers nur als Fläche und Linie */
  --schule: #c8d530;
  --schule-soft: #f4f7d6;
  --radius: 8px;
  --font: "Fira Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: calc(15px * var(--fs)); line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: calc(13px * var(--fs)); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Gerüst wie im HBS-Planer (D-056): Seitenleiste 232 px, schmal (≤ 900 px) mit Kopfleiste und Menüknopf ---------- */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { padding: 22px 20px 14px; }
/* Marke: nur das Porträt aus dem Ganztag-Logo (wie Planer E155) – das Bild ist 338 × 224, das Porträt reicht bis Spalte 128
   (Messung 19.11.2026), bei 150 px Bildbreite also 57 px */
.brand-marke { display: flex; align-items: center; gap: 12px; }
.brand-portraet { width: 57px; height: 99px; overflow: hidden; flex: none; }
.brand-portraet img { width: 150px; max-width: none; display: block; }
.brand-text strong { display: block; font-size: calc(20px * var(--fs)); font-weight: 600; color: var(--ink); line-height: 1.1; }
.brand-text span { display: block; font-size: calc(12px * var(--fs)); color: var(--muted); line-height: 1.3; margin-top: 3px; }
.seiten-werkzeuge { display: flex; padding: 0 10px 6px; }
.icon-btn { border: none; background: none; width: 30px; height: 30px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.nav { list-style: none; margin: 6px 0 0; padding: 0 10px; flex: 1; overflow-y: auto; }
.sidebar nav { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink-2); font-size: calc(15px * var(--fs)); position: relative; }
.nav a:hover { background: var(--hover); color: var(--ink); }
.nav-gruppe { display: flex; align-items: center; gap: 8px; margin: 12px 0 2px; padding: 10px 12px 4px; border-top: 1px solid var(--line);
  font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.nav-gruppe::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--accent); flex: none; }
.leiste-schmal .nav-gruppe { padding: 6px 0 0; margin: 6px 8px 4px; border-top: 1px solid var(--line-2); }
.leiste-schmal .nav-gruppe::before { display: none; }
/* niedrige Bildschirme (iPad quer 834 px): Menü enger, damit alle Einträge ohne Scrollen sichtbar sind (D-097) */
@media (min-width: 901px) and (max-height: 900px) {
  .brand { padding: 14px 20px 8px; }
  .nav a { padding-top: 6px; padding-bottom: 6px; }
  .nav { margin-top: 0; }
  .nav-gruppe { margin: 2px 0 0; padding: 5px 12px 1px; }
  .sidebar-foot { padding: 6px 10px 14px; }
  .foot-link { padding-top: 5px; padding-bottom: 5px; }
}
.leiste-schmal .nav-gruppe span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav a.active { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.nav-ic, .foot-ic { display: inline-flex; color: var(--muted); flex-shrink: 0; }
.nav a.active .nav-ic, .nav a:hover .nav-ic, .foot-link.active .foot-ic, .foot-link:hover .foot-ic { color: var(--ink); }
.nav a.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--accent); }
/* unten Platz lassen: die Linkvorschau des Browsers erscheint unten links (Planer, 22.10.2026) */
.sidebar-foot { border-top: 1px solid var(--line); padding: 10px 10px 34px; }
.foot-link { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 6px; text-decoration: none; color: var(--muted); font-size: calc(14px * var(--fs)); }
.foot-link:hover, .foot-link.active { background: var(--hover); color: var(--ink); }
.userbox { display: flex; gap: 10px; align-items: center; padding: 8px 6px 2px; }
.userbox-text { min-width: 0; }
.userbox .who { font-weight: 600; font-size: calc(14px * var(--fs)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.userbox .role { color: var(--muted); font-size: calc(12px * var(--fs)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Personenzeile wie im Planer: Name führt zu „Meine Einstellungen“, daneben Zahnrad und Abmelden */
.userbox-link { color: inherit; text-decoration: none; border-radius: 6px; }
.userbox-link:hover .who { text-decoration: underline; }
.icon-btn.einst-btn.on { background: var(--accent-soft); color: var(--ink); }
/* Knopfreihe (Planer .seg) */
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; background: #efefec; border-radius: 8px; padding: 2px; margin-top: 4px; }
.seg button { border: none; background: none; padding: 4px 12px; border-radius: 6px; cursor: pointer; font-size: calc(13.5px * var(--fs)); color: var(--ink-2); }
.seg button.on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
/* Schriftgröße je Gerät (Meine Einstellungen, wie Planer) */
html[data-groesse="groesser"] { --fs: 1.1; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: calc(11px * var(--fs)); flex-shrink: 0; }
.grow { flex: 1; min-width: 0; }
.main { min-width: 0; }
.topbar { display: none; align-items: center; gap: 12px; padding: 0 16px; height: 48px; border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar-name { font-weight: 600; }
.menu-btn { display: none; border: 1px solid var(--line-2); background: var(--paper); border-radius: 6px; padding: 2px 10px; cursor: pointer; color: var(--ink); }

/* eingeklappt (Planer E204): nur Symbole, Namen als Tooltip und für Vorlesesoftware erhalten; nur am PC */
@media (min-width: 901px) {
  .app.leiste-schmal { grid-template-columns: 64px minmax(0, 1fr); }
  .leiste-schmal .content { max-width: 1600px; }
  .leiste-schmal .sidebar { align-items: center; }
  .leiste-schmal .brand { padding: 14px 0 10px; }
  .leiste-schmal .brand-text { display: none; }
  .leiste-schmal .brand-portraet { width: 43px; height: 74px; }
  .leiste-schmal .brand-portraet img { width: 112px; }
  .leiste-schmal .seiten-werkzeuge { padding: 0 0 6px; }
  .leiste-schmal .nav a > span:not(.nav-ic), .leiste-schmal .fl-txt, .leiste-schmal .userbox-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .leiste-schmal .sidebar nav { width: 100%; }
  .leiste-schmal .nav { padding: 0 8px; }
  .leiste-schmal .nav a { justify-content: center; padding: 9px 0; }
  .leiste-schmal .nav a.active::before { display: none; }
  .leiste-schmal .sidebar-foot { width: 100%; padding: 8px 8px 20px; display: flex; flex-direction: column; align-items: center; }
  .leiste-schmal .foot-link { justify-content: center; padding: 8px 0; width: 100%; }
  .leiste-schmal .userbox { flex-direction: column; padding: 6px 0 0; gap: 4px; }
  .leiste-schmal .userbox-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .app.nav-open .sidebar { transform: none; box-shadow: 0 0 30px rgba(0,0,0,.2); }
  .topbar { display: flex; }
  .menu-btn { display: inline-flex; align-items: center; }
  .leiste-knopf { display: none !important; }
}

/* ---------- Inhalt ---------- */
.content { max-width: 1180px; padding: 28px 32px 48px; }
.page-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-title { margin: 0; font-size: calc(26px * var(--fs)); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; }
.card h2 { margin: 0 0 10px; font-size: calc(15px * var(--fs)); font-weight: 600; }

/* ---------- Knöpfe und Felder ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  padding: 6px 13px; border-radius: 7px; cursor: pointer; font-weight: 500; font-size: calc(14px * var(--fs)); text-decoration: none; white-space: nowrap; line-height: 1.4; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link-btn { border: 0; background: none; padding: 6px 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; font-size: calc(14px * var(--fs)); }
.link-btn:hover { color: var(--ink); text-decoration-color: var(--ink); }

.field { margin-bottom: 14px; }
.field > label { display: block; font-size: calc(13px * var(--fs)); font-weight: 600; margin-bottom: 5px; color: var(--ink-2); }
.field input:not([type=checkbox]):not([type=radio]) { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
.field input:focus { outline: none; border-color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 8px; font-size: calc(14px * var(--fs)); color: var(--ink-2); }

/* ---------- Reiter, Chips, Tabellen (aus dem HBS-Planer) ---------- */
.chip { display: inline-block; font-size: calc(12px * var(--fs)); color: var(--muted); background: var(--hover); border-radius: 10px; padding: 0 8px; line-height: 20px; white-space: nowrap; }
.chip.soft { background: var(--accent-soft); color: var(--ink); }
.chip.red { color: var(--red); background: var(--red-soft); }
.chip.amber { color: var(--amber); background: var(--amber-soft); }
table.tbl { width: 100%; border-collapse: collapse; font-size: calc(14px * var(--fs)); }
.tbl th { text-align: left; font-size: calc(12.5px * var(--fs)); font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 10px; }
.tbl td { border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr.grp th { color: var(--ink); font-size: calc(13px * var(--fs)); font-weight: 600; padding-top: 14px; }
.tbl .nr { width: 52px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tbl tr.abgesagt td { color: var(--muted); }
.tbl tr.abgesagt .kname { text-decoration: line-through; }
.tbl a.kname { text-decoration: none; font-weight: 500; }
.tbl a.kname:hover { text-decoration: underline; }
.tbl-wrap { overflow-x: auto; }
.card.flush { padding: 0; }
.card.flush > h2 { padding: 14px 16px 2px; margin: 0; }

.hinweisliste { margin: 0; padding-left: 18px; }
.hinweisliste li { margin: 2px 0; }
.card.warn { border-color: #ecd9ae; background: var(--amber-soft); }

.page-head .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-head .grow { flex: 1; min-width: 240px; }
select { padding: 6px 8px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); font-size: calc(14px * var(--fs)); }
.field select { width: auto; min-width: min(12em, 100%); max-width: 100%; }
.field textarea { width: 100%; min-height: 96px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); resize: vertical; }
.field .hilfe { font-size: calc(12.5px * var(--fs)); color: var(--muted); margin-top: 4px; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 16px; }
.formular { max-width: 760px; }
.knopfzeile { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.knopfzeile .rechts { margin-left: auto; }
.btn.danger { color: var(--red); }
.leitwahl { display: flex; flex-wrap: wrap; gap: 6px 14px; }
details.zusatz { margin: 4px 0 14px; }
details.zusatz > summary { cursor: pointer; color: var(--ink-2); font-size: calc(14px * var(--fs)); }
.meldung-oben { margin: 0 0 14px; }

/* ---------- Listen (Planer .list) ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 11px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.list > li:last-child { border-bottom: none; }
.list a { text-decoration: none; color: inherit; }
.list a:hover strong { text-decoration: underline; }

/* ---------- Dienstplan (aus dem HBS-Planer, E266/E281; Klassen dpl-…) ---------- */
.dpl-raster th, .dpl-raster td { vertical-align: top; white-space: nowrap; }
.dpl-raster thead th { text-align: center; }
.dpl-raster tbody th { width: 64px; font-variant-numeric: tabular-nums; }
.dpl-raster td { font-weight: 600; font-size: calc(13.5px * var(--fs)); line-height: 1.5; min-width: 110px; }
.dpl-raster tr.dpl-geht th, .dpl-raster tr.dpl-geht td { background: var(--hover); font-size: calc(11px * var(--fs)); letter-spacing: .04em; color: var(--muted); }
.dpl-unten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.dpl-summe td:nth-child(n+2) { font-variant-numeric: tabular-nums; }
.dpl-besetzung { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.dpl-warn { color: var(--red); display: flex; gap: 4px; align-items: center; }
.dpl-summe .dpl-warn { display: inline; }
.dpl-kopf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.dpl-kopf .dpl-titel { grid-column: 1 / -1; }
.dpl-kopf .field { margin: 0; }
.dpl-kopf input { width: 100%; }
.dpl-zeilen-kopf, .dpl-zeile { display: grid; grid-template-columns: 130px minmax(140px, 1fr) 110px 90px 80px 36px; gap: 8px; align-items: center; }
.dpl-zeilen-kopf { margin-bottom: 4px; }
.dpl-zeilen { display: grid; gap: 6px; }
.dpl-zeile input, .dpl-zeile select, .dpl-soll-zeile input { width: 100%; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); color: var(--ink); font: inherit; }
.dpl-zeile input:focus, .dpl-zeile select:focus, .dpl-soll-zeile input:focus { outline: none; border-color: var(--ink-2); }
.dpl-soll { display: grid; gap: 6px; }
.dpl-soll-zeile { display: grid; grid-template-columns: minmax(140px, 260px) 90px auto; gap: 8px; align-items: center; }
.dpl-alt summary { cursor: pointer; padding: 4px 0; }
.dpl-alt .list > li { padding-left: 0; padding-right: 0; }
.dpl-tage { display: none; }
.dpl-tage h3 { margin: 12px 0 4px; font-size: calc(14px * var(--fs)); }
.dpl-tage h3:first-child { margin-top: 0; }
.dpl-tage ul { list-style: none; margin: 0; padding: 0; }
.dpl-tage li { padding: 3px 0; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 8px; }
.dpl-tage .dpl-zeit { font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 640px) {
  .dpl-tage { display: block; } .dpl-raster-karte { display: none; }
  .dpl-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dpl-kopf input { min-width: 0; }
  .dpl-zeilen-kopf { display: none; }
  .dpl-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .dpl-zeile input[name$=_name] { grid-column: 1 / 3; grid-row: 2; }
  .dpl-zeile .dpl-ende { grid-column: 1 / 3; }
  .dpl-zeile .icon-btn { grid-column: 3; grid-row: 1; }
  .dpl-soll-zeile { grid-template-columns: minmax(0, 1fr) 90px; }
  .dpl-soll-zeile span { grid-column: 1 / -1; }
}
@media print { .dpl-tage { display: none !important; } }

/* ---------- Kursprogramm: Stundenplan (D-065) ---------- */
.kp-umschalter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 12px; }
.kp-umschalter .seg { margin-top: 0; }
.kp-plan-karte { padding: 14px; }
.kp-plan { display: grid; grid-template-columns: 74px repeat(5, minmax(0, 1fr)); gap: 6px; }
.kp-tagkopf { font-weight: 600; text-align: center; padding: 2px 0 4px; }
.kp-zeitkopf { display: flex; flex-direction: column; padding-top: 6px; font-size: calc(12.5px * var(--fs)); color: var(--muted); }
.kp-zeitkopf strong { color: var(--ink); font-size: calc(14px * var(--fs)); }
.kp-zelle { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.kp-zelle.leer { background: none; border-style: dashed; justify-content: center; text-align: center; }
.kp-karte { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 5px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 7px;
  padding: 5px 7px; text-decoration: none; color: var(--ink); line-height: 1.3; }
a.kp-karte:hover { border-color: var(--ink-2); }
a.kp-karte:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.kp-karte .kp-kat { margin-top: 5px; }
.kp-name { font-weight: 600; font-size: calc(13.5px * var(--fs)); overflow-wrap: anywhere; }
.kp-info, .kp-zeit { grid-column: 2; font-size: calc(12px * var(--fs)); color: var(--muted); }
.kp-zeit { color: var(--amber); display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.kp-karte.abw { border-style: dashed; border-color: var(--ink-2); }
.kp-karte.abgesagt .kp-name { text-decoration: line-through; color: var(--muted); }
.kp-karte.pruefen { background: var(--amber-soft); border-color: #ecd9ae; }
.kp-kat { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--kat-bl); flex: none; }
.kat-lrs { background: var(--kat-lrs); } .kat-foerder { background: var(--kat-foerder); } .kat-sport { background: var(--kat-sport); }
.kat-kreativ { background: var(--kat-kreativ); } .kat-forschen { background: var(--kat-forschen); } .kat-mitgestalten { background: var(--kat-mitgestalten); }
.kp-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.kp-legende > span { display: inline-flex; align-items: center; gap: 5px; }
.kp-legende-abw { display: inline-block; width: 16px; height: 11px; border: 1px dashed var(--ink-2); border-radius: 3px; }
.kp-tage { display: none; }
.kp-tag-zeile { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; margin-top: 8px; }
@media (max-width: 640px) {
  .kp-plan-karte { display: none; }
  .kp-tage { display: block; }
}
@media (pointer: coarse) {
  .kp-karte { min-height: 44px; }
  .kp-umschalter .check { min-height: 44px; }
}

/* ---------- Programmheft-Daten (D-064) ---------- */
.hf-zeile { display: grid; gap: 8px; align-items: center; margin-bottom: 6px; }
.hf-termin { grid-template-columns: minmax(140px, 1fr) 150px 150px 110px 92px 36px; }
.hf-schule { display: inline-flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fs)); color: var(--ink-2); }
.hf-schule input { width: 18px; height: 18px; }
.hf-zeit { grid-template-columns: 110px 110px minmax(140px, 1fr) 36px; }
.hf-zeile input { width: 100%; min-width: 0; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); color: var(--ink); font: inherit; }
.hf-zeile input:focus { outline: none; border-color: var(--ink-2); }
.hf-zeile input:disabled { background: var(--bg); color: var(--ink-2); }
.hf-kopf { margin-bottom: 2px; }
.hf-kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 6px; }
.hf-kopfzeile h2 { margin: 0; }
.hf-knoepfe { display: flex; gap: 6px; align-items: center; flex: none; }
.hf-aus strong { color: var(--muted); }
.hf-anriss { margin-top: 2px; }
.hf-fehlt { background: var(--amber-soft); color: var(--amber); border-radius: 3px; padding: 0 2px; }
.hf-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.hf-editor textarea { min-height: 360px; }
.hf-vorschau h3 { margin: 0 0 8px; }
.hf-text p { margin: 0 0 10px; line-height: 1.5; }
.hf-text ul, .hf-text ol { margin: 0 0 10px; padding-left: 22px; line-height: 1.5; }
.hf-zeiten { border-collapse: collapse; margin: 0 0 10px; }
.hf-zeiten td { padding: 2px 16px 2px 0; vertical-align: top; }
.hf-zeiten td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hf-platzhalter summary { cursor: pointer; }
.hf-platzhalter .tbl-wrap { margin-top: 10px; }
@media (max-width: 900px) { .hf-editor { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .hf-kopf { display: none; }
  .hf-termin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .hf-termin input[name=t_name] { grid-column: 1 / 3; }
  .hf-termin .hf-schule { grid-column: 1 / 3; }
  .hf-zeit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .hf-zeit input[name=z_bez] { grid-column: 1 / 3; grid-row: 2; }
  .hf-zeile .icon-btn { grid-column: 3; grid-row: 1; }
  .hf-kopfzeile { flex-wrap: wrap; }
  .list > li:has(.hf-knoepfe) { flex-wrap: wrap; }
}
@media (pointer: coarse) { .hf-zeile input { min-height: 44px; font-size: 16px; } .hf-schule { min-height: 44px; } .hf-zeile .hf-schule input { min-height: 0; width: 22px; height: 22px; } }

/* ---------- Mitarbeiter (D-068): Kurse mit Tag und Zeit als wichtigste Angabe ---------- */
.mb-tabelle .mb-kurse-spalte { min-width: 300px; width: 45%; }
.mb-kurse { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.mb-kurs { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; line-height: 1.4; }
.mb-wann { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.mb-kurs.abgesagt .mb-was { text-decoration: line-through; color: var(--muted); }
.mb-kurskarte .tbl td, .mb-kurskarte .tbl th { padding-left: 20px; }
.mb-zeit { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.mb-unten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 16px; align-items: start; }
@media (max-width: 640px) {
  /* Tabellen als Blöcke untereinander, damit die Kurse nicht seitlich aus dem Bild rutschen */
  .mb-tabelle thead, .mb-kurskarte thead { display: none; }
  .mb-tabelle, .mb-tabelle tbody, .mb-tabelle tr, .mb-tabelle td,
  .mb-kurskarte .tbl, .mb-kurskarte tbody, .mb-kurskarte tr, .mb-kurskarte td { display: block; width: auto; min-width: 0; }
  .mb-tabelle tr, .mb-kurskarte tr { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .mb-tabelle td, .mb-kurskarte .tbl td { border: 0; padding: 2px 0; }
  .mb-kurskarte .tbl td:first-child { font-weight: 600; }
  .mb-kurs { grid-template-columns: 100px minmax(0, 1fr); }
}

/* ---------- Programmheft: A4-Seiten, in denen man arbeitet (D-069) ----------
   Seite 210 × 297 mm; Schrift wie im Planer; Orange nur als Fläche und Linie, nie als Textfarbe (CLAUDE.md). */
.hf-buehne { position: relative; background: #e4e4e0; border-radius: 10px; padding: 16px 12px; overflow-x: hidden; }
.hf-seiten { width: 210mm; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.hf-seite { width: 210mm; height: 297mm; background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.18); display: flex; flex-direction: column;
  padding: 16mm 17mm 9mm; box-sizing: border-box; font-size: 10.5pt; line-height: 1.45; overflow: hidden; position: relative; }
.hf-seite.hf-offen { height: auto; min-height: 297mm; overflow: visible; }
.hf-seite-inhalt { flex: 1; min-height: 0; overflow: hidden; }
.hf-offen .hf-seite-inhalt { overflow: visible; }
.hf-fuss { display: flex; justify-content: space-between; gap: 12px; font-size: 8.5pt; color: var(--muted); border-top: 0.5pt solid var(--line-2); padding-top: 2.5mm; margin-top: 3mm; }
.hf-seite p { margin: 0 0 2.6mm; }
.hf-seite ul, .hf-seite ol { margin: 0 0 2.6mm; padding-left: 6mm; }
.hf-seite li { margin-bottom: 1mm; }
.hf-h2 { font-size: 14pt; font-weight: 600; margin: 5mm 0 2.5mm; padding-bottom: 1.2mm; border-bottom: 1.2pt solid var(--accent); }
.hf-seite-inhalt > .hf-h2:first-child, .hf-seite-inhalt > .hf-kat:first-child { margin-top: 0; }
.hf-seite .hf-zeiten { margin: 0 0 2.6mm; border-collapse: collapse; }
.hf-seite .hf-zeiten td { padding: 0.6mm 6mm 0.6mm 0; }
/* Titelseite */
.hf-titelseite { padding: 0; }
.hf-titelseite .hf-seite-inhalt { display: flex; flex-direction: column; }
.hf-titel-kopf { display: flex; align-items: center; gap: 5mm; padding: 14mm 17mm 8mm; font-size: 11pt; color: var(--ink-2); }
.hf-titel-kopf img { width: 28mm; height: auto; }
.hf-titel-band { background: var(--accent); color: #fff; padding: 12mm 17mm 11mm; }
.hf-titel-band h1 { font-size: 40pt; line-height: 1.05; margin: 2mm 0 3mm; font-weight: 600; letter-spacing: -0.5pt; color: #fff; }
.hf-titel-hj { font-size: 15pt; font-weight: 600; color: #fff; }
.hf-titel-jg { font-size: 14pt; font-weight: 600; color: #fff; }  /* Weiß auf Orange 3,5 : 1 – nur große Schrift (≥ 14 pt fett) */
.hf-titel-bild { flex: 1; margin: 10mm 17mm; background: var(--accent-soft); border-radius: 4mm; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 10pt; }
.hf-titel-fuss { padding: 0 17mm 12mm; font-size: 10pt; color: var(--muted); }
.hf-titel-bild.mit-bild { background: none; overflow: hidden; position: relative; min-height: 0; }
.hf-titel-bild.mit-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hf-titel-bild img.hf-pos-oben { object-position: center top; } .hf-titel-bild img.hf-pos-unten { object-position: center bottom; }
.hf-bildnachweis { margin: -8mm 17mm 4mm; font-size: 7.5pt; color: var(--muted); text-align: right; }
.hf-darf .hf-titel-bild[data-aktion] { cursor: pointer; }
.hf-darf .hf-titel-bild[data-aktion]:hover { outline: 1.5px dashed var(--ink-2); outline-offset: 1.5mm; }
/* Inhaltsverzeichnis */
.hf-toc h2 { font-size: 14pt; margin: 0 0 3mm; font-weight: 600; }
.hf-toc ol { list-style: none; margin: 0 0 6mm; padding: 0; }
.hf-toc li { display: flex; gap: 3mm; align-items: baseline; padding: 0.8mm 0; border-bottom: 0.5pt dotted var(--line-2); margin: 0; }
.hf-toc li > span:first-child { flex: 1; }
.hf-toc-nr { font-variant-numeric: tabular-nums; }
/* Übersicht je Tag */
.hf-tag h3 { font-size: 11.5pt; margin: 3mm 0 1.2mm; font-weight: 600; }
.hf-tab { width: 100%; border-collapse: collapse; font-size: 9.5pt; margin-bottom: 2mm; }
.hf-tab th { text-align: left; font-weight: 500; color: var(--muted); border-bottom: 0.8pt solid var(--line-2); padding: 0.8mm 2mm 0.8mm 0; }
.hf-tab td { border-bottom: 0.5pt solid var(--line); padding: 0.8mm 2mm 0.8mm 0; vertical-align: top; }
.hf-tab td:first-child, .hf-tab th:first-child { width: 11mm; font-variant-numeric: tabular-nums; }
.hf-tab td:nth-child(3) { width: 18mm; white-space: nowrap; } .hf-tab td:last-child { width: 24mm; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hf-klein { font-size: 8.5pt; color: var(--muted); }
/* Kategorien und Kurskarten (zwei Spalten) */
.hf-kat { font-size: 14pt; font-weight: 600; margin: 5mm 0 3mm; padding: 1.5mm 0 1.5mm 3mm; border-left: 2.2mm solid var(--kat-bl); border-radius: 0; }
.hf-kat.kat-lrs { border-left-color: var(--kat-lrs); } .hf-kat.kat-foerder { border-left-color: var(--kat-foerder); } .hf-kat.kat-sport { border-left-color: var(--kat-sport); }
.hf-kat.kat-kreativ { border-left-color: var(--kat-kreativ); } .hf-kat.kat-forschen { border-left-color: var(--kat-forschen); } .hf-kat.kat-mitgestalten { border-left-color: var(--kat-mitgestalten); }
.hf-kat.kat-lrs, .hf-kat.kat-foerder, .hf-kat.kat-sport, .hf-kat.kat-kreativ, .hf-kat.kat-forschen, .hf-kat.kat-mitgestalten { background: none; }
.hf-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; align-items: start; margin-bottom: 4mm; }
.hf-karte { border: 0.8pt solid var(--line-2); border-radius: 2.5mm; padding: 3mm 3.5mm; font-size: 9.5pt; line-height: 1.4; break-inside: avoid; }
.hf-karte header { display: flex; gap: 3mm; align-items: flex-start; margin-bottom: 2mm; }
.hf-karte-nr { background: var(--hover); border-radius: 1.5mm; padding: 0.5mm 1.8mm; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hf-karte h4 { font-size: 11pt; margin: 0; font-weight: 600; line-height: 1.25; }
.hf-karte-ziel { font-size: 8.5pt; color: var(--muted); }
.hf-karte-text p { margin: 0 0 1.6mm; }
.hf-karte-text ul, .hf-karte-text ol { margin: 0 0 1.6mm; padding-left: 5mm; }
.hf-karte-info { display: grid; grid-template-columns: auto 1fr; gap: 0.4mm 3mm; margin: 2mm 0 0; padding-top: 2mm; border-top: 0.5pt solid var(--line); font-size: 8.8pt; }
.hf-karte-info dt { color: var(--muted); }
.hf-karte-info dd { margin: 0; }
/* Rückseite */
.hf-rueck { padding-top: 40mm; text-align: center; }
.hf-rueck img { width: 34mm; height: auto; margin-bottom: 8mm; }
.hf-rueck h2 { font-size: 14pt; margin: 0 0 4mm; font-weight: 600; }
.hf-rueck p { margin: 0 0 5mm; }
/* Bearbeiten (nur am Bildschirm, nur mit Recht) */
.hf-darf [data-aktion] { cursor: pointer; }
.hf-darf .hf-block[data-aktion]:hover, .hf-darf .hf-h2[data-aktion]:hover, .hf-darf .hf-titel-band:hover, .hf-darf .hf-karte:hover, .hf-darf .hf-rueck p:hover { outline: 1.5px dashed var(--ink-2); outline-offset: 1.5mm; }
.hf-darf .hf-tab tr[data-aktion]:hover td { background: var(--hover); }
.hf-darf .hf-ph[data-aktion] { border-bottom: 1.5px dotted var(--accent); }
.hf-darf .hf-ph[data-aktion]:hover { background: var(--accent-soft); }
.hf-inline { outline: 2px solid var(--blue); outline-offset: 1.5mm; border-radius: 1mm; margin: 2mm 0 4mm; font-size: 10.5pt; }
.hf-inline-ue { width: 100%; font: inherit; font-size: 14pt; font-weight: 600; border: 0; border-bottom: 1.2pt solid var(--accent); padding: 0 0 1.2mm; margin-bottom: 2.5mm; background: #fffdf5; }
.hf-inline-text { width: 100%; font: inherit; line-height: 1.45; border: 1px solid var(--line-2); border-radius: 1.5mm; padding: 2mm; min-height: 40mm; resize: vertical; background: #fffdf5; box-sizing: border-box; }
.hf-inline-ue:focus, .hf-inline-text:focus { outline: none; border-color: var(--blue); }
.hf-inline-hilfe { font-size: 8.5pt; color: var(--muted); margin: 1.5mm 0; }
.hf-inline-leiste { display: flex; gap: 2mm; align-items: center; flex-wrap: wrap; font-size: 10pt; }
.hf-inline-fehler .login-meldung { margin: 0 0 2mm; }
.hf-pop { position: absolute; z-index: 20; width: 340px; max-width: calc(100% - 16px); box-shadow: 0 6px 24px rgba(0,0,0,.18); margin: 0; }
.hf-pop h3 { margin: 0 0 6px; font-size: calc(15px * var(--fs)); }
.hf-pop .raster { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  .hf-nicht-drucken, .hf-nur-bildschirm, .hf-pop { display: none !important; }
  .content:has(#hfSeiten) { padding: 0 !important; max-width: none !important; }
  .hf-buehne { padding: 0; background: none; border-radius: 0; overflow: visible; }
  .hf-seiten { zoom: 1 !important; gap: 0; width: auto; }
  .hf-seite { box-shadow: none; break-after: page; page-break-after: always; }
  .hf-seite:last-child { break-after: auto; page-break-after: auto; }
  .hf-darf [data-aktion]:hover { outline: none !important; }
  .hf-darf .hf-ph[data-aktion] { border-bottom: 0; }
  .hf-seite, .hf-titel-band, .hf-karte-nr, .hf-kat, .hf-titel-bild { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Übersicht: Termine der Woche (D-072) ---------- */
.tm-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tm-kopf h2 { margin: 0; }
.tm-knoepfe { display: flex; gap: 6px; }
.tm-liste { list-style: none; margin: 0; padding: 0; }
.tm-tag { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.tm-tag.heute .tm-datum strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tm-datum { font-variant-numeric: tabular-nums; padding-top: 4px; }
.tm-eintraege { display: grid; gap: 5px; }
.tm-e { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 5px 10px; border-radius: 7px; border-left: 4px solid; }
.tm-e.tm-gta { background: var(--accent-soft); border-left-color: var(--accent); }
.tm-e.tm-schule { background: var(--schule-soft); border-left-color: var(--schule); }
.tm-e.wichtig .tm-titel { font-weight: 600; }
.tm-titel { color: var(--ink); }
.tm-info { font-size: calc(12.5px * var(--fs)); color: var(--muted); }
.tm-fuss { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: calc(13px * var(--fs)); color: var(--ink-2); }
.tm-legende { display: inline-flex; align-items: center; gap: 6px; }
.tm-punkt { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.tm-punkt.tm-gta { background: var(--accent-soft); border-left: 4px solid var(--accent); }
.tm-punkt.tm-schule { background: var(--schule-soft); border-left: 4px solid var(--schule); }
.tm-punkt.tm-kurs { background: var(--hover); border-left: 4px solid var(--ink-2); }
.tm-warn { color: var(--amber); }
@media (pointer: coarse) { .tm-fuss .check { min-height: 44px; } }

/* ---------- Nächstes Halbjahr planen (D-074) ---------- */
.pl-schritt { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: calc(14px * var(--fs)); margin-right: 6px; }
.pl-tabelle td:first-child { width: 44px; }
.pl-tabelle td:first-child input { width: 22px; height: 22px; }
.pl-tabelle .pl-nr { width: 76px; padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 7px; font: inherit; }
#plAb { width: 80px; padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 7px; font: inherit; }
@media (max-width: 640px) { .pl-tabelle th:last-child, .pl-tabelle td:last-child { display: none; } }
@media (pointer: coarse) { .pl-tabelle .pl-nr, #plAb { min-height: 44px; font-size: 16px; } .pl-tabelle td:first-child input { width: 28px; height: 28px; } }

/* ---------- Seite Termine (D-077): Monatskalender aus dem HBS-Planer (.cal-…, app.css 818–851) ---------- */
.ka-leiste { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 8px; }
.ka-leiste .seg { margin-top: 0; }
.cal-nav { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; flex-wrap: wrap; }
.cal-nav strong { min-width: 150px; text-align: center; font-size: calc(16px * var(--fs)); }
.ka-karte { padding: 0; overflow: hidden; }
.cal-wrap { overflow-x: auto; max-width: 100%; }
.cal { display: grid; grid-template-columns: 44px repeat(5, minmax(110px, 1fr)) repeat(2, minmax(46px, .32fr)); background: var(--paper); min-width: 720px; }
.cal-wd { font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.cal-tag { min-height: 96px; padding: 4px 5px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal > :nth-child(8n) { border-right: none; }
.cal-kw { padding: 6px 4px; font-size: calc(11px * var(--fs)); font-weight: 600; color: var(--muted); text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--hover); }
.cal-tag.cal-fremd { background: #fcfcfb; }
.cal-tag.cal-fremd .cal-nr { color: var(--muted); font-weight: 400; }
.cal-tag.cal-we { background: #fbfbf9; }
.cal-tag.cal-frei, .ka-schraffur { background: repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 6px, transparent 6px 12px); }
.ka-schraffur { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--line-2); border-radius: 3px; }
.cal-kopf { display: flex; align-items: center; gap: 4px; min-height: 20px; }
.cal-nr { font-size: calc(12px * var(--fs)); font-weight: 600; }
.cal-tag.cal-heute .cal-nr { background: var(--ink); color: #fff; border-radius: 9px; padding: 0 6px; }
.cal-frei-lbl { font-size: calc(11px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.cal-add { margin-left: auto; color: var(--muted); padding: 0 4px; border-radius: 4px; opacity: 0; text-decoration: none; display: inline-flex; }
.cal-tag:hover .cal-add, .cal-add:focus { opacity: 1; }
.cal-add:hover { background: var(--hover); color: var(--ink); }
.cal-chip { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; width: 100%; text-align: left; font-size: calc(13px * var(--fs)); line-height: 1.3;
  padding: 3px 6px; border-radius: 4px; border-left: 3px solid; color: var(--ink); text-decoration: none; }
.cal-chip.ka-gta { background: var(--accent-soft); border-left-color: var(--accent); }
.cal-chip.ka-schule { background: var(--schule-soft); border-left-color: var(--schule); }
a.cal-chip:hover { text-decoration: underline; }
.cal-chip.is-wichtig { font-weight: 600; }
.cal-zeit, .cal-bis { color: var(--muted); font-variant-numeric: tabular-nums; }
.ka-liste > li { border-left: 4px solid; }
.ka-liste > li.ka-gta { border-left-color: var(--accent); }
.ka-liste > li.ka-schule { border-left-color: var(--schule); }
.ka-datum { width: 72px; flex: none; font-variant-numeric: tabular-nums; }
@media (pointer: coarse) { .cal-add { opacity: 1; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; } .ka-leiste .check { min-height: 44px; } .ka-liste a { display: inline-flex; align-items: center; min-height: 44px; } }

/* ---------- Ausfälle (D-079) ---------- */
.au-liste { list-style: none; margin: 0; padding: 0; }
.au-alle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 8px; padding: 8px 10px; background: var(--hover); border-radius: 8px; }
.au-alle select, .au-alle input { padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); font: inherit; }
@media (pointer: coarse) { .au-alle select, .au-alle input { min-height: 44px; font-size: 16px; } }
.au-zeile { display: grid; grid-template-columns: minmax(200px, 1.4fr) minmax(160px, 1fr) 170px minmax(0, 1fr); gap: 6px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.au-zeile select, .au-zeile input:not([type=checkbox]) { padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); font: inherit; min-width: 0; }
.tm-e.tm-ausfall .tm-titel, .cal-chip.ka-ausfall { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.au-buehne { padding: 16px 12px; }
.au-seite { width: 210mm; min-height: 297mm; margin: 0 auto; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); padding: 18mm 18mm 14mm; box-sizing: border-box; color: var(--ink); position: relative; }
.au-logo { width: 30mm; height: auto; float: right; }
.au-seite h1 { font-size: 26pt; margin: 0 0 3mm; font-weight: 600; }
.au-tag { font-size: 20pt; font-weight: 600; padding-bottom: 3mm; border-bottom: 2pt solid var(--accent); margin-bottom: 8mm; clear: both; }
.au-eintrag { border-left: 3mm solid var(--accent); background: var(--accent-soft); padding: 4mm 5mm; margin-bottom: 5mm; break-inside: avoid; }
.au-kurs-name { font-size: 18pt; font-weight: 600; }
.au-info { font-size: 13pt; color: var(--ink-2); margin-top: 1mm; }
.au-statt { font-size: 15pt; margin-top: 2mm; }
.au-fuss { position: absolute; left: 18mm; right: 18mm; bottom: 10mm; font-size: 9pt; color: var(--muted); border-top: 0.5pt solid var(--line-2); padding-top: 2mm; }
@media (max-width: 760px) { .au-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .au-haken { grid-column: 1 / -1; } .au-zeile > span { grid-column: 1 / -1; } }
@media (pointer: coarse) { .au-zeile select, .au-zeile input:not([type=checkbox]) { min-height: 44px; font-size: 16px; } .au-haken { min-height: 44px; } }
@media print {
  .content:has(.au-seite) { padding: 0 !important; max-width: none !important; }
  .au-nicht-drucken { display: none !important; }
  .au-buehne { padding: 0; background: none; }
  .au-seite { box-shadow: none; margin: 0; }
  .au-seite, .au-eintrag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Meine Kurse (D-081) ---------- */
.mk-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.mk-kopf h2 { margin: 0; }
.mk-wann { font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-info { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 10px 0; }
.mk-info dt { color: var(--muted); } .mk-info dd { margin: 0; }
.mk-ausfaelle { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 6px 10px; border-radius: 0; margin: 8px 0; }
.mk-text { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.mk-text-kopf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mk-beschreibung { margin-top: 6px; }
.mk-form { margin-top: 10px; }
.mk-vergleich { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 8px 0 12px; }
.mk-vergleich > div { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.mk-vergleich > div:last-child { background: var(--accent-soft); border-color: var(--accent-line); }
@media (max-width: 760px) { .mk-vergleich { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rückmeldungen (D-082) ---------- */
.rm-label { display: block; font-size: calc(13.5px * var(--fs)); font-weight: 500; color: var(--ink-2); margin-bottom: 4px; }
.rm-art { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 6px; cursor: pointer; font-size: calc(13.5px * var(--fs)); }
.rm-art:has(input:checked) { background: var(--paper); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.rm-text { white-space: pre-wrap; margin-top: 4px; }
.rm-antwort { margin-top: 6px; padding: 6px 10px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0; white-space: pre-wrap; }
@media (pointer: coarse) { .rm-art { min-height: 44px; } }

/* ---------- Kinder (D-083) ---------- */
.kin-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; }
.kin-filter input { flex: 1 1 220px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); font: inherit; }
.kin-schritte { margin: 0 0 8px; padding-left: 20px; line-height: 1.5; }
.kin-details { margin: 6px 0; }
.kin-details summary { cursor: pointer; font-weight: 500; }
.kin-details ul { margin: 6px 0 0; columns: 2 260px; }
@media (max-width: 640px) { .kin-tabelle th:nth-child(3), .kin-tabelle td:nth-child(3) { display: none; } }
#kinText { font-family: ui-monospace, Consolas, monospace; font-size: calc(13px * var(--fs)); }
@media (pointer: coarse) { .kin-filter input, .kin-filter select { min-height: 44px; font-size: 16px; } .kin-details summary { min-height: 44px; display: flex; align-items: center; } }

/* ---------- Belegungen (D-084) ---------- */
.bk-neu { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 20px 16px; }
.bk-neu select { min-width: 0; max-width: 100%; }
.bk-teilnehmer { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
.bk-teilnehmer h3 { margin: 0 0 6px; font-size: calc(15px * var(--fs)); }
.bk-liste { list-style: none; margin: 0; padding: 0; columns: 2 240px; }
.bk-liste li { padding: 3px 0; break-inside: avoid; }
@media (pointer: coarse) { .bk-liste a { display: inline-flex; align-items: center; min-height: 44px; } .bk-neu select { min-height: 44px; font-size: 16px; } }

/* ---------- Listen und Aushänge (D-086), Gestaltung A „sachlich“ (D-090): Druckseiten dk- ---------- */
.ls-buehne { padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ls-seite { width: 210mm; min-height: 297mm; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); box-sizing: border-box; color: var(--ink); position: relative; }
.dk-a, .au-seite.dk-a { padding: 11mm 12mm 16mm; font-size: 9.5pt; line-height: 1.35; }
.dk-kopf { display: flex; align-items: center; gap: 4mm; padding-bottom: 3mm; border-bottom: 0.6pt solid var(--ink); }
.dk-kopf img { height: 11mm; width: auto; }
.dk-schule { flex: 1; font-size: 8pt; line-height: 1.25; color: var(--ink-2); }
.dk-schule strong { display: block; color: var(--ink); font-size: 9pt; letter-spacing: .02em; }
.dk-art { display: flex; flex-direction: column; align-items: flex-end; font-size: 8pt; color: var(--ink-2); text-align: right; }
.dk-art strong { font-size: 11pt; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1.6pt solid var(--accent); margin-bottom: 1mm; }
.dk-a h1.dk-titel { font-size: 20pt; font-weight: 600; margin: 5mm 0 3mm; letter-spacing: -.01em; line-height: 1.15; }
.dk-titel .dk-vor { color: var(--muted); font-weight: 400; margin-right: 2mm; }
.dk-tab.dk-plan tbody tr:nth-child(even) td { background: none; }
.dk-unter { font-size: 15pt; color: var(--ink-2); margin: -1mm 0 6mm; }
.dk-felder { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 0.5pt solid var(--line-2); border-bottom: 0.5pt solid var(--line-2); margin-bottom: 5mm; }
.dk-felder div { padding: 2mm 3mm 2mm 0; min-width: 0; }
.dk-felder div + div { padding-left: 3mm; border-left: 0.5pt solid var(--line-2); }
.dk-felder small { display: block; font-size: 6.5pt; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dk-felder span { font-size: 10pt; font-weight: 500; }
.dk-tab { width: 100%; border-collapse: collapse; }
.dk-tab th { font-size: 7pt; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; text-align: left; padding: 1.5mm; border-bottom: 1pt solid var(--ink); vertical-align: bottom; }
.dk-tab td { padding: 0 1.5mm; border-bottom: 0.4pt solid var(--line-2); vertical-align: middle; }
.dk-tab tbody tr:nth-child(even) td { background: #f6f6f3; }
.dk-nr { width: 6mm; color: var(--muted); text-align: right !important; font-size: 8pt; }
.dk-name { white-space: nowrap; }
.dk-kl { width: 11mm; color: var(--ink-2); }
.dk-hw { width: 27mm; font-size: 7.5pt; color: var(--ink-2); }
.dk-liste td { height: 7.2mm; }
.dk-d { width: 9.5mm; text-align: center !important; border-left: 0.4pt solid var(--line-2); padding: 0 !important; }
.dk-tab th.dk-d { text-transform: none; letter-spacing: 0; font-size: 7.5pt; padding: 1mm 0; }
.dk-tab th.dk-d small { display: block; font-weight: 400; color: var(--muted); font-size: 6.5pt; }
.dk-tab .dk-aus, .dk-tab tbody tr:nth-child(even) td.dk-aus { background: repeating-linear-gradient(135deg, #e6e6e3 0 2px, #fff 2px 5px); }
.dk-tab th.dk-aus { color: var(--muted); }
.dk-legende { display: flex; flex-wrap: wrap; gap: 2mm 5mm; font-size: 7.5pt; color: var(--ink-2); margin-top: 3mm; }
.dk-legende b { display: inline-block; min-width: 4mm; text-align: center; border: 0.5pt solid var(--line-2); border-radius: 1mm; margin-right: 1mm; }
.dk-raster td { vertical-align: top; padding-top: 1.5mm; padding-bottom: 1.5mm; height: 12mm; }
.dk-raster td.dk-name { vertical-align: top; }
.dk-k { font-size: 8.5pt; line-height: 1.2; margin-bottom: 1mm; }
.dk-k em { font-style: normal; color: var(--muted); font-size: 7pt; display: block; padding-left: 3mm; }
.dk-punkt { display: inline-block; width: 2mm; height: 2mm; border-radius: 50%; margin-right: 1mm; vertical-align: .3mm; background: var(--kat-bl); }
.dk-punkt.kat-lrs { background: var(--kat-lrs); } .dk-punkt.kat-foerder { background: var(--kat-foerder); } .dk-punkt.kat-sport { background: var(--kat-sport); }
.dk-punkt.kat-kreativ { background: var(--kat-kreativ); } .dk-punkt.kat-forschen { background: var(--kat-forschen); } .dk-punkt.kat-mitgestalten { background: var(--kat-mitgestalten); }
.dk-plan th.dk-zeile { width: 22mm; text-transform: none; letter-spacing: 0; font-size: 8.5pt; vertical-align: top; border-bottom: 0.4pt solid var(--line-2); padding-top: 2mm; }
.dk-plan td { height: 34mm; width: 19%; vertical-align: top; padding-top: 2mm; }
.dk-plan .dk-k { font-size: 10pt; }
.dk-plan .dk-k em { font-size: 8.5pt; }
.dk-hinweis { margin-top: 5mm; font-size: 10pt; }
.dk-ausfall td { padding: 3mm 2mm; vertical-align: top; font-size: 12pt; }
.dk-ausfall th { font-size: 7.5pt; padding: 2mm; }
.dk-ausfall .dk-zeit { width: 32mm; font-weight: 600; font-variant-numeric: tabular-nums; }
.dk-ausfall .dk-zeit small, .dk-ausfall .dk-kurs small { display: block; font-weight: 400; color: var(--muted); font-size: 9pt; }
.dk-ausfall .dk-kurs strong { font-size: 14pt; }
.dk-ausfall .dk-statt { width: 72mm; font-size: 11pt; }
.dk-fuss { position: absolute; left: 12mm; right: 12mm; bottom: 7mm; display: flex; justify-content: space-between; gap: 6mm; font-size: 7.5pt; color: var(--muted); border-top: 0.5pt solid var(--line-2); padding-top: 1.5mm; }
@media print {
  .content:has(.ls-seite) { padding: 0 !important; max-width: none !important; }
  .ls-nicht-drucken { display: none !important; }
  .ls-buehne { padding: 0; background: none; gap: 0; display: block; }
  .ls-seite { box-shadow: none; margin: 0; break-after: page; page-break-after: always; }
  .ls-seite:last-child { break-after: auto; page-break-after: auto; }
  .ls-seite, .au-seite, .dk-tab td, .dk-tab th, .dk-punkt { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Anwesenheit (D-087): am Handy, Tippflächen ≥ 44 px ---------- */
.an-tagwahl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.an-tagwahl input { width: auto; }
.an-kurse { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card.an-kurs { display: block; color: var(--ink); text-decoration: none; margin: 0; }
.card.an-kurs:hover { border-color: var(--line-2); background: var(--hover); }
.an-kurs-titel { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 2px; }
.chip.an-fertig { color: var(--green); background: var(--green-soft); }
.an-eigene { list-style: none; padding: 0; margin: 0; }
.an-eigene li { padding: 6px 0; }
.an-daten { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.an-datum { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 4px 10px; border: 1px solid var(--line-2);
  border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; font-size: calc(13px * var(--fs)); }
.an-datum small { font-size: calc(11px * var(--fs)); color: var(--muted); line-height: 1.2; }
.an-datum.on { background: var(--accent-soft); border-color: var(--accent-line); font-weight: 600; }
.an-datum.aus { color: var(--muted); }
.an-nur-lesen { background: var(--hover); border-radius: 8px; padding: 8px 12px; }
.an-liste { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.an-zeile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.an-zeile:last-child { border-bottom: none; }
.an-zeile.neu { background: var(--amber-soft); }
.an-wer { flex: 1; min-width: 0; }
.an-flags { display: flex; flex-wrap: wrap; gap: 4px; }
.an-flags:empty { display: none; }
.an-verlauf { font-size: calc(12px * var(--fs)); color: var(--muted); margin-top: 2px; }
.an-v { display: inline-block; min-width: 1.3em; text-align: center; }
.an-v-f { color: var(--red); font-weight: 600; }
.an-knoepfe { display: flex; gap: 6px; flex-shrink: 0; }
.an-k { width: 48px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink-2); font: inherit;
  font-size: calc(17px * var(--fs)); font-weight: 600; cursor: pointer; }
.an-k.on { color: #fff; }
.an-k.an-a.on { background: var(--green); border-color: var(--green); }
.an-k.an-f.on { background: var(--red); border-color: var(--red); }
.an-k.an-e.on { background: var(--amber); border-color: var(--amber); }
.an-k:disabled { cursor: default; opacity: .5; }
.an-k.on:disabled { opacity: .75; }
.an-leiste { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; padding: 10px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 -2px 8px rgba(0,0,0,.06); }
.an-zahlen { flex: 1; min-width: 160px; }
.an-raster { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .an-raster { grid-template-columns: 1fr 1fr; } }
.an-raster .card { margin: 0; }
.an-zwei { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.an-hinweise, .an-krank { list-style: none; padding: 0; margin: 0; }
.an-hinweise li, .an-krank li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.an-hinweise li:last-child, .an-krank li:last-child { border-bottom: none; }
#anSchwelle { width: auto; display: inline-block; padding: 2px 6px; }
@media (pointer: coarse) { #anTagFeld, #anSchwelle { min-height: 44px; font-size: 16px; } }

/* ---------- Löschfrist (D-088) ---------- */
.lf-liste { margin: 0 0 12px; padding-left: 20px; }
.lf-liste li { margin: 4px 0; }
.lf-kinder { margin: 12px 0; }
.lf-kinder summary { cursor: pointer; min-height: 32px; }
.lf-kinder ul { columns: 2 240px; margin: 8px 0 0; padding-left: 20px; }
.lf-warnung { background: var(--red-soft); border-radius: 8px; padding: 10px 12px; margin: 12px 0; }

/* ---------- Notfall (D-089): Rot nur als Fläche mit weißer Schrift (Kontrast 6,5 : 1) ---------- */
.nf-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  min-height: 44px; padding: 8px 16px; box-sizing: border-box; background: var(--red); color: #fff; text-decoration: none; font-size: calc(15px * var(--fs)); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.nf-banner-los { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.nf-an { padding-top: 52px; }
body.nf-an .sidebar { top: 52px; height: calc(100vh - 52px); }
@media (max-width: 640px) { .nf-banner { flex-wrap: nowrap; font-size: calc(14px * var(--fs)); } .nf-banner-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nf-banner-los { white-space: nowrap; } }
.nf-kopf { background: var(--red); color: #fff; border-color: var(--red); }
.nf-kopf.vorbei { background: var(--ink-2); border-color: var(--ink-2); }
.nf-titel { font-size: calc(24px * var(--fs)); font-weight: 700; letter-spacing: .02em; }
.nf-wann { font-size: calc(14px * var(--fs)); opacity: .95; margin: 2px 0 10px; }
.nf-zahlen { font-size: calc(17px * var(--fs)); }
.nf-balken { height: 10px; border-radius: 5px; background: rgba(255,255,255,.3); margin-top: 8px; overflow: hidden; }
.nf-balken span { display: block; height: 100%; background: #fff; }
.nf-liste { list-style: none; padding: 0; margin: 8px 0 0; }
.nf-zeile { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.nf-zeile:last-child { border-bottom: none; }
.nf-zeile.sicher .nf-wer strong { color: var(--green); }
.nf-wer { flex: 1; min-width: 0; }
.nf-k { flex-shrink: 0; min-height: 44px; min-width: 128px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer; }
.nf-k.on { background: var(--green); border-color: var(--green); color: #fff; }
.btn.nf-gruppe { min-height: 48px; width: 100%; justify-content: center; font-size: calc(16px * var(--fs)); }
.nf-fehlend { border-color: var(--red); border-width: 2px; }
.nf-mehr summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.nf-start p { max-width: 70ch; }
.btn.nf-gross { background: var(--red); border-color: var(--red); color: #fff; min-height: 52px; padding: 0 22px; font-size: calc(17px * var(--fs)); font-weight: 600; }
.btn.nf-gross:hover { filter: brightness(.92); }
.nf-arten { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.nf-art { min-height: 48px; padding: 0 18px; border: 2px solid var(--line-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.nf-art.on { border-color: var(--red); background: var(--red-soft); }
.nf-berichte { list-style: none; padding: 0; margin: 0; }
.nf-berichte li { padding: 6px 0; }
.nf-abbruch { margin-top: 18px; }
@media (max-width: 640px) { .nf-zeile { flex-wrap: wrap; } .nf-k { width: 100%; } }

/* ---------- Räume (D-091) ---------- */
.rp-tabs { margin: 0 0 14px; }
.rp-tabs a { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: calc(13.5px * var(--fs)); }
.rp-tabs a.on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
@media (pointer: coarse) { .rp-tabs a { min-height: 44px; } .rp-wahl { min-height: 44px; font-size: 16px; } }
.rp-plan th.rp-raum { white-space: nowrap; vertical-align: top; }
.rp-plan td { vertical-align: top; min-width: 140px; }
.rp-zeit { display: block; font-size: calc(12px * var(--fs)); color: var(--muted); font-weight: 400; }
.rp-kurs { display: block; padding: 4px 6px; margin: 0 0 4px; border-left: 3px solid var(--line-2); background: var(--hover); border-radius: 0 6px 6px 0; color: var(--ink); text-decoration: none; font-size: calc(13px * var(--fs)); }
a.rp-kurs:hover { background: var(--accent-soft); }
.rp-kurs.doppelt { border-left-color: var(--red); background: var(--red-soft); }
.rp-kurs.klein { border-left-color: var(--amber); }
.rp-kurs .chip { margin-top: 2px; }
.rp-frei { color: var(--muted); font-size: calc(12px * var(--fs)); }
.rp-filter { margin: 0 0 10px; }
.rp-zuweisen .rp-wann { white-space: nowrap; }
.rp-zuweisen tr.rp-konflikt td { background: var(--red-soft); }
.rp-wahl { max-width: 100%; }

/* ---------- Zeugnisbeiblatt (D-092) ---------- */
.bb-erklaerung { margin-bottom: 12px; }
.an-k.bb-k.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.bb-fertig { color: var(--green); background: var(--green-soft); }
.bb-tun { white-space: nowrap; text-align: right; }
.bb-tun .btn + .btn { margin-left: 6px; }
.bb-wahl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bb-haken { width: 22px; height: 22px; }
.bb-blatt .bb-halbjahr { text-align: right; font-size: 11pt; margin: 8mm 0 0; color: var(--ink-2); }
.bb-blatt h1.bb-titel { font-size: 24pt; font-weight: 600; text-align: center; margin: 16mm 0 10mm; letter-spacing: .01em; }
.bb-person { margin: 0 auto 10mm; font-size: 13pt; border-collapse: collapse; }
.bb-person th { font-weight: 400; color: var(--ink-2); text-align: right; padding: 1.5mm 4mm 1.5mm 0; }
.bb-person td { font-weight: 600; padding: 1.5mm 0; min-width: 70mm; border-bottom: 0.5pt solid var(--line-2); }
.bb-unter { text-align: center; font-size: 12pt; margin: 0 0 8mm; }
.bb-tab td { height: 9mm; font-size: 11pt; }
.bb-tab td:last-child { width: 72mm; }
.bb-unterschrift { position: absolute; left: 12mm; right: 12mm; bottom: 30mm; display: flex; justify-content: space-between; align-items: flex-end; font-size: 11pt; }
.bb-linie { min-width: 70mm; border-top: 0.6pt solid var(--ink); padding-top: 1.5mm; text-align: center; }

/* ---------- Suche (D-096, wie HBS-Planer E203/E390) ---------- */
.seiten-werkzeuge { gap: 4px; align-items: center; }
.such-feld { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--paper); color: var(--muted); font: inherit; font-size: calc(14px * var(--fs)); cursor: pointer; text-align: left; }
.such-feld span { flex: 1; }
.such-feld kbd { font: inherit; font-size: calc(11px * var(--fs)); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 5px; color: var(--muted); background: var(--bg); }
.such-feld:hover { border-color: var(--ink-2); color: var(--ink); }
@media (pointer: coarse) { .such-feld kbd { display: none; } .such-feld { min-height: 44px; } }
.leiste-schmal .seiten-werkzeuge { flex-direction: column; }
.leiste-schmal .such-feld { flex: none; width: 36px; height: 34px; padding: 0; justify-content: center; }
.leiste-schmal .such-feld span, .leiste-schmal .such-feld kbd { display: none; }
.topbar .such-btn { margin-left: auto; }
.suche-bg { position: fixed; inset: 0; z-index: 900; background: rgba(20, 24, 28, .28); display: flex; justify-content: center; align-items: flex-start; padding: 9vh 16px 16px; }
.suche { width: min(640px, 100%); max-height: 78vh; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.18); overflow: hidden; }
.suche-feld { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.suche-feld input { flex: 1; min-width: 0; border: none; outline: none; font: inherit; font-size: calc(16px * var(--fs)); color: var(--ink); background: none; padding: 6px 0; box-shadow: none; }
.suche-feld input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.suche-erg { overflow-y: auto; padding: 4px 0 8px; }
.suche-leer { padding: 14px 16px; color: var(--muted); }
.suche-gkopf { padding: 10px 16px 4px; font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.suche-gkopf span { font-weight: 400; }
.suche-treffer { display: flex; gap: 10px; align-items: flex-start; padding: 7px 16px; text-decoration: none; color: var(--ink); }
.suche-treffer .td-ic { color: var(--muted); margin-top: 2px; flex-shrink: 0; }
.suche-treffer.on, .suche-treffer:hover { background: var(--hover); }
.suche-treffer.on { box-shadow: inset 3px 0 0 var(--blue); }
.suche-treffer .grow { min-width: 0; }
.st-titel, .st-sub { display: block; overflow-wrap: anywhere; }
.st-titel { font-weight: 500; }
.st-sub { font-size: calc(12.5px * var(--fs)); color: var(--muted); }
.st-mehr { padding: 2px 16px 4px 42px; }
.suche mark { background: color-mix(in srgb, var(--blue) 18%, transparent); color: inherit; border-radius: 2px; }
.suche-fuss { padding: 6px 16px; border-top: 1px solid var(--line); font-size: calc(12px * var(--fs)); color: var(--muted); }
@media (max-width: 640px) { .suche-bg { padding: 8px; } .suche { max-height: calc(100vh - 16px); } .suche-fuss { display: none; } }
@media (pointer: coarse) { .suche-treffer { min-height: 44px; align-items: center; } .suche-fuss { display: none; } }

/* ---------- Übersicht: Heute, Für dich zu tun (D-099) ---------- */
.tm-karten { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; align-items: start; }
@media (min-width: 1000px) { .tm-karten { grid-template-columns: 3fr 2fr; } .tm-karten.eine { grid-template-columns: 1fr; } }
.tm-karten .card { margin: 0; }
.tm-heute h2, .tm-tun h2 { margin: 0 0 8px; }
.tm-zahlen { margin: 0; font-size: calc(15px * var(--fs)); }
.tm-notfall { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; margin: 0 0 10px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; }
.tm-hk-liste { list-style: none; padding: 0; margin: 8px 0 0; }
.tm-hk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.tm-hk:first-child { border-top: none; }
.tm-hk-zeit { width: 92px; flex: none; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: calc(14px * var(--fs)); }
.tm-hk-kurs { flex: 1; min-width: 0; }
.tm-hk-ersatz { display: block; }
.tm-hk.aus .tm-hk-kurs strong { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.tm-hk-stand { flex: none; }
.chip.tm-fertig { color: var(--green); background: var(--green-soft); }
.tm-e.tm-kurs { background: var(--hover); border-left-color: var(--ink-2); }
.tm-tun-liste { list-style: none; padding: 0; margin: 0; }
.tm-tun-liste a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.tm-tun-liste li:first-child a { border-top: none; }
.tm-tun-liste a:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.tm-zahl { flex: none; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--hover); color: var(--ink); font-weight: 600; font-size: calc(13px * var(--fs));
  display: inline-flex; align-items: center; justify-content: center; }
.tm-zahl.wichtig { background: var(--red-soft); color: var(--red); }
@media (pointer: coarse) { .tm-tun-liste a { min-height: 44px; } }
@media (max-width: 640px) { .tm-hk { flex-wrap: wrap; } .tm-hk-zeit { width: auto; } .tm-hk-stand { width: 100%; } .tm-hk-stand .btn { width: 100%; justify-content: center; } }

/* ---------- Aushänge (D-100) ---------- */
.au-not { margin-bottom: 10px; }
.au-notbox { border: 1.5pt solid var(--ink); border-left: 3mm solid var(--accent); padding: 3mm 5mm; margin: 0 0 6mm; font-size: 15pt; font-weight: 600; }
.au-bemerkung { margin-top: 8mm; font-size: 13pt; line-height: 1.45; }
.au-bemerkung p { margin: 0 0 3mm; }
.dk-a h1.au-frei-titel { font-size: 26pt; margin: 10mm 0 6mm; }
.au-frei-text { font-size: 11pt; line-height: 1.5; }
.au-gross .au-frei-text { font-size: 16pt; }
.au-gross h1.au-frei-titel { font-size: 34pt; }
@media print { .au-notbox { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------- Anmeldung (wie HBS-Planer E27/E123) ---------- */
.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; background: var(--bg); position: relative; overflow: hidden; }
.login::before { content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 380px; background: var(--accent); opacity: .5; transform: skewY(31deg); transform-origin: left top; pointer-events: none; }
.login-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.06); padding: 36px 36px 28px; width: 100%; max-width: 520px; }
.login-logo { width: 150px; display: block; margin-bottom: 22px; }
.login-name { margin: 0; font-size: calc(28px * var(--fs)); font-weight: 600; letter-spacing: -.01em; }
.login-zweck { margin: 4px 0 22px; color: var(--ink-2); font-weight: 600; }
.login-form { display: grid; gap: 12px; text-align: left; }
.login-form .field { margin: 0; }
.login-form .btn.primary { padding: 9px 16px; font-size: calc(15px * var(--fs)); }
.login-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.login-meldung { background: var(--hover); border-left: 4px solid var(--blue); border-radius: 6px; padding: 10px 12px; text-align: left; font-size: calc(14px * var(--fs)); margin: 0 0 4px; }
.login-meldung.fehler { border-left-color: var(--red); background: var(--red-soft); }
.login-meldung.gut { border-left-color: var(--green); background: var(--green-soft); }
.login-foot { position: relative; margin-top: 18px; font-size: calc(12.5px * var(--fs)); color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .content { padding: 18px 16px 40px; }
  .page-title { font-size: calc(22px * var(--fs)); }
  .login-card { padding: 26px 18px 20px; }
  .login::before { display: none; }
}

/* Touch (iPad, Handy): Tippflächen mindestens 44 px, Felder 16 px gegen das Heranzoomen (wie HBS-Planer E97) */
@media (pointer: coarse) {
  .btn, .link-btn, .icon-btn, .menu-btn, .seg button { min-height: 44px; }
  .icon-btn { min-width: 44px; }
  .nav a, .foot-link { min-height: 44px; }
  .userbox-link { min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
  .dpl-zeile input, .dpl-zeile select, .dpl-soll-zeile input, .dpl-kopf input { min-height: 44px; font-size: 16px; }
  .field input:not([type=checkbox]):not([type=radio]), select { font-size: 16px; min-height: 44px; }
  .check input { width: 22px; height: 22px; }
  details.zusatz > summary { min-height: 44px; display: flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .btn, .link-btn, .login::before, .sidebar, .topbar { display: none; } .app { display: block; } }

/* ---------- Mein Ganztag – Elternportal (D-105): eine Spalte, Handy zuerst ---------- */
.el-kopf-login { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.el-kopf-login .login-logo { margin-bottom: 22px; }
.el-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.el-hilfe { margin: 4px 0 0; font-size: calc(13px * var(--fs)); color: var(--muted); }
.el-seite { min-height: 100vh; background: var(--bg); }
.el-kopf { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); border-top: 4px solid var(--accent); }
.el-logo { height: 34px; width: auto; }
.el-name { font-weight: 600; font-size: calc(16px * var(--fs)); }
.el-rechts { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.el-inhalt { max-width: 640px; margin: 0 auto; padding: 22px 16px 10px; }
.el-inhalt .login-meldung { margin-bottom: 16px; }
.el-text { margin: 0 0 8px; line-height: 1.5; }
.el-text:last-child { margin-bottom: 0; }
.el-vor { white-space: pre-line; }
.el-leise { color: var(--muted); }
.el-probe { background: var(--amber-soft); color: var(--amber); border-radius: 6px; padding: 8px 10px; }
.el-kinder { list-style: none; margin: 0 0 14px; padding: 0; }
.el-kind { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.el-kind:first-child { padding-top: 0; }
.el-status { margin-top: 2px; font-size: calc(13px * var(--fs)); color: var(--amber); }
.el-form h3 { margin: 6px 0 2px; font-size: calc(14px * var(--fs)); font-weight: 600; }
.el-form .el-hilfe { margin-bottom: 10px; }
.el-reihe { display: grid; grid-template-columns: 1fr 1fr 90px; gap: 0 10px; }
.el-klein { padding: 5px 10px; font-size: calc(13.5px * var(--fs)); }
.btn.el-gefahr { color: var(--red); border-color: var(--red); }
.el-bestaetigen { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.el-laden { padding: 40px 16px; text-align: center; color: var(--muted); }
.el-form select { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
@media (max-width: 520px) {
  .el-reihe { grid-template-columns: 1fr; }
  .el-name { display: none; }
}

/* ---------- Einwahl einrichten, Elternkonten (D-105) ---------- */
.ew-tabs { margin: 0 0 16px; }
.ew-tabs a { display: inline-block; padding: 4px 12px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: calc(13.5px * var(--fs)); }
.ew-tabs a.on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ew-zeile { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.ew-zeile .grow { flex: 1; min-width: 220px; }
.ew-karte h2 { margin-bottom: 4px; }
.ew-probe { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--amber-soft); }
.ew-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ew-inline input[type=number] { width: 80px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
.ew-inline select { max-width: 280px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
.ew-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; }
.ew-form textarea { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); font: inherit; resize: vertical; }
.ew-form select { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
.ew-klein { padding: 4px 10px; font-size: calc(13px * var(--fs)); }
.ew-tag { border: 0; margin: 0 0 14px; padding: 0; }
.ew-tag legend { font-weight: 600; padding: 0 0 4px; }
.ew-block { margin: 0 0 8px; }
.ew-block-name { font-size: calc(12.5px * var(--fs)); color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--line); }
.ew-kurs { display: flex; align-items: baseline; gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ew-kurs:hover { background: var(--hover); }
.ew-kurs.aus { cursor: default; color: var(--muted); }
.ew-kurs .grow { flex: 1; }
.ew-nr { width: 34px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ew-vorschau { margin: 0 0 14px; }
.ew-vorschau summary { cursor: pointer; font-weight: 600; font-size: calc(13.5px * var(--fs)); margin-bottom: 6px; }
.ew-tab { max-width: 460px; font-variant-numeric: tabular-nums; }
.ew-tab td, .ew-tab th { padding: 4px 8px; text-align: center; }
.ew-tab th[scope=row] { text-align: left; color: var(--ink); }
.ew-tab tr.ew-leer td, .ew-tab tr.ew-leer th { color: var(--muted); }
.ew-faelle { list-style: none; margin: 0; padding: 0; }
.ew-fall { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ew-fall:last-child { border-bottom: 0; }
.ew-fall .grow { flex: 1; min-width: 240px; }
.ew-kindzeile { white-space: nowrap; }
.ew-scroll { overflow-x: auto; }
@media (pointer: coarse) {
  .ew-inline input[type=number], .ew-inline select, .ew-form select, .ew-form textarea, .el-form select { font-size: 16px; min-height: 44px; }
  .ew-kurs { padding: 10px 4px; }
}
.ew-probeliste { margin: 0 0 10px; }
.ew-probeliste summary { cursor: pointer; font-size: calc(13.5px * var(--fs)); }
.ew-probeliste ul { columns: 3 200px; margin: 6px 0 0; padding-left: 18px; font-size: calc(13.5px * var(--fs)); }
@media (pointer: coarse) { .login-form .check { min-height: 44px; } }

/* ---------- Mein Ganztag · Wunsch-Assistent (D-106) ---------- */
.el-heim { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.el-kind-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.el-ok { margin-top: 2px; font-size: calc(13px * var(--fs)); color: var(--green); }
.el-schritt { margin: 0 0 2px; font-size: calc(13px * var(--fs)); color: var(--muted); }
.el-so { margin: 0 0 10px; padding-left: 20px; line-height: 1.5; }
.el-so li { margin-bottom: 6px; }
.el-tag { margin: 6px 0 12px; font-size: calc(20px * var(--fs)); font-weight: 600; }
fieldset.el-block { min-width: 0; }
.el-block legend { font-weight: 600; padding: 0 4px; margin-left: -4px; }
.el-wahlen, .el-janein { display: grid; gap: 8px; margin: 6px 0 12px; }
.el-janein { grid-template-columns: 1fr 1fr; }
.el-wahl { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; background: var(--paper); line-height: 1.4; }
.el-wahl input { margin-top: 3px; }
.el-wahl.an { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.el-ag { padding: 4px 0 6px; }
.el-ag select { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
.el-ersatz { margin: 2px 0 6px; }
.el-hinweis { background: var(--amber-soft); color: var(--amber); border-radius: 6px; padding: 8px 10px; }
.el-kurse { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.el-kurse summary { cursor: pointer; font-weight: 600; font-size: calc(14px * var(--fs)); padding: 6px 0; }
.el-kurs { padding: 10px 0; border-bottom: 1px solid var(--line); }
.el-kurs:last-child { border-bottom: 0; }
.el-kurs.aus { color: var(--muted); }
.el-kurs .el-text { margin: 6px 0; font-size: calc(14px * var(--fs)); }
.el-marken { margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.el-frage { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.el-frage legend { font-weight: 600; padding: 0; line-height: 1.4; }
.el-uebersicht { margin: 0; padding-left: 18px; line-height: 1.55; }
.el-uebersicht ul { padding-left: 16px; margin: 2px 0 8px; }
.el-angaben { list-style: none; padding-left: 0; }
.el-navi { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 20px; }
.el-form textarea, #wzHinweis { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); font: inherit; }
@media (pointer: coarse) {
  .el-wahl { min-height: 44px; }
  .el-ag select, #wzHinweis { font-size: 16px; min-height: 44px; }
  .el-ersatz { min-height: 44px; }
  .el-kurse summary { min-height: 44px; display: flex; align-items: center; }
}
.ew-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.ew-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.ew-zahl { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ew-zahl strong { font-size: calc(24px * var(--fs)); font-weight: 600; font-variant-numeric: tabular-nums; }
.ew-n { text-align: right; font-variant-numeric: tabular-nums; width: 70px; }
.ew-kurstab td, .ew-kurstab th { padding: 6px 8px; }
.ew-h3 { margin: 16px 0 6px; font-size: calc(14px * var(--fs)); font-weight: 600; }
.ew-klasse { border-bottom: 1px solid var(--line); padding: 6px 0; }
.ew-klasse summary { cursor: pointer; padding: 4px 0; }
.ew-kinder { list-style: none; margin: 6px 0 4px; padding: 0 0 0 4px; }
.ew-kinder li { padding: 4px 0; }
.ew-hinweis { color: var(--ink-2); margin: 2px 0 0; }
@media (pointer: coarse) { .ew-klasse summary { min-height: 44px; display: flex; align-items: center; } }
.login-meldung.warn { border-left-color: var(--amber); background: var(--amber-soft); }

/* ---------- Vergabe (D-107) ---------- */
.vg-hinweis { margin: 0 0 12px; }
.vg-tab td, .vg-tab th { padding: 6px 8px; }
.vg-tab tr.vg-mindest td { background: var(--red-soft); }
.vg-tab tr.vg-abgesagt td { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.vg-tab tr.vg-abgesagt td:last-child { text-decoration: none; }
.vg-plaetze { width: 64px; padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--paper); text-align: right; }
.vg-liste { margin: 0; padding-left: 20px; line-height: 1.6; }
.vg-liste li { padding: 3px 0; }
.vg-warte { list-style: none; padding-left: 0; }
.vg-warte li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.vg-platz { width: 28px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.vg-knoepfe { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.vg-klein { padding: 4px 10px; font-size: calc(13px * var(--fs)); }
.vg-regeln { margin: 6px 0 0; padding-left: 20px; line-height: 1.55; font-size: calc(14px * var(--fs)); }
.vg-kind select { max-width: 260px; padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--paper); }
.vg-kind th[scope=row] { white-space: nowrap; font-weight: 600; color: var(--ink); }
@media (pointer: coarse) {
  .vg-plaetze, .vg-kind select { font-size: 16px; min-height: 44px; }
  .vg-klein { min-height: 44px; }
}
.vg-veroeff { border-color: var(--ink); }
.vg-veroeff.fertig { border-color: var(--green); background: var(--green-soft); }
.chip.el-zusage { color: var(--green); background: var(--green-soft); font-weight: 600; }
.el-alt { list-style: none; margin: 4px 0 0; padding: 0; }
.el-alt li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.vg-fertig { margin-top: 10px; }
.vg-fertig summary { cursor: pointer; font-size: calc(13.5px * var(--fs)); }
.el-angebot { border-color: var(--amber); background: var(--amber-soft); }

/* ---------- Mein Ganztag im Halbjahr (D-110): Reiter, Schnellzugriff, Wochenplan ---------- */
.el-reiter { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 16px; background: var(--paper); border-bottom: 1px solid var(--line); justify-content: center; }
.el-reiter a { padding: 8px 12px; border-radius: 7px; color: var(--ink-2); text-decoration: none; font-size: calc(14px * var(--fs)); }
.el-reiter a.on { background: var(--ink); color: #fff; font-weight: 600; }
.el-schnell { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.el-schnell .btn { flex: 1 1 160px; }
.el-woche { display: grid; gap: 8px; }
.el-wtag { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.el-wtag.krank { background: var(--amber-soft); }
.el-wtag-kopf { font-weight: 600; font-size: calc(14px * var(--fs)); margin-bottom: 4px; }
.el-wliste { list-style: none; margin: 0; padding: 0; font-size: calc(14px * var(--fs)); line-height: 1.5; }
.el-wliste li.el-ausfall { color: var(--red); }
.el-wleer { margin: 0; }
.el-zeit { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.el-wkind { margin: 12px 0 6px; font-size: calc(15px * var(--fs)); }
.el-reihe2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.el-form input[type=date] { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); }
@media (max-width: 520px) { .el-reihe2 { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .el-reiter a { min-height: 44px; display: inline-flex; align-items: center; } .el-form input[type=date] { font-size: 16px; min-height: 44px; } }
.vg-tab td.ew-n, .vg-tab th.ew-n { white-space: nowrap; }   /* Wünsche „12 / 0 / 1“ nicht umbrechen */

/* ---------- Hilfe (D-112) ---------- */
.hilfe-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.hilfe-karte { display: block; color: inherit; text-decoration: none; border-top: 3px solid var(--accent); }
.hilfe-karte:hover { background: var(--hover); }
.hilfe-karte h2 { font-size: calc(17px * var(--fs)); }
.el-anleitung { color: inherit; }

/* --- Zähler am Menüeintrag (D-113) --- */
.nav-zahl { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: calc(12px * var(--fs)); font-weight: 600; line-height: 20px; text-align: center; flex: none; }
.nav-zahl[hidden] { display: none; }
.foot-link .nav-zahl { margin-left: 8px; }
@media (min-width: 901px) {
  .leiste-schmal .nav a > span.nav-zahl:not(.nav-ic) { position: absolute; top: 3px; right: 6px; width: auto; height: 16px; min-width: 16px; padding: 0 4px; line-height: 16px; clip: auto; overflow: visible; font-size: calc(10px * var(--fs)); }
}

/* --- Krankmeldung Personal (D-113) --- */
.pk-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pk-raster > .card { margin: 0; }
.pk-h2 { font-size: calc(17px * var(--fs)); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pk-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pk-meldung { margin-bottom: 14px; }
.pk-meldung.pk-vorbei { opacity: .75; }
.pk-kopf { display: flex; gap: 12px; align-items: flex-start; }
.pk-kopf .pk-h2 { margin-bottom: 2px; }
.pk-notiz { margin-top: 6px; padding: 6px 10px; background: var(--hover); border-radius: 6px; font-size: calc(14px * var(--fs)); }
.pk-offen { margin: 12px 0 0; color: var(--ink-2); }
.pk-kurse { list-style: none; margin: 10px 0 0; padding: 0; }
.pk-kurs { border-top: 1px solid var(--line); padding: 10px 0; }
.pk-kurs:last-child { padding-bottom: 0; }
.pk-kurs-kopf { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pk-kurs-kopf .link-btn { margin-left: auto; padding: 0; }
.pk-termine { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.chip.pk-vertreten { color: var(--green); background: var(--green-soft); }
.pk-wahl { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.pk-wahl-teil { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pk-wahl select { max-width: 260px; }
@media (max-width: 900px) { .pk-raster { grid-template-columns: minmax(0, 1fr); } }
@media (pointer: coarse) { .pk-wahl select, .pk-wahl .btn { min-height: 44px; font-size: 16px; } }

/* --- Nachrichten (D-113) --- */
.ch-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; height: calc(100vh - 150px); min-height: 420px; }
.ch-wrap > .card { margin: 0; min-height: 0; }
.ch-spalte { overflow-y: auto; }
.ch-leer { display: flex; align-items: center; justify-content: center; }
.ch-eintraege { list-style: none; margin: 0; padding: 6px; }
.ch-eintrag { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.ch-eintrag:hover { background: var(--hover); }
.ch-eintrag.on { background: var(--accent-soft); }
.ch-eintrag.neu strong { font-weight: 700; }
.ch-symbol { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--hover); color: var(--ink-2); font-size: calc(13px * var(--fs)); font-weight: 600; }
.ch-symbol.ch-fest { background: var(--accent-soft); color: var(--ink); }
.ch-eintrag-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ch-eintrag-kopf { display: flex; justify-content: space-between; gap: 6px; }
.ch-eintrag-kopf strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-vorschau { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-neu { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ch-fuss { padding: 10px 16px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ch-unterhaltung { display: flex; flex-direction: column; overflow: hidden; }
.ch-kopf { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ch-zurueck { display: none; font-size: 24px; text-decoration: none; }
.ch-verlauf { flex: 1; overflow-y: auto; padding: 12px 16px; background: var(--bg); }
.ch-mehr { text-align: center; }
.ch-tag { text-align: center; margin: 12px 0 8px; }
.ch-tag span { font-size: calc(12px * var(--fs)); color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 2px 10px; }
.ch-n { display: flex; flex-direction: column; align-items: flex-start; margin-top: 10px; max-width: 78%; }
.ch-n.folge { margin-top: 3px; }
.ch-n.eigen { margin-left: auto; align-items: flex-end; }
.ch-n-name { color: var(--ink-2); font-weight: 600; margin: 0 0 2px 4px; }
.ch-blase { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 7px 12px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.ch-n.eigen .ch-blase { background: var(--accent-soft); border-color: var(--accent-line); }
.ch-blase.weg { color: var(--muted); }
.ch-zeit { font-size: calc(11px * var(--fs)); color: var(--muted); margin-left: 8px; white-space: nowrap; float: right; margin-top: 4px; }
.ch-loeschen { font-size: calc(12px * var(--fs)); padding: 2px 4px; opacity: 0; }
.ch-n:hover .ch-loeschen, .ch-loeschen:focus, .ch-loeschen[data-sicher] { opacity: 1; }
.ch-leer-text { text-align: center; margin: 24px 0; }
.ch-eingabe { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }
.ch-eingabe textarea { flex: 1; resize: none; min-height: 40px; max-height: 200px; }
.ch-mitglieder { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 12px; max-height: 360px; overflow-y: auto; }
.ch-mitglieder legend { font-weight: 600; padding: 0 4px; }
@media (max-width: 900px) {
  .ch-wrap { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .ch-nur-breit.ch-leer { display: none; }
  .ch-wrap.ch-offen { height: calc(100dvh - 90px); }
  .ch-offen .ch-nur-breit, .page-head.ch-nur-breit { display: none; }
  .ch-zurueck { display: inline-flex; }
  .ch-n { max-width: 88%; }
}
@media (pointer: coarse) { .ch-loeschen { opacity: 1; min-height: 32px; } .ch-eingabe textarea { font-size: 16px; } .ch-eingabe .btn { min-height: 44px; } .ch-neu select { min-height: 44px; font-size: 16px; } }
.menu-btn { position: relative; }
.menu-punkt { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); border: 2px solid var(--paper); }
.menu-punkt[hidden] { display: none; }

/* --- Reiterleiste zusammengelegter Menüpunkte (D-114) --- */
.seiten-reiter { display: flex; gap: 4px; flex-wrap: wrap; margin: -8px 0 18px; border-bottom: 1px solid var(--line); }
.seiten-reiter a { padding: 8px 14px; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; font-size: calc(15px * var(--fs)); }
.seiten-reiter a:hover { color: var(--ink); background: var(--hover); border-radius: 6px 6px 0 0; }
.seiten-reiter a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
@media (pointer: coarse) { .seiten-reiter a { min-height: 44px; display: inline-flex; align-items: center; } }
@media print { .seiten-reiter { display: none !important; } }

/* ---------- Seitenleiste kompakt wie im HBS-Planer (E204, D-118): Porträt 24 × 42 px, Name und Version in einer Zeile ----------
   Das Ganztag-Logo ist 338 × 224, das Porträt reicht bis Spalte 128 – bei 64 px Bildbreite also 24 px (Messung 19.11.2026, umgerechnet) */
.brand.brand-kompakt { display: flex; align-items: center; gap: 8px; padding: 14px 14px 12px 16px; }
.brand-kompakt .brand-marke { gap: 10px; min-width: 0; flex: 1; }
.brand-kompakt .brand-portraet { width: 24px; height: 42px; }
.brand-kompakt .brand-portraet img { width: 64px; }
.brand-kompakt .brand-text strong { font-size: calc(18px * var(--fs)); }
.brand-version { font-size: calc(11px * var(--fs)); color: var(--muted); white-space: nowrap; align-self: center; }
@media (min-width: 901px) {
  .leiste-schmal .brand.brand-kompakt { padding: 14px 0 10px; justify-content: center; }
  .leiste-schmal .brand-kompakt .brand-marke { flex: none; }
  .leiste-schmal .brand-version { display: none; }
}

/* ---------- Tiefe und Bewegung wie im HBS-Planer (E198, D-118) ----------
   Weiche Schatten in drei Höhen an Karten und schwebenden Flächen (nicht an Listenzeilen – Scrollen am iPad), erhabene Knöpfe, eingelassene Felder,
   Grund eine Spur dunkler, damit die weißen Karten abheben. Bewegung höchstens 200 ms; „Bewegung reduzieren“ des Systems schaltet sie ab. */
:root {
  --hoehe-1: 0 1px 2px rgba(30, 30, 20, .06), 0 4px 14px rgba(30, 30, 20, .06);
  --hoehe-2: 0 2px 5px rgba(30, 30, 20, .07), 0 10px 26px rgba(30, 30, 20, .11);
  --hoehe-3: 0 4px 12px rgba(30, 30, 20, .09), 0 22px 54px rgba(30, 30, 20, .2);
  --kante-hell: inset 0 1px 0 rgba(255, 255, 255, .75);
  --eingelassen: inset 0 1px 2px rgba(30, 30, 20, .07);
  --bewegung: 150ms;
  --bg: #f5f5f1;
}
.card { box-shadow: var(--hoehe-1); }
.sidebar { box-shadow: 1px 0 0 var(--line), 6px 0 20px rgba(30, 30, 20, .035); border-right-color: transparent; }
.suche, .hf-pop { box-shadow: var(--hoehe-2); }
.login-card { box-shadow: var(--hoehe-2); }
.btn { box-shadow: 0 1px 1.5px rgba(30, 30, 20, .07), var(--kante-hell); }
.btn.primary { box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 3px 8px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn:active, .btn.primary:active { transform: translateY(1px); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .14); }
.btn:disabled { box-shadow: none; transform: none; }
.icon-btn:active { transform: translateY(1px); }
.seg { box-shadow: var(--eingelassen); }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea,
.ch-eingabe textarea, .ch-neu select, .pk-wahl select, .an-tagwahl input { box-shadow: var(--eingelassen); }
@media (hover: hover) {
  .btn:hover { box-shadow: 0 2px 6px rgba(30, 30, 20, .1), var(--kante-hell); }
  .btn.primary:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .22), 0 6px 14px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .14); }
}
.btn, .icon-btn, .seg button, .nav a, .foot-link, .seiten-reiter a, .ch-eintrag { transition: background-color var(--bewegung) ease, color var(--bewegung) ease, box-shadow var(--bewegung) ease, transform var(--bewegung) ease; }
@keyframes gp-auf { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes gp-ein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.suche { animation: gp-auf 170ms ease-out; }
.hf-pop { animation: gp-ein 120ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .btn, .icon-btn, .seg button, .nav a, .foot-link, .seiten-reiter a, .ch-eintrag { transition: none; }
  .suche, .hf-pop { animation: none; }
  .btn:active, .btn.primary:active, .icon-btn:active { transform: none; }
}
@media print { .card, .btn { box-shadow: none !important; } }

/* ---------- Unterlagen auf Papier (D-119): Checkliste un-, Vordruck ab- ---------- */
.un-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.un-raster > .card { margin: 0; }
.un-iban input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.un-iban-ergebnis { min-height: 1.4em; margin: 6px 0 8px; }
.un-iban-ergebnis.gut { color: var(--green); font-weight: 600; }
.un-iban-ergebnis.schlecht { color: var(--red); font-weight: 600; }
.un-kopf { display: flex; gap: 12px 18px; align-items: flex-end; flex-wrap: wrap; padding: 16px 20px 10px; border-bottom: 1px solid var(--line); }
.un-suche { flex: 1; min-width: 220px; margin: 0; }
.un-liste { list-style: none; margin: 0; padding: 0; }
.un-kind { padding: 12px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.un-kind:last-child { border-bottom: none; }
.un-wer { flex: 1; min-width: 220px; }
.un-haken-zeile { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.un-haken { display: inline-flex; align-items: center; gap: 6px; font-size: calc(14px * var(--fs)); cursor: pointer; }
.un-haken.an { color: var(--green); }
.un-leer { padding: 16px 20px; }
.chip.un-ok { color: var(--green); background: var(--green-soft); }
@media (max-width: 900px) { .un-raster { grid-template-columns: minmax(0, 1fr); } }
@media (pointer: coarse) { .un-haken { min-height: 44px; } .un-haken input { width: 22px; height: 22px; } .un-suche input { font-size: 16px; } }

.ab-wahl { max-width: 210mm; margin: 0 auto 12px; }
.ab-seite { font-size: 9.5pt; }
.ab-start { display: grid; grid-template-columns: 1fr 34mm; gap: 6mm; align-items: start; margin: 1mm 0 3mm; }
.ab-schritte { margin: 0; padding-left: 5mm; }
.ab-schritte li { margin-bottom: 1.5mm; }
.ab-link { font-weight: 600; white-space: nowrap; }
.ab-qr { text-align: center; }
.ab-qr svg { display: block; width: 30mm; height: 30mm; margin: 0 auto; }
.ab-qr small { font-size: 7.5pt; color: var(--ink-2); }
.ab-warnung { border: 0.8pt solid var(--ink); border-left: 2.5mm solid var(--accent); padding: 2mm 3mm; margin: 0 0 3mm; font-size: 9pt; }
.ab-h2 { font-size: 11pt; font-weight: 600; margin: 4mm 0 2mm; padding-bottom: 1mm; border-bottom: 0.5pt solid var(--line-2); }
.ab-zeile { margin-bottom: 2.2mm; }
.ab-zeile small { display: block; font-size: 7pt; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6mm; }
.ab-kaesten, .ab-iban { display: inline-flex; flex-wrap: nowrap; }
.ab-kaesten i, .ab-iban i { display: inline-block; width: 5.6mm; height: 7mm; border: 0.5pt solid #555; border-left-width: 0; box-sizing: border-box; font-style: normal; text-align: center; line-height: 7mm; font-size: 11pt; }
.ab-kaesten i:first-child, .ab-gruppe i:first-child { border-left-width: 0.5pt; }
.ab-gruppe { display: inline-flex; margin-right: 2mm; }
.ab-vor { color: var(--ink-2); font-weight: 600; background: #f3f3f0; }
.ab-zwei { display: flex; gap: 6mm; align-items: flex-end; }
.ab-text p { margin: 0 0 1.8mm; line-height: 1.4; }
.ab-klein { font-size: 8pt; color: var(--ink-2); margin: 1mm 0 0; }
.ab-unterschrift { margin: 9mm 0 2mm; width: 95mm; }
.ab-unterschrift span { display: block; border-bottom: 0.6pt solid var(--ink); height: 0; }
.ab-unterschrift small { font-size: 7.5pt; color: var(--ink-2); }
.ab-buero { position: absolute; left: 12mm; right: 12mm; bottom: 15mm; border: 0.5pt dashed #777; padding: 2mm 3mm; display: flex; flex-wrap: wrap; gap: 1.5mm 6mm; font-size: 8pt; color: var(--ink-2); }
.ab-buero strong { width: 100%; font-size: 7.5pt; letter-spacing: .06em; text-transform: uppercase; }
@media print { .ab-vor { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Hinweis: Zugangsdaten nicht weitergeben (D-119) */
.el-hinweis-zugang { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 6px; font-size: calc(14px * var(--fs)); margin: 0 0 12px; color: var(--ink); }

/* Ausfüllbeispiel des Anmeldeblatts (Anleitung) */
.ab-kaesten i, .ab-iban i { font-family: "Fira Sans", "Segoe UI", Arial, sans-serif; color: #1f3f8f; font-weight: 500; }
.ab-hand { position: absolute; margin: -9mm 0 0 6mm; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 15pt; color: #1f3f8f; }
.ab-unterschrift { position: relative; }
.ab-stempel { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-size: 82pt; font-weight: 700; letter-spacing: .12em;
  color: rgba(179, 38, 30, .16); border: 6pt solid rgba(179, 38, 30, .16); border-radius: 6mm; padding: 2mm 10mm; pointer-events: none; z-index: 1; }

/* ---------- Kästchen zum Abhaken überall größer (D-123, Lars 20.11.2026: „Überall dort wo Haken gesetzt werden müssen im Planer soll das Kästchen größer sein“)
   Eine Regel für alle Seiten; !important, damit keine ältere Einzelregel (z. B. .hf-schule input 18 px) sie wieder verkleinert. ---------- */
input[type=checkbox] { width: 22px !important; height: 22px !important; min-width: 22px; flex: none; margin: 0; accent-color: var(--ink); cursor: pointer; vertical-align: middle; }
input[type=checkbox]:disabled { cursor: not-allowed; }
@media (pointer: coarse) { input[type=checkbox] { width: 28px !important; height: 28px !important; min-width: 28px; } }
@media print { input[type=checkbox] { width: 14px !important; height: 14px !important; min-width: 14px; } }

/* IBAN ungültig (D-124) */
.un-iban-knopf { color: var(--red); }
.un-iban-hinweis { color: var(--red); font-weight: 600; }

/* Reiterleiste klar als Reiter erkennbar (D-125, Lars 20.11.2026: „Wenn es oben Reiter gibt wie hier müssen diese klarer als solche erkennbar sein“):
   Karteikarten-Reiter mit Rahmen und runden oberen Ecken; nicht gewählt grau, gewählt weiß mit orangem Strich oben und offen zur Seite hin */
.seiten-reiter { gap: 4px; margin: -8px 0 20px; border-bottom: 1px solid var(--line-2); padding: 0 2px; }
.seiten-reiter a { position: relative; padding: 9px 18px 8px; border: 1px solid var(--line-2); border-bottom: none; border-radius: 9px 9px 0 0;
  background: var(--line); color: var(--ink-2); font-weight: 500; margin-bottom: -1px; }
.seiten-reiter a:hover { background: var(--paper); color: var(--ink); border-radius: 9px 9px 0 0; }
.seiten-reiter a.on { background: var(--paper); color: var(--ink); font-weight: 600; border-bottom-color: transparent; box-shadow: inset 0 3px 0 var(--accent);
  border-bottom: 1px solid var(--paper); z-index: 1; }
@media (max-width: 640px) { .seiten-reiter a { padding: 8px 12px 7px; } }

/* Ausfüllbeispiel: Nummern an den Feldern (D-126) und Zeile „So ausfüllen“ auf jedem Vordruck */
.ab-nr { display: inline-flex; align-items: center; justify-content: center; width: 5mm; height: 5mm; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 7.5pt; font-weight: 700; margin-right: 1.5mm; vertical-align: .2mm; letter-spacing: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; position: relative; z-index: 2; }
.ab-unterschrift small .ab-nr, .ab-buero .ab-nr { text-transform: none; }
.ab-so { margin: 0 0 1mm; font-size: 8.5pt; color: var(--ink-2); display: flex; align-items: center; gap: 1.5mm; flex-wrap: wrap; }
.ab-kaesten.ab-mini i { width: 4.4mm; height: 5.4mm; line-height: 5.4mm; font-size: 9pt; color: #1f3f8f; }

/* ---------- Symbole der Bereiche (D-128): farbiger Kreis, weißes Symbol ---------- */
.kat-sym { flex: none; vertical-align: -.2em; margin-right: .35em; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.kat-sym circle { fill: var(--kat-bl); }
.kat-sym g { stroke: #fff; }
.kat-sym-lrs circle { fill: var(--kat-lrs); } .kat-sym-foerder circle { fill: var(--kat-foerder); } .kat-sym-sport circle { fill: var(--kat-sport); }
.kat-sym-kreativ circle { fill: var(--kat-kreativ); } .kat-sym-forschen circle { fill: var(--kat-forschen); } .kat-sym-mitgestalten circle { fill: var(--kat-mitgestalten); }
.kat-sym-bl g { stroke: var(--ink); }
.kp-karte .kat-sym { margin-top: 2px; }
.hf-kat { display: flex; align-items: center; }
.hf-kat .kat-sym { margin-right: 2.5mm; }
.dk-titel .kat-sym { vertical-align: -.15em; }
.el-kurs-kopf { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
