/* ==========================================================================
   Hans Sarkowicz – Website
   Papier, Tinte, Skalenlicht. Leitmotiv ist die Senderskala eines
   Röhrenradios: feine Striche, Jahreszahlen, ein roter Zeiger.
   Schriften: Newsreader (Text, Titel) und Jost (Skalen, Beschriftungen),
   beide lokal eingebunden – es wird nichts von fremden Servern geladen.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f2ede2;
  --paper-2: #e9e2d3;
  --ink: #17130f;
  --ink-2: #51483d;
  --ink-3: #6f6557;
  --line: rgba(23, 19, 15, 0.24);
  --line-2: rgba(23, 19, 15, 0.12);
  --red: #b22d1b;
  --red-lit: #ee4f30;

  /* Skalenglas (dunkle Flächen) */
  --glass: #14110e;
  --glass-2: #1d1814;
  --glow: #f2dbac;
  --glow-2: rgba(242, 219, 172, 0.66);
  --glow-3: rgba(242, 219, 172, 0.24);

  /* Werkgruppen (Buchrücken) */
  --k-leben: #8e2a1e;
  --k-zeit: #2a2623;
  --k-hessen: #56653f;
  --k-kultur: #4b6079;
  --k-edition: #e3d8bd;
  --k-ton: #d9a23a;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", Futura, "Century Gothic", "Avenir Next", system-ui, sans-serif;

  --wrap: 78rem;
  --gut: clamp(1.25rem, 4.2vw, 3.25rem);
  --mast-h: 4rem;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-needle: cubic-bezier(0.3, 1.45, 0.45, 1);

  /* feines Papierkorn */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .05 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Pfeil als Maske – unabhängig davon, ob eine Schrift das Zeichen enthält */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M0 6h24M19 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--mast-h) + 1.5rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.pdf { scroll-behavior: auto; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  overflow-x: clip;
}
@media (max-width: 640px) {
  body { font-size: 1.0925rem; line-height: 1.58; }
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.012em;
  text-wrap: balance;
  -webkit-hyphens: manual;
  hyphens: manual;
}
p { margin: 0 0 1em; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em, cite { font-style: italic; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--paper); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.vh, .dial-st time, .dial-st span {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gut); top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font: 500 0.82rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-120%);
}
.skip:focus { transform: none; color: var(--paper); }
.skip--regal { left: 0; top: -2.6rem; transform: none; clip-path: inset(50%); }
.skip--regal:focus { clip-path: none; }

/* Beschriftungen in der Skalenschrift */
.hero-meta,
.sec-range,
.side,
.sub-h,
.dial-hint {
  font: 500 0.78rem/1.25 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* Textlink mit Pfeil */
.go {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid currentColor;
  font: 500 0.82rem/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
}
.go::after, .go-s::after, .mast-nav a.ext::after {
  content: "";
  display: inline-block;
  flex: none;
  align-self: center;
  width: 1.75em;
  height: 0.82em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.35s var(--ease);
}
.go-s { white-space: nowrap; }
.go-s::after { margin-left: 0.45em; vertical-align: -0.05em; }
.go-s:hover::after { transform: translateX(0.3em); }
.go:hover::after { transform: translateX(0.35em); }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--mast-h);
}
.mast-name {
  font: 500 1.32rem/1 var(--serif);
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
}
.mast-name:hover { color: inherit; }
.mast-nav {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: clamp(1rem, 2.1vw, 2rem);
}
.mast-nav a {
  padding: 0.5rem 0;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}
.mast-nav a:hover,
.mast-nav a.is-on,
.mast-nav a[aria-current="page"] { color: var(--ink); }
.mast-nav a.ext { color: var(--red); }
.mast-nav a.ext::after { margin-left: 0.55em; vertical-align: -0.08em; }
.mast-nav a.ext:hover::after { transform: translateX(0.3em); }
.mast-needle {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 1px;
  height: 3px;
  background: var(--red);
  transform-origin: 0 50%;
  transform: translateX(var(--x, 0px)) scaleX(var(--w, 0));
  transition: transform 0.6s var(--ease-needle);
  pointer-events: none;
}
.mast-toggle {
  display: none;
  padding: 0.55rem 0;
  font: 500 0.8rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mast-toggle::after {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1px;
  margin-left: 0.6em;
  vertical-align: 0.3em;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.mast-toggle[aria-expanded="true"]::after { transform: translateY(2.5px); box-shadow: 0 0 0 currentColor; }

@media (max-width: 900px) {
  .mast-toggle { display: block; }
  html:not(.js) .mast-toggle { display: none; }     /* ohne Skript kein toter Knopf; alle Ziele stehen auch im Fuß */
  .mast-nav {
    position: fixed;
    inset: calc(var(--mast-h) + 1px) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gut) 3rem;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.6rem);
    transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .mast-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0s;
  }
  .mast-nav a {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font: 400 1.9rem/1.1 var(--serif);
    letter-spacing: -0.015em;
    text-transform: none;
    color: var(--ink);
  }
  .mast-nav a.ext { color: var(--red); }
  .mast-needle { display: none; }
}

/* --------------------------------------------------------------------------
   Kopf: Name, Bild, Kurzfassung
   -------------------------------------------------------------------------- */
