/* desktop.geobim.app: Impressum, Datenschutz, Kontakt and the PHP result
   pages. Colours from the landing page, system fonts only (no external files). */
:root {
  --ground: #0b0f14;
  --surface: #121821;
  --line: #223040;
  --text: #e6edf3;
  --muted: #8b949e;
  --teal: #2ecfb0;
  --teal-ink: #0b1a17;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 20px;
  background: var(--ground);
  color: var(--text);
  font: 400 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 760px; margin-inline: auto; }
.top { padding: 28px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.brand { color: #8e99a8; font-weight: 600; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--teal); }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; margin: 0 0 24px; }
h2 { font-size: 1.25rem; margin: 40px 0 12px; }
h3 { font-size: 1.05rem; margin: 24px 0 8px; }
p, ul, address { margin: 0 0 14px; }
address { font-style: normal; }
ul { padding-left: 1.3em; }
li { margin-bottom: 4px; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: #6fe3cc; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.muted { color: var(--muted); }
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  background: var(--surface);
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 18px;
}
.button {
  display: inline-block;
  min-height: 44px;
  padding: 11px 20px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: var(--teal-ink);
  font: 600 1rem/1.4 inherit;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #4fdcbf; color: var(--teal-ink); }

/* Forms */
form { display: grid; gap: 16px; margin-top: 8px; }
label { display: grid; gap: 6px; font-weight: 500; }
input[type=text], input[type=email], textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding: 20px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--teal); }

@media (prefers-reduced-motion: no-preference) {
  a, .button { transition: color .15s, background-color .15s; }
}

/* Admin page (/admin/) */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 10px 0; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; min-height: 44px; }
.tabs a.active { color: var(--text); border-bottom-color: var(--teal); }
.tabs .count { font-size: 0.85em; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; white-space: nowrap; }
td.actions { white-space: nowrap; }
.ok { color: var(--teal); }
form.inline { display: inline; margin: 0 4px 0 0; }
button.small {
  min-height: 32px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 0.85rem; cursor: pointer;
}
button.small:hover { border-color: var(--teal); }
.message { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 12px 16px; margin-bottom: 12px; }
.message .text { margin: 10px 0; white-space: normal; }
@media (max-width: 768px) { button.small { min-height: 44px; } }
