/*
 * Eine Datei, keine Abhängigkeiten.
 *
 * Bewusst ohne Google Fonts, ohne CDN, ohne eingebettete Karten und ohne
 * Analytics: Jede dieser Einbindungen schickt die IP-Adresse des Besuchers an
 * einen Dritten, noch bevor er die Datenschutzerklärung gelesen hat. Bei Google
 * Fonts ist genau das schon abgemahnt worden. Die Seite lädt deshalb nichts
 * nach — was hier steht, kommt vom eigenen Server.
 *
 * Schriften: die des Betriebssystems. Sieht auf jedem Gerät nach diesem Gerät
 * aus und kostet keinen einzigen Ladevorgang.
 */

:root {
  --bg: #0f1216;
  --bg-soft: #171b21;
  --line: #262c35;
  --text: #e6e9ee;
  --muted: #9aa4b2;
  --accent: #ff9f43;
  --accent-soft: rgba(255, 159, 67, 0.12);
  --radius: 14px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfbfc;
    --bg-soft: #ffffff;
    --line: #e2e5ea;
    --text: #1a1d22;
    --muted: #5d6774;
    --accent: #c96a05;
    --accent-soft: rgba(201, 106, 5, 0.09);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

/* Kopf ------------------------------------------------------------------- */

header.site {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

nav.site a:hover,
nav.site a:focus-visible {
  color: var(--text);
}

/* Aufmacher --------------------------------------------------------------- */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 34em;
}

/* Inhalt ------------------------------------------------------------------ */

main {
  padding: 56px 0 40px;
}

section + section {
  margin-top: 56px;
}

h2 {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

h3 {
  font-size: 1.08rem;
  margin: 32px 0 8px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

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

.muted {
  color: var(--muted);
}

small {
  font-size: 0.87rem;
}

/* Karten ------------------------------------------------------------------ */

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards li {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.cards h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Download ---------------------------------------------------------------- */

.download {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #12151a;
  font-weight: 650;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 10px;
  border: 0;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08);
}

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.note p:last-child {
  margin-bottom: 0;
}

/* Rechtstexte ------------------------------------------------------------- */

.legal h1 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  margin-top: 44px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.legal dl {
  margin: 0 0 16px;
}

.legal dt {
  font-weight: 600;
  margin-top: 14px;
}

.legal dd {
  margin: 2px 0 0;
  color: var(--muted);
}

/*
 * Platzhalter, die nicht online gehen dürfen.
 *
 * Absichtlich grell: Ein vergessenes „[DEIN NAME]" im Impressum ist kein
 * Schönheitsfehler, sondern ein fehlendes Impressum.
 */
.todo {
  background: #b3261e;
  color: #fff;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* Fuß --------------------------------------------------------------------- */

footer.site {
  border-top: 1px solid var(--line);
  padding: 30px 0 50px;
  color: var(--muted);
  font-size: 0.92rem;
}

footer.site a {
  color: var(--muted);
  margin-right: 16px;
}

footer.site a:hover {
  color: var(--text);
}