.hero { padding-top: clamp(1.4rem, 3.2vw, 2.4rem); }
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  flex-wrap: wrap;
  margin: 0;
  color: var(--ink-2);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: clamp(1rem, 2.4vw, 2rem);
}
.hero-name {
  grid-column: 1 / 9;
  grid-row: 1;
  margin: 0.13em 0 0.19em -0.05em;
  font-size: clamp(4.3rem, min(12.4vw, 21vh), 10.2rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.042em;
  -webkit-hyphens: none;
  hyphens: none;
}
.hero-name .ln {
  display: block;
  overflow: hidden;
  padding: 0.1em 0.06em 0.06em;
  margin: -0.1em -0.06em -0.06em;
}
.hero-name .ln > span { display: inline-block; }
.hero-photo {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
  margin: clamp(0.9rem, 2vw, 1.6rem) 0 0;
}
.hero-photo picture { display: block; overflow: hidden; background: #b9c4cf; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: max(19rem, 58vh); object-fit: cover; object-position: 50% 22%; }
.hero-photo figcaption {
  margin-top: 0.55rem;
  font: 400 0.7rem/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-stand {
  grid-column: 1 / 8;
  grid-row: 2;
  align-self: start;
  max-width: 35rem;
  margin: 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--ink);
  font-size: clamp(1.25rem, 1.95vw, 1.62rem);
  line-height: 1.33;
  letter-spacing: -0.008em;
  -webkit-hyphens: manual;
  hyphens: manual;
}

@media (max-width: 1020px) {
  .hero-name { grid-column: 1 / 13; }
  .hero-photo { grid-column: 8 / 13; grid-row: 2; margin-top: 0; }
  .hero-stand { grid-column: 1 / 8; }
}
@media (max-width: 680px) {
  .hero-name { font-size: clamp(3.4rem, 20.5vw, 6.2rem); }
  .hero-photo img { max-height: none; }
  .hero-photo { grid-column: 1 / 10; grid-row: 2; margin-bottom: 1.5rem; }
  .hero-stand { grid-column: 1 / 13; grid-row: 3; }
}

/* Auftritt beim Laden */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.pdf) .hero-name .ln > span { transform: translateY(108%); animation: rise 1s var(--ease) 0.08s forwards; }
  html.js:not(.pdf) .hero-name .ln + .ln > span { animation-delay: 0.2s; }
  html.js:not(.pdf) .hero-meta,
  html.js:not(.pdf) .hero-stand { opacity: 0; animation: fade 0.9s ease 0.55s forwards; }
  html.js:not(.pdf) .hero-meta { animation-delay: 0.05s; }
  html.js:not(.pdf) .hero-photo picture { clip-path: inset(0 0 100% 0); animation: unveil 1.15s var(--ease) 0.3s forwards; }
  html.js:not(.pdf) .hero-photo img { transform: scale(1.08); animation: settle 1.6s var(--ease) 0.3s forwards; }
  html.js:not(.pdf) .hero-photo figcaption { opacity: 0; animation: fade 0.8s ease 1.1s forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: none; } }

/* --------------------------------------------------------------------------
   Senderskala
   -------------------------------------------------------------------------- */
.dial {
  --u: 96px;           /* Breite eines Jahres */
  --min: 1955;
  --max: 2026;
  --row: 25px;
  --rows-top: 62px;
  margin-top: clamp(2.2rem, 4.6vw, 3.6rem);
}
.dial-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.8rem clamp(1.2rem, 3vw, 2.6rem);
  padding-bottom: 1.05rem;
}
.dial-year {
  margin: 0 0 -0.08em;
  font: 300 clamp(3.3rem, 6.2vw, 5.2rem)/0.86 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  min-width: 2.35em;
}
.dial-now {
  min-height: 3.1em;
  font-size: 1.06rem;
  line-height: 1.32;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.14em;
  transition: opacity 0.25s;
}
.dial-now.is-between { opacity: 0.32; }
.dial-now li {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: baseline;
}
.dial-now b {
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.dial-ctrl { display: flex; align-items: center; gap: 0.5rem; }
.dial-hint { margin: 0 0.6rem 0 0; color: var(--ink-3); font-size: 0.7rem; }
.dial-ctrl button {
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.dial-ctrl button::before {
  content: "";
  display: block;
  width: 1.15rem; height: 0.56rem;
  margin: auto;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
}
.dial-prev::before { transform: scaleX(-1); }
.dial-ctrl button:hover { background: var(--ink); color: var(--paper); }
.dial-ctrl button:disabled { opacity: 0.28; pointer-events: none; }
html:not(.js) .dial-head { display: none; }

.dial-glass {
  position: relative;
  height: calc(var(--rows-top) + 6 * var(--row) + 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 38%),
    var(--glass);
  color: var(--glow);
  overflow: hidden;
  box-shadow: inset 0 12px 20px -10px #000, inset 0 -12px 20px -10px #000;
  user-select: none;
  -webkit-user-select: none;
}
/* Lichtkegel in der Mitte, Abdunkelung zu den Rändern */
.dial-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--glass) 0, var(--glass) calc(var(--gut) + 3.6rem), rgba(20, 17, 14, 0) 30%, rgba(20, 17, 14, 0) 76%, rgba(20, 17, 14, 0.8) 94%, var(--glass) 100%),
    radial-gradient(ellipse 46% 120% at 50% 50%, rgba(255, 190, 96, 0.13), rgba(255, 190, 96, 0) 70%);
  pointer-events: none;
}
.dial-bands {
  position: absolute;
  left: var(--gut);
  top: var(--rows-top);
  z-index: 3;
  pointer-events: none;
}
.dial-bands li {
  height: calc(2 * var(--row));
  display: flex;
  align-items: center;
  font: 500 0.62rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--glow-2);
}
.dial-track {
  position: absolute;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  outline-offset: -3px;
}
.dial-track::-webkit-scrollbar { display: none; }
.dial-track.is-drag { cursor: grabbing; }
html.js .dial-track { overflow: hidden; }
.dial-scale {
  position: relative;
  height: 100%;
  width: calc((var(--max) - var(--min)) * var(--u));
  margin-inline: 50%;
  will-change: transform;
}
/* Trennlinien zwischen den Bändern */
.dial-scale::before {
  content: "";
  position: absolute;
  left: -50vw; right: -50vw;
  top: var(--rows-top);
  height: calc(6 * var(--row));
  background:
    linear-gradient(var(--glow-3), var(--glow-3)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--glow-3), var(--glow-3)) 0 calc(2 * var(--row)) / 100% 1px no-repeat,
    linear-gradient(var(--glow-3), var(--glow-3)) 0 calc(4 * var(--row)) / 100% 1px no-repeat,
    linear-gradient(var(--glow-3), var(--glow-3)) 0 100% / 100% 1px no-repeat;
  opacity: 0.55;
}
.dial-ticks {
  position: absolute;
  /* ein Stück über 1955 und 2026 hinaus – in Vielfachen von fünf Jahren, damit das Raster passt */
  left: calc(var(--u) * -15); right: calc(var(--u) * -14 - 1px); top: 0;
  height: 24px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(var(--u) * 5)) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px var(--u)) 0 0 / 100% 58% no-repeat,
    repeating-linear-gradient(90deg, var(--glow-2) 0 1px, transparent 1px calc(var(--u) / 4)) 0 0 / 100% 26% no-repeat;
}
.dial-ticks--b {
  top: auto; bottom: 0;
  height: 16px;
  transform: scaleY(-1);
  opacity: 0.7;
}
.dial-nums span {
  position: absolute;
  top: 31px;
  left: calc((var(--y) - var(--min)) * var(--u));
  transform: translateX(-50%);
  font: 400 0.92rem/1 var(--sans);
  letter-spacing: 0.08em;
  font-variant-numeric: lining-nums;
}
.dial-nums .off { opacity: 0.4; }
.dial-st {
  position: absolute;
  left: calc((var(--y) - var(--min)) * var(--u));
  top: calc(var(--rows-top) + var(--r) * var(--row));
  height: var(--row);
  display: flex;
  align-items: center;
  padding-left: 10px;
  white-space: nowrap;
  cursor: pointer;
  color: var(--glow-2);
  transition: color 0.25s, text-shadow 0.25s;
}
.dial-st::before {
  content: "";
  position: absolute;
  left: -2.5px; top: 50%;
  width: 5px; height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: currentColor;
}
.dial-st b {
  font: 500 0.69rem/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.dial-st:hover { color: var(--glow); }
.dial-st.is-on {
  color: #fff6e2;
  text-shadow: 0 0 14px rgba(255, 186, 92, 0.95), 0 0 3px rgba(255, 186, 92, 0.6);
}
.dial-st.is-hidden b { display: none; }
.dial-needle {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  z-index: 4;
  width: 2px;
  margin-left: -1px;
  background: var(--red-lit);
  box-shadow: 0 0 14px 1px rgba(238, 79, 48, 0.75);
  pointer-events: none;
}
.dial-needle::before,
.dial-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 11px; height: 11px;
  background: var(--red-lit);
  transform: translate(-50%, -50%) rotate(45deg);
}
.dial-needle::before { top: 0; }
.dial-needle::after { top: 100%; }

