/* Linke Seite: Autor. Rechte Seite: bibliografische Angaben. */
:root {
  --ink: #271f22;
  --paper: #fcfaf8;
  --wine: #63293b;
  --light-ink: #fff8f6;
  --blue: #713044;
  --muted: #62545a;
  --line: #cec1c5;
  --columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  --margin: clamp(1.3rem, 3.25vw, 3.45rem);
}
body {
  background: #eee9e8;
}
.wrap {
  width: min(80rem, 100%);
  background: var(--paper);
}
.masthead,
.opening {
  display: grid;
  grid-template-columns: var(--columns);
  gap: 0;
  align-items: stretch;
}
.masthead {
  padding: 0;
  border: 0;
}
.masthead .signature,
.author-note {
  background: var(--wine);
  color: var(--light-ink);
  padding-inline: var(--margin);
}
.masthead .signature {
  margin: 0;
  padding-block: 2rem 1.25rem;
  font: 400 clamp(1.9rem, 3.55vw, 3rem) / 0.99 var(--roman);
  letter-spacing: -0.043em;
}
.signature a,
.signature a:hover {
  color: inherit;
}
.signature .given,
.signature .surname {
  display: block;
}
.signature .given {
  font-size: 0.77em;
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.signature i {
  font-size: 0.76em;
  font-weight: 400;
}
.masthead nav {
  margin: 0 var(--margin);
  align-self: center;
  gap: 0.45rem 1.5rem;
  line-height: 1.42;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
main.wrap {
  padding: 0;
}
.author-note {
  padding-bottom: 2.1rem;
}
.author-note figure {
  margin: 0;
}
.author-note figure img {
  width: 100%;
  height: auto;
}
.author-note figcaption {
  color: #eddade;
  font: italic 0.99rem/1.26 var(--roman);
  margin: 0.55rem 0 1.5rem;
}
.author-note h2 {
  font: 400 1.55rem/1.17 var(--roman);
  margin: 0.6rem 0 0.7rem;
  max-width: 20ch;
}
.author-note p {
  font-size: 1.05rem;
  line-height: 1.47;
}
.author-note .reference {
  margin-top: 1.1rem;
}
.author-note .reference a {
  color: var(--light-ink);
  text-decoration-color: #c49ca9;
}
.work-column {
  padding: 0 var(--margin) 2rem;
}
.work-column h2 {
  color: var(--wine);
  font: 400 clamp(1.9rem, 3vw, 2.55rem) / 1.07 var(--roman);
  letter-spacing: -0.032em;
  margin: 0.1rem 0 0.7rem;
}
.work-column .catalog-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 0;
}
.edition-entry {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.edition-entry:first-child {
  padding-top: 0.55rem;
}
.edition-entry .jacket-link {
  justify-self: center;
}
.edition-entry .jacket-link img {
  width: auto;
  max-height: 7.3rem;
}
.edition-entry:first-child .jacket-link img {
  max-height: 10.4rem;
}
.edition-entry h3 {
  font: 600 clamp(1.35rem, 1.8vw, 1.65rem) / 1.13 var(--grotesk);
}
.edition-entry:first-child h3 {
  font-size: clamp(1.6rem, 2.35vw, 2rem);
}
.edition-entry h3 a {
  color: var(--ink);
  text-decoration: none;
}
.edition-entry h3 a:hover {
  color: var(--wine);
  text-decoration: underline;
}
.edition-entry .book-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #bdadb3;
  text-underline-offset: 0.16em;
}
.edition-entry .book-subtitle,
.catalog-record .book-subtitle {
  font-style: normal;
  font-size: clamp(1.16rem, 1.65vw, 1.32rem);
  line-height: 1.25;
  margin: 0.2rem 0 0.6rem;
}
.edition-entry time {
  float: left;
  padding-right: 0.6rem;
  margin-right: 0.6rem;
  border-right: 1px solid var(--line);
  font: 500 1.08rem/1.25 var(--grotesk);
  color: var(--wine);
}
.edition-entry .citation {
  display: flow-root;
  margin: 0;
  line-height: 1.3;
}
.work-column .reference {
  margin-top: 0.8rem;
}
.home-register {
  margin-top: 1.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.home-register h2 {
  color: var(--wine);
  font: 400 1.65rem/1.2 var(--roman);
  margin-top: 0.3rem;
}
.home-register dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.05rem;
}
.home-register dl > div {
  display: block;
  margin: 0;
}
.home-register dt {
  margin-bottom: 0.28rem;
  font: 600 1.22rem/1.2 var(--grotesk);
}
.home-register .archive-period {
  display: block;
  font: 500 1rem/1.35 var(--grotesk);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.home-register dd span {
  font-size: 0.98rem;
}
.colophon {
  background: var(--paper);
  padding: 1rem var(--margin) 1.35rem;
}
@media (max-width: 63rem) {
  .masthead {
    display: grid;
  }
  .masthead nav {
    gap: 0.4rem 1rem;
  }
  .edition-entry {
    grid-template-columns: 5.9rem minmax(0, 1fr);
  }
}
@media (max-width: 44rem) {
  .masthead {
    display: flex;
    align-items: stretch;
    gap: 0;
  }
  .masthead .signature {
    padding: 1rem var(--margin) 0.4rem;
    font-size: 2rem;
  }
  .signature .given,
  .signature .surname {
    display: inline;
  }
  .masthead nav {
    align-self: stretch;
    justify-content: flex-start;
    gap: 0.15rem 1rem;
    margin: 0;
    padding: 0.2rem var(--margin) 0.8rem;
    background: var(--wine);
    border-bottom: 0;
  }
  .masthead nav a,
  .masthead nav a[aria-current],
  .masthead nav a:hover {
    color: var(--light-ink);
  }
  .opening {
    grid-template-columns: minmax(0, 1fr);
  }
  .author-note {
    padding: 1.2rem var(--margin);
    display: flow-root;
  }
  .author-note figure {
    float: right;
    width: 38%;
    max-width: 13rem;
    margin: 0 0 0.4rem 1rem;
  }
  .author-note figcaption {
    font-size: 0.88rem;
    margin: 0.4rem 0 0;
  }
  .author-note h2 {
    margin-top: 0;
    font-size: 1.45rem;
  }
  .author-note p {
    max-width: none;
  }
  .author-note p:nth-of-type(2) {
    clear: none;
    padding: 0;
  }
  .work-column {
    padding: 1.5rem var(--margin);
  }
  .edition-entry {
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1rem;
  }
  .colophon {
    gap: 0.5rem;
  }
}

/* Innenseiten und bibliografische Angaben */
::selection {
  color: #28151c;
  background: #e8cfd8;
}
.masthead .signature a:focus-visible,
.author-note a:focus-visible {
  outline-color: var(--light-ink);
}
.innenseite .masthead {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 1.15rem var(--margin);
  gap: 0.55rem 2rem;
  border-bottom: 1px solid var(--line);
}
.innenseite .masthead .signature {
  padding: 0;
  background: transparent;
  color: var(--wine);
  font: 400 clamp(1.55rem, 2.1vw, 1.95rem) / 1.16 var(--roman);
}
.innenseite .degree {
  font-size: 0.73em;
}
.innenseite .masthead .signature a:focus-visible {
  outline-color: var(--wine);
}
.innenseite .masthead nav {
  margin: 0;
  padding: 0;
  border: 0;
}
.innenseite main.wrap {
  padding: clamp(1.65rem, 3.8vw, 3.25rem) var(--margin) clamp(2.4rem, 4.5vw, 4rem);
}
.innenseite main h1 {
  font-family: var(--roman);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.12;
  color: var(--wine);
  overflow-wrap: anywhere;
}
.monograph .subtitle {
  font-style: normal;
  font-size: clamp(1.22rem, 2.25vw, 1.65rem);
}
.monograph-title {
  margin-bottom: 1.35rem;
}
.specimen {
  max-width: min(100%, 16rem);
}
.specimen figcaption {
  margin-top: 0.75rem;
}
.specimen .byline {
  margin: 0 0 0.28rem;
  color: var(--ink);
  font-size: 1.12rem;
}
.specimen .imprint {
  font-size: 1.04rem;
}
.innenseite .years a:hover {
  color: var(--wine);
}
@media (max-width: 44rem) {
  .masthead nav a:focus-visible,
  .innenseite .masthead .signature a:focus-visible {
    outline-color: var(--light-ink);
  }
  .innenseite .masthead {
    display: block;
    padding: 0.95rem var(--margin) 0.65rem;
    background: var(--wine);
    border: 0;
  }
  .innenseite .masthead .signature {
    color: var(--light-ink);
  }
  .innenseite .masthead nav {
    margin-top: 0.4rem;
  }
  .monograph {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "cover" "reading";
    gap: 1rem;
  }
  .monograph-title {
    margin: 0;
  }
  .specimen {
    justify-self: stretch;
    display: grid;
    grid-template-columns: minmax(3.75rem, 5.25rem) minmax(0, 1fr);
    align-items: end;
    gap: 1rem;
    max-width: none;
  }
  .specimen figcaption {
    margin: 0;
    max-width: 32ch;
  }
}
@media print {
  body,
  .wrap,
  .author-note,
  .masthead .signature,
  .innenseite .masthead {
    background: white;
    color: black;
  }
  .author-note figcaption,
  .author-note .reference a,
  .innenseite .masthead .signature {
    color: black;
  }
  .edition-entry {
    break-inside: avoid;
  }
}
