/* Minimal, mobiles Layout */
:root{
  --brand:#cf102d;
  --ink:#1f2937;
  --muted:#6b7280;
  --bg:#ffffff;
  --panel:#f8f9fb;
  --ok:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;
}
*{box-sizing:border-box}
body{margin:0;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
.container{max-width:1100px;margin:auto;padding:1rem}
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:10}
.site-header .container{display:flex;align-items:center;gap:.75rem}
.logo{height:36px}
.title{font-size:1.25rem;margin:0}
.nav{margin-left:auto;display:flex;gap:1rem}
.nav a{text-decoration:none;color:var(--ink)}
.who{margin-left:.75rem;color:var(--muted);font-size:.9rem}
.site-footer{border-top:1px solid #eee;background:#fff;margin-top:2rem}
h1,h2,h3{margin:.5rem 0}
.card{background:var(--panel);border:1px solid #e5e7eb;border-radius:12px;padding:1rem}
label{display:block;font-weight:600;margin-top:.75rem}
input[type=text],input[type=password],input[type=date],select,textarea{
  width:100%;padding:.6rem .7rem;border:1px solid #d1d5db;border-radius:10px;background:#fff
}
textarea{min-height:120px}
.btn{display:inline-block;background:var(--brand);color:#fff;text-decoration:none;border:none;padding:.6rem .9rem;border-radius:10px;cursor:pointer}
.btn.secondary{background:#111827}
.btn.ghost{background:transparent;border:1px solid #d1d5db;color:#111827}
.btn.ok{background:var(--ok)}
.btn.warn{background:var(--warn)}
.btn.bad{background:var(--bad)}
table{width:100%;border-collapse:collapse}
th,td{padding:.5rem;border-bottom:1px solid #e5e7eb;text-align:left}
.status{display:inline-block;padding:.2rem .5rem;border-radius:999px;font-size:.8rem;border:1px solid #e5e7eb}
.s-erstellt{background:#fff}
.s-zugewiesen{background:#e0f2fe}
.s-in_bearbeitung{background:#fef3c7}
.s-erledigt{background:#dcfce7}
.s-abgeschlossen{background:#f3f4f6}
.grid{display:grid;gap:1rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.dnd{border:2px dashed #d1d5db;border-radius:12px;padding:1rem;text-align:center;margin-top:.5rem}
.dnd.drag{border-color:var(--brand);background:#fff5f5}
.thumb{width:100px;height:100px;object-fit:cover;border-radius:8px;border:1px solid #eee}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;align-items:center;justify-content:center}
.lightbox img{max-width:95%;max-height:95%;border-radius:10px}
.lightbox.show{display:flex}
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}
.badge{display:inline-block;background:#eef2ff;border:1px solid #e5e7eb;border-radius:999px;padding:.15rem .5rem;font-size:.8rem}
.footer-note{color:#999}
@media (max-width:600px){ .nav{gap:.5rem} }
