@font-face { font-family: "Instrument Sans"; src: url(fonts/InstrumentSans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root { --grund: #fff; --text: #111; --leise: #8c8c8c; --linie: #e6e6e6; --leiste: 260px; --rand: clamp(16px, 3vw, 40px); }
[hidden] { display: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--grund); color: var(--text); font: 400 14px/1.55 "Instrument Sans", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Linke Leiste */
.leiste { position: fixed; inset: 0 auto 0 0; width: var(--leiste); padding: var(--rand); display: flex; flex-direction: column; gap: 3rem; overflow-y: auto; }
.logo img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.menue { display: grid; gap: .45rem; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.menue a:hover, .menue a:focus-visible, .filter button:hover { color: var(--leise); }
.filter { display: grid; gap: .2rem; margin: .5rem 0 .9rem .9rem; text-transform: none; letter-spacing: 0; font-size: 13px; }
.filter button { font: inherit; background: none; border: 0; color: var(--leise); cursor: pointer; padding: .1rem 0; text-align: left; }
.filter button[aria-pressed="true"] { color: var(--text); }
.klein { margin-top: .9rem; color: var(--leise); text-transform: none; letter-spacing: 0; }

/* Hauptfläche */
main { margin-left: var(--leiste); padding: var(--rand); }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 3rem var(--rand); }
.werk[hidden] { display: none; }
.werk a { display: block; }
.bild { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #f2f2f2; }
.bild > img, .bild > svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .4s; }
.werk a:hover .bild > :first-child { opacity: .85; }
.meta { padding-top: .6rem; font-size: 13px; }
.meta span { display: block; color: var(--leise); }

/* Korn: eine feine, ruhende Schicht über der ganzen Seite, überall gleich */
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 }

.text { max-width: 62ch; padding-top: 8rem; display: grid; gap: .9rem; }
.text h2 { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; }
.text a { border-bottom: 1px solid var(--linie); }
.fuss { margin-top: 8rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); color: var(--leise); font-size: 12px; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.unter { display: grid; gap: .1rem; margin: .1rem 0 .3rem .9rem; }
.unter button { font-size: 12px; }

/* Projektseite */
.projekt-kopf { padding-bottom: 2.5rem; display: grid; gap: .3rem; }
.projekt-kopf h1 { font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.2; }
.projekt-kopf p, .zurueck { color: var(--leise); font-size: 13px; }
.strecke { display: grid; gap: var(--rand); max-width: 1100px; }
.strecke .bild { aspect-ratio: auto; background: none; }
.strecke .bild img { height: auto; }
.zurueck { display: inline-block; margin-top: 4rem; }
.zurueck:hover { color: var(--text); }

.lauf { display: grid; gap: .9rem; }
.text h3 { margin-top: 2.5rem; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); }
.liste { display: grid; border-top: 1px solid var(--linie); }
.liste li { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); font-size: 13px; }
.liste span { color: var(--leise); }
.liste em { grid-column: 2; font-style: normal; color: var(--leise); }

