/* Admin-Bereich – CI Baumpaten Deutschland */
:root { --gruen:#155B2F; --orange:#E97926; --mint:#ECF9F3; --ink:#1A1A1A; --grau:#6B7280; --linie:#DDE5E0; --rot:#B42318; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.5 Barlow, system-ui, sans-serif; color:var(--ink); background:#F6F8F7; }
a { color:var(--gruen); }
header.kopf { background:var(--gruen); color:#fff; }
header.kopf .innen { max-width:1180px; margin:0 auto; padding:12px 16px; display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
header.kopf strong { font-weight:800; margin-right:auto; }
header.kopf a { color:#fff; text-decoration:none; font-weight:600; opacity:.9; }
header.kopf a:hover { opacity:1; text-decoration:underline; }
main { max-width:1180px; margin:0 auto; padding:24px 16px 60px; }
h1 { font-size:1.6rem; margin:0 0 16px; font-weight:800; }
h2 { font-size:1.15rem; margin:28px 0 10px; font-weight:700; }
.meldung { background:var(--mint); border-left:4px solid var(--gruen); padding:10px 14px; margin-bottom:18px; }
.warn { background:#FFF4E5; border-left:4px solid var(--orange); padding:10px 14px; margin:10px 0; }
.karte { background:#fff; border:1px solid var(--linie); border-radius:10px; padding:18px; margin-bottom:18px; }
table { width:100%; border-collapse:collapse; background:#fff; }
th, td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--linie); vertical-align:top; }
th { font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; color:var(--grau); background:#fafbfa; }
.tabelle { overflow-x:auto; border:1px solid var(--linie); border-radius:10px; }
.raster { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px 18px; }
label { display:block; font-weight:600; font-size:.85rem; margin-bottom:3px; }
input[type=text], input[type=email], input[type=number], input[type=password], input[type=datetime-local], input[type=search], select, textarea {
  width:100%; padding:8px 10px; border:1px solid #C9D3CD; border-radius:6px; font:inherit; background:#fff; }
textarea { min-height:80px; }
.btn { display:inline-block; border:0; border-radius:60px; padding:9px 18px; font:inherit; font-weight:700; cursor:pointer;
  background:var(--orange); color:#fff; text-decoration:none; }
.btn:hover { background:#CF6215; }
.btn.gruen { background:var(--gruen); }
.btn.hell { background:#fff; color:var(--gruen); border:1px solid var(--gruen); }
.btn.rot { background:var(--rot); }
.zeile { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.badge { display:inline-block; padding:1px 8px; border-radius:20px; font-size:.78rem; font-weight:700; background:var(--mint); color:var(--gruen); }
.badge.aus { background:#FDECEC; color:var(--rot); }
.badge.gelb { background:#FFF4E5; color:#9A4A00; }
.klein { font-size:.85rem; color:var(--grau); }
.fotos { display:grid; grid-template-columns:repeat(auto-fill, minmax(160px,1fr)); gap:12px; }
.fotos figure { margin:0; background:#fff; border:1px solid var(--linie); border-radius:8px; overflow:hidden; }
.fotos img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.fotos figcaption { padding:6px 8px; font-size:.8rem; display:flex; justify-content:space-between; gap:6px; align-items:center; }
iframe.pdf { width:100%; height:520px; border:1px solid var(--linie); border-radius:8px; background:#fff; }
pre.log { background:#111; color:#ddd; padding:12px; border-radius:8px; overflow:auto; max-height:420px; font-size:12px; }
.login { max-width:360px; margin:10vh auto; }
