@charset "UTF-8";
/* ==========================================================================
   AMAVI Interior — Sophie Petker
   ---------------------------------------------------------------------------
   Gestaltungsidee: die Seite ist eine Monografie des Studios. Leitmotiv ist
   die Öffnung — Bilder erscheinen, als ginge ein Fensterflügel auf. Das kommt
   aus ihrem eigenen Auftaktbild: ein Salon, gesehen durch eine Stahlglasfassade.

   Schrift: Fraunces trägt alles Inhaltliche (auch den Fließtext), Questrial
   nur Struktur — Navigation, Marken, Zahlen, Knöpfe.

   Aufbau der Datei: Schriften · Tokens · Basis · Raster · Kopf · Apertur ·
   Kapitel · Bänder · Text · Tafeln · Materialtafel · Ablauf · Haltung ·
   Formular · Weiter · Fuß · Lightbox · Bewegung.
   Konvention: Abstände liegen auf .chapter/.stack, nie zusätzlich auf
   Element-Selektoren — sonst heben sich Regeln gegenseitig auf.
   ========================================================================== */

/* --- Schriften: lokal, keine externen Requests (DSGVO) ------------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Questrial';
  src: url('../fonts/questrial-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Questrial';
  src: url('../fonts/questrial-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Espresso und Sand: beides aus ihren Renderings bzw. ihrer Seite */
  --ink: #140b06;
  --ink-2: #1d0f09;
  --ink-3: #291710;
  --pane: #33201b;
  --sand: #ffd7b1;
  --sand-2: #c7a183;
  --sand-3: #a9886b;
  --moss: #6e7346;
  --cream: #f7ede1;
  --body: #d6c5b5;
  --stone: #efe8dc;
  --stone-2: #e2d8c8;
  --stone-3: #d3c6b2;
  --stone-ink: #241812;
  --stone-body: #59463a;

  --line: rgba(255, 215, 177, 0.18);
  --line-2: rgba(255, 215, 177, 0.4);
  --line-stone: rgba(36, 24, 18, 0.15);
  --line-stone-2: rgba(36, 24, 18, 0.32);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Questrial', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --head-h: 66px;
  --pad: clamp(1.25rem, 4.5vw, 5rem);
  --shell: 88rem;
  --gap: clamp(1.5rem, 3vw, 3rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 64rem) {
  :root { --head-h: 82px; }
}

/* --- Basis --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 2rem);
}

body {
  margin: 0;
  background: var(--ink-2);
  color: var(--body);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-wrap: balance;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* --- Typografische Bausteine -------------------------------------------- */
/* Questrial trägt ausschließlich Struktur: Marken, Zahlen, Knöpfe, Navigation */
.tag {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand-2);
}

.num {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand-3);
  font-variant-numeric: tabular-nums;
}

.t-hero {
  font-size: clamp(2.4rem, 1.1rem + 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.t-1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.75rem); line-height: 1; }
.t-2 { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.75rem); }
.t-3 { font-size: clamp(1.25rem, 1.05rem + 0.85vw, 1.65rem); line-height: 1.18; }

.lead {
  font-size: clamp(1.1875rem, 1.05rem + 0.85vw, 1.625rem);
  line-height: 1.5;
  color: var(--cream);
  text-wrap: pretty;
}

.said {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2.25rem);
  line-height: 1.34;
  letter-spacing: 0;
  color: var(--cream);
  text-wrap: pretty;
}

.fine {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sand-3);
}

.measure { max-width: 34em; }
.measure-wide { max-width: 44em; }

.accent { color: var(--sand); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Raster -------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Zwölfspaltiges Raster für die redaktionellen Blöcke */
.rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
}

.c-full { grid-column: 1 / -1; }

@media (min-width: 56rem) {
  .c-side { grid-column: 1 / 4; }
  .c-main { grid-column: 5 / 12; }
  .c-half-l { grid-column: 1 / 7; }
  .c-half-r { grid-column: 7 / 13; }
  .c-inset { grid-column: 3 / 11; }
}

.chapter { padding-block: clamp(4rem, 8vw, 8.5rem); }
.chapter--tight { padding-block: clamp(2.75rem, 5vw, 5rem); }
.chapter--ruled { border-top: 1px solid var(--line); }

