/* Notvorrat – Website
   Bewusst eine einzige, kleine Stildatei ohne Abhängigkeiten: die Seiten müssen
   nur zuverlässig erreichbar und lesbar sein. Es werden ausdrücklich KEINE
   externen Ressourcen geladen – eingebundene Google Fonts sind in Deutschland
   abmahnungsrelevant. Das muss so bleiben. */

:root {
  --ink: #14261c;
  --ink-soft: #4d6157;
  --line: #dde6e0;
  --surface: #ffffff;
  --background: #f4f7f5;
  --brand: #14703a;
  --accent: #2f9e57;
  --warn: #8a5a12;
  --radius: 14px;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef4f0;
    --ink-soft: #a6b8ae;
    --line: #27352d;
    --surface: #131c17;
    --background: #0b120e;
    --brand: #6fc98d;
    --accent: #3fc462;
    --warn: #e0b062;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--background);
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Schild mit Füllstand – dasselbe Motiv wie das App-Icon, als Inline-SVG. */
.mark { width: 34px; height: 34px; flex: none; display: block; }

.wordmark {
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

nav.site { margin-left: auto; display: flex; gap: 1rem; flex-wrap: wrap; }
nav.site a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
nav.site a:hover { color: var(--brand); }

h1 { font-size: 1.9rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 0.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.35rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

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

.lede { font-size: 1.1rem; color: var(--ink-soft); }

.meta { color: var(--ink-soft); font-size: 0.9rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1.25rem 0;
}

.card h2, .card h3 { margin-top: 0; }

/* Für Sicherheitshinweise, die nicht übersehen werden dürfen. */
.card.warn {
  border-left: 4px solid var(--warn);
}

.placeholder {
  background: rgba(240, 173, 78, 0.16);
  border-radius: 5px;
  padding: 0 0.25rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin: 0 0 1rem;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { font-weight: 600; }

address { font-style: normal; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.87rem;
}

footer.site .wrap { padding: 1.5rem 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); }
