@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/public/schrift/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/public/schrift/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/public/schrift/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ============ Design-Grundlagen ============ */
:root {
  --gruen: #3f6b2a; --gruen-dunkel: #2f521f; --gruen-hell: #eef4ea; --gruen-mittel: #d7e6cd; --ring: rgba(63, 107, 42, .22);
  --hg: #f6f7f4; --flaeche: #ffffff; --flaeche-2: #f2f4ef; --linie: #e4e8df; --linie-stark: #d3d9cc;
  --text: #17201a; --leise: #687167; --leiser: #9aa298;
  --rot: #c23a2b; --rot-hell: #fdeeec; --gelb: #8a5d00; --gelb-hell: #fff5d9; --orange: #c2620f; --blau: #2463a6; --blau-hell: #eaf2fb;
  --r-gross: 22px; --r: 16px; --r-klein: 12px;
  --schatten: 0 1px 2px rgba(20, 30, 20, .04), 0 6px 20px -10px rgba(20, 30, 20, .14);
  --schatten-hoch: 0 2px 4px rgba(20, 30, 20, .05), 0 18px 40px -16px rgba(20, 30, 20, .22);
  --nav-breite: 256px;
  --uebergang: .18s cubic-bezier(.2, .7, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--hg); color: var(--text); font: 16.5px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
body.mit-nav { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
a { color: var(--gruen); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); font-weight: 780; margin: .3em 0 .55em; }
h2 { font-size: 1.25rem; font-weight: 720; margin: 1.2em 0 .6em; }
h3 { font-size: 1.05rem; font-weight: 680; margin: 0 0 .15em; }
.inhalt > h2:first-child { margin-top: .2em; }
.ic { width: 22px; height: 22px; flex: none; }
.ic.klein { width: 15px; height: 15px; opacity: .6; }
.leise { color: var(--leise); font-weight: 450; }
.mitte { text-align: center; }
.umbruch { white-space: pre-line; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* ============ Rahmen: Menü, Kopf, Inhalt ============ */
.inhalt { max-width: 880px; margin: 0 auto; padding: 18px 16px 24px; animation: rein .25s ease-out; }
@keyframes rein { from { transform: translateY(6px); } to { transform: none; } }

.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(246, 247, 244, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, .05); }
.kopf-logo img { height: 32px; display: block; border-radius: 6px; }
.kopf-zurueck { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--flaeche); color: var(--text);
  box-shadow: var(--schatten); transition: transform var(--uebergang); }
.kopf-zurueck:active { transform: scale(.94); }
[dir=rtl] .kopf-zurueck .ic, [dir=rtl] .k-nav .ic { transform: scaleX(-1); }
.kopf-titel { flex: 1; font-weight: 720; font-size: 1.08rem; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avatar { --av: var(--gruen); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, color-mix(in srgb, var(--av) 82%, #fff), var(--av)); color: #fff; font-weight: 700; font-size: .9rem;
  letter-spacing: .02em; box-shadow: 0 0 0 3px #fff, 0 2px 8px -2px color-mix(in srgb, var(--av) 60%, transparent); }
.avatar.gross { width: 52px; height: 52px; font-size: 1.1rem; }
.kopf-menue { position: relative; }
.kopf-menue summary { list-style: none; cursor: pointer; border-radius: 50%; }
.kopf-menue summary::-webkit-details-marker { display: none; }
.menue-box { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: 270px; background: var(--flaeche); border-radius: var(--r);
  box-shadow: var(--schatten-hoch); border: 1px solid var(--linie); padding: 8px; animation: rein .15s ease-out; }
.menue-person { display: flex; gap: 12px; align-items: center; padding: 10px; border-bottom: 1px solid var(--linie); margin-bottom: 6px; }
.menue-person small, .nav-person small { display: block; color: var(--leise); font-size: .82rem; }
.menue-box a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: var(--r-klein); color: var(--text); text-decoration: none; font-weight: 550; }
.menue-box a:hover { background: var(--flaeche-2); }
.menue-box .menue-abmelden { color: var(--rot); }

/* Menü unten (Handy) – schwebende Leiste */
.nav { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 4px; padding: 6px;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 24px; box-shadow: var(--schatten-hoch); }
.nav a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 18px;
  color: var(--leise); text-decoration: none; transition: background var(--uebergang), color var(--uebergang); }
.nav a span { font-size: .7rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nav a.an { color: var(--gruen-dunkel); background: var(--gruen-hell); }
.nav a:active { transform: scale(.96); }
.nav-logo, .nur-breit { display: none !important; }

/* Computer/Tablet quer: Seitenleiste links */
@media (min-width: 1000px) {
  body.mit-nav { padding-bottom: 0; }
  .nav { inset: 0 auto 0 0; width: var(--nav-breite); flex-direction: column; gap: 2px; padding: 22px 14px; border-radius: 0; border: 0;
    border-inline-end: 1px solid var(--linie); background: var(--flaeche); box-shadow: none; }
  [dir=rtl] .nav { inset: 0 0 0 auto; }
  .nav-logo { display: block !important; padding: 4px 10px 22px; }
  .nav-logo img { width: 100%; max-width: 190px; display: block; }
  .nur-breit { display: flex !important; }
  .nav a { flex: none; flex-direction: row; gap: 12px; padding: 11px 14px; border-radius: 14px; font-weight: 600; }
  .nav a span { font-size: .95rem; }
  .nav a:hover { background: var(--flaeche-2); color: var(--text); }
  .nav a.an { background: var(--gruen-hell); color: var(--gruen-dunkel); }
  .nav-extern { margin-top: 10px; border: 1px dashed var(--linie-stark); }
  .nav-extern span { flex: 1; }
  .nav-person { margin-top: auto; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--flaeche-2); }
  .nav-person > div { flex: 1; min-width: 0; }
  .nav-person b { display: block; overflow: hidden; text-overflow: ellipsis; }
  .nav-person a { padding: 8px; flex: none; }
  .rahmen { margin-inline-start: var(--nav-breite); }
  .kopf { padding-inline: 32px; }
  .kopf-logo { display: none; }
  .kopf-menue { display: none; }
  .inhalt { padding: 28px 32px 48px; }
}

/* ============ Karten & Kacheln ============ */
.karte { display: block; position: relative; background: var(--flaeche); border-radius: var(--r-gross); box-shadow: var(--schatten);
  border: 1px solid rgba(0, 0, 0, .035); padding: 18px; margin: 0 0 12px; color: inherit; }
.karte-link { text-decoration: none; transition: transform var(--uebergang), box-shadow var(--uebergang); }
.karte-link:hover { box-shadow: var(--schatten-hoch); transform: translateY(-1px); }
.karte-link:active { transform: scale(.99); }
.karte-link::after { content: ''; position: absolute; inset-inline-end: 18px; top: 50%; width: 8px; height: 8px; margin-top: -5px;
  border-top: 2px solid var(--leiser); border-inline-end: 2px solid var(--leiser); transform: rotate(45deg); }
[dir=rtl] .karte-link::after { transform: rotate(-45deg); }
.karte-link > *:not(.balken) { padding-inline-end: 22px; }
.karte-zeile { display: flex; align-items: center; gap: 14px; }
.karte-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--gruen-hell); color: var(--gruen); border-radius: 14px; flex: none; }
.karte-icon .ic { width: 24px; height: 24px; }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.karte-kopf h2 { margin: 0; }
.inaktiv { opacity: .5; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; margin: 14px 0 22px; }
.kachel { --ton: var(--gruen); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 132px; padding: 16px;
  background: var(--flaeche); border-radius: var(--r-gross); box-shadow: var(--schatten); border: 1px solid rgba(0, 0, 0, .035);
  color: var(--text); text-decoration: none; overflow: hidden; transition: transform var(--uebergang), box-shadow var(--uebergang); }
