/* Bibliothek von Alexandria 2.0 – helles Theme: Katalogkarten, Schreibmaschine, Bibliotheksgrün, Stempelrot */
@font-face{font-family:"Special Elite";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/special-elite-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-weight:400;font-style:italic;font-display:swap;src:url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-weight:700;font-style:normal;font-display:swap;src:url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:600;font-style:normal;font-display:swap;src:url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2")}
:root{
  --bg:#e7ebf1; --surface:#ffffff; --surface-2:#eef1f6; --line:#c3cbd9;
  --paper:#fbf6e6; --paper-edge:#e2d6ae; --ink:#1b2340;
  --text:#1b2340; --muted:#566079;
  --accent:#1f7a57; --on-accent:#ffffff; --accent-dim:#d6eee3;
  --alert:#c2332b; --on-alert:#ffffff; --alert-dim:#f7dcd9;
  --warn:#9a6a00; --warn-dim:#fbefcf;
  --code-bg:#fbf6e6; --code-fg:#1b2340; --editor-fg:#1b2340;
  --tape:rgba(194,51,43,.0); --intro-glow:#f6f8fc; --backdrop:rgba(27,35,64,.5);
  --font-display:"Special Elite","Courier New",monospace;
  --font-body:"Atkinson Hyperlegible","Segoe UI",system-ui,sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
  color-scheme:light;
}
/* Katalogkarte: rote Kopfzeile, Linien, Loch unten statt Klebeband */
.zettel{background-image:linear-gradient(to bottom,transparent 0,transparent 31px,#e0b4ae 31px,#e0b4ae 32px,transparent 32px),repeating-linear-gradient(to bottom,transparent 0,transparent 25px,#c9d6e6 25px,#c9d6e6 26px);background-position:0 0,0 40px;background-color:var(--paper)}
.zettel::after{content:"";position:absolute;left:50%;bottom:7px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:var(--bg);box-shadow:inset 0 1px 2px rgba(27,35,64,.35)}
h1,h2,h3,.brand-name{letter-spacing:.01em}
/* Bücherregal */
.board{fill:#8a6a45}
.slot{fill:none;stroke:var(--line);stroke-width:1.2;stroke-dasharray:3 3}
.book.b0{fill:#1f7a57}.book.b1{fill:#c2332b}.book.b2{fill:#2f4b8a}.book.b3{fill:#b8860b}.book.b4{fill:#6b3f7a}
.book.just-shelved{animation:shelve .7s ease-out 1}
@keyframes shelve{0%{transform:translateY(-14px);opacity:0}100%{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.book.just-shelved{animation:none}}
