@font-face { font-family: "Karla"; src: url("fonts/karla-400.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --grund: #f5f2ec; --zelle: #ece8df; --text: #1b1a18; --leise: #6f6a62; --linie: #dcd6cb; --akzent: #b3402e;
  --rand: 48px; --breite: 1240px;
  /* Eine gemeinsame linke und rechte Kante fuer Kopf, Inhalt und Fuss. */
  --kante: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: "Karla", sans-serif; font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--akzent); }
h1, h2, h3 { font-family: "Marcellus", serif; font-weight: 400; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: .7em; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 24px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.kopf { position: sticky; top: 0; z-index: 10; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px var(--kante); background: var(--grund); border-bottom: 1px solid var(--linie); }
.marke { font-family: "Marcellus", serif; font-size: 26px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.kopf nav { display: flex; gap: 30px; }
.kopf nav a { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.kopf nav a[aria-current] { border-bottom-color: currentColor; }

main { min-height: 70vh; }
.band { padding: 72px var(--kante) 24px; }
.band.schmal { max-width: calc(980px + 2 * var(--kante)); }
.bandkopf { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.mehr, .zurueck a { font-size: 16px; }
.zurueck { margin: 0 0 28px; color: var(--leise); }
.weiter { margin: 64px 0 0; padding-top: 28px; border-top: 1px solid var(--linie); font-family: "Marcellus", serif; font-size: 24px; }
.weiter a { text-decoration: none; }
.angaben { margin: -18px 0 44px; color: var(--leise); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }

/* Serienkarten: das Werk steht unbeschnitten in einer festen Zelle. */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; }
.karte { text-decoration: none; display: block; }
.zelle { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 22px; margin-bottom: 14px; background: var(--zelle); transition: background .2s; }
.zelle img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.karte:hover .zelle { background: #e4dfd4; }
.kartentitel { display: block; font-family: "Marcellus", serif; font-size: 22px; line-height: 1.2; }
.jahrzahl { color: var(--leise); font-size: 15px; }

/* Serienseite: Raster in Zeilen, damit Reihenfolge und Grossansicht uebereinstimmen. */
.werke { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; align-items: end; }
.werke figure { margin: 0; }
.werke a { display: block; cursor: zoom-in; }
.werke img { width: 100%; }
.werke figcaption { padding-top: 8px; min-height: 2.1em; color: var(--leise); font-size: 15px; }

.lesetext { max-width: 68ch; }
.lesetext p { margin: 0 0 1.05em; }
.lesetext h2 { margin: 1.6em 0 .6em; }
.lesetext h2:first-child { margin-top: 0; }
.lesetext h3 { margin: 1.5em 0 .5em; }
.adresse p { margin: 0; }
.adresse p:last-child, .adresse p:nth-last-child(2) { margin-top: 1em; }

.portraet { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 56px; align-items: start; }
.portraet > *, .wuerdigung > *, .interview > * { min-width: 0; }
.portraet figure, .wuerdigung figure { margin: 0; }
.portraet h2 { text-transform: lowercase; }
.portraet h2::first-letter { text-transform: uppercase; }
.wuerdigung { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 56px; align-items: start; padding-top: 56px; border-top: 1px solid var(--linie); }
.interview { display: grid; grid-template-columns: 260px minmax(0, 68ch); gap: 56px; align-items: start; padding-top: 56px; border-top: 1px solid var(--linie); }
.interview > h2 { position: sticky; top: 110px; }
.interview p:has(> strong:only-child) { margin-top: 1.9em; margin-bottom: .45em; }
.interview .lesetext > p:first-child { margin-top: 0; }

.kommend { margin-bottom: 64px; }
.kommend h2, .bisher { margin-bottom: 24px; }
.kommend ul { list-style: none; margin: 0; padding: 0; }
.kommend li { padding: 18px 0; border-top: 1px solid var(--linie); font-size: 20px; }
.kommend[hidden], .bisher[hidden], .jahr[hidden] { display: none; }
.jahr { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--linie); }
.jahr h3 { font-size: 26px; color: var(--leise); }
.jahr ul { list-style: none; margin: 0; padding: 0; }
.jahr li { margin: 0 0 .5em; }
.jahr li:last-child { margin-bottom: 0; }
.jahr strong { font-weight: 700; }

.fuss { margin: 80px var(--kante) 0; padding: 28px 0 48px; display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid var(--linie); color: var(--leise); font-size: 15px; }
.fuss span { margin-right: auto; }
.fuss a { text-decoration: none; }

/* Startseite: Titelbild randlos ueber die ganze Flaeche, Name mittig darauf, Menue liegt auf dem Bild. */
.seite-start .kopf { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; }
.seite-start .marke { visibility: hidden; }
.seite-start .kopf nav a { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .35); }
.seite-start .kopf nav a:hover { color: #fff; border-bottom-color: #fff; }
.buehne { position: relative; height: 100vh; min-height: 420px; overflow: hidden; }
.titelbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.titelbild img.an { opacity: 1; }
.titel { position: absolute; inset: 0; margin: 0; padding: 0 16px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(26px, 6.4vw, 92px); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; pointer-events: none; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .5), 0 0 3px rgba(0, 0, 0, .3); }

.lupe { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; background: var(--grund); }
.lupe[hidden] { display: none; }
.lupe img { flex: 1 1 auto; min-height: 0; max-width: 100%; object-fit: contain; }
.lupe p { margin: 14px 0 0; min-height: 1.6em; color: var(--leise); font-size: 15px; text-align: center; }
.lupe button { position: absolute; border: 0; background: none; color: var(--text); font-family: "Marcellus", serif; font-size: 44px; line-height: 1; cursor: pointer; padding: 12px 18px; }
.lupe button:hover { color: var(--akzent); }
.lupe .zu { top: 6px; right: 12px; font-size: 38px; }
.lupe .vor { right: 6px; top: 50%; transform: translateY(-50%); }
.lupe .rueck { left: 6px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1000px) {
  .werke { grid-template-columns: repeat(2, 1fr); }
  .portraet, .wuerdigung, .interview { grid-template-columns: 1fr; gap: 28px; }
  .portraet figure { max-width: 400px; }
  .wuerdigung figure { max-width: 520px; }
  .interview > h2 { position: static; }
}
@media (max-width: 720px) {
  :root { --rand: 18px; }
  body { font-size: 17px; }
  .kopf { position: static; flex-direction: column; align-items: center; gap: 4px; padding: 16px var(--kante) 6px; }
  .marke { font-size: 22px; }
  .kopf nav { gap: 4px 18px; flex-wrap: wrap; justify-content: center; }
  .kopf nav a { font-size: 13px; letter-spacing: .08em; padding: 10px 0 8px; }
  .band { padding-top: 44px; }
  .karten { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .karten.drei > :last-child { display: none; }
  .zelle { padding: 12px; }
  .kartentitel { font-size: 19px; }
  .werke { grid-template-columns: 1fr; gap: 36px; }
  .werke figcaption { min-height: 0; }
  .jahr { grid-template-columns: 1fr; gap: 6px; }
  .seite-start .marke { display: none; }
  .seite-start .kopf { padding-top: 8px; }
  .bandkopf { flex-direction: column; gap: 6px; margin-bottom: 22px; }
  .lupe { padding: 52px 12px 20px; }
  .lupe .vor, .lupe .rueck { top: auto; bottom: 6px; transform: none; }
}
