@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #05070d; --panel: #0b111d; --panel-2: #101827;
  --line: rgba(130, 170, 225, .17); --line-strong: rgba(110, 196, 232, .42);
  --blue: #2c7cd2; --blue-bright: #3491e9; --cyan: #6ec4e8;
  --text: #e8edf5; --muted: #a2afc2; --ok: #58d6a6; --warn: #f0b95a; --bad: #f08a8a;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.55 var(--body); }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 .6rem; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1.05rem; }

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(.6rem + env(safe-area-inset-top)) 1rem .6rem; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
.marke { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font: 600 1rem var(--display); }
.navigation { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .95rem; }
.inhalt { max-width: 760px; margin: 0 auto; padding: 1rem 1rem calc(2rem + env(safe-area-inset-bottom)); }
.karte { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; margin: 0 0 1rem; }
.schmal { max-width: 420px; margin-inline: auto; }
.gedaempft { color: var(--muted); }
.klein { font-size: .875rem; }

.formular { display: grid; gap: .85rem; }
.formular label { display: grid; gap: .3rem; font-size: .95rem; }
input, textarea, select { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: .65rem .75rem; }
input[type="checkbox"], input[type="radio"] { width: 1.25rem; height: 1.25rem; flex: none; }
.haken { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }

.knopf { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .6rem 1.1rem; font: 600 1rem var(--body); color: #fff; background: var(--blue); border: 0; border-radius: 6px; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--blue-bright); }
.knopf-still { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.knopf-warnung { background: #a33d3d; }

.meldung { padding: .7rem .85rem; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--panel-2); margin: 0 0 1rem; }
.meldung-fehler { border-color: var(--bad); color: var(--bad); }
.meldung-ok { border-color: var(--ok); color: var(--ok); }
.meldung-warnung { border-color: var(--warn); color: var(--warn); }

.status { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--cyan); }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.zeile { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.tabelle-rahmen { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .5rem; }
.fotos img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; }
.unterschrift { width: 100%; height: 180px; background: #fff; border-radius: 6px; touch-action: none; display: block; }
