:root {
  --nacht: #121512; --nacht-2: #1c211b; --ink: #1b1f24; --muted: #6b7280; --line: #e3e6ea;
  --bg: #f4f5f2; --card: #fff; --gruen: #2f7d4f; --gruen-hell: #e9f2ea; --rot: #c42b2b;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--gruen); }
.top { background: var(--nacht); color: #fff; }
.top .in { max-width: 1100px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.logo { font-weight: 800; letter-spacing: .14em; font-size: 14px; }
.top .sub { color: #b9c2b4; font-size: 13px; }
.top .sp { flex: 1; }
.hero { background: linear-gradient(180deg, var(--nacht) 0, var(--nacht-2) 100%); color: #fff; }
.hero .in { max-width: 1100px; margin: 0 auto; padding: 22px 16px 34px; }
.hero h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; font-weight: 800; }
.hero h1 em { font-style: normal; color: #9fd3a8; }
.hero p { margin: 0; color: #c9d1c4; max-width: 640px; }
main.wrap { max-width: 1100px; margin: -18px auto 40px; padding: 0 16px; }
.card { background: var(--card); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 20px; margin-bottom: 18px; }
.card h2 { margin: 0 0 12px; font-size: 18px; }
.btn { appearance: none; border: 0; border-radius: 8px; background: var(--gruen); color: #fff; font: inherit; font-weight: 700; padding: 11px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn.dunkel { background: var(--nacht-2); }
.btn.klein { padding: 6px 10px; font-size: 13px; font-weight: 600; }
.btn.rot { background: var(--rot); }
.btn:disabled { opacity: .5; cursor: default; }
.aktionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.aktion { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.aktion:hover { border-color: var(--gruen); background: var(--gruen-hell); }
.aktion b { display: block; font-size: 16px; margin-bottom: 4px; }
.aktion span { color: var(--muted); font-size: 13px; }
.aktion.haupt { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.aktion.haupt span { color: #dcefe0; }
.aktion.haupt:hover { filter: brightness(1.08); background: var(--gruen); }
.live { display: none; margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--gruen-hell); align-items: center; gap: 12px; flex-wrap: wrap; }
.live.an { display: flex; }
.live video { width: 160px; border-radius: 6px; background: #000; }
.live .txt { flex: 1; min-width: 200px; font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; }
.liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.eintrag { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.eintrag img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; background: #eef0ec; display: block; cursor: zoom-in; }
.eintrag .b { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.eintrag .t { font-weight: 700; }
.eintrag .n { color: #3d434a; font-size: 14px; white-space: pre-wrap; }
.eintrag .m { color: var(--muted); font-size: 12px; margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #eef0ec; color: #3d434a; }
.badge.ok { background: var(--gruen-hell); color: var(--gruen); }
.badge.err { background: #fbe9e9; color: var(--rot); }
.leer { color: var(--muted); padding: 10px 0; }
.overlay { position: fixed; inset: 0; z-index: 50; background: #f6f7f9; }
.zoom { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--nacht); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 70; font-size: 14px; }
input, select, textarea { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 13px; }
.fehlerbox { background: #fbe9e9; color: var(--rot); padding: 14px; border-radius: 10px; }
@media (max-width: 640px) { .hero h1 { font-size: 23px; } .live video { width: 100%; } }
