/* fabrilis – Startseite. Ruhig: ein Satz, weiche Farbflächen, feines Korn. */
:root {
  --bg: #f3f1ec; --text: #22262b; --muted: #7a7f86; --accent: #2f6f5e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1214; --text: #e9e7e2; --muted: #8b9096; --accent: #5fae95; }
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--text); overflow: hidden;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
#bg {
  position: fixed; inset: -10%; width: 120%; height: 120%;
  filter: blur(60px) saturate(115%); opacity: 0; transition: opacity 2.4s ease;
}
#bg.ready { opacity: 1; }
/* Feines Korn gegen Farbstufen und für etwas Papiergefühl */
.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main {
  position: relative; min-height: 100%; display: grid; place-items: center;
  padding: 24px; text-align: center;
}
blockquote {
  font-size: clamp(1.45rem, 3.6vw, 2.9rem); font-weight: 400; font-style: italic;
  letter-spacing: .015em; line-height: 1.15;
  opacity: 0; transform: translateY(6px); animation: in 2.2s cubic-bezier(.2,.7,.2,1) .4s forwards;
}
/* Anriss wie in der Werkstatt: ein feiner Strich, der sich von der Mitte aus zieht */
.rule {
  display: block; width: clamp(40px, 6vw, 72px); height: 1px; margin: 1.6rem auto 0;
  background: var(--muted); opacity: .6; transform: scaleX(0);
  animation: draw 1.8s cubic-bezier(.6,0,.2,1) 1.6s forwards;
}
@keyframes draw { to { transform: scaleX(1); } }
.since {
  margin-top: 1.1rem; color: var(--muted);
  font-size: clamp(.68rem, 1.2vw, .8rem); letter-spacing: .32em; text-transform: uppercase;
  font-variant-numeric: lining-nums;
  opacity: 0; animation: in 2s ease 3.1s forwards;
}
footer {
  position: fixed; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center;
  align-items: center; gap: 8px; color: var(--muted); letter-spacing: .08em;
  font: 500 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  opacity: 0; animation: in 2s ease 2.2s forwards;
}
.mark { width: 12px; height: 12px; border-radius: 4px; background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3.5px var(--accent); }
@keyframes in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  blockquote, .since, footer { animation: none; opacity: 1; transform: none; }
  .rule { animation: none; transform: none; }
  #bg { transition: none; }
}
