/* ==========================================================================
   Adelheid Schöpfer – Malerei
   Gestaltung: Papierweiß wie eine Galeriewand, Tinte, ein Zinnoberrot.
   Die Farbe kommt aus den Bildern.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #f2eee6;
  --paper-2: #e8e2d6;
  --ink: #1b1a17;
  --ink-2: #5d584e;
  --red: #c8321e;
  --line: rgba(27, 26, 23, .16);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 clamp(1rem, .95rem + .2vw, 1.125rem)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Papierstruktur */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .32 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) { a:hover { color: var(--red); } }
@media (hover: none) { a:active { color: var(--red); } }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typografie ---------- */
h1, h2, h3, .h-xxl, .h-xl, .h-l, .h-m {
  font-family: var(--serif); font-weight: 380; line-height: 1.02; letter-spacing: -.015em; margin: 0;
  font-variation-settings: "SOFT" 60, "WONK" 0, "opsz" 144;
}
.h-xxl { font-size: clamp(2.8rem, 1.6rem + 6vw, 7.5rem); letter-spacing: -.035em; font-weight: 340; }
.h-xl  { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.6rem); letter-spacing: -.025em; }
.h-l   { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); }
.h-m   { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; }
.h-s   { font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.5rem; }
.kicker { font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 1rem; }
.kicker a { text-decoration: none; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.45; font-weight: 360; font-variation-settings: "opsz" 24, "SOFT" 50; }
.small { font-size: .9rem; }

.prose > * { margin: 0 0 1em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin-top: 1.6em; margin-bottom: .5em; }
.prose h3 { font: 600 .8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-top: 2em; color: var(--ink-2); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .25em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 3px solid var(--red); font-family: var(--serif); font-style: italic; }
.prose strong { font-weight: 600; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
@media (hover: hover) { .link-arrow:hover::after { transform: translateX(.35em); } }
@media (hover: none) { .link-arrow:active::after { transform: translateX(.35em); } }

.tag { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; color: var(--ink-2); }
.tag-laufend, .tag-demnaechst { color: var(--red); }
.tag-laufend::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--red); margin-right: .5em; animation: pulse 2s infinite; vertical-align: .05em; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Kopf ---------- */
.hd {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1rem var(--pad);
  transition: box-shadow .3s;
}
.hd::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hd.scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
@media (hover: hover) { .brand:hover { color: var(--ink); } }
@media (hover: none) { .brand:active { color: var(--ink); } }
.brand-name { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); font-weight: 420; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.brand-sub { font: 600 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin-top: .4em; }
.nav ul { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; display: inline-block; }
.nav a[aria-current] { color: var(--ink); }
@media (hover: hover) { .nav a:hover { color: var(--ink); } }
@media (hover: none) { .nav a:active { color: var(--ink); } }
/* Pinselzug unter dem Menüpunkt: Mitte ~2px, Enden spitz; zeichnet sich von links nach rechts */
.stroke { position: absolute; left: -6%; bottom: -.1rem; width: 112%; height: .7rem; overflow: visible; clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease); }
.stroke path { fill: var(--red); stroke: none; }
.nav a[aria-current] .stroke { clip-path: inset(0 0 0 0); }
@media (hover: hover) { .nav a:hover .stroke { clip-path: inset(0 0 0 0); } }
@media (hover: none) { .nav a:active .stroke { clip-path: inset(0 0 0 0); } }
.nav-quote { display: none; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; z-index: 60; margin-right: -10px;
  }
  .menu-btn span:not(.sr) { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), background .25s; }
  .menu-btn:focus-visible span:not(.sr) { background: var(--red); }
  @media (hover: hover) { .menu-btn:hover span:not(.sr) { background: var(--red); } }
  @media (hover: none) { .menu-btn:active span:not(.sr) { background: var(--red); } }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 55; background: var(--paper); display: flex; flex-direction: column; justify-content: center;
    padding: 6rem var(--pad) 3rem; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { font-family: var(--serif); font-size: clamp(2.6rem, 12vw, 4rem); font-weight: 350; letter-spacing: -.03em; line-height: 1.15; }
  .nav li { opacity: 0; transform: translateY(1rem); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms); }
  .menu-open .nav li { opacity: 1; transform: none; }
  .stroke { height: 1rem; bottom: .2rem; }
  .nav-quote { display: block; margin-top: 3rem; font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.1rem; }
  .nav-quote small { font: 500 .8rem var(--sans); font-style: normal; }
}

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 5rem); padding: 2rem var(--pad) 4rem; max-width: 1680px; margin-inline: auto; display: grid; align-items: end; }
.hero-wall { position: absolute; inset: 0 var(--pad); pointer-events: none; }
.hero-work {
  position: absolute; pointer-events: auto; display: block; background: var(--c);
  box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 14px 30px -12px rgba(40,30,20,.35);
  transition: transform .8s var(--ease), box-shadow .6s;
  animation: hang 1.2s var(--ease) both;
}
@media (hover: hover) { .hero-work:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 26px 40px -14px rgba(40,30,20,.45); } }
@media (hover: none) { .hero-work:active { transform: translateY(-6px) scale(1.015); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 26px 40px -14px rgba(40,30,20,.45); } }
.hero-work img { width: 100%; }
.hw1 { width: clamp(180px, 25vw, 400px); left: 40%; top: 6%; animation-delay: .1s; }
.hw2 { width: clamp(120px, 15vw, 250px); left: 72%; top: 3%; animation-delay: .25s; }
.hw3 { width: clamp(140px, 18vw, 290px); left: 76%; top: 44%; animation-delay: .4s; }
.hw4 { width: clamp(110px, 12vw, 200px); left: 60%; top: 58%; animation-delay: .55s; }
.hw5 { width: clamp(90px, 10vw, 170px); left: 24%; top: 12%; animation-delay: .7s; }
@keyframes hang { from { opacity: 0; transform: translateY(24px); } }
.hero-text { position: relative; z-index: 2; max-width: 56rem; }
.hero-title {
  font-size: clamp(3.6rem, 1rem + 12vw, 13rem); line-height: .86; letter-spacing: -.055em; font-weight: 330;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; margin: 0 0 2rem;
}
.hero-title span { display: block; }
.hero-title .i { font-style: italic; padding-left: .55em; color: var(--red); font-weight: 300; }
.hero-quote { margin: 0; max-width: 26rem; border-left: 2px solid var(--ink); padding-left: 1rem; }
.hero-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.35; }
.hero-quote cite { font-style: normal; font-size: .82rem; color: var(--ink-2); letter-spacing: .04em; }
.hero-scroll { position: absolute; right: var(--pad); bottom: 2rem; width: 1px; height: 4.5rem; background: var(--line); overflow: hidden; }
.hero-scroll span { position: absolute; inset: 0; background: var(--ink); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

@media (max-width: 820px) {
  .hero { min-height: auto; padding-top: 1rem; display: block; }
  .hero-wall { position: relative; inset: auto; height: 108vw; margin: 0 0 1.5rem; }
  .hw1 { width: 52vw; left: 0; top: 4%; }
  .hw2 { width: 34vw; left: 58%; top: 0; }
  .hw3 { width: 38vw; left: 54%; top: 40%; }
  .hw4 { width: 28vw; left: 14%; top: 60%; }
  .hw5 { display: none; }
  .hero-title { margin-bottom: 1.4rem; }
  .hero-scroll { display: none; }
}

/* ---------- Startseite: Intro ---------- */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--pad); padding-block: clamp(4rem, 10vw, 9rem); align-items: start; }
.intro-head { grid-column: 1 / span 5; }
.intro-body { grid-column: 6 / span 5; }
.intro-portrait { grid-column: 11 / span 2; margin: 0; transform: rotate(2deg); }
.intro-portrait img { width: 100%; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr 1fr; }
  .intro-head, .intro-body { grid-column: 1 / -1; }
  .intro-portrait { grid-column: 2; grid-row: 1; width: 70%; justify-self: end; }
  .intro-head { grid-row: 1; grid-column: 1; }
}