.kachel::before { content: ''; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ton) 14%, transparent), transparent 70%); }
.kachel:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); }
.kachel:active { transform: scale(.98); }
.kachel .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--ton); background: color-mix(in srgb, var(--ton) 12%, #fff); }
.kachel b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.kachel small { display: block; color: var(--leise); font-size: .8rem; font-weight: 500; margin-top: 2px; }
.kachel.extern { background: linear-gradient(145deg, #2c4b1e, var(--gruen) 70%); color: #fff; border: 0; }
.kachel.extern .ic { color: #fff; background: rgba(255, 255, 255, .16); }
.kachel.extern small { color: rgba(255, 255, 255, .75); }
.kachel.extern::before { background: radial-gradient(circle, rgba(255, 210, 120, .35), transparent 70%); }
.kachel .kachel-pfeil { position: absolute; top: 16px; inset-inline-end: 16px; width: 18px; height: 18px; padding: 0; background: none; opacity: .7; }

.balken { height: 8px; background: var(--flaeche-2); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.balken i { display: block; height: 100%; background: linear-gradient(90deg, #6a9a4b, var(--gruen)); border-radius: 99px; }
[dir=rtl] .balken i { margin-left: auto; }

/* Startseite */
.begruessung { margin: 4px 0 18px; }
.begruessung h1 { margin: 0; }
.begruessung p { margin: 6px 0 0; color: var(--leise); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uebersicht { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 8px; }
.zahl { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--flaeche); box-shadow: var(--schatten);
  text-decoration: none; color: var(--text); border: 1px solid rgba(0, 0, 0, .035); }
.zahl .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--gruen-hell); color: var(--gruen); }
.zahl b { display: block; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; }
.zahl small { color: var(--leise); font-size: .8rem; font-weight: 550; }
.zahl.rot .ic { background: var(--rot-hell); color: var(--rot); }
.zahl.gelb .ic { background: var(--gelb-hell); color: var(--gelb); }
.abschnitt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0 10px; }
.abschnitt h2 { margin: 0; }
.abschnitt a { font-weight: 650; font-size: .92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

/* ============ Knöpfe ============ */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 20px; border: 0; border-radius: var(--r);
  background: linear-gradient(180deg, #4a7a33, var(--gruen)); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  margin: 6px 0 12px; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 6px 16px -8px rgba(47, 82, 31, .7); transition: transform var(--uebergang), filter var(--uebergang); }
.knopf:hover { filter: brightness(1.05); }
.knopf:active { transform: scale(.97); }
.knopf .ic { width: 20px; height: 20px; }
.knopf.gross { width: 100%; min-height: 60px; font-size: 1.08rem; border-radius: 18px; }
.knopf.zweit { background: var(--flaeche); color: var(--gruen-dunkel); box-shadow: var(--schatten); border: 1px solid var(--linie); }
.knopf.zweit:hover { background: var(--gruen-hell); filter: none; }
.knopf.rot { background: var(--rot-hell); color: var(--rot); box-shadow: none; }
.knopf.klein { min-height: 38px; padding: 6px 14px; font-size: .88rem; margin: 0; border-radius: var(--r-klein); }
.knopf.klein .ic { width: 16px; height: 16px; }
.knopf:disabled { background: var(--linie); color: var(--leiser); box-shadow: none; cursor: not-allowed; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.knopf-reihe .knopf { margin: 0; }

/* ============ Markierungen & Hinweise ============ */
.marke { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; vertical-align: middle; letter-spacing: .01em; }
.marke .ic { width: 13px; height: 13px; }
.marke.gruen { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.marke.rot { background: var(--rot-hell); color: var(--rot); }
.marke.gelb { background: var(--gelb-hell); color: var(--gelb); }
.marke.orange { background: #fdeedd; color: var(--orange); }
.meldung { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r); font-weight: 600; }
.meldung.rot { background: var(--rot-hell); color: var(--rot); }
.meldung.gelb { background: var(--gelb-hell); color: var(--gelb); }
.rot-text { color: var(--rot); }
.gross-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gruen-hell); color: var(--gruen); margin-bottom: 8px; }
.gross-icon .ic { width: 38px; height: 38px; }
.leer-zustand { text-align: center; color: var(--leise); padding: 28px 12px; }
.leer-zustand .ic { display: block; margin: 0 auto 8px; width: 40px; height: 40px; color: var(--leiser); }

/* ============ Anmeldung ============ */
body.ohne-nav { min-height: 100vh; background:
  radial-gradient(900px 500px at 10% -10%, rgba(106, 154, 75, .28), transparent 60%),
  radial-gradient(700px 500px at 110% 10%, rgba(217, 115, 26, .14), transparent 60%),
  radial-gradient(800px 600px at 50% 120%, rgba(63, 107, 42, .18), transparent 60%), var(--hg); }
.ohne-nav .inhalt { max-width: 620px; padding-top: max(28px, env(safe-area-inset-top)); }
.login-kopf { text-align: center; margin: 18px 0 24px; }
.login-kopf img { max-width: 220px; width: 62%; border-radius: 12px; box-shadow: var(--schatten); }
.login-kopf h1 { margin: 22px 0 4px; }
.login-kopf p { margin: 0; }
.namen { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.namen-knopf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 118px; padding: 12px;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border-radius: var(--r-gross); box-shadow: var(--schatten); border: 1px solid rgba(255, 255, 255, .7);
  font-weight: 680; color: var(--text); text-decoration: none; text-align: center; transition: transform var(--uebergang), box-shadow var(--uebergang); }
.namen-knopf:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); }
.namen-knopf:active { transform: scale(.97); }
.namen-knopf .avatar { width: 52px; height: 52px; font-size: 1.05rem; }
.pin-form { max-width: 340px; margin: 0 auto; text-align: center; }
.pin-feld { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.pin-punkte { display: flex; justify-content: center; gap: 18px; margin: 14px 0 22px; }
.pin-punkte i { width: 16px; height: 16px; border-radius: 50%; background: var(--linie-stark); transition: transform var(--uebergang), background var(--uebergang); }
.pin-punkte i.voll { background: var(--gruen); transform: scale(1.2); }
.pin-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pin-block button, .pin-block a { min-height: 70px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .88);
  box-shadow: var(--schatten); font: inherit; font-size: 1.6rem; font-weight: 600; color: var(--text); display: grid; place-items: center; text-decoration: none;
  cursor: pointer; transition: transform .1s, background .1s; }
.pin-block button:active, .pin-block a:active { transform: scale(.93); background: var(--gruen-hell); }
.pin-block .ic { width: 26px; height: 26px; }
[dir=rtl] .pin-block .ic { transform: scaleX(-1); }

/* ============ Listen (Lektionen) ============ */
.liste { list-style: none; padding: 0; margin: 0; }
.liste li a { display: flex; align-items: center; gap: 14px; background: var(--flaeche); padding: 14px 16px; border-radius: var(--r); margin-bottom: 8px;
  color: inherit; text-decoration: none; box-shadow: var(--schatten); border: 1px solid rgba(0, 0, 0, .035); min-height: 64px; transition: transform var(--uebergang); }
.liste li a:active { transform: scale(.99); }
.liste-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--flaeche-2); color: var(--leise); flex: none; }
.liste-icon .ic { width: 18px; height: 18px; }
.liste-text { flex: 1; font-weight: 550; }
.liste-haken { color: var(--gruen); }
.liste li a.ok .liste-icon { background: var(--gruen); color: #fff; }

/* ============ Medien ============ */
.video { width: 100%; border-radius: var(--r-gross); background: #0d120e; aspect-ratio: 16 / 9; margin-bottom: 14px; box-shadow: var(--schatten-hoch); }
.foto { width: 100%; border-radius: var(--r-gross); display: block; box-shadow: var(--schatten); }
figure { margin: 0 0 16px; }
figcaption { color: var(--leise); font-size: .88rem; margin-top: 6px; }

/* ============ Quiz ============ */
.frage { border: 1px solid rgba(0, 0, 0, .035); background: var(--flaeche); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: 18px; margin: 0 0 14px; }
.frage legend { font-weight: 650; float: left; width: 100%; margin-bottom: 10px; }
.frage.falsch { box-shadow: 0 0 0 2px var(--rot), var(--schatten); }
.antwort { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--linie); border-radius: var(--r); margin-top: 8px;
  cursor: pointer; clear: both; background: var(--flaeche); transition: border-color var(--uebergang), background var(--uebergang); }
.antwort:hover { border-color: var(--linie-stark); }
.antwort input { width: 24px; height: 24px; accent-color: var(--gruen); flex: none; }
.antwort:has(input:checked) { border-color: var(--gruen); background: var(--gruen-hell); }
.bestaetigen { font-weight: 600; box-shadow: var(--schatten); }

/* ============ Wissen ============ */
.suche { position: relative; margin-bottom: 14px; }
.suche .ic { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--leiser); pointer-events: none; }
.suche input { width: 100%; min-height: 56px; border-radius: 18px; border: 1px solid var(--linie); padding: 0 18px 0 50px; font: inherit; background: var(--flaeche);
  box-shadow: var(--schatten); transition: box-shadow var(--uebergang), border-color var(--uebergang); }
[dir=rtl] .suche input { padding: 0 50px 0 18px; }
.suche input:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 4px var(--ring); }
.bereiche { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.bereich { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--flaeche); border-radius: var(--r-gross); box-shadow: var(--schatten);
  border: 1px solid rgba(0, 0, 0, .035); padding: 16px; min-height: 120px; text-decoration: none; color: var(--text); transition: transform var(--uebergang), box-shadow var(--uebergang); }
.bereich:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); }
.bereich .ic { width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--gruen-hell); color: var(--gruen); }
.bereich b { font-weight: 680; font-size: .98rem; line-height: 1.3; }
.bereich small { position: absolute; top: 16px; inset-inline-end: 16px; color: var(--leise); font-weight: 700; font-size: .82rem; }
.bereich.leer { opacity: .6; }
.bereich.leer .ic { background: var(--flaeche-2); color: var(--leiser); }
.schritte { padding-inline-start: 0; counter-reset: s; list-style: none; margin: 8px 0; }
.schritte li { counter-increment: s; position: relative; padding: 10px 0; padding-inline-start: 50px; min-height: 46px; border-bottom: 1px dashed var(--linie); }
.schritte li:last-child { border-bottom: 0; }
.schritte li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 8px; width: 34px; height: 34px; border-radius: 11px;
  background: var(--gruen); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: .95rem; }