.on-stone {
  background: var(--stone);
  color: var(--stone-body);
}

.on-stone h1, .on-stone h2, .on-stone h3,
.on-stone .lead, .on-stone .said { color: var(--stone-ink); }

.on-stone .tag { color: var(--sand-3); }
.on-stone .num { color: #96755b; }
.on-stone .fine { color: #7b6350; }
.on-stone.chapter--ruled { border-top-color: var(--line-stone); }

.on-deep { background: var(--ink); }

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack--wide { gap: 2rem; }
.stack--tight { gap: 0.55rem; }

/* --- Knöpfe und Links --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  padding: 1.05em 2.3em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.btn--solid {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
}

.on-stone .btn {
  border-color: var(--line-stone-2);
  color: var(--stone-ink);
}

.on-stone .btn:hover,
.on-stone .btn:focus-visible {
  background: var(--stone-ink);
  border-color: var(--stone-ink);
  color: var(--stone);
}

/* Textlink mit wachsender Unterlinie */
.link {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
  color: var(--sand);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.link:hover::after,
.link:focus-visible::after { transform: scaleX(1); }

.on-stone .link { color: #7a5d3f; }

.inline-link {
  color: var(--sand);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.35s var(--ease);
}

.inline-link:hover,
.inline-link:focus-visible { border-bottom-color: var(--sand); }

.on-stone .inline-link {
  color: #7a5d3f;
  border-bottom-color: var(--line-stone-2);
}

/* --- Sprunglink ---------------------------------------------------------- */
.skip {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 120;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  translate: -50% 0;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}

.skip:focus { transform: none; }

/* --- Kopfzeile ---------------------------------------------------------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-head.is-stuck {
  background: rgba(20, 11, 6, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--head-h);
}

/* Wortmarke */
.mark {
  display: block;
  line-height: 1;
  transition: opacity 0.5s var(--ease);
}

/* Auf der Startseite trägt die Apertur den Namen. Die Kopfzeile hält sich
   zurück, bis gescrollt wird — sonst steht AMAVI zweimal übereinander. */
.at-home .site-head:not(.is-stuck) .mark {
  opacity: 0;
  pointer-events: none;
}

.mark__n {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  font-weight: 300;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  letter-spacing: 0.22em;
  color: var(--cream);
}

.mark__s {
  display: block;
  margin-top: 0.4em;
  font-family: var(--sans);
  font-size: 0.5rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--sand-3);
}

/* Der Fortschrittsfaden am unteren Rand der Kopfzeile */
.site-head__thread {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: var(--sand);
  transform: scaleX(var(--read, 0));
  transform-origin: left;
  opacity: 0.55;
}

.nav { display: none; }

@media (min-width: 64rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.4vw, 2.75rem);
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2.2vw, 2.5rem);
  }

  .nav__a {
    position: relative;
    padding-block: 0.5rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
    transition: color 0.4s var(--ease);
  }

  .nav__a:hover { color: var(--sand); }

  /* Aktuelles Kapitel: Sandpunkt davor, keine Unterlinie */
  .nav__a[aria-current='page'] { color: var(--sand); }

  .nav__a[aria-current='page']::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -0.85em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sand);
    translate: 0 -50%;
  }

  .nav__cta { padding: 0.85em 1.8em; }
}

/* Öffner für das Verzeichnis (mobil) */
.opener {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: -0.4rem;
  padding: 0.55rem 0.4rem;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
}

.opener__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 7px;
}

.opener__bars::before,
.opener__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out);
}

.opener__bars::before { top: 0; }
.opener__bars::after { bottom: 0; }

.opener[aria-expanded='true'] .opener__bars::before { transform: translateY(3px) rotate(45deg); }
.opener[aria-expanded='true'] .opener__bars::after { transform: translateY(-3px) rotate(-45deg); }

@media (min-width: 64rem) {
  .opener { display: none; }
}

/* --- Verzeichnis (Vollbild) ---------------------------------------------- */
.index {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--head-h) + 2rem) var(--pad) 2.5rem;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.25rem);
  /* visibility springt beim Öffnen sofort, beim Schließen erst am Ende —
     sonst lässt sich der erste Eintrag nicht fokussieren */
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
    visibility 0s linear 0.5s;
}

.index.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
    visibility 0s linear 0s;
}

