/* ---------- Werte ---------- */
:root {
  --teal: #156480;
  --teal-hell: #1a7a9c;
  --teal-tief: #0e4a60;
  --rost: #9c4e36;
  --gold: #bfb542;
  --anthrazit: #404749;
  /* Anthrazit #404749 auf Gold ergibt nur 4,47:1; für Zahlen auf Gold minimal dunkler (4,91:1). */
  --anthrazit-auf-gold: #3a4143;
  --warmgrau: #82796e;
  --warmgrau-text: #6e675e;
  --weiss: #ffffff;
  --papier: #f9f7f4;
  --teal-t8: #ecf3f5;
  --rost-t8: #f7f1ef;
  --teal-07: rgba(21, 100, 128, 0.07);
  --teal-15: rgba(21, 100, 128, 0.15);
  --teal-40: rgba(21, 100, 128, 0.4);
  --warmgrau-40: rgba(130, 121, 110, 0.4);
  --dunkel-flaeche: #1e2629;
  --dunkel-text: #e6e9e9;
  --dunkel-gedaempft: #98a19f;
  --dunkel-rand: rgba(255, 255, 255, 0.16);
  --dunkel-teal-stark: rgba(21, 100, 128, 0.38);
  --code-schluessel: #4d9cbc;
  --code-zahl: #bfb542;
  --code-text: #c17d67;
  --code-kommentar: #98a19f;
  --verlauf: linear-gradient(135deg, #1a7a9c 0%, #156480 52%, #0e4a60 100%);
  --schatten: 0 4px 14px rgba(64, 71, 73, 0.08);
  --schrift: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fokus: #0e4a60;
  --bewegung: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--papier);
  color: var(--anthrazit);
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--teal);
}
a:hover {
  color: var(--teal-tief);
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3 {
  margin: 0;
}
/* Überschriften bekommen den Fokus nur, damit Vorleseprogramme an der richtigen Stelle weiterlesen
   (tabindex="-1"). Anklicken kann man sie nicht, darum ohne Rahmen. */
h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 2px;
}
button,
input,
textarea {
  font-family: inherit;
}
.nur-vorleser {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
