/* Inter, lokal ausgeliefert.
   SIL Open Font License 1.1 — Weitergabe ausdruecklich erlaubt. Lokal statt
   ueber Google Fonts, weil das Einbinden von dort die IP-Adresse jedes
   Besuchers in die USA uebertraegt (LG Muenchen I, 3 O 17493/20). */
@font-face {
  font-family: "InterVariable";
  src: url("/schriften/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Napf — gemeinsame Gestaltung für Landing, Datenschutz und Impressum.
   Dieselben acht Farben wie in der App, Creme-Variante. */

:root {
  --ink: #172636;
  --green: #1e5348;
  --cream: #f3efe6;
  --paper: #fbf9f5;
  /* Die Fläche, auf der Inhalt steht. In der App ist alles eine Kachel auf
     ruhigem Grund; die Webseite hatte stattdessen Text direkt auf dem Grund. */
  --surface: #ffffff;
  --schatten: 0 1px 2px rgba(23,38,54,.05), 0 8px 24px rgba(23,38,54,.06);
  --line: rgba(23, 38, 54, 0.12);
  --muted: rgba(23, 38, 54, 0.62);
  --red: #d22d1e;
  --pos: #3daf8b;
  --info: #2d9cdb;
  --star: #e8b833;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "InterVariable", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); background: var(--surface); }
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 25px; height: 25px; color: var(--green); }
.back { font-size: 14px; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--green); }

main { padding: 40px 0 60px; }

h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  text-wrap: balance;
}
.lead { color: var(--muted); font-size: 14px; margin: 0 0 30px; }

/*
 * Abschnittsüberschrift.
 *
 * Stand auf 16 px — genau der Größe des Fließtextes. „Wie es abläuft" war von
 * einem Absatz nicht zu unterscheiden, und wer die Seite überfliegt, findet
 * dann keinen Halt. Eine Überschrift, die nicht heraussticht, ist keine.
 */
h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.015em; margin: 36px 0 10px; }
h3 { font-size: 14.5px; font-weight: 600; margin: 20px 0 6px; }
p { margin: 0 0 12px; font-size: 15px; }
ul { margin: 0 0 14px; padding-left: 20px; font-size: 15px; }
li { margin-bottom: 5px; }

.addr {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
}
.muted { color: var(--muted); font-size: 13.5px; }

.kasten {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 16px;
  font-size: 14.5px;
}

table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 16px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.tabelle-huelle { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding: 22px 0 44px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--green); }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1ede4;
    --green: #57bd9c;
    --cream: #212b2d;
    --paper: #12181a;
    --surface: #1a2225;
    --schatten: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.26);
    --line: rgba(241, 237, 228, 0.14);
    --muted: rgba(241, 237, 228, 0.62);
  }
  .addr, .kasten { background: #1a2225; }
}

/* ============================================================
   Kacheln
   Dieselbe Logik wie in der App: Was zusammengehört, steht auf
   einer eigenen Fläche. Vorher lief der Text über die ganze
   Seite und alles sah gleich wichtig aus.
   ============================================================ */
.kachel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 18px;
  box-shadow: var(--schatten);
}
.kachel > :first-child { margin-top: 0; }
.kachel > :last-child { margin-bottom: 0; }
.kachel h2 { margin-top: 0; }

/* Der Abschluss vor dem Kontakt: der einzige grüne Block der Seite,
   damit er der einzige ist, den man ansteuert. */
.abschluss {
  background: var(--green);
  color: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  margin: 34px 0 40px;
  text-align: center;
}
.abschluss h2 { color: #fff; margin: 0 0 6px; }
.abschluss p { color: rgba(255, 255, 255, 0.82); margin: 0 0 18px; }
