/* duundi-site – gemeinsames Stylesheet für alle Seiten.
   Handy zuerst; dunkel als Grundton, wie die App. */

:root {
  color-scheme: dark;
  --grund:  #0f1115;
  --karte:  #161920;
  --linie:  #2a2d34;
  --text:   #e8eaed;
  --leise:  #9aa0a6;
  --akzent: #7cc4a4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: var(--grund);
  color: var(--text);
}

/* ── Kopfzeile ─────────────────────────────────────────────── */

.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--linie);
}

.kopf .name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.kopf nav a {
  color: var(--leise);
  text-decoration: none;
  font-size: .95rem;
  padding: .35rem .7rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
}

.kopf nav a:hover,
.kopf nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--akzent);
}

/* ── Inhalt ────────────────────────────────────────────────── */

main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .75rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.5rem 0 .75rem;
}

p { margin: 0 0 1rem; }

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

.gross { font-size: 1.15rem; }

/* Ein Kasten für einen Rubrik-Hinweis oder eine Anleitung. */
.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
  margin: 0 0 1.25rem;
}

.karte h2 { margin-top: 0; }

/* Grosser Knopf, der auf eine andere Seite führt. */
.knopf {
  display: inline-block;
  margin-top: .5rem;
  padding: .7rem 1.3rem;
  border: 1px solid var(--akzent);
  border-radius: 999px;
  color: var(--akzent);
  text-decoration: none;
  font-size: 1rem;
}

.knopf:hover {
  background: var(--akzent);
  color: var(--grund);
}

/* ── Fusszeile ─────────────────────────────────────────────── */

.fuss {
  border-top: 1px solid var(--linie);
  padding: 1rem 1.25rem 2rem;
  color: var(--leise);
  font-size: .85rem;
  text-align: center;
}

.fuss [data-version] {
  font-variant-numeric: tabular-nums;
}