.index__a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-block: clamp(0.5rem, 1.6vh, 0.9rem);
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}

.index__a:last-of-type { border-bottom: 0; }

.index__a span:first-child {
  flex: none;
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  color: var(--sand-3);
}

.index__a b {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 9vw, 2.75rem);
  font-weight: 300;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  line-height: 1.1;
}

.index__a[aria-current='page'] b { color: var(--sand); }

.index__foot {
  margin-top: clamp(1.75rem, 5vh, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9375rem;
  color: var(--sand-3);
}

body.is-locked { overflow: hidden; }

/* --- Apertur (nur Startseite) ------------------------------------------- */
.aperture {
  position: relative;
  display: grid;
  place-items: center;
  min-height: max(36rem, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.aperture__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* --open läuft beim Scrollen von 0 auf 1: der Ausschnitt öffnet sich */
  clip-path: inset(calc((1 - var(--open, 1)) * 10%) calc((1 - var(--open, 1)) * 5.5%));
  transform: scale(calc(1 + (1 - var(--open, 1)) * 0.05));
}

.aperture__media picture,
.aperture__media img {
  width: 100%;
  height: 100%;
}

.aperture__media img {
  object-fit: cover;
  object-position: 58% 50%;
}

.aperture__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: inset(calc((1 - var(--open, 1)) * 10%) calc((1 - var(--open, 1)) * 5.5%));
  background:
    radial-gradient(110% 78% at 50% 54%, rgba(20, 11, 6, 0.46) 0%, rgba(20, 11, 6, 0.14) 60%, rgba(20, 11, 6, 0) 100%),
    linear-gradient(to bottom, rgba(20, 11, 6, 0.58) 0%, rgba(20, 11, 6, 0) 22%),
    linear-gradient(to top, rgba(20, 11, 6, 0.82) 0%, rgba(20, 11, 6, 0.3) 13%, rgba(20, 11, 6, 0) 34%);
}

/* Die Rahmenlinie macht die Öffnung als Öffnung erkennbar */
.aperture__edge {
  position: absolute;
  inset: calc((1 - var(--open, 1)) * 10%) calc((1 - var(--open, 1)) * 5.5%);
  z-index: 1;
  border: 1px solid var(--line-2);
  opacity: calc(1 - var(--open, 1));
  pointer-events: none;
}

.aperture__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
  padding-block: calc(var(--head-h) + 2rem) clamp(5.5rem, 12vh, 9rem);
  text-align: center;
}

