:root {
  --messing: linear-gradient(160deg, #f1dc9f 0%, #d2ad5e 28%, #b48a3c 52%, #e2c47e 74%, #9d7631 100%);
  --holz: repeating-linear-gradient(91deg, rgba(0, 0, 0, .10) 0 2px, transparent 2px 7px, rgba(255, 220, 170, .05) 7px 9px, transparent 9px 15px),
          linear-gradient(180deg, #5c3a22, #42271a 55%, #352015);
  --goldschrift: #e4c682;
}

.verzeichnis {
  align-items: safe center; padding-top: 58px; padding-bottom: 24px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(214, 190, 120, .10), transparent 70%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .45) 100%),
    var(--gruen-tief);
}
.verzeichnis-innen.wegweiser {
  width: min(600px, 100%); padding: 13px; border-radius: 7px;
  background: var(--holz);
  box-shadow: 0 1px 0 rgba(255, 230, 190, .18) inset, 0 -2px 0 rgba(0, 0, 0, .35) inset, 0 30px 60px -24px rgba(0, 0, 0, .85), 0 4px 10px rgba(0, 0, 0, .4);
  transform: translateY(10px) scale(.985); transition: transform .45s var(--ease);
}
.verzeichnis.offen .wegweiser { transform: none; }
.ww-tafel {
  position: relative; padding: 22px clamp(16px, 4vw, 34px) 16px; border-radius: 3px; color: var(--goldschrift);
  background:
    radial-gradient(circle at 12px 12px, #e6c77f 0 2.4px, #6b4e1d 3px, transparent 3.8px),
    radial-gradient(circle at calc(100% - 12px) 12px, #e6c77f 0 2.4px, #6b4e1d 3px, transparent 3.8px),
    radial-gradient(circle at 12px calc(100% - 12px), #e6c77f 0 2.4px, #6b4e1d 3px, transparent 3.8px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #e6c77f 0 2.4px, #6b4e1d 3px, transparent 3.8px),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 255, 255, .06), transparent 70%),
    linear-gradient(180deg, #13261f, #0c1a15);
  box-shadow: inset 0 0 0 1px rgba(228, 198, 130, .35), inset 0 0 0 5px #0c1a15, inset 0 0 0 6px rgba(228, 198, 130, .22), inset 0 8px 24px rgba(0, 0, 0, .5);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
}
.verzeichnis .wegweiser h2 { display: grid; gap: 2px; margin: 0 0 12px; font-style: normal; text-align: center; color: var(--goldschrift); }
.ww-titel { font-family: var(--f-titel); font-size: clamp(1.9rem, 6vw, 2.5rem); line-height: 1; font-variant: small-caps; letter-spacing: .08em; background: linear-gradient(180deg, #f6e3aa, #d5b062 55%, #b08a42); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7)); }
.ww-unter { font-family: var(--f-titel); font-style: italic; font-size: 1.05rem; color: rgba(228, 198, 130, .72); letter-spacing: .04em; }
.ww-stock h3 {
  display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; font-family: var(--f-text); font-weight: 500;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(228, 198, 130, .66);
}
.ww-stock h3::before, .ww-stock h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(228, 198, 130, .4), transparent); }
.verzeichnis .wegweiser ol { counter-reset: none; }
.verzeichnis .wegweiser li a { position: relative; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 5px 8px; border-radius: 3px; color: #f1e6cb; font-size: 1.22rem; transition: background-color .2s, color .2s; }
.verzeichnis .wegweiser li a::before { content: none; }
.verzeichnis .wegweiser li a:hover, .verzeichnis .wegweiser li a:focus-visible { background: rgba(228, 198, 130, .09); color: var(--goldschrift); }
.verzeichnis .wegweiser li a:focus-visible { outline: 2px solid var(--goldschrift); outline-offset: 1px; }
.ww-nr {
  flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .3em; border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, #f7e6b0, #d0a957 48%, #8f6a2a 100%); color: #24190a; text-shadow: 0 1px 0 rgba(255, 240, 200, .55);
  font-family: var(--f-titel); font-size: .9rem; font-weight: 600; letter-spacing: .02em; line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .6), inset 0 -1px 1px rgba(80, 50, 10, .5);
}
.ww-name { font-family: var(--f-titel); }
.verzeichnis .wegweiser li a .punkte { min-width: 1em; border-bottom-color: rgba(228, 198, 130, .35); }
.verzeichnis .wegweiser li a .ru-klein { color: rgba(241, 230, 203, .58); }
.ww-hier { display: none; }
.verzeichnis .wegweiser li a[aria-current="page"] { background: linear-gradient(90deg, rgba(228, 198, 130, .16), rgba(228, 198, 130, .04)); color: var(--goldschrift); }
.verzeichnis .wegweiser li a[aria-current="page"] .ww-nr { box-shadow: 0 0 0 2px #0c1a15, 0 0 0 3px rgba(228, 198, 130, .8), 0 0 14px rgba(240, 210, 140, .45); }
.verzeichnis .wegweiser li a[aria-current="page"] .ww-hier {
  display: block; flex-basis: 100%; padding-left: calc(2.1rem + 12px); margin-top: -2px;
  font-family: var(--f-text); font-style: italic; font-size: .82rem; letter-spacing: .04em; color: rgba(228, 198, 130, .85);
}
.verzeichnis .wegweiser li a[aria-current="page"] .ww-hier::before { content: '☜ '; font-style: normal; }
.ww-eingang, .ww-auskunft { margin: 0; }
.ww-auskunft { margin-top: 16px !important; padding-top: 10px !important; border-top: 1px solid rgba(228, 198, 130, .22); }
.ww-auskunft li a { font-size: 1.05rem !important; }
.ww-auskunft .ww-nr { font-style: italic; }
@media (max-width: 520px) {
  .verzeichnis-innen.wegweiser { padding: 9px; }
  .verzeichnis .wegweiser li a { font-size: 1.12rem; column-gap: 10px; padding: 6px 4px; }
  .verzeichnis .wegweiser li a .ru-klein { display: none; }
  .ww-nr { min-width: 1.9rem; height: 1.9rem; font-size: .82rem; }
  .verzeichnis .wegweiser li a[aria-current="page"] .ww-hier { padding-left: calc(1.9rem + 10px); }
}

.tuerschild {
  position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 0 auto 18px; padding: 7px 30px 7px 30px;
  border-radius: 4px; background: var(--messing); color: #2a1d08; font-weight: 500; letter-spacing: .2em;
  text-shadow: 0 1px 0 rgba(255, 242, 205, .65);
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, .7), inset 0 -1px 0 rgba(90, 60, 15, .45), 0 0 0 1px rgba(110, 82, 32, .55), 0 6px 14px -8px rgba(60, 40, 10, .6);
}
.tuerschild::before, .tuerschild::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4cf, #a07a35 60%, #5d4314); box-shadow: inset 0 0 0 .5px rgba(60, 40, 10, .6);
}
.tuerschild::before { left: 11px; } .tuerschild::after { right: 11px; }
.tuerschild .ts-nr {
  display: inline-grid; place-items: center; min-width: 2.3em; padding: .28em .5em .22em; border-radius: 999px;
  background: radial-gradient(ellipse at 50% 30%, #2b5446, var(--gruen) 70%); color: #f2dc9e; text-shadow: 0 1px 0 rgba(0, 0, 0, .55);
  font-family: var(--f-titel); font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(242, 220, 158, .55), inset 0 2px 4px rgba(0, 0, 0, .35);
}
.tuerschild .ts-name::before { content: '·'; margin-right: 12px; opacity: .6; }
:root[data-abend="an"] .tuerschild { filter: brightness(.82) saturate(.9); box-shadow: inset 0 1px 0 rgba(255, 248, 220, .5), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 22px -6px rgba(208, 174, 105, .35); }
@media (max-width: 560px) {
  .tuerschild { padding: 6px 24px; gap: 10px; letter-spacing: .14em; }
  .tuerschild .ts-name { display: none; }
}

body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(90deg, rgba(120, 84, 44, .10), transparent 7%, transparent 93%, rgba(120, 84, 44, .10)),
    radial-gradient(ellipse 125% 105% at 50% 45%, transparent 64%, rgba(110, 76, 38, .12) 100%);
}

:root[data-abend="an"] body::after {
  background:
    radial-gradient(ellipse 46% 26% at 50% -4%, rgba(120, 190, 140, .13), transparent 72%),
    radial-gradient(ellipse 62% 48% at 50% 0%, rgba(255, 208, 130, .07), transparent 74%),
    linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 9%, transparent 91%, rgba(0, 0, 0, .28)),
    radial-gradient(ellipse 120% 100% at 50% 40%, transparent 58%, rgba(0, 0, 0, .34) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  :root[data-abend="an"]:not([data-ruhig="an"])::after {
    content: ''; position: fixed; left: 0; right: 0; top: 0; height: calc(100% + 420px); pointer-events: none; z-index: 0; opacity: .55;
    background-image:
      radial-gradient(circle at 30px 60px, rgba(245, 220, 165, .55) 0 1px, transparent 1.6px),
      radial-gradient(circle at 190px 140px, rgba(245, 220, 165, .4) 0 .8px, transparent 1.4px),
      radial-gradient(circle at 110px 300px, rgba(245, 220, 165, .5) 0 1.2px, transparent 1.9px),
      radial-gradient(circle at 260px 370px, rgba(245, 220, 165, .35) 0 .8px, transparent 1.4px),
      radial-gradient(circle at 70px 120px, rgba(245, 220, 165, .3) 0 .7px, transparent 1.2px);
    background-size: 320px 420px, 320px 420px, 320px 420px, 320px 420px, 210px 210px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 10%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 10%, #000, transparent 75%);
    animation: staub 70s linear infinite;
    will-change: transform;
  }
}
@keyframes staub {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, -210px, 0); }
  100% { transform: translate3d(0, -420px, 0); }
}

.leihkarte {
  position: relative; max-width: 640px; margin: 4px auto 0; padding: 18px clamp(16px, 4vw, 34px) 30px; text-align: center;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, color-mix(in srgb, #7c98a6 15%, transparent) 27px 28px),
    #fbf5e6;
  background-position: 0 50px, 0 0;
  border: 1px solid #d9cba8; border-top: 3px solid var(--bordeaux); border-radius: 3px;
  color: #4d4639; box-shadow: 0 1px 2px rgba(29, 27, 23, .08), 0 14px 26px -18px rgba(29, 27, 23, .45);
  transform: rotate(-.4deg);
}
.leihkarte::after {
  content: ''; position: absolute; left: 50%; bottom: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--papier); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}
.fuss .leihkarte p { margin: .35em 0; }
.fuss .leihkarte .kolophon { color: #3b362d; }
.fuss .leihkarte a, .fuss .leihkarte .buch-wieder { color: #3b362d; }
.fuss .leihkarte a:hover, .fuss .leihkarte .buch-wieder:hover { color: #6e1f2a; }
.lk-kopf { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin: 0 0 12px !important; }
.lk-stempel {
  display: inline-block; padding: 3px 12px 2px; border: 2px solid #2f5b4b; border-radius: 3px; color: #2f5b4b;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; transform: rotate(-2.5deg);
  box-shadow: inset 0 0 0 1px rgba(47, 91, 75, .3); opacity: .9;
}
.lk-zeit { font-family: var(--f-titel); font-style: italic; font-size: 1.05rem; color: #5e5649; }
:root[data-abend="an"] .leihkarte {
  background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(208, 174, 105, .06) 27px 28px), var(--papier-2);
  background-position: 0 50px, 0 0;
  border-color: var(--linie); border-top-color: var(--bordeaux); color: var(--grau);
}
:root[data-abend="an"] .fuss .leihkarte .kolophon, :root[data-abend="an"] .fuss .leihkarte a, :root[data-abend="an"] .fuss .leihkarte .buch-wieder { color: var(--tinte-2); }
:root[data-abend="an"] .fuss .leihkarte a:hover, :root[data-abend="an"] .fuss .leihkarte .buch-wieder:hover { color: var(--bordeaux); }
:root[data-abend="an"] .lk-stempel { border-color: #7fae94; color: #9cc6ad; box-shadow: none; }
:root[data-abend="an"] .lk-zeit { color: var(--grau); }

@media (prefers-reduced-motion: reduce) { .verzeichnis-innen.wegweiser { transform: none; transition: none; } }
:root[data-ruhig="an"] .verzeichnis-innen.wegweiser { transform: none; }
@media print {
  body::after, :root::after { display: none !important; }
  .leihkarte { box-shadow: none; transform: none; background: none; }
}
