:root {
  --bg: #f6f5f1;
  --surface: #ecebe5;
  --ink: #1b1a18;
  --muted: #5f5c56;
  --line: #dcd9d1;
  --accent: oklch(0.72 0.14 85);
  --ph1: #e7e5df;
  --ph2: #efede8;
  --ph-ink: #77736b;
  --on-image: #fbfaf7;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.1;
}
h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 32px;
}
header.site a:has(img.logo):hover { opacity: 1; }
header.site img.logo {
  height: 46px;
  display: block;
  mix-blend-mode: multiply;
}
header.site nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
header.site nav a {
  font-size: 14px;
  letter-spacing: .04em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
header.site nav a.active { border-bottom-color: var(--ink); }
header.site .cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
header.site .lang {
  display: flex;
  gap: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}
header.site .lang button {
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px 6px;
  border-bottom: 1px solid transparent;
}
header.site .lang button.active { border-bottom-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  header.site nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    flex-basis: 100%;
    padding-top: 10px;
  }
  header.site nav.is-open { display: flex; }
  header.site nav a, header.site nav .cart { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  header.site nav .lang { width: 100%; padding: 12px 0; gap: 16px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: max(560px, 86vh);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #2a2823, #1b1a18);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,21,19,.82) 0%, rgba(22,21,19,.55) 30%, rgba(22,21,19,.15) 55%, rgba(22,21,19,0) 72%);
}
.hero .content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0 32px 56px;
  color: var(--on-image);
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.hero .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 14px;
}
.hero .kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}
.hero .content > div:first-child { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.hero h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
.hero .place {
  font-size: 18px;
  margin: 0;
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: .04em;
  border: none;
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.hero .btn.primary { background: var(--on-image); color: var(--ink); }
.hero .btn.secondary {
  background: rgba(22,21,19,.55);
  color: var(--on-image);
  border: 1px solid var(--on-image);
}

/* Sections */
section.page-section {
  padding: 56px 0 80px;
}
section.page-section h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 32px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.category-card { display: block; }
.category-card .cover {
  aspect-ratio: 4 / 3;
  background: var(--ph1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-ink);
  font-size: 12px;
  margin-bottom: 14px;
}
.category-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  margin: 0 0 6px;
}
.category-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}
.category-card .count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer */
footer.site {
  padding: 40px 0;
  font-size: 13px;
  color: var(--muted);
}
footer.site .bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; }

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: none;
}

/* Hero slides (crossfade) */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-dots {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 22px;
  display: flex;
  gap: 6px;
}
.hero-dots button {
  width: 32px;
  height: 2px;
  border: none;
  background: rgba(255,255,255,.45);
  padding: 0;
  position: relative;
}
.hero-dots button::before {
  content: '';
  position: absolute;
  inset: -12px -4px;
}
.hero-dots button.is-active { background: var(--on-image); }

/* Ausstellungen page */
.ex-head { padding-bottom: 32px !important; }
.ex-head h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.02em; margin: 0; }
.ex-current { padding-top: 16px !important; padding-bottom: 64px !important; display: flex; flex-direction: column; gap: 0; }
.ex-kicker { display: flex; gap: 10px; align-items: center; padding-bottom: 16px; font-size: 12px; letter-spacing: .12em; }
.ex-article {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.ex-article .thumb { aspect-ratio: 3/2; background: var(--ph1) center/cover no-repeat; }
.ex-article > div:last-child { display: flex; flex-direction: column; gap: 14px; }
.ex-article .date { font-size: 13px; }
.ex-article h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; margin: 0; }
.ex-article .place { font-size: 17px; margin: 0; }
.ex-article .ex-text { margin: 0; max-width: 52ch; }
.mono.label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mono.label.full { width: 100%; margin-bottom: 4px; }
.dot-inline { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.ex-archive { padding-top: 0 !important; }
.ex-archive .mono.label { padding-bottom: 16px; }
.archive-row {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 24px;
  padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px;
  color: inherit; text-decoration: none;
}
a.archive-row:hover { background: var(--surface); }
.archive-row .year { font-size: 13px; color: var(--muted); }

/* Home: other current exhibitions not already in the hero */
.others-ex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 0 !important;
}
.others-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.others-row .thumb { aspect-ratio: 4/3; background: var(--ph1) center/cover no-repeat; }
.others-row h3 { font-size: 22px; line-height: 1.2; margin: 0; }
.others-row .mono.label { margin-bottom: 4px; }
.others-row p:last-child { margin: 0; font-size: 14px; }