/* Das Skalenlicht geht an */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.pdf) .dial-scale,
  html.js:not(.pdf) .dial-bands { opacity: 0.12; }
  html.js:not(.pdf) .dial.is-lit .dial-scale,
  html.js:not(.pdf) .dial.is-lit .dial-bands { animation: lamp 1.5s linear forwards; }
}
@keyframes lamp {
  0% { opacity: 0.12; }
  12% { opacity: 0.55; }
  20% { opacity: 0.22; }
  34% { opacity: 0.8; }
  44% { opacity: 0.5; }
  100% { opacity: 1; }
}

@media (max-width: 760px) {
  .dial { --u: 78px; --row: 24px; }
  .dial-head { grid-template-columns: auto minmax(0, 1fr); }
  .dial-now { grid-column: 1 / -1; grid-row: 2; min-height: 4.2em; justify-content: flex-start; font-size: 1rem; }
  .dial-ctrl { justify-self: end; }
  .dial-hint { display: none; }
  .dial-now li { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.6rem; }
}

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.sec { padding-block: clamp(4.5rem, 9.5vw, 8.5rem); }
.sec--tint { background-color: var(--paper-2); background-image: var(--grain); }
.sec--glass {
  background: var(--glass);
  color: #e6dcc8;
}
.sec--glass a { text-decoration-color: var(--red-lit); }
.sec--glass a:hover { color: var(--glow); }

.sec-head {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.9rem, 2.4vw, 2rem);
  margin-bottom: clamp(2.4rem, 5.5vw, 4.5rem);
}
.sec-head h1, .sec-head h2 {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: -0.034em;
}
.sec-scale {
  position: relative;
  flex: 1;
  min-width: 2rem;
  height: 18px;
  margin-bottom: 0.5rem;
  color: var(--ink);
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 60px) 0 100% / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px) 0 100% / 100% 45% no-repeat;
}
.sec-scale i {
  position: absolute;
  left: 100%;
  bottom: -5px;
  width: 2px;
  height: 30px;
  margin-left: -2px;
  background: var(--red);
}
.sec-range {
  margin-bottom: 0.5rem;
  white-space: nowrap;
  color: var(--ink-2);
}
.sec--glass .sec-head h2 { color: var(--glow); }
.sec--glass .sec-scale { color: var(--glow-2); }
.sec--glass .sec-scale i { background: var(--red-lit); box-shadow: 0 0 10px rgba(238, 79, 48, 0.7); }
.sec--glass .sec-range { color: var(--glow-2); }

@media (prefers-reduced-motion: no-preference) {
  html.js:not(.pdf) .sec-scale { clip-path: inset(-20px 100% -20px 0); transition: clip-path 1.3s var(--ease); }
  html.js:not(.pdf) .sec-scale i { left: 0; transition: left 1.5s var(--ease-needle) 0.1s; }
  html.js:not(.pdf) .sec-range { opacity: 0; transition: opacity 0.6s ease 0.9s; }
  html.js:not(.pdf) .sec-head.is-in .sec-scale { clip-path: inset(-20px -4px -20px 0); }
  html.js:not(.pdf) .sec-head.is-in .sec-scale i { left: 100%; }
  html.js:not(.pdf) .sec-head.is-in .sec-range { opacity: 1; }
}
@media (max-width: 560px) {
  .sec-range { display: none; }
}

.sub-h {
  margin-bottom: 1.4rem;
  color: var(--red);
}
.more { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }

/* --------------------------------------------------------------------------
   Leben
   -------------------------------------------------------------------------- */
.vita { display: grid; gap: clamp(1.5rem, 2.6vw, 2.2rem); }
.vita-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
}
.side {
  grid-column: 1 / 4;
  padding-top: 0.5em;
  color: var(--red);
}
.vita-row p {
  grid-column: 4 / 11;
  margin: 0;
  max-width: 41rem;
}
.vita-row p.initial::first-letter {
  float: left;
  margin: 0.05em 0.09em 0 -0.03em;
  font-size: 5.05em;
  line-height: 0.74;
  color: var(--red);
}
@media (max-width: 860px) {
  .vita-row { display: block; }
  .side { margin-bottom: 0.5rem; padding-top: 0; }
}