.aperture__name {
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  font-size: clamp(2.6rem, 1rem + 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 2px 48px rgba(20, 11, 6, 0.5);
}

.aperture__claim {
  max-width: 24ch;
  color: #fff;
  text-shadow: 0 2px 40px rgba(20, 11, 6, 0.55);
}

.aperture .tag {
  color: #f4e4d2;
  text-shadow: 0 1px 18px rgba(20, 11, 6, 0.85);
}

.aperture__meta {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0e2d2;
}

@media (min-width: 30rem) {
  .aperture__meta { font-size: 0.75rem; letter-spacing: 0.26em; }
}

/* Ihr eigenes Motiv: Wort über dünner Linie */
.aperture__cue {
  position: absolute;
  bottom: clamp(3.25rem, 9vh, 6rem);
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  translate: -50% 0;
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #f0e2d2;
  text-shadow: 0 1px 16px rgba(20, 11, 6, 0.8);
}

.aperture__cue span::after {
  content: '';
  display: block;
  width: 1px;
  height: 3rem;
  margin: 0.9rem auto 0;
  background: linear-gradient(to bottom, rgba(240, 226, 210, 0.9), rgba(240, 226, 210, 0));
  transform-origin: top;
  animation: sink 2.8s var(--ease) infinite;
}

.aperture__cue:hover { color: var(--sand); }

@keyframes sink {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  45% { transform: scaleY(1); opacity: 1; }
}

/* --- Kapitelkopf (alle Unterseiten) ------------------------------------- */
.head-block {
  padding-block: calc(var(--head-h) + clamp(3rem, 8vw, 7rem)) clamp(2rem, 4vw, 3.5rem);
}

.head-block__in {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 56rem) {
  .head-block__in {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .head-block__title { grid-column: 1 / 8; }
  .head-block__aside { grid-column: 8 / 13; padding-bottom: 0.6rem; }
}

.head-block__title { display: flex; flex-direction: column; gap: 0.9rem; }

/* Der Sturz: eine Sandhaarlinie, an der jede Seite aufgehängt ist */
.lintel {
  height: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.on-stone .lintel { border-top-color: var(--line-stone); }

/* --- Bildbänder --------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--ph, var(--ink-3));
}

.band img {
  width: 100%;
  height: clamp(15rem, 34vw, 30rem);
  object-fit: cover;
}

.band--tall img { height: clamp(20rem, 46vw, 40rem); }

.band__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  padding-top: 0.9rem;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-3);
}

/* Öffnungs-Erscheinen: das durchgehende Bewegungsmotiv der Seite.
   Wichtig: der Beschnitt sitzt auf dem Bild, nicht auf dem beobachteten
   Element. Ein auf null beschnittenes Element hat für den
   IntersectionObserver keine Schnittfläche — es würde nie ausgelöst. */
.js .opens img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease-out);
}

.js .opens.is-in img { clip-path: inset(0 0 0 0); }

/* --- Fließtext ---------------------------------------------------------- */
.prose {
  display: flex;
  flex-direction: column;
  gap: 1.15em;
  max-width: 36em;
  text-wrap: pretty;
}

.prose--wide { max-width: 44em; }

.prose strong {
  font-weight: 500;
  color: var(--cream);
}

.on-stone .prose strong { color: var(--stone-ink); }

.prose em { font-style: italic; }

/* Aufzählung mit Sandstrich */
.dashes {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dashes li {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  font-size: 1rem;
}

.dashes li::before {
  content: '';
  flex: none;
  width: 0.9em;
  height: 1px;
  margin-top: 0.75em;
  background: var(--sand);
  opacity: 0.8;
}

.on-stone .dashes li::before { background: var(--sand-3); }

/* --- Tafeln (Rendering-Seite) ------------------------------------------- */
.plates {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 7rem);
}

.plate {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}

@media (min-width: 56rem) {
  .plate {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  /* Wechselnder Rhythmus: breit, versetzt, schmal */
  .plate--wide .plate__fig { grid-column: 1 / 13; }
  .plate--wide .plate__cap { grid-column: 1 / 6; }

  .plate--right .plate__fig { grid-column: 5 / 13; grid-row: 1; }
  .plate--right .plate__cap { grid-column: 1 / 5; grid-row: 1; }

  .plate--left .plate__fig { grid-column: 1 / 9; grid-row: 1; }
  .plate--left .plate__cap { grid-column: 9 / 13; grid-row: 1; }
}

.plate__fig { margin: 0; }

.plate__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ph, var(--ink-3));
  cursor: zoom-in;
  overflow: hidden;
}

.plate__btn img {
  width: 100%;
  transition: transform 1.1s var(--ease-out), filter 0.8s var(--ease);
  filter: saturate(0.9) brightness(0.94);
}

.plate__btn:hover img,
.plate__btn:focus-visible img {
  transform: scale(1.024);
  filter: saturate(1.02) brightness(1);
}

/* Die Haarlinie bindet die Legende an die Oberkante des Bildes — sonst wirkt
   der leere Rand daneben nicht wie Absicht, sondern wie ein Versehen. */
.plate__cap {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.plate__no {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--sand-3);
}

.plate__name {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  color: var(--cream);
}

.plate__mats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-2);
}

.plate__mats li { white-space: nowrap; }

.plate__mats li + li::before {
  content: '·';
  margin-right: 0.8em;
  color: var(--sand-3);
}

.plate[hidden] { display: none; }

/* Materialfilter */
.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter__b {
  padding: 0.6em 1.15em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--body);
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.filter__b:hover { border-color: var(--line-2); color: var(--cream); }

.filter__b[aria-pressed='true'] {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.filter__count {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-3);
}

/* --- Materialtafel (Konzeption) ----------------------------------------- */
.matboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
}