/* Home: Werke im Überblick (category + top-series list) */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-underline { display: inline-block; align-self: flex-start; font-size: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px 28px;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}
.overview-col { display: flex; flex-direction: column; gap: 14px; }
.overview-col .cover { display: block; aspect-ratio: 4/3; background-color: var(--surface); background-size: cover; background-position: center; }
.overview-col .ov-title { font-family: 'Newsreader', Georgia, serif; font-size: 26px; line-height: 1.1; }
.overview-col > p.muted.small { margin: -10px 0 0; }
.ov-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ov-list a { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ov-more { padding-top: 8px; }

/* Home: Langzeitprojekt */
.longterm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 56px;
  border-top: 1px solid var(--line);
}
.longterm > div:first-child { display: flex; flex-direction: column; gap: 20px; align-self: start; }
.longterm h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.015em; margin: 0; }
.longterm .lt-text { margin: 0; max-width: 44ch; font-size: 18px; color: var(--muted); }
.lt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; align-items: end; }
.lt-grid a { display: flex; flex-direction: column; gap: 10px; }
.lt-grid .lt-cover { aspect-ratio: 22/15; background: var(--ph1) center/cover no-repeat; }
.lt-grid p { margin: 0; font-size: 14px; }

/* Teaser row (home) */
.teaser-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.teaser { display: block; background: var(--surface); padding: 28px; border: 1px solid var(--line); }
.teaser h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 24px; margin: 8px 0; }
.teaser p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.teaser .link-arrow { color: var(--ink); font-size: 13px; margin: 0; }
.link-arrow { text-decoration: none; }

/* Werke overview (groups) */
.intro { color: var(--muted); max-width: 640px; margin: 0 0 40px; }
.group-block { margin-bottom: 56px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 28px; }
.group-head h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-style: italic; font-size: 26px; margin: 0; }
.series-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 36px 24px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 48px 28px;
  align-items: start;
}
.series-card, .work-card { display: flex; flex-direction: column; gap: 10px; }
.work-card { gap: 12px; }
.series-card .cover, .work-card .cover, .product-card .cover {
  aspect-ratio: 22 / 15;
  background: var(--ph1) center/cover no-repeat;
}
.cover-video { position: relative; overflow: hidden; background: #000; }
.cover-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-video .play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px;
}
.series-card h3, .product-card h3 {
  font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 19px; line-height: 1.2; margin: 0;
}
.series-card .count { font-size: 12px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }
.work-card .title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-card .title-row .title { font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-card .status { display: flex; align-items: center; gap: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); white-space: nowrap; flex: none; }
.work-card .status .dot { width: 7px; height: 7px; }
.work-card .meta { font-size: 13px; color: var(--muted); margin: -6px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex: none; }
.muted { color: var(--muted); }
.muted.small, p.small { font-size: 13px; }

/* Series detail */
.crumb { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.series-head { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 40px; margin-bottom: 48px; }
.series-head h1 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(32px, 4vw, 56px); margin: 0; }
.series-text .lead { font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-style: italic; font-size: 22px; line-height: 1.4; margin: 0 0 20px; }
.quote { font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; margin: 0 0 28px; max-width: 640px; }
.series-text .body { color: var(--ink); margin-bottom: 24px; }
.series-text .body.two-col { column-count: 2; column-gap: 40px; column-width: 300px; }
.series-text .body p { margin: 0 0 1em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--line); padding-top: 14px; margin: 0; font-size: 13px; }
.facts.stacked { border-top: none; padding-top: 0; }
.facts > div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }
.facts dd { margin: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px;
}
.pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* "…und es ist die Liebe doch!" Modulation: 14-phase timeline, in place of
   the lead/body text this one series doesn't have (see serie.php). */