.cv-block {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--ink);
}
.cv {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 5rem);
}
.cv li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.72rem 0 0.78rem;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  font-size: 1.02rem;
  line-height: 1.42;
}
.cv-when {
  font: 400 0.9rem/1.62 var(--sans);
  letter-spacing: 0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .cv { columns: 1; }
}
@media (max-width: 460px) {
  .cv li { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* --------------------------------------------------------------------------
   Regal
   -------------------------------------------------------------------------- */
.regal-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  row-gap: 1.2rem;
  align-items: end;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.regal-lede {
  grid-column: 1 / 6;
  margin: 0;
  -webkit-hyphens: manual;
  hyphens: manual;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.36;
}
.regal-key {
  grid-column: 7 / 13;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1.25rem;
}
.regal-key button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.2rem 0;
  font: 500 0.74rem/1.2 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.regal-key button:hover { color: var(--ink); }
.regal-key button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.regal-key i {
  width: 0.62rem; height: 1.05rem;
  background: var(--k);
  box-shadow: inset 0 0 0 1px rgba(23, 19, 15, 0.22);
}
[data-key="leben"], [data-cat="leben"] { --k: var(--k-leben); --kt: #f6ecdc; }
[data-key="zeit"], [data-cat="zeit"] { --k: var(--k-zeit); --kt: #efe4cf; }
[data-key="hessen"], [data-cat="hessen"] { --k: var(--k-hessen); --kt: #f3ecd9; }
[data-key="kultur"], [data-cat="kultur"] { --k: var(--k-kultur); --kt: #f1ece0; }
[data-key="edition"], [data-cat="edition"] { --k: var(--k-edition); --kt: #1d1814; }
[data-key="ton"], [data-cat="ton"] { --k: var(--k-ton); --kt: #1d1509; }

@media (max-width: 900px) {
  .regal-lede { grid-column: 1 / -1; }
  .regal-key { grid-column: 1 / -1; justify-content: flex-start; }
}

.shelf { position: relative; margin-top: 0.4rem; }
.shelf-label {
  position: absolute;
  left: 0;
  top: 0.5rem;
  z-index: 1;
  margin: 0;
  font: 300 1.5rem/1 var(--sans);
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums;
  color: var(--ink-3);
}
.shelf-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 2px;
  padding-left: 5.4rem;
  /* je Zeile ein Regalboden */
  background: repeating-linear-gradient(180deg, transparent 0 calc(var(--shelf-h) - 4px), var(--ink) calc(var(--shelf-h) - 4px) calc(var(--shelf-h) - 1px), transparent calc(var(--shelf-h) - 1px) var(--shelf-h));
  --shelf-h: 236px;
}
.spine {
  position: relative;
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: var(--w, 30px);
  height: var(--h, 190px);
  margin-top: calc(var(--shelf-h) - 4px - var(--h, 190px));
  margin-bottom: 4px;
  padding-bottom: 11px;
  background: var(--k);
  color: var(--kt);
  text-decoration: none;
  overflow: hidden;
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.07), inset -2px 0 0 rgba(0, 0, 0, 0.13);
  transition: translate 0.35s var(--ease), opacity 0.3s, filter 0.3s;
}
.spine[data-cat="edition"] { box-shadow: inset 0 0 0 1px rgba(23, 19, 15, 0.2); }
.spine:hover, .spine:focus-visible, .spine.is-pick { color: var(--kt); translate: 0 -12px; }
.spine-t {
  writing-mode: vertical-rl;
  rotate: 180deg;
  white-space: nowrap;
  font: 500 0.74rem/1.3 var(--sans);
  letter-spacing: 0.04em;
  max-height: calc(var(--h, 190px) - 22px);
  overflow: hidden;
}
.spine[data-shade="1"] { filter: brightness(1.12); }
.spine[data-shade="2"] { filter: brightness(0.9); }
.spine::after {       /* schmales Band wie ein Rückenschild */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  box-shadow: 0 3px 0 currentColor;
}
.spine[data-band="0"]::after { display: none; }
.shelf-row .spine:last-child:not(:first-child) {     /* das letzte Buch lehnt sich an */
  margin-left: calc(var(--h, 190px) * 0.07 + 3px);
  rotate: -4deg;
  transform-origin: 0 100%;
}
.regal.is-filter .spine:not(.is-match) { opacity: 0.16; }

@media (prefers-reduced-motion: no-preference) {
  html.js:not(.pdf) .shelf .spine { translate: 0 26px; opacity: 0; }
  html.js:not(.pdf) .shelf.is-in .spine { translate: none; opacity: 1; transition: translate 0.7s var(--ease) calc(var(--i) * 14ms), opacity 0.5s ease calc(var(--i) * 14ms), filter 0.3s; }
  html.js:not(.pdf) .shelf.is-done .spine { transition: translate 0.35s var(--ease), opacity 0.3s, filter 0.3s; }
  html.js:not(.pdf) .shelf.is-in .spine:hover,
  html.js:not(.pdf) .shelf.is-in .spine:focus-visible,
  html.js:not(.pdf) .shelf.is-in .spine.is-pick { translate: 0 -12px; }
  html.js:not(.pdf) .regal.is-filter .shelf.is-in .spine:not(.is-match) { opacity: 0.16; }
}

.regal { position: relative; }
/* Schild über dem Buchrücken, auf dem der Zeiger steht */
.regal-tip {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 6;
  width: max-content;
  max-width: min(25rem, 100%);
  padding: 0.75rem 1rem 0.85rem;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.28s var(--ease), visibility 0s linear 0.28s;
  pointer-events: none;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.regal-tip.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.18s, transform 0.28s var(--ease), visibility 0s;
}
.regal-tip::after {
  content: "";
  position: absolute;
  left: var(--ax, 50%);
  top: 100%;
  width: 1px; height: 14px;
  background: var(--ink);
}
.regal-tip p { margin: 0; }
.regal-tip .y {
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 0.4rem;
}
.regal-tip .t { font-size: 1.14rem; line-height: 1.2; letter-spacing: -0.005em; }
.regal-tip .t em { opacity: 0.72; }
.regal-tip .m { margin-top: 0.35rem; font: 400 0.8rem/1.4 var(--sans); letter-spacing: 0.02em; opacity: 0.75; }
.regal-tip a { display: inline-block; margin-top: 0.6rem; font: 500 0.74rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--glow); }
.regal-tip a:hover { color: #fff; }
/* mit Cover: Bild links, Text rechts */
.regal-tip.has-cover {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  column-gap: 0.95rem;
  align-items: start;
  max-width: min(29rem, 100%);
}
.regal-tip.has-cover > * { grid-column: 2; }
.regal-tip.has-cover > img {
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 100%;
  height: auto;
  margin-top: 0.1rem;
  background: rgba(242, 237, 226, 0.08);
  box-shadow: 0 0 0 1px rgba(242, 237, 226, 0.16);
}
@media (hover: none) {
  .regal-tip { pointer-events: auto; }
}
@media (hover: hover) {
  .regal-tip a { display: none; }
}

@media (max-width: 760px) {
  .shelf-label { position: static; margin: 1.6rem 0 0.2rem; font-size: 1.15rem; }
  .shelf-row {
    padding-left: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    scrollbar-width: none;
    background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 1px) / 100% 3px no-repeat;
  }
  .shelf-row::-webkit-scrollbar { display: none; }
  .shelf-row .spine:last-child:not(:first-child) { margin-right: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Werkgruppen
   -------------------------------------------------------------------------- */
.themes { margin-top: clamp(3.5rem, 7vw, 6rem); }
.theme {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--ink);
}
.theme-head { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--mast-h) + 1.6rem); }
.theme-head h3 {
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.022em;
}
.theme-kicker {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 0.8rem;
  font: 500 0.72rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.theme-kicker i { width: 0.6rem; height: 1rem; background: var(--k); box-shadow: inset 0 0 0 1px rgba(23, 19, 15, 0.22); }
.theme-body { grid-column: 5 / 13; }
.theme-body > p { max-width: 41rem; }

.covers {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 1.8rem 0 0;
  padding-left: 0.4rem;
}
.covers a {
  display: block;
  flex: 0 1 auto;
  width: clamp(5.6rem, 9.5vw, 8.2rem);
  margin-left: -0.9rem;
  box-shadow: 0 1px 1px rgba(23, 19, 15, 0.25), 0 10px 22px -8px rgba(23, 19, 15, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 100%;
}
.covers a:first-child { margin-left: 0; }
.covers a:nth-child(1) { --tilt: -3.2deg; }
.covers a:nth-child(2) { --tilt: 1.6deg; z-index: 1; }
.covers a:nth-child(3) { --tilt: -1.2deg; z-index: 2; }
.covers a:nth-child(4) { --tilt: 2.6deg; z-index: 3; }
.covers a:hover, .covers a:focus-visible { transform: rotate(0deg) translateY(-0.7rem); z-index: 5; }
.covers img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.pdf) .covers:not(.is-in) a { transform: rotate(0deg) translateX(calc(var(--n, 0) * -2.6rem)); }
  html.js:not(.pdf) .covers a { transition: transform 0.9s var(--ease) calc(var(--n, 0) * 70ms), box-shadow 0.4s; }
  html.js:not(.pdf) .covers.is-done a { transition: transform 0.5s var(--ease), box-shadow 0.4s; }
}
.covers a:nth-child(2) { --n: 1; }
.covers a:nth-child(3) { --n: 2; }
.covers a:nth-child(4) { --n: 3; }
@media (max-width: 860px) {
  .theme { display: block; }
  .theme-head { position: static; margin-bottom: 1.2rem; }
  .covers { margin-bottom: 0.4rem; }
}

/* Titellisten (Werkgruppen, Hörbücher, Verzeichnis) */
.titles { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.titles li {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.62rem 0 0.68rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.34;
}
.titles .y {
  font: 400 0.9rem/1.6 var(--sans);
  letter-spacing: 0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink-2);
}
.titles a { text-decoration: none; }
.titles a:hover cite { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.titles cite { font-style: normal; font-size: 1.1rem; }
.titles .s { font-style: italic; color: var(--ink-2); }
.titles .m {
  display: block;
  margin-top: 0.12rem;
  font: 400 0.84rem/1.4 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  -webkit-hyphens: manual;
  hyphens: manual;
}
.titles .aw { color: var(--red); font-weight: 500; }
/* Schmale Bildschirme: lange Listen zeigen zunächst vier Titel, der Rest auf Wunsch */
.titles-more { display: none; margin-top: 1rem; color: var(--red); }
.titles-more::after, .titles-more:hover::after { transform: rotate(90deg); }
.sec--glass .titles-more { color: var(--red-lit); }
@media (max-width: 760px) {
  html.js:not(.pdf) .titles:not(.is-open) li:nth-child(n + 5) { display: none; }
  html.js:not(.pdf) .titles-more { display: inline-flex; }
}
.sec--glass .titles, .sec--glass .titles li { border-color: var(--glow-3); }
.sec--glass .titles .y, .sec--glass .titles .m, .sec--glass .titles .s { color: var(--glow-2); }
.sec--glass .titles .aw { color: var(--red-lit); }

/* --------------------------------------------------------------------------
   Originalton
   -------------------------------------------------------------------------- */
.ton-lede {
  max-width: 36rem;
  -webkit-hyphens: manual;
  hyphens: manual;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.34;
  color: var(--glow);
}
.jh {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  row-gap: 2rem;
  align-items: start;
  padding-block: clamp(1.8rem, 3.5vw, 2.8rem);
  border-top: 1px solid var(--glow-2);
}
/* Die Verlagsbilder stehen auf Weiß – auf einem Papierkarton wirken sie wie aufgelegte Abzüge */
.jh-covers {
  grid-column: 1 / 5;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(0.8rem, 1.4vw, 1.1rem);
  background-color: var(--paper);
  background-image: var(--grain);
}
.jh-covers img { width: calc(50% - 0.45rem); mix-blend-mode: multiply; }
.jh-text { grid-column: 5 / 13; }
.jh-text h3, .ton-item h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  letter-spacing: -0.025em;
  color: var(--glow);
}
.ton-sub { margin: 0.5rem 0 1rem; font-style: italic; font-size: 1.18rem; line-height: 1.3; color: var(--glow-2); }
.jh-text > p:not(.ton-sub), .ton-item p { max-width: 40rem; }

.century {
  grid-column: 1 / 13;
  position: relative;
  margin-top: 0.6rem;
  padding-top: 2.1rem;
  color: var(--glow);
}
.century-scale {
  position: relative;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10%) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--glow-2) 0 1px, transparent 1px 1%) 0 0 / 100% 42% no-repeat;
  border-right: 1px solid currentColor;
}
.century-scale i {
  position: absolute;
  top: -8px; bottom: -10px;
  left: calc(var(--p, 0) * 100%);
  width: 2px;
  margin-left: -1px;
  background: var(--red-lit);
  box-shadow: 0 0 12px rgba(238, 79, 48, 0.8);
  z-index: 2;
}
.century-nums { position: absolute; left: 0; right: 0; top: 0; height: 1.5rem; }
.century-nums span {
  position: absolute;
  left: calc(var(--at) * 1%);
  transform: translateX(-50%);
  font: 400 0.84rem/1 var(--sans);
  letter-spacing: 0.08em;
  color: var(--glow-2);
}
.century-nums span:first-child { transform: none; }
.century-nums span:last-child { transform: translateX(-100%); }
.century-parts { grid-column: 1 / 13; display: grid; grid-template-columns: 45fr 55fr; margin-top: -1.1rem; }
.century-parts > div {
  padding: 0.85rem 1rem 0 0;
  border-top: 3px solid var(--k-ton);
  font: 400 0.92rem/1.4 var(--sans);
  letter-spacing: 0.02em;
  color: var(--glow-2);
}
.century-parts > div + div { border-top-color: var(--glow); padding-left: 1rem; border-left: 1px solid var(--glass); }
.century-parts b {
  display: block;
  margin-bottom: 0.2rem;
  font: 400 1.5rem/1.1 var(--serif);
  letter-spacing: -0.015em;
  color: var(--glow);
}
.century-parts .aw { color: var(--red-lit); font-weight: 500; }

.ton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.4rem, 3vw, 2.8rem);
  row-gap: 2.4rem;
  margin-top: clamp(2.2rem, 4.5vw, 3.6rem);
}
.ton-item {
  padding-top: 1.3rem;
  border-top: 1px solid var(--glow-2);
}
.ton-num {
  margin: 0 0 1.5rem;
  font: 500 0.72rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glow-2);
}
.ton-num b {
  display: block;
  margin: 0 0 0.5rem -0.04em;
  font: 300 clamp(3.6rem, 6.4vw, 5.4rem)/0.84 var(--sans);
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums;
  color: var(--glow);
  text-shadow: 0 0 26px rgba(255, 186, 92, 0.32);
}
.ton-item h3 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); }
.ton-item p { font-size: 1.04rem; line-height: 1.5; }
.ton-facts {
  margin: 0.9rem 0 0;
  font: 400 0.84rem/1.5 var(--sans) !important;
  letter-spacing: 0.03em;
  color: var(--glow-2);
}
.ton-facts .aw { color: var(--red-lit); font-weight: 500; }
.ton-more { margin-top: clamp(3rem, 6vw, 5rem); }
.ton-more .sub-h { color: var(--glow-2); }
.ton-more .titles { columns: 2; column-gap: clamp(2rem, 5vw, 5rem); border-top: 0; }
.ton-more .titles li { break-inside: avoid; }
.ton-more .titles li:first-child { border-top: 1px solid var(--glow-3); }
@media (max-width: 980px) {
  .ton-grid { grid-template-columns: 1fr; }
  .ton-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1.4rem; }
  .ton-item > * { grid-column: 2; }
  .ton-item > .ton-num { grid-column: 1; grid-row: 1 / 6; }
  .ton-more .titles { columns: 1; }
  .jh-covers { grid-column: 1 / 13; max-width: 26rem; }
  .jh-text { grid-column: 1 / 13; }
}
@media (max-width: 620px) {
  .century-nums span:nth-child(even) { display: none; }
}
@media (max-width: 560px) {
  .ton-item { display: block; }
  .century-parts { grid-template-columns: 1fr; gap: 1rem; }
  .century-parts > div + div { border-left: 0; padding-left: 0; }
}