/* Werkgruppen */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); padding-bottom: clamp(4rem, 8vw, 7rem); align-items: start; }
.cat { display: flex; flex-direction: column; text-decoration: none; }
.cat:nth-child(2) { margin-top: clamp(2rem, 8vw, 8rem); }
/* Werk vollständig zeigen – nie beschneiden */
.cat-img { --h: clamp(260px, 40vw, 560px); display: flex; align-items: flex-end; justify-content: flex-start; height: var(--h); }
.cat:nth-child(2) .cat-img { justify-content: flex-end; }
.cat-img img { width: min(100%, calc(var(--h) * var(--ar))); height: auto; box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 18px 34px -16px rgba(40,30,20,.4); transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
@media (hover: hover) { .cat:hover .cat-img img { transform: translateY(-6px); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 28px 44px -16px rgba(40,30,20,.45); } }
@media (hover: none) { .cat:active .cat-img img { transform: translateY(-6px); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 28px 44px -16px rgba(40,30,20,.45); } }
.cat-label { display: flex; flex-direction: column; padding-top: 1.2rem; }
.cat:nth-child(2) .cat-label { align-items: flex-end; text-align: right; }
.cat-n { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .5rem; }
.cat-t { font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); transition: color .3s; }
.cat-t::after { content: "→"; margin-left: .35em; font-family: var(--sans); font-size: .45em; vertical-align: middle; display: inline-block; transition: transform .4s var(--ease); }
@media (hover: hover) { .cat:hover .cat-t { color: var(--red); } }
@media (hover: none) { .cat:active .cat-t { color: var(--red); } }
@media (hover: hover) { .cat:hover .cat-t::after { transform: translateX(.3em); } }
@media (hover: none) { .cat:active .cat-t::after { transform: translateX(.3em); } }
@media (max-width: 640px) {
  .cats { grid-template-columns: 1fr; gap: 3rem; }
  .cat:nth-child(2) { margin-top: 0; }
  .cat-img { --h: min(58vh, 92vw); height: auto; }
  .cat-img img { width: min(84%, calc(var(--h) * var(--ar))); }
}