.ld-timeline { margin: 36px 0 44px; }
.ld-timeline-intro { max-width: 62ch; color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.ld-timeline-track { display: flex; overflow-x: auto; padding-bottom: 14px; margin: 0 -2px; }
.ld-phase {
  flex: 0 0 146px; padding: 14px 16px 0 2px; position: relative; color: var(--ink);
}
.ld-phase::before { content: ''; position: absolute; top: 0; left: 2px; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.ld-phase::after { content: ''; position: absolute; top: 3px; left: 13px; right: 0; height: 1px; background: var(--line); }
.ld-phase:last-child::after { display: none; }
.ld-phase .num { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.ld-phase .ttl { display: block; font-size: 15px; margin-bottom: 3px; }
.ld-phase .kw { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
a.ld-phase:hover .ttl { text-decoration: underline; }
.ld-phase.is-pivot {
  flex-basis: 64px; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.ld-phase.is-pivot::before, .ld-phase.is-pivot::after { display: none; }

/* Work / product detail */
.work-detail { padding: 40px 0 96px !important; }
.wd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: start;
}
.wd-media { display: flex; flex-direction: column; gap: 14px; }
/* No fixed aspect-ratio/cover crop here (unlike grid thumbnails, where
   uniform cells matter more than exact proportions) - a single hero image
   should show the actual work uncropped, portrait pieces included, the same
   way the lightbox already does. The <img> (a real, intrinsically-sized
   element, unlike a background-image div) lets width/height auto + the
   max- constraints below size it down to fit both bounds at once, standard
   CSS replaced-element sizing - no JS measuring needed. */
.wd-img { width: 100%; aspect-ratio: 22/15; overflow: hidden; background: var(--ph1); }
/* Same box height as before (driven by the column width, like the old
   fixed-ratio crop) - but the <img> only takes the height, with width
   auto per its own natural ratio (capped so it can't overflow a portrait
   box turned wide by a landscape image) and centered, instead of being
   forced to the box's full width via background-size:cover. A portrait
   work ends up narrower within the same-height box rather than cropped
   or changing the page's layout height work to work. */
.wd-img img { display: block; height: 100%; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
video.wd-img { width: 100%; aspect-ratio: 22/15; object-fit: contain; background: #000; }
.wd-nav { display: flex; justify-content: space-between; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); }
.wd-info { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.wd-info h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.wd-rows > div, .wd-status {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 11px 0;
  border-top: 1px solid var(--line); font-size: 15px;
}
.wd-rows > div > span:first-child, .wd-status > span:first-child { color: var(--muted); }
.wd-status { border-bottom: 1px solid var(--line); }
.wd-status span:last-child { display: flex; align-items: center; gap: 8px; }
.inquire-box { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.inquire-box h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 22px; margin: 0; }
.inquire-box p { margin: 0; font-size: 15px; }
.inquire-box form, .contact-form form, .order-form { display: flex; flex-direction: column; gap: 10px; }
.inquire-box input, .inquire-box textarea,
.contact-form input, .contact-form textarea,
.order-form input, .order-form textarea {
  border: 1px solid var(--line); background: var(--bg); padding: 12px 14px; font: inherit; width: 100%;
}
.rights { margin: 0; }

/* Shop */
.shop-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.shop-main { flex: 1 1 560px; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 40px 24px !important; }
.cart-box { flex: 0 1 320px; position: sticky; top: 110px; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-box h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 22px; margin: 0; }
.cart-box .cart-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.cart-box .cart-line .remove-x { background: none; border: none; color: var(--muted); padding: 0; font-size: 14px; }
.cart-box .cart-total { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 12px; font-size: 16px; }
.cart-line-name { display: flex; align-items: center; gap: 8px; }
.qty-form { display: inline-flex; margin: 0; }
.qty-form input[type=number] {
  width: 3.8em; border: 1px solid var(--line); background: var(--bg); padding: 4px 2px 4px 8px; font: inherit; text-align: left;
}
.qty-form input[type=number]::-webkit-inner-spin-button { opacity: 1; }
.product-card { display: flex; flex-direction: column; gap: 10px; }
.product-card .cover { background-color: var(--surface) !important; background-size: contain !important; background-origin: content-box; padding: 18px; aspect-ratio: 1/1; }
.product-card .cat-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.product-card .name-link { font-family: 'Newsreader', Georgia, serif; font-size: 19px; line-height: 1.2; }
.product-card .desc { font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.product-card .details-link { font-size: 13px; border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 1px; }
.product-card .buy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.product-card .buy-row .price { font-size: 15px; margin: 0; }
.product-card .buy-row button, .product-card .buy-row a { background: none; border: 1px solid var(--ink); color: var(--ink); padding: 8px 12px; font-size: 13px; display: inline-block; }
form { margin: 0; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px 64px;
  align-items: start;
}
.pd-img {
  aspect-ratio: 1/1;
  background-color: var(--surface);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
  padding: clamp(20px, 4vw, 48px);
}
.pd-info { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.pd-info h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.pd-price { font-size: 22px; margin: 0; }
.pd-text { margin: 0; font-size: 16px; line-height: 1.65; max-width: 56ch; white-space: pre-line; }
.facts.pd-rows { border-top: 1px solid var(--line); padding-top: 0; }
.pd-rows > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 11px 0; font-size: 14px; border-top: none; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.related-grid.product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; gap: 32px 24px !important; }
.related-grid .cover {
  aspect-ratio: 1/1; background-color: var(--surface); background-size: contain; background-position: center;
  background-repeat: no-repeat; background-origin: content-box; padding: 14px;
}

/* Cart / order */
.cart-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 14px; align-items: center; }
.cart-row .cover { width: 64px; height: 64px; background: var(--ph1) center/cover no-repeat; }
.total { font-size: 16px; margin: 20px 0; }
.order-summary { list-style: none; padding: 0; margin: 0 0 20px; }
.order-summary li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-form { max-width: 480px; }

/* About / contact */
.about-layout, .contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about-layout .cover { aspect-ratio: 4/5; }
.about-layout .cover.placeholder {
  background: repeating-linear-gradient(45deg, var(--ph2), var(--ph2) 10px, var(--ph1) 10px, var(--ph1) 20px);
  display: flex; align-items: flex-end; padding: 16px; color: var(--ph-ink);
}
.about-layout .actions { display: flex; gap: 12px; margin: 20px 0; }
.about-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 64px;
  padding-top: 0 !important;
}
.about-links h2 { font-size: 28px; margin: 0 0 16px; }
.about-link-row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 12px 0;
  border-top: 1px solid var(--line); font-size: 15px;
}
a.about-link-row { justify-content: space-between; grid-template-columns: unset; display: flex; }
.about-link-row .year { font-size: 13px; color: var(--muted); }

/* Footer */
footer.site .wrap { padding-top: 48px; }
.foot-bar { border-top: 1px solid var(--line); padding-top: 24px; }
.foot-bar .links { flex-direction: column; gap: 4px !important; }
.copy { margin-top: 10px; }

@media (max-width: 860px) {
  .series-head, .about-layout, .contact-layout, .shop-layout, .teaser-row { grid-template-columns: 1fr; }
  .cart-box { position: static; }
}

.link-plain { color: inherit; text-decoration: none; }
.link-plain:hover { text-decoration: underline; }
button.thumb, .ex-gallery .lb-item, .ex-detail-grid .lb-item, .ex-detail-cover, button.wd-img {
  display: block; width: 100%; border: none; margin: 0; font: inherit; color: inherit; appearance: none;
}
button.wd-img { padding: 0; cursor: pointer; }

/* Exhibition gallery thumbnail strip (overview page, under the cover) */
.ex-gallery { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ex-gallery .lb-item {
  width: 92px; height: 92px; padding: 0; border: none; cursor: pointer; background: var(--ph1) center/cover no-repeat;
  position: relative;
}
.ex-gallery .lb-item.is-video::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 999px;
  background: rgba(27,26,24,.55); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fbfaf7'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}
.ex-article .thumb.lb-item { cursor: pointer; }

/* Exhibition detail page */
.ex-detail-crumb { font-size: 12px; }
.ex-detail-cover { aspect-ratio: 16/9; background: var(--ph1) center/cover no-repeat; cursor: pointer; }
.ex-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 24px;
}
.ex-detail-grid .lb-item { aspect-ratio: 1; padding: 0; border: none; cursor: pointer; background: var(--ph1) center/cover no-repeat; position: relative; }
.ex-detail-grid .lb-item.is-video::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(27,26,24,.55); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fbfaf7'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 20px;
}

/* Lightbox overlay */
.lb-overlay {
  position: fixed; inset: 0; background: rgba(20,19,17,.94); z-index: 999; display: none;
  align-items: center; justify-content: center; flex-direction: column;
}
.lb-overlay.lb-open { display: flex; }
.lb-stage { max-width: min(92vw, 1100px); max-height: 80vh; display: flex; align-items: center; justify-content: center; transition: opacity .15s; }
.lb-stage.lb-loading { opacity: .35; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 80vh; display: block; }
.lb-caption { color: var(--on-image, #fbfaf7); font-size: 14px; margin-top: 14px; max-width: 80vw; text-align: center; min-height: 1em; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: none; color: var(--on-image, #fbfaf7); cursor: pointer; font-size: 28px; line-height: 1;
  padding: 10px; opacity: .8;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 16px; right: 20px; font-size: 32px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lb-overlay.lb-single .lb-prev, .lb-overlay.lb-single .lb-next { display: none; }
.lb-prev.lb-nav-labeled, .lb-next.lb-nav-labeled {
  font-size: 13px; font-family: 'IBM Plex Mono', monospace; letter-spacing: .02em;
  background: rgba(0,0,0,.4); border-radius: 2px; padding: 10px 16px; white-space: nowrap; opacity: 1;
}
.lb-prev.lb-nav-labeled:hover, .lb-next.lb-nav-labeled:hover { background: rgba(0,0,0,.6); }
@media (max-width: 600px) {
  .lb-prev, .lb-next { font-size: 32px; padding: 6px; }
  .lb-prev.lb-nav-labeled, .lb-next.lb-nav-labeled { font-size: 11px; padding: 8px 10px; }
}

/* maTabu sub-pages: Glossar, Publikationen, m_Schreiben - content ported
   in full from the old site rather than linked out to it. */
.def-rows { margin-top: 24px; max-width: 760px; }
.def-rows > div {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 11px 0;
  border-top: 1px solid var(--line); font-size: 15px;
}
.def-rows > div:last-child { border-bottom: 1px solid var(--line); }
.def-rows > div > span:first-child { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 13px; }

.press-list { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; max-width: 720px; }
.press-item { padding-top: 20px; border-top: 1px solid var(--line); }
.press-item h3 { font-size: 18px; margin: 4px 0 8px; }
.press-item p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.schreiben-list { display: flex; flex-direction: column; gap: 56px; margin-top: 24px; max-width: 640px; }
.schreiben-item { padding-top: 32px; border-top: 1px solid var(--line); }
.schreiben-item:first-child { padding-top: 0; border-top: none; }
.schreiben-item .poem { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.5; margin: 12px 0 16px; }
.schreiben-gallery { display: flex; gap: 10px; margin: 20px 0 10px; flex-wrap: wrap; }
.schreiben-gallery .cover { width: 120px; height: 78px; background-size: cover; background-position: center; }