@media (min-width: 48rem) {
  .matboard { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* Versetzte Anordnung wie auf einem echten Moodboard */
  .matboard > *:nth-child(1) { grid-column: span 2; }
  .matboard > *:nth-child(2) { grid-column: span 2; margin-top: clamp(1rem, 3vw, 2.75rem); }
  .matboard > *:nth-child(3) { grid-column: span 2; }
  .matboard > *:nth-child(4) { grid-column: span 2; margin-top: clamp(1rem, 3vw, 2.75rem); }
  .matboard > *:nth-child(5) { grid-column: span 2; }
  .matboard > *:nth-child(6) { grid-column: span 2; margin-top: clamp(1rem, 3vw, 2.75rem); }
}

.swatch { margin: 0; }

.swatch__img {
  background: var(--ph, var(--stone-2));
  overflow: hidden;
}

.swatch__img img {
  width: 100%;
  transition: transform 1.1s var(--ease-out);
}

.swatch:hover .swatch__img img { transform: scale(1.04); }

.swatch figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.75rem;
}

.swatch b {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-ink);
}

.swatch span {
  font-style: italic;
  font-size: 0.9375rem;
  color: #7b6350;
}

/* --- Ablauf (Umsetzung) ------------------------------------------------- */
.flow {
  display: flex;
  flex-direction: column;
}

.flow__step {
  display: grid;
  gap: 0.5rem var(--gap);
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  border-top: 1px solid var(--line);
}

.flow__step:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 48rem) {
  .flow__step {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.flow__no {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: var(--sand);
  padding-top: 0.45em;
}

.flow__what { display: flex; flex-direction: column; gap: 0.5rem; }

.flow__who {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9375rem;
  color: var(--sand-2);
}

.flow__who dt {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-3);
}

.flow__who dd { margin: 0; }

/* --- Haltung (Amavi) ---------------------------------------------------- */
.creed {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3rem) var(--gap);
}

@media (min-width: 44rem) {
  .creed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.creed__item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-stone);
}

.creed__item h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  color: var(--stone-ink);
}

.creed__item p { font-size: 1rem; }

/* --- Kennzahlenband ----------------------------------------------------- */
.facts {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem) var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.fact b {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 300;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--cream);
}

.fact span {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-3);
}

/* --- Kapitelkarten (Startseite) ---------------------------------------- */
.chapters {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 52rem) {
  .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: border-color 0.5s var(--ease);
}

.ch-card:hover,
.ch-card:focus-visible { border-bottom-color: var(--sand); }

.ch-card__img {
  overflow: hidden;
  background: var(--ph, var(--ink-3));
}

.ch-card__img img {
  width: 100%;
  height: clamp(11rem, 22vw, 17rem);
  object-fit: cover;
  filter: saturate(0.88) brightness(0.9);
  transition: transform 1.2s var(--ease-out), filter 0.8s var(--ease);
}

.ch-card:hover .ch-card__img img,
.ch-card:focus-visible .ch-card__img img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.ch-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.ch-card__go {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--sand);
  transition: transform 0.45s var(--ease-out);
}

.ch-card:hover .ch-card__go { transform: translate(3px, -3px); }

.ch-card p { font-size: 1rem; }

/* --- Weiter-Blatt ------------------------------------------------------- */
.turn {
  display: block;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: inherit;
}

.turn__in {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 44rem) {
  .turn__in { grid-template-columns: 1fr auto auto; }
}

.turn__txt { display: flex; flex-direction: column; gap: 0.5rem; }

.turn__name {
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.25rem);
  color: var(--cream);
  transition: color 0.45s var(--ease);
}

.turn:hover .turn__name { color: var(--sand); }

.turn__thumb {
  width: clamp(6rem, 12vw, 9.5rem);
  overflow: hidden;
  background: var(--ph, var(--ink-3));
}

.turn__thumb img {
  width: 100%;
  height: clamp(4.5rem, 9vw, 7rem);
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
  transition: transform 1.1s var(--ease-out), filter 0.7s var(--ease);
}

.turn:hover .turn__thumb img { transform: scale(1.06); filter: none; }

.turn__arrow {
  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--sand);
  transition: transform 0.5s var(--ease-out);
}

.turn:hover .turn__arrow { transform: translateX(6px); }

/* --- Formular ----------------------------------------------------------- */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 34rem) {
  .form { grid-template-columns: 1fr 1fr; }
  .f--full { grid-column: 1 / -1; }
}

.f {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.f > label {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-3);
}

.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 0.5rem 0 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.0625rem;
  appearance: none;
  transition: border-color 0.4s var(--ease);
}

