:root {
  --grund: #f3f5f7; --karte: #ffffff; --text: #15202b; --leise: #4f5a65; --linie: #dde2e7;
  --haupt: #0e6b30; --haupt-dunkel: #094d22; --pause: #b4500b; --ok: #1d7a45; --fehler: #b42318; --warn: #8a5a00;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root { --grund: #11161b; --karte: #1b232b; --text: #e8edf2; --leise: #a9b4bf; --linie: #2e3944;
    --haupt: #2f9a52; --haupt-dunkel: #6fcf8f; --pause: #e07a2e; --ok: #4cc27f; --fehler: #ff6b5e; --warn: #f0b84a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--haupt); }
a:hover { color: var(--haupt-dunkel); }
h1 { font-size: 1.5rem; margin: 0 0 .4rem; display: flex; align-items: center; gap: .5rem; }
h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.beta { background: #ffd84d; color: #3a2b00; text-align: center; font-weight: 600; font-size: .85rem; padding: .35rem 1rem; }
.kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .8rem 1rem; background: var(--karte); border-bottom: 1px solid var(--linie); }
.firma { font-weight: 700; }
.menue { display: flex; flex-wrap: wrap; gap: .25rem; }
.menue a { text-decoration: none; padding: .45rem .7rem; border-radius: 10px; color: var(--text); min-height: 44px; display: inline-flex; align-items: center; }
.menue a[aria-current="page"] { background: var(--haupt); color: #fff; }
.inhalt { max-width: 1400px; margin: 0 auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.fuss { max-width: 1400px; margin: 0 auto 2rem; padding: 0 1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--leise); font-size: .9rem; }
.karte { background: var(--karte); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.schmal { max-width: 460px; width: 100%; margin: 0 auto; }
.klein { font-size: .88rem; color: var(--leise); }
.hinweis { margin: 0; padding: .7rem .9rem; border-radius: 10px; background: #e6f4ec; color: #0f4d2b; }
.hinweis-fehler { background: #fde8e6; color: #7a1a12; }
.hinweis-warnung { background: #fff4d6; color: #5c3d00; margin-top: .5rem; }
.formular { display: flex; flex-direction: column; gap: .45rem; }
.formular label:not(.haken) { font-weight: 600; margin-top: .4rem; }
input, select, textarea { font: inherit; padding: .65rem .7rem; border: 1px solid var(--linie); border-radius: 10px; background: var(--karte); color: var(--text); min-height: 44px; width: 100%; }
.haken { display: flex; gap: .6rem; align-items: center; min-height: 44px; }
.haken input, .ort input { width: 22px; height: 22px; min-height: 0; accent-color: var(--haupt); }
.knopf { font: inherit; font-weight: 700; border: none; border-radius: var(--radius); padding: .7rem 1.1rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.knopf-haupt { background: var(--haupt); color: #fff; }
.knopf-haupt:hover { background: var(--haupt-dunkel); color: #fff; }
.knopf-pause { background: var(--pause); color: #fff; }
.knopf-rand { background: transparent; color: var(--text); border: 2px solid var(--text); }
.klein-knopf { min-height: 40px; padding: .3rem .8rem; font-size: .95rem; }
.knopf.gross { width: 100%; min-height: 88px; font-size: 1.35rem; }
.knopf:disabled { opacity: .6; }
.link { background: none; border: none; color: var(--haupt); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; min-height: 44px; }
.inline { display: inline; }
.status .punkt { width: 14px; height: 14px; border-radius: 50%; background: #8a949e; display: inline-block; }
.status-arbeit .punkt { background: var(--ok); }
.status-pause .punkt { background: var(--pause); }
.status p { margin: .2rem 0; }
.stempelformular { display: flex; flex-direction: column; gap: .8rem; }
.knoepfe { display: flex; flex-direction: column; gap: .7rem; }
.orte { border: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.orte legend { font-weight: 600; margin-bottom: .4rem; }
.ort { display: flex; align-items: center; gap: .45rem; border: 1px solid var(--linie); border-radius: 10px; padding: .5rem .8rem; min-height: 44px; }
.ort:has(input:checked) { border-color: var(--haupt); background: color-mix(in srgb, var(--haupt) 10%, transparent); }
.zugang { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; font-weight: 700; font-size: 1.1rem; margin: 0; padding: .6rem .8rem; border-radius: 10px; background: color-mix(in srgb, var(--haupt) 12%, transparent); }
.zugang a { font-weight: 400; white-space: nowrap; }
.buchungsliste { list-style: none; margin: 0 0 .6rem; padding: 0; }
.buchungsliste li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--linie); }
.zeile-zwischen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.auswahl { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.auswahl select { width: auto; flex: 1 1 200px; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .8rem; margin-top: .8rem; }
.kennzahlen div { display: flex; flex-direction: column; }
.kennzahlen strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.minus { color: var(--fehler); }
.plus { color: var(--ok); }
.tabelle-rahmen { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--linie); white-space: nowrap; }
td.klein { white-space: normal; min-width: 160px; }
thead th { font-size: .82rem; color: var(--leise); }
tr.frei { color: var(--leise); background: color-mix(in srgb, var(--linie) 35%, transparent); }
tr.heute { outline: 2px solid var(--haupt); outline-offset: -2px; }
tr.offener-tag { background: color-mix(in srgb, var(--fehler) 12%, transparent); }
.markierung { color: var(--warn); font-weight: 700; }
.warnung-text { color: var(--warn); }
.status-chip { padding: .15rem .5rem; border-radius: 999px; font-size: .85rem; background: var(--linie); }
.status-chip.status-arbeit { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.status-pause { background: color-mix(in srgb, var(--pause) 18%, transparent); }
.gruppe { border: 1px solid var(--linie); border-radius: 10px; padding: .6rem .8rem; margin: .4rem 0; }
.drei { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; }
.passwort { font-family: ui-monospace, monospace; font-size: 1.2rem; letter-spacing: .05em; }
.knopfreihe form { display: flex; gap: .4rem; flex-wrap: wrap; }
.status-chip.status-genehmigt { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.status-beantragt { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.status-chip.status-abgelehnt, .status-chip.status-storniert { text-decoration: line-through; }
.zahl { display: inline-block; min-width: 1.4em; padding: 0 .35em; margin-left: .3em; border-radius: 999px; background: var(--pause); color: #fff; font-size: .8rem; text-align: center; }
.knopfreihe-frei { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.unterschriften { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.unterschriften div { border-top: 1px solid var(--text); padding-top: .3rem; font-size: .85rem; color: var(--leise); }
tfoot th, tfoot td { border-top: 2px solid var(--text); }
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .beta, .kopf, .fuss, .nicht-drucken, .hinweis { display: none !important; }
  .inhalt { max-width: none; padding: 0; }
  .karte { box-shadow: none; padding: 0; }
  th, td { padding: .2rem .3rem; }
  a { color: inherit; text-decoration: none; }
  .tabelle-rahmen { overflow: visible; }
}
.haken-klein { width: 22px; height: 22px; min-height: 0; accent-color: var(--haupt); }
.status-chip.status-ausgezahlt { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.status-in_pruefung { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.wochentage { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.reiter { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.reiter a { white-space: nowrap; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--linie); text-decoration: none; color: inherit; }
.reiter a[aria-current="page"] { background: var(--haupt); border-color: var(--haupt); color: #fff; }
.matrix td { text-align: center; }
.zeitraeume { margin: 0 0 .8rem; padding-left: 1.2rem; }
.zeitraeume .geplant { color: var(--leise); }
.nur-drucken { display: none; }
@media print { .nur-drucken { display: block; } }
.knopf.gefahr { color: var(--fehler); border-color: var(--fehler); }
th.rechts, td.rechts { text-align: right; }
.trenner { border: 0; border-top: 2px solid var(--linie); margin: 1.6rem 10% 1.4rem; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.kachel { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--text); border: 2px solid transparent; }
a.kachel:hover, a.kachel:focus-visible { border-color: var(--haupt); } /* nur echte Links (Ronny 03.11.: Rahmen ohne Funktion weg) */
.kachel strong { font-size: 1.15rem; color: var(--haupt); }
.marke { font-weight: 800; color: var(--haupt); margin-right: .4rem; }
.ohne-rahmen { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: .45rem; }
.kopf a.firma { text-decoration: none; color: var(--text); }
.mailtext { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .92rem; margin: .5rem 0 0; }

/* Rechtevergabe wie im IT-Service-CRM: Bereiche x Stufen */
.rechte-matrix td { text-align: center; }
.rechte-matrix tr.frei { opacity: .5; }
.rechte-matrix tr.gewaehlt { background: color-mix(in srgb, var(--haupt) 10%, transparent); }

/* Hauptmenues (Innendienst, Dozenten, Administration): am PC zum Aufklappen, am Handy untereinander */
.hauptmenue { position: relative; }
.hauptmenue summary { list-style: none; cursor: pointer; padding: .45rem .7rem; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; gap: .3rem; }
.hauptmenue summary::-webkit-details-marker { display: none; }
.hauptmenue summary::after { content: "▾"; font-size: .8em; color: var(--leise); }
.hauptmenue[open] summary::after { content: "▴"; }
.hauptmenue summary.aktiv { background: var(--haupt); color: #fff; }
.hauptmenue summary.aktiv::after { color: #fff; }
.untermenue { display: flex; flex-direction: column; gap: .15rem; padding: .3rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.12); position: absolute; top: calc(100% + .25rem); left: 0; min-width: 14rem; z-index: 20; }
.untermenue a { width: 100%; }
.hauptmenue:last-child .untermenue { left: auto; right: 0; } /* ganz rechts: nach links aufklappen */
@media (max-width: 640px) {
  /* Handy: Hauptmenues bleiben eine Zeile, das offene Untermenue nimmt die volle Breite */
  .menue { position: relative; width: 100%; }
  .hauptmenue { position: static; }
  .untermenue, .hauptmenue:last-child .untermenue { left: 0; right: 0; min-width: 0; }
}

/* Katalog: Filterzeile intern und oeffentlich */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.filter input[type="search"] { flex: 2 1 220px; width: auto; }
.filter select { flex: 1 1 160px; width: auto; }
.filter .haken { width: auto; }
.status-chip.status-oeffentlich, .status-chip.status-bestaetigt { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.status-neu, .status-chip.art-anmeldung { background: color-mix(in srgb, var(--haupt) 18%, transparent); }
.auftritt-symbol { display: inline-block; margin-left: .3rem; min-width: 1.5rem; padding: .1rem .35rem; border-radius: 999px; text-align: center; font-weight: 700; font-size: .85rem; color: #fff; background: #007f73; cursor: help; }
.angaben { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: .8rem 0; }
.angaben dt { font-weight: 600; color: var(--leise); }
.angaben dd { margin: 0; }
/* Katalog oeffentlich (Frontend) */
.frontend .kopf .firma { font-size: 1.1rem; }
.marker { display: inline-block; margin: .2rem 0 .4rem; padding: .2rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.marker-termin { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.marker-anfrage { background: color-mix(in srgb, var(--haupt) 14%, transparent); color: var(--haupt); }
.legende { font-size: .9rem; color: var(--leise); display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; margin: .4rem 0; }
.legende .marker { margin: 0; }
.themen-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.themen-chips a { padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--linie); text-decoration: none; color: inherit; }
.themen-chips a:hover { border-color: var(--haupt); }
.themen-chips a.an { background: var(--haupt); border-color: var(--haupt); color: #fff; }
.themen-chips a.alle { border-style: dashed; }
.themen-block { display: flex; flex-direction: column; gap: .6rem; scroll-margin-top: 1rem; }
.themen-block h2 { margin: .6rem 0 0; }
.kurs-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.kurs-karte { display: flex; flex-direction: column; }
.kurs-karte h3 { margin: 0; font-size: 1.1rem; }
.kurs-karte h3 a { text-decoration: none; }
/* Katalog (öffentlich und Verwaltung) und Kursseiten der Auftritte: Links nicht unterstrichen (Ronny 2026-11-22), beim Zeigen unterstrichen */
:is(.seite-katalog, .seite-katalog_kurs, .seite-katalog_termine, .seite-ersthelfer_kurse, .seite-jugendbildung_kurse, .seite-katalog_verwaltung, .seite-katalog_terminplan, .seite-katalog_anfragen, .seite-katalog_themen, .seite-katalog_bearbeiten) .inhalt a:not(.knopf) { text-decoration: none; }
:is(.seite-katalog, .seite-katalog_kurs, .seite-katalog_termine, .seite-ersthelfer_kurse, .seite-jugendbildung_kurse, .seite-katalog_verwaltung, .seite-katalog_terminplan, .seite-katalog_anfragen, .seite-katalog_themen, .seite-katalog_bearbeiten) .inhalt a:not(.knopf):is(:hover, :focus-visible) { text-decoration: underline; }
.kurs-karte p { margin: .25rem 0; }
.kurs-karte p:last-child { margin-top: auto; padding-top: .5rem; }
.einleitung { font-size: 1.05rem; }
.fliesstext p, .fliesstext ul { margin: 0 0 .7rem; }
.terminliste { list-style: none; margin: 0; padding: 0; }
.terminliste li { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.termin-aktion { display: inline-flex; gap: .6rem; align-items: center; }
.anfrage-formular { max-width: 640px; }
.honigtopf { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.katalog-tabelle th[scope="row"], .katalog-tabelle td { white-space: normal; }
.katalog-tabelle th[scope="row"] { font-weight: 400; } /* Kursname und Durchführung nicht fett (Ronny 03.11.) */
/* Abzeichen und kurze Werte nie umbrechen (sonst zerfaellt der Hintergrund in zwei Blasen) */
.status-chip, .katalog-tabelle td.kurz { white-space: nowrap; }
/* Homepage (Frontend) */
.frontend .inhalt, .frontend .fuss { max-width: 1100px; }
.knopf-zweit { background: transparent; color: var(--haupt); border: 2px solid var(--haupt); }
.knopf-zweit:hover { background: color-mix(in srgb, var(--haupt) 10%, transparent); }
.frontend .menue { align-items: center; }
.held { padding: 1.6rem 0 .4rem; }
.held h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 .6rem; }
.held-vorzeile { margin: 0 0 .2rem; color: var(--haupt); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.held .einleitung { max-width: 46rem; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; }
.kachel-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.kachel p { margin: 0 0 .6rem; }
.kontakt-raster { display: flex; flex-wrap: wrap; gap: .5rem 3rem; }
.kontakt-raster address { font-style: normal; margin: 0 0 1rem; }
.kontakt-raster p { margin: 0 0 1rem; }
#kontakt { scroll-margin-top: 1rem; }
.rechtstext { max-width: 46rem; }
.rechtstext h2 { margin: 1.3rem 0 .4rem; font-size: 1.05rem; }
.rechtstext p, .rechtstext ul { margin: 0 0 .6rem; }
/* Homepage im BmS-Gruen (Ronny 2026-10-28); seit 2026-11-10 ist auch das Intranet gruen (vorher Petrol) */
.frontend { --haupt: #0e6b30; --haupt-dunkel: #094d22; --bms: #0e6b30; --bms-dunkel: #094d22; }
@media (prefers-color-scheme: dark) { .frontend { --haupt: #4cbf6e; --haupt-dunkel: #7fd69a; } }
.frontend .kopf { background: var(--bms); border-bottom: 0; color: #fff; padding: .6rem 1rem; }
.frontend .kopf a.firma { color: #fff; display: inline-flex; align-items: center; gap: .7rem; font-size: 1.15rem; }
.frontend .kopf .logo { width: 60px; height: 60px; background: #fff; padding: 3px; }
.frontend .held { display: flex; align-items: center; gap: 1.5rem 2.5rem; }
.held-text { flex: 1 1 auto; }
.held-logo { flex: 0 0 auto; width: 200px; height: 200px; background: #fff; padding: 6px; }
.frontend .menue a { color: #fff; }
.frontend .menue a:hover { background: rgba(255,255,255,.14); color: #fff; }
.frontend .menue a[aria-current="page"] { background: #fff; color: var(--bms); }
.frontend .held { background: linear-gradient(135deg, var(--bms) 0%, #13863d 100%); color: #fff; border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem; margin-top: .5rem; }
.frontend .held h1 { color: #fff; }
.frontend .held .held-vorzeile { color: #cfeedd; }
.frontend .held .knopf-haupt { background: #fff; color: var(--bms); }
.frontend .held .knopf-haupt:hover { background: #e7f3eb; color: var(--bms-dunkel); }
.frontend .held .knopf-zweit { color: #fff; border-color: #fff; }
.frontend .held .knopf-zweit:hover { background: rgba(255,255,255,.14); color: #fff; }
.frontend .kachel { border-top: 4px solid var(--bms); }
.frontend .fuss { border-top: 1px solid var(--linie); padding-top: 1rem; }
@media (max-width: 700px) { .held-logo { display: none; } }
@media (max-width: 560px) { .frontend .kopf .logo { width: 52px; height: 52px; } .frontend .kopf a.firma { font-size: 1rem; } }
.kachel-bild { display: block; width: calc(100% + 2.4rem); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -1.1rem -1.2rem 1rem; }
.frontend .kachel-raster .kachel { overflow: hidden; }
.zielgruppe { margin: 1.2rem 0 1rem; }
.zielgruppe .abschnitt-titel { margin: 0 0 .3rem; }
.zielgruppe > p { margin: 0 0 .8rem; }
/* Auftritt dozent.info (Ronny 2026-10-31): eigene Farbe Blau, BmS-Logo im Fuss */
.auftritt-dozent { --haupt: #1d645c; --haupt-dunkel: #144a44; --bms: #1d645c; --bms-dunkel: #144a44; } /* dozent.info-Grün wie Magazin, Rollup, Infotisch (Ronny) */
@media (prefers-color-scheme: dark) { .auftritt-dozent { --haupt: #7fcfc2; --haupt-dunkel: #a8e0d7; } }
.auftritt-dozent .held { background: linear-gradient(135deg, #1d645c 0%, #2a8578 100%); }
.auftritt-dozent .held .held-vorzeile { color: #d4efe9; }
.auftritt-dozent .held .knopf-haupt:hover { background: #e3f4f0; }
.auftritt-dozent .kopf a.marke { flex-direction: column; align-items: flex-start; gap: 0; font-weight: 700; }
.auftritt-dozent .kopf a.marke small { font-weight: 400; font-size: .85rem; opacity: .9; }
.held-foto { flex: 0 0 auto; width: 360px; max-width: 40%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) { .held-foto { display: none; } }
.auftritt-dozent section[id] { scroll-margin-top: 1rem; }
/* Ronny 2026-10-31: Abschnitte (im Menue verlinkt) deutlicher trennen */
.auftritt-dozent .inhalt { gap: 2.75rem; }
.auftritt-dozent section.karte[id] { border-top: 4px solid var(--haupt); padding-top: 1.3rem; }
.auftritt-dozent section.karte[id] > h2 { margin-top: 0; font-size: 1.5rem; }
.auftritt-dozent #video > h2, .auftritt-dozent .video-hinweis { text-align: center; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq details:first-child { border-top: 1px solid var(--linie); }
.faq summary { cursor: pointer; font-weight: 600; padding: .75rem 2rem .75rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .55rem; font-size: 1.3rem; color: var(--haupt); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--haupt); }
.faq details p { margin: 0 0 .8rem; max-width: 52rem; }
/* Ronny 2026-10-31: Knopf „nach oben“ auf dozent.info */
@media (prefers-reduced-motion: no-preference) { html:has(.auftritt-dozent) { scroll-behavior: smooth; } }
.nach-oben { position: fixed; right: 1rem; bottom: 1rem; width: 2.8rem; height: 2.8rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--haupt); color: #fff; font-size: 1.4rem; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 20; }
.nach-oben:hover, .nach-oben:focus-visible { background: var(--haupt-dunkel); color: #fff; }
@media (prefers-color-scheme: dark) { .auftritt-dozent .nach-oben { color: #0f2f2b; } }
.auftritt-dozent video.video { display: block; width: 100%; height: auto; max-width: 960px; margin: 0 auto; border-radius: var(--radius); background: #000; }
/* Auftritt ersthelfer.life (Ronny 2026-11-03): Grün wie das Erste-Hilfe-Zeichen, gleicher Aufbau wie dozent.info */
.auftritt-ersthelfer { --haupt: #007f73; --haupt-dunkel: #005c53; --bms: #007f73; --bms-dunkel: #005c53; } /* Türkisgrün (Ronny 03.11.: bisheriges Grün zu blass) */
@media (prefers-color-scheme: dark) { .auftritt-ersthelfer { --haupt: #6fd6c8; --haupt-dunkel: #a3e7de; } .auftritt-ersthelfer .nach-oben { color: #06302b; } }
.auftritt-ersthelfer .held { background: linear-gradient(135deg, #007f73 0%, #00a896 100%); }
.auftritt-ersthelfer .held .held-vorzeile { color: #d2f4ef; }
.auftritt-ersthelfer .held .knopf-haupt:hover { background: #e0f6f3; }
.auftritt-ersthelfer .kopf a.marke { flex-direction: column; align-items: flex-start; gap: 0; font-weight: 700; }
.auftritt-ersthelfer .kopf a.marke small { font-weight: 400; font-size: .85rem; opacity: .9; }
.auftritt-ersthelfer section[id] { scroll-margin-top: 1rem; }
.auftritt-ersthelfer .inhalt { gap: 2.75rem; }
.auftritt-ersthelfer section.karte[id] { border-top: 4px solid var(--haupt); padding-top: 1.3rem; }
.auftritt-ersthelfer section.karte[id] > h2 { margin-top: 0; font-size: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html:has(.auftritt-ersthelfer) { scroll-behavior: smooth; } }
/* Auftritt bms-jugendbildung.eu (Ronny 2026-11-22): Orange aus dem Logo #d03f00 (weiß darauf 4,8:1), gleicher Aufbau wie ersthelfer.life */
.auftritt-jugendbildung { --haupt: #d03f00; --haupt-dunkel: #9e3000; --bms: #d03f00; --bms-dunkel: #9e3000; }
@media (prefers-color-scheme: dark) { .auftritt-jugendbildung { --haupt: #ff9b6b; --haupt-dunkel: #ffc2a3; } .auftritt-jugendbildung .nach-oben { color: #3a1200; } }
.auftritt-jugendbildung .held { background: linear-gradient(135deg, #a83300 0%, #d03f00 100%); }
.auftritt-jugendbildung .held .held-vorzeile { color: #ffe1d2; }
.auftritt-jugendbildung .held .knopf-haupt:hover { background: #fff0e8; }
.auftritt-jugendbildung .kopf a.marke .marke-text { display: flex; flex-direction: column; font-weight: 700; line-height: 1.2; }
.auftritt-jugendbildung .kopf a.marke small { font-weight: 400; font-size: .85rem; opacity: .9; }
.auftritt-jugendbildung section[id] { scroll-margin-top: 1rem; }
.auftritt-jugendbildung .inhalt { gap: 2.75rem; }
.auftritt-jugendbildung section.karte[id] { border-top: 4px solid var(--haupt); padding-top: 1.3rem; }
.auftritt-jugendbildung section.karte[id] > h2 { margin-top: 0; font-size: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html:has(.auftritt-jugendbildung) { scroll-behavior: smooth; } }
/* KI-Bilder nicht beschneiden, damit der Aufdruck „KI-Generiert“ unten rechts sichtbar bleibt */
.auftritt-jugendbildung .seiten-foto { aspect-ratio: 3 / 2; width: 320px; }
@media (max-width: 700px) { .auftritt-jugendbildung .seiten-foto { width: 100%; object-position: center; } }
.spalten-liste { columns: 2 260px; margin: .3rem 0 1rem; padding-left: 1.2rem; }
.spalten-liste li { margin: 0 0 .25rem; break-inside: avoid; }
.seiten-foto { float: right; width: 260px; max-width: 40%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin: 0 0 1rem 1.4rem; }
@media (max-width: 700px) { .seiten-foto { float: none; display: block; width: 100%; max-width: 100%; aspect-ratio: 3 / 2; object-position: center 15%; margin: 0 0 1rem; } }
#warum::after { content: ""; display: block; clear: both; }
.saeulen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .4rem 1.4rem; margin: .4rem 0 1rem; }
.saeulen h3 { margin: .4rem 0 .2rem; color: var(--haupt); font-size: 1.05rem; }
.saeulen p { margin: 0; }
.eckpunkte { margin: .3rem 0 1rem; padding-left: 1.3rem; }
.eckpunkte li { margin: 0 0 .3rem; }
.themen summary { cursor: pointer; font-weight: 600; color: var(--haupt); }
.themen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; margin: .9rem 0; }
.themen-feld { border: 1px solid var(--linie); border-top: 3px solid var(--haupt); border-radius: 10px; padding: .7rem .85rem; }
.themen-feld h4 { margin: 0 0 .45rem; font-size: 1rem; color: var(--haupt); }
.themen-feld ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.themen-feld li { font-size: .85rem; line-height: 1.3; padding: .2rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--haupt) 10%, transparent); }
.passt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: .6rem 0 1rem; }
.passt { border-radius: var(--radius); padding: .8rem 1rem; border-left: 4px solid; }
.passt h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.passt ul { margin: 0; padding-left: 1.2rem; }
.passt li { margin: 0 0 .25rem; }
.passt-ja { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.passt-nein { border-color: var(--leise); background: color-mix(in srgb, var(--leise) 8%, transparent); }
.ein-angebot { display: inline-flex; align-items: center; gap: .5rem; }
.ein-angebot img { width: 36px; height: 36px; background: #fff; padding: 2px; }
.status-chip.status-gemeinsam { background: color-mix(in srgb, var(--haupt) 18%, transparent); }

/* Untergruppen im Hauptmenue (Menue-Anordnung) */
.untermenue .unterkopf { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--leise); padding: .5rem .7rem .1rem; }
.untermenue a.eingerueckt { padding-left: 1.4rem; }

/* Menue-Editor (Modul menue) */
.menue-editor { margin-top: .8rem; }
.menue-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.menue-liste .menue-liste { margin: .3rem 0 .2rem 1.6rem; padding-left: .6rem; border-left: 2px solid var(--linie); }
.menue-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; padding: .35rem .5rem; border: 1px solid var(--linie); border-radius: 10px; background: var(--karte); }
.menue-gruppe > .menue-zeile { background: color-mix(in srgb, var(--haupt) 8%, var(--karte)); font-weight: 700; }
.menue-zeile input[type="text"] { flex: 1 1 12rem; min-width: 0; font: inherit; }
.menue-griff { cursor: grab; font-size: 1.2rem; padding: 0 .2rem; user-select: none; color: var(--leise); }
.menue-info { flex: 1 1 10rem; font-weight: 400; overflow-wrap: anywhere; }
.menue-ausblenden { display: inline-flex; align-items: center; gap: .25rem; font-weight: 400; }
.menue-knoepfe { display: inline-flex; flex-wrap: wrap; gap: .25rem; }
.mini-knopf { min-height: 36px; min-width: 36px; padding: .1rem .45rem; font-size: .95rem; border-width: 1px; }
.menue-aus > .menue-zeile { opacity: .55; border-style: dashed; }
.menue-gezogen > .menue-zeile { opacity: .4; }
.menue-leer { padding: .4rem .6rem; border: 1px dashed var(--linie); border-radius: 10px; }
.menue-zeile[data-zone="davor"] { box-shadow: 0 -3px 0 var(--haupt); }
.menue-zeile[data-zone="dahinter"] { box-shadow: 0 3px 0 var(--haupt); }
.menue-zeile[data-zone="hinein"], .menue-leer[data-zone="hinein"] { outline: 2px solid var(--haupt); outline-offset: 1px; }

/* Auf- und zuklappbare Listen (z. B. Postfaecher und Weiterleitungen): Ueberschrift ist der Schalter */
.aufklappen > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; min-height: 44px; }
.aufklappen > summary::-webkit-details-marker { display: none; }
.aufklappen > summary::before { content: "▸"; color: var(--leise); width: 1em; }
.aufklappen[open] > summary::before { content: "▾"; }
.aufklappen > summary h2, .aufklappen > summary h3 { margin: 0; }
/* Dozentenprofil in Klappbereichen (Ronny 2026-11-09) */
.profil-teil { border-top: 1px solid var(--linie); }
.profil-teil > summary h2 { font-size: 1.1rem; }
.profil-teil[open] { padding-bottom: .6rem; }
.aufklappen > summary > .klein { margin-left: auto; text-align: right; }
.profil-schalter { margin: .2rem 0 .4rem; }
.link-knopf { background: none; border: 0; padding: .2rem 0; font: inherit; color: var(--haupt); cursor: pointer; text-decoration: underline; min-height: 32px; }

/* Beta orange kennzeichnen (Ronny 2026-10-29): Streifen, Kopfzeile, Favicon und Etikett „NEU · nicht live“ nur in der Beta */
.beta-streifen { background: #c2410c; color: #fff; text-align: center; font-weight: 700; font-size: .85rem; letter-spacing: .02em; padding: .4rem 1rem; }
.beta-testen { display: inline; margin: 0 0 0 .4rem; }
.beta-testen button { font: inherit; font-weight: 700; font-size: .8rem; padding: .1rem .6rem; border-radius: 6px; border: 1px solid #fff; background: #fff; color: #9a3412; cursor: pointer; }
.beta-testen span { font-weight: 400; }
.umgebung-beta .kopf { background: #ffe8d1; border-bottom: 4px solid #c2410c; }
.umgebung-beta.frontend .kopf { background: #c2410c; border-bottom: 0; }
.marke-beta { display: inline-block; margin-right: .5rem; padding: .05rem .45rem; border-radius: 6px; background: #c2410c; color: #fff; font-size: .75rem; font-weight: 800; vertical-align: middle; }
.beta-etikett { display: inline-block; margin-left: .4rem; padding: .05rem .45rem; border-radius: 999px; background: #ffe8d1; color: #9a3412; border: 1px solid #c2410c; font-size: .72rem; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.frontend .kopf .beta-etikett, .menue a[aria-current="page"] .beta-etikett, .hauptmenue summary.aktiv .beta-etikett { background: #fff; }
.hinweis.beta-seite { background: #ffe8d1; color: #7c2d12; border-left: 4px solid #c2410c; }
.vorschau-etikett { display: inline-block; margin-left: .4rem; padding: .05rem .45rem; border-radius: 999px; background: #ede9fe; color: #5b21b6; border: 1px solid #7c3aed; font-size: .72rem; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.menue a[aria-current="page"] .vorschau-etikett, .hauptmenue summary.aktiv .vorschau-etikett { background: #fff; }
.hinweis.beta-seite .beta-etikett { margin: 0 .3rem 0 0; }
@media (prefers-color-scheme: dark) {
  .umgebung-beta .kopf { background: #3d1f0a; }
  .umgebung-beta.frontend .kopf { background: #9a3412; }
  .beta-etikett { background: #3d1f0a; color: #fdba74; border-color: #f97316; }
  .frontend .kopf .beta-etikett, .menue a[aria-current="page"] .beta-etikett, .hauptmenue summary.aktiv .beta-etikett { background: #3d1f0a; }
  .hinweis.beta-seite { background: #3d1f0a; color: #fed7aa; }
}
@media print { .beta-streifen { display: none !important; } }

/* E-Mail-Konten: zur Loeschung vorgesehen (Ronny 2026-10-29) rot; Suchfeld ueber den Listen */
tr.zur-loeschung td { color: var(--fehler); }
.status-chip.status-loeschung { background: color-mix(in srgb, var(--fehler) 15%, transparent); color: var(--fehler); }
.tabellen-suche { width: 100%; margin: .6rem 0; }

/* Abrechnung (Ronny 2026-10-30): Gruppenkopf je Klasse, Summenzeile, Gesamtsumme, nicht erkanntes Fach rot */
table.abrechnung tr.gruppe th { background: color-mix(in srgb, var(--haupt) 12%, transparent); color: var(--haupt); border-top: 2px solid var(--haupt); }
table.abrechnung tr.summe th, table.abrechnung tr.summe td { font-weight: 700; color: var(--haupt); }
table.abrechnung tr.gesamt th, table.abrechnung tr.gesamt td { background: var(--haupt); color: #fff; white-space: normal; }
.abrechnung-fehler { color: var(--fehler); font-weight: 700; }
table.hosting tr.ausgegraut th, table.hosting tr.ausgegraut td { opacity: .55; }
table.hosting details ul { margin: .25rem 0 0; padding-left: 1.1rem; }
/* IWK-Monatsuebersicht (Ronny 2026-10-30): gewaehlter Monat hervorgehoben, abgerechnete Monate gruen */
table.iwk-uebersicht tr.gewaehlt th, table.iwk-uebersicht tr.gewaehlt td { background: color-mix(in srgb, var(--haupt) 8%, transparent); }
table.iwk-uebersicht td form { margin: 0; }
.iwk-abgerechnet { color: var(--ok); font-weight: 700; }
.iwk-rechnung { font-weight: 700; margin-left: .3rem; }
input.iwk-rechnung-feld { width: 9rem; min-height: 40px; margin-right: .3rem; }
.iwk-rechnung-aendern { margin-top: .3rem; }
.iwk-rechnung-aendern summary { cursor: pointer; color: var(--haupt); }

/* Abrechnung Jugendweihe (Ronny 2026-10-30) */
.mitte { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jw-fehler { color: var(--fehler); font-weight: 700; }
.jw-warn { color: #b35f00; }
table.jw-tabelle tr.jw-ab td { color: var(--leise); }
table.jw-tabelle tr.jw-bereit td { background: color-mix(in srgb, var(--ok) 14%, transparent); }
table.jw-tabelle input.jw-vsnr { width: 4.6em; text-align: center; padding: .2rem .3rem; min-height: 0; }
table.jw-tabelle input.jw-vsnr.ungueltig { border-color: var(--fehler); color: var(--fehler); }
table.jw-tabelle input.jw-rechnung { width: 8em; padding: .2rem .3rem; min-height: 0; }
table.jw-tabelle tr:not(.jw-ab) input.jw-rechnung { visibility: hidden; }
table.jw-tabelle input[type="checkbox"], .jw-checks input, .jw-option input { width: 20px; height: 20px; min-height: 0; padding: 0; display: inline-block; vertical-align: middle; margin: 0; }
.jw-option { display: inline-flex; align-items: center; gap: .4rem; }
table.jw-tabelle td.mitte { white-space: nowrap; }
tr.jw-vorbei td { color: var(--leise); }
.jw-tag { font-size: 1.05rem; margin: 1rem 0 .3rem; }
.jw-termin { border: 1px solid var(--linie); border-left: 5px solid var(--fehler); border-radius: 10px; padding: .5rem .8rem; margin: .4rem 0; }
.jw-termin.teil { border-left-color: #c48a00; }
.jw-termin.fertig { border-left-color: #1e6b3a; }
.jw-termin p { margin: .2rem 0; }
.jw-checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.jw-chk { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--linie); border-radius: 999px; padding: .25rem .8rem .25rem .5rem; cursor: pointer; }
.jw-chk.an { background: #e5f3ea; border-color: #1e6b3a; color: #1e6b3a; font-weight: 600; }
.jw-alle { color: #1e6b3a; }
table.jw-balken th[scope="row"] { font-weight: 400; }
td.jw-balken-feld, th.jw-balken-feld { width: 50%; min-width: 120px; }
td.jw-balken-feld svg { display: block; width: 100%; height: 16px; }
.jw-saeule-kunden { fill: var(--haupt); }
.jw-saeule-dozenten { fill: #1f7a6d; }
.jw-saeule-workshops { fill: #7a4fa3; }
@media print { table.jw-tabelle input.jw-vsnr, table.jw-tabelle input.jw-rechnung { border: 0; background: none; } }
/* Dozenten: Status */
.status-chip.status-doz-uebernahme { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.status-chip.status-doz-einarbeitung { background: color-mix(in srgb, var(--haupt) 18%, transparent); }
.status-chip.status-doz-keine_uebernahme { background: color-mix(in srgb, var(--fehler) 15%, transparent); color: var(--fehler); }
.status-chip.status-doz-innendienst { background: color-mix(in srgb, var(--haupt) 12%, transparent); }
.status-chip.status-doz-wird_uebernommen { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.status-chip.status-doz-aktiv { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.status-doz-ausgeschieden { text-decoration: line-through; }
/* IWK: Listen Faecher, Klassen, Nicht abrechnen nebeneinander, kompakt (Ronny 2026-10-30) */
.iwk-listen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; align-items: start; }
table.iwk-liste { width: 100%; }
table.iwk-liste th, table.iwk-liste td { padding: .2rem .4rem; }
table.iwk-liste td form { margin: 0; }
.iwk-listen form.auswahl { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .5rem; }
.iwk-listen form.auswahl input[name="begriff"] { flex: 1 1 8rem; width: auto; min-width: 6rem; }
.liste-ohne { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.liste-ohne li { margin: .35rem 0; }
/* Dozentenliste: Knoepfe der Vorsortierung kompakt nebeneinander */
.doz-aktionen { white-space: nowrap; width: 1%; }
.doz-aktionen form { display: inline-flex; gap: .3rem; align-items: center; margin: .15rem .3rem .15rem 0; }
.doz-aktionen select { width: auto; min-height: 40px; padding: .3rem .5rem; font-size: .95rem; }
@media (max-width: 900px) { .doz-aktionen { white-space: normal; } }
/* Dozenten-Uebersicht (Ronny 2026-10-31): Filterleiste, aktive Filter als wegklickbare Etiketten */
.filter input.filter-kurz { flex: 0 1 130px; width: auto; }
.filter-etiketten { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .4rem 0; }
.filter-etikett { padding: .2rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--haupt) 15%, transparent); color: inherit; text-decoration: none; font-size: .9rem; }
.filter-etikett:hover { background: color-mix(in srgb, var(--haupt) 28%, transparent); }

/* Hilfe: Menuebaum je Person (Ronny 2026-11-01) */
.hilfe-ansicht { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.hilfe-ansicht select { max-width: 100%; }
.hilfe-baum { list-style: none; margin: .2rem 0 .2rem .4rem; padding-left: 1rem; border-left: 2px solid var(--linie); }
.karte > .hilfe-baum { margin-left: 0; }
.hilfe-baum li { margin: .25rem 0; }
.hilfe-gruppe > .hilfe-titel { font-weight: 700; }
.hilfe-seite::before { content: "– "; color: var(--leise); }
.ansprech-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)); gap: .8rem; margin-top: .6rem; }
.ansprech-karte { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--linie); border-radius: 10px; padding: .8rem; }
.ansprech-karte p { margin: .1rem 0; overflow-wrap: anywhere; }
.ansprech-foto { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ansprech-initialen { display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--haupt) 14%, transparent); color: var(--haupt); font-weight: 800; font-size: 1.4rem; }
.ansprech-bez { color: var(--leise); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ansprech-name { font-weight: 700; font-size: 1.05rem; }
/* Social Media im Fuss der oeffentlichen Seiten (Ronny 2026-11-02): nur Links, weisse Symbole auf der Hausfarbe, nicht im Intranet */
.fuss .social { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.fuss .social-titel { margin-right: .3rem; }
.fuss .social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bms, #0e6b30); color: #fff; }
.fuss .social-link:hover { background: var(--bms-dunkel, #094d22); color: #fff; }
.fuss .social-link:focus-visible { outline: 3px solid var(--haupt); outline-offset: 2px; }
.fuss .social-link svg { display: block; }

/* Zugriffe Homepage (Modul zugriffe) */
.zg-filter { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.zg-filter label { display: flex; flex-direction: column; gap: .2rem; }
.zg-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; }
.zg-zahl { display: flex; flex-direction: column; gap: .2rem; }
.zg-zahl strong { font-size: 1.5rem; color: var(--haupt); }
table.zg-balken th[scope="row"] { font-weight: 400; white-space: nowrap; }
table.zg-balken .zahl-spalte { text-align: right; white-space: nowrap; }
td.zg-balken-feld, th.zg-balken-feld { width: 50%; min-width: 120px; }
td.zg-balken-feld svg { display: block; width: 100%; height: 16px; }
.zg-saeule { fill: var(--haupt); }
.zg-hinweis { cursor: help; font-size: .9em; }
.zg-saeule.zg-hell { fill: var(--haupt); opacity: .3; }

/* Homepage › Zusammenarbeit mit Struktur (Ronny 2026-11-03): Ablauf-Grafik als HTML statt Bild, Farben wie Ronnys Vorlage */
.ablauf { --a-blau: #00506e; --a-gruen: #0e6b30; --a-grau: #cfd2d4; --a-hell: #e4e6e8; --a-orange: #e8704f; --a-spitze: 1.3em;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 1.6rem; row-gap: .6rem; margin: .4rem auto; max-width: 960px;
  font-size: .95rem; line-height: 1.25; color: #2b2f33; text-align: center; hyphens: manual; }
.ablauf-feld { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: .7rem .5rem; color: #fff; min-height: 3.2rem; }
.ablauf-feld span { opacity: .9; }
.ablauf-traeger { background: var(--a-blau); }
.ablauf-bms { background: var(--a-gruen); }
.ablauf-traeger:not(.klein-feld), .ablauf-bms:not(.klein-feld) { min-height: 10rem; }
.ablauf-mitte { display: flex; flex-direction: column; gap: .5rem; justify-content: center; }
.ablauf-pfeil { background: var(--a-grau); display: flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .3rem calc(var(--a-spitze) + .3rem); }
.ablauf-pfeil.beide { clip-path: polygon(0 50%, var(--a-spitze) 0, calc(100% - var(--a-spitze)) 0, 100% 50%, calc(100% - var(--a-spitze)) 100%, var(--a-spitze) 100%); }
.ablauf-pfeil.rechts { clip-path: polygon(0 0, calc(100% - var(--a-spitze)) 0, 100% 50%, calc(100% - var(--a-spitze)) 100%, 0 100%); margin-left: var(--a-spitze); }
.ablauf-pfeil.links { clip-path: polygon(var(--a-spitze) 0, 100% 0, 100% 100%, var(--a-spitze) 100%, 0 50%); margin-right: var(--a-spitze); }
.ablauf-pfeil.runter { clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%); min-height: 3.6rem; padding: .3rem .3rem 1.4rem; }
.ablauf-pfeil.hell { background: var(--a-hell); }
.ablauf-rechts { grid-column: 3; }
.ablauf-projekt { background: var(--a-orange); color: #2a1a14; align-self: end; min-height: 3.4rem; }
.ablauf-winkel { position: relative; min-height: 7rem; }
.ablauf-winkel::before { content: ""; position: absolute; inset: 0; background: var(--a-grau); }
.ablauf-winkel.nach-rechts::before { clip-path: polygon(18% 0, 48% 0, 48% 45%, calc(100% - var(--a-spitze)) 45%, 100% 72.5%, calc(100% - var(--a-spitze)) 100%, 18% 100%); }
.ablauf-winkel.nach-links::before { clip-path: polygon(52% 0, 82% 0, 82% 100%, var(--a-spitze) 100%, 0 72.5%, var(--a-spitze) 45%, 52% 45%); }
.ablauf-winkel span { position: absolute; bottom: 0; height: 55%; display: flex; align-items: center; justify-content: center; }
.ablauf-winkel.nach-rechts span { left: 18%; right: var(--a-spitze); }
.ablauf-winkel.nach-links span { left: var(--a-spitze); right: 18%; }
@media (max-width: 640px) {
  .ablauf { font-size: .72rem; column-gap: .4rem; --a-spitze: .8em; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); overflow-wrap: anywhere; }
  .ablauf-feld { padding: .5rem .25rem; }
  .ablauf-traeger:not(.klein-feld), .ablauf-bms:not(.klein-feld) { min-height: 8rem; }
  .ablauf-pfeil { padding-left: calc(var(--a-spitze) + .1rem); padding-right: calc(var(--a-spitze) + .1rem); }
  .ablauf-winkel { min-height: 5.5rem; }
  .ablauf-winkel.nach-rechts::before { clip-path: polygon(8% 0, 40% 0, 40% 45%, calc(100% - var(--a-spitze)) 45%, 100% 72.5%, calc(100% - var(--a-spitze)) 100%, 8% 100%); }
  .ablauf-winkel.nach-links::before { clip-path: polygon(60% 0, 92% 0, 92% 100%, var(--a-spitze) 100%, 0 72.5%, var(--a-spitze) 45%, 60% 45%); }
  .ablauf-winkel.nach-rechts span { left: 8%; }
  .ablauf-winkel.nach-links span { right: 8%; }
}

/* Homepage › Kooperationen (Ronny 2026-11-03): Partnerkarten mit Logo (oder Platzhalter in der Beta) */
.partner-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.partner { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--text); border: 2px solid transparent; border-top: 4px solid var(--bms); }
.partner:hover, .partner:focus-visible { border-color: var(--bms); color: var(--text); }
.partner-logo { display: flex; align-items: center; justify-content: center; height: 110px; background: #fff; border-radius: 10px; padding: .6rem; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-logo.platzhalter { background: repeating-linear-gradient(45deg, #eef1f3, #eef1f3 10px, #e2e6e9 10px, #e2e6e9 20px); color: #5b6670; font-weight: 600; border: 2px dashed #b8c0c7; }
.partner-name { font-size: 1.05rem; line-height: 1.3; }
.partner-link { margin-top: auto; color: var(--haupt); font-weight: 600; }
/* ersthelfer.life Engagement: Partner mit Logo rechts (Ronny 03.11.) */
.engagement-liste { list-style: none; padding: 0; margin: 0 0 1rem; }
.engagement-liste li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.engagement-liste li:last-child { border-bottom: 0; }
.engagement-logo { max-height: 80px; width: auto; max-width: 200px; height: auto; background: #fff; border-radius: 6px; padding: 4px; flex-shrink: 0; }
@media (max-width: 600px) { .engagement-liste li { flex-direction: column; align-items: flex-start; } }
/* Muster-Widerrufsformular (Ronny 03.11.): beim Drucken nur das Blatt, Felder als Schreiblinien */
.widerrufsformular textarea, .widerrufsformular input { width: 100%; }
.unterschrift-zeile { margin-top: 2.5rem; border-top: 1px solid currentColor; padding-top: .3rem; font-size: .85rem; }
@media print {
  .frontend .kopf, .frontend .fuss, .nach-oben, .beta-seite { display: none !important; }
  .widerrufsformular input, .widerrufsformular textarea, .widerrufsformular input:focus, .widerrufsformular textarea:focus { border: 0; border-bottom: 1px solid #000; border-radius: 0; background: none; min-height: 2.2rem; resize: none; outline: none; box-shadow: none; }
  .unterschrift-zeile { margin-top: 4rem; }
  .widerrufsformular textarea::placeholder, .widerrufsformular input::placeholder { color: transparent; }
}
/* Ronny 2026-11-03: ausfuehrliche Texte bei „Warum Erste Hilfe?“ zum Aufklappen */
.mehr-lesen { margin-top: .3rem; }
.mehr-lesen summary { cursor: pointer; color: var(--haupt); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; }
.mehr-lesen summary::-webkit-details-marker { display: none; }
.mehr-lesen summary::after { content: "▾"; font-size: .85em; }
.mehr-lesen[open] summary::after { content: "▴"; }
.mehr-lesen summary:hover, .mehr-lesen summary:focus-visible { text-decoration: underline; }
.mehr-lesen p { margin: .2rem 0 0; }
@media print { .mehr-lesen > p { display: block; } }
.personen-tabelle th[scope="row"] { font-weight: 400; } /* Namen nicht fett (Ronny 03.11.) */

/* Dozentenprofil Stufe A1: Themen, Foto-Zuschnitt */
/* Ronny 2026-11-10: passte nicht auf die Seite. fieldset hat sonst min-width: min-content und waechst ueber die Karte hinaus */
fieldset { min-width: 0; }
.themen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 1.2rem; }
.themen-eintrag > .haken:first-child, .themen-raster > .haken { overflow-wrap: anywhere; hyphens: auto; }
.themen-eintrag { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: .4rem; border-bottom: 1px solid var(--linie); }
.themen-eintrag .homepage-haken { min-height: 32px; gap: .3rem; white-space: nowrap; }
.themen-eintrag .homepage-haken input { width: 18px; height: 18px; flex-shrink: 0; }
.themen-eintrag > .haken:first-child { flex: 1 1 auto; min-width: 0; }
.themen-eintrag input { flex-shrink: 0; }
.themen-raster .haken { min-height: 36px; }
.themen-gruppe { margin: .3rem 0; }
.themen-gruppe h4 { margin: .8rem 0 .2rem; font-size: 1rem; }
.themen-alle { margin: .8rem 0; }
.themen-alle > summary { cursor: pointer; list-style-position: outside; }
.themen-alle > summary h3 { display: inline; }
.themen-suche { max-width: 320px; }
.label { display: block; font-weight: 600; margin-top: .4rem; }
.foto-bereich { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-start; }
.foto-bereich > div { flex: 1 1 260px; }
.dozent-foto { width: 120px; height: 180px; object-fit: cover; border-radius: var(--radius); background: var(--grund); }
.kopf-mit-foto { display: flex; align-items: center; gap: .75rem; }
.dozent-foto-klein { width: 48px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.dozent-foto-mini { width: 32px; height: 48px; object-fit: cover; border-radius: 4px; display: block; }
.foto-spalte { width: 40px; padding-right: 0; }
.avatar-platzhalter { display: block; overflow: hidden; flex-shrink: 0; }
.foto-unscharf { outline: 3px solid #e08a00; outline-offset: 1px; }
.dozent-foto-leer { display: flex; align-items: center; justify-content: center; color: var(--leise); border: 1px dashed var(--leise); }
.foto-leinwand { width: 300px; max-width: 100%; aspect-ratio: 2 / 3; height: auto; border-radius: var(--radius); touch-action: none; cursor: grab; display: block; background: #fff; box-shadow: 0 0 0 1px var(--leise); }
.foto-zoom { max-width: 300px; }
.inline-formular { display: flex; flex-direction: row; flex-wrap: wrap; gap: .4rem; align-items: center; }
.inline-formular input:not([type="hidden"]) { flex: 1 1 200px; min-width: 0; }
tr.leise td { color: var(--leise); }
[hidden] { display: none !important; }
/* Lexware (Ronny 2026-11-08): Handbuch und Checklisten */
.lexware-liste { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.lexware-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.status-chip.lexware-neu { background: color-mix(in srgb, var(--haupt) 20%, transparent); }
.status-chip.lexware-geaendert { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.status-chip.lexware-gelesen { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.lexware-artikel .fliesstext h2 { margin: 1.2rem 0 .5rem; font-size: 1.15rem; }
.lexware-artikel .fliesstext h3 { margin: 1rem 0 .4rem; font-size: 1rem; }
.lexware-artikel .fliesstext ol { margin: 0 0 .7rem; }
.lexware-artikel .fliesstext .hinweis { margin: 0 0 .7rem; }
.lexware-tabelle { margin: 0 0 .8rem; }
.lexware-text { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; line-height: 1.45; }
.lexware-fortschritt { width: 100%; height: .6rem; accent-color: var(--ok); }
.lexware-punkte { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: .2rem; counter-reset: lxp; }
.lexware-punkte > li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .2rem; border-bottom: 1px solid var(--linie); }
.lexware-punkte > li > div { flex: 1 1 auto; min-width: 0; }
.lexware-punkte.nur-lesen > li::before { counter-increment: lxp; content: counter(lxp) "."; color: var(--leise); min-width: 1.6rem; }
.lexware-punkte p { margin: 0 0 .2rem; }
.lexware-punkte li.erledigt .lexware-punkt-text { color: var(--leise); text-decoration: line-through; }
.lexware-haken { margin: 0; }
.lexware-kaestchen { font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; color: var(--haupt); cursor: pointer; }
li.erledigt .lexware-kaestchen { color: var(--ok); }
.lexware-punkte details summary { cursor: pointer; }
.lexware-punkte details .auswahl { margin-top: .3rem; }
/* Meine Aufgaben (Ronny 2026-11-08): Farben der Prioritaeten wie im Artefakt */
:root { --aufg-p3: #c4362b; --aufg-p2: #c98a12; --aufg-p1: #2f7a66; --aufg-jub: #7a4fc4; }
@media (prefers-color-scheme: dark) { :root { --aufg-p3: #f0776b; --aufg-p2: #e8b24a; --aufg-p1: #5fc0a3; --aufg-jub: #b59af0; } }
.aufg-modi { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .3rem; border: 1px solid var(--linie); border-radius: 12px; margin: .4rem 0 .8rem; }
.aufg-modi a { text-align: center; padding: .6rem; border-radius: 9px; text-decoration: none; color: var(--leise); font-weight: 600; }
.aufg-modi a[aria-current="page"] { background: var(--haupt); color: #fff; }
.aufg-n { font-size: .8rem; font-weight: 600; padding: 0 .5em; border-radius: 999px; background: color-mix(in srgb, currentColor 18%, transparent); }
.aufg-n.rot { background: var(--aufg-p3); color: #fff; }
.aufg-heute { border: 1px solid var(--linie); border-radius: 12px; padding: .8rem; margin-bottom: .8rem; }
.aufg-streifen { display: block; background: var(--aufg-p3); color: #fff; border-radius: 9px; padding: .55rem .8rem; margin-bottom: .6rem; font-weight: 600; text-decoration: none; }
.aufg-streifen:hover { color: #fff; }
.aufg-suche { display: flex; gap: .4rem; margin: .4rem 0; }
.aufg-suche input { flex: 1; min-width: 0; }
.aufg-kats a, .aufg-ordnen a { display: inline-block; padding: .15rem .6rem; border: 1px dashed var(--linie); border-radius: 8px; text-decoration: none; color: var(--leise); margin: .1rem 0; }
.aufg-kats a[aria-current], .aufg-ordnen a[aria-current] { border-style: solid; border-color: var(--haupt); color: var(--haupt); font-weight: 600; }
.aufg-gruppe { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin: 1rem 0 .4rem; }
.aufg-gruppe i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.aufg-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.aufg { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .6rem; border: 1px solid var(--linie); border-left: 6px solid var(--linie); border-radius: 10px; }
.aufg.p3 { border-left-color: var(--aufg-p3); } .aufg.p2 { border-left-color: var(--aufg-p2); } .aufg.p1 { border-left-color: var(--aufg-p1); }
.aufg.jub { border-left-color: var(--aufg-jub); }
.aufg.ueber { background: color-mix(in srgb, var(--aufg-p3) 10%, transparent); border-color: var(--aufg-p3); }
.aufg-haken { margin: 0; }
.aufg-kreis { width: 32px; height: 32px; min-height: 0; padding: 0; border-radius: 50%; border: 2px solid var(--leise); background: transparent; color: transparent; cursor: pointer; font-weight: 700; }
.aufg-kreis:hover { color: var(--leise); }
.aufg.erledigt .aufg-kreis { background: var(--ok); border-color: var(--ok); color: #fff; }
.aufg-inhalt { flex: 1; min-width: 0; }
.aufg-titel { font-weight: 600; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.aufg.erledigt .aufg-titel { text-decoration: line-through; color: var(--leise); }
.aufg-ueber { display: inline-block; background: var(--aufg-p3); color: #fff; font-size: .72rem; font-weight: 700; padding: 0 .45rem; border-radius: 5px; margin-left: .3rem; }
.aufg-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .25rem; font-size: .8rem; color: var(--leise); }
.aufg-chip { padding: 0 .5rem; border-radius: 6px; background: var(--grund); }
.aufg-chip.rot { color: var(--aufg-p3); font-weight: 600; }
.aufg-chip.heute { font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--aufg-p2) 25%, transparent); }
.aufg-chip.leer { background: transparent; border: 1px dashed var(--linie); }
.aufg-chip.deleg { background: var(--haupt); color: #fff; font-weight: 600; }
.aufg-details { margin-top: .5rem; }
.aufg-notiz { white-space: normal; overflow-wrap: anywhere; }
.aufg-checkliste { list-style: none; padding: 0; margin: .3rem 0; }
.aufg-checkliste li form { display: flex; align-items: center; gap: .5rem; padding: .2rem 0; border-bottom: 1px solid var(--linie); }
.aufg-checkliste .aufg-punkt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.aufg-checkliste li.erledigt .aufg-punkt { text-decoration: line-through; color: var(--leise); }
.aufg-checkliste li.entfaellt .aufg-punkt { font-style: italic; color: var(--leise); }
.aufg-kaestchen { font-size: 1.4rem; line-height: 1; background: none; border: 0; cursor: pointer; min-width: 40px; min-height: 40px; color: inherit; }
.aufg-checkliste li.erledigt .aufg-kaestchen { color: var(--ok); }
.aufg-links { padding-left: 1.2rem; }
.aufg-prio { display: flex; gap: .4rem; flex-wrap: wrap; }
.aufg-prio label { border: 2px solid var(--linie); border-radius: 10px; padding: .35rem .8rem; }
.aufg-prio .aufg-prio-3:has(input:checked) { border-color: var(--aufg-p3); }
.aufg-prio .aufg-prio-2:has(input:checked) { border-color: var(--aufg-p2); }
.aufg-prio .aufg-prio-1:has(input:checked) { border-color: var(--aufg-p1); }
.aufg-frist { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; }
.aufg-frist > div { display: flex; flex-direction: column; gap: .3rem; }
.aufg-leer { text-align: center; padding: 1.5rem 0; }
.reiter a[aria-current="page"] .klein { color: inherit; }
.aufg-neu { white-space: nowrap; }
/* Mein Unterricht (Ronny 2026-11-08): wie das Artefakt „Unterricht“ */
.ur-bald { color: var(--fehler); margin: .4rem 0; }
.ur-gruppe { border: 1px solid var(--linie); border-radius: 10px; margin: .8rem 0; overflow: hidden; }
.ur-gruppe > summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .6rem .9rem; background: var(--haupt); color: #fff; cursor: pointer; }
.ur-gruppe > summary .klein { color: inherit; opacity: .9; }
.ur-gruppe-titel { font-weight: 700; font-size: 1.1rem; }
.ur-gruppe.alle-ok > summary { background: color-mix(in srgb, var(--ok) 15%, var(--karte)); color: var(--ok); }
.ur-doppelt-hinweis { margin: 0; padding: .35rem .9rem; background: color-mix(in srgb, var(--fehler) 12%, transparent); color: var(--fehler); font-weight: 600; font-size: .9rem; }
.ur-zeile { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .8rem; align-items: center; padding: .6rem .9rem; border-top: 1px solid var(--linie); border-left: 5px solid var(--fehler); }
.ur-zeile.fertig { border-left-color: var(--ok); }
.ur-zeile.doppelt { background: color-mix(in srgb, var(--fehler) 7%, transparent); }
.ur-zeile.sonst { grid-template-columns: 4.6rem 1fr; border-left-color: var(--linie); }
.ur-zeile.pm { background: color-mix(in srgb, var(--fehler) 9%, transparent); border-left-color: var(--fehler); }
.ur-zeile.vorort { background: color-mix(in srgb, var(--warn) 12%, transparent); border-left-color: var(--warn); }
.ur-liste { border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; }
.ur-datum { line-height: 1.25; font-variant-numeric: tabular-nums; }
.ur-datum b { display: block; }
.ur-datum span { font-size: .85rem; color: var(--leise); }
.ur-inhalt { min-width: 0; overflow-wrap: anywhere; }
.ur-titel { font-weight: 700; }
.ur-fehlt { color: var(--fehler); font-style: italic; font-weight: 600; }
.ur-haken { margin: 0; }
.ur-knopf { border: 0; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; white-space: nowrap; cursor: pointer; background: color-mix(in srgb, var(--fehler) 14%, transparent); color: var(--fehler); }
.ur-zeile.fertig .ur-knopf { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.ur-einstellungen { border: 1px solid var(--linie); margin: .6rem 0; }
@media (max-width: 560px) { .ur-zeile { grid-template-columns: 4rem 1fr; } .ur-haken { grid-column: 2; } }
.aufg-gruppe i.punkt-haupt { background: var(--haupt); } .aufg-gruppe i.punkt-ok { background: var(--ok); } .aufg-gruppe i.punkt-jub { background: var(--aufg-jub); }
.aufg-gruppe i.punkt-p3 { background: var(--aufg-p3); } .aufg-gruppe i.punkt-p2 { background: var(--aufg-p2); } .aufg-gruppe i.punkt-p1 { background: var(--aufg-p1); }
/* Persoenlicher Desktop (Ronny 2026-11-08): Aussehen wie das bisherige Cockpit (dunkles Gruen) */
.dk { --dk-ink: #f2f7f3; --dk-leise: rgba(242,247,243,.66); --dk-linie: rgba(242,247,243,.14); --dk-karte: rgba(255,255,255,.06);
  --dk-hoch: #e5484d; --dk-mittel: #e8b24a; --dk-niedrig: #7fd69b;
  background: radial-gradient(120% 120% at 85% 10%, #0e6b30 0%, #073d1b 45%, #04260f 100%); color: var(--dk-ink);
  border-radius: var(--radius); padding: 1.6rem 1.6rem 1rem; min-height: calc(100vh - 9rem); }
.dk a { color: inherit; }
.dk-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.4rem; }
.dk-uhr { font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dk-sek { font-size: .4em; color: var(--dk-leise); margin-left: .15em; }
.dk-wtag { font-size: clamp(1.1rem, 1.6vw, 1.7rem); font-weight: 600; margin-top: .5rem; }
.dk-datum { color: var(--dk-leise); }
.dk-kw { display: inline-block; margin-top: .6rem; font-size: .85rem; border: 1px solid var(--dk-linie); border-radius: 999px; padding: .15em .8em; color: var(--dk-leise); }
.dk-links { color: var(--dk-leise); font-size: .9rem; margin: 0; }
.inhalt:has(> .dk) { max-width: none; }
.start-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.start-kopf h1 { margin: 0; }
.dk-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.dk-spalte { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.dk-panel { background: var(--dk-karte); border: 1px solid var(--dk-linie); border-radius: 18px; padding: 1.1rem 1.2rem; }
.dk-panel h2 { margin: 0 0 .8rem; font-size: 1.25rem; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.dk-panel h3 { margin: 1.1rem 0 .5rem; padding-top: .8rem; border-top: 1px solid var(--dk-linie); font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; }
.dk-panel small { font-weight: 400; font-size: .75rem; color: var(--dk-leise); white-space: nowrap; }
.dk-liste { list-style: none; margin: 0; padding: 0; }
.dk-liste li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-top: 1px solid var(--dk-linie); }
.dk-liste li:first-child { border-top: 0; padding-top: 0; }
.dk-balken { flex: none; width: 5px; align-self: stretch; border-radius: 3px; background: var(--dk-niedrig); }
.dk-liste li.p3 .dk-balken, .dk-liste li.offen .dk-balken { background: var(--dk-hoch); }
.dk-liste li.p2 .dk-balken, .dk-liste li.teil .dk-balken { background: var(--dk-mittel); }
.dk-t { font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.dk-t:hover { text-decoration: underline; }
.dk-m { font-size: .82rem; color: var(--dk-leise); margin-top: .2rem; }
.dk-tag { background: rgba(255,255,255,.1); border-radius: 6px; padding: 0 .5em; }
.dk-ueber { color: #ffb4b6; font-weight: 600; }
.dk-leer { color: var(--dk-leise); }
.dk-kpi { display: flex; justify-content: space-between; align-items: baseline; padding: .55rem 0; border-top: 1px solid var(--dk-linie); color: var(--dk-leise); text-decoration: none; font-size: .9rem; }
.dk-kpi:first-of-type { border-top: 0; padding-top: 0; }
.dk-kpi b { font-size: 1.8rem; font-weight: 600; color: var(--dk-ink); font-variant-numeric: tabular-nums; }
.dk-kpi b.heiss { color: var(--dk-mittel); }
.dk-chk { margin-right: .5em; } .dk-chk.ja { color: var(--dk-niedrig); } .dk-chk.nein { color: #ffb4b6; }
.dk-plan { font-size: .7em; color: var(--dk-mittel); margin-left: .5em; text-transform: uppercase; letter-spacing: .05em; }
.dk-mehr, .dk-hinweis { font-size: .82rem; color: var(--dk-leise); margin: .5rem 0 0; }
.dk-hinweis { color: #ffd68a; }
.dk-fuss { text-align: right; font-size: .75rem; color: var(--dk-leise); margin: 1rem 0 0; }
@media (max-width: 1300px) { .dk-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .dk { padding: 1rem; } .dk-raster { grid-template-columns: 1fr; } }
/* Handy-Start (Ronny 2026-11-09): VS27 als App auf dem Handy, drei Kacheln untereinander, grosse Tippflaechen */
.mobil { display: flex; flex-direction: column; gap: 1rem; max-width: 640px; width: 100%; margin: 0 auto; }
.mobil-kopf h1 { margin: 0; }
.mobil-kopf p { margin: 0; }
.mobil-stempeln { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; text-decoration: none; color: var(--text); border-left: 6px solid #8a949e; }
.mobil-stempeln.status-arbeit { border-left-color: var(--ok); }
.mobil-stempeln.status-pause { border-left-color: var(--pause); }
.mobil-stempeln .punkt { width: 12px; height: 12px; border-radius: 50%; background: #8a949e; display: inline-block; margin-right: .4rem; }
.mobil-stempeln.status-arbeit .punkt { background: var(--ok); }
.mobil-stempeln.status-pause .punkt { background: var(--pause); }
.mobil-stempeln strong { font-size: 1.15rem; }
.mobil-stempeln .knopf { min-width: 8rem; }
.mobil-stempeln .hinweis { flex-basis: 100%; }
.mobil h2 { display: flex; align-items: center; gap: .5rem; }
.mobil-neu { display: grid; grid-template-columns: 1fr auto auto; gap: .4rem; margin: 0 0 .8rem; }
.mobil-neu select { width: auto; }
.mobil-neu .knopf { padding: .5rem 1rem; font-size: 1.3rem; }
.mobil .aufg-kreis { width: 40px; height: 40px; }
.mobil .ur-knopf { min-height: 40px; }
.mobil-mehr { margin: .8rem 0 0; text-align: center; }
.mobil-mehr a { display: inline-block; padding: .5rem .8rem; }
@media (max-width: 400px) { .mobil-neu { grid-template-columns: 1fr auto; } .mobil-neu input { grid-column: 1 / -1; } }
/* Handy (Ronny 2026-11-09): Hauptmenue hinter dem Knopf „☰ Menü“, damit der Inhalt oben steht. Ohne JavaScript bleibt es offen. */
.menue-knopf { display: none; font: inherit; font-weight: 700; min-height: 44px; padding: .4rem .9rem; border-radius: 10px; border: 1px solid var(--linie); background: var(--karte); color: var(--text); cursor: pointer; }
@media (max-width: 640px) {
  .kopf.menue-klappbar .menue-knopf { display: inline-flex; align-items: center; }
  .kopf.menue-klappbar .menue { display: none; }
  .kopf.menue-klappbar.offen .menue { display: flex; flex-direction: column; align-items: stretch; }
  .kopf.menue-klappbar.offen .menue > a, .kopf.menue-klappbar.offen .hauptmenue summary { width: 100%; }
  .kopf.menue-klappbar.offen .untermenue { position: static; box-shadow: none; margin: .2rem 0 .4rem 1rem; }
}
/* Stempel-Kachel auf der Startseite (Ronny 2026-11-09): nur Kommen / Gehen */
.start-stempeln .punkt { width: 12px; height: 12px; border-radius: 50%; background: #8a949e; display: inline-block; }
.start-stempeln.status-arbeit .punkt { background: var(--ok); }
.start-stempeln.status-pause .punkt { background: var(--pause); }
.start-stempeln-zeile { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: .3rem; }
.start-stempeln-zeile select { flex: 1 1 8rem; width: auto; }
/* Menue-Editor: Kacheln der Startseite (Ronny 2026-11-09) */
/* Ronny 2026-11-12: je Gruppe eine kompakte Liste untereinander, Innendienst und Dozenten nebeneinander */
.kachel-gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem 2.5rem; align-items: start; }
.kachel-gruppe h3 { margin: .6rem 0 .4rem; }
.kachel-auswahl { display: flex; flex-direction: column; gap: .15rem; }
.kachel-auswahl label { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .95rem; font-weight: normal; cursor: pointer; }
.kachel-auswahl input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: 0 0 auto; }
.kachel-auswahl .knopfreihe-frei { margin-top: .6rem; }
/* Homepage-Seite „Dozenten“ (Ronny 09.11.) – Foto-Regeln nur in .dozent-karte, sonst wird das Foto im Intranet-Profil riesig */
.dozenten-sperre { max-width: 420px; margin: 1.2rem 0; }
.dozenten-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.2rem 0 .4rem; }
.dozenten-filter a { padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--bms); color: var(--bms); text-decoration: none; font-size: .95rem; }
.dozenten-filter a[aria-current="page"], .dozenten-filter a:hover { background: var(--bms); color: #fff; }
.dozenten-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0; }
.dozent-karte { display: flex; flex-direction: column; gap: .3rem; border-top: 4px solid var(--bms); }
.dozent-karte .dozent-foto { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 10px; background: #eef1f3; }
.dozent-karte .dozent-foto-leer { display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; color: #8a949c; }
.dozent-name { font-size: 1.15rem; margin: .4rem 0 0; }
.dozent-land { margin: 0; color: #5b6670; display: flex; align-items: center; gap: .4rem; }
.dozent-land .flagge { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.dozent-themen { list-style: none; padding: 0; margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.dozent-themen li { background: #e8f2ec; color: var(--bms); border-radius: 6px; padding: .15rem .5rem; font-size: .85rem; }
/* Homepage-Karte „Länder unserer Dozenten“ (Ronny 13.11.): eigene SVG, Deutschland = Sitz, Dozenten-Länder hell-grün */
.laender-karte-box { margin: 1.6rem 0; }
.held-link { margin: .5rem 0 0; }
.held-link a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.held-link a:hover, .held-link a:focus-visible { color: #fff; text-decoration-thickness: 2px; }
#uebersichtskarte { scroll-margin-top: 1rem; }
.laender-karte-box h2 { margin: 0 0 .3rem; }
.laender-karte { display: block; width: 100%; height: auto; margin: .8rem 0; background: #eaf2f7; border-radius: 10px; }
.laender-karte .lk-land { fill: #d9dee2; stroke: #fff; stroke-width: .7; stroke-linejoin: round; }
.laender-karte .lk-dozent { fill: #7cc293; }
.laender-karte .lk-sitz { fill: var(--bms); }
.laender-karte .lk-punkt { fill: var(--bms); stroke: #fff; stroke-width: 1.5; }
.laender-karte .lk-punkt-sitz { fill: #fff; stroke: var(--bms); stroke-width: 2.5; }
.laender-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.laender-liste li { display: flex; align-items: center; gap: .4rem; color: #5b6670; }
.laender-liste .flagge { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.laender-liste .lk-legende-sitz::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--bms); }
/* Dozenten-Uebersicht: Merkmale als Symbole neben dem Status (Ronny 09.11.) */
.merkmale { white-space: nowrap; width: 1%; text-align: center; }
.merkmal { display: inline-flex; vertical-align: middle; margin-right: .25rem; }
.merkmal svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.merkmal-an { color: var(--ok); }
.merkmal-aus { color: var(--fehler); }
.name-normal, .name-normal a { font-weight: normal; }
/* Mein Profil (Stufe A2, Ronny 09.11.) */
.profil-liste { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .35rem 1rem; margin: .4rem 0 .8rem; }
.profil-liste dt { color: var(--leise); }
.profil-liste dd { margin: 0; }
@media (max-width: 600px) { .profil-liste { grid-template-columns: 1fr; } .profil-liste dd { margin-bottom: .4rem; } }
.umbruch { white-space: pre-line; }
td.umbruch { white-space: pre-line; min-width: 14rem; }
.vorschlag-auf { margin-top: .6rem; }
.vorschlag-auf summary { cursor: pointer; color: var(--haupt); }
.sicht-tabelle td, .sicht-tabelle th { white-space: normal; vertical-align: top; }
/* Lebenslauf (Stufe 1, Ronny 10.11.): links Zeitraum, rechts Text; neueste oben. Auf dem Handy untereinander. */
.lebenslauf h2 { margin-top: 1.2rem; border-bottom: 1px solid var(--linie); padding-bottom: .2rem; }
.lebenslauf-liste { list-style: none; margin: .4rem 0 .8rem; padding: 0; }
.lebenslauf-eintrag { display: grid; grid-template-columns: 11.5rem 1fr; gap: .2rem 1rem; padding: .35rem 0; }
.lebenslauf-zeit { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lebenslauf-zusatz { margin-left: .6rem; color: var(--leise); }
.lebenslauf-markiert { background: var(--grund); border-radius: 6px; }
.lebenslauf-aktionen { margin-top: .15rem; }
.lebenslauf-aktionen form { display: inline; }
.lebenslauf-aktionen .link-knopf { min-height: 0; }
.lebenslauf-wv { color: var(--fehler); font-weight: 600; }
.lebenslauf-kopf { display: flex; gap: 1.5rem; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.lebenslauf-foto { width: 120px; height: 180px; object-fit: cover; border-radius: var(--radius); background: var(--grund); }
.lebenslauf-neu { margin-top: .6rem; }
.lebenslauf-neu > summary { cursor: pointer; color: var(--haupt); min-height: 32px; }
.lebenslauf-formular { margin-top: .4rem; }
@media (max-width: 600px) { .lebenslauf-eintrag { grid-template-columns: 1fr; } .lebenslauf-zeit { color: var(--leise); } }
/* Nachweise (Lebenslauf Stufe 2) */
.nachweis-vermerk { display: inline-block; margin-left: .4rem; padding: 0 .45rem; border-radius: 6px; background: #e8f2ec; color: var(--bms, #0e6b30); font-size: .8rem; font-weight: 600; }
.nachweis-liste { list-style: none; margin: .4rem 0 .8rem; padding: 0; }
.nachweis-liste > li { padding: .45rem 0; border-bottom: 1px solid var(--linie); }
.nachweis-themen-zeile { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-top: .2rem; }
.nachweis-thema { background: #e8f2ec; color: var(--bms, #0e6b30); border-radius: 6px; padding: .05rem .45rem; font-size: .85rem; }
.nachweis-thema-alt { background: var(--grund); color: var(--leise); text-decoration: line-through; }
.nachweis-intern { color: var(--leise); font-size: .85rem; font-style: italic; }
.nachweis-themen { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0 1rem; margin: .4rem 0; padding: 0; border: 0; }
.nachweis-themen legend { font-weight: 600; padding: 0; margin-bottom: .2rem; }

/* Intranet im Homepage-Gruen (Ronny 2026-11-10): gruene Kopfleiste, Kacheln mit gruenem Farbabsatz oben. Beta bleibt orange. */
body:not(.frontend):not(.umgebung-beta) .kopf { background: #0e6b30; border-bottom: 0; color: #fff; }
body:not(.frontend):not(.umgebung-beta) .kopf a.firma, body:not(.frontend):not(.umgebung-beta) .kopf .marke { color: #fff; }
body:not(.frontend):not(.umgebung-beta) .menue > a, body:not(.frontend):not(.umgebung-beta) .hauptmenue > summary { color: #fff; }
body:not(.frontend):not(.umgebung-beta) .hauptmenue > summary::after { color: #cfeedd; }
body:not(.frontend):not(.umgebung-beta) .menue > a:hover, body:not(.frontend):not(.umgebung-beta) .hauptmenue > summary:hover { background: rgba(255,255,255,.14); color: #fff; }
body:not(.frontend):not(.umgebung-beta) .menue > a[aria-current="page"], body:not(.frontend):not(.umgebung-beta) .hauptmenue > summary.aktiv { background: #fff; color: #0e6b30; }
body:not(.frontend):not(.umgebung-beta) .hauptmenue > summary.aktiv::after { color: #0e6b30; }
body:not(.frontend):not(.umgebung-beta) .menue-knopf { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
body:not(.frontend) .kacheln > .kachel { border: 0; border-top: 5px solid #0e6b30; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: box-shadow .15s, transform .15s; }
body:not(.frontend) .kacheln > a.kachel:hover, body:not(.frontend) .kacheln > a.kachel:focus-visible { box-shadow: 0 6px 16px rgba(0,0,0,.14); transform: translateY(-2px); }
body:not(.frontend) .kacheln > a.kachel:focus-visible { outline: 2px solid var(--haupt); outline-offset: 2px; }
body:not(.frontend) .kacheln > .kachel strong { color: var(--text); }
@media (prefers-reduced-motion: reduce) { body:not(.frontend) .kacheln > a.kachel:hover { transform: none; } }

/* Themen-Vorschlag (Ronny 2026-11-10): neu gruen, weg rot und durchgestrichen */
.diff-liste { margin: .2rem 0 .5rem; padding-left: 1.1rem; }
.diff-neu { color: #146c2e; font-weight: 600; }
.diff-weg { color: #b42318; text-decoration: line-through; }
.themen-diff { min-width: 16rem; }
.themen-vorschlag { margin-top: 1rem; border-top: 1px solid var(--rand, #ddd); padding-top: .6rem; }
@media (prefers-color-scheme: dark) {
  .diff-neu { color: #6fdc8c; }
  .diff-weg { color: #ff8a80; }
}

/* Dozenten-Filter (Ronny 2026-11-10): Themen nebeneinander zum Tippen, Haekchen-Gruppen */
.filter-zeile-3 input.filter-such { flex: 1 1 260px; }
.filter-zeile-2 input[type="search"] { flex: 1 1 100%; }
.filter-gruppe { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .8rem; margin: 0; padding: .3rem .7rem; border: 1px solid var(--rand, #d0d5dd); border-radius: 10px; min-width: 0; }
.filter-gruppe legend { padding: 0 .3rem; font-size: .85rem; color: var(--leise); }
.filter-gruppe .haken { margin: 0; }

/* Auswahllisten als Baum (Ronny 2026-11-10) */
.listen-kopf { margin: .6rem 0; }
.listen-kopf .listen-suche { max-width: 420px; }
.listen-bereich > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.listen-bereich > summary h2 { margin: 0; font-size: 1.1rem; }
.listen-themen { list-style: none; padding: 0; margin: .6rem 0; }
.listen-thema { padding: .35rem 0; border-bottom: 1px solid var(--linie); overflow-wrap: anywhere; }
.listen-thema-details > summary { cursor: pointer; }
.listen-thema-werkzeug { display: grid; gap: .6rem; margin: .6rem 0 .4rem 1rem; padding: .6rem; background: var(--grund); border-radius: 8px; }
.listen-thema-werkzeug label.klein { display: flex; flex: 1 1 260px; gap: .4rem; align-items: center; }
.listen-thema-werkzeug fieldset { border: 0; padding: 0; margin: 0 0 .4rem; }
.listen-bereiche-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 1rem; }
.listen-bereiche-raster .haken { min-height: 34px; overflow-wrap: anywhere; }
.listen-werkzeug p { margin: 0; }
.listen-werkzeug { display: grid; gap: .5rem; margin-top: .8rem; padding-top: .6rem; border-top: 1px dashed var(--linie); }
/* Dozenten-Filter: sekundaere Filter zum Aufklappen (Ronny 2026-11-10) */
.filter-weitere { margin: .2rem 0 .4rem; }
.filter-weitere > summary { cursor: pointer; color: var(--haupt); min-height: 32px; display: list-item; }
.filter-zeile-weitere select { flex: 0 1 240px; }
.filter-treffer { flex: 1 1 100%; margin: -.2rem 0 0; color: var(--leise); }

/* Mein Unterricht fuer den Innendienst (2026-11-11) */
.ur-sicht-wahl { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .4rem 0; }
.ur-sicht-wahl label { font-size: .9rem; margin: 0; }
.ur-sicht-wahl select { width: auto; min-width: 12rem; margin: 0; }
.ur-sicht { border-left: 4px solid var(--haupt); }
.ur-aktionen { white-space: nowrap; }
.ur-aktionen .knopf, .ur-aktionen form { margin: .1rem 0; }
.ur-kalwahl { border: 1px solid var(--linie, #ddd); border-radius: 8px; padding: .5rem .8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .2rem .8rem; }
.ur-kalwahl legend { padding: 0 .3rem; }
.ur-kalwahl label { overflow-wrap: anywhere; }
.kachel-inhalt { display: flex; flex-direction: column; gap: .15rem; }
.kachel-kopfzeile { font-weight: 600; color: var(--leise); }
.kachel-inhalt.warnung .kachel-kopfzeile { color: #fff; background: #c0392b; border-radius: 6px; padding: .3rem .6rem; font-size: 1.05rem; align-self: flex-start; }
/* Auswahlfeld mit Freitext (Ronny 2026-11-11): Pfeil zeigt die ganze Liste, Tippen grenzt ein */
.such-auswahl { position: relative; display: flex; flex: 1 1 260px; min-width: 0; }
.such-auswahl input { flex: 1 1 auto; width: 100%; padding-right: 2.4rem; }
.such-pfeil { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; min-height: 0; padding: 0; border: 0; background: none; color: var(--leise); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.formular .such-auswahl { flex: 0 0 auto; } /* im Formular (Spalte) nicht in die Hoehe ziehen, Mitteilungen 2026-11-12 */
.such-liste { position: absolute; top: calc(100% + 2px); left: 0; right: 0; z-index: 30; max-height: 320px; overflow-y: auto; margin: 0; padding: .25rem 0; list-style: none; background: var(--karte); border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.such-liste li { padding: .45rem .8rem; cursor: pointer; overflow-wrap: anywhere; }
.such-liste li.aktiv, .such-liste li[role="option"]:hover { background: var(--grund); }
.such-liste li[aria-selected="true"] { font-weight: 600; }
.such-liste li.such-leer { cursor: default; color: var(--leise); }
/* Dozenten › Lebenslauf: Auswahlseite (Ronny 2026-11-11) */
.lebenslauf-wahl { display: flex; gap: .5rem; flex-wrap: wrap; margin: .75rem 0; }
.lebenslauf-wahl input[type="search"] { flex: 1 1 18rem; max-width: 32rem; }
.lebenslauf-treffer { list-style: none; padding: 0; }
.lebenslauf-treffer li { padding: .3rem 0; border-bottom: 1px solid var(--rand, #ddd); }
/* Lebenslauf aus dem Altsystem (Ronny 2026-11-11) */
.merkmal-offen { color: var(--warnung, #b45309); }
.merkmal-leise { color: var(--leise, #9aa1ab); }
.lebenslauf-alt { display: inline-block; font-size: .8rem; padding: 0 .4rem; border-radius: 6px; background: var(--grund, #eef2f0); color: var(--leise, #555); }
.lebenslauf-alt-hinweis { display: inline-block; font-size: .8rem; padding: .05rem .45rem; border-radius: 6px; background: #fef3c7; color: #78350f; }
.lebenslauf-altsystem .knopfreihe-frei { display: flex; gap: .5rem; flex-wrap: wrap; }
.lebenslauf-verschieben select { width: auto; min-width: 0; font-size: .85rem; padding: .1rem .3rem; min-height: 0; }

/* Hilfe › Ideenbox (Ronny 2026-11-12) */
.idee-liste { list-style: none; padding: 0; margin: 0; }
.idee-eintrag { border-top: 1px solid var(--linie); padding: .6rem 0; }
.idee-eintrag:first-child { border-top: 0; }
.idee-eintrag p { margin: .2rem 0; }
.idee-emoji { font-size: 1.3rem; vertical-align: middle; }
.idee-emojis { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.idee-emoji-knopf { font-size: 1.5rem; line-height: 1; padding: .35rem .5rem; border-radius: 10px; border: 1px solid var(--linie); background: var(--karte); cursor: pointer; }
.idee-emoji-knopf[aria-pressed="true"] { border-color: var(--haupt); box-shadow: 0 0 0 2px var(--haupt); }
.idee-whatsapp { margin-top: 1.2rem; padding-top: .8rem; border-top: 1px solid var(--linie); }
.status-chip.status-gelesen { background: color-mix(in srgb, var(--ok) 18%, transparent); }
tr.idee-neu td { font-weight: 600; }
.idee-nummer { margin: .6rem 0 0; }
/* Spalte „VS27-Zugang“ (Ronny 2026-11-12) */
.zugang-grau { color: var(--leise); opacity: .6; }
.zugang-schwarz { color: var(--text); }
.zugang-gruen { color: var(--ok); }
.zugang-orange { color: var(--pause); }
.zugang-rot { color: var(--fehler); }

/* Neuigkeiten-Box auf der Startseite (Ronny 2026-11-12) */
.news-box { border-left: 4px solid var(--haupt); }
.news-box h2 { margin: 0; }
.news-eintrag { border-top: 1px solid var(--linie); padding: .7rem 0 .4rem; }
.news-box .news-eintrag:first-of-type { border-top: 0; }
.news-eintrag h3 { margin: 0; font-size: 1.05rem; }
.news-eintrag p { margin: .25rem 0; }
.news-wichtig { background: color-mix(in srgb, var(--warn) 10%, transparent); border-radius: 8px; padding-left: .6rem; padding-right: .6rem; }
.news-chip-wichtig { background: color-mix(in srgb, var(--warn) 28%, transparent); font-weight: 600; }
.news-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .35rem; }
.news-aktionen form { margin: 0; }
.news-gelesen summary { cursor: pointer; }
.news-daten { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .6rem; }
.news-fragen, .news-leser, .news-liste { list-style: none; padding: 0; margin: 0; }
.news-fragen > li { border-top: 1px solid var(--linie); padding: .6rem 0; }
.news-fragen > li:first-child { border-top: 0; }
.news-antwort { margin: .4rem 0 0 1rem; padding-left: .6rem; border-left: 3px solid var(--haupt); }
.news-leser li, .news-liste li { padding: .2rem 0; }
.news-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.news-knoepfe form { margin: 0; }
.status-chip.news-lage-aktuell { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.news-lage-geplant { background: color-mix(in srgb, var(--haupt) 18%, transparent); }
tr.news-alt td { opacity: .65; }

/* Mitteilungen (Ronny 2026-11-12) */
.mt-box { border-left: 4px solid var(--haupt-dunkel); }
.mt-box h2 { margin: 0; }
.mt-box-links { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mt-liste, .mt-verlauf { list-style: none; padding: 0; margin: .4rem 0 0; }
.mt-liste > li { border-top: 1px solid var(--linie); padding: .5rem 0; }
.mt-liste > li:first-child { border-top: 0; }
.mt-ungelesen > a { font-weight: 700; }
.mt-vorschau { margin: .15rem 0 0; }
.mt-nachricht { padding: .55rem .75rem; margin: .5rem 0; border-radius: 10px; background: color-mix(in srgb, var(--linie) 45%, transparent); max-width: 46rem; }
.mt-nachricht p { margin: .15rem 0; }
.mt-eigene { margin-left: auto; background: color-mix(in srgb, var(--haupt) 12%, transparent); }

/* Adressvorschläge beim Tippen (Ronny 2026-11-13, assets/adresse.js) */
.adresse-feld { position: relative; }
.adresse-liste { position: absolute; left: 0; right: 0; top: 100%; z-index: 1100; margin: 2px 0 0; padding: 0; list-style: none; background: var(--karte); color: var(--text);
  border: 1px solid var(--linie); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.15); max-height: 18rem; overflow-y: auto; min-width: 16rem; }
.adresse-liste li { padding: .45rem .7rem; cursor: pointer; }
.adresse-liste li[aria-selected="true"], .adresse-liste li:hover { background: color-mix(in srgb, var(--haupt) 14%, transparent); }
.adresse-liste li.adresse-hinweis { cursor: default; font-size: .75rem; color: var(--leise); border-top: 1px solid var(--linie); }
.adresse-liste li.adresse-hinweis:hover { background: none; }

/* Karte im Intranet (Ronny 2026-11-13, assets/karte.js) */
.karte-filter { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; margin: .5rem 0 .8rem; }
.karte-filter label { display: flex; flex-direction: column; font-size: .85rem; gap: .15rem; }
.karte-gross { height: 70vh; min-height: 22rem; border-radius: 10px; border: 1px solid var(--linie); }
.mini-karte { height: 16rem; border-radius: 10px; border: 1px solid var(--linie); margin: .3rem 0; }
.leaflet-container { font: inherit; }
/* Eigene Ebene fuer die Karte: Leaflet nutzt intern z-index bis 1000, sonst liegt die Karte ueber dem aufgeklappten Menue (Ronny 13.11.) */
.karte-gross, .mini-karte { position: relative; z-index: 0; isolation: isolate; }
.leaflet-popup-content a { font-weight: 600; }

/* Aufträge › Planung (Ronny 2026-11-13) */
.planung-ort { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; margin-bottom: .5rem; }
.planung-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; margin: .5rem 0 1rem; }
.planung-kachel { display: flex; gap: .55rem; align-items: center; padding: .45rem .55rem; border: 1px solid var(--linie); border-radius: 10px;
  background: var(--karte); color: var(--text); text-decoration: none; min-width: 0; }
.planung-kachel:hover, .planung-kachel:focus-visible { border-color: var(--haupt); }
.planung-kachel-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.planung-kachel-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--haupt); font-size: .95rem; }
.planung-km { font-weight: 600; }
.planung-karte { height: 60vh; }
/* Auftraggeber (Kundendatenbank): Karten fuer Kunden, Standorte und Personen */
.ag-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .8rem; margin: .6rem 0; }
.ag-karte { border: 1px solid var(--linie); border-radius: 12px; padding: .7rem .9rem; min-width: 0; overflow-wrap: anywhere; }
.ag-karte h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.ag-karte p { margin: .3rem 0; }
.ag-karte .angaben { margin: .4rem 0; }
.ag-inaktiv { opacity: .65; }
.inline-form { display: inline; }
.status-chip.ag-status-aktiv { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.ag-status-ungeeignet { background: color-mix(in srgb, var(--fehler) 15%, transparent); color: var(--fehler); }
.status-chip.ag-rolle-koordination { background: color-mix(in srgb, var(--haupt) 18%, transparent); }
.status-chip.ag-rolle-supervisor { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.ag-meinten ul { margin: .4rem 0 .7rem; padding-left: 1.2rem; }
.ag-quelle { font-size: .75rem; color: var(--leise); }
.ag-ust { font-weight: 600; white-space: nowrap; }
.ag-ust-ok { color: var(--ok); }
.ag-ust-fehlt { color: var(--fehler); }
.ag-sortiert { white-space: nowrap; }

/* Aufträge › Übersicht aus dem Altsystem (Ronny 2026-11-13) */
.alt-bloecke { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; margin: .8rem 0 1.2rem; }
.alt-block { border: 1px solid var(--linie); border-radius: 10px; padding: .6rem .9rem; }
.alt-block h2 { font-size: 1.05rem; margin: .3rem 0 .4rem; }
.alt-dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: .2rem .8rem; margin: 0 0 .6rem; }
.alt-dl dt { color: var(--leise); }
.alt-dl dd { margin: 0; overflow-wrap: anywhere; }
table.alt-tage tr.alt-storniert td { color: var(--leise); text-decoration: line-through; }
table.alt-tage tr.alt-storniert td:nth-child(6) { text-decoration: none; }
.status-chip.alt-status-1, .status-chip.alt-status-5 { background: color-mix(in srgb, var(--ok) 18%, transparent); }
.status-chip.alt-status-0, .status-chip.alt-status-6 { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.status-chip.alt-status-2, .status-chip.alt-status-3, .status-chip.alt-status-4 { text-decoration: line-through; }
.blaettern { display: flex; gap: 1rem; }
table.alt-auftraege td.nowrap { white-space: nowrap; }
.inhalt:has(table.alt-auftraege) { max-width: none; }

/* Links in Listen und Tabellen ohne Unterstreichung, grün und klickbar (Ronny 2026-11-13); Links im Fließtext bleiben unterstrichen */
body:not(.frontend) .inhalt td a, body:not(.frontend) .inhalt li a { text-decoration: none; }
/* VS27-Kunde an Altsystem-Aufträgen (Ronny 13.11.): deutlich blau, klar abgegrenzt von den Altdaten */
:root { --vs27: #1d4ed8; --vs27-grund: #dbeafe; }
@media (prefers-color-scheme: dark) { :root { --vs27: #93c5fd; --vs27-grund: #1e3a8a; } }
a.vs27-kunde, span.vs27-kunde { display: inline-block; color: var(--vs27); background: var(--vs27-grund); font-weight: 600; padding: .05rem .5rem; border-radius: 6px; }
a.vs27-kunde:hover { color: var(--vs27); text-decoration: underline; }
.vs27-offen { display: inline-block; color: var(--fehler); font-weight: 600; font-size: .9rem; }
th.vs27-kopf { color: var(--vs27); }
.vs27-zuordnen { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: 0; }
.vs27-zuordnen input[type="text"] { width: 6.5rem; min-height: 36px; padding: .2rem .4rem; border-color: var(--vs27); }
.vs27-zuordnen .klein-knopf { min-height: 36px; padding: .2rem .6rem; }
.vs27-zuordnen label { display: inline-flex; align-items: center; gap: .2rem; white-space: nowrap; }
.vs27-block { border: 2px solid var(--vs27); border-radius: 10px; padding: .6rem .9rem; margin: .8rem 0; }
.vs27-block h2 { color: var(--vs27); }
.vs27-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
.ur-klappleiste { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 .8rem; }
