:root {
  --bg:#0b1220;
  --card:#0f1a31;
  --muted:#95a3b8;
  --txt:#e9eef7;
  --line:rgba(255,255,255,.08);
  --accent:#4da3ff;
  --good:#2dd4bf;
  --bad:#fb7185;
}

*{box-sizing:border-box}
body{
  margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #070b14);
  color:var(--txt);
}
a{color:var(--accent); text-decoration:none}
.container{max-width:980px; margin:0 auto; padding:16px}
.card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(6px);
}
.row{display:flex; gap:12px; flex-wrap:wrap}
.col{flex:1 1 280px}
.h1{font-size:20px; font-weight:800; margin:0 0 10px}
.h2{font-size:14px; font-weight:800; margin:18px 0 10px; color:#dbe6ff}
.muted{color:var(--muted)}
.topbar{display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:12px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px; border-radius:12px; border:1px solid var(--line);
  background: rgba(255,255,255,.06); color:var(--txt); font-weight:700;
  cursor:pointer;
}
.btn.primary{background: rgba(77,163,255,.20); border-color: rgba(77,163,255,.45)}
.btn.danger{background: rgba(251,113,133,.12); border-color: rgba(251,113,133,.35)}
.btn:active{transform: translateY(1px)}
.input, select, textarea{
  width:100%; padding:12px 12px; border-radius:12px;
  border:1px solid var(--line); background: rgba(0,0,0,.22);
  color: var(--txt);
}
label{display:block; font-size:12px; color:var(--muted); margin:10px 0 6px}
.table{width:100%; border-collapse: collapse}
.table th,.table td{border-bottom:1px solid var(--line); padding:10px 6px; text-align:left}
.table th{color:#cfe0ff; font-size:12px}
.badge{font-size:12px; padding:4px 8px; border-radius:999px; border:1px solid var(--line); color:var(--muted)}
.fab{
  position:fixed; right:18px; bottom:18px;
  width:56px; height:56px; border-radius:999px;
  background: rgba(77,163,255,.25);
  border:1px solid rgba(77,163,255,.55);
  display:flex; align-items:center; justify-content:center;
  font-size:28px; font-weight:900; color:var(--txt);
}
.flash{margin:10px 0; padding:10px 12px; border-radius:12px; border:1px solid var(--line)}
.flash.ok{border-color: rgba(45,212,191,.45); background: rgba(45,212,191,.10)}
.flash.err{border-color: rgba(251,113,133,.45); background: rgba(251,113,133,.10)}
.req{color:var(--bad); font-weight:800; margin-left:4px}

/* Foto Bereich */
.drop{
  border: 1px dashed rgba(255,255,255,.20);
  border-radius:16px;
  padding:14px;
  text-align:center;
}
.drop.drag{border-color: rgba(77,163,255,.75); background: rgba(77,163,255,.08)}
.photo{
  width:100%;
  max-height: 420px;
  object-fit: contain;
  display:block;
  margin: 10px auto 0;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
}

.actions{
  position: sticky;
  bottom: 10px;
  display:flex;
  gap:10px;
  padding:10px;
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 14px;
}
.actions .btn{flex:1}
.small{font-size:12px}