/* Aktuell */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.now { padding-bottom: clamp(4rem, 8vw, 7rem); }
.now-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); border-top: 1px solid var(--ink); }
.now-item { padding: 1.6rem 1.6rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.now-item + .now-item { padding-left: 1.6rem; border-left: 1px solid var(--line); }
@media (max-width: 640px) { .now-item + .now-item { padding-left: 0; border-left: 0; } }
@media (min-width: 641px) { .now-list { grid-template-columns: repeat(3, 1fr); } .now-item:nth-child(3n+1) { padding-left: 0; border-left: 0; } }
.now-t { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.1; margin-bottom: .8rem; }
.now-t a { text-decoration: none; }
.now-meta { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Werk-Streifen */
.strip { padding-bottom: clamp(4rem, 8vw, 7rem); }
.strip-track {
  display: flex; gap: clamp(1rem, 2vw, 2rem); overflow-x: auto; padding: 0 var(--pad) 1.5rem; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: rgba(27,26,23,.22) transparent; align-items: flex-end;
}
.strip-item { flex: none; height: clamp(220px, 38vh, 380px); aspect-ratio: var(--ar); background: var(--c); scroll-snap-align: start; transition: transform .6s var(--ease); }
.strip-item:nth-child(3n+2) { height: clamp(180px, 30vh, 300px); }
.strip-track::-webkit-scrollbar { height: 3px; }
.strip-track::-webkit-scrollbar-thumb { background: rgba(27,26,23,.22); border-radius: 3px; }
@media (max-width: 640px) {
  .strip-item, .strip-item:nth-child(3n+2) { height: auto; width: min(78vw, calc(58vw * var(--ar))); aspect-ratio: var(--ar); }
  .strip-item:nth-child(3n+2) { width: min(70vw, calc(46vw * var(--ar))); }
}
@media (hover: hover) { .strip-item:hover { transform: translateY(-6px); } }
@media (hover: none) { .strip-item:active { transform: translateY(-6px); } }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Seitenkopf ---------- */
.page-head { padding-top: clamp(2.5rem, 7vw, 6rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-head .h-xxl { max-width: 14ch; }
.page-intro { max-width: 40rem; margin-top: 1.5rem; color: var(--ink-2); }

/* ---------- Werke ---------- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; position: sticky; top: 4.6rem; z-index: 20; padding-block: .8rem; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { text-decoration: none; border: 1px solid var(--ink); border-radius: 99px; padding: .45rem 1rem; font-size: .9rem; font-weight: 500; transition: background .25s, color .25s; }
.chip sup { font-size: .65em; opacity: .6; }
@media (hover: hover) { .chip:hover { color: var(--ink); background: var(--paper-2); } }
@media (hover: none) { .chip:active { color: var(--ink); background: var(--paper-2); } }
.chip.on { background: var(--ink); color: var(--paper); }
.year-sel select { font: inherit; font-size: .9rem; border: 1px solid var(--ink); border-radius: 99px; padding: .45rem 2.2rem .45rem 1rem; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231b1a17' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 1rem center; appearance: none; color: var(--ink); cursor: pointer; }

.masonry { columns: 4 15rem; column-gap: clamp(1rem, 2.2vw, 2rem); padding-bottom: 4rem; }
.tile { break-inside: avoid; margin: 0 0 clamp(1.4rem, 3vw, 2.6rem); }
.tile[hidden] { display: none; }
.tile a { display: block; background: var(--c); overflow: hidden; }
.tile img { width: 100%; transition: transform .9s var(--ease), opacity .6s; }
@media (hover: hover) { .tile a:hover img { transform: scale(1.03); } }
@media (hover: none) { .tile a:active img { transform: scale(1.03); } }
.tile figcaption { font-size: .82rem; color: var(--ink-2); margin-top: .6rem; }
.empty { padding-bottom: 4rem; }
.note { border-top: 1px solid var(--ink); padding-top: 1.6rem; padding-bottom: 5rem; }
.note p { margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; align-items: baseline; justify-content: space-between; font-family: var(--serif); font-size: 1.3rem; }

/* Bild-Platzhalter: Farbe des Bildes, bis es geladen ist */
img[style*="--c"] { background: var(--c); }
img[loading="lazy"] { opacity: 0; }
img.loaded, img[loading="lazy"].loaded { opacity: 1; transition: opacity .7s; }
.no-js img[loading="lazy"] { opacity: 1; }

/* ---------- Ausstellungen ---------- */
.ex-now { padding-bottom: clamp(3rem, 7vw, 6rem); }
.ex-now-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--pad); }
.ex-card { border-top: 2px solid var(--red); padding-top: 1.2rem; }
.ex-card-img { display: block; background: var(--c); margin-bottom: 1.2rem; aspect-ratio: 4/3; overflow: hidden; }
.ex-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ex-card .h-m { margin-bottom: .8rem; }
.ex-meta { color: var(--ink-2); font-size: .95rem; }

.timeline { padding-bottom: 6rem; }
.tl-year { display: grid; grid-template-columns: minmax(6rem, 2fr) 7fr; gap: var(--pad); border-top: 1px solid var(--ink); padding-top: 1.5rem; margin-bottom: 1rem; }
/* Jahreszahl: kursive Fraunces mit Mediävalziffern, darunter der rote Pinselzug aus dem Menü (zeichnet sich beim Einblenden) */
.tl-y { position: sticky; top: 6rem; align-self: start; width: max-content; padding-bottom: .35em; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5.4rem); font-style: italic; font-weight: 280; letter-spacing: -.035em; line-height: .9; color: var(--ink); font-feature-settings: "onum" 1, "pnum" 1; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.tl-y::after { content: ""; position: absolute; left: -.04em; right: -.12em; bottom: 0; height: .2em; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13.3C33 6.4 65 3.7 99 5.3c30 1 60 4.4 98 1.5C160 11.3 129 9.7 99 9 66 8.3 34 10.2 3 13.6Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13.3C33 6.4 65 3.7 99 5.3c30 1 60 4.4 98 1.5C160 11.3 129 9.7 99 9 66 8.3 34 10.2 3 13.6Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  clip-path: inset(0 0 0 0); }
.js .tl-year .tl-y::after { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) .35s; }
.js .tl-year.in .tl-y::after { clip-path: inset(0 0 0 0); }
.tl-items { list-style: none; margin: 0; padding: 0; }
.tl-item { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-item.has-img { grid-template-columns: minmax(8rem, 14rem) 1fr; }
.tl-kind { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: .3rem 0 .6rem; }
.tl-t { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.12; margin-bottom: .5rem; }
.tl-t a { text-decoration: none; }
.tl-meta { color: var(--ink-2); font-size: .93rem; margin: 0 0 .8rem; }
.tl-press { margin: 1rem 0; padding-left: 1rem; border-left: 2px solid var(--line); max-width: 44rem; }
.tl-press p { margin: 0 0 .3rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.45; }
.tl-press cite { font-style: normal; font-size: .8rem; color: var(--ink-2); letter-spacing: .04em; }
.tl-thumbs { position: relative; display: block; aspect-ratio: 1; }
.tl-thumbs span { position: absolute; width: 68%; background: var(--c); box-shadow: 0 10px 20px -10px rgba(40,30,20,.4); transition: transform .6s var(--ease); }
.tl-thumbs span:nth-child(1) { left: 0; top: 8%; z-index: 3; }
.tl-thumbs span:nth-child(2) { left: 30%; top: 0; z-index: 2; transform: rotate(4deg); }
.tl-thumbs span:nth-child(3) { left: 18%; top: 30%; z-index: 1; transform: rotate(-5deg); }
@media (hover: hover) { .tl-thumbs:hover span:nth-child(1) { transform: translate(-6%, -4%) rotate(-3deg); } }
@media (hover: none) { .tl-thumbs:active span:nth-child(1) { transform: translate(-6%, -4%) rotate(-3deg); } }
@media (hover: hover) { .tl-thumbs:hover span:nth-child(2) { transform: translate(10%, -6%) rotate(7deg); } }
@media (hover: none) { .tl-thumbs:active span:nth-child(2) { transform: translate(10%, -6%) rotate(7deg); } }
@media (hover: hover) { .tl-thumbs:hover span:nth-child(3) { transform: translate(4%, 10%) rotate(-8deg); } }
@media (hover: none) { .tl-thumbs:active span:nth-child(3) { transform: translate(4%, 10%) rotate(-8deg); } }
.tl-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 700px) {
  .tl-year { grid-template-columns: 1fr; gap: .6rem; }
  .tl-y { position: relative; top: auto; }
  .tl-item.has-img { grid-template-columns: 7rem 1fr; gap: 1rem; }
}

.ex-head .h-xxl { max-width: 18ch; font-size: clamp(2.4rem, 1.4rem + 4.4vw, 6rem); }
.ex-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.ex-facts dt { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .5rem; }
.ex-facts dd { margin: 0; }
.ex-text { max-width: 44rem; margin-top: 2rem; }
.press { margin: 2.5rem 0 0; max-width: 48rem; }
.press p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); line-height: 1.3; margin: 0 0 .6rem; font-weight: 320; }
.press cite { font-style: normal; font-size: .85rem; color: var(--ink-2); }
.pager { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--ink); padding-top: 1.5rem; padding-bottom: 5rem; }
.pager a { text-decoration: none; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); max-width: 45%; line-height: 1.2; }
.pager small { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.pager-prev small::before { content: "← "; }
.pager-next { text-align: right; margin-left: auto; }
.pager-next small::after { content: " →"; }

/* ---------- Vita ---------- */
.vita { display: grid; grid-template-columns: minmax(14rem, 4fr) 8fr; gap: clamp(2rem, 6vw, 6rem); padding-bottom: 6rem; }
.vita-side { position: sticky; top: 6.5rem; align-self: start; }
.vita-portrait { margin: 0 0 2rem; max-width: 13rem; } /* Original nur 116 px breit – nicht größer ziehen */
.vita-portrait img { width: 100%; filter: grayscale(1); mix-blend-mode: multiply; }
.vita-facts { font-size: .95rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.vita-main { max-width: 46rem; }
.vita-body { margin-top: 2.5rem; }
.vita-ex { margin-top: 3.5rem; }
.vita-ex .h-m { margin-bottom: 1.2rem; }
.year-list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--ink); }
.year-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.yl-y { font-family: var(--serif); color: var(--red); font-variant-numeric: tabular-nums; }
.yl-t a { text-decoration: none; }
@media (max-width: 800px) { .vita { grid-template-columns: 1fr; } .vita-side { position: static; } .vita-portrait { max-width: 12rem; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); padding-bottom: 6rem; }
.contact address { font-style: normal; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--ink); line-height: 1.7; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.4rem; }
.f label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.f .opt { font-weight: 400; color: var(--ink-2); }
.f input:not([type=checkbox]), .f textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: .6rem 0; border-radius: 0; transition: border-color .2s, background .2s;
}
.f textarea { border: 1px solid var(--ink); padding: .8rem; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,.35); }
.f.err input, .f.err textarea { border-color: var(--red); }
.f small { color: var(--red); display: block; margin-top: .35rem; }
.f-check label { display: flex; gap: .8rem; font-weight: 400; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.f-check input { width: 1.2rem; height: 1.2rem; accent-color: var(--red); flex: none; margin-top: .15rem; }
.hp { position: absolute; left: -9999px; }
.btn {
  justify-self: start; font: 600 1rem var(--sans); color: var(--paper); background: var(--ink); border: 0; border-radius: 99px;
  padding: 1rem 1.8rem; cursor: pointer; transition: background .25s, transform .25s;
}
@media (hover: hover) { .btn:hover { background: var(--red); transform: translateY(-2px); } }
@media (hover: none) { .btn:active { background: var(--red); transform: translateY(-2px); } }
.form-ok { border-top: 2px solid var(--red); padding-top: 1.5rem; }
.form-err { background: var(--red); color: var(--paper); padding: 1rem; margin: 0; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 48rem; padding-bottom: 6rem; margin-left: 0; }
.legal h2 { font-size: 1.5rem; }

/* ---------- Fuß ---------- */
.ft { background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) var(--pad) 2rem; margin-top: 2rem; position: relative; }
.ft::before { /* gerissene Papierkante: durchgehend, ohne Wiederholung */
  content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; pointer-events: none;
  background: url("../img/riss.svg") center bottom / max(100%, 1100px) 100% no-repeat;
}
@media (hover: hover) { .ft a:hover { color: var(--red); } }
@media (hover: none) { .ft a:active { color: var(--red); } }
.ft .kicker { color: rgba(242,238,230,.6); }
.ft-cta { max-width: var(--max); margin: 0 auto clamp(3rem, 7vw, 6rem); }
.ft-big { font-family: var(--serif); font-size: clamp(2.6rem, 1rem + 7vw, 8rem); line-height: .95; letter-spacing: -.045em; text-decoration: none; font-weight: 320; font-variation-settings: "SOFT" 100, "WONK" 1; display: inline-flex; align-items: baseline; gap: .3em; }
.ft-big .arrow { font-family: var(--sans); font-size: .5em; transition: transform .5s var(--ease); }
@media (hover: hover) { .ft-big:hover .arrow { transform: translateX(.3em); } }
@media (hover: none) { .ft-big:active .arrow { transform: translateX(.3em); } }
.ft-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2.5rem var(--pad); padding-top: 2rem; border-top: 1px solid rgba(242,238,230,.25); font-size: .93rem; }
.ft-h { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(242,238,230,.6); margin-bottom: 1.1rem; }
.ft-grid p { margin: 0 0 1rem; }
.ft-links { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.ft-links a, .ft-grid a { text-decoration: none; }
.ft a:focus-visible { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
@media (hover: hover) { .ft a:hover { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; } }
@media (hover: none) { .ft a:active { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; } }
.ft-big:focus-visible { text-decoration-thickness: 2px; text-underline-offset: .12em; }
@media (hover: hover) { .ft-big:hover { text-decoration-thickness: 2px; text-underline-offset: .12em; } }
@media (hover: none) { .ft-big:active { text-decoration-thickness: 2px; text-underline-offset: .12em; } }
.ft-base { max-width: var(--max); margin: 4rem auto 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(242,238,230,.6); }

/* ---------- Lightbox / Diashow ---------- */
.lb {
  --lb-bg: #161512; --lb-fg: #f2eee6; --lb-dim: rgba(242,238,230,.55);
  position: fixed; inset: 0; z-index: 150; background: var(--lb-bg); color: var(--lb-fg);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; transition: opacity .45s var(--ease);
}
.lb.open { opacity: 1; }
.lb[hidden] { display: none; }
.lb::after { /* Papierkorn auch im Dunkeln */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.lb button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0; font: inherit; }
.lb svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.lb-top { display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem clamp(1rem, 3vw, 2rem); position: relative; z-index: 2; }
.lb-head { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.lb-title { font-family: var(--serif); font-weight: 380; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-sub { font-size: .8rem; color: var(--lb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-count { font: 500 .8rem var(--sans); letter-spacing: .12em; color: var(--lb-dim); font-variant-numeric: tabular-nums; }
.lb-close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; transition: background .25s, transform .4s var(--ease); }
.lb-close svg { width: 1.25rem; height: 1.25rem; }
.lb-close:focus-visible { color: var(--red); background: rgba(242,238,230,.08); transform: rotate(90deg); }
@media (hover: hover) { .lb-close:hover { color: var(--red); background: rgba(242,238,230,.08); transform: rotate(90deg); } }
@media (hover: none) { .lb-close:active { color: var(--red); background: rgba(242,238,230,.08); transform: rotate(90deg); } }
.lb-play:focus-visible { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: none; }
@media (hover: hover) { .lb-play:hover { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: none; } }
@media (hover: none) { .lb-play:active { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: none; } }

.lb-stage { --iw: 60vw; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
/* Platz links/rechts für die Pfeile, die direkt neben dem Bild sitzen */
.lb-fig { position: relative; height: 100%; margin: 0 clamp(3.5rem, 6vw, 5rem); cursor: pointer; }
.lb-stage { padding-block: .5rem; }
.lb-img {
  position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.985); transition: opacity .9s var(--ease), transform 1.4s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); background: var(--c, transparent);
}
.lb-img.on { opacity: 1; transform: none; }
.lb-nav {
  position: absolute; top: 50%; z-index: 2; width: 3rem; height: 4.5rem; margin-top: -2.25rem;
  display: grid; place-items: center; color: var(--lb-dim); transition: color .25s, left .5s var(--ease), right .5s var(--ease);
}
.lb-prev { left: max(.25rem, calc(50% - var(--iw) / 2 - 3.6rem)); }
.lb-next { right: max(.25rem, calc(50% - var(--iw) / 2 - 3.6rem)); }
.lb-nav svg { width: 2rem; height: 2rem; transition: transform .35s var(--ease); }
.lb-nav:focus-visible { color: var(--red); }
@media (hover: hover) { .lb-nav:hover { color: var(--red); } }
@media (hover: none) { .lb-nav:active { color: var(--red); } }
@media (hover: hover) { .lb-prev:hover svg { transform: translateX(-4px); } }
@media (hover: none) { .lb-prev:active svg { transform: translateX(-4px); } }
@media (hover: hover) { .lb-next:hover svg { transform: translateX(4px); } }
@media (hover: none) { .lb-next:active svg { transform: translateX(4px); } }

.lb-bottom { position: relative; z-index: 2; padding: .9rem clamp(1rem, 3vw, 2rem) 1.1rem; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "cap ctrl" "th th"; gap: .8rem 1.5rem; align-items: center; }
.lb-cap { grid-area: cap; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1rem; min-height: 1.4em; color: var(--lb-fg); }
.lb-cap a { font: 600 .78rem var(--sans); font-style: normal; color: var(--red); text-decoration: none; margin-left: .3rem; white-space: nowrap; }
.lb-cap a::after { content: " →"; }
.lb-ctrl { grid-area: ctrl; display: flex; align-items: center; gap: .9rem; }
.lb-play { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(242,238,230,.35); transition: background .25s, box-shadow .25s; }
.lb-play svg { width: 1.05rem; height: 1.05rem; }
.lb-play .i-play { fill: currentColor; stroke: none; margin-left: 2px; }
.lb-play .i-pause { stroke-width: 2.4; }
.lb .i-pause, .lb.is-playing .i-play { display: none; }
.lb.is-playing .i-pause { display: block; }
.lb-progress { width: clamp(4rem, 12vw, 9rem); height: 2px; background: rgba(242,238,230,.18); border-radius: 2px; overflow: hidden; }
.lb-progress span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.lb-progress span.run { animation: lbprog 4s linear forwards; }
@keyframes lbprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.lb-thumbs { grid-area: th; display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: 2px; mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 3.4rem; height: 3.4rem; background: var(--c); opacity: .38; transition: opacity .3s, transform .3s var(--ease); border-radius: 2px; overflow: hidden; }
.lb-thumbs button:first-child { margin-left: 1.5rem; } .lb-thumbs button:last-child { margin-right: 1.5rem; }
@media (hover: hover) { .lb-thumbs button:hover { opacity: .8; } }
@media (hover: none) { .lb-thumbs button:active { opacity: .8; } }
.lb-thumbs button.on { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px var(--lb-fg); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb.single .lb-nav, .lb.single .lb-ctrl, .lb.single .lb-thumbs { visibility: hidden; }

@media (max-width: 700px) {
  /* mobil: kleine runde Pfeile auf dem Bildrand – Wischen geht zusätzlich */
  .lb-nav { left: auto; right: auto; width: 2.6rem; height: 2.6rem; margin-top: -1.3rem; border-radius: 50%;
    background: rgba(22,21,18,.55); color: var(--lb-fg); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .lb-nav svg { width: 1.2rem; height: 1.2rem; }
  .lb-prev { left: .5rem; } .lb-next { right: .5rem; }
  .lb-nav:active { color: var(--red); }
  .lb-fig { margin: 0 .6rem; }
  .lb-top { padding: .7rem .9rem; gap: .8rem; }
  .lb-bottom { padding: .7rem .9rem 1rem; }
  .lb-thumbs button { width: 2.8rem; height: 2.8rem; }
  .lb-count { font-size: .72rem; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) { .lb-img { transition: none; } }

/* ---------- Bewegung ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *:not(.lb-progress span), *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  body::before, .hd, .ft, .filters, .lb { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Einwilligung (Google Analytics) ---------- */
.consent {
  position: fixed; z-index: 140; left: var(--pad); bottom: var(--pad); max-width: 30rem; background: var(--paper);
  border: 1px solid var(--ink); padding: 1.3rem 1.4rem; box-shadow: 8px 8px 0 var(--ink); animation: hang .6s var(--ease) both;
  font-size: .9rem; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 1rem; }
.consent-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent .btn { padding: .7rem 1.3rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) { .btn-ghost:hover { background: var(--paper-2); color: var(--ink); } }
@media (hover: none) { .btn-ghost:active { background: var(--paper-2); color: var(--ink); } }
@media (max-width: 600px) { .consent { left: .75rem; right: .75rem; bottom: .75rem; } }

@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; font-size: .88rem; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
  .ft-links { line-height: 1.75; }
  .ft-base { margin-top: 2.5rem; flex-direction: column; gap: .6rem; }
  .ft-cta { margin-bottom: 2.5rem; }
}

/* ---------- Feinschliff Mobil ---------- */
@media (max-width: 640px) {
  /* Werke: zweispaltig, kompakte Filterleiste in einer Zeile */
  .masonry { columns: 2; column-gap: .8rem; }
  .tile { margin-bottom: 1.3rem; }
  .tile figcaption { font-size: .75rem; margin-top: .4rem; }
  .filters { flex-wrap: nowrap; gap: .5rem; margin-bottom: 1.5rem; padding-block: .6rem; top: 4.4rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
    mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 1.5rem; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; padding: .4rem .85rem; font-size: .85rem; }
  .year-sel select { font-size: .85rem; padding: .4rem 1.9rem .4rem .8rem; background-position: right .7rem center; }
  .page-intro { font-size: .95rem; }

  /* Ausstellungen: Bilderstapel links, Text fließt darum, Zitate in voller Breite */
  .tl-item.has-img { display: block; }
  .tl-item.has-img .tl-thumbs { float: left; width: 6.2rem; margin: .2rem 1.1rem .6rem 0; }
  .tl-item.has-img::after { content: ""; display: block; clear: both; }
  .tl-press { clear: left; padding-left: .9rem; }
  .tl-press p { font-size: .98rem; }
  .tl-item .link-arrow { display: inline-flex; margin-top: .2rem; }
  .tl-y { font-size: 2.6rem; }

  /* Vita: kleines Porträt neben den Eckdaten */
  .vita-side { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.2rem; align-items: start; }
  .vita-portrait { margin: 0; max-width: none; }
  .vita-facts { border-top: 0; padding-top: 0; font-size: .9rem; }
  .vita-facts p { margin-bottom: .6rem; }
  .year-list li { grid-template-columns: 3.6rem 1fr; gap: .6rem; font-size: .95rem; }
}

/* Mauerwerk per JS (zeilenweise Reihenfolge) */
.masonry.mas-on { columns: auto; display: flex; align-items: flex-start; gap: clamp(1rem, 2.2vw, 2rem); }
.mas-col { flex: 1 1 0; min-width: 0; }
@media (max-width: 640px) { .masonry.mas-on { gap: .8rem; } }

/* Touch: kein grauer Tipp-Schatten des Browsers */
a, button { -webkit-tap-highlight-color: transparent; }

/* Kontakt: angefragtes Werk */
.form-werk { display: flex; gap: 1.1rem; align-items: center; margin: 0; padding: 1rem; background: var(--paper-2); }
.form-werk a { flex: none; display: block; background: var(--c); }
.form-werk img { width: auto; height: auto; max-width: 6.5rem; max-height: 6.5rem; box-shadow: 0 8px 18px -10px rgba(40,30,20,.45); }
.form-werk figcaption { font-family: var(--serif); font-size: 1.1rem; }
.form-werk .kicker { display: block; margin-bottom: .3rem; }

/* ---------- Tablet (641–1024 px) ---------- */
@media (min-width: 641px) and (max-width: 1024px) {
  /* Ausstellungen: schmalere Jahresspalte, Bilderstapel links, Text fließt herum, Zitate in voller Breite */
  .tl-year { grid-template-columns: 6.5rem 1fr; gap: 1.5rem; }
  .tl-y { font-size: 3.2rem; }
  .tl-item.has-img { display: block; }
  .tl-item.has-img .tl-thumbs { float: left; width: 10.5rem; margin: .2rem 1.6rem 1rem 0; }
  .tl-item.has-img::after { content: ""; display: block; clear: both; }
  .tl-press { clear: left; }
  .tl-item .link-arrow { display: inline-flex; }
  .ex-now-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 641px) and (max-width: 800px) {
  /* Vita: Porträt neben den Eckdaten statt allein darüber */
  .vita-side { position: static; display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; align-items: end; }
  .vita-portrait { margin: 0; max-width: none; }
}

/* Tablet hochkant (641–820 px): Bilderwand kompakter, damit der Name im ersten Bildschirm sichtbar ist */
@media (min-width: 641px) and (max-width: 820px) {
  .hero-wall { height: 60vw; margin-bottom: 2rem; }
  .hw1 { width: 34vw; left: 2%; top: 4%; }
  .hw2 { width: 22vw; left: 42%; top: 0; }
  .hw3 { width: 26vw; left: 70%; top: 18%; }
  .hw4 { width: 18vw; left: 46%; top: 50%; }
  .hw5 { display: block; width: 15vw; left: 76%; top: 66%; }
}

/* ---------- Porträt künstlerisch: Papierton statt weißem Hintergrund, ausgefranste Ränder, Körnung ---------- */
.portrait-art { position: relative; isolation: isolate; transform: none; }
.portrait-art img {
  width: 100%; background: none !important;
  /* helle Töne (Hintergrund, Jacke) gehen im Papier auf, Tiefen bleiben satt; leicht warm statt kaltgrau */
  filter: grayscale(1) sepia(.18) contrast(1.32) brightness(1.18);
  mix-blend-mode: multiply;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='4' seed='7' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='11' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cellipse cx='50' cy='66' rx='43' ry='60' fill='white' filter='url(%23f)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='4' seed='7' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='11' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cellipse cx='50' cy='66' rx='43' ry='60' fill='white' filter='url(%23f)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.portrait-art::after { /* Körnung, nur innerhalb der ausgefransten Form */
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .06 0 0 0 1 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 160px 160px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='4' seed='7' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='11' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cellipse cx='50' cy='66' rx='43' ry='60' fill='white' filter='url(%23f)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='4' seed='7' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='11' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cellipse cx='50' cy='66' rx='43' ry='60' fill='white' filter='url(%23f)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.vita-portrait.portrait-art { max-width: 15rem; margin-left: -1rem; }
.intro-portrait.portrait-art { margin-top: -1rem; }
@media (max-width: 640px) { .vita-portrait.portrait-art { margin-left: -.6rem; } }

/* Footer auf dem Tablet: drei Spalten nebeneinander statt 2 + 1 */
@media (min-width: 641px) and (max-width: 1024px) {
  .ft-grid { grid-template-columns: 1fr 1.15fr 1fr; gap: 2rem 1.75rem; font-size: .9rem; }
}

/* Vita: antippbare Ausstellungen (öffnen die Bildergalerie) erkennbar machen */
.yl-t a { text-decoration: underline; text-decoration-color: rgba(200, 50, 30, .45); text-decoration-thickness: 1px; text-underline-offset: .22em; }

/* Werk-Streifen: erstes Bild nicht an den Bildschirmrand einrasten lassen */
.strip-track { scroll-padding-inline: var(--pad); }

/* Handy: Filter + Jahresauswahl als eine gemeinsame, wischbare Leiste bis zum Bildschirmrand */
@media (max-width: 640px) {
  .filters { overflow-x: auto; scrollbar-width: none; padding-right: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .chips { overflow: visible; flex: none; -webkit-mask-image: none; mask-image: none; padding-right: 0; }
  .year-sel { flex: none; padding-right: var(--pad); }
}

/* Cookie-Hinweis: beide Entscheidungen gleichwertig (DSGVO), fingerfreundliche Größe */
.consent-btns .btn { flex: 1 1 0; min-height: 44px; justify-content: center; text-align: center; }

/* Lightbox auf Touch-Geräten: alle Bedienelemente mind. 44 px */
@media (pointer: coarse), (max-width: 700px) {
  .lb-play { width: 2.75rem; height: 2.75rem; }
  .lb-cap a { display: inline-block; padding: .8rem .2rem; margin: -.8rem 0; font-size: .85rem; } /* große Tippfläche, gleiche Optik */
}
@media (max-width: 700px) {
  .lb-nav { width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; }
}

/* ---------- Bilderwand: jedes Werk in einem festen, überschneidungsfreien Rahmen ----------
   Das Bild wird unbeschnitten in seinen Rahmen eingepasst (max. Breite/Höhe).
   Die Rahmen sind so gesetzt, dass sich keine zwei überlappen – unabhängig vom Format der zufällig gewählten Werke. */
.hero-work { width: auto !important; }
.hero-work img { width: auto; height: auto; max-width: var(--bw); max-height: var(--bh); }

/* Desktop: Rahmen in vw (Breite) und svh (Höhe) */
@media (min-width: 821px) {
  /* obere Reihe über dem Namen … */
  .hw5 { left: 14%; top: 6%;  --bw: 13vw; --bh: 27svh; }
  .hw1 { left: 30%; top: 2%;  --bw: 26vw; --bh: 41svh; }
  .hw2 { left: 59%; top: 4%;  --bw: 18vw; --bh: 34svh; }
  .hw4 { left: 81%; top: 2%;  --bw: 15vw; --bh: 28svh; }
  /* … und ein Werk rechts unten neben dem Namen */
  .hw3 { left: 73%; top: 47%; --bw: 22vw; --bh: 40svh; }
}
/* Tablet hochkant: drei Spalten, Wandhöhe 60vw */
@media (min-width: 641px) and (max-width: 820px) {
  .hero-wall { height: 60vw; }
  .hw1 { left: 0;   top: 4%;  --bw: 34vw; --bh: 53vw; }
  .hw2 { left: 40%; top: 0;   --bw: 22vw; --bh: 26vw; }
  .hw4 { left: 40%; top: 50%; --bw: 20vw; --bh: 28vw; }
  .hw3 { left: 68%; top: 4%;  --bw: 26vw; --bh: 30vw; }
  .hw5 { display: block; left: 68%; top: 62%; --bw: 16vw; --bh: 21vw; }
}
/* Handy: zwei Spalten, Wandhöhe 108vw, vier Werke */
@media (max-width: 640px) {
  .hw1 { left: 0;   top: 2%;  --bw: 48vw; --bh: 52vw; }
  .hw4 { left: 4%;  top: 56%; --bw: 34vw; --bh: 44vw; }
  .hw2 { left: 58%; top: 0;   --bw: 36vw; --bh: 40vw; }
  .hw3 { left: 56%; top: 42%; --bw: 38vw; --bh: 56vw; }
  .hw5 { display: none; }
}

/* Name auf niedrigen, breiten Bildschirmen (kleine Laptops) zusätzlich nach der Höhe begrenzen */
@media (min-width: 821px) {
  .hero-title { font-size: min(clamp(3.6rem, 1rem + 12vw, 13rem), 22svh); margin-bottom: min(2rem, 3svh); }
  .hero-quote p { font-size: min(1.2rem, 2.8svh); }
}
/* Niedrige Bildschirme (kleine Laptops, Tablet quer): obere Bilderreihe flacher, damit sie über dem Namen bleibt */
@media (min-width: 821px) and (max-height: 780px) {
  .hw5 { --bh: 20svh; }
  .hw1 { --bh: 30svh; }
  .hw2 { --bh: 26svh; }
  .hw4 { --bh: 22svh; }
  .hw3 { top: 44%; --bh: 34svh; }
}
/* Sehr niedrige Bildschirme (≤ 680 px Höhe): vier Werke, obere Reihe noch flacher */
@media (min-width: 821px) and (max-height: 680px) {
  .hw5 { display: none; }
  .hw1 { left: 24%; top: 2%; --bw: 24vw; --bh: 24svh; }
  .hw2 { --bh: 24svh; }
  .hw4 { --bh: 20svh; }
}
@media (min-width: 821px) and (max-height: 620px) {
  .hw1, .hw2 { --bh: 19svh; }
  .hw4 { --bh: 17svh; }
}

/* Filterknöpfe fingergerecht */
@media (pointer: coarse), (max-width: 640px) {
  .chip { min-height: 42px; display: inline-flex; align-items: center; }
  .year-sel select { min-height: 42px; }
}

/* E-Mail-Spamschutz: Köder unsichtbar (wird weder angezeigt, kopiert noch vorgelesen) */
.nsp { display: none !important; }