.f textarea { min-height: 7rem; resize: vertical; line-height: 1.6; }

.f input:hover,
.f select:hover,
.f textarea:hover { border-bottom-color: var(--line-2); }

.f input:focus,
.f select:focus,
.f textarea:focus { outline: none; border-bottom-color: var(--sand); }

.f input:focus-visible,
.f select:focus-visible,
.f textarea:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }

.f select {
  padding-right: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c7a183' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px 6px;
  cursor: pointer;
}

.f select option { background: var(--ink); color: var(--cream); }

.f__err {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: #efa286;
}

.f.bad input,
.f.bad select,
.f.bad textarea { border-bottom-color: #efa286; }

.f--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.form__note {
  flex: 1 1 17rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--sand-3);
}

.form__state {
  grid-column: 1 / -1;
  font-size: 1rem;
  color: var(--sand);
}

.form__state:empty { display: none; }

/* --- Kontaktliste ------------------------------------------------------- */
.reach { display: flex; flex-direction: column; }

.reach > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.reach > div:last-child { border-bottom: 1px solid var(--line); }

.reach dt {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-3);
}

.reach dd {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--cream);
}

.reach a {
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.reach a:hover,
.reach a:focus-visible { color: var(--sand); border-bottom-color: var(--sand); }

/* --- Fußzeile ----------------------------------------------------------- */
.site-foot {
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-foot__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .site-foot__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.site-foot .mark__n { font-size: 1.75rem; }

.site-foot__blurb {
  margin-top: 1.25rem;
  max-width: 26ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--sand-3);
}

.site-foot h2 {
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-3);
}

.site-foot__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.site-foot__list a {
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-foot__list a:hover,
.site-foot__list a:focus-visible { color: var(--sand); border-bottom-color: var(--line-2); }

.site-foot__group + .site-foot__group { margin-top: 1.9rem; }

.channels {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.channels a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.channels a:hover,
.channels a:focus-visible {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.channels svg { width: 16px; height: 16px; fill: currentColor; }

.site-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--sand-3);
}

.site-foot__base a:hover { color: var(--sand); }

.site-foot__base--bare { margin-top: 0; border-top: 0; }

/* --- Rechtstexte -------------------------------------------------------- */
.legal { padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem); }

.legal__body {
  max-width: 40em;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.legal__body h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
}

.legal__body h3 {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-3);
}

.legal__body h2:first-child,
.legal__body h3:first-child { margin-top: 0; }

.legal__body ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1.2rem;
}

.legal__body li { list-style: '—  '; padding-left: 0.3rem; }

.legal__body .flag {
  padding: 1.15rem 1.4rem;
  border: 1px dashed var(--line-2);
  font-size: 0.9375rem;
  color: var(--sand);
}

.legal__action { margin-top: 1.25rem; }

