/* Ilona Kaufmann · Bildende Kunst – Galerie-Entwurf (Acids Media)
   Farben aus ihrer Logo-Grafik: Graugrün, Schwarz, Weiß – dazu Leinwand, Pinselstriche, Serifenschrift. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --sage: #66726c;        /* Grund der Logo-Grafik */
  --sage-dark: #4f5a54;
  --sage-light: #8c978f;
  --ink: #161715;
  --paper: #f2efe8;       /* Galeriewand / Papier */
  --paper-2: #e8e3d8;
  --muted: #676d68;
  --white: #fbf9f4;
  --line: rgba(22, 23, 21, 0.14);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: clamp(16px, 5vw, 72px);
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 C20 2 45 3 70 3.5 C85 4 95 3 99 3.5 L98 6 C80 7 55 6 30 6.5 C15 7 6 7.5 2 7 Z'/%3E%3C/svg%3E");
  /* dasselbe Korn, schwach – als Hintergrund der Bereiche (liegt unter den Werken) */
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  /* Leinwand-/Papierkorn */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(18px, 1.25vw, 21px);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 1px dashed currentColor; outline-offset: 5px; }
::selection { background: var(--sage); color: var(--white); }

.kicker {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  opacity: .72;
}
.muted { color: var(--muted); }

/* Entwurfs-Hinweis (nur Vorschau) ---------------------------------------- */
.draft {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(22, 23, 21, .78); color: #fff;
  font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-decoration: none;
  backdrop-filter: blur(6px);
  opacity: .65; transition: opacity .2s;
}
.draft:hover { opacity: 1; }

/* Kopfzeile: schwebende Milchglas-Leiste, überall lesbar ------------------ */
.top { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 clamp(10px, 3vw, 40px); pointer-events: none; }
.top-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1320px; margin: 0 auto;
  padding: 10px 12px 10px 26px;
  border-radius: 999px;
  background: rgba(246, 243, 236, .8);
  border: 1px solid rgba(22, 23, 21, .08);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.35);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: var(--ink);
  transition: background .4s, color .4s, border-color .4s;
}
.top.is-dark .top-bar { background: rgba(22, 23, 21, .62); color: var(--white); border-color: rgba(255,255,255,.1); }
.top a { text-decoration: none; }
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand { align-items: center; }
.brand-sig { width: clamp(7.5rem, 11vw, 9.5rem); }
.brand-sub { font-style: italic; font-size: 1.05rem; opacity: .7; }

.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav a {
  position: relative; display: flex; align-items: baseline; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 1.22rem; font-style: italic; font-weight: 500;
  transition: background .3s;
}
.top-nav .num { font-family: var(--sans); font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .12em; opacity: .55; }
.top-nav a::after { /* Pinselstrich unter dem aktiven Punkt */
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 5px;
  background: currentColor; opacity: .75;
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.top-nav a:hover::after, .top-nav a.is-current::after { transform: scaleX(1); }
.top-nav a:hover { background: rgba(102, 114, 108, .12); }
.top.is-dark .top-nav a:hover { background: rgba(255,255,255,.08); }
.menu-btn { display: none; }

/* Weiche Farbflächen (wie verlaufene Farbe) --------------------------------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blobs i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(60px); opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: #8e9a91; }
.blobs i:nth-child(2) { width: 34vw; height: 34vw; right: 4vw; bottom: -12vw; background: #c7b39f; opacity: .45; animation-duration: 32s; animation-delay: -8s; }
.blobs i:nth-child(3) { width: 26vw; height: 26vw; left: 40vw; top: 30%; background: #a9c4c6; opacity: .35; animation-duration: 38s; animation-delay: -14s; }
.blobs-dark i:nth-child(1) { background: #3b4540; opacity: .7; }
.blobs-dark i:nth-child(2) { background: #5a4337; opacity: .45; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4vw, 3vw) scale(1.08); }
  100% { transform: translate(-3vw, 5vw) scale(.95); }
}

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: 130px var(--pad) 80px;
  background: var(--sage);
  color: var(--ink);
  overflow: hidden;
}
.hero > :not(.blobs) { position: relative; }
.hero-name {
  margin: 0;
  font-size: clamp(3.4rem, 9.4vw, 9.6rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: .92;
}
.hero-sig { width: min(100%, 46rem); animation: schreiben 2.4s .15s cubic-bezier(.55, .1, .35, 1) both; }
@keyframes schreiben { from { clip-path: inset(-15% 100% -15% 0); } to { clip-path: inset(-15% 0 -15% 0); } }
.hero-stroke {
  display: block; width: min(100%, 46rem); height: clamp(14px, 1.8vw, 24px);
  margin: clamp(20px, 2.6vw, 34px) 0 clamp(10px, 1.4vw, 18px);
  overflow: visible;
  fill: var(--white);
  animation: stroke-in 1.6s .45s var(--ease) both;
}
@keyframes stroke-in { from { clip-path: inset(-50% 100% -50% 0); } to { clip-path: inset(-50% 0 -50% 0); } }
.hero-sub {
  margin: 0; color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.8rem); font-style: italic; font-weight: 300; letter-spacing: .02em;
  animation: fade-up 1.1s .9s var(--ease) both;
}
.hero-meta {
  margin: 26px 0 0; color: #fff;
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  animation: fade-up 1.1s 1.05s var(--ease) both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 46px;
  color: var(--white); text-decoration: none;
  font-size: 1.5rem; font-style: italic;
  animation: fade-up 1.1s 1.2s var(--ease) both;
}
.hero-cta span { border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; transition: border-color .3s; }
.hero-cta svg { width: 54px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.hero-cta:hover span { border-color: #fff; }
.hero-cta:hover svg { transform: translateX(8px); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-art { justify-self: center; width: 100%; max-width: 440px; animation: fade-up 1.4s .5s var(--ease) both; }
.hero-frame {
  display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit;
  position: relative; aspect-ratio: 4 / 5; cursor: zoom-in;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(-1.6deg);
  transition: transform .8s var(--ease);
}
.hero-frame img {
  position: absolute; inset: 0; margin: auto;
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  padding: clamp(10px, 1.2vw, 16px); background: var(--white); /* Passepartout */
  box-shadow: 0 34px 60px -24px rgba(0,0,0,.55), 0 8px 18px -8px rgba(0,0,0,.3);
  opacity: 0; transform: scale(1.03);
  transition: opacity 1.6s ease, transform 7s ease-out;
}
.hero-frame img.is-active { opacity: 1; transform: scale(1); }
.hero-caption { margin: 26px 0 0; text-align: center; color: var(--white); font-size: 1.35rem; font-style: italic; }
.hero-caption::before { content: "— "; opacity: .6; }

