/* Fuljoyment Zeiterfassung – eigenes Design, Farben aus dem Firmenlogo.
   Bewusst nur Systemschriften: keine externen Font-Dienste (DSGVO). */
:root {
  --orange: #ec6b1f; --orange-dunkel: #cf5710; --orange-hell: #fff1e7;
  --blau: #2b72b8; --blau-dunkel: #1f5a96; --blau-hell: #eaf2fb;
  --bg: #f4f6fa; --fl: #ffffff; --text: #1c2536; --mute: #66738a; --rand: #e3e8f0; --rand-stark: #cdd5e1;
  --ok: #17803d; --ok-bg: #e6f6ec; --warn: #9a5b00; --warn-bg: #fff3d9; --fehler: #c9252d; --fehler-bg: #fdecec;
  --radius: 14px; --schatten: 0 1px 2px rgba(28,37,54,.05), 0 4px 16px rgba(28,37,54,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: var(--blau-hell); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- Grundlayout: Seitenleiste + Inhalt ---------- */
.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.menue-schalter, .abdeckung { display: none; }
.seite { background: var(--fl); border-right: 1px solid var(--rand); position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 18px 14px; }
.marke { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: var(--text); }
.marke:hover { text-decoration: none; }
.marke img { width: 64px; height: auto; flex: none; }
.marke b { display: block; font-size: 1.02rem; line-height: 1.15; letter-spacing: -.01em; }
.marke span { display: block; font-size: .78rem; color: var(--mute); }
.nav-titel { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); padding: 14px 10px 6px; }
.seite nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; margin: 1px 0; border-radius: 10px; color: #3a465a; font-weight: 500; }
.seite nav a svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.seite nav a:hover { background: var(--bg); text-decoration: none; }
.seite nav a.aktiv { background: var(--blau-hell); color: var(--blau-dunkel); font-weight: 500; box-shadow: inset 3px 0 0 var(--orange); }
.seite nav a.aktiv svg { opacity: 1; }
.seite-fuss { margin-top: auto; padding: 14px 8px 2px; font-size: .78rem; color: var(--mute); }

.haupt { min-width: 0; display: flex; flex-direction: column; }
.leiste { display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rand); position: sticky; top: 0; z-index: 5; }
.leiste .datum-heute { color: var(--mute); font-size: .9rem; }
.leiste .platz { flex: 1; }
.nutzer { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .9rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #f59a4a); color: #fff; display: grid; place-items: center; font-weight: 700; text-transform: uppercase; }
.menue-knopf { display: none; }
main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 26px 28px 70px; }

/* ---------- Typografie ---------- */
h1 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 700; }
h2 { font-size: 1.05rem; margin: 26px 0 10px; font-weight: 500; }
.leise { color: var(--mute); }
.hilfe { color: var(--mute); font-size: .86rem; margin: 5px 0 0; max-width: 680px; }
.minus { color: var(--fehler); }

