/* Farben nach Steiner (GA 291): die Fläche aus Bildfarben – Weiß, Pfirsichblüt, Grün, Schwarz –,
   die Glanzfarben Gelb, Rot, Blau nur dort, wo etwas hervorleuchten soll. Tiefe durch Farbe, nicht durch Schatten. */
:root {
  --bg: #f8f1ea; --fg: #2a2522; --muted: #6f6359; --line: rgba(120, 90, 70, .18);
  --peach: #efcfc4; --green: #d5e3cf; --white: #fbf7f1;
  --glow-yellow: #e2b23a; --glow-red: #b8432a; --glow-blue: #2f4b86;
  --accent: #9c3a22; --code: rgba(255, 255, 255, .55);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18192a; --fg: #efe7de; --muted: #b3a89b; --line: rgba(239, 207, 196, .16);
    --peach: #4a3340; --green: #22362f; --white: #202238;
    --glow-yellow: #f0c75a; --glow-red: #e0714f; --glow-blue: #8fa6e0;
    --accent: #f0a582; --code: rgba(255, 255, 255, .07);
  }
}
* { box-sizing: border-box; }
body { margin: 0; background-color: var(--bg); color: var(--fg); font: 17px/1.6 Georgia, "Iowan Old Style", serif; }
main { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }
header { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
header img { width: 96px; height: 96px; border-radius: 50%; filter: sepia(.25); flex: none; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 4px; font-weight: normal; }
h2 { font-size: 1.15rem; margin: 40px 0 8px; font-family: system-ui, sans-serif; letter-spacing: .02em; }
p.lead { margin: 0; color: var(--muted); }
code, pre { font: 14px/1.5 ui-monospace, Menlo, monospace; background: var(--code); border-radius: 4px; }
code { padding: 1px 5px; }
pre { padding: 12px 14px; overflow-x: auto; }
a { color: var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
td { border-top: 1px solid var(--line); padding: 6px 8px 6px 0; vertical-align: top; }
td:first-child { white-space: nowrap; }
footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
nav.crumbs { font: 14px system-ui, sans-serif; color: var(--muted); margin-bottom: 24px; }
nav.crumbs a { color: var(--muted); }
.alt { font: 13px system-ui, sans-serif; color: var(--muted); }
.page { font: 12px system-ui, sans-serif; color: var(--muted); margin-right: 6px; user-select: none; }
.text p { margin: 0 0 1em; }
ol.toc { padding-left: 1.4em; } ol.toc li { margin: 4px 0; }
.meta { color: var(--muted); font-size: 15px; }
body.home { min-height: 100vh; display: flex; flex-direction: column; }
body.home main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 32px; }
img.portrait { width: min(300px, 64vw); height: auto; aspect-ratio: 639 / 702; object-fit: cover; filter: sepia(.25) contrast(1.02); mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 62%, transparent 100%); }
@media (prefers-color-scheme: dark) { img.portrait { mix-blend-mode: normal; filter: sepia(.25) brightness(.92); } }
body.home h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); margin: 28px 0 24px; }
form[role=search] { display: flex; gap: 8px; width: min(560px, 100%); }
form[role=search] input { flex: 1; min-width: 0; font: 18px Georgia, serif; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--code); color: var(--fg); backdrop-filter: blur(6px); }
form[role=search] input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
form[role=search] button { font: 16px system-ui, sans-serif; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--glow-red); color: #fff7ef; cursor: pointer; }
form[role=search] button:hover { background: color-mix(in srgb, var(--glow-red) 85%, var(--glow-yellow)); }
footer.mini { text-align: center; padding: 16px; font: 13px system-ui, sans-serif; color: var(--muted); border: 0; margin: 0; }
footer.mini a { color: var(--muted); }
.result { margin: 0 0 28px; }
.result blockquote { margin: 0 0 6px; padding: 0 0 0 14px; border-left: 3px solid var(--line); }
.result mark { background: color-mix(in srgb, var(--glow-yellow) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.result .ref { font: 14px system-ui, sans-serif; color: var(--muted); }
.searchbar { margin-bottom: 24px; }

/* „Die Wand ist nicht bloß Wand, sie ist lebendig“ (GA 286): ein Hintergrund aus durchscheinenden Farbschichten
   wie Lasur, der sich langsam bewegt. Bei reduzierter Bewegung steht er still. */
body::before { content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 22% 28%, var(--peach) 0%, transparent 70%),
    radial-gradient(45% 40% at 80% 72%, var(--green) 0%, transparent 70%),
    radial-gradient(35% 30% at 70% 18%, color-mix(in srgb, var(--glow-yellow) 18%, transparent) 0%, transparent 70%),
    radial-gradient(50% 45% at 30% 85%, color-mix(in srgb, var(--glow-blue) 10%, transparent) 0%, transparent 70%),
    var(--white);
  filter: blur(30px); animation: lasur 60s ease-in-out infinite alternate; }
@keyframes lasur { from { transform: translate(0, 0) rotate(0deg) scale(1); } to { transform: translate(-4%, 3%) rotate(6deg) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
td { border-top-color: var(--line); }
footer { border-top-color: var(--line); }