/* Prints-Knopf */
.prints-li { margin-top: .6rem; }
.prints { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1.1em; min-height: 36px; border: 1px solid var(--text); border-radius: 999px; transition: background .25s, color .25s; }
.prints span[aria-hidden] { display: inline-block; transition: transform .25s; }
.menue .prints:hover, .menue .prints:focus-visible { background: var(--text); color: var(--grund); }
.prints:hover span[aria-hidden], .prints:focus-visible span[aria-hidden] { transform: translate(2px, -2px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.werk.leer .meta { color: var(--leise); }

/* Team auf Projektseiten */
.projekt-text { max-width: 640px; margin-bottom: 2.5rem; display: grid; gap: 1em; line-height: 1.55; }
.abschnitt { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; margin: 6rem 0 1.5rem; }
.clip { display: block; width: auto; max-width: min(100%, 960px); max-height: 85vh; height: auto; margin-bottom: 3rem; background: #111; }
.video { position: relative; max-width: 420px; aspect-ratio: 9 / 16; margin-bottom: 3rem; background: #111; }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { display: grid; place-content: center; gap: .5rem; background: none; color: #fff; font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.video button span { text-transform: none; letter-spacing: 0; color: #8c8c8c; font-size: 11px; }
.team { max-width: 640px; margin-bottom: 3rem; }
.team h2 { margin-bottom: .8rem; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); }
.team .liste li { grid-template-columns: 11rem 1fr auto; align-items: baseline; }
.team .liste b { font-weight: 400; }
.team .liste b a { color: var(--text); }
.team .ig { justify-self: end; }
.team a { color: var(--leise); }
.team a:hover, .team a:focus-visible { color: var(--text); }

/* Umschalter Raster / Liste */
.ansicht { display: flex; justify-content: flex-end; gap: 1rem; margin-bottom: 1.5rem; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ansicht[hidden] { display: none; }
.ansicht button { font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: .3rem 0; color: var(--leise); cursor: pointer; }
.ansicht button[aria-pressed="true"] { color: var(--text); }

/* Listenansicht */
.raster.als-liste { display: block; border-top: 1px solid var(--linie); }
.als-liste .werk a, .als-liste .werk.leer > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--linie); transition: padding .3s, color .3s; }
.als-liste .bild { display: none; }
.als-liste .meta { display: contents; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -.01em; }
.als-liste .meta span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.als-liste .werk.leer { color: var(--leise); }
.als-liste:has(.werk:not(.leer) a:hover) .werk a:not(:hover) { color: var(--leise); }
.als-liste .werk a:hover { padding-left: .5rem; }

.schwebe { position: fixed; top: 0; left: 0; z-index: 30; width: 220px; aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transition: opacity .2s; overflow: hidden; }
.schwebe.sichtbar { opacity: 1; }
.schwebe img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: none) { .schwebe { display: none; } }
@media (prefers-reduced-motion: reduce) { .als-liste .werk a { transition: none; } .als-liste .werk a:hover { padding-left: 0; } }

/* Ladeanimation */
.vorhang { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--grund); transition: opacity .5s, visibility .5s; }
.geladen .vorhang { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .vorhang { display: none; } }
.strecke figcaption { padding-top: .6rem; font-size: 13px; }
.strecke figcaption.offen, .strecke figcaption a { color: var(--leise); }
.strecke figcaption a:hover, .strecke figcaption a:focus-visible { color: var(--text); }
/* Mosaik: Lage je Bild aus werke.js (folge), 12 Spalten Desktop, 6 Spalten Handy */
.strecke.mosaik { grid-template-columns: repeat(12, 1fr); align-items: start; row-gap: clamp(2rem, 6vw, 6rem); max-width: 1300px; }
.mosaik figure { grid-column: var(--d); }
.mosaik .clip { width: 100%; max-width: none; max-height: none; margin: 0; aspect-ratio: 9 / 16; object-fit: cover; }
.mosaik .hoch { grid-row: span 3; }
.strecke.mosaik + .abschnitt { margin-top: clamp(4rem, 10vw, 9rem); }
.mosaik .versetzt { margin-top: 9vw; }
/* Polaroids: diagonal übereinander geworfen, leicht gedreht */
.mosaik .stapel { position: relative; transform: rotate(var(--r)); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.mosaik .stapel + .stapel { margin-top: -22vw; }
.mosaik .stapel { cursor: pointer; }
.mosaik .stapel:hover, .mosaik .stapel.vorn { transform: rotate(0) scale(1.03); z-index: 2; }
.mosaik .stapel figcaption { position: absolute; top: 100%; }
@media (prefers-reduced-motion: reduce) { .mosaik .stapel { transition: none; } }
.filter button:disabled { color: #c4c4c4; cursor: default; }
.filter button:disabled:hover { color: #c4c4c4; }
.projekt-link { margin: 1rem 0 2rem; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.projekt-link .prints:hover, .projekt-link .prints:focus-visible { background: var(--text); color: var(--grund); }

/* Handy: schmale Kopfzeile + Menü als Vollfläche */
.menue-knopf { display: none; }
@media (max-width: 760px) {
  .leiste { position: sticky; top: 0; z-index: 40; width: auto; inset: auto; padding: 10px 16px; flex-direction: row; justify-content: space-between; align-items: center; gap: 1rem; background: var(--grund); border-bottom: 1px solid var(--linie); overflow: visible; }
  .logo { width: 104px; flex: none; }
  .menue-knopf { display: block; font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: none; border: 0; color: var(--text); padding: 12px 0 12px 16px; cursor: pointer; }
  #hauptnav { position: fixed; inset: 78px 0 0 0; background: var(--grund); padding: 28px 16px 40px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .menue-offen #hauptnav { visibility: visible; opacity: 1; }
  .menue-offen { overflow: hidden; }
  .menue { gap: .9rem; font-size: 15px; }
  .filter { display: grid; gap: .15rem; margin: .6rem 0 .6rem 0; font-size: 18px; }
  .filter button { padding: .35rem 0; min-height: 40px; }
  .unter { display: grid; gap: 0; margin: 0 0 .3rem 1rem; }
  .unter button { font-size: 16px; }
  .klein { margin-top: .4rem; }
  .prints-li { margin-top: 1rem; }

  main { margin-left: 0; padding: 16px; }
  .ansicht { margin-bottom: .75rem; }
  .ansicht button { min-height: 40px; padding: 0 .25rem; }
  .raster { grid-template-columns: 1fr 1fr; gap: 1.75rem 12px; }
  .meta { font-size: 12px; }
  .als-liste .werk a, .als-liste .werk.leer > div { grid-template-columns: 1fr; padding: .85rem 0; gap: .15rem; }
  .als-liste .meta { font-size: 1.15rem; line-height: 1.25; }
  .als-liste .meta span { text-align: left; font-size: 11px; }
  .als-liste .werk a:hover { padding-left: 0; }

  .text { padding-top: 5rem; }
  .liste li { grid-template-columns: 3.4rem 1fr; column-gap: .75rem; }
  .team .liste li { grid-template-columns: 1fr auto; row-gap: .15rem; }
  .team .liste span { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
  .projekt-kopf { padding-bottom: 1.5rem; }
  .strecke { gap: 12px; }
  .strecke.mosaik { grid-template-columns: repeat(6, 1fr); row-gap: 2.5rem; column-gap: 10px; }
  .mosaik figure { grid-column: var(--m); }
  .mosaik .versetzt { margin-top: 22vw; }
  .mosaik .tief { margin-top: 14vw; }
  .mosaik .stapel + .stapel { margin-top: -40vw; }
  .mosaik figcaption { font-size: 11px; }
  .fuss { margin-top: 5rem; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { #hauptnav { transition: none; } }
@media (hover: none) and (max-width: 760px) {
  .als-liste .werk a, .als-liste .werk.leer > div { grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; }
  .als-liste .bild { display: block; grid-row: span 2; width: 56px; }
  .als-liste .meta span { grid-column: 2; }
}

/* Digital Editions */
.prints-li + .prints-li { margin-top: .4rem; }
.abschnitt span { display: block; margin-top: .3rem; color: var(--leise); text-transform: none; letter-spacing: 0; }
/* Digital Editions */
.ed-kopf { display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: end; padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--linie); max-width: 1300px; }
.ed-titel { display: grid; gap: .8rem; }
.ed-kopf h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; margin-top: -.16em; } /* Oberlänge bündig mit Archiv-Oberkante */
.ed-text { grid-column: 1 / -1; max-width: 640px; display: grid; gap: .8em; line-height: 1.55; }
.bilanz { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); }
.bilanz div { display: flex; flex-direction: column-reverse; }
.bilanz dd { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bilanz dt { font-size: 12px; color: var(--leise); margin-top: .4rem; }
.ketten { display: flex; gap: 1.2rem; }
.ketten button { font: inherit; background: none; border: 0; padding: 0; color: var(--leise); cursor: pointer; }
.ketten button[aria-pressed="true"], .ketten button:hover { color: var(--text); }
.adressen { color: var(--leise); }
.adressen a { color: var(--text); }
.serie:first-of-type .abschnitt { margin-top: clamp(3rem, 6vw, 5rem); }
.editionen { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 3rem); align-items: start; max-width: 1300px; }
.editionen.vier { grid-template-columns: repeat(4, 1fr); column-gap: clamp(1rem, 2vw, 2rem); }
.editionen li:nth-child(3n+2) { margin-top: 4vw; }
.editionen.vier li:nth-child(n) { margin-top: 0; }
.editionen.vier li:nth-child(2n) { margin-top: 4vw; }
.editionen a { display: grid; gap: .35rem; align-content: start; }
.editionen .bild { aspect-ratio: 4 / 5; background: #f4f4f3; margin-bottom: .6rem; }
.editionen .bild img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.editionen a:hover .bild img { transform: scale(1.03); }
.editionen .meta { font-size: 13px; }
.editionen .meta span { display: block; color: var(--leise); }
.belegt { font-size: 12px; display: flex; gap: .5em; align-items: center; flex-wrap: wrap; }
.belegt b { font-weight: 500; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; padding: .2em .65em; background: var(--text); color: var(--grund); border-radius: 999px; }
.wallet { text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sammeln { justify-self: start; font-size: 12px; margin-top: .3rem; border-bottom: 1px solid var(--linie); padding-bottom: 1px; transition: border-color .25s; }
.editionen a:hover .sammeln, .editionen a:focus-visible .sammeln { border-color: var(--text); }
/* Serie mit nur einem Werk: Bild groß, Angaben daneben */
.editionen.einzeln { grid-template-columns: 1fr; }
.editionen.einzeln a { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); align-content: end; }
.editionen.einzeln .bild { grid-row: 1 / span 4; aspect-ratio: 3 / 2; margin: 0; }
.editionen.einzeln .bild img { padding: 6%; }
.editionen.einzeln a > :not(.bild) { grid-column: 2; align-self: end; }
.editionen.einzeln .meta { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .editionen .bild img { transition: none; } .editionen a:hover .bild img { transform: none; } }
@media (max-width: 760px) {
  .ed-kopf { grid-template-columns: 1fr; }
  .editionen, .editionen.vier { grid-template-columns: repeat(2, 1fr); }
  /* Handy wie Auktionshaus-Katalog (Sotheby's): weißer Grund, Bilder auf gemeinsamer Grundlinie, kein Versatz */
  .editionen li:nth-child(n), .editionen.vier li:nth-child(n) { margin-top: 0; }
  .editionen { row-gap: 2.5rem; }
  .editionen .bild { aspect-ratio: 1; background: none; }
  .editionen .bild img { padding: 0; object-position: center bottom; }
  .editionen.einzeln { grid-template-columns: 1fr; }
  .editionen.einzeln a { grid-template-columns: 1fr; }
  .editionen.einzeln .bild { grid-row: auto; aspect-ratio: 4 / 3; margin-bottom: .6rem; }
  .editionen.einzeln a > :not(.bild) { grid-column: 1; }
}