/* --------------------------------------------------------------------------
   Wirken
   -------------------------------------------------------------------------- */
.acts { border-top: 1px solid var(--ink); }
.act {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: clamp(1.8rem, 3.6vw, 2.8rem);
  border-bottom: 1px solid var(--line);
}
.act-head { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--mast-h) + 1.6rem); }
.act-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.02; }
.act-when {
  margin: 0 0 0.7rem;
  font: 500 0.72rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.act-body { grid-column: 5 / 12; }
.act-body p { max-width: 41rem; }
.act-body p:last-child { margin-bottom: 0; }
.act-links { margin: 1rem 0 0; font: 500 0.8rem/1.4 var(--sans); letter-spacing: 0.06em; }
.act-links a { text-decoration: none; color: var(--red); }
.marks { margin: 1.6rem 0 0; border-top: 1px solid var(--line); }
.marks > div {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.7rem 0 0.78rem;
  border-bottom: 1px solid var(--line);
}
.marks dt {
  font: 400 0.9rem/1.7 var(--sans);
  letter-spacing: 0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
}
.marks dd { margin: 0; font-size: 1.04rem; line-height: 1.45; }
.marks b { font-weight: 500; }
.act-after { margin-top: 1.5rem; }
.seats { border-top: 1px solid var(--line); }
.seats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.3rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.6rem 0 0.66rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  line-height: 1.35;
}
.seats span { font: 400 0.84rem/1.4 var(--sans); letter-spacing: 0.03em; color: var(--ink-2); }
@media (max-width: 860px) {
  .act { display: block; }
  .act-head { position: static; margin-bottom: 1rem; }
}