/* ---------- Karten ---------- */
.karte { background: var(--fl); border: 1px solid var(--rand); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--schatten); }
.raster { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-bottom: 18px; }
.raster .karte { margin-bottom: 0; }
.kennzahl { font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.raster > .karte > .leise:first-child { font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Tabellen ---------- */
.tabelle { overflow-x: auto; background: var(--fl); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rand); vertical-align: top; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); font-weight: 500; background: #f9fafc; white-space: nowrap; }
tr:last-child > td { border-bottom: 0; }
.tabelle tr:hover > td { background: #fafbfe; }
.tabelle td:first-child { white-space: nowrap; }
td.zahl, th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
tr.wochenende > td { background: #f9fafc; color: var(--mute); }
tr.storniert td { color: var(--mute); text-decoration: line-through; }
.karte table th, .karte table td { padding: 8px 4px; background: none; }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 500; font-size: .86rem; margin: 14px 0 5px; }
label.check { font-weight: 400; font-size: .95rem; display: flex; gap: 9px; align-items: center; }
input, select, textarea { font: inherit; color: inherit; padding: 9px 12px; border: 1px solid var(--rand-stark); border-radius: 10px; width: 100%; max-width: 440px; background: #fff; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(43,114,184,.18); }
input[type=checkbox] { width: 17px; height: 17px; padding: 0; accent-color: var(--blau); flex: none; }
td select { padding: 6px 8px; border-radius: 8px; }
.zeile { display: flex; gap: 18px; flex-wrap: wrap; }
.zeile > div { flex: 1 1 200px; }

/* ---------- Knoepfe ---------- */
button, .knopf { font: inherit; font-weight: 500; cursor: pointer; padding: 9px 18px; border-radius: 10px; border: 1px solid var(--blau); background: var(--blau); color: #fff; display: inline-block; line-height: 1.3; transition: background .12s, box-shadow .12s, transform .05s; }
button:hover, .knopf:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); text-decoration: none; box-shadow: 0 2px 8px rgba(43,114,184,.25); }
button:active, .knopf:active { transform: translateY(1px); }
button:focus-visible, .knopf:focus-visible, a:focus-visible { outline: 3px solid rgba(43,114,184,.35); outline-offset: 2px; }
button.zweit, .knopf.zweit { background: #fff; color: var(--text); border-color: var(--rand-stark); }
button.zweit:hover, .knopf.zweit:hover { background: var(--bg); border-color: var(--rand-stark); box-shadow: none; }
button.gefahr { background: #fff; color: var(--fehler); border-color: #efc1c3; }
button.gefahr:hover { background: var(--fehler-bg); border-color: var(--fehler); box-shadow: none; }
button.klein { padding: 4px 11px; font-size: .82rem; border-radius: 8px; }
.aktionen { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.aktionen select { width: auto; }

/* ---------- Meldungen, Badges ---------- */
.meldung { padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe6cd; font-weight: 500; }
.meldung.warnung { background: var(--warn-bg); color: var(--warn); border-color: #f2dba6; }
.meldung.fehler { background: var(--fehler-bg); color: var(--fehler); border-color: #f3c5c7; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .76rem; font-weight: 500; background: #eef1f6; color: var(--mute); white-space: nowrap; }
.badge.anwesend { background: var(--ok-bg); color: var(--ok); }
.badge.pause { background: var(--orange-hell); color: var(--orange-dunkel); }
.beta { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--blau); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.3; }
h1 .beta { font-size: .7rem; padding: 3px 9px; position: relative; top: -2px; }
.seite nav a .beta { margin-left: auto; }
.meldung.info { background: var(--blau-hell); color: var(--blau-dunkel); border-color: #c7dcf1; font-weight: 400; }
.verstoss { color: var(--fehler); font-size: .85rem; }
.kategorie-wahl { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 760px; }
.kategorie-option { margin: 0; display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px; border: 1.5px solid var(--rand-stark); border-radius: 12px; cursor: pointer; font-weight: 400; transition: border-color .12s, background .12s; }
.kategorie-option:hover { border-color: var(--blau); }
.kategorie-option:has(input:checked) { border-color: var(--orange); background: var(--orange-hell); box-shadow: 0 0 0 3px rgba(236,107,31,.12); }
.kategorie-option input { width: 18px; height: 18px; max-width: none; padding: 0; flex: none; margin-top: 2px; accent-color: var(--orange); }
.kategorie-option > span { flex: 1; text-align: left; }
.kategorie-option small { display: block; color: var(--mute); margin-top: 2px; }
.kategorie-karte { color: var(--text); display: block; }
.kategorie-karte:hover { text-decoration: none; border-color: var(--blau); }
.regel-kurz { margin: 10px 0 0; padding-left: 18px; color: var(--mute); font-size: .84rem; }
.summe-karte { border-color: #f7c6a6; background: linear-gradient(180deg, var(--orange-hell), #fff 75%); }
.summe-karte .kennzahl { color: var(--orange-dunkel); }
tr.klickbar { cursor: pointer; }
tr.summenzeile > td { background: #f6f8fb; font-weight: 500; border-top: 2px solid var(--rand-stark); }
.uhr-leiste { font: 700 1.05rem/1 ui-monospace, Consolas, monospace; letter-spacing: .03em; color: var(--text); background: var(--bg); border: 1px solid var(--rand); padding: 7px 11px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.uhr-leiste small { font: 600 .68rem system-ui, sans-serif; color: var(--mute); margin-left: 6px; letter-spacing: .04em; }
.hinweis { color: var(--warn); font-size: .85rem; }
.code { font: 700 2.1rem/1 ui-monospace, Consolas, monospace; letter-spacing: .16em; color: var(--orange); }
.code-karte { border-color: #f7c6a6; background: linear-gradient(180deg, var(--orange-hell), #fff 70%); }
.code-zeile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px dashed #f1d3bf; }
.code-zeile:last-of-type { border-bottom: 0; }
.code-info { min-width: 170px; }
.code-info b, .code-info span { display: block; }
.kopieren { display: inline-flex; align-items: center; gap: 6px; }
.kopieren svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kopieren.kopiert { color: var(--ok); border-color: #bfe6cd; background: var(--ok-bg); }

/* ---------- Login ---------- */
.login-seite { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; background: var(--fl); }
.login-bild { position: relative; overflow: hidden; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, #1f5a96 0%, #2b72b8 55%, #3d8bd6 100%); }
.login-bild::before, .login-bild::after { content: ""; position: absolute; border-radius: 50%; }
.login-bild::before { width: 520px; height: 520px; right: -160px; top: -180px; background: radial-gradient(circle at 35% 35%, #f59a4a, var(--orange)); opacity: .95; }
.login-bild::after { width: 300px; height: 300px; left: -110px; top: 34%; background: rgba(255,255,255,.08); }
.login-bild h2 { position: relative; font-size: 2.2rem; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; max-width: 460px; font-weight: 700; }
.login-bild p { position: relative; margin: 0; max-width: 430px; font-size: 1.05rem; opacity: .9; }
.login-punkte { position: relative; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.login-punkte li { display: flex; gap: 10px; align-items: center; opacity: .95; }
.login-punkte li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,255,255,.18); flex: none; }
.login-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 7vw, 96px); }
.login-form .logo { width: 150px; height: auto; margin-bottom: 26px; }
.login-form h1 { margin-bottom: 4px; }
.login-form input { max-width: none; padding: 11px 13px; }
.login-form button { width: 100%; padding: 12px; margin-top: 22px; font-size: 1rem; background: var(--orange); border-color: var(--orange); }
.login-form button:hover { background: var(--orange-dunkel); border-color: var(--orange-dunkel); box-shadow: 0 2px 10px rgba(236,107,31,.3); }
.login-form form { max-width: 380px; width: 100%; }
.login-fuss { margin-top: 34px; font-size: .8rem; color: var(--mute); }

/* ---------- Mobil ---------- */
@media (max-width: 920px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .seite { position: fixed; z-index: 30; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .menue-schalter:checked ~ .seite { transform: none; }
  .abdeckung { position: fixed; inset: 0; z-index: 20; background: rgba(20,28,40,.45); }
  .menue-schalter:checked ~ .abdeckung { display: block; }
  .menue-knopf { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 10px; border: 1px solid var(--rand-stark); cursor: pointer; }
  .menue-knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .leiste { padding: 10px 16px; }
  .leiste .datum-heute, .nutzer .name { display: none; }
  main { padding: 18px 16px 50px; }
  h1 { font-size: 1.35rem; }
  th, td { padding: 9px 10px; }
  .login-seite { grid-template-columns: minmax(0, 1fr); }
  .login-bild { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Schrift: Satoshi (Fontshare, ITF Free Font License), lokal ausgeliefert ---------- */
@font-face { font-family: "Satoshi"; src: url("/static/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/static/fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/static/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
body { font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; }
h1 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.02rem; font-weight: 700; }
.kennzahl { font-size: 1.45rem; font-weight: 700; }
.seite nav a.aktiv, tr.summenzeile > td, .marke b { font-weight: 700; }
button, .knopf { font-weight: 500; }
.login-bild h2 { font-size: 2rem; }

/* ---------- Auswahl-Chips (Standorte) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1.5px solid var(--rand-stark); border-radius: 99px; cursor: pointer; font-weight: 500; font-size: .9rem; background: #fff; transition: border-color .12s, background .12s; user-select: none; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip::before { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--rand-stark); background: #fff; flex: none; transition: all .12s; }
.chip:hover { border-color: var(--blau); }
.chip:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); color: var(--blau-dunkel); }
.chip:has(input:checked)::before { border-color: var(--blau); background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.chip:has(input:focus-visible) { outline: 3px solid rgba(43,114,184,.35); outline-offset: 2px; }
.chip:has(input:disabled) { opacity: .75; cursor: default; }
.chip.alle:has(input:checked) { border-color: var(--orange); background: var(--orange-hell); color: var(--orange-dunkel); }
.chip.alle:has(input:checked)::before { border-color: var(--orange); background-color: var(--orange); }
.chip small { color: var(--mute); font-weight: 400; }

/* ---------- Eingabe mit Knopf, Zeit-Auswahl ---------- */
.eingabe-knopf { display: flex; gap: 8px; max-width: 440px; }
.eingabe-knopf input { flex: 1; min-width: 0; }
.eingabe-knopf button { white-space: nowrap; }
.zeitwahl { display: flex; align-items: center; gap: 6px; }
.zeitwahl select { width: auto; min-width: 74px; font-variant-numeric: tabular-nums; }
.zeitwahl span { font-weight: 700; }

/* ---------- Mitarbeiterliste ---------- */
.werkzeug { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.werkzeug .suche { flex: 1 1 240px; max-width: 360px; padding-left: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366738a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 12px center/17px no-repeat; }
.werkzeug select { width: auto; }
.werkzeug .platz { flex: 1; }
.person { display: flex; align-items: center; gap: 12px; }
.person .initialen { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; flex: none; letter-spacing: .02em; }
.person b { display: block; font-weight: 700; color: var(--text); }
.person small { display: block; color: var(--mute); font-variant-numeric: tabular-nums; }
.farbe-0 { background: #2b72b8; } .farbe-1 { background: #ec6b1f; } .farbe-2 { background: #17803d; }
.farbe-3 { background: #7a4fc9; } .farbe-4 { background: #c2410c; } .farbe-5 { background: #0e7490; }
.marke-liste { display: flex; flex-wrap: wrap; gap: 5px; }
.badge.blau { background: var(--blau-hell); color: var(--blau-dunkel); }
.badge.orange { background: var(--orange-hell); color: var(--orange-dunkel); }
.badge.gruen { background: var(--ok-bg); color: var(--ok); }
.badge.rot { background: var(--fehler-bg); color: var(--fehler); }
tr.inaktiv > td { opacity: .55; }
.leer-hinweis { padding: 26px; text-align: center; color: var(--mute); }

[hidden] { display: none !important; }

/* ---------- Schicht-Legende im Schichtplan ---------- */
.legende { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.legende-eintrag { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--fl); border: 1px solid var(--rand); border-radius: 12px; color: var(--text); box-shadow: var(--schatten); transition: border-color .12s; }
.legende-eintrag:hover { text-decoration: none; border-color: var(--blau); }
.legende-eintrag > b { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: var(--blau); color: #fff; font-size: 1.05rem; flex: none; }
.legende-eintrag span { flex: 1; font-weight: 700; }
.legende-eintrag small { display: block; font-weight: 400; color: var(--mute); font-variant-numeric: tabular-nums; }
.legende-eintrag em { font-style: normal; font-size: .78rem; color: var(--blau); }
.legende-eintrag.inaktiv { opacity: .6; }
.legende-eintrag.neu > b { background: var(--orange-hell); color: var(--orange-dunkel); }
details summary { list-style: none; } details summary::-webkit-details-marker { display: none; }

/* ================= Design-Auffrischung: dunkle Seitenleiste, kraeftige Akzente, Kacheln ================= */
:root { --nacht: #101a2c; --nacht-2: #17233a; --radius: 16px; --bg: #f2f4f9; }
.seite { background: var(--nacht); border-right: 0; }
.marke b { color: #fff; } .marke span { color: #93a3bd; }
.nav-titel { color: #6d7f9c; }
.seite nav a { color: #c2cee0; border-radius: 11px; }
.seite nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.seite nav a.aktiv { background: linear-gradient(90deg, rgba(236,107,31,.28), rgba(236,107,31,.08)); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.seite-fuss, .seite-fuss a { color: #8fa0bb; }
.seite-fuss a:hover { color: #fff; }
h1 { font-size: 1.7rem; letter-spacing: -.025em; }
.kopfzeile { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.kopfzeile h1 { margin: 0; }
.unterzeile { margin: 4px 0 0; color: var(--mute); }
button, .knopf { font-weight: 700; border-radius: 12px; padding: 10px 18px; }
button.zweit, .knopf.zweit, button.klein { font-weight: 500; }
.knopf.plus { display: inline-flex; align-items: center; gap: 9px; background: var(--orange); border-color: var(--orange); padding: 11px 20px 11px 14px; box-shadow: 0 4px 14px rgba(236,107,31,.28); }
.knopf.plus::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(255,255,255,.22); font-size: 1.25rem; line-height: 1; padding-bottom: 2px; }
.knopf.plus:hover { background: var(--orange-dunkel); border-color: var(--orange-dunkel); box-shadow: 0 6px 18px rgba(236,107,31,.36); }
.karte, .tabelle { border-radius: var(--radius); }
th { background: #f6f8fc; color: #55627a; font-weight: 700; }
.kennzahl { letter-spacing: -.03em; }

.kachel-raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.kachel { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 18px; background: var(--fl); border: 1px solid var(--rand); border-radius: var(--radius); color: var(--text); box-shadow: var(--schatten); transition: transform .12s, box-shadow .12s, border-color .12s; }
.kachel:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--blau); box-shadow: 0 10px 28px rgba(28,37,54,.12); }
.kachel-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.kachel-icon.blau { background: var(--blau); } .kachel-icon.orange { background: var(--orange); }
.kachel-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kachel-text b { display: block; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.kachel-text small { display: block; color: var(--mute); }
.kachel-fuss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 12px; border-top: 1px solid var(--rand); }
.kachel-zahl { margin-left: auto; color: var(--mute); font-size: .88rem; } .kachel-zahl b { color: var(--text); font-size: 1rem; }
.kachel.inaktiv { opacity: .6; }
.kachel.neu { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 8px; min-height: 132px; background: transparent; border: 2px dashed var(--rand-stark); box-shadow: none; color: var(--mute); }
.kachel.neu:hover { border-color: var(--orange); color: var(--orange-dunkel); background: var(--orange-hell); transform: none; }
.kachel-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 1.7rem; font-weight: 700; line-height: 1; padding-bottom: 3px; }

.gefahrzone { border-color: #f3c5c7; }
.gefahrzone h2 { color: var(--fehler); }
