@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/schriften/jost-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: 100 900; font-display: swap; src: url('/schriften/jost-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: italic; font-weight: 100 900; font-display: swap; src: url('/schriften/jost-latin-wght-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@view-transition { navigation: auto; }

:root {
  --tinte: #141414;
  --grau: #5C5C5C;
  --verkauft: #B8473F;
  --rand: 56px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: #FFFFFF; color: var(--tinte); font-family: 'Jost', 'Futura', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
a { color: var(--tinte); }
img { display: block; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }

.linie { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.schlicht { text-decoration: none; }

/* Kopf */
.kopf { max-width: 1440px; margin: 0 auto; padding: 28px var(--rand); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.kopf nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.kopf a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; }
.kopf .marke { font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; }
.kopf .shop { justify-self: end; gap: 6px; }

/* Fuß */
.fuss { max-width: 1440px; margin: 0 auto; padding: 40px var(--rand) 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; font-size: 13px; line-height: 20px; }
.fuss .name { font-weight: 500; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fuss a { display: inline-flex; align-items: center; min-height: 32px; }
.fuss .hinweis { color: var(--grau); }

/* Seitenaufbau */
.seite { max-width: 1440px; margin: 0 auto; padding: 0 var(--rand); animation: seite-ein .6s ease both; }
@keyframes seite-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .einblenden { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
.abschnitt-titel { font-size: 36px; font-weight: 500; line-height: 44px; letter-spacing: 0.01em; text-transform: uppercase; }

/* Startseite */
.schaufenster { --bild-hoehe: max(100vh - 250px, 360px); padding-top: 40px; }
.schaufenster h1 { margin-bottom: 24px; }
.schaufenster a { display: block; text-decoration: none; }
/* Das ganze Blatt passt in den ersten Bildschirm. --f ist das Seitenverhältnis des Fotos. */
.schaufenster .bild-rahmen { width: min(100%, 880px, calc(72vh * var(--f))); }
.schaufenster img { width: 100%; height: auto; }
.schaufenster-text { padding-top: 16px; font-size: 13px; line-height: 20px; }
.schaufenster-text .gross { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.schaufenster-text .klein { color: var(--grau); }
.neu { padding: 128px 0; }
.neu-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding-bottom: 32px; }
.neu-kopf a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; }

/* Kacheln */
.raster { display: grid; gap: 64px 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.raster.eng { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.werk a { display: flex; flex-direction: column; gap: 16px; text-align: center; text-decoration: none; }
.werk-feld { position: relative; aspect-ratio: 1 / 1; }
.werk-feld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.zoom { transition: transform .7s cubic-bezier(.2, .6, .2, 1); transform-origin: 50% 100%; }
.werk-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.werk-titel { font-size: 18px; font-weight: 500; line-height: 25px; text-wrap: balance; }
.werk-unterzeile { font-size: 14px; line-height: 20px; text-wrap: balance; }
.werk-preis, .werk-verkauft { font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.werk-verkauft { color: var(--verkauft); }

/* Bestand */
.bestand-titel { padding: 40px 0 48px; font-size: 52px; font-weight: 500; line-height: 60px; text-align: center; }
.bestand { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 48px; padding-bottom: 128px; }
.filter { flex: 0 0 176px; display: flex; flex-direction: column; gap: 24px; }
.filter-gruppe { display: flex; flex-direction: column; }
.filter button { display: flex; align-items: center; width: 100%; min-height: 32px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; line-height: 1.3; color: var(--tinte); text-align: left; cursor: pointer; }
.filter button[aria-pressed="true"] { font-weight: 600; }
.werke { flex: 999 1 400px; min-width: 0; }
.leer { padding: 96px 0; text-align: center; font-size: 22px; font-weight: 500; }
[hidden] { display: none !important; }

/* Detailseite */
.detail { max-width: 1328px; margin: 0 auto; padding: 32px var(--rand) 128px; animation: seite-ein .6s ease both; }
.pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-bottom: 16px; font-size: 13px; line-height: 20px; }
.pfad a { display: inline-flex; align-items: center; min-height: 32px; }
.detail-spalten { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 400px); justify-content: space-between; align-items: start; gap: 48px 64px; }
.galerie { --foto-hoehe: max(100vh - 176px, 420px); min-width: 0; }
.fotos { display: flex; flex-direction: column; gap: 16px; }
/* Jedes Foto passt ganz ins Fenster. --f ist sein Seitenverhältnis. */
.fotos img { width: min(100%, calc(var(--foto-hoehe) * var(--f))); height: auto; }
.foto-zaehler { display: none; }
.angaben { min-width: 0; position: sticky; top: 32px; display: flex; flex-direction: column; padding-top: 8px; }
.angaben h1 { font-size: 40px; font-weight: 500; line-height: 46px; text-wrap: balance; }
.angaben .preis { margin-top: 12px; font-size: 20px; font-weight: 500; line-height: 28px; font-variant-numeric: tabular-nums; }
.angaben .kuenstler { margin-top: 24px; font-size: 14px; font-weight: 600; line-height: 22px; }
.angaben .prosa { margin-top: 12px; font-size: 14px; line-height: 24px; }
.knopf { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; background: var(--tinte); color: #FFFFFF; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: background-color .25s ease; }
.angaben .notiz { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--grau); text-align: center; }
.angaben .frage { margin-top: 24px; font-size: 13px; line-height: 20px; color: var(--grau); }
.angaben .frage a { text-underline-offset: 4px; }
.angaben .ist-verkauft { margin-top: 32px; font-size: 15px; color: var(--verkauft); }
.mehr { max-width: 1440px; margin: 0 auto; padding: 0 var(--rand) 128px; }
.mehr h2 { margin-bottom: 32px; }

/* Textseiten */
.text { max-width: 752px; margin: 0 auto; padding: 40px var(--rand) 128px; }
.text.breit { max-width: 1160px; }
.text h1 { padding-bottom: 32px; font-size: 52px; font-weight: 500; line-height: 60px; }
.text h2 { margin: 32px 0 8px; font-size: 18px; font-weight: 500; line-height: 25px; }
.text p { margin-bottom: 16px; font-size: 16px; line-height: 26px; }
.text .lead { margin-bottom: 32px; font-size: 24px; line-height: 34px; }
.text .stand { margin-top: 32px; font-size: 14px; color: var(--grau); }
.text a { text-underline-offset: 4px; }
.spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 96px; align-items: start; }
.spalten h2:first-child { margin-top: 0; }
.formular { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.formular label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; }
.formular input, .formular textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #8A8A8A; border-radius: 0; background: #FFFFFF; color: var(--tinte); font: inherit; font-size: 16px; line-height: 24px; }
.formular textarea { display: block; resize: vertical; }
.formular :focus-visible { outline-offset: 0; }
.formular .falle { position: absolute; left: -9999px; }
.text .formular-hinweis { margin: 0; font-size: 13px; line-height: 20px; color: var(--grau); }
.formular .knopf { margin-top: 0; width: 100%; border: 0; font-family: inherit; cursor: pointer; }
.mehr .neu-kopf h2 { margin-bottom: 0; }
.preis-hinweis { margin-top: 64px; font-size: 13px; line-height: 20px; color: var(--grau); }
.angaben .notiz.klein { margin-top: 4px; }
/* Nur in der Vorschau zu sehen: Angaben, die vor dem Livegang noch fehlen */
.fehlt { padding: 1px 4px; background: #FFE98A; color: var(--tinte); }

/* Nur mit Maus: Auf Touchgeräten bliebe der Hover-Zustand nach dem Tippen hängen */
@media (hover: hover) {
  .schlicht:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
  a:hover .zoom { transform: scale(1.03); }
  a:hover .werk-titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .filter button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
  .knopf:hover { background: #3A3A3A; }
}

/* Die Kategorien stehen neben den Werken und bleiben beim Scrollen erreichbar */
@media (min-width: 721px) {
  .filter { position: sticky; top: 32px; }
}

/* Laptop und größer: Bild links, Angaben daneben, alles im ersten Bildschirm */
@media (min-width: 1001px) {
  .schaufenster a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; align-items: end; }
  .schaufenster .bild-rahmen { width: min(880px, calc(100vw - 2 * var(--rand) - 280px), calc(var(--bild-hoehe) * var(--f))); }
  .schaufenster-text { padding-top: 0; font-size: 14px; line-height: 22px; }
}

/* Flache Laptopfenster: weniger Luft oben, damit mehr vom Werk zu sehen ist */
@media (min-width: 721px) and (max-height: 800px) {
  .kopf { padding-top: 16px; padding-bottom: 16px; }
  .schaufenster { --bild-hoehe: max(100vh - 176px, 360px); padding-top: 16px; }
  .schaufenster h1 { margin-bottom: 16px; }
  .bestand-titel { padding: 16px 0 28px; font-size: 44px; line-height: 52px; }
  .detail { padding-top: 8px; }
  .galerie { --foto-hoehe: max(100vh - 136px, 420px); }
  .text { padding-top: 16px; }
  .text h1 { padding-bottom: 20px; font-size: 44px; line-height: 52px; }
}

/* Sonst bliebe bei sehr flachem Fenster der eBay-Knopf unter dem Rand hängen */
@media (max-height: 639px) {
  .angaben { position: static; }
}

@media (max-width: 1176px) {
  .detail-spalten { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); column-gap: 40px; }
}

@media (max-width: 1000px) {
  :root { --rand: 32px; }
  .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spalten { column-gap: 48px; }
}

@media (max-width: 720px) {
  :root { --rand: 20px; }
  .kopf { grid-template-columns: 1fr auto; gap: 0 16px; padding-top: 16px; padding-bottom: 4px; }
  .kopf .marke { grid-column: 1 / -1; order: -1; justify-self: center; min-height: 36px; font-size: 26px; }
  .kopf nav { gap: 0 16px; }
  .kopf a { min-height: 44px; }
  .fuss { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 24px; }
  .fuss a { min-height: 44px; font-size: 14px; }
  .abschnitt-titel { font-size: 26px; line-height: 32px; }
  .schaufenster { padding-top: 16px; }
  .schaufenster h1 { margin-bottom: 16px; }
  .neu { padding: 72px 0; }
  .neu-kopf { padding-bottom: 24px; }
  .neu-kopf a { min-height: 44px; }
  .raster, .raster.eng { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .werk a { gap: 10px; }
  .werk-titel { font-size: 15px; line-height: 21px; hyphens: auto; }
  .werk-unterzeile, .werk-preis, .werk-verkauft { font-size: 13px; line-height: 19px; }
  .bestand-titel { padding: 12px 0 12px; font-size: 32px; line-height: 40px; }
  .bestand { gap: 12px; padding-bottom: 72px; }
  /* Die Kategorien sind eine wischbare Zeile, die oben stehen bleibt. Der Rand zeigt, dass noch mehr kommt. */
  .filter { position: sticky; top: 0; z-index: 2; flex: 0 0 calc(100% + 2 * var(--rand)); min-width: 0; margin: 0 calc(-1 * var(--rand)); gap: 0; background: #FFFFFF; }
  .filter-gruppe.kategorien { position: relative; flex-direction: row; flex-wrap: nowrap; gap: 0 18px; padding: 0 44px 0 var(--rand); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
  .filter-gruppe.kategorien::-webkit-scrollbar { display: none; }
  .filter-gruppe.kategorien button { flex: none; width: auto; min-height: 44px; font-size: 15px; white-space: nowrap; }
  .filter button:focus-visible { outline-offset: -2px; }
  .werke { flex: 1 1 100%; scroll-margin-top: 52px; }
  .detail { padding-top: 0; padding-bottom: 72px; }
  .pfad { flex-wrap: nowrap; padding-bottom: 4px; white-space: nowrap; }
  .pfad a { min-height: 44px; }
  .pfad [aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .detail-spalten { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* Die Fotos sind eine Wischgalerie, damit Titel, Preis und Knopf gleich danach kommen */
  .galerie { margin: 0 calc(-1 * var(--rand)); }
  .fotos { --foto-breite: calc(100vw - 2 * var(--rand) - 16px); flex-direction: row; gap: 8px; padding: 0 calc((100vw - var(--foto-breite)) / 2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fotos::-webkit-scrollbar { display: none; }
  /* --hoch kommt vom höchsten Foto des Werks, so bleibt bei reinen Querformaten kein Weiß über und unter dem Bild */
  .fotos > div { flex: 0 0 var(--foto-breite); height: min(calc(var(--foto-breite) * var(--hoch)), 66vh); scroll-snap-align: center; animation: none; }
  .fotos > div:only-child { flex-basis: 100%; }
  .fotos img { width: 100%; height: 100%; object-fit: contain; }
  .foto-zaehler { display: block; padding-top: 8px; font-size: 13px; line-height: 20px; color: var(--grau); text-align: center; font-variant-numeric: tabular-nums; }
  .angaben { position: static; padding-top: 0; }
  .angaben h1 { font-size: 28px; line-height: 34px; hyphens: auto; }
  .angaben .prosa { font-size: 15px; }
  .mehr { padding-bottom: 72px; }
  .text { padding-top: 24px; padding-bottom: 80px; }
  .text h1 { font-size: 38px; line-height: 44px; }
  .text .lead { font-size: 20px; line-height: 28px; }
  .spalten { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .preis-hinweis { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .seite, .detail, .einblenden { animation: none; }
  .zoom, .knopf { transition: none; }
}
