:root { --tinte: #1f1f1f; --leise: #6b6b6b; --linie: #e3e3e3; --flaeche: #f6f6f6; --chili: #d62828; --rose: #e8647c; --ok: #2f7d4f; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--tinte); background: var(--flaeche); line-height: 1.45; }
a { color: var(--chili); }
.kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--linie); }
.kopf .logo img { height: 48px; display: block; }
.kopf nav a { margin-left: 18px; text-decoration: none; color: var(--tinte); font-weight: 600; }
.inhalt { max-width: 1100px; margin: 32px auto; padding: 0 20px; }
.inhalt.schmal { max-width: 520px; }
.fuss { display: flex; gap: 22px; justify-content: center; padding: 28px 20px 40px; color: var(--leise); font-size: 14px; flex-wrap: wrap; }
.fuss a { color: var(--leise); }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 24px 26px; margin-bottom: 20px; }
.karte.text { max-width: 800px; }
h1 { font-size: 26px; margin: 0 0 10px; font-weight: 700; }
h2 { font-size: 19px; margin: 0 0 12px; }
.leise { color: var(--leise); }
.klein { font-size: 13px; }
label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=datetime-local] { width: 100%; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 8px; font-size: 16px; font-family: inherit; }
input.code { font-size: 26px; letter-spacing: 8px; text-align: center; }
button, .knopf { display: inline-block; margin-top: 16px; padding: 11px 18px; border: 0; border-radius: 8px; background: var(--chili); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none; }
button.klein { margin-top: 0; padding: 6px 10px; font-size: 13px; background: #fff; color: var(--tinte); border: 1px solid #cfcfcf; }
button.klein.rot { color: var(--chili); border-color: var(--chili); }
.hinweis { background: #fff4e5; border: 1px solid #f0c48a; border-radius: 10px; padding: 10px 16px; margin-bottom: 18px; }
.hinweis p { margin: 4px 0; }
.intro { width: 100%; border-radius: 10px; margin-bottom: 8px; background: #fff; }
.qr { text-align: center; margin: 12px 0; }
.qr img { width: 220px; height: 220px; image-rendering: pixelated; }
.schluessel { font-family: ui-monospace, Consolas, monospace; letter-spacing: 2px; word-break: break-all; background: var(--flaeche); padding: 8px 10px; border-radius: 6px; }
.schritte li { margin-bottom: 8px; }
details { margin: 8px 0 14px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.kachel { display: block; background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 20px 22px; text-decoration: none; color: var(--tinte); }
.kachel:hover { border-color: var(--chili); }
.kachel.aus { opacity: .55; }
.kachel h2 { margin-bottom: 4px; }
.kachel p { margin: 4px 0; }
form.zeile { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr auto; gap: 12px; align-items: end; }
form.zeile label { margin-top: 0; }
form.zeile button { margin-top: 0; white-space: nowrap; }
.gast { border-left: 5px solid #cfcfcf; }
.gast.offen { border-left-color: var(--ok); }
.gast.gesperrt { border-left-color: var(--chili); }
.gast-kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aktionen { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.aktionen form { margin: 0; }
.status { font-size: 14px; color: var(--leise); }
table { border-collapse: collapse; width: 100%; margin-top: 12px; font-size: 15px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
th { color: var(--leise); font-weight: 600; font-size: 13px; }
table.fenster input[type=datetime-local] { width: auto; padding: 6px 8px; font-size: 14px; }
table.fenster form { margin: 0; }
table.protokoll td { font-size: 14px; }
@media (max-width: 800px) { form.zeile { grid-template-columns: 1fr 1fr; } .kopf { padding: 10px 14px; } .kopf .logo img { height: 36px; } }
