/* =========================================================
   Anke Fürderer Art – Online-Galerie
   ========================================================= */

:root {
  --wall: #f1efea;
  --paper: #f8f7f3;
  --white: #ffffff;
  --ink: #171615;
  --muted: #77726a;
  --line: rgba(23, 22, 21, 0.12);
  --accent: #2b3bc4;
  --accent-soft: #8f98ff;
  --dark: #121211;
  --dark-2: #1c1b1a;
  --floor: #d9d5cc;

  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --logo: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.dark { background: var(--dark); color: #ecebe7; }
.dark .muted { color: #8b877f; }

.eyebrow { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 22px; line-height: 1.6; }
.dash { display: inline-block; width: 26px; height: 1px; background: currentColor; margin-top: .8em; opacity: .6; flex: none; }

.display, .h2 { font-family: var(--serif); font-weight: 350; margin: 0; letter-spacing: -.015em; }
.display { font-size: clamp(48px, 8.2vw, 124px); line-height: .98; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; }
.display em, .h2 em { color: var(--accent); }
.dark .h2 em, .hero .display em { color: var(--accent-soft); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 13px 18px 13px 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-ghost-dark { border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.link-arrow { border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .3s; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Bild-Platzhalter ---------- */
.art-media {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at var(--x1, 25%) var(--y1, 30%), var(--c1, #c9b8a6) 0%, transparent 55%),
    radial-gradient(ellipse at var(--x2, 75%) var(--y2, 70%), var(--c2, #8aa0b4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 110%, var(--c3, #e9e2d6) 0%, transparent 70%),
    var(--c0, #e7e2da);
}
.art-media::before { /* Pinselstruktur */
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: soft-light;
  background:
    repeating-linear-gradient(var(--angle, 12deg), rgba(255,255,255,.5) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(calc(var(--angle, 12deg) + 70deg), rgba(0,0,0,.25) 0 1px, transparent 1px 13px);
}
.art-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.art-media img { opacity: 0; transition: opacity .7s var(--ease); }
.art-media.loaded img { opacity: 1; }
.ph-label {
  position: absolute; left: 10px; bottom: 9px; z-index: 1;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(0,0,0,.55); background: rgba(255,255,255,.7); padding: 3px 6px;
}
.art-media.loaded .ph-label { display: none; }

.ph-hero { --c0:#b98c78; --c1:#e9c6a4; --c2:#7e5a8a; --c3:#f3d9b2; --x1:30%; --y1:35%; --x2:78%; --y2:62%; --angle: -8deg; }
.ph-portrait { --c0:#d8cfc2; --c1:#efe3d0; --c2:#9a8c7c; --c3:#f4ece0; }
.ph-atelier { --c0:#cfd6d8; --c1:#f1ece2; --c2:#7c93a3; --c3:#e8dccb; --angle: 30deg; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #0e0e0d; color: #f2efe8;
  display: grid; place-items: center; transition: opacity 1s var(--ease), visibility 1s;
}
.loader-glow { position: absolute; left: 12%; top: 50%; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,220,180,.18), transparent 70%); transform: translateY(-50%); animation: glow 2.4s ease-in-out infinite alternate; }
@keyframes glow { to { left: 72%; } }
.loader-name { font-family: var(--serif); font-size: clamp(40px, 8vw, 104px); opacity: 0; filter: blur(12px); animation: nameIn 1.4s .2s var(--ease) forwards; }
.loader-name em { color: var(--accent-soft); }
@keyframes nameIn { to { opacity: .92; filter: blur(0); } }
.loader-art { display: inline-block; opacity: 0; transform: translateX(-.25em); filter: blur(8px); animation: artIn 1s .95s var(--ease) forwards; }
@keyframes artIn { to { opacity: 1; transform: none; filter: blur(0); } }
.loader-bar { position: absolute; bottom: 14vh; width: 160px; height: 1px; background: rgba(255,255,255,.15); }
.loader-bar span { display: block; height: 100%; width: 0; background: #fff; animation: bar 1.6s .2s var(--ease) forwards; }
@keyframes bar { to { width: 100%; } }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Raumwechsel ---------- */
.transition {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease);
}
.transition.in { clip-path: inset(0 0 0 0); pointer-events: all; }
.transition.out { clip-path: inset(0 0 100% 0); }
.transition { background: #121211; color: #f2efe8; display: grid; place-items: center; }
.transition-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.transition-logo { display: flex; align-items: baseline; gap: 14px; overflow: hidden; padding: 0 4px 6px; }
.transition-logo .logo-name { font-family: var(--logo); font-size: clamp(38px, 6vw, 72px); line-height: 1.1; letter-spacing: -.01em; }
.transition-logo .logo-sub { font-size: clamp(12px, 1.2vw, 15px); opacity: .7; }
/* Logo steigt aus einer Linie auf, die Linie zieht sich auf, das Ziel blendet ein */
.transition-logo > * { transform: translateY(110%); transition: transform .8s var(--ease); }
.transition.in .transition-logo > * { transform: none; transition-delay: .28s; }
.transition.in .transition-logo .logo-sub { transition-delay: .4s; }
.transition-line { width: clamp(160px, 22vw, 280px); height: 1px; background: rgba(242,239,232,.35); transform: scaleX(0); transition: transform .9s var(--ease); }
.transition.in .transition-line { transform: scaleX(1); transition-delay: .2s; }
.transition-to { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); color: rgba(242,239,232,.7); }
.transition.in .transition-to { opacity: 1; transform: none; transition-delay: .5s; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); color: #fff;
  transition: background .5s, color .5s, padding .4s, box-shadow .5s;
}
.header.solid { background: rgba(248,247,243,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.header.on-dark { background: rgba(18,18,17,.82); color: #f0eee9; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo-name { font-family: var(--logo); font-size: 22px; letter-spacing: -.01em; }
.logo-sub { opacity: .7; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 13px; position: relative; padding: 4px 0; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.nav-cta):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-family: var(--mono); font-size: 11.5px !important; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; padding: 9px 14px !important; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* PC-Ansicht: Kopfzeile 10 % größer */
@media (min-width: 961px) {
  .header { padding: 20px var(--gutter); }
  .header.solid, .header.on-dark { padding-top: 13px; padding-bottom: 13px; }
  .logo-name { font-size: 24.2px; }
  .logo-sub { font-size: 12.5px; }
  .nav { gap: 33px; }
  .nav a { font-size: 14.3px; }
  .nav-cta { font-size: 12.5px !important; padding: 10px 15.4px !important; }
}
.burger { display: none; width: 32px; height: 32px; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { top: 12px; } .burger span:last-child { top: 20px; }
.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { height: 260vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--wall); }
.hero-wall { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 50% 30%, rgba(255,255,255,.95), transparent 70%),
    linear-gradient(var(--wall) 0 84%, var(--floor) 84% 100%); }
.hero-wall::after { content: ""; position: absolute; left: 0; right: 0; top: 84%; height: 1px; background: rgba(0,0,0,.08); }
.lamp { position: absolute; top: 0; width: 10px; height: 26px; background: #111; border-radius: 0 0 5px 5px; transform: translateX(-50%); }
.lamp::after { content: ""; position: absolute; top: 26px; left: 50%; width: 46vw; max-width: 600px; height: 70vh; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255,250,235,.55), transparent 70%); pointer-events: none; }
.hero-art {
  position: absolute; left: 50%; top: 50%; width: 100%; height: 100%;
  transform: translate(-50%, -50%);
  box-shadow: 0 40px 60px -30px rgba(0,0,0,.45), 0 4px 8px rgba(0,0,0,.08);
}
/* Ausschnitt mit Wellen und Gesicht, solange das Bild den Bildschirm füllt */
.hero-art .art-media img { object-position: 50% 42%; filter: blur(14px) saturate(.2) brightness(1.15); transform: scale(1.08);
  transition: filter 3.2s var(--ease), transform 4.5s var(--ease); }
.revealing .hero-art .art-media img { filter: none; transform: none; }
.hero-art .art-media .ph-label { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); opacity: var(--lo, 0); }
.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.5) 0, rgba(10,10,10,.18) 90px, transparent 200px), /* Kopfzeile */
              linear-gradient(90deg, rgba(10,10,10,.62) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,0) 70%),
              linear-gradient(0deg, rgba(10,10,10,.45), transparent 40%),
              rgba(10,10,10,.08); }
.hero-content {
  position: absolute; left: var(--gutter); bottom: 12vh; z-index: 5; color: #fff; max-width: 620px;
}
/* Pinsel-Enthüllung: helle Fläche, die weggemalt wird */
.paint-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; transition: opacity .9s var(--ease); }
.paint-canvas.gone { opacity: 0; }
/* Hero-Texte erscheinen erst, wenn das Bild gemalt ist */
.hero-content > *, .scroll-hint { opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.scroll-hint { transform: translate(-50%, 24px); }
.painted .hero-content > * { opacity: 1; transform: none; filter: none; }
.painted .scroll-hint { opacity: var(--fade, 1); transform: translate(-50%, 0); filter: none; }
.painted .hero-content > :nth-child(2) { transition-delay: .12s; }
.painted .hero-content > :nth-child(3) { transition-delay: .3s; }
.painted .hero-content > :nth-child(4) { transition-delay: .42s; }
.painted .scroll-hint { transition-delay: .8s; }
.settled .scroll-hint { transition: none; }
/* Kopfzeile erscheint mit dem fertigen Bild */
body:not(.painted) .header { opacity: 0; pointer-events: none; }
.header { transition: background .5s, color .5s, padding .4s, box-shadow .5s, opacity 1s var(--ease); }
.hero-sub { max-width: 430px; font-size: 15px; color: rgba(255,255,255,.86); margin: 26px 0 0; }
.hero-content .eyebrow { margin-bottom: 30px; color: rgba(255,255,255,.85); }
.hero-content .display > * { display: inline-block; }
.scroll-hint { position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%); z-index: 5; color: rgba(255,255,255,.8); }
.scroll-hint span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* Werk-Etikett (Wandtext) */
.label-card {
  background: #fff; color: var(--ink); width: 240px; padding: 16px 18px 16px;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.06);
  font-size: 14px; line-height: 1.45;
}
.label-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11.5px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.label-artist { font-size: 14px; font-weight: 500; }
.label-title { font-family: var(--serif); font-size: 20px; line-height: 1.2; margin: 2px 0 4px; }
.label-meta { color: var(--muted); font-size: 13.5px; }
.label-link { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 11.5px; }
.hero-label { position: absolute; z-index: 6; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease); }
.hero-label.show { opacity: 1; transform: none; }

/* ---------- Statement ---------- */
.statement { padding: clamp(90px, 14vw, 180px) 0 clamp(70px, 10vw, 130px); background: var(--wall); }
.statement-grid { display: grid; grid-template-columns: 180px 1fr; gap: 40px; }
.statement-text { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.22; margin: 0; max-width: 980px; }
.statement-text em { color: var(--accent); }
.statement-text .w { opacity: .14; transition: opacity .25s; }
.statement-text .w.on { opacity: 1; }
.chip { display: inline-block; width: 1.9em; height: .95em; vertical-align: -.05em; margin: 0 .1em; overflow: hidden; }
.chip .art-media .ph-label { display: none; }
.stats { display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: end; gap: 28px 60px; margin-top: clamp(50px, 7vw, 90px); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 60px); line-height: 1; }
.stats .link-arrow { justify-self: end; }

/* ---------- Galerie-Raum (horizontal) ---------- */
.room { position: relative; background: var(--wall); }
.room-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 35%, #faf9f6, var(--wall) 70%); }
.room-ceiling { position: absolute; left: 0; right: 0; top: 0; height: 9vh; background: linear-gradient(#e6e3dc, rgba(230,227,220,0)); }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 15vh; background: linear-gradient(#d3cec4, #e3dfd7 40%, #dcd7ce); border-top: 1px solid rgba(0,0,0,.08); }
.room-track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; will-change: transform; padding-left: var(--gutter); }

.room-intro { flex: none; width: min(460px, 82vw); margin-right: 10vw; align-self: center; padding-bottom: 8vh; }
.room-intro .h2 { font-size: clamp(44px, 6vw, 84px); }
.room-intro p { max-width: 340px; color: var(--muted); font-size: 14px; }
.room-intro .mono { color: var(--ink); }
.room-sign { position: absolute; top: 12vh; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.room-track > * { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.room-intro.small-intro { margin-right: 8vw; }
.piece { flex: none; position: relative; height: 100%; justify-content: flex-end !important; padding-bottom: 22vh; margin-right: calc(8vw + 260px); }
.piece .lampline { left: 50%; top: max(9vh, 66px); }
.piece .label-card { position: absolute; left: calc(100% + 24px); bottom: 22vh; }
.piece .bench { left: 50%; transform: translateX(-50%); bottom: 7.5vh; }
.piece-art {
  height: var(--ph, 46vh); aspect-ratio: var(--ar, 4/3); cursor: zoom-in;
  box-shadow: 0 34px 44px -26px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.08);
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transition: box-shadow .4s;
  will-change: transform;
}
.piece-art:hover { box-shadow: 0 44px 60px -26px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.08); }
.piece-art.framed { border: 10px solid #fff; outline: 1px solid rgba(0,0,0,.12); }
.piece .label-card { width: 220px; }
.lampline { position: absolute; left: var(--lx); top: 0; width: 10px; height: 24px; background: #111; border-radius: 0 0 5px 5px; transform: translateX(-50%); }
.lampline::after { content: ""; position: absolute; top: 24px; left: 50%; width: 520px; height: 80vh; transform: translateX(-50%);
  background: radial-gradient(ellipse 45% 100% at 50% 0, rgba(255,252,240,.7), transparent 70%); pointer-events: none; }

.pillar { flex: none; width: clamp(70px, 7vw, 110px); height: 100%; margin-right: 9vw; position: relative;
  background: linear-gradient(90deg, #d6d2ca, #f6f4ef 40%, #fbfaf7 55%, #d9d5cd); box-shadow: 0 0 40px rgba(0,0,0,.08); }
.pillar span { position: absolute; top: 12vh; left: calc(100% + 18px); white-space: nowrap; }
.bench { position: absolute; bottom: 6vh; width: 180px; height: 26px; border-top: 6px solid #2a2927; }
.bench::before, .bench::after { content: ""; position: absolute; top: 0; width: 5px; height: 26px; background: #2a2927; }
.bench::before { left: 14px; } .bench::after { right: 14px; }

.room-end { flex: none; width: min(380px, 80vw); margin-right: 14vw; padding-bottom: 8vh; }
.room-end .h2 { font-size: clamp(34px, 4vw, 54px); }

/* ---------- Galerie-Effekte (nur mit body.fx, abschaltbar über ?effekte=aus) ---------- */
.hang { position: relative; width: fit-content; align-self: center; transform-origin: 50% calc(-1 * var(--wire, 9vh)); }
.wire, .hook { display: none; }
.fx .hang { --wire: 9vh; transform: rotate(var(--sw, 0deg)); will-change: transform; }
.fx .wire { display: block; position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: var(--wire); overflow: visible; pointer-events: none; }
.fx .wire polyline { fill: none; stroke: rgba(40,38,35,.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fx .hook { display: block; position: absolute; left: 50%; bottom: calc(100% + var(--wire) - 4px); width: 8px; height: 8px; border-radius: 50%; background: #2a2927; transform: translateX(-50%); }

/* Licht: die Wand ist gedämpft, jedes Bild bekommt seinen eigenen Lichtkegel */
.fx .room-sticky { background: radial-gradient(ellipse 90% 70% at 50% 40%, #edeae4, #d4cfc6 80%); }
.fx .room-ceiling { background: linear-gradient(#c9c4ba, rgba(201,196,186,0)); }
.fx .room-floor { background: linear-gradient(#c4beb3, #d5cfc5 40%, #ccc6bb); }
.fx .piece::before { content: ""; position: absolute; left: 50%; top: max(9vh, 66px); width: max(150%, 620px); height: 82%; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 62% at 50% 52%, rgba(255,252,244,1), rgba(255,248,234,.6) 45%, transparent 72%);
  opacity: var(--lit, 0); pointer-events: none; z-index: 0; }
.fx .piece > * { z-index: 1; }
.fx .piece .lampline { box-shadow: 0 18px 22px -8px rgba(255,236,190, calc(var(--lit, 0) * .9)); }
.fx .lampline::after { opacity: calc(.12 + .88 * var(--lit, 0)); }
.fx .piece-art { filter: brightness(calc(.62 + .38 * var(--lit, 0))) saturate(calc(.55 + .45 * var(--lit, 0))); }
.fx .piece .label-card { opacity: calc(.2 + .8 * var(--lit, 0)); transform: translateY(calc((1 - var(--lit, 0)) * 18px)); }
.fx .piece .bench { transform: translateX(calc(-50% + var(--bx, 0px))); }

/* großer Raumtitel weit hinten */
.room-intro { position: relative; }
.bgword { display: none; }
.fx .bgword { display: block; position: absolute; left: 50%; top: 46%; z-index: -1; pointer-events: none; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(120px, 24vw, 420px); line-height: 1;
  color: rgba(40,36,30,.06); transform: translate(calc(-30% + var(--bwx, 0px)), -50%); }

/* kühle, klare Lichtstimmung im ganzen Rundgang */
.room-tint { display: none; }
.fx .room-tint { display: block; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; background: #edf2f6; }

.room-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.4vh; display: flex; align-items: center; gap: 22px; color: var(--muted); }
.room-bar { flex: 1; height: 1px; background: rgba(0,0,0,.15); position: relative; }
.room-bar span { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--ink); }

/* ---------- Techniken ---------- */
.techniques { padding: clamp(90px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.section-head { display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: 30px 60px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-note { font-size: 14px; color: var(--muted); margin: 0; }
.section-note p { margin: 0 0 12px; }
.dark .section-note { color: #a29e96; }
.tech-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.tech-list li {
  display: grid; grid-template-columns: 50px 1fr minmax(160px, 280px) 90px; align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: color .3s, padding .4s var(--ease);
}
.tech-name { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 56px); line-height: 1.1; transition: transform .5s var(--ease), color .3s; }
.tech-desc { font-size: 15px; color: #a29e96; }
.tech-go { justify-self: end; opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease); }
.tech-list:hover li { color: #6c6963; }
.tech-list li:hover { color: #fff; }
.tech-list li:hover .tech-name { transform: translateX(14px); font-style: italic; }
.tech-list li:hover .tech-go { opacity: 1; transform: none; }

/* ---------- Werke-Raster ---------- */
.collection { padding: clamp(90px, 12vw, 160px) 0; background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line); transition: all .3s; }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 44px); }
.grid-col { flex: 1 1 0; min-width: 0; }
.work { break-inside: avoid; margin: 0 0 clamp(34px, 4vw, 56px); cursor: zoom-in; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.work.in { opacity: 1; transform: none; }
.work.hidden { display: none; }
.work-frame { position: relative; padding: var(--pad, 0); background: var(--matte, transparent); box-shadow: var(--fshadow, none); transition: transform .5s var(--ease); }
.work:nth-child(3n+2) .work-frame { width: 78%; }
.work:nth-child(4n+3) .work-frame { margin-left: 12%; width: 88%; }
.work .art-media { aspect-ratio: var(--ar, 4/5); height: auto; box-shadow: 0 18px 30px -20px rgba(0,0,0,.45); transition: transform .6s var(--ease); }
.work:hover .art-media { transform: translateY(-4px); }
.work-frame.framed { --pad: 12px; --matte: #fff; --fshadow: 0 0 0 6px #121212, 0 22px 34px -18px rgba(0,0,0,.5); }
.work-frame.framed .art-media { box-shadow: none; }
.work-cap { margin-top: 12px; font-size: 14px; line-height: 1.4; }
.work-cap .t { font-family: var(--serif); font-style: italic; font-size: 16px; }
.work-cap .m { color: var(--muted); font-size: 13.5px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c43b3b; margin-left: 6px; vertical-align: 2px; }

/* ---------- Zitat ---------- */
.quote { padding: clamp(100px, 14vw, 200px) 0; background: var(--wall); text-align: center; }
.quote-text { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 62px); line-height: 1.16; margin: 0 auto 30px; max-width: 1050px; }
.quote-text em { color: var(--accent); }
.quote-text .w { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s; }
.quote-text.in .w { opacity: 1; transform: none; filter: none; }

/* ---------- Künstlerin ---------- */
.artist { padding: clamp(90px, 12vw, 160px) 0; background: var(--paper); }
.artist-grid { display: grid; grid-template-columns: minmax(260px, 5fr) 6fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.artist-photo-wrap { position: sticky; top: 110px; }
.artist-photo { margin: 0; }
.artist-photo .art-media { aspect-ratio: 4/5; height: auto; box-shadow: 0 30px 50px -30px rgba(0,0,0,.5); }
.artist-photo .art-media img { object-position: 50% 20%; }
.artist-photo figcaption { margin-top: 14px; }
.artist-text .h2 { margin-bottom: 34px; }
.artist-text p { max-width: 560px; color: #3a3834; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.35; color: var(--ink) !important; }
.pull { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; color: var(--ink) !important; border-left: 2px solid var(--accent); padding-left: 24px; margin: 40px 0; }
.pull em { color: var(--accent); }
.signature { font-family: var(--serif); font-size: 20px; margin-top: 34px; }

/* ---------- Drei Gedanken: aufklappende Bildpaneele ---------- */
.thoughts { padding: clamp(90px, 12vw, 160px) 0; background: #fff; overflow: hidden; }
.card-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11.5px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }

.panels { display: flex; gap: 14px; height: clamp(460px, 72vh, 660px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; color: #fff; background: #1b1a19;
  transition: flex-grow 1s var(--ease); outline: none; }
.panel.is-open { flex-grow: 2.7; cursor: default; }
.panel:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.panel-media { position: absolute; inset: -4%; width: auto; height: auto; transform: scale(1.04); transition: transform 2.2s var(--ease); }
.panel-media.art-media::before { display: none; }
.panel-media .ph-label { display: none; }
.panel.is-open .panel-media { transform: scale(1.14); }
/* Gedanke 03: das Bild dreht sich – oben ist, wo Sie es wollen */
.panel-turn .panel-media { transition: transform 1.6s cubic-bezier(.65, 0, .25, 1); }
.panel-turn.is-open .panel-media { transform: rotate(90deg) scale(1.9); }
.panel-shade { position: absolute; inset: 0; pointer-events: none; transition: background-color .8s;
  background: linear-gradient(0deg, rgba(12,12,14,.88) 0%, rgba(12,12,14,.35) 45%, rgba(12,12,14,.15) 70%, rgba(12,12,14,.45) 100%);
  background-color: rgba(12,12,14,.35); }
.panel.is-open .panel-shade { background-color: rgba(12,12,14,0); }
.panel-top { position: absolute; left: 24px; right: 24px; top: 22px; display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); white-space: nowrap; }
.panel-top span:last-child { opacity: 0; transition: opacity .5s; }
.panel.is-open .panel-top span:last-child { opacity: 1; transition-delay: .35s; }
.panel-num { position: absolute; left: 22px; top: 64px; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6vw, 92px); line-height: 1;
  color: #fff; transition: color .6s; }
.panel.is-open .panel-num { color: var(--accent-soft); }
.panel-side { position: absolute; left: 26px; bottom: 28px; writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.75);
  transition: opacity .4s; }
.panel.is-open .panel-side { opacity: 0; }
.panel-body { position: absolute; left: 28px; right: 28px; bottom: 30px; max-width: 420px; opacity: 0; transform: translateY(28px);
  transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.panel.is-open .panel-body { opacity: 1; transform: none; transition: opacity .8s .35s, transform 1s .35s var(--ease); }
.panel-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; margin: 0 0 12px; min-width: 300px; }
.panel-body p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0; min-width: 300px; }

/* ---------- Werdegang ---------- */
.stations { padding: clamp(90px, 12vw, 160px) 0; background: var(--wall); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 140px 1fr 160px; gap: 20px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line); position: relative;
  opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease), padding .4s var(--ease);
}
.timeline li.in { opacity: 1; transform: none; }
.timeline li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--ink); transition: width .6s var(--ease); }
.timeline li:hover::before { width: 100%; }
.timeline li:hover { padding-left: 10px; }
.tl-year { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; color: var(--muted); }
.tl-text { font-family: var(--serif); font-size: clamp(19px, 2vw, 26px); line-height: 1.25; }
.tl-text em { color: var(--accent); }
.tl-kind { justify-self: end; }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(90px, 12vw, 160px) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.contact-grid > div > p { max-width: 480px; color: #3a3834; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-cols p { margin: 0 0 6px; }
.contact-cols a { border-bottom: 1px solid currentColor; }
.contact-card { margin: 0; background: #fff; padding: 18px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); }
.contact-card .card-top { margin-bottom: 16px; }
.contact-card .art-media { aspect-ratio: 4/5; height: auto; }
.contact-card figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-family: var(--serif); font-size: 20px; }

/* ---------- Rechtliche Seiten (Impressum, Datenschutz) ---------- */
.legal-page { background: var(--paper); }
body.legal-page .header { position: sticky; opacity: 1; pointer-events: auto; }
.legal-nav { display: flex; align-items: center; gap: 26px; }
.legal-nav a.mono { position: relative; padding: 4px 0; }
.legal-nav a.active { color: var(--accent); }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) var(--gutter) clamp(60px, 8vw, 100px); }
.legal-head { margin-bottom: clamp(36px, 5vw, 60px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.legal-head .h2 { font-size: clamp(40px, 6vw, 72px); hyphens: manual; }
.legal-body { font-size: 16px; line-height: 1.7; color: #3a3834; overflow-wrap: anywhere; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--ink);
  margin: clamp(44px, 5vw, 64px) 0 16px; scroll-margin-top: 90px; }
.legal-body h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 21px; color: var(--ink); margin: 28px 0 10px; scroll-margin-top: 90px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 18px; padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-body li::marker { color: var(--accent); }
.legal-body strong { font-weight: 500; color: var(--ink); }
.legal-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Inhaltsverzeichnis als ruhige Liste */
.legal-body ul.index { list-style: none; padding: 20px 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); columns: 2 260px; column-gap: 32px; }
.legal-body ul.index li { break-inside: avoid; margin-bottom: 6px; }
.legal-body ul.index a { text-decoration: none; }
.legal-body ul.index a:hover { text-decoration: underline; }
.legal-body .seal { margin-top: 48px; font-size: 13px; color: var(--muted); }
.legal-body .seal a { color: var(--muted); }
.legal-back { margin-top: 56px; }
.legal-footer { padding: 30px 0; }
.legal-footer .footer-bottom { border-top: 0; padding-top: 0; }
@media (max-width: 640px) {
  .legal-nav a.mono { display: none; }
  .legal-nav .nav-cta { font-size: 11px !important; }
}

/* ---------- Datenschutz-Hinweis ---------- */
.privacy { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 40px));
  background: #fff; color: var(--ink); padding: 18px 20px 20px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line);
  transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform .8s var(--ease), opacity .6s, visibility .8s; }
.privacy.show { transform: none; opacity: 1; visibility: visible; }
.privacy-label { color: var(--muted); margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.privacy-text { font-size: 14.5px; line-height: 1.55; margin: 0 0 16px; color: #3a3834; }
.privacy-text em { font-family: var(--serif); font-size: 1.1em; color: var(--accent); }
.privacy-actions { display: flex; align-items: center; gap: 20px; }
.privacy-actions .btn { padding: 11px 18px; }
.nav-open .privacy { visibility: hidden; }
@media (max-width: 640px) { .privacy { left: 12px; right: 12px; bottom: 12px; width: auto; } }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 10vw, 130px) 0 30px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px 80px; }
.footer-top .h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 30px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(130px, auto)); gap: 40px; font-size: 14px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a:hover { color: var(--accent-soft); }
.footer-word { font-family: var(--serif); font-style: italic; font-size: clamp(54px, 13.2vw, 210px); line-height: 1; white-space: nowrap; margin: clamp(60px, 9vw, 120px) 0 26px; letter-spacing: -.02em; transform: translateY(var(--fy, 40px)); opacity: var(--fo, .2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8b877f; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(241,239,234,.97); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-inner { width: min(1200px, 100%); display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 60px); padding: 70px var(--gutter) 40px; align-items: center; max-height: 100vh; }
.lb-stage { height: min(72vh, 720px); display: grid; place-items: center; }
.lb-art { height: 100%; max-width: 100%; aspect-ratio: var(--ar, 4/5); box-shadow: 0 40px 60px -30px rgba(0,0,0,.5); transition: transform .9s cubic-bezier(.5, 0, .2, 1); transform: rotate(var(--rot, 0deg)) scale(var(--rs, 1)); }
.lb-art.wide { height: auto; width: 100%; max-height: 100%; }
.lb-info { background: #fff; padding: 26px; box-shadow: 0 20px 40px -26px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 6px; }
.lb-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.15; margin: 0 0 12px; }
.lb-meta { margin: 0 0 8px; border-top: 1px solid var(--line); }
.lb-meta div { display: grid; grid-template-columns: 96px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lb-meta dt { color: var(--muted); font-size: 11.5px; padding-top: 3px; }
.lb-meta dd { margin: 0; }
.lb-status { font-size: 15px; margin: 6px 0 10px; }
.lb-info .btn { justify-content: space-between; }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .3s, color .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--ink); color: #fff; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.h2.reveal { transform: translateY(40px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.h2.reveal.in { transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; background: var(--paper); color: var(--ink); flex-direction: column; justify-content: center; gap: 22px;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav a { font-family: var(--serif); font-size: 34px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  /* Der Unschärfe-Hintergrund der Kopfzeile würde das Menü auf ihre Höhe einsperren – beim offenen Menü abschalten */
  .nav-open .header { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open { overflow: hidden; }
  .burger { display: block; z-index: 2; }
  .statement-grid, .artist-grid, .contact-grid, .footer-top, .section-head { grid-template-columns: 1fr; }
  .artist-photo-wrap { position: static; max-width: 460px; }
  .stats { grid-template-columns: repeat(3, auto); }
  .stats .link-arrow { grid-column: 1 / -1; justify-self: start; }
  .tech-list li { grid-template-columns: 34px 1fr; }
  .tech-desc { grid-column: 2; }
  .tech-go { display: none; }
  /* Handy: Paneele untereinander, das mittlere im Bildschirm klappt auf */
  .panels { flex-direction: column; height: auto; gap: 10px; }
  .panel { flex: none; height: 150px; transition: height .9s var(--ease); }
  .panel.is-open { height: min(480px, 70vh); }
  .panel-side { display: none; }
  .panel-body h3, .panel-body p { min-width: 0; }
  .lb-inner { grid-template-columns: 1fr; overflow-y: auto; padding-top: 80px; align-items: start; }
  .lb-stage { height: 52vh; }
  .lb-nav { top: auto; bottom: 18px; }
}
@media (max-width: 640px) {
    .hero-content { bottom: 10vh; right: var(--gutter); }
  .stats { gap: 24px 28px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .tl-kind { justify-self: start; }
  .contact-cols { grid-template-columns: 1fr; }
  /* Handy: Bild mittig zwischen Kopfzeile und Boden, Schild leicht überlappend darunter */
  .piece { margin-right: 22vw; justify-content: center !important; padding: 70px 0 15dvh; }
  .piece-art { height: auto; width: min(74vw, calc(44dvh * var(--ar))); }
  .piece .label-card { position: relative; left: auto; right: auto; bottom: auto; align-self: flex-end; margin: -34px -14px 0 0; width: 190px; }
  .piece .bench { display: none; }
  .fx .hang { --wire: 5.5vh; }
  .room-intro { padding: 70px 0 15dvh; }
  .grid { gap: 16px; }
  .work:nth-child(n) .work-frame { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
