/* The public pages (site/build.py) in the app's look (docs/Fachkonzepte/styleguide.md, petrol). */
:root {
  --bg: #F4F8F9;
  --surface: #FFFFFF;
  --text: #10262B;
  --muted: #4A5F64;
  --line: #D5E3E6;
  --primary: #0F6E86;
  --on-primary: #FFFFFF;
  --danger: #C92A2A;
  --warn-bg: #FBE3D6;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1A1D;
    --surface: #16272B;
    --text: #E3F0F2;
    --muted: #9DB5BA;
    --line: #24383D;
    --primary: #5CC3DA;
    --on-primary: #06262E;
    --danger: #FF6B6B;
    --warn-bg: #4A2A1C;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--primary); }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand { font-weight: 600; color: var(--text); text-decoration: none; }

.button {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 500;
}

.main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 24px; }

.text h1 { font-size: 1.6rem; line-height: 1.25; margin-top: 0; }
.text h2 { margin-top: 1.8em; font-size: 1.15rem; }
.text h3 { margin-bottom: 0.2em; font-size: 1rem; }
.lead { font-size: 1.1rem; }
.muted { color: var(--muted); }
.missing { color: var(--danger); }

.banner {
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--warn-bg);
}

.footer {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