/* ============ Formulare ============ */
.formular label { display: block; font-weight: 620; font-size: .95rem; margin-bottom: 16px; }
.formular input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .formular select, .formular textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 52px; padding: 12px 14px; font: inherit; font-weight: 450; color: var(--text);
  border: 1px solid var(--linie-stark); border-radius: var(--r-klein); background: var(--flaeche); transition: border-color var(--uebergang), box-shadow var(--uebergang); }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 4px var(--ring); }
.formular textarea { min-height: 160px; resize: vertical; }
.formular input[type=file] { padding: 14px; background: var(--flaeche-2); border-style: dashed; }
.formular .haken { display: flex; gap: 10px; align-items: center; font-weight: 550; }
.formular .haken input { width: 22px; height: 22px; accent-color: var(--gruen); }
.anhang-zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.anhang-zeile:last-child { border-bottom: 0; }
form.inline { display: inline; margin: 0; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tabelle th { text-align: start; color: var(--leise); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px 6px; border-bottom: 1px solid var(--linie); }
.tabelle td { padding: 12px 6px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle .avatar { width: 30px; height: 30px; font-size: .72rem; box-shadow: none; margin-inline-end: 8px; vertical-align: middle; }
.zeile-offen td:first-child { font-weight: 650; }
.reiter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; padding: 4px; background: var(--flaeche-2); border-radius: 14px; width: fit-content; max-width: 100%; }
.reiter a { padding: 7px 14px; border-radius: 10px; text-decoration: none; font-weight: 650; color: var(--leise); }
.reiter a.an { background: var(--flaeche); color: var(--text); box-shadow: var(--schatten); }

/* ============ Aufgaben ============ */
.aufgabe { display: flex; gap: 14px; align-items: flex-start; background: var(--flaeche); border-radius: var(--r-gross); box-shadow: var(--schatten);
  border: 1px solid rgba(0, 0, 0, .035); padding: 14px; margin: 0 0 10px; transition: opacity var(--uebergang); }
.aufgabe.ueberfaellig { background: linear-gradient(90deg, var(--rot-hell), var(--flaeche) 70%); border-color: rgba(194, 58, 43, .2); }
.aufgabe.ueberfaellig b { color: var(--rot); }
.aufgabe.erledigt { opacity: .62; box-shadow: none; background: var(--flaeche-2); }
.aufgabe.erledigt b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.aufgabe-form { margin: 0; }
.aufgabe-haken, .k-haken { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; border: 2px solid var(--linie-stark); background: var(--flaeche);
  color: #fff; cursor: pointer; flex: none; transition: transform .12s, background var(--uebergang), border-color var(--uebergang); }
.aufgabe-haken:hover, .k-haken:hover { border-color: var(--gruen); background: var(--gruen-hell); }
.aufgabe-haken:active, .k-haken:active { transform: scale(.9); }
.aufgabe-haken .ic, .k-haken .ic { width: 26px; height: 26px; stroke-width: 3; }
.aufgabe.offen .aufgabe-haken { border-color: var(--gruen); }
.aufgabe.ueberfaellig .aufgabe-haken { border-color: var(--rot); }
.aufgabe.erledigt .aufgabe-haken, .k-aufgabe.erledigt .k-haken { background: var(--gruen); border-color: var(--gruen); }
.aufgabe-text { flex: 1; min-width: 0; padding-top: 3px; }
.aufgabe-text b { font-size: 1.05rem; font-weight: 650; }
.aufgabe-info { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; font-size: .88rem; }
.aufgabe-info .ic { width: 15px; height: 15px; vertical-align: -2px; }
.aufgabe-info a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.frist { display: inline-flex; align-items: center; gap: 4px; color: var(--leise); font-weight: 550; }
.tage-wahl { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tage-wahl legend { font-weight: 620; font-size: .95rem; margin-bottom: 8px; width: 100%; }
.formular label.tag { margin: 0; }
.tag input { position: absolute; opacity: 0; }
.tag span { display: grid; place-items: center; min-width: 50px; height: 48px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--linie-stark); background: var(--flaeche);
  font-weight: 650; cursor: pointer; transition: all var(--uebergang); }
.tag input:checked + span { background: var(--gruen); border-color: var(--gruen); color: #fff; box-shadow: 0 6px 14px -8px rgba(47, 82, 31, .8); }
.tag input:focus-visible + span { outline: 3px solid var(--ring); }

/* ============ Kalender ============ */
.k-nav { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 6px; background: var(--flaeche); border-radius: 20px; box-shadow: var(--schatten); }
.k-nav .knopf { margin: 0; width: 48px; min-height: 48px; padding: 0; box-shadow: none; border: 0; background: var(--flaeche-2); color: var(--text); }
.k-woche { flex: 1; text-align: center; display: flex; flex-direction: column; line-height: 1.3; }
.k-woche b { font-size: 1.05rem; }
.k-woche span { font-size: .85rem; }
.k-filter { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.k-filter select { flex: 1; min-height: 50px; padding: 0 12px; font: inherit; font-weight: 600; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); box-shadow: var(--schatten); }
.k-filter .knopf { margin: 0; }
.k-tag { background: var(--flaeche); border-radius: var(--r-gross); box-shadow: var(--schatten); border: 1px solid rgba(0, 0, 0, .035); padding: 16px; margin: 0 0 12px; scroll-margin-top: 84px; }
.k-tag h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; text-transform: capitalize; }
.k-tag.heute { box-shadow: 0 0 0 2px var(--gruen), var(--schatten-hoch); }
.k-tag.vergangen { opacity: .72; }
.k-tag > p { margin: 0; }
.k-eintrag { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); }
.k-tag h3 + .k-eintrag, .k-schichten + .k-eintrag, .k-termin + .k-eintrag, .k-eintrag + .k-termin { border-top: 0; }
.k-zeit { width: 46px; flex: none; font-weight: 700; font-size: .9rem; padding-top: 4px; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.k-zeit small { color: var(--leise); font-weight: 500; }
.k-text { flex: 1; min-width: 0; padding-top: 3px; }
.k-text > div { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.k-text .ic { width: 15px; height: 15px; }
.k-termin { background: var(--blau-hell); border-radius: 14px; padding: 10px 12px; margin: 4px 0; }
.k-termin .k-text b { color: var(--blau); }
.k-haken { width: 44px; height: 44px; border-radius: 13px; }
.k-haken .ic { width: 22px; height: 22px; }
.k-haken.still { cursor: default; }
.k-haken.still:hover { background: var(--flaeche); border-color: var(--linie-stark); }
.k-aufgabe.erledigt .k-haken.still { background: var(--gruen); border-color: var(--gruen); }
.k-aufgabe.erledigt b { text-decoration: line-through; color: var(--leise); }
.k-aufgabe.ueberfaellig .k-haken { border-color: var(--rot); }
.k-aufgabe.ueberfaellig b { color: var(--rot); }
.k-aufgabe.verpasst b { color: var(--leise); }
.k-bearbeiten { position: absolute; top: 10px; inset-inline-end: 10px; color: var(--leise); padding: 4px; border-radius: 8px; display: grid; }
.k-bearbeiten:hover { background: rgba(255, 255, 255, .7); }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.personen-wahl { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.tag.breit span { width: auto; padding: 0 16px; }
.formular .haken.voll { width: 100%; }

/* ============ Schichtplan ============ */
.schicht { --farbe: var(--gruen); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 99px; font-weight: 650; font-size: .88rem;
  color: color-mix(in srgb, var(--farbe) 85%, #000); background: color-mix(in srgb, var(--farbe) 11%, #fff); }
.schicht::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--farbe); box-shadow: 0 0 0 3px color-mix(in srgb, var(--farbe) 22%, transparent); }
.schicht b { color: var(--text); font-weight: 700; }
.k-schichten { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.heute-schicht { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--leise); margin: 0; }
.plan-tage { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.plan-tage .k-tag { margin: 0; }
.plan-zeile { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-weight: 600; }
.plan-zeile span { flex: 1; }
.plan-wahl { flex: 1.4; min-height: 46px; padding: 0 10px; font: inherit; font-weight: 600; border: 1px solid var(--linie-stark); border-inline-start: 6px solid var(--farbe);
  border-radius: var(--r-klein); background: var(--flaeche); }
.plan-speichern { position: sticky; bottom: calc(96px + env(safe-area-inset-bottom)); margin-top: 14px; z-index: 5; }
@media (min-width: 1000px) { .plan-speichern { bottom: 16px; } }
.taetigkeit .schicht { margin-bottom: 12px; }

/* ============ QR-Codes ============ */
.qr-zeile { display: flex; gap: 16px; align-items: center; }
.qr-klein { width: 88px; flex: none; padding: 6px; background: #fff; border-radius: 12px; border: 1px solid var(--linie); }
.qr-klein svg, .qr-gross svg { display: block; width: 100%; height: auto; }
.qr-text { flex: 1; min-width: 0; }
.qr-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.anl-gruppe { width: 100%; margin-bottom: 10px; }
.anl-gruppe .haken { font-weight: 500; margin: 6px 0; }
body.druck { background: #fff; }
.druck-leiste { display: flex; gap: 14px; align-items: center; padding: 16px; }
.qr-karten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8mm; padding: 8mm; }
.qr-karte { border: 1.5px dashed #c4c9bf; border-radius: 6mm; padding: 7mm 6mm; text-align: center; break-inside: avoid; page-break-inside: avoid; }
.qr-logo { height: 12mm; margin-bottom: 4mm; }
.qr-gross { width: 60mm; margin: 0 auto; }
.qr-name { font-size: 16pt; font-weight: 800; margin-top: 4mm; letter-spacing: -.01em; }
.qr-hinweis { font-size: 9pt; color: #555; margin-top: 2mm; }
@media print {
  .nicht-drucken, .kopf, .nav { display: none !important; }
  .qr-karten { padding: 0; }
  @page { size: A4; margin: 12mm; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Handy: Kennzahlen kompakt in drei Spalten */
@media (max-width: 640px) {
  .uebersicht { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .zahl { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .zahl .ic { width: 34px; height: 34px; padding: 7px; }
  .zahl small { font-size: .74rem; line-height: 1.25; display: block; }
  .nav a span { font-size: .66rem; letter-spacing: -.01em; }
}
.kachel.extern { grid-column: 1 / -1; min-height: 96px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
[dir=rtl] .abschnitt .ic, [dir=rtl] .kachel-pfeil, [dir=rtl] .knopf .ic { transform: scaleX(-1); }

/* ============ Schicht ändern, Nachrichten ============ */
.kopf-glocke { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--text);
  background: var(--flaeche); box-shadow: var(--schatten); }
.kopf-glocke .ic { width: 21px; height: 21px; }
.kopf-glocke b { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  background: var(--rot); color: #fff; font-size: .72rem; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--hg); }
a.schicht { text-decoration: none; color: inherit; }
a.schicht:active { transform: scale(.97); }
.schicht .ic { width: 14px; height: 14px; }
.schicht.angefragt { outline: 2px dashed var(--orange); outline-offset: 1px; }
a.meldung { text-decoration: none; margin-bottom: 12px; }
.schicht-liste { padding: 6px 12px; }
.schicht-liste a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--text); text-decoration: none; border-top: 1px solid var(--linie); }
.schicht-liste a:first-child { border-top: 0; }
.schicht-liste .schicht-tag { width: 92px; flex: none; font-weight: 650; font-size: .92rem; }
.schicht-liste .schicht { flex: 0 1 auto; white-space: nowrap; }
.schicht-liste > a > .ic { margin-inline-start: auto; color: var(--leiser); }
[dir=rtl] .schicht-liste > a > .ic { transform: scaleX(-1); }
.art-wahl { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.art-wahl legend { font-weight: 620; font-size: .95rem; margin-bottom: 8px; }
.formular label.art { margin: 0; }
.art input { position: absolute; opacity: 0; }
.art span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--linie-stark);
  background: var(--flaeche); font-weight: 600; cursor: pointer; }
.art input:checked + span { border-color: var(--gruen); background: var(--gruen-hell); box-shadow: 0 0 0 2px var(--gruen); }
.art input:focus-visible + span { outline: 3px solid var(--ring); }
.nachricht.neu { box-shadow: 0 0 0 2px var(--gruen), var(--schatten); }
.nachricht b { font-weight: 600; }

/* ============ Problem melden, Pinnwand, Rundgang, Vorlesen ============ */
.meldung.gruen { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.knopf.melden-knopf { background: var(--flaeche); color: var(--rot); border: 2px solid var(--rot-hell); box-shadow: var(--schatten); margin: 4px 0 16px; }
.karte-icon.rot { background: var(--rot-hell); color: var(--rot); }
.kacheln-wahl { grid-template-columns: 1fr 1fr; }
.kacheln-wahl legend { grid-column: 1 / -1; }
.kacheln-wahl .art span { flex-direction: column; justify-content: center; text-align: center; min-height: 92px; gap: 6px; }
.kacheln-wahl .art .ic { width: 28px; height: 28px; }
.foto-wahl { position: relative; display: flex !important; align-items: center; gap: 10px; min-height: 60px; padding: 12px 16px; border: 2px dashed var(--linie-stark);
  border-radius: 14px; background: var(--flaeche-2); cursor: pointer; }
.foto-wahl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.meldung-karte .marke { margin-inline-start: 6px; }
.meldung-karte.erledigt { opacity: .75; }
.meldung-foto { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; margin-top: 10px; }
.beitrag { border-inline-start: 5px solid var(--linie-stark); }
.beitrag.ungelesen { border-inline-start-color: var(--rot); box-shadow: 0 0 0 2px var(--rot-hell), var(--schatten); }
.beitrag-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.beitrag h2 { margin: 4px 0 8px; }
.beitrag .knopf-reihe { margin-bottom: 0; align-items: center; }
.klein-text { font-size: .82rem; }
.namen-liste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vorlesen.an { background: var(--gruen); color: #fff; }
.rundgang { text-align: center; padding: 28px 20px; }
.rundgang-punkte { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.rundgang-punkte i { width: 8px; height: 8px; border-radius: 50%; background: var(--linie-stark); }
.rundgang-punkte i.an { background: var(--gruen); }
.rundgang-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--gruen-hell); color: var(--gruen); margin-bottom: 8px; }
.rundgang-icon .ic { width: 44px; height: 44px; }
.rundgang-schritt h2 { margin: .4em 0 .3em; }
.rundgang-schritt p { font-size: 1.12rem; line-height: 1.5; margin: 0 0 16px; }
.hilfe-karte { text-align: center; }
.hilfe-karte .rundgang-icon { width: 60px; height: 60px; border-radius: 18px; }
.hilfe-karte .rundgang-icon .ic { width: 30px; height: 30px; }
.knopf-link { background: none; border: 0; color: var(--leise); font: inherit; font-weight: 600; padding: 14px; cursor: pointer; text-decoration: underline; }
.test-band { position: sticky; top: 0; z-index: 40; background: #c2620f; color: #fff; text-align: center; font-weight: 700; font-size: .85rem; padding: 6px 12px; }

/* Eilige Aufgaben (06.11.2026) */
.aufgabe.eilig { border-color: var(--rot); box-shadow: 0 0 0 2px rgba(194, 58, 43, .25); }
.aufgabe.eilig b { color: var(--rot); }

/* Werkstatt-Tafel für den großen Bildschirm (06.11.2026). Größen in vw, damit es auf 55 Zoll (Full HD oder 4K) gleich aussieht */
body.tafel { padding: 0; background: #eef1ea; font-size: 1.05vw; line-height: 1.35; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.tafel .ic { width: 1.25em; height: 1.25em; }
.t-kopf { display: flex; align-items: center; gap: 1.6vw; padding: 1.1vw 2vw; background: var(--gruen); color: #fff; }
.t-logo { height: 3.2vw; border-radius: .6vw; background: #fff; padding: .2vw; }
.t-titel { display: flex; flex-direction: column; flex: 1; }
.t-titel b { font-size: 2.2vw; font-weight: 780; letter-spacing: -.02em; }
.t-titel span { font-size: 1.2vw; opacity: .85; }
.t-zahlen { display: flex; gap: .8vw; }
.t-zahl { background: rgba(255,255,255,.14); border-radius: 1vw; padding: .5vw 1.2vw; font-size: 1.15vw; }
.t-zahl b { font-size: 2vw; margin-right: .3vw; }
.t-zahl.rot b { color: #ffb3a8; } .t-zahl.gelb b { color: #ffe08a; } .t-zahl.gruen b { color: #c8f0b0; }
.t-uhr { font-size: 3.4vw; font-weight: 760; font-variant-numeric: tabular-nums; letter-spacing: -.03em; min-width: 9vw; text-align: right; }
.t-raster { flex: 1; display: grid; grid-template-columns: 1.15fr 1.15fr .8fr; gap: 1.4vw; padding: 1.4vw 2vw; min-height: 0; }
.t-spalte { background: #fff; border-radius: 1.4vw; padding: 1.2vw 1.4vw; overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: .6vw; }
.t-spalte h2 { margin: 0 0 .4vw; font-size: 1.6vw; display: flex; align-items: center; gap: .6vw; }
.t-spalte h3 { margin: .8vw 0 .2vw; font-size: 1.1vw; color: var(--leise); text-transform: uppercase; letter-spacing: .06em; }
.t-akut { background: #fff7f5; border: .25vw solid var(--rot); }
.t-akut h2 { color: var(--rot); }
.t-zeile { display: flex; align-items: center; gap: .9vw; padding: .7vw .9vw; border-radius: .9vw; background: var(--flaeche-2); border: 1px solid var(--linie); }
.t-zeile.gross b { font-size: 1.35vw; }
.t-zeile.eilig, .t-zeile.ueberfaellig { background: #fdeeec; border-color: rgba(194,58,43,.35); }
.t-zeile.eilig b, .t-zeile.ueberfaellig b { color: var(--rot); }
.t-zeile.meldung { background: #fff3d6; border-color: rgba(138,93,0,.35); }
.t-zeile.meldung.gefahr { background: var(--rot); color: #fff; border-color: var(--rot); }
.t-zeile.meldung.gefahr .t-info { color: #ffe3de; }
.t-zeile.erledigt { opacity: .55; }
.t-zeile.erledigt b { text-decoration: line-through; }
.t-haken { width: 2.1vw; height: 2.1vw; flex: none; border-radius: 50%; border: .18vw solid var(--linie-stark); display: grid; place-items: center; }
.t-zeile.erledigt .t-haken { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.t-zeile.eilig .t-haken, .t-zeile.ueberfaellig .t-haken { border-color: var(--rot); color: var(--rot); }
.t-zeile.meldung .t-haken { border: 0; }
.t-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.t-text b { font-size: 1.2vw; font-weight: 680; }
.t-info { display: flex; flex-wrap: wrap; gap: .8vw; color: var(--leise); font-size: .95vw; align-items: center; }
.t-info span { display: inline-flex; align-items: center; gap: .3vw; }
.t-marke.rot { background: var(--rot); color: #fff; border-radius: .5vw; padding: .05vw .5vw; font-weight: 650; }
.t-wer { display: flex; align-items: center; gap: .5vw; font-weight: 650; font-size: 1.1vw; flex: none; }
.tafel .avatar { width: 2.2vw; height: 2.2vw; font-size: .9vw; }
.t-teamlabel { display: inline-flex; align-items: center; gap: .3vw; color: var(--leise); }
.t-schicht { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: .7vw; align-items: center; padding: .5vw 0; border-bottom: 1px solid var(--linie); }
.t-schicht .avatar { grid-row: span 2; }
.t-schicht b { font-size: 1.2vw; }
.t-taetigkeit { grid-column: 2; font-size: 1vw; color: var(--farbe); font-weight: 650; }
.t-schicht .t-zeit { grid-row: 1 / span 2; grid-column: 3; }
.t-zeit { font-variant-numeric: tabular-nums; color: var(--leise); font-size: 1vw; }
.t-termin { display: flex; gap: .9vw; align-items: baseline; padding: .4vw 0; }
.t-termin b { font-size: 1.15vw; }
.t-abstand { margin-top: 1vw !important; }
.t-leer { color: var(--gruen); font-size: 1.3vw; font-weight: 650; display: flex; align-items: center; gap: .6vw; margin: .4vw 0; }
.t-leer.klein { font-size: 1vw; color: var(--leise); font-weight: 450; }
.t-fuss { padding: .4vw 2vw .8vw; color: var(--leise); font-size: .8vw; }
.t-fuss code { font-size: .8vw; user-select: all; }
.t-kennzahlen { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.4vw; padding: 1.2vw 2vw 0; }
.t-kz-gruppe h3 { margin: 0 0 .5vw; font-size: 1vw; color: var(--leise); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: .4vw; }
.t-kz-reihe { display: flex; gap: .7vw; }
.t-kz { flex: 1; background: #fff; border-radius: 1vw; padding: .6vw .9vw; box-shadow: var(--schatten); display: flex; flex-direction: column; border-top: .3vw solid var(--linie-stark); }
.t-kz b { font-size: 2.3vw; font-weight: 780; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.t-kz span { font-size: .9vw; color: var(--leise); }
.t-kz.rot { border-top-color: var(--rot); } .t-kz.rot b { color: var(--rot); }
.t-kz.gruen { border-top-color: var(--gruen); }
.t-kz.gelb { border-top-color: #d9a400; } .t-kz.gelb b { color: var(--gelb); }
.t-hb { display: flex; gap: .9vw; align-items: center; padding: .45vw 0; border-bottom: 1px solid var(--linie); }
.t-hb-art { flex: none; width: 6.5vw; font-weight: 700; font-size: 1vw; display: flex; flex-direction: column; color: var(--blau); }
.t-hb.rueckgabe .t-hb-art { color: var(--orange); }
.t-hb-art small { font-weight: 500; color: var(--leise); font-size: .85vw; }
.t-hb b { font-size: 1.1vw; }
/* Tafel-Kopf im Stil des Manufacturing Systems: weiß, Logos, Trennstrich (06.11.2026) */
.t-kopf { background: #fff; color: var(--text); border-bottom: 1px solid var(--linie); }
.t-logos { display: flex; align-items: center; gap: 1.2vw; }
.t-logos img { height: 3.3vw; width: auto; display: block; }
.t-logos img.quadrat { height: 3.6vw; border-radius: .5vw; }
.t-trenn { width: 1px; align-self: stretch; background: var(--linie-stark); margin: .3vw 0; }
.t-titel small { font-size: .9vw; color: var(--leise); font-weight: 600; letter-spacing: .02em; }
.t-titel span { opacity: 1; color: var(--leise); }
.t-zahl { background: var(--flaeche-2); border: 1px solid var(--linie); color: var(--text); }
.t-zahl.rot b { color: var(--rot); } .t-zahl.gelb b { color: var(--gelb); } .t-zahl.gruen b { color: var(--gruen); }
.t-uhr { color: var(--gruen); }
.t-h2-logo { height: 1.9vw; width: auto; border-radius: .3vw; }
.t-h3-logo { height: 1.3vw; width: auto; }
.t-ziel { font-size: .8vw; color: var(--leiser); margin-top: .1vw; }
.t-kz.gruen b { color: var(--gruen); }

/* Unterweisungen verwalten (06.11.2026) */
.tabelle-rahmen { overflow-x: auto; }
.matrix td, .matrix th { white-space: nowrap; font-size: .9rem; }
.matrix .z-gruen { color: var(--gruen); font-weight: 600; }
.matrix .z-gelb { color: var(--gelb); background: var(--gelb-hell); }
.matrix .z-rot { color: var(--rot); background: var(--rot-hell); font-weight: 650; }
.unter-strich { border-top: 1px solid var(--linie); margin-top: 12px; padding-top: 12px; }
.antwort-zeile { display: flex; align-items: center; gap: 8px; }
.antwort-zeile input[type=text], .antwort-zeile input:not([type]) { flex: 1; }
/* Feinschliff Kennzahlen (06.11.2026) */
.t-kennzahlen { grid-template-columns: 1.55fr 1fr; gap: 1.2vw; padding-top: .9vw; }
.t-kz { padding: .45vw .7vw; }
.t-kz b { font-size: 1.9vw; white-space: nowrap; }
.t-kz span { font-size: .8vw; line-height: 1.25; }
.t-ziel { font-size: .72vw; }
.t-kz-reihe { gap: .55vw; }
.t-schicht { padding: .3vw 0; }
.t-schicht b { font-size: 1.05vw; }
.t-spalte h2 { font-size: 1.4vw; }
.t-kz .t-zulang { font-size: .8vw; color: var(--rot); font-weight: 700; letter-spacing: 0; }
.t-kz.rot b:first-child { color: var(--text); }

/* Tafel v3: Aufgaben in einer Spalte, Zielwerte kräftig rot/grün */
.t-raster { grid-template-columns: 1.6fr 1fr 1fr; }
.t-akutblock { background: #fff1ee; border: .25vw solid var(--rot); border-radius: 1vw; padding: .5vw .8vw .7vw; display: flex; flex-direction: column; gap: .5vw; margin-bottom: .4vw; }
.t-akutblock h3 { color: var(--rot); margin: .2vw 0; display: flex; align-items: center; gap: .4vw; font-weight: 800; }
.t-kz.rot { background: #c62828; border-top-color: #8e0000; box-shadow: 0 0 0 .25vw #ff8a80, var(--schatten); }
.t-kz.rot b, .t-kz.rot b:first-child, .t-kz.rot span, .t-kz.rot .t-ziel, .t-kz.rot .t-zulang { color: #fff; }
.t-kz.rot .t-zulang { font-weight: 800; }
.t-kz.gruen { background: #2e7d32; border-top-color: #1b5e20; }
.t-kz.gruen b, .t-kz.gruen span, .t-kz.gruen .t-ziel { color: #fff; }
.t-kz.gelb { background: #f9a825; border-top-color: #c17900; }
.t-kz.gelb b, .t-kz.gelb span, .t-kz.gelb .t-ziel { color: #1a1a1a; }

/* Sprachwahl */
.sprachwahl { display: flex; flex-direction: column; gap: .6rem; }
.sprachwahl .knopf { justify-content: flex-start; gap: .7rem; font-size: 1.15rem; }
.sprachwahl .flagge { font-size: 1.5rem; line-height: 1; }
.hinweis.gruen { background: #e8f5e9; color: #1b5e20; border-radius: .8rem; padding: .7rem 1rem; font-weight: 600; }

/* Tafel: Wer ist da? (7 Tage) */
.t-wtag { display: grid; grid-template-columns: 5.2vw 1fr; gap: .6vw; align-items: start; padding: .35vw .4vw; border-bottom: 1px solid var(--linie); border-radius: .5vw; }
.t-wtag.heute { background: #eef6e8; border-bottom-color: transparent; }
.t-wtag.heute .t-wtag-name { color: var(--gruen); font-weight: 800; }
.t-wtag-name { font-size: 1vw; font-weight: 700; padding-top: .2vw; }
.t-wtag-leute { display: flex; flex-wrap: wrap; gap: .3vw; }
.t-person { border-left: .3vw solid var(--farbe); background: #f6f7f5; border-radius: .4vw; padding: .1vw .45vw; font-size: .95vw; white-space: nowrap; }
.t-person small { color: var(--leise); font-size: .78vw; }
.t-wtag.frei .t-wtag-name { color: var(--leiser); }
.t-wtag { padding: .3vw .4vw; }
.t-wtag:not(.heute) .t-person { font-size: .9vw; padding: .05vw .4vw; }