/* Abstands-Hilfsklassen für einzelne Blöcke */
.mt-s { margin-top: 1rem; }
.mt-line { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.mt-band { margin-top: clamp(2rem, 4vw, 3.5rem); }

/* Platzhalterfarben je Bild: sichtbar, solange das Bild lädt.
   Aus den Originaldateien erzeugt — nicht von Hand pflegen. */
[data-ph="plate-salon"] { --ph: #463b2e; }
[data-ph="plate-ankleide"] { --ph: #180e08; }
[data-ph="plate-esszimmer"] { --ph: #423c2f; }
[data-ph="plate-polster"] { --ph: #3a301e; }
[data-ph="plate-stillleben"] { --ph: #3c3129; }
[data-ph="plate-poollounge"] { --ph: #373322; }
[data-ph="plate-bad"] { --ph: #554634; }
[data-ph="plate-poolhalle"] { --ph: #291f11; }
[data-ph="plate-tafel"] { --ph: #433d31; }
[data-ph="plate-schlafzimmer"] { --ph: #4d3e33; }
[data-ph="band-salon"] { --ph: #463c2e; }
[data-ph="band-ankleide"] { --ph: #160d07; }
[data-ph="band-esszimmer"] { --ph: #373425; }
[data-ph="band-polster"] { --ph: #403726; }
[data-ph="band-stillleben"] { --ph: #37281f; }
[data-ph="band-poollounge"] { --ph: #313020; }
[data-ph="band-bad"] { --ph: #5a4b38; }
[data-ph="band-poolhalle"] { --ph: #241d0f; }
[data-ph="band-tafel"] { --ph: #3e3b31; }
[data-ph="band-schlafzimmer"] { --ph: #504136; }
[data-ph="mat-kalkputz"] { --ph: #423227; }
[data-ph="mat-olivsamt"] { --ph: #5d523c; }
[data-ph="mat-travertin"] { --ph: #5e4e3c; }
[data-ph="mat-nussbaum"] { --ph: #180f08; }
[data-ph="mat-boucle"] { --ph: #3e392f; }
[data-ph="mat-fischgraet"] { --ph: #25180f; }

/* --- Lightbox ----------------------------------------------------------- */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0e0703;
  color: var(--cream);
}

.lightbox::backdrop { background: #0e0703; }

.lightbox__frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  height: 100%;
  padding: clamp(3.5rem, 7vw, 4.5rem) clamp(0.9rem, 4vw, 4rem) clamp(1.25rem, 3vw, 2rem);
}

.lightbox__slot {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.lightbox__slot picture { display: contents; }

.lightbox__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.lightbox__cap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9375rem;
}

.lightbox__cap b {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

.lightbox__cap span { font-style: italic; color: var(--sand-2); }

.lightbox__n {
  flex: none;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: var(--sand-3);
  font-variant-numeric: tabular-nums;
}

.lbx {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 11, 6, 0.6);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.lbx:hover,
.lbx:focus-visible { background: var(--sand); border-color: var(--sand); color: var(--ink); }

.lbx svg { width: 17px; height: 17px; }

.lbx--close { top: clamp(0.7rem, 2vw, 1.5rem); right: clamp(0.7rem, 2vw, 1.5rem); }
.lbx--prev { top: 50%; left: clamp(0.4rem, 2vw, 1.5rem); transform: translateY(-50%); }
.lbx--next { top: 50%; right: clamp(0.4rem, 2vw, 1.5rem); transform: translateY(-50%); }

/* --- Erscheinen --------------------------------------------------------- */
.js .rise {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .rise.is-in { opacity: 1; transform: none; }

.js .rise-set > * {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .rise-set.is-in > * { opacity: 1; transform: none; }

.js .rise-set.is-in > *:nth-child(2) { transition-delay: 0.09s; }
.js .rise-set.is-in > *:nth-child(3) { transition-delay: 0.18s; }
.js .rise-set.is-in > *:nth-child(4) { transition-delay: 0.27s; }
.js .rise-set.is-in > *:nth-child(5) { transition-delay: 0.36s; }
.js .rise-set.is-in > *:nth-child(6) { transition-delay: 0.45s; }

/* Ladeauftakt */
.js .lead-in > * {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: arrive 1.2s var(--ease-out) forwards;
}

.js .lead-in > *:nth-child(1) { animation-delay: 0.2s; }
.js .lead-in > *:nth-child(2) { animation-delay: 0.34s; }
.js .lead-in > *:nth-child(3) { animation-delay: 0.48s; }
.js .lead-in > *:nth-child(4) { animation-delay: 0.62s; }

.js .aperture__cue { opacity: 0; animation: arrive 1.2s var(--ease-out) 1s forwards; }

@keyframes arrive { to { opacity: 1; transform: none; } }

/* --- Bewegung reduzieren ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .rise,
  .js .rise-set > *,
  .js .lead-in > *,
  .js .aperture__cue { opacity: 1; transform: none; }

  .js .opens { clip-path: none; }

  .aperture__media,
  .aperture__scrim { clip-path: none; transform: none; }

  .aperture__edge { opacity: 0; }

  .plate__btn img,
  .plate__btn:hover img,
  .swatch:hover .swatch__img img,
  .ch-card:hover .ch-card__img img,
  .turn:hover .turn__thumb img { transform: none; }

  .turn:hover .turn__arrow,
  .ch-card:hover .ch-card__go { transform: none; }
}

/* --- Druck -------------------------------------------------------------- */
@media print {
  .site-head, .index, .opener, .aperture__cue, .lightbox, .skip, .turn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .chapter, .site-foot, .on-stone, .on-deep { background: #fff; }
  h1, h2, h3, .lead, .said, .plate__name { color: #000; }
}