/* Räume (horizontale Galeriewand) -------------------------------------------- */
.room { position: relative; }
.wand-hell { background: var(--paper); color: var(--ink); }
.wand-gruen { background: var(--sage); color: var(--white); }

.room-sticky {
  position: relative; overflow: hidden;
  /* Lichtkegel folgt der Maus (--mx/--my via JS) + sanftes Oberlicht */
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255,252,242,.34), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 35%);
}
.wand-gruen .room-sticky {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255,248,230,.16), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 35%);
}

.room-track {
  display: flex; align-items: center; gap: clamp(56px, 8vw, 150px);
  padding: 130px var(--pad) 100px;
  width: max-content;
  will-change: transform;
}
.room-intro, .room-exit { flex: 0 0 auto; width: min(78vw, 380px); position: relative; }
.room-num {
  position: absolute; left: -.08em; top: 50%; transform: translateY(-58%);
  font-size: clamp(14rem, 30vw, 26rem); font-weight: 300; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .16;
  pointer-events: none; user-select: none;
}
.room-intro > :not(.room-num) { position: relative; }
.room-intro h2 {
  margin: 0; font-size: clamp(4rem, 9vw, 8.5rem); font-weight: 300; font-style: italic; letter-spacing: -.01em; line-height: .95;
}
.room-count { margin: 18px 0 0; font-size: 1.35rem; font-style: italic; opacity: .8; }
.room-hint { margin: 44px 0 0; font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.room-hint::before { content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.room-exit a { font-size: clamp(1.8rem, 3vw, 2.8rem); font-style: italic; font-weight: 300; text-decoration: none; border-bottom: 1px solid currentColor; }

.work { flex: 0 0 auto; margin: 0; position: relative; isolation: isolate; width: min-content; } /* Text bricht auf Bildbreite um */
.work::before { /* Bilderleuchte über jedem Werk – Oval läuft zu allen Seiten ganz aus (keine Kante) */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -26%; width: 150%; height: 44%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,247,226,.5), rgba(255,247,226,.2) 50%, rgba(255,247,226,0));
  pointer-events: none;
}
.wand-gruen .work::before { background: radial-gradient(closest-side, rgba(255,244,220,.26), rgba(255,244,220,.1) 50%, rgba(255,244,220,0)); }
.work-open { display: block; cursor: zoom-in; }
.work img {
  /* passt sich der Fensterhöhe an: Platz für Kopfzeile, Werkschild und Fortschrittslinie bleibt */
  height: clamp(190px, min(52vh, calc(100vh - 400px)), 600px); width: auto; max-width: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 26px 46px -18px rgba(0,0,0,.45), 0 6px 14px -6px rgba(0,0,0,.2);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.work-open:hover img, .work-open:focus-visible img {
  transform: translateY(-6px) rotate(-.4deg) scale(1.012);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 44px 64px -22px rgba(0,0,0,.52), 0 10px 20px -8px rgba(0,0,0,.24);
}
.label { display: flex; flex-direction: column; gap: 3px; margin-top: 24px; padding-left: 16px; border-left: 1px solid currentColor; }
.label-title { font-size: 1.45rem; font-style: italic; line-height: 1.2; }
.label-title.is-open { opacity: .55; }
.label-meta { font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.label-text { margin-top: 10px; max-width: 36ch; font-size: 1.02rem; line-height: 1.42; opacity: .82; }

.room-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 1px; background: currentColor; opacity: .25; display: none; }
.room-progress span { position: absolute; inset: -1px 0; background: currentColor; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* Horizontal-Modus (JS setzt .is-horizontal, nur breite Screens ohne reduzierte Bewegung) */
.is-horizontal .room-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.is-horizontal .room-track { padding-block: 84px 30px; } /* unter der Kopfzeile, über der Fortschrittslinie */
.is-horizontal .room-progress { display: block; }
.hint-desk { display: none; }
.is-horizontal .room .hint-desk { display: inline; }
.is-horizontal .room .hint-touch { display: none; }
@media (hover: hover) and (pointer: fine) {
  .viewer .hint-desk { display: inline; }
  .viewer .hint-touch { display: none; }
}

/* Ohne Horizontal-Modus: native Wisch-Galerie */
html:not(.is-horizontal) .room-sticky { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html:not(.is-horizontal) .room-sticky::-webkit-scrollbar { display: none; }
html:not(.is-horizontal) .work, html:not(.is-horizontal) .room-intro, html:not(.is-horizontal) .room-exit { scroll-snap-align: center; }

/* Gemalter Trenner ------------------------------------------------------------ */
.divider { display: block; width: min(100%, 1100px); height: 40px; margin: 0 auto clamp(56px, 9vh, 100px); overflow: visible; }
.divider path { fill: none; stroke: var(--sage); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .divider.reveal { opacity: 1; transform: none; }
.js .divider.reveal path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.js .divider.reveal.is-in path { stroke-dashoffset: 0; }

/* Film „Kunsterfahrung“ (selbst gehostet, lädt erst beim Abspielen) ---------- */
.film { padding: clamp(90px, 14vh, 160px) var(--pad); background: var(--paper-2) var(--grain-soft); }
.film-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: 1100px; margin: 0 auto; }
.film-frame { line-height: 0; box-shadow: 0 34px 70px -34px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.08); }
.film-frame video { display: block; width: auto; height: min(78vh, 720px); max-width: 100%; aspect-ratio: 720 / 836; background: var(--ink); }
.film h2 { margin: 0; font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.film h2 em { color: var(--sage-dark); }
.film-dauer { margin: 28px 0 0; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Vita ------------------------------------------------------------------------ */
.vita { position: relative; padding: clamp(90px, 14vh, 160px) var(--pad); background: var(--paper); }
.vita-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1100px; margin: 0 auto clamp(64px, 9vh, 110px); }
.vita-portrait {
  width: clamp(130px, 16vw, 210px); height: clamp(140px, 17vw, 225px);
  object-fit: cover; object-position: 50% 30%;
  border-radius: 58% 42% 55% 45% / 47% 55% 45% 53%; /* organische Form statt Kreis */
  filter: grayscale(1) contrast(1.05);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.45);
  transition: border-radius 1.6s var(--ease);
}
.vita-portrait:hover { border-radius: 45% 55% 42% 58% / 55% 45% 55% 45%; }
.vita h2 { margin: 0; font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.vita h2 em { color: var(--sage-dark); }
.lead { margin: 22px 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-style: italic; line-height: 1.45; }
.vita-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); max-width: 1100px; margin: 0 auto; }
.vita h3 { margin: 56px 0 18px; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.vita-col > h3:first-child { margin-top: 0; }
/* Gedanken zur Kunst – Ilonas eigene Worte + Ausstellungszitat */
.gedanken { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1100px; margin: 0 auto clamp(64px, 9vh, 110px); }
.gedanken h3 { margin-top: 0; }
.gedanken-text p { margin: 0 0 1em; max-width: 52ch; font-size: clamp(1.1rem, 1.35vw, 1.25rem); line-height: 1.55; }
.gedanken-text .gedanken-kern { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 300; line-height: 1.25; }
.gedanken-zitat { margin: 0; padding-left: clamp(20px, 2.5vw, 34px); border-left: 1px solid var(--sage); }
.gedanken-zitat blockquote { margin: 0; }
.gedanken-zitat blockquote p { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-style: italic; line-height: 1.4; }
.gedanken-zitat figcaption { margin-top: 18px; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.gedanken-zitat figcaption span { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: .8rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .4s, padding .4s var(--ease); }
.timeline li:hover { background: linear-gradient(90deg, rgba(102,114,108,.12), transparent 80%); padding-left: 10px; }
.t-year { font-size: 1.35rem; font-style: italic; color: var(--sage-dark); line-height: 1.3; }
.t-text { font-size: 1.12rem; line-height: 1.45; }
.t-text small { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; font-style: italic; line-height: 1.5; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
/* Englische Kurzvita (Ilona, 01.11.2026) */
.vita-en { max-width: 1100px; margin: clamp(64px, 9vh, 110px) auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.vita-en h3 { margin-top: 0; }
.vita-en p { margin: 0 0 .8em; max-width: 70ch; font-size: 1.12rem; line-height: 1.55; }

/* Kontakt ---------------------------------------------------------------------- */
.kontakt { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 18vh, 200px) var(--pad); background: var(--ink); color: var(--white); text-align: center; }
.kontakt > :not(.blobs) { position: relative; }
.kontakt h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 300; line-height: 1.05; }
.kontakt h2 em { color: #c9d2cc; }
.kontakt-mail {
  display: inline-block; position: relative; margin-top: clamp(30px, 5vh, 52px);
  font-size: clamp(1.8rem, 5.4vw, 4.2rem); font-style: italic; font-weight: 300;
  text-decoration: none; overflow-wrap: anywhere;
}
.kontakt-mail::after { /* Pinselstrich-Unterstreichung */
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px; background: var(--sage-light);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
  transform: scaleX(.35); transform-origin: left; transition: transform .6s var(--ease);
}
.kontakt-mail:hover::after, .kontakt-mail:focus-visible::after { transform: scaleX(1); }
.kontakt-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 44px; margin-top: 40px; font-size: 1.3rem; font-style: italic; }
.kontakt-links a { text-decoration: none; opacity: .8; border-bottom: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.kontakt-links a:hover { opacity: 1; border-color: currentColor; }

.foot { padding: 34px var(--pad) 84px; background: var(--ink); color: rgba(255,255,255,.55); font-size: 1rem; font-style: italic; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.foot p { margin: 0 0 10px; }
.impressum summary { cursor: pointer; display: inline-block; font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.impressum[open] { color: rgba(255,255,255,.82); }
.impressum p { max-width: 52ch; margin: 16px auto 0; font-style: normal; line-height: 1.6; }

/* Werkansicht ------------------------------------------------------------------ */
.viewer {
  inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #121412; color: var(--white);
  overflow: hidden;
}
.viewer[open] { display: grid; grid-template-columns: 1fr 320px; }
.viewer::backdrop { background: #121412; }
.viewer-stage { position: relative; display: grid; place-items: center; padding: 64px 90px; overflow: hidden; touch-action: none; }
.viewer-img {
  max-width: 100%; max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); width: auto; height: auto;
  cursor: zoom-in; user-select: none; -webkit-user-drag: none;
  transition: transform .45s var(--ease), opacity .35s;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.85);
}
.viewer-img.is-loading { opacity: 0; }
.viewer.is-zoomed .viewer-img { transform: scale(2.4); cursor: zoom-out; }
.viewer-info { align-self: end; padding: 0 44px 64px 0; }
.viewer-count { margin: 0 0 18px; font-family: var(--sans); font-size: .7rem; letter-spacing: .24em; opacity: .55; }
.viewer-title { margin: 0; font-size: 2.4rem; font-style: italic; font-weight: 300; line-height: 1.1; }
.viewer-meta { margin: 10px 0 0; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.viewer-text { margin: 22px 0 0; max-width: 32ch; font-size: 1.2rem; line-height: 1.5; opacity: .85; }
.viewer-hint { margin: 36px 0 0; font-size: 1rem; font-style: italic; opacity: .5; }
.viewer-btn {
  position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(18,20,18,.6); color: #fff;
  font-family: var(--serif); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.viewer-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.viewer-close { top: 22px; right: 22px; }
.viewer-nav { top: 50%; transform: translateY(-50%); }
.viewer-prev { left: 22px; }
.viewer-next { left: calc(100% - 320px - 76px); }
.viewer.is-zoomed .viewer-nav { opacity: 0; pointer-events: none; }

/* Maus-Label über Werken -------------------------------------------------------- */
.cursor-view {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-radius: 58% 42% 55% 45% / 47% 55% 45% 53%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  font-size: 1.15rem; font-style: italic;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0) rotate(-20deg);
  transition: transform .35s var(--ease);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.35);
}
.cursor-view.is-on { transform: translate3d(var(--cx), var(--cy), 0) scale(1) rotate(0); }
@media not ((hover: hover) and (pointer: fine)) { .cursor-view { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor .work-open, .has-cursor .hero-frame { cursor: none; } }

/* Reveal ---------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Mobil ------------------------------------------------------------------------------ */
@media (max-width: 960px) {
  .top-bar { padding: 8px 8px 8px 20px; background: rgba(246, 243, 236, .95); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .top.is-dark .top-bar { background: rgba(22, 23, 21, .92); }
  .brand-sub { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; padding: 9px 18px; border: 0; border-radius: 999px;
    background: var(--ink); color: var(--white);
    font-family: var(--serif); font-size: 1.1rem; font-style: italic; cursor: pointer;
  }
  .top.is-dark .menu-btn { background: var(--white); color: var(--ink); }
  .top-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 110px var(--pad) 60px;
    background: var(--sage); color: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .top-nav::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .12; pointer-events: none; }
  .top.menu-open .top-nav { opacity: 1; visibility: visible; }
  .top-nav a { font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 300; padding: 4px 0; gap: 14px; background: none !important; }
  .top-nav a::after { left: 0; right: 0; bottom: 2px; height: 8px; }
  .top-nav .num { font-size: .8rem; align-self: center; min-width: 1.6em; }
  .top.menu-open .top-bar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--white); }
  .top.menu-open .menu-btn { background: var(--white); color: var(--ink); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; gap: 56px; }
  .hero-art { max-width: 320px; }
  /* Bild behält sein Seitenverhältnis – keine leere Fläche um breite Werke */
  .work img { width: auto; height: auto; max-height: min(50vh, 420px); max-width: 72vw; }
  .room-track { gap: 28px; padding-top: 110px; padding-bottom: 80px; }
  .room-intro, .room-exit { width: 68vw; }
  .room-num { font-size: 13rem; }
  .vita-head { grid-template-columns: 1fr; }
  .gedanken { grid-template-columns: 1fr; }
  .film-inner { grid-template-columns: 1fr; justify-items: center; }
  .film-frame { width: min(100%, 420px); }
  .film-frame video { width: 100%; height: auto; }
  .film-text { justify-self: start; }
  .vita-grid { grid-template-columns: 1fr; gap: 0; }
  .vita-grid .vita-col + .vita-col { margin-top: 56px; }
  .timeline li { grid-template-columns: 5.6rem 1fr; }
  .viewer[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .viewer-stage { padding: 70px 12px 12px; }
  .viewer-img { max-height: calc(100vh - 330px); max-height: calc(100dvh - 330px); }
  .viewer-info { align-self: start; padding: 8px 20px 28px; }
  .viewer-title { font-size: 1.8rem; }
  .viewer-text { margin-top: 10px; font-size: 1.05rem; max-width: none; }
  .viewer-hint { display: none; }
  .viewer-hint { margin-top: 12px; }
  .viewer-nav { top: 22px; transform: none; width: 48px; height: 48px; }
  .viewer-prev { left: 16px; }
  .viewer-next { left: 72px; }
  .blobs i { filter: blur(40px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .divider.reveal path { stroke-dashoffset: 0; }
}

/* Leinwandkorn im Hintergrund der Bereiche (unter den Werken, nicht darüber) */
.hero, .wand-hell, .wand-gruen, .vita, .kontakt, .foot { background-image: var(--grain-soft); }

/* Kontrast: kleine Texte auf der graugrünen Wand voll deckend (WCAG AA) */
.wand-gruen .kicker, .wand-gruen .room-count, .wand-gruen .room-hint,
.wand-gruen .label-meta, .wand-gruen .label-text { opacity: 1; }

/* Schmale Desktop-Fenster (Wischen-Modus mit Maus): dünne Scrollleiste als Hinweis, dass es seitwärts weitergeht */
@media (hover: hover) and (pointer: fine) {
  html:not(.is-horizontal) .room-sticky { scrollbar-width: thin; scrollbar-color: currentColor transparent; }
  html:not(.is-horizontal) .room-sticky::-webkit-scrollbar { display: block; height: 6px; }
  html:not(.is-horizontal) .room-sticky::-webkit-scrollbar-thumb { background: currentColor; border-radius: 3px; }
}

/* Niedrige Fenster: Werktext an der Wand kürzen (vollständig in der Werkansicht) */
@media (max-height: 820px) {
  .is-horizontal .label-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}
@media (max-height: 680px) {
  .is-horizontal .label-text { -webkit-line-clamp: 2; line-clamp: 2; }
}


/* Signatur (Vektor, färbt sich mit der Textfarbe) ------------------------------- */
.signatur {
  display: block; aspect-ratio: 786.5 / 152.75;
  background: currentColor;
  -webkit-mask: url("signatur.svg") center / contain no-repeat;
          mask: url("signatur.svg") center / contain no-repeat;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Dunkle Wand (z. B. Welten): glänzende Formen wirken wie im Scheinwerferlicht */
.wand-dunkel { background-color: #1d201e; color: var(--white); }
.wand-dunkel .room-sticky {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255,248,230,.10), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 35%);
}
.wand-dunkel .work::before { background: radial-gradient(closest-side, rgba(255,240,210,.2), rgba(255,240,210,.08) 50%, rgba(255,240,210,0)); }
.wand-dunkel .work img { box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 26px 50px -18px rgba(0,0,0,.8); }
.wand-dunkel { background-image: var(--grain-soft); }
.wand-dunkel .kicker, .wand-dunkel .room-count, .wand-dunkel .room-hint,
.wand-dunkel .label-meta, .wand-dunkel .label-text { opacity: 1; }
.wand-dunkel .label-meta, .wand-dunkel .room-hint { color: #d9ddd9; }

/* Ausstellungsansichten etwas zurückgenommen */
.work.is-ansicht .label { border-left-style: dashed; }

/* Menü: Desktop zeigt „Serien“, das Handy-Menü jede Serie einzeln ---------------- */
.top-nav .nav-mobil { display: none; }

/* Serienübersicht -------------------------------------------------------------- */
.serien { padding: clamp(90px, 14vh, 150px) var(--pad); background-color: var(--paper); background-image: var(--grain-soft); }
.serien > .kicker, .serien > h2 { max-width: 1100px; margin-left: auto; margin-right: auto; }
.serien h2 { margin-top: 0; margin-bottom: clamp(36px, 6vh, 60px); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 300; line-height: 1.02; }
.serien h2 em { color: var(--sage-dark); }
.serien-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1100px; margin: 0 auto; }
.serie-karte { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; text-decoration: none; }
.serie-bild { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; background: var(--paper-2);
  box-shadow: 0 22px 40px -22px rgba(0,0,0,.45); }
.serie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.serie-karte:hover .serie-bild img, .serie-karte:focus-visible .serie-bild img { transform: scale(1.05); }
.serie-num { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--sage-dark); }
.serie-name { font-size: 1.6rem; font-style: italic; line-height: 1.1; }
.serie-count { grid-column: 2; font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 960px) {
  .top-nav .nav-desk { display: none; }
  .top-nav .nav-mobil { display: flex; }
  .top-nav a { font-size: clamp(1.9rem, 8vw, 3rem); }
}
@media (max-width: 520px) {
  .serien-liste { grid-template-columns: 1fr 1fr; }
  .serie-name { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sig { clip-path: none; }
}

/* Serientext der Künstlerin in der Raumeinleitung */
.room-text { margin: 22px 0 0; max-width: 34ch; font-size: 1.12rem; font-style: italic; line-height: 1.5; opacity: .9; }
.room-text::before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: 16px; background: currentColor; opacity: .5; }
.wand-gruen .room-text, .wand-dunkel .room-text { opacity: 1; }

/* Raumtitel richtet sich auch nach der Fensterhöhe (lange Serientitel + Serientext passen auf niedrige Bildschirme) */
.room-intro h2 { font-size: clamp(3rem, min(9vw, 13vh), 8.5rem); }
@media (max-height: 760px) {
  .room-text { margin-top: 14px; font-size: 1rem; line-height: 1.4; }
  .room-text::before { margin-bottom: 10px; }
  .room-hint { margin-top: 22px; }
}

/* Verkauf: Werknummer, „Preis auf Anfrage“ + Anfragen, roter Punkt = verkauft ---- */
.label-nr { order: -1; margin-bottom: 2px; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.label { position: relative; }
.label-sale { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.label-sale.is-sold i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #c6352f; vertical-align: 0; }
.label-anfrage {
  font-family: var(--serif); font-size: 1.05rem; font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .2s;
}
.label-anfrage:hover { opacity: .7; }
.label-anfrage::after { content: " →"; }
.wand-gruen .label-sale, .wand-dunkel .label-sale, .wand-gruen .label-nr, .wand-dunkel .label-nr { opacity: 1; }

.viewer-nr { margin: 0 0 8px; font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.viewer-sale { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 26px 0 0; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.viewer-sale[hidden] { display: none; }
.viewer-anfrage {
  display: inline-flex; padding: 10px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  font-family: var(--serif); font-size: 1.1rem; font-style: italic; letter-spacing: 0; text-transform: none; text-decoration: none;
  transition: background .25s, color .25s;
}
.viewer-anfrage:hover { background: var(--white); color: var(--ink); }
.kontakt-hinweis { margin: 22px auto 0; max-width: 46ch; font-size: 1.1rem; font-style: italic; opacity: .8; }
@media (max-width: 860px) {
  .viewer-sale { flex-direction: row; align-items: center; flex-wrap: wrap; margin-top: 14px; }
  .viewer-anfrage { padding: 8px 16px; font-size: 1rem; }
}
.viewer-anfrage[hidden] { display: none; }

/* Werkschild darf breiter sein als ein sehr schmales Bild (z. B. 190 × 70 cm) – sonst bricht alles in viele Zeilen */
.is-horizontal .label { min-width: 16rem; }
@media (max-height: 980px) {
  .is-horizontal .label-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}
@media (max-height: 700px) {
  .is-horizontal .label-text { display: none; } /* vollständig in der Werkansicht */
}

/* Fußzeile: Rechtliches als Links */
.foot-links { display: flex; justify-content: center; gap: 28px; margin: 14px 0 0; font-family: var(--sans); font-size: .72rem; font-style: normal; letter-spacing: .2em; text-transform: uppercase; }
.foot-links a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.foot-links a:hover { color: var(--white); border-color: currentColor; }

/* Rechtsseiten (Impressum, Datenschutz) */
.rechtsseite { background-image: var(--grain-soft); }
.rechtsseite .top-bar { gap: 16px; }
.zurueck { font-size: 1.15rem; font-style: italic; text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.zurueck:hover { background: rgba(102, 114, 108, .12); }
.rechtstext { max-width: 760px; margin: 0 auto; padding: 150px var(--pad) 100px; }
.rechtstext h1 { margin: 0 0 8px; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 300; line-height: 1.05; }
.rechtstext h2 { margin: 44px 0 10px; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-dark); }
.rechtstext p, .rechtstext li { font-size: 1.12rem; line-height: 1.6; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext a { color: var(--sage-dark); }
.rechtstext-stand { margin: 0; color: var(--muted); font-style: italic; }
.rechtstext-fuss { margin-top: 48px; }
@media (max-width: 960px) {
  .rechtsseite .brand-sub { display: none; }
}

/* Hero wie auf Ilonas Visitenkarte: „Zeitgenössische Kunst“ dunkel, darunter die Techniken hell */
.hero-kunst {
  margin: 30px 0 0; color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  animation: fade-up 1.1s 1s var(--ease) both;
}
.hero-kunst + .hero-meta { margin-top: 10px; }

/* Kontakt: Atelier-Adresse */
.kontakt-atelier { margin: 40px auto 0; font-size: 1.2rem; line-height: 1.5; opacity: .85; }
.kontakt-atelier span { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }

/* Ein Raum zur Zeit (Prototyp 03.11.2026, werke.json "modus": "einzeln") -------------------
   Übersicht = Eingang; nur der gewählte Raum ist zu sehen. Ohne JS bleiben alle Räume sichtbar. */
.is-einzeln .room:not(.is-open) { display: none; }
.is-einzeln .room.is-open .room-sticky { animation: raum-auf .6s var(--ease) both; }
@keyframes raum-auf { from { opacity: 0; } }
.serie-karte[aria-current] .serie-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.room-exit .exit-zurueck { display: inline-block; margin-top: 26px; font-size: 1.25rem; border-bottom-color: transparent; opacity: .75; }
.room-exit .exit-zurueck:hover { opacity: 1; border-bottom-color: currentColor; }
.is-einzeln .room-exit { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }

.raum-leiste {
  position: fixed; left: 50%; bottom: 14px; z-index: 45; /* PC: sitzt auf der Fortschrittslinie */
  display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: rgba(246, 243, 236, .9); color: var(--ink);
  border: 1px solid rgba(22, 23, 21, .08);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.45);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transform: translate(-50%, 16px); opacity: 0; visibility: hidden;
  transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s;
}
.raum-leiste.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: opacity .35s, transform .35s var(--ease); }
.raum-leiste a { text-decoration: none; border-radius: 999px; }
.leiste-zurueck { padding: 8px 16px 8px 14px; font-size: 1.12rem; font-style: italic; font-weight: 500; white-space: nowrap; }
.leiste-zurueck:hover { background: rgba(102, 114, 108, .14); }
.leiste-raeume { display: flex; gap: 2px; padding-left: 6px; border-left: 1px solid var(--line); }
.leiste-raeume a {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em;
}
.leiste-raeume a:hover { background: rgba(102, 114, 108, .14); }
.leiste-raeume a[aria-current] { background: var(--ink); color: var(--white); }
.raum-leiste.is-dunkel { background: rgba(22, 23, 21, .82); color: var(--white); border-color: rgba(255,255,255,.1); }
.raum-leiste.is-dunkel .leiste-raeume { border-left-color: rgba(255,255,255,.16); }
.raum-leiste.is-dunkel .leiste-raeume a[aria-current] { background: var(--white); color: var(--ink); }
.raum-leiste.is-dunkel a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 860px) {
  .raum-leiste { bottom: max(12px, env(safe-area-inset-bottom)); }
  .leiste-zurueck { padding: 8px 12px 8px 12px; font-size: 1.05rem; }
  .leiste-raeume a { min-width: 36px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-einzeln .room.is-open .room-sticky { animation: none; }
  .raum-leiste, .raum-leiste.is-on { transition: none; }
}
.is-einzeln .draft { top: 96px; bottom: auto; } /* Entwurfs-Hinweis (nur Vorschau) nicht über der Leiste */
.is-einzeln.is-horizontal .room-track { padding-bottom: 70px; } /* Platz für die Leiste unter den Werkschildern */
/* Handy: offener Raum füllt den ganzen Bildschirm – unten blitzt nichts vom nächsten Abschnitt herein */
.is-einzeln:not(.is-horizontal) .room.is-open .room-sticky { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.is-einzeln:not(.is-horizontal) .room.is-open .room-track { flex: none; }

/* Modus „streifen“ (werke.json): Räume auch am PC als Wisch-Streifen, Pfeile ‹ › für die Maus ---- */
.raum-pfeil { display: none; }
@media (hover: hover) and (pointer: fine) {
  .is-streifen .room .hint-touch { display: none; }
  .is-streifen .room .room-hint::after { content: "Mit den Pfeilen durch den Raum gehen"; }
  .is-streifen:not(.is-horizontal) .raum-pfeil {
    display: grid; place-items: center; position: absolute; top: 50%; z-index: 3;
    width: 56px; height: 56px; margin-top: -28px; padding: 0; border-radius: 50%;
    border: 1px solid currentColor; background: rgba(244, 240, 232, .72); color: var(--ink);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font: 300 2.1rem/1 var(--serif, Georgia, serif); cursor: pointer;
    transition: opacity .3s, transform .3s var(--ease), background-color .3s;
  }
  .is-streifen .raum-pfeil span { margin-top: -4px; }
  .is-streifen .raum-pfeil:hover { background: var(--white); transform: scale(1.06); }
  .is-streifen .raum-pfeil.is-aus { opacity: 0; pointer-events: none; }
  .is-streifen .raum-pfeil-zurueck { left: clamp(12px, 2vw, 28px); }
  .is-streifen .raum-pfeil-weiter { right: clamp(12px, 2vw, 28px); }
  .is-streifen .wand-dunkel .raum-pfeil, .is-streifen .wand-gruen .raum-pfeil { background: rgba(22, 23, 21, .55); color: var(--white); }
  .is-streifen .wand-dunkel .raum-pfeil:hover, .is-streifen .wand-gruen .raum-pfeil:hover { background: rgba(22, 23, 21, .8); }
}
@media (prefers-reduced-motion: reduce) { .is-streifen .raum-pfeil { transition: none; } }
/* Eigene Seitwärts-Leiste unter jedem Streifen (statt der Browser-Scrollleiste, die je nach Gerät dünn
   oder unsichtbar ist): dicker Balken, ziehen oder auf die Spur klicken */
html.is-streifen:not(.is-horizontal) .room-sticky { scrollbar-width: none; }
html.is-streifen:not(.is-horizontal) .room-sticky::-webkit-scrollbar { display: none; }
.raum-balken {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; z-index: 3;
  height: 24px; cursor: pointer; touch-action: none; /* größere Klickfläche als der sichtbare Balken */
}
.raum-balken::before, .raum-balken span { content: ""; position: absolute; top: 6px; height: 12px; border-radius: 6px; }
.raum-balken::before { left: 0; right: 0; background: currentColor; opacity: .16; }
.raum-balken span { left: 0; background: currentColor; opacity: .7; transition: opacity .2s; cursor: grab; }
.raum-balken:hover span, .raum-balken.is-zieht span { opacity: .95; }
.raum-balken.is-zieht span { cursor: grabbing; }
.raum-balken[hidden] { display: none; }
@media (max-width: 860px) { .raum-balken { bottom: 22px; } }
/* Wand mit der Maus ziehen */
@media (hover: hover) and (pointer: fine) {
  html.is-streifen:not(.is-horizontal) .room-sticky { cursor: grab; }
}
html.is-ziehen, html.is-ziehen * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
html.is-ziehen .cursor-view { opacity: 0 !important; }