/* --------------------------------------------------------------------------
   Auszeichnungen
   -------------------------------------------------------------------------- */
.honours { border-top: 1px solid var(--ink); }
.honours li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  align-items: baseline;
  padding: 1.05rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}
.honours .y {
  grid-column: 1 / 3;
  font: 300 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--sans);
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
}
.honours .n {
  grid-column: 3 / 8;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
}
.honours .f {
  grid-column: 8 / 13;
  font-size: 1.02rem;
  line-height: 1.42;
  color: var(--ink-2);
}
.honours li.is-top .y, .honours li.is-top .n { color: var(--red); }
.honours .n a { text-decoration: none; }
.honours .n a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.pdf) .honours li { opacity: 0; transform: translateY(0.6rem); transition: opacity 0.6s ease calc(var(--i, 0) * 45ms), transform 0.7s var(--ease) calc(var(--i, 0) * 45ms); }
  html.js:not(.pdf) .honours.is-in li { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .honours li { grid-template-columns: 4.2rem minmax(0, 1fr); row-gap: 0.25rem; }
  .honours .y { grid-column: 1; grid-row: 1 / 3; }
  .honours .n { grid-column: 2; }
  .honours .f { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Stimme
   -------------------------------------------------------------------------- */
.voices {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  row-gap: 3rem;
}
.voice { margin: 0; position: relative; }
.voice p {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.voice p::before { content: "„"; position: absolute; transform: translateX(-100%); color: var(--red); }
.voice p::after { content: "“"; color: var(--red); }
.voice footer {
  margin-top: 1.3rem;
  font: 500 0.74rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.voice--a { grid-column: 2 / 9; }
.voice--a p { font-size: clamp(2.1rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; }
.voice--b { grid-column: 9 / 13; align-self: end; padding-top: 4rem; }
.voice--b p { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.22; }
@media (max-width: 860px) {
  .voice--a, .voice--b { grid-column: 1 / 13; padding: 0 0 0 1.2rem; }
}

.hear { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 1.3rem; border-top: 1px solid var(--ink); }
.links { columns: 2; column-gap: clamp(2rem, 5vw, 5rem); }
.links li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.links a { display: block; padding: 0.75rem 0 0.85rem; text-decoration: none; }
.links b { display: block; font-weight: 400; font-size: 1.16rem; line-height: 1.25; letter-spacing: -0.008em; }
.links a:hover b { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.links span {
  display: block;
  margin-top: 0.25rem;
  font: 400 0.84rem/1.45 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  -webkit-hyphens: manual;
  hyphens: manual;
}
@media (max-width: 860px) {
  .links { columns: 1; }
}

/* --------------------------------------------------------------------------
   Fuß
   -------------------------------------------------------------------------- */
.foot {
  background: var(--glass);
  color: #cfc4ad;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  font: 400 0.92rem/1.55 var(--sans);
  letter-spacing: 0.015em;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.foot-ticks {
  height: 16px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: var(--glow-2);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 60px) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px) 0 0 / 100% 45% no-repeat;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  row-gap: 2.5rem;
}
.foot-a { grid-column: 1 / 5; }
.foot-b { grid-column: 5 / 9; }
.foot-c { grid-column: 9 / 13; }
.foot-name { margin: 0 0 0.8rem; font: 400 2rem/1 var(--serif); letter-spacing: -0.02em; color: var(--glow); }
.foot h2, .foot h3, .foot h4 {
  margin-bottom: 0.9rem;
  font: 500 0.72rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glow-2);
}
.foot li { padding: 0.32rem 0; border-bottom: 1px solid rgba(242, 219, 172, 0.12); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--glow); text-decoration: underline; text-decoration-color: var(--red-lit); }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(242, 219, 172, 0.2);
  font-size: 0.8rem;
  color: #a89d87;
}
.foot-base p { margin: 0; max-width: 62ch; }
/* Mail-Adressen stehen im Quelltext zerlegt; main.js macht daraus den Verweis */
.mail { white-space: nowrap; }
.foot-mail .mail { color: var(--glow); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0.3rem 1.7rem; }
.foot-legal a[aria-current="page"] { color: var(--glow); }
@media (max-width: 860px) {
  .foot-a, .foot-b, .foot-c { grid-column: 1 / 13; }
}

/* --------------------------------------------------------------------------
   Werkverzeichnis (werke.html)
   -------------------------------------------------------------------------- */
.wv-head { padding-top: clamp(2.2rem, 5vw, 4rem); }
.wv-head .sec-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.wv-lede { max-width: 40rem; font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.38; margin-bottom: 0; }
.wv-lede b { font-weight: 500; }

.wv-tools {
  position: sticky;
  top: calc(var(--mast-h) + 1px);
  z-index: 40;
  margin-top: clamp(2rem, 4vw, 3rem);
  background-color: var(--paper);
  background-image: var(--grain);
  border-block: 1px solid var(--ink);
}
.wv-tools-row {
  display: flex;
  align-items: center;
  gap: 0.6rem 1.6rem;
  flex-wrap: wrap;
  padding-block: 0.7rem;
}
.wv-search { position: relative; flex: 1 1 15rem; max-width: 24rem; }
.wv-search input {
  width: 100%;
  padding: 0.5rem 0 0.5rem 1.7rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font: 400 1.05rem/1.3 var(--serif);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.wv-search input::placeholder { color: var(--ink-3); font-style: italic; }
.wv-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(0.35); cursor: pointer; }
.wv-search input:focus { outline: none; border-bottom-color: var(--red); }
.wv-search::before {
  content: "";
  position: absolute;
  left: 0.1rem; top: 50%;
  width: 0.72rem; height: 0.72rem;
  margin-top: -0.5rem;
  border: 1.5px solid var(--ink-2);
  border-radius: 50%;
}
.wv-search::after {
  content: "";
  position: absolute;
  left: 0.82rem; top: 50%;
  width: 0.42rem; height: 1.5px;
  margin-top: 0.22rem;
  background: var(--ink-2);
  transform: rotate(45deg);
  transform-origin: 0 50%;
}
.wv-filter { display: flex; flex-wrap: wrap; gap: 0.3rem 1.15rem; flex: 2 1 26rem; }
.wv-filter button, .wv-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.38rem 0;
  font: 500 0.74rem/1.2 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.wv-filter button:hover, .wv-sort:hover { color: var(--ink); }
.wv-filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.wv-filter i { width: 0.55rem; height: 0.95rem; background: var(--k); box-shadow: inset 0 0 0 1px rgba(23, 19, 15, 0.22); }
.wv-sort { margin-left: auto; }
.wv-sort::after {
  content: "";
  width: 1.05em; height: 0.6em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transform: rotate(90deg);
  transition: transform 0.35s var(--ease);
}
.wv-sort[data-order="asc"]::after { transform: rotate(-90deg); }

.wv-body { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(4rem, 8vw, 7rem); }
.wv-status { margin: 0 0 1rem; font: 400 0.9rem/1.4 var(--sans); letter-spacing: 0.02em; color: var(--ink-2); min-height: 1.4em; }
.wv-year {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  border-top: 1px solid var(--ink);
  padding-top: 0.7rem;
  margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem);
}
.wv-year[hidden] { display: none; }
.wv-year h2 {
  grid-column: 1 / 3;
  position: sticky;
  top: calc(var(--mast-h) + 5rem);
  align-self: start;
  font: 300 clamp(2rem, 4.4vw, 3.6rem)/0.9 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.wv-year ol { grid-column: 3 / 13; }
.wk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  padding: 0.5rem 0 1.05rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--mast-h) + 5.5rem);
}
.wk:last-child { border-bottom: 0; }
.wk[hidden] { display: none; }
.wk-t { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.16; letter-spacing: -0.012em; }
.wk-t cite { font-style: normal; }
.wk-t .s { display: block; margin-top: 0.15rem; font-size: 0.8em; font-style: italic; letter-spacing: 0; color: var(--ink-2); }
.wk-m {
  grid-column: 1;
  margin: 0.4rem 0 0;
  font: 400 0.9rem/1.45 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  -webkit-hyphens: manual;
  hyphens: manual;
}
.wk-a { grid-column: 1; margin: 0.35rem 0 0; font: 500 0.8rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.wk-c {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.6rem;
  font: 500 0.68rem/1.2 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.wk-c i { width: 0.5rem; height: 0.9rem; background: var(--k); box-shadow: inset 0 0 0 1px rgba(23, 19, 15, 0.22); }
/* Cover rechts oben neben dem Eintrag */
.wk-img {
  grid-column: 2;
  grid-row: 1 / span 6;
  justify-self: end;
  align-self: start;
  width: 4.6rem;
  margin-top: 0.35rem;
  mix-blend-mode: multiply;     /* Verlagsfotos auf weißem Grund fügen sich ins Papier */
  box-shadow: 0 6px 14px -8px rgba(23, 19, 15, 0.5);
}
/* Eintrag, der von der Startseite aus angesprungen wurde */
.wk:target { background: linear-gradient(90deg, rgba(178, 45, 27, 0.1), rgba(178, 45, 27, 0) 70%); box-shadow: -0.8rem 0 0 rgba(178, 45, 27, 0.1); }
.wk mark { background: rgba(217, 162, 58, 0.45); color: inherit; }
.wv-empty { padding: 3rem 0; font-style: italic; color: var(--ink-2); }
.wv-note { margin-top: 2.5rem; max-width: 46rem; font: 400 0.9rem/1.55 var(--sans); letter-spacing: 0.015em; color: var(--ink-2); }
@media (max-width: 760px) {
  .wv-year { display: block; }
  .wv-year h2 { position: static; margin-bottom: 0.4rem; }
  /* das Cover bleibt rechts neben dem Eintrag, nur kleiner – darunter würde es die Liste um ein Drittel verlängern */
  .wk { column-gap: 0.9rem; }
  .wk:not(.wk--img) { grid-template-columns: minmax(0, 1fr); }
  .wk-img { width: 3.5rem; margin-top: 0.3rem; }
  .wv-sort { margin-left: 0; }
  .wv-tools { position: static; }
}

/* --------------------------------------------------------------------------
   Rechtliches (impressum.html, datenschutz.html)
   -------------------------------------------------------------------------- */
.legal { padding-block: clamp(2.2rem, 5vw, 4rem) clamp(4.5rem, 9.5vw, 8.5rem); }
.legal-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: clamp(1.5rem, 2.8vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.legal-row:first-child { border-top-color: var(--ink); }
.legal-body { grid-column: 4 / 11; max-width: 41rem; }
.legal-body > :last-child { margin-bottom: 0; }
.legal-body address { margin: 0 0 1em; font-style: normal; }
.legal-body ul { margin: 0 0 1em; }
.legal-body li { position: relative; padding-left: 1.4em; }
.legal-body li::before { content: "–"; position: absolute; left: 0; color: var(--ink-3); }
.legal-facts { margin: 0 0 1em; border-top: 1px solid var(--line); }
.legal-facts > div {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.6rem 0 0.66rem;
  border-bottom: 1px solid var(--line);
}
.legal-facts dt {
  font: 400 0.9rem/1.78 var(--sans);
  letter-spacing: 0.03em;
  color: var(--ink-2);
  -webkit-hyphens: manual;
  hyphens: manual;
}
.legal-facts dd { margin: 0; font-variant-numeric: lining-nums; }
.legal-small { font: 400 0.9rem/1.55 var(--sans); letter-spacing: 0.015em; color: var(--ink-2); }
.legal .nb { white-space: nowrap; }
/* Widerspruchsrecht: muss für sich stehen und auffallen */
.legal-mark { padding: 1rem 1.2rem 1.1rem; border-left: 2px solid var(--red); background: rgba(178, 45, 27, 0.06); }
.legal-mark b, .legal-body b { font-weight: 500; }
@media (max-width: 860px) {
  .legal-row { display: block; }
}
@media (max-width: 520px) {
  .legal-facts > div { grid-template-columns: 1fr; gap: 0; }
}

/* --------------------------------------------------------------------------
   Seite nicht gefunden (404.html)
   -------------------------------------------------------------------------- */
.lost { padding-bottom: clamp(5rem, 13vw, 11rem); }
.lost-go { display: flex; flex-wrap: wrap; gap: 1.2rem 2.6rem; margin: clamp(2rem, 4vw, 3rem) 0 0; }

/* --------------------------------------------------------------------------
   Bewegung aus / PDF / Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
html.pdf .mast { position: static; }
html.pdf .wv-tools, html.pdf .wv-year h2, html.pdf .theme-head, html.pdf .act-head { position: static; }
html.pdf .dial-hint, html.pdf .dial-ctrl { display: none; }

@media print {
  html, body { background: #fff; }
  .mast, .wv-tools { position: static; }
  .mast-nav, .mast-toggle, .dial-ctrl, .skip { display: none !important; }
  * { animation: none !important; transition: none !important; }
  .sec { padding-block: 2rem; }
}
