/* ═══════════════════════════════════════════════════════════════════════
   Lab J · Designsystem (Runde 4, 16.10.2026)
   Referenz: „Wie ein Duft entsteht“ (#making). Tiefes Anthrazit als Grundton,
   warme helle Schrift, Champagnergold sparsam, Elfenbein nur für ausgewählte
   redaktionelle Flächen (data-tone="ivory", Rechtstexte).
   Diese Datei wird als letzte geladen. Sie legt die Tokens fest und ordnet die
   älteren Variablennamen (--bg, --ink, --line …) darauf ab, damit alle
   bestehenden Bausteine dieselben Rollen nutzen. Neue Regeln nur mit Zweck.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;

  /* Flächen */
  --ds-surface: #1e160f;          /* tiefes Mocha-Anthrazit */
  --ds-surface-2: #2a2018;        /* warme Leisten und Kopfzeile */
  --ds-surface-3: #3a2c20;        /* Mocha-Anthrazit: Karten, Dialoge */
  --ds-surface-4: #5b4632;        /* warme Hover- und aktive Flächen */
  --ds-ivory: #f3eee3;            /* Elfenbein für Lesetexte */
  --ds-ivory-2: #e8e1d1;

  /* Schrift auf Anthrazit */
  --ds-text: #f6f0e4;
  --ds-text-2: rgba(246, 240, 228, 0.9);
  --ds-text-3: rgba(246, 240, 228, 0.76);
  /* Schrift auf Elfenbein */
  --ds-ink: #1b1c20;
  --ds-ink-2: #3a3b40;
  --ds-ink-3: #57575c;

  /* Akzent Champagnergold */
  --ds-gold: #d8b875;
  --ds-gold-strong: #f4d9a0;
  --ds-gold-deep: #6f5019;        /* Gold als Schrift auf Elfenbein (Kontrast ≥ 4,5) */
  --ds-gold-line: rgba(210, 183, 127, 0.42);
  /* Warme Editorial-Akzente: nur als Rollen, nicht als Filter über Bilder. */
  --ds-mocha: #5b4636;
  --ds-champagne: #f4d9a0;
  --ds-burnt-amber: #c8792c;

  /* Linien */
  --ds-line: rgba(244, 217, 160, 0.18);
  --ds-line-2: rgba(244, 217, 160, 0.32);

  /* Schriftfamilien und ihre Aufgaben:
     Inter Tight = Überschriften, Inter = Fließtext und Bedienung,
     Instrument Serif = Wortmarke und redaktionelle Zitate/Akzente. */
  --ds-font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --ds-font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ds-font-serif: 'Instrument Serif', Georgia, serif;

  /* Schriftgrößen (Rollen) */
  --ds-fs-display: clamp(46px, 7.6vw, 116px);   /* Seitentitel */
  --ds-fs-h2: clamp(32px, 4.4vw, 68px);         /* Abschnittstitel */
  --ds-fs-h3: clamp(22px, 1.9vw, 28px);         /* Karten- und Zeilentitel */
  --ds-fs-h4: 19px;                             /* kleine Zwischentitel */
  --ds-fs-lead: clamp(19px, 1.45vw, 22px);      /* Einleitung unter Titeln */
  --ds-fs-text: 18px;                           /* Fließtext */
  --ds-fs-small: 16px;                          /* Kartentext, Hinweise */
  --ds-fs-meta: 15px;                           /* Datum, Zähler, Quellen */
  --ds-fs-label: 13.5px;                         /* Augenbraue in Versalien */
  --ds-fs-control: 16px;                        /* Knöpfe, Chips */
  --ds-fs-input: 16px;                          /* Formulare: iOS zoomt unter 16 px */

  /* Zeilenhöhen */
  --ds-lh-display: 0.98;
  --ds-lh-head: 1.06;
  --ds-lh-lead: 1.55;
  --ds-lh-text: 1.62;
  --ds-lh-small: 1.5;

  /* Abstände */
  --ds-space-1: 4px;  --ds-space-2: 8px;  --ds-space-3: 12px; --ds-space-4: 16px;
  --ds-space-5: 24px; --ds-space-6: 32px; --ds-space-7: 48px; --ds-space-8: 64px;
  --ds-space-section: clamp(88px, 10vw, 150px);
  --ds-pad-card: clamp(20px, 2vw, 28px);

  /* Breiten */
  --ds-maxw: 1480px;
  --ds-measure: 64ch;

  /* Rahmen, Rundungen, Schatten */
  --ds-border: 1px solid var(--ds-line);
  --ds-radius-s: 12px;
  --ds-radius: 20px;
  --ds-radius-l: 28px;
  --ds-radius-pill: 999px;
  --ds-shadow-1: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 44px -26px rgba(0, 0, 0, 0.65);
  --ds-shadow-2: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 34px 70px -32px rgba(0, 0, 0, 0.75);

  /* Bewegung */
  --ds-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ds-dur-fast: 180ms;
  --ds-dur: 320ms;
  --ds-dur-slow: 460ms;

  /* ── Ältere Namen auf die Rollen abbilden (Standard = Anthrazit) ── */
  --bg: var(--ds-surface); --bg-2: var(--ds-surface-2);
  --ink: var(--ds-text); --ink-2: var(--ds-text-2); --ink-3: var(--ds-text-3);
  --line: var(--ds-line); --line-2: var(--ds-line-2);
  --gold: #b8964f; --gold-ink: var(--ds-gold-strong); --gold-soft: var(--ds-gold);
  --pearl: var(--ds-surface-3); --on-ink: #1e160f;
  --dark: var(--ds-surface); --dark-2: var(--ds-surface-2);
  --dark-text: var(--ds-text); --dark-text-soft: var(--ds-text-2);
  --dark-line: var(--ds-line); --dark-line-2: var(--ds-line-2);
  --glass: linear-gradient(162deg, rgba(58, 43, 32, 0.9) 0%, rgba(36, 28, 24, 0.88) 100%);
  --glass-solid: linear-gradient(162deg, rgba(48, 36, 29, 0.98) 0%, rgba(29, 23, 20, 0.97) 100%);
  --shadow-1: var(--ds-shadow-1); --shadow-2: var(--ds-shadow-2);
  --ease: var(--ds-ease); --ease-out: var(--ds-ease);
  --motion-fast: var(--ds-dur-fast); --motion-base: var(--ds-dur); --motion-slow: var(--ds-dur-slow);
  --r: var(--ds-radius); --r-lg: var(--ds-radius-l);
  --maxw: var(--ds-maxw);
  --fs-display: var(--ds-fs-display); --fs-h1: var(--ds-fs-display); --fs-h2: var(--ds-fs-h2); --fs-h3: var(--ds-fs-h3);
  --fs-lead: var(--ds-fs-lead); --fs-text: var(--ds-fs-text); --fs-label: var(--ds-fs-label); --fs-meta: var(--ds-fs-meta);
  --lh-head: var(--ds-lh-head); --lh-lead: var(--ds-lh-lead); --lh-text: var(--ds-lh-text);
  --measure: var(--ds-measure);
  --text: var(--ink); --muted: var(--ink-3); --border: var(--line); --hair: var(--line); --hair-strong: var(--line-2);
}
@media (max-width: 600px) {
  :root {
    --ds-fs-text: 17.5px;
    --ds-fs-small: 16px;
    --ds-fs-lead: 18.5px;
    --ds-lh-text: 1.6;
    --ds-space-section: clamp(72px, 18vw, 96px);
    --ds-pad-card: 20px;
  }
}

/* Elfenbein: Lesetexte und ausdrücklich markierte Abschnitte */
.ed-light, .band-light, [data-tone="ivory"] {
  --bg: var(--ds-ivory); --bg-2: var(--ds-ivory-2);
  --ink: var(--ds-ink); --ink-2: var(--ds-ink-2); --ink-3: var(--ds-ink-3);
  --line: rgba(27, 28, 32, 0.12); --line-2: rgba(27, 28, 32, 0.24);
  --gold-ink: var(--ds-gold-deep); --gold-soft: var(--ds-gold-deep);
  --pearl: #faf7f0; --on-ink: #fff;
  --glass: linear-gradient(162deg, rgba(255, 255, 255, 0.78) 0%, rgba(250, 247, 240, 0.66) 100%);
  --glass-solid: linear-gradient(162deg, #fffdf8 0%, #f8f4ea 100%);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 20px 50px -34px rgba(40, 32, 18, 0.28);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 34px 80px -44px rgba(40, 32, 18, 0.34);
  color: var(--ink);
}

/* ── Grundfläche ── */
html { background: var(--ds-surface); }
body {
  background:
    radial-gradient(900px 520px at 88% 2%, rgba(200, 121, 44, 0.12), transparent 68%),
    radial-gradient(720px 460px at 8% 42%, rgba(91, 70, 54, 0.18), transparent 72%),
    var(--ds-surface);
  color: var(--ds-text);
  font-family: var(--ds-font-text); font-size: var(--ds-fs-text); line-height: var(--ds-lh-text);
}
::selection { background: rgba(210, 183, 127, 0.32); color: inherit; }
:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
[data-tone="ivory"] :focus-visible, .band-light :focus-visible, .ed-light :focus-visible { outline-color: var(--ds-ink); }
.v2-bg {
  background:
    radial-gradient(1000px 560px at 72% 10%, rgba(200, 121, 44, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(91, 70, 54, 0.12), transparent 32%),
    var(--ds-surface);
}
/* Große, dauerhaft bewegte Pastellverläufe passen nicht zum ruhigen Anthrazit */
.v2-blob { display: none; }

/* ── Kopfzeile: immer Anthrazit, beim Scrollen leicht durchscheinend ── */
header, header.is-on-dark {
  --ink: var(--ds-text); --ink-2: var(--ds-text-2); --ink-3: var(--ds-text-3);
  --line: var(--ds-line); --line-2: var(--ds-line-2);
  color: var(--ds-text);
  background: linear-gradient(180deg, rgba(58, 42, 30, 0.92), rgba(58, 42, 30, 0.78));
}
header.is-scrolled, header.is-on-dark.is-scrolled {
  background: rgba(58, 42, 30, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--ds-line);
}
header .logo-main, header .nav-group-btn, header .nav-link, header .lang-btn, header .v2-icon-btn { color: var(--ds-text); }
header .v2-burger span, header .v2-burger span::before, header .v2-burger span::after { background: var(--ds-text); }
header .v2-coll-btn { background: transparent; color: var(--ds-text); border: 1px solid var(--ds-gold-line); }
header .v2-coll-btn:hover { background: rgba(210, 183, 127, 0.12); }

/* ── Typografische Rollen ── */
.page-title,
section.page:not(#home) > .page-title {
  font-family: var(--ds-font-head); font-weight: 250; text-transform: uppercase;
  font-size: var(--ds-fs-display); line-height: var(--ds-lh-display); letter-spacing: -0.012em;
  color: var(--ds-text);
}
.page-sub,
section.page:not(#home) > .page-sub {
  font-size: var(--ds-fs-lead); line-height: var(--ds-lh-lead); color: var(--ds-text-2); max-width: 60ch;
}
section.page:not(#home) > .page-sub a { color: var(--ds-gold-strong); }
.page-sub::before { background: var(--ds-gold-line); }
.ed-h { font-family: var(--ds-font-head); font-weight: 250; letter-spacing: -0.01em; }
.ed-h.ed-h--xl { font-size: var(--ds-fs-display); line-height: var(--ds-lh-display); }
.ed-h.ed-h--lg, .section-head { font-size: var(--ds-fs-h2); line-height: var(--ds-lh-head); }
.ed-h.ed-h--md { font-size: clamp(26px, 2.6vw, 40px); line-height: var(--ds-lh-head); }
.section-head { font-family: var(--ds-font-head); font-weight: 250; text-transform: uppercase; letter-spacing: -0.01em; }
.section-note { font-size: var(--ds-fs-text); line-height: var(--ds-lh-text); color: var(--ink-2); max-width: var(--ds-measure); }
.ed-eyebrow, .eyebrow, .v2-eyebrow {
  font-family: var(--ds-font-text); font-size: var(--ds-fs-label); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink);
}
.ed-dark .ed-eyebrow { color: var(--ds-gold); }
p { text-wrap: pretty; }

/* ── Knöpfe: eine Familie ── */
.ed-pill, .wz-btn, .jump-link, .hyper-button {
  font-family: var(--ds-font-text); font-size: var(--ds-fs-control); font-weight: 600; letter-spacing: 0;
  min-height: 46px; border-radius: var(--ds-radius-pill);
  transition: background var(--ds-dur) var(--ds-ease), color var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), transform var(--ds-dur) var(--ds-ease);
}
.ed-pill--primary { background: var(--ds-gold); color: #1d1608; border-color: transparent; box-shadow: none; }
.ed-pill--primary:hover { background: var(--ds-gold-strong); transform: translateY(-1px); box-shadow: none; }
.ed-pill--ghost, .wz-btn {
  background: transparent; color: var(--ink); border: 1px solid var(--line-2);
}
.ed-pill--ghost:hover, .wz-btn:hover { border-color: var(--ds-gold); color: var(--ink); background: rgba(210, 183, 127, 0.08); }
.wz-btn--warn { color: #f0a49b; border-color: rgba(240, 164, 155, 0.4); }
[data-tone="ivory"] .wz-btn--warn, .band-light .wz-btn--warn { color: #8c2a24; border-color: rgba(140, 42, 36, 0.35); }

/* ── Chips und Filter: eine Familie ── */
.chip, .nose-chip, .brand-tag, .cat-item, .note-chip, button.note-chip, .arc-tag, .reg-letter, .net-reset, .ed-note-chip {
  font-family: var(--ds-font-text); font-size: var(--ds-fs-control);
  border-radius: var(--ds-radius-pill); background: transparent; color: var(--ink-2); border: 1px solid var(--line-2);
  transition: background var(--ds-dur-fast) var(--ds-ease), color var(--ds-dur-fast) var(--ds-ease), border-color var(--ds-dur-fast) var(--ds-ease);
}
:is(.chip, .nose-chip, .brand-tag, .cat-item, .note-chip, .arc-tag, .reg-letter, .net-reset, .ed-note-chip):hover {
  background: rgba(242, 237, 227, 0.07); color: var(--ink); border-color: var(--ds-gold-line); transform: none;
}
:is(.chip, .reg-letter, .v2-coll-btn).active, .chip[aria-pressed="true"] {
  background: var(--ds-text); color: #1e160f; border-color: var(--ds-text);
}
[data-tone="ivory"] :is(.chip, .reg-letter).active, .band-light :is(.chip, .reg-letter).active { background: var(--ds-ink); color: #fff; border-color: var(--ds-ink); }

/* ── Eingabefelder und Auswahllisten (iOS: mindestens 16 px) ── */
input[type="search"], input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input:not([type]),
select, textarea, .wz-input {
  font-family: var(--ds-font-text); font-size: max(16px, var(--ds-fs-input));
  color: var(--ink); background: rgba(242, 237, 227, 0.05); border: 1px solid var(--line-2); border-radius: var(--ds-radius-s);
}
:is(input, select, textarea, .wz-input)::placeholder { color: var(--ink-3); opacity: 1; }
:is(input, select, textarea, .wz-input):focus { outline: none; border-color: var(--ds-gold); background: rgba(242, 237, 227, 0.08); box-shadow: 0 0 0 3px rgba(210, 183, 127, 0.18); }
select option { background: var(--ds-surface-3); color: var(--ds-text); }
[data-tone="ivory"] :is(input, select, textarea), .band-light :is(input, select, textarea) { background: #fffdf8; }
[data-tone="ivory"] select option, .band-light select option { background: #fffdf8; color: var(--ds-ink); }

/* ── Kacheln und Karten: gemeinsame Gestaltung ── */
.coll-tile, .arc-card, .note-cat, .family-card, .v2-news-item, .story-panel, .kpi, .w-panel, .portrait-facts, .portrait-scent, .v2-glass {
  border-radius: var(--ds-radius-l);
  background: var(--ds-surface-3);
  border: 1px solid var(--ds-line);
  box-shadow: var(--ds-shadow-1);
  color: var(--ink);
}
[data-tone="ivory"] :is(.coll-tile, .arc-card, .note-cat, .family-card, .v2-news-item, .story-panel, .kpi),
.ds-paper :is(.coll-tile, .arc-card, .note-cat, .family-card, .v2-news-item, .story-panel, .kpi),
.band-light :is(.coll-tile, .arc-card, .note-cat, .family-card, .v2-news-item, .story-panel, .kpi) {
  background: #fffdf8; border-color: rgba(27, 28, 32, 0.1); box-shadow: 0 18px 44px -34px rgba(40, 32, 18, 0.3);
}
:is(.coll-tile, .arc-card, .note-cat, .family-card, .v2-news-item):hover { border-color: var(--ds-gold-line); }
:is(.coll-tile, .arc-card, .note-cat, .family-card) h3 { font-family: var(--ds-font-head); font-size: var(--ds-fs-h3); line-height: 1.12; letter-spacing: -0.015em; }
:is(.coll-tile, .arc-card, .note-cat, .family-card, .v2-news-item) p { font-size: var(--ds-fs-small); line-height: var(--ds-lh-small); }
/* Der weiße Glanzrand älterer Karten gehört zum hellen Thema */
.modal-box::before, .w-panel::before, .w-row::before, .arc-card::before, .family-card::before, .portrait-facts::before, .portrait-scent::before, .v2-glass::before { opacity: 0.18; }

/* ── Dialoge ── */
.modal { background: rgba(8, 9, 12, 0.62); }
.modal-box {
  background: var(--ds-surface-3); color: var(--ds-text); border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-l); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8);
  --ink: var(--ds-text); --ink-2: var(--ds-text-2); --ink-3: var(--ds-text-3); --line: var(--ds-line); --line-2: var(--ds-line-2);
}
.modal-close { background: var(--ds-surface-4); color: var(--ds-text); border: 1px solid var(--ds-line-2); }
.modal-close:hover { background: var(--ds-surface-4); border-color: var(--ds-gold); }

/* ── Startseite: alle Abschnitte auf demselben Grund, ruhige Abstände, keine Bildschirmkacheln ── */
#home > section.ed-dark:not(.v2-hero) {
  background: none; border-radius: 0;
  padding-top: var(--ds-space-section); padding-bottom: var(--ds-space-section);
}
#home > .v2-hero + section { background: linear-gradient(180deg, var(--ds-surface) 0, rgba(58, 42, 30, 0) 220px); }
/* Elfenbein-Abschnitt auf der Startseite: weiche Ränder, Schrift liegt immer auf voller Fläche */
#home > section.ed-light:not(.v2-hero) {
  background: linear-gradient(180deg, rgba(243, 238, 227, 0) 0, var(--ds-ivory) 120px, var(--ds-ivory) calc(100% - 120px), rgba(243, 238, 227, 0) 100%);
  padding-top: calc(var(--ds-space-section) + 40px); padding-bottom: calc(var(--ds-space-section) + 40px);
  border-radius: 0;
}

/* ── Unterseiten: Grund durchgehend Anthrazit, Gold nur als leiser Schein am Kopf ── */
section.page:not(#home)::before {
  background: radial-gradient(90% 700px at 85% 0, rgba(184, 150, 79, 0.10), rgba(184, 150, 79, 0) 70%), var(--ds-surface);
  box-shadow: none;
}
section.page:not(#home).has-bands::before {
  background: radial-gradient(90% 700px at 85% 0, rgba(184, 150, 79, 0.10), rgba(184, 150, 79, 0) 70%), var(--bands);
}
.band-dark {
  --glass: linear-gradient(162deg, rgba(38, 42, 51, 0.86) 0%, rgba(28, 31, 39, 0.78) 100%);
  --glass-solid: linear-gradient(162deg, rgba(34, 38, 47, 0.97) 0%, rgba(26, 29, 37, 0.95) 100%);
  --pearl: var(--ds-surface-3); --bg: var(--ds-surface); --bg-2: var(--ds-surface-2); --gold-ink: var(--ds-gold-strong);
}
/* Elfenbein-Verlauf der Bänder: --bands nutzt rgba(17,19,25,0) als „hell“; darunter liegt diese Fläche */
section.page[data-band-single]:not(#home) { background: none; }

/* ── Fußzeile ── */
footer { background: var(--ds-surface); color: var(--ds-text-2); border-top: 1px solid var(--ds-line); }

/* ═══ Ältere Ebenen vereinheitlichen ═══════════════════════════════════
   v2.css enthält eine feste helle Kopfzeile (body header … #f8f7f3) und eine
   „Kupfer“-Ebene (#c66d38/#321d17, Braun-Verläufe auf Knöpfen und Karten).
   Beides weicht vom Grundton ab und wird hier mit gleicher oder höherer
   Spezifität auf die Rollen zurückgeführt. */
html body header, html body header.is-scrolled, html body.on-home header {
  --ink: var(--ds-text); --ink-2: var(--ds-text-2); --ink-3: var(--ds-text-3);
  --line: var(--ds-line); --line-2: var(--ds-line-2);
  background: rgba(58, 42, 30, 0.9); color: var(--ds-text);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 1px 0 var(--ds-line);
}
html body header .nav-menu { background: var(--ds-surface-2); color: var(--ds-text); border: 1px solid var(--ds-line); }
html body header .nav-menu .nav-link { color: var(--ds-text-2); text-shadow: none; }
html body header .nav-menu .nav-link:hover, html body header .nav-menu .nav-link.active { color: var(--ds-gold-strong); }
html body header .nav-link.v2-coll-btn, html body header .nav-link.v2-coll-btn:hover { background: transparent; color: var(--ds-text); border: 1px solid var(--ds-gold-line); }
html body header .nav-link.v2-coll-btn:hover { background: rgba(210, 183, 127, 0.12); }
@media (max-width: 1100px) {
  html body.menu-open nav { background: rgba(58, 42, 30, 0.97); }
}
.v2-search { background: rgba(14, 16, 20, 0.94); }
.arc-letters { background: rgba(58, 42, 30, 0.88); box-shadow: 0 1px 0 var(--ds-line); }

/* Knöpfe und Chips ohne Kupfer */
.ed-pill { box-shadow: none; text-shadow: none; }
.ed-pill--primary { background: var(--ds-gold); color: #1d1608; }
.ed-pill--ghost, body .ed-pill--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.chip, .nose-chip, .brand-tag, .cat-item, .v2-coll-btn { border-color: var(--line-2); }
.chip.active, .v2-coll-btn.active { color: #1e160f; }
.jump-link:hover, .brand-link:hover, .news-source:hover, .shop-link:hover { text-decoration-color: var(--ds-gold); }
.jump-link { color: var(--ds-gold-strong); }
body .hf-snd:hover, body .hf-snd.is-on { background: var(--ds-surface-4); color: var(--ds-text); }
.search-bar input, input[type="search"], input[type="text"], input[type="email"], textarea, select { border-color: var(--line-2); }
.search-bar input:focus, input[type="search"]:focus, input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  border-color: var(--ds-gold); box-shadow: 0 0 0 3px rgba(210, 183, 127, 0.18);
}
.modal-box { box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8); }
.modal-close { border-color: var(--ds-line-2); color: var(--ds-text); }

/* Karten: gemeinsame Anthrazit-Fläche statt Braunverlauf (Bilder behalten ihre Farben) */
.story-panel, .news-item, .v2-news-item, .kpi, .chart, .portrait-facts, .portrait-scent, .advisor-result-card,
body .story-panel { background: var(--ds-surface-3); box-shadow: var(--ds-shadow-1); }
.kpi:hover, .chart:hover, .brand-card:hover, .perfumer-card:hover { box-shadow: var(--ds-shadow-2); }
.coll-tile { background: linear-gradient(180deg, var(--ds-surface-3), #191c23); }
.note-front, .rv-front, .family-card--photo.rv .rv-front {
  color: var(--ds-text);
  background: linear-gradient(165deg, #232831 0%, #171a20 100%);
  border-color: var(--ds-line);
}
.note-back, .rv-back {
  color: var(--ds-text);
  background: linear-gradient(165deg, #20242c 0%, #1e160f 100%);
  border-color: var(--ds-gold-line);
}
.rv-back a, .rv-back button { color: var(--ds-gold-strong); }

/* body-Ebene in v2.css (Kupfer/Braun) zurückführen */
html body .ed-pill--primary { color: #1d1608; background: var(--ds-gold); }
html body .ed-pill--primary:hover { color: #1d1608; background: var(--ds-gold-strong); }
html body .ed-pill--ghost { color: var(--ink); background: transparent; border: 1px solid var(--line-2); }
html body .ed-pill--ghost:hover { color: var(--ink); background: rgba(210, 183, 127, 0.1); border-color: var(--ds-gold); }
html body .story-panel { background: var(--ds-surface-3); }
html body :is(.story-panel .story-eyebrow, .collection-galaxy .ed-eyebrow, .mk-card .mk-k, .jr-step .ed-eyebrow) { color: var(--ds-gold); }
html body .hf-snd { background: rgba(58, 42, 30, 0.86); color: var(--ds-text); border: 1px solid var(--ds-line-2); }
html body .lj-load-pct { color: var(--ds-text); background: var(--ds-surface-3); }
html body :is(.ed-dark, .ed-light) .ed-note-chip { background: transparent; color: var(--ink); border-color: var(--line-2); }
html body :is(.ed-dark, .ed-light) .ed-note-chip:hover { background: rgba(210, 183, 127, 0.1); color: var(--ink); border-color: var(--ds-gold); }
html body .ds-paper .v2-news-item { --ink: var(--ds-ink); --ink-2: var(--ds-ink-2); --ink-3: var(--ds-ink-3); color: var(--ds-ink); }
html body .ds-paper .v2-news-item h3 { background: none; -webkit-text-fill-color: var(--ds-ink); color: var(--ds-ink); }
html body .ds-paper .v2-news-item :is(time, p) { color: var(--ds-ink-2); }
html body .ds-paper .v2-news-src a { color: var(--ds-gold-deep); }

/* Elfenbein-Papier: Lesetexte als ruhige, abgesetzte Fläche statt vollflächigem Verlauf */
/* Werkzeuge (Heute, Vergleich, Notensuche, Tagebuch, DNA) arbeiten auf derselben Papierfläche */
.ds-paper, .ds-paper.band-dark, .ds-paper .band-dark, #home > section.ds-paper.ed-dark:not(.v2-hero), .wz-panel, .hc-panel, .band-dark .wz-panel, .band-dark .hc-panel {
  --bg: var(--ds-ivory); --bg-2: var(--ds-ivory-2);
  --ink: var(--ds-ink); --ink-2: var(--ds-ink-2); --ink-3: var(--ds-ink-3);
  --line: rgba(27, 28, 32, 0.12); --line-2: rgba(27, 28, 32, 0.24);
  --gold-ink: var(--ds-gold-deep); --gold-soft: var(--ds-gold-deep); --on-ink: #fff;
  --glass: linear-gradient(162deg, #fffdf8 0%, #f8f4ea 100%); --glass-solid: linear-gradient(162deg, #fffdf8 0%, #f8f4ea 100%);
  --shadow-1: 0 18px 44px -34px rgba(40, 32, 18, 0.3); --shadow-2: 0 30px 70px -40px rgba(40, 32, 18, 0.34);
  background: var(--ds-ivory); color: var(--ds-ink);
  border-radius: var(--ds-radius-l);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.7);
}
.ds-paper :is(h1, h2, h3, h4), .ds-paper.band-dark :is(h2, h3, .section-head), .ds-paper .band-dark:is(h2, h3, p, ul, li), :is(.wz-panel, .hc-panel) :is(h2, h3, h4) { color: var(--ds-ink); }
:is(.wz-panel, .hc-panel) { border-color: rgba(27, 28, 32, 0.1); box-shadow: 0 30px 70px -44px rgba(0, 0, 0, 0.7); }
/* Berater-Ergebnisse (Was trage ich heute?) liegen als weiße Karten auf dunklem Grund und erbten dort helle Schrift:
   dunkle Farbwerte an der Karte selbst festlegen (28.10.2026, Kontrast ≥ 4,5:1). */
html body .hc-res { --ink: var(--ds-ink); --ink-2: var(--ds-ink-2); --ink-3: var(--ds-ink-3); --gold-ink: var(--ds-gold-deep); --line: rgba(27, 28, 32, 0.12); --line-2: rgba(27, 28, 32, 0.24); color: var(--ds-ink); }
html body .hc-res :is(h3, small, p, li, dt, dd, span, figcaption):not(.hc-tag) { color: inherit; }
html body .hc-res :is(h3, .hc-score b, .hc-notes dt) { color: var(--ds-ink); }
html body .hc-res :is(small, .hc-fam, .hc-score, .hc-why--neg, .hc-notes, .hc-src, .hc-sig-cap) { color: var(--ds-ink-2); }
html body .hc-res .hc-fam em { color: var(--ds-gold-deep); }
html body .hc-res .hc-back { color: var(--ds-ink); border-color: rgba(27, 28, 32, 0.28); }
.ds-paper a { color: var(--ds-gold-deep); }
.ds-paper :focus-visible { outline-color: var(--ds-ink); }
#home > section.ds-paper.ed-dark:not(.v2-hero) {
  width: min(var(--ds-maxw), calc(100% - 2 * var(--gutter)));
  margin: var(--ds-space-7) auto;
  padding: clamp(40px, 6vw, 88px) clamp(22px, 5vw, 72px);
}
.ds-paper .band-dark { background: none; box-shadow: none; border-radius: 0; color: var(--ds-ink-2); }
.legal.ds-paper { padding: clamp(28px, 5vw, 72px); max-width: 980px; }

/* Lange Einzelwörter in Seitentiteln (z. B. „Datenschutzerklärung“) brechen statt abgeschnitten zu werden */
.page-title { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }

@media (prefers-reduced-motion: reduce) {
  .ed-pill, .wz-btn, .chip, .coll-tile, .arc-card, .note-cat { transition: none; }
}

/* ═══ Olfaktorischer Index: animiertes Duftverzeichnis (Startseite) ═══
   Zeilen mit feinen Trennlinien, transparentes Materialbild, Öffnen per Knopf.
   Bewegung nur beim Öffnen/Schließen (Höhe, Deckkraft, Transform; 380–460 ms). */
.ed-index .v2-areas.ix { display: block; perspective: none; margin-top: var(--ds-space-7); }
.ix-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ds-line); counter-reset: none; }
.ix-row { border-bottom: 1px solid var(--ds-line); position: relative; }
.ix-head { margin: 0; font: inherit; }
.ix-toggle {
  position: relative; width: 100%; display: grid; align-items: center;
  grid-template-columns: 3.2ch minmax(0, 1fr) minmax(0, 1.05fr) 112px 46px; column-gap: clamp(16px, 2.4vw, 40px);
  min-height: 112px; padding: 18px 4px; text-align: left; cursor: pointer;
  background: none; border: 0; color: var(--ds-text); font: inherit; -webkit-tap-highlight-color: transparent;
}
.ix-toggle::before { /* leiser Goldschein beim Darüberfahren und im offenen Zustand */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(210, 183, 127, 0) 0%, rgba(210, 183, 127, 0.07) 55%, rgba(210, 183, 127, 0) 100%);
  transition: opacity var(--ds-dur) var(--ds-ease);
}
.ix-toggle:hover::before, .ix-row.is-open .ix-toggle::before { opacity: 1; }
.ix-toggle:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: -2px; border-radius: 6px; }
.ix-num { font-family: var(--ds-font-text); font-size: var(--ds-fs-meta); font-weight: 500; letter-spacing: 0.08em; color: var(--ds-gold); font-variant-numeric: tabular-nums; }
.ix-name {
  font-family: var(--ds-font-head); font-weight: 250; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(28px, 3.1vw, 48px); line-height: 1.02; color: var(--ds-text);
  transition: transform var(--ds-dur-slow) var(--ds-ease), color var(--ds-dur) var(--ds-ease);
}
.ix-toggle:hover .ix-name, .ix-row.is-open .ix-name { transform: translateX(6px); color: var(--ds-gold-strong); }
.ix-teaser { font-size: var(--ds-fs-small); line-height: var(--ds-lh-small); color: var(--ds-text-2); max-width: 42ch; }
.ix-art { width: 112px; height: 96px; display: grid; place-items: center; }
.ix-art img {
  width: 104px; height: 104px; object-fit: contain; opacity: 0.82;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
  transform: scale(0.9) rotate(0deg); transition: transform var(--ds-dur-slow) var(--ds-ease), opacity var(--ds-dur) var(--ds-ease);
}
.ix-toggle:hover .ix-art img { opacity: 1; transform: scale(0.98) rotate(-4deg); }
.ix-row.is-open .ix-art img { opacity: 1; transform: scale(1.06) rotate(-6deg); }
.ix-plus { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ds-line-2); justify-self: end;
  transition: transform var(--ds-dur-slow) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), background var(--ds-dur) var(--ds-ease); }
.ix-plus::before, .ix-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; border-radius: 1px; }
.ix-plus::after { transform: rotate(90deg); }
.ix-toggle:hover .ix-plus { border-color: var(--ds-gold); }
.ix-row.is-open .ix-plus { transform: rotate(45deg); background: var(--ds-gold); border-color: var(--ds-gold); color: #1d1608; }
.ix-panel { overflow: hidden; transition: height 420ms var(--ds-ease); }
.ix-panel-in {
  padding: 4px 4px clamp(26px, 3vw, 40px) calc(3.2ch + clamp(16px, 2.4vw, 40px) + 4px);
  display: grid; gap: 20px; max-width: 980px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 360ms var(--ds-ease) 60ms, transform 420ms var(--ds-ease) 40ms;
}
.ix-row.is-open .ix-panel-in { opacity: 1; transform: none; }
.ix-detail { font-size: var(--ds-fs-text); line-height: var(--ds-lh-text); color: var(--ds-text-2); max-width: var(--ds-measure); margin: 0; }
.ix-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ix-links .ed-pill { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; }

@media (max-width: 760px) {
  .ix-toggle {
    grid-template-columns: 2.6ch minmax(0, 1fr) 60px 44px; grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 6px; min-height: 96px; padding: 18px 0;
  }
  .ix-num { grid-row: 1; align-self: start; padding-top: 0.4em; }
  .ix-name { grid-column: 2; grid-row: 1; font-size: clamp(22px, 6.6vw, 28px); overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
  .ix-teaser { grid-column: 2; grid-row: 2; font-size: 15.5px; }
  .ix-art { grid-column: 3; grid-row: 1 / span 2; width: 60px; height: 60px; }
  .ix-art img { width: 60px; height: 60px; }
  .ix-plus { grid-column: 4; grid-row: 1 / span 2; width: 44px; height: 44px; }
  .ix-panel-in { padding-left: 0; padding-right: 0; }
  .ix-toggle:hover .ix-name, .ix-row.is-open .ix-name { transform: none; }
}

/* Gemeinsame, sehr zurückhaltende Filmbewegung der Motion-Regie. */
html body .motion-cinema::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  border-top: 1px solid rgba(226, 193, 118, .28);
  border-bottom: 1px solid rgba(226, 193, 118, .14);
  mix-blend-mode: screen;
}
html body .motion-cinema .lj-bgfilm-ui,
html body .motion-cinema .lj-bgfilm-ai { transition: opacity var(--ds-dur, 360ms) ease, transform var(--ds-dur, 360ms) ease; }
html body .motion-cinema:hover .lj-bgfilm-ui { transform: translateY(-2px); }
html body .shop-card { overflow: hidden; }
html body .shop-visual { margin: -34px -28px 26px; aspect-ratio: 16 / 9; background: #0d1015; overflow: hidden; }
html body .shop-visual img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .88; transition: transform var(--ds-dur-slow, 720ms) var(--ds-ease, cubic-bezier(.2,.8,.2,1)), opacity var(--ds-dur, 360ms) ease; }
html body .shop-card:hover .shop-visual img { transform: scale(1.035); opacity: 1; }
html body .shop-contact { margin: -4px 0 16px; font-size: 15px; color: var(--ds-text-2); }
html body .shop-contact a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--ds-line); }
html body .shop-contact a:hover { color: var(--ds-gold-strong); border-color: var(--ds-gold); }
/* Finale Farbrolle fuer dunkle Erlebnisflaechen: kein kuehles Blau-Grau mehr. */
html body .band-dark,
html body #home > section.ed-dark,
html body section.page:not(#home) {
  --glass: linear-gradient(162deg, rgba(58, 43, 32, 0.92) 0%, rgba(36, 28, 24, 0.9) 100%);
  --glass-solid: linear-gradient(162deg, rgba(48, 36, 29, 0.98) 0%, rgba(29, 23, 20, 0.97) 100%);
  --pearl: var(--ds-surface-3);
}
@media (max-width: 760px) { html body .shop-visual { margin: -24px -20px 20px; } }
@media (prefers-reduced-motion: reduce) {
  html body .motion-cinema::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ix-panel, .ix-panel-in, .ix-name, .ix-art img, .ix-plus, .ix-toggle::before { transition: none; }
  .ix-panel-in { opacity: 1; transform: none; }
}

/* ═══ Erlebnisbereiche: Verweise auf der Startseite, Ersatzbilder ohne WebGL ═══ */
.ed-globe-still { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; color: inherit; }
.ed-globe-still img { width: 100%; height: auto; border-radius: 50%; display: block; transition: transform var(--ds-dur-slow) var(--ds-ease), filter var(--ds-dur) var(--ds-ease); }
.ed-globe-still:hover img { transform: scale(1.02) rotate(-2deg); filter: brightness(1.06); }
.ed-globe-still:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 6px; }
.ed-net-preview .ed-net-stage { border-color: var(--ds-line); background: var(--ds-surface-3); }
.ed-net-open { position: absolute; z-index: 2; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); }
.net-flight-stage { margin: 0 0 var(--ds-space-6); max-height: 46vh; border-color: var(--ds-line); background: var(--ds-surface-3); }
.net-flight-stage .ed-net-img { width: 100%; height: 100%; max-height: 46vh; object-fit: cover; }
/* Ohne WebGL oder nach Kontextverlust: hochwertiges Standbild statt leerer Fläche; Bedienung der Seite bleibt */
.wm-globe-stage:not(.has-3d), .wm-globe-stage.gl-lost {
  background: url(img/globus-standbild-900.webp) center / contain no-repeat;
}
.gl-lost > canvas { visibility: hidden; }
.gl-lost::after { content: none; }

/* R4 · CLS: Der Abstandhalter für die Kopfleiste entfällt auf der Startseite schon vor dem Skriptlauf
   (bisher erst durch v2.js, das ließ den Hero 84 px springen). :has nur auf main und seine direkten Kinder. */
main:has(> #home.active)::before { display: none; }

/* R4 · letzte eigene Farbwelten auf die gemeinsamen Flächen: Berater-Einstieg und Tagebuchfenster
   ohne blauen Schein, Sammlungsgalerie und Objektstudie in Anthrazit, Porträtkarten ohne Farbton je Haus */
html body .advisor-intro,
html body .tb-win {
  background: radial-gradient(circle at 82% 82%, rgba(210, 183, 127, 0.14), transparent 42%),
              linear-gradient(160deg, var(--ds-surface-3), var(--ds-surface));
}
html body .collection-gallery__item { background: var(--ds-surface-2); }
html body .portrait-object-study { background: linear-gradient(160deg, var(--ds-surface-3), var(--ds-surface)); }
html body .portrait { background: var(--glass); }

/* R4 · Suche auch am Handy direkt im Kopf erreichbar (bisher nur über den Knopf am Seitenende).
   Platz: Logo begrenzt auf 100vw − 132 px, Suche + Menü brauchen 94 px. */
@media (max-width: 580px) {
  html body #v2-search-open { display: inline-flex; width: 44px; height: 44px; }
}

/* R4 · Handy: aktive Sprache im Menü lesbar (Hintergrund war durch die Token-Umstellung hell auf hell) */
html body .v2-nav-lang .lang-btn.active { background: var(--ds-gold); border-color: var(--ds-gold); color: var(--ds-ink); }
/* R4 · Suchtreffer: Zusatzangabe (Haus, Land) bricht um statt über den Rand zu laufen */
.v2-search-item { min-width: 0; max-width: 100%; }
.v2-search-item b { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 580px) {
  .v2-search-item { flex-wrap: wrap; row-gap: 2px; }
  .v2-search-item span { white-space: normal; flex-basis: 100%; }
}

/* ═══ R4 · Schrift: Kopfzeile, Menü, Fußzeile ═══════════════════════════
   Menüpunkte oben waren 14 px, die aufgeklappten Links 45 px in Strichstärke 250;
   der geöffnete/aktive Punkt wurde dunkelbraun (#3d331f) auf dunklem Kopf (Kontrast 1,5).
   Jetzt: Bedienschrift 16 px/500 oben, aufgeklappte Links als Zwischentitel (19–22 px/400),
   aktiv in Gold. Der Fußzeilen-Schriftzug war mit Zeilenhöhe 0,86 gesetzt; der Text-Hintergrund
   (background-clip: text) endet am Kasten und schnitt Ober- und Unterlängen ab. */
html body header nav > a, html body header nav .nav-group-btn {
  font-family: var(--ds-font-text); font-size: 16px; font-weight: 500; letter-spacing: 0.005em;
  padding: 10px 14px; color: var(--ds-text); text-shadow: none;
}
html body header nav > a::after, html body header nav .nav-group-btn::after { left: 14px; right: 14px; bottom: 3px; box-shadow: none; }
html body header nav > a:hover, html body header nav > a.active,
html body header nav .nav-group-btn:hover, html body header nav .nav-group.open .nav-group-btn,
html body header nav .nav-group.has-active .nav-group-btn {
  color: var(--ds-gold-strong); text-shadow: none; transform: none;
}
@media (min-width: 1021px) {
  html body header .nav-menu, html body.on-home header .nav-menu {
    background: rgba(24, 27, 34, 0.97); color: var(--ds-text);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 0; border-bottom: 1px solid var(--ds-line);
    box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.7);
    padding: 20px var(--gutter) 24px; gap: 2px 6px;
  }
  html body header nav .nav-menu .nav-link {
    font-family: var(--ds-font-head); font-size: clamp(19px, 1.45vw, 22px); font-weight: 400;
    letter-spacing: -0.01em; line-height: 1.25; padding: 10px 26px 10px 0;
    color: var(--ds-text-2); text-shadow: none;
  }
  html body header nav .nav-menu .nav-link:hover, html body header nav .nav-menu .nav-link.active {
    color: var(--ds-gold-strong); text-shadow: none; transform: translate3d(0, -1px, 0);
  }
}
@media (max-width: 1020px) {
  html body.menu-open nav .nav-group .nav-group-btn {
    font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--ds-text-2);
  }
  html body.menu-open nav .nav-group.open .nav-group-btn { color: var(--ds-gold-strong); }
  html body.menu-open nav .nav-menu a, html body.menu-open nav .nav-menu .nav-link {
    font-family: var(--ds-font-head); font-size: 21px; font-weight: 400; letter-spacing: -0.01em;
    line-height: 1.25; min-height: 46px; padding: 6px 0; color: var(--ds-text); text-shadow: none;
  }
  html body.menu-open nav .nav-menu .nav-link.active { color: var(--ds-gold-strong); }
  html body.menu-open nav > a.nav-solo, html body.menu-open nav > a.nav-primary {
    font-family: var(--ds-font-head); font-size: 23px; font-weight: 400; letter-spacing: -0.01em;
    line-height: 1.25; padding: 14px 0; color: var(--ds-text); text-shadow: none;
  }
}
html body .logo-main { letter-spacing: 0.08em; }

/* Fußzeile: Schriftzug vollständig, Zeilen ruhig, unterste Zeile frei von festen Knöpfen */
html body .v2-footer-word {
  line-height: 1.08; padding: 0.04em 0 0.12em; margin-bottom: clamp(28px, 4vw, 56px);
  -webkit-text-stroke: 0;
}
html body footer { padding-bottom: calc(34px + 64px + env(safe-area-inset-bottom, 0px)); }
html body .footer-content { font-size: var(--ds-fs-meta); letter-spacing: 0.06em; color: var(--ds-text-2); row-gap: 14px; }
html body .footer-content .social-links a { color: var(--ds-text); padding: 6px 0 5px; }
html body .footer-legal { font-size: var(--ds-fs-meta); margin-top: 22px; padding-top: 22px; }
html body .hf-snd { font-size: 13px; letter-spacing: 0.12em; }

/* R4 · Handymenü: aufgeklappte Gruppe ohne helles Feld (alte Startseitenregel body.on-home … #faf9f6),
   Abstand zum Kopf (Kopf mit Hinweisleiste bis 113 px hoch), Pfeil auf Höhe der Beschriftung */
@media (max-width: 1020px) {
  html body.menu-open header nav { padding-top: 140px; }
  html body.menu-open header nav .nav-menu, html body.on-home.menu-open header nav .nav-menu {
    background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 0 14px;
  }
  html body.menu-open nav .nav-group .nav-group-btn { align-items: center; min-height: 52px; }
  html body.menu-open nav .nav-group .nav-group-btn::after { margin: -4px 6px 0 0; }
  html body.menu-open nav .nav-group.open .nav-group-btn::after { margin: 4px 6px 0 0; }
}
/* Hinweisleiste und runde Knöpfe unten im Grundton statt hellgrau */
html body .v2-wip { font-size: 14px; line-height: 1.4; }
html body .v2-top, html body .v2-toc-fab {
  background: rgba(30, 34, 42, 0.88); color: var(--ds-text); border: 1px solid var(--ds-line-2);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7);
}
html body .v2-top:hover, html body .v2-toc-fab[aria-expanded="true"] { background: var(--ds-surface-4); color: var(--ds-gold-strong); }

/* R4 · Archivkarten: Duftfamilie als ruhiger Rahmen-Chip statt heller Pille; in schmalen Spalten
   Marke mit geringerer Sperrung, damit sie seltener umbricht */
html body .arc-card .arc-tag { background: transparent; color: var(--ds-text-2); border-color: var(--ds-line-2); padding: 4px 11px; line-height: 1.35; }
html body .arc-card .arc-tag--link:hover { background: rgba(210, 183, 127, 0.12); border-color: var(--ds-gold-line); color: var(--ds-text); }
@media (max-width: 600px) {
  html body .arc-brand { letter-spacing: 0.07em; }
  html body .arc-name { font-size: 19px; }
}

/* R4 · „Wie ein Duft entsteht“: Stationstexte in Lesegröße statt 15/14,5 px, nicht aktive Stationen
   lesbar (Deckkraft 0,38 ergab etwa 3,3 : 1), Textspalte hält Abstand zum Bild */
html body .ed-story-step { opacity: 0.62; }
html body .ed-story-step.is-past { opacity: 0.72; }
html body .ed-story-step.is-on { opacity: 1; }
html body .ed-story-step h3 { font-size: clamp(16px, 1.15vw, 18px); }
html body .ed-story-step.is-on h3 { font-size: clamp(22px, 1.8vw, 28px); }
html body .ed-story-step .ed-story-body p { font-size: var(--ds-fs-small); line-height: var(--ds-lh-text); color: var(--ds-text-2); }
@media (min-width: 1200px) { html body .ed-story-step .ed-story-body p { font-size: 17px; } }
html body .ed-story-body li { font-size: var(--ds-fs-small); line-height: 1.55; color: var(--ds-text-2); }
html body .ed-story-step.is-on .ed-story-body { max-height: 560px; }
@media (min-width: 992px) and (min-aspect-ratio: 21/20) { html body .ed-story-text { padding-right: clamp(16px, 2.2vw, 36px); padding-bottom: 76px; } }

/* R4 · Journal-Kacheln: Die Einträge waren früher eine Liste (padding 26px 0 0, Linie oben) und bekamen
   durch die gemeinsame Kachelgestaltung Rahmen ohne Innenabstand; der Titel trug noch den Kupfer-Schatten
   der alten Kartentitel, die Quelle stand außerhalb. Jetzt ist die ganze Zelle die Kachel. */
html body .v2-news { align-items: stretch; }
html body .v2-news-cell {
  background: var(--ds-surface-3); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-l);
  padding: var(--ds-pad-card); box-shadow: var(--ds-shadow-1); transition: border-color var(--ds-dur) var(--ds-ease);
}
html body .ds-paper .v2-news-cell { background: #fffdf8; border-color: rgba(27, 28, 32, 0.1); box-shadow: 0 18px 44px -34px rgba(40, 32, 18, 0.3); }
html body .v2-news-cell:hover, html body .v2-news-cell:focus-within { border-color: var(--ds-gold-line); }
html body .ds-paper .v2-news-cell:hover, html body .ds-paper .v2-news-cell:focus-within { border-color: rgba(111, 80, 25, 0.38); }
html body .v2-news-item, html body .ds-paper .v2-news-item {
  background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
html body .v2-news-item time {
  font-family: var(--ds-font-text); font-size: var(--ds-fs-label); font-weight: 600; letter-spacing: 0.1em;
  line-height: 1.4; text-transform: uppercase; color: var(--ds-gold-strong);
}
html body .v2-news-item h3, html body .ds-paper .v2-news-item h3 {
  font-family: var(--ds-font-head); font-size: var(--ds-fs-h3); font-weight: 450; letter-spacing: -0.015em; line-height: 1.16;
  margin: 12px 0 12px; text-shadow: none; text-wrap: pretty;
  background: none; -webkit-text-fill-color: currentColor; color: var(--ds-text);
}
html body .v2-news-item p {
  font-size: var(--ds-fs-small); line-height: var(--ds-lh-small); color: var(--ds-text-2); margin: 0;
  -webkit-line-clamp: 4;
}
html body .v2-news-src {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--ds-line);
  font-size: var(--ds-fs-meta); letter-spacing: 0; line-height: 1.4; color: var(--ds-text-3);
}
html body .v2-news-src a { color: var(--ds-gold-strong); text-decoration-color: var(--ds-gold-line); }
html body .ds-paper .v2-news-item time { color: var(--ds-gold-deep); }
html body .ds-paper .v2-news-item h3 { color: var(--ds-ink); }
html body .ds-paper .v2-news-item p { color: var(--ds-ink-2); }
html body .ds-paper .v2-news-src { border-top-color: rgba(27, 28, 32, 0.1); color: var(--ds-ink-3); }
html body .ds-paper .v2-news-src a { color: var(--ds-gold-deep); text-decoration-color: rgba(111, 80, 25, 0.4); }

/* Korrekturen 16.10.: Journal-Karten, Handymenü, Fußzeile */
html body .ds-paper .v2-news-item h3 { text-shadow: none; }
html body .v2-news-item { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
@media (max-width: 1020px) {
  html body.menu-open header nav { background: rgba(15, 17, 22, 0.97); }
  html body.menu-open nav .nav-group, html body.menu-open nav > a.nav-solo { border-bottom-color: var(--ds-line); }
  html body.menu-open .v2-burger span::before, html body.menu-open .v2-burger span::after { background: var(--ds-text); }
}
html body .v2-footer-word {
  font-size: min(calc((100vw - 2 * var(--gutter)) / 10.2), 168px);
  line-height: 1.2; padding: 0.06em 0 0.34em; margin-bottom: clamp(14px, 2.4vw, 36px);
}
html body .v2-footer-word::before {
  content: ''; display: inline-block; width: 0.82em; height: 0.82em; margin-right: 0.16em; vertical-align: -0.04em;
  background: url('img/logo-gold-192.png') center / contain no-repeat;
  background-image: image-set(url('img/logo-gold-96.avif') type('image/avif') 1x, url('img/logo-gold-192.avif') type('image/avif') 2x,
    url('img/logo-gold-96.webp') type('image/webp') 1x, url('img/logo-gold-192.webp') type('image/webp') 2x);
}

/* R4 · Verwaltung: Die Adresse /verwaltung#writer scrollte den Abschnitt an die Oberkante, die Überschrift lag
   unter dem Kopf. Etiketten waren für helle Flächen gefärbt (Grün #1f6b53 auf Anthrazit), Formularfelder hell,
   der Schließen-Knopf lag über dem Dialogtitel. */
#writer { scroll-margin-top: 140px; }
html body .w-badge { font-size: var(--ds-fs-label); padding: 3px 11px; }
html body .w-badge.pub { color: #8fd8b6; border-color: rgba(143, 216, 182, 0.45); background: rgba(143, 216, 182, 0.08); }
html body .w-badge.wait { color: var(--ds-gold-strong); border-color: var(--ds-gold-line); background: rgba(210, 183, 127, 0.1); }
/* Zentrale Freigabe (28.10.): eine Liste für alles Neue und Geänderte, Karten brechen am Handy sauber um. */
html body .w-badge.new { color: #9fd3f0; border-color: rgba(159, 211, 240, 0.45); background: rgba(159, 211, 240, 0.08); }
html body .w-review .w-name .w-badge:first-child { margin-left: 0; }
.w-review-main { flex: 1 1 320px; min-width: 0; }
.w-review .w-name, .w-rel { overflow-wrap: anywhere; }
.w-rel { margin-top: 6px; }
.w-review-edit { margin-top: 12px; }
.w-review-intro { margin: 0 0 14px; }
.w-rejected { margin-top: 18px; }
.w-rejected summary { cursor: pointer; color: var(--ds-text-2, inherit); margin-bottom: 10px; }
.w-notice { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ds-gold-line); color: var(--ds-gold-strong); }
@media (max-width: 560px) { .w-review .w-actions { width: 100%; } .w-review .w-actions .w-mini { flex: 1 1 auto; } }
html body .w-mini { font-size: 14px; letter-spacing: 0.05em; color: var(--ds-text); background: transparent; border-color: var(--ds-line-2); }
html body .w-mini:hover { background: var(--ds-surface-4); color: var(--ds-gold-strong); border-color: var(--ds-gold-line); }
html body .w-mini.danger { color: #f0a3ae; border-color: rgba(240, 163, 174, 0.45); background: transparent; }
html body .w-mini.danger:hover { background: #9b2c3e; color: #fff; border-color: #9b2c3e; }
html body .w-field label { font-size: var(--ds-fs-label); font-weight: 600; letter-spacing: 0.08em; color: var(--ds-text-2); }
html body :is(.w-field input, .w-field textarea, .w-link input, .w-field select) {
  background: var(--ds-surface-2); color: var(--ds-text); border: 1px solid var(--ds-line-2);
}
html body :is(.w-field input, .w-field textarea, .w-link input)::placeholder { color: var(--ds-text-3); }
html body :is(.w-field input, .w-field textarea, .w-link input):focus { border-color: var(--ds-gold); box-shadow: 0 0 0 3px rgba(210, 183, 127, 0.18); }
html body .w-photo-prev { background: radial-gradient(circle at 50% 35%, var(--ds-surface-4), var(--ds-surface-2)); border-color: var(--ds-line-2); }
html body .w-modal .modal-box { padding-top: clamp(28px, 4vw, 44px); }
html body .w-modal .modal-close { position: absolute; top: 16px; right: 16px; left: auto; }
html body .w-modal .modal-title { padding-right: 56px; font-family: var(--ds-font-head); font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.015em; line-height: 1.15; }
html body :is(.w-field, .w-link) :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  color-scheme: dark; color: var(--ds-text); -webkit-text-fill-color: var(--ds-text); caret-color: var(--ds-gold-strong);
  background: var(--ds-surface-2); border: 1px solid var(--ds-line-2);
}
html body :is(.w-field, .w-link) :is(input, textarea)::placeholder { color: var(--ds-text-3); -webkit-text-fill-color: var(--ds-text-3); opacity: 1; }
html body :is(.w-field, .w-link) :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select):focus {
  color: var(--ds-text); background: var(--ds-surface-3); border-color: var(--ds-gold); box-shadow: 0 0 0 3px rgba(210, 183, 127, 0.18);
}
html body #writer select option, html body .w-modal select option { background: var(--ds-surface-2); color: var(--ds-text); }

/* ── R4 · 16.10. abends: Überschriften, Galaxie, Weltkugel, Karte ─────────────────────────── */
/* Abschnittsköpfe wie alle anderen Überschriften (vorher 500 aus .v2-section-head h2) */
html body .v2-section-head h2.ed-h { font-weight: 250; }

/* Duft-Galaxie schwebt frei auf der Seite: kein Rahmen, keine Fläche, Ränder weich ausgeblendet */
html body .collection-galaxy { border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; padding: 0; }
html body .collection-galaxy::before { display: none; }
html body .collection-galaxy__stage { border-radius: 0; background: transparent; overflow: visible; }
html body #collection-galaxy-canvas {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
@media (min-width: 1021px) {
  html body .collection-galaxy { grid-template-columns: 1fr; }
  html body .collection-galaxy__copy { grid-area: 1 / 1; position: relative; z-index: 2; align-self: center; max-width: 360px; pointer-events: none; }
  html body .collection-galaxy__copy * { pointer-events: auto; }
  html body .collection-galaxy__stage { grid-area: 1 / 1; min-height: clamp(560px, 52vw, 760px); margin-left: clamp(120px, 16vw, 260px); }
}

/* Weltkugel ohne dunkles Fenster, deutlich größer */
html body .wm-globe, html body #worldmap .wm-globe { background: transparent; margin: 0 0 24px; padding: 8px 0 24px; }
html body .wm-globe-stage { max-width: min(1160px, 96vw, calc((100svh - 100px) * 1.3)); } /* ganze Kugel unter der Kopfleiste sichtbar */
html body .wm-globe-stage .globe-flat {
  -webkit-mask-image: radial-gradient(circle closest-side, #000 84%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 84%, transparent 100%);
}
/* Kugel frei schwebend (Tobias, 25.10.2026): kein Kreisausschnitt, nur die äußersten Ränder laufen weich aus */
html body #wm-globe {
  -webkit-mask-image: radial-gradient(ellipse farthest-side at 50% 50%, #000 78%, transparent 100%);
  mask-image: radial-gradient(ellipse farthest-side at 50% 50%, #000 78%, transparent 100%);
}
/* Firmensitze: Stadtnamen auf der Kugel */
.globe-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.globe-label { position: absolute; left: 0; top: 0; margin: -9px 0 0 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  font: 500 12px/1.35 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-ivory, #f2ede3);
  background: rgba(17, 19, 25, 0.62); border: 1px solid rgba(230, 194, 122, 0.35); opacity: 0; will-change: transform; }
.wm-globe-stage.is-flat .globe-labels { display: none; }
.wm-globe-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 10px auto 0; max-width: 760px;
  font: 400 14px/1.5 Inter, sans-serif; color: rgba(242, 237, 227, 0.78); }
.wm-globe-key span { display: inline-flex; align-items: center; gap: 8px; }
.wm-globe-key span::before { content: ''; display: inline-block; flex: none; }
.wm-globe-key .k-city::before { width: 11px; height: 11px; border-radius: 50%; background: #e6c27a; box-shadow: 0 0 10px 3px rgba(236, 200, 130, 0.45); }
.wm-globe-key .k-land::before { width: 2px; height: 14px; border-radius: 2px; background: #8fb6ea; box-shadow: 0 -4px 8px 2px rgba(150, 185, 235, 0.5); }
@media (max-width: 560px) { .globe-label { font-size: 11px; padding: 1px 6px; } .wm-globe-key { font-size: 13px; } }

/* Flache Karte: dunkle ruhige Fläche, breiter, Zoomknöpfe */
html body .map-wrap {
  position: relative;
  width: min(calc(100vw - 2 * var(--gutter, 24px)), 1480px);
  left: 50%; transform: translateX(-50%);
  background: radial-gradient(120% 90% at 50% 0%, rgba(210, 183, 127, 0.07), transparent 60%), var(--ds-surface-2, #1e160f);
  border: 1px solid var(--ds-line, rgba(242, 237, 227, 0.12));
  border-radius: var(--ds-radius-lg, 18px);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
html body #map-canvas { display: block; touch-action: pan-y; }
html body #map-canvas.is-dragging { cursor: grabbing !important; }
html body .map-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
html body .map-key--line { display: inline-block; width: 22px; height: 0; border-top: 1px solid rgba(230, 200, 140, 0.7); vertical-align: middle; margin: 0 6px 0 14px; border-radius: 0; background: none; }

/* Schriftfarben nur Elfenbein und Gold (Tobias, 16.10.2026). Kupfer ist in v2/editorial/community auf Gold gedreht. */
html body .portrait-headline { color: var(--ds-gold); }
/* Porträtkopf liegt auf Anthrazit: helle Schrift statt der Papiertinte des Artikels (Tobias, 25.10.2026) */
html body .portrait .portrait-head .portrait-title { color: var(--ds-ivory); -webkit-text-fill-color: var(--ds-ivory); }
html body .portrait .portrait-head .portrait-lede { color: var(--ds-ivory-2); }
html body .portrait .portrait-head .portrait-eyebrow { color: var(--ds-gold); }
/* Weltkugel frei schwebend: kein Kreisrahmen um die Bühne */
html body .wm-globe-stage::after { display: none; }
/* Lange Seitentitel (z. B. DUFTWELTKARTE) am Handy nicht mitten im Wort umbrechen */
@media (max-width: 520px) {
  html body .page-title { font-size: min(10.4vw, 52px); overflow-wrap: normal; word-break: normal; hyphens: manual; }
}

/* ── R5 · Gemeinsame Bedienung der Lernabschnitte (stationen.js) ───────────────────────────── */
html body .lj-st { display: grid; gap: 10px; margin-top: 18px; max-width: 420px; position: relative; z-index: 4; }
html body .lj-st-hint { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 var(--ds-fs-meta)/1.4 var(--ds-font-text); color: var(--ds-text); letter-spacing: 0; text-transform: none; transition: color var(--ds-dur) var(--ds-ease); }
html body .lj-st.is-known .lj-st-hint { color: var(--ds-text-3); }
html body .lj-st-ic { position: relative; flex: none; width: 13px; height: 20px; border: 1.5px solid var(--ds-gold); border-radius: 8px; }
html body .lj-st-ic::after { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 5px; margin-left: -1.5px; border-radius: 2px; background: var(--ds-gold); }
html body .lj-st.is-end .lj-st-ic { display: none; }
html body .lj-st-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body .lj-st-btn {
  min-height: 44px; padding: 0 16px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-line-2);
  background: rgba(242, 237, 227, 0.04); color: var(--ds-text); font: 500 var(--ds-fs-control)/1 var(--ds-font-text); cursor: pointer;
  transition: border-color var(--ds-dur-fast) var(--ds-ease), background var(--ds-dur-fast) var(--ds-ease);
}
html body .lj-st-btn:hover:not(:disabled) { border-color: var(--ds-gold); }
html body .lj-st-btn:focus-visible, html body .ed-story-go:focus-visible, html body .conc-label:focus-visible, html body .pyr3d-btn:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 3px; }
html body .lj-st-btn:disabled { opacity: 0.35; cursor: default; }
html body .lj-st-n { font: 500 var(--ds-fs-label)/1.3 var(--ds-font-text); color: var(--ds-gold); letter-spacing: 0.02em; }
/* Wie ein Duft entsteht: Stationen sind Knöpfe */
html body .ed-story-go { all: unset; display: block; width: 100%; cursor: pointer; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
html body .ed-story-go:hover { color: var(--ds-gold-strong); }
html body .lj-st--story { margin: 12px 0 14px; }
html body .ed-story-go { padding: 6px 0; margin: -6px 0; }
/* Startseite, Die Reise eines Duftes: unten links über dem Film */
html body .lj-st--journey { position: absolute; left: max(var(--gutter, 24px), calc(50vw - 640px)); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); margin: 0; }
html body .lj-st--journey .lj-st-hint, html body .lj-st--journey .lj-st-n { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
html body .jr-dot { min-width: 24px; min-height: 24px; }

/* ── R5 · Konzentrationen als SVG ─────────────────────────────────────────────────────────── */
html body .conc3d.conc-svg { height: 330vh; }
html body .conc-svg .conc-stage { position: absolute; z-index: 2; top: 50%; transform: translateY(-46%);
  left: calc(max(var(--gutter, 24px), 50vw - 640px) + 400px); right: calc(max(var(--gutter, 24px), 50vw - 640px) + 420px); }
html body .conc-art { display: block; width: 100%; height: auto; overflow: visible; }
html body .conc-guide { stroke: rgba(242, 237, 227, 0.07); stroke-width: 1; }
html body .conc-tick, html body .conc-axis { stroke: var(--ds-gold); stroke-width: 1; opacity: 0.7; }
html body .conc-scale-t { fill: var(--ds-gold); font: 500 13px var(--ds-font-text); }
html body .conc-range { fill: var(--ds-gold-strong); opacity: 0.85; transition: y var(--ds-dur) var(--ds-ease), height var(--ds-dur) var(--ds-ease); }
html body .conc-base-line { stroke: var(--ds-gold-line); stroke-width: 1; }
html body .conc-glass { stroke: rgba(242, 237, 227, 0.42); stroke-width: 1.2; transition: stroke var(--ds-dur) var(--ds-ease); }
html body .conc-shine { stroke: rgba(255, 255, 255, 0.28); stroke-width: 2.4; stroke-linecap: round; }
html body .conc-neck { fill: rgba(242, 237, 227, 0.06); stroke: rgba(242, 237, 227, 0.36); stroke-width: 1; }
html body .conc-cap { fill: var(--ds-gold); opacity: 0.85; }
html body .conc-hit { fill: transparent; cursor: pointer; }
html body .conc-men { fill: rgba(255, 248, 230, 0.55); }
html body .conc-liq { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0.001); transition: transform 1.1s cubic-bezier(0.3, 0.7, 0.2, 1); }
html body .conc-v.is-filled .conc-liq { transform: scaleY(1); }
html body .conc-v:not(.is-on) .conc-liq { opacity: 0.55; }
html body .conc-glowe { opacity: 0; transition: opacity var(--ds-dur) var(--ds-ease); }
html body .conc-v.is-on .conc-glowe { opacity: 1; }
html body .conc-v.is-on .conc-glass { stroke: var(--ds-gold-strong); }
html body .conc-labels { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: calc(64 / 600 * 100%); gap: 4px; margin-top: 6px; }
html body .conc-label { justify-self: center; display: grid; justify-items: center; gap: 2px; min-width: 44px; min-height: 44px; padding: 6px 8px; border-radius: var(--ds-radius-s);
  border: 1px solid var(--ds-line); background: rgba(58, 42, 30, 0.6); color: var(--ds-text); cursor: pointer; font-family: var(--ds-font-text); }
html body .conc-label b { font: 600 var(--ds-fs-label)/1.2 var(--ds-font-text); letter-spacing: 0.04em; }
html body .conc-label span { font: 400 13px/1.2 var(--ds-font-text); color: var(--ds-text-3); }
html body .conc-label[aria-pressed="true"] { border-color: var(--ds-gold); color: var(--ds-gold-strong); }
html body .conc-label[aria-pressed="true"] span { color: var(--ds-gold); }
html body .conc-svg .pyr3d-copy { opacity: 1 !important; pointer-events: auto !important; }
html body .conc-svg .pyr3d-card, html body #pyr3d .pyr3d-card { max-height: 72svh; overflow: auto; }
html body .conc-svg .pyr3d-card { left: auto; right: max(var(--gutter, 24px), calc(50vw - 640px)); }
@media (prefers-reduced-motion: reduce) { html body .conc-liq, html body .conc-range { transition: none; } }

/* ── R5 · Duftpyramide: Rückfall ohne WebGL ───────────────────────────────────────────────── */
html body .pyr-flat { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; pointer-events: none; }
html body #pyr3d.has-3d .pyr-flat { display: none; }
html body .pyr-flat svg { width: min(46vw, 520px); height: auto; overflow: visible; }
html body .pyr-flat-l { pointer-events: auto; cursor: pointer; transition: transform var(--ds-dur) var(--ds-ease); }
html body .pyr-flat-l path { fill: url(#pyr-flat-g); stroke: var(--ds-gold); stroke-width: 1.2; stroke-linejoin: round; transition: fill var(--ds-dur) var(--ds-ease); }
html body .pyr-flat-l.is-on path { fill: rgba(230, 207, 157, 0.16); stroke: var(--ds-gold-strong); stroke-width: 1.8; }
html body .pyr-flat-l[data-i="0"] { transform: translateY(-14px); }
html body .pyr-flat-l[data-i="2"] { transform: translateY(14px); }
html body .pyr3d .pyr3d-btn { min-height: 44px; }

@media (max-width: 991px), (max-aspect-ratio: 21/20) {
  html body .conc-svg .conc-stage { left: var(--gutter, 20px); right: var(--gutter, 20px); top: 32%; transform: none; max-width: 520px; margin: 0 auto; }
  html body .conc-svg .conc-art { max-height: 30svh; }
  html body .conc-svg .pyr3d-card, html body #pyr3d .pyr3d-card { left: var(--gutter, 20px); right: var(--gutter, 20px); width: auto; max-height: 30svh; }
  html body .lj-st { margin-top: 10px; gap: 6px; }
  html body .lj-st-btn { padding: 0 12px; }
  html body .pyr-flat { align-items: start; padding-top: 34svh; }
  html body .pyr-flat svg { width: min(70vw, 360px); }
}
@media (max-width: 760px) {
  html body .conc-label span { display: none; }
  html body .lj-st--journey { left: var(--gutter, 20px); right: var(--gutter, 20px); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* R5 · Bedienleiste: Zurück und Weiter nebeneinander, Stationsname daneben bzw. darunter */
html body .lj-st-bar { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 6px; }
html body .lj-st-bar [data-st="prev"] { order: 1; }
html body .lj-st-bar [data-st="next"] { order: 2; }
html body .lj-st-bar .lj-st-n { order: 3; flex: 1 1 160px; }

/* R5 · Handy und Hochformat: Lernabschnitte untereinander statt übereinander */
@media (max-width: 991px), (max-aspect-ratio: 21/20) {
  html body #conc3d .pyr3d-pin, html body #pyr3d .pyr3d-pin {
    display: flex; flex-direction: column; gap: 10px;
    padding: calc(var(--lj-head, 110px) + 10px) var(--gutter, 20px) calc(84px + env(safe-area-inset-bottom, 0px));
  }
  html body #conc3d .pyr3d-copy, html body #pyr3d .pyr3d-copy { position: relative; top: auto; left: auto; right: auto; transform: none; max-width: none; flex: none; }
  html body #conc3d .pyr3d-copy .ed-h, html body #pyr3d .pyr3d-copy .ed-h { font-size: 28px; margin-bottom: 4px; }
  html body #conc3d .conc3d-note, html body #conc3d .pyr3d-lead, html body #pyr3d .pyr3d-lead { display: none; }
  html body .conc-svg .conc-stage { position: relative; left: auto; right: auto; top: auto; transform: none; width: 100%; max-width: 460px; margin: 0 auto; flex: none; }
  html body .conc-svg .conc-art { max-height: 25svh; margin: 0 auto; width: auto; max-width: 100%; }
  html body #conc3d .conc3d-solid { display: none; }
  html body .conc-svg .pyr3d-card, html body #pyr3d .pyr3d-card {
    position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: auto;
    flex: 1 1 auto; min-height: 0; max-height: none; margin-top: auto; overflow: auto;
  }
  html body #pyr3d .pyr3d-btns { margin-bottom: 4px; }
  html body #pyr3d .pyr3d-pause { margin-top: 6px; }
  /* Wie ein Duft entsteht: am Handy nur die aktive Station, Zurück/Weiter ersetzen die Liste */
  html body #ed-story .ed-story-step:not(.is-on) { display: none; }
  html body #ed-story .ed-story-text > .ed-h { display: none; }
}

/* R5 · Feinschliff Konzentrationen und Pyramide */
html body .conc-svg .pyr3d-copy .ed-h { font-size: clamp(32px, 3vw, 46px); }
html body .conc-svg .conc-stage { left: calc(max(var(--gutter, 24px), 50vw - 640px) + 450px); }
@media (max-width: 991px), (max-aspect-ratio: 21/20) {
  html body .conc-svg .conc-stage { left: auto; }
  html body #pyr3d #pyr3d-canvas { position: relative; inset: auto; flex: 1 1 auto; min-height: 32svh; width: 100% !important; height: auto !important; }   /* R7: größere Pyramide (vorher 24svh) */
  html body #pyr3d .pyr-flat { position: relative; inset: auto; flex: 1 1 auto; min-height: 24svh; padding: 0; align-items: center; }
  html body #pyr3d .pyr3d-card { flex: 0 1 auto; max-height: 31svh; margin-top: 0; }
}

/* R5 · Reise eines Duftes: Bedienung rechts unten, frei von Text und Ton-Knopf */
html body .lj-st--journey { left: auto; right: max(var(--gutter, 24px), calc(50vw - 640px)); bottom: calc(104px + env(safe-area-inset-bottom, 0px)); justify-items: end; text-align: right; max-width: 380px; }
html body .lj-st--journey .lj-st-bar { justify-content: flex-end; }
html body .lj-st--journey .lj-st-bar .lj-st-n { flex: 1 1 100%; text-align: right; }
html body .lj-st--journey .lj-st-btn { background: rgba(58, 42, 30, 0.55); }
@media (max-width: 760px) {
  html body .lj-st--journey { left: var(--gutter, 20px); right: var(--gutter, 20px); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); justify-items: start; text-align: left; max-width: none; }
  html body .lj-st--journey .lj-st-bar { justify-content: flex-start; }
  html body .lj-st--journey .lj-st-bar .lj-st-n { text-align: left; }
}
@media (max-width: 760px) {
  html body .lj-st--journey { top: calc(var(--lj-head, 110px) + 14px); bottom: auto; }
}

/* ── R5 · Filmbühne der Unterseiten (v2.js „Filmbühne“, Maße zentral hier) ─────────────────── */
:root { --ds-stage-min: clamp(420px, 58svh, 640px); --ds-stage-fade: 120px; }
@media (max-width: 1100px) { :root { --ds-stage-min: clamp(380px, 52svh, 540px); } }
@media (max-width: 760px) { :root { --ds-stage-min: clamp(340px, 48svh, 460px); --ds-stage-fade: 90px; } }
@media (max-height: 520px) and (orientation: landscape) { :root { --ds-stage-min: clamp(240px, 62svh, 320px); --ds-stage-fade: 70px; } }
html body section.page.has-stage > .page-vid {
  object-position: var(--stage-focus, 70% 50%); mix-blend-mode: normal; opacity: 0.92;
  /* links dunkler hinter dem Text, unten weicher Auslauf ins Anthrazit: beides als Maske, kein zusätzlicher Verlauf */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.38) 0, rgba(0,0,0,0.62) 30%, #000 58%), linear-gradient(180deg, #000 calc(100% - var(--ds-stage-fade)), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.38) 0, rgba(0,0,0,0.62) 30%, #000 58%), linear-gradient(180deg, #000 calc(100% - var(--ds-stage-fade)), transparent);
  mask-composite: intersect;
}
html body section.page.has-stage > .page-sub { padding-bottom: var(--stage-extra, 0px); }
/* R7: Duftorgel und helles Papier (Filmrunde 2) füllen das ganze Bild; links stärker abdunkeln, damit Titel und Einführung lesbar bleiben */
html body section.page:is(#perfumers, #news).has-stage > .page-vid {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.14) 0, rgba(0,0,0,0.3) 40%, #000 72%), linear-gradient(180deg, #000 calc(100% - var(--ds-stage-fade)), transparent);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.14) 0, rgba(0,0,0,0.3) 40%, #000 72%), linear-gradient(180deg, #000 calc(100% - var(--ds-stage-fade)), transparent);
}
html body .stage-ui { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--band, 400px) - var(--ds-stage-fade) - 4px); display: flex; align-items: center; gap: 14px; pointer-events: none; }
html body .stage-ui > * { pointer-events: auto; }
html body .stage-skip {
  min-height: 44px; padding: 0 16px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-line-2); background: rgba(58, 42, 30, 0.55);
  color: var(--ds-text); font: 500 var(--ds-fs-control)/1 var(--ds-font-text); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
html body .stage-skip:hover { border-color: var(--ds-gold); }
html body .stage-ai { margin-left: auto; font: 500 var(--ds-fs-label)/1.2 var(--ds-font-text); color: var(--ds-text-2); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
html body .stage-play {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--ds-line-2); background: rgba(58, 42, 30, 0.55); color: var(--ds-text);
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
html body .stage-play:hover { border-color: var(--ds-gold); }
html body .stage-play[hidden] { display: none; }
html body .stage-skip:focus-visible, html body .stage-play:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 3px; }
html body .stage-play-ic { position: relative; width: 12px; height: 14px; }
html body .stage-play-ic::before, html body .stage-play-ic::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; border-radius: 1px; }
html body .stage-play-ic::before { left: 1px; } html body .stage-play-ic::after { right: 1px; }
html body .stage-play[aria-pressed="false"] .stage-play-ic::before { left: 2px; width: 0; height: 0; background: none; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-radius: 0; }
html body .stage-play[aria-pressed="false"] .stage-play-ic::after { display: none; }
@media (max-width: 760px) {
  html body .stage-skip { padding: 0 14px; }
  html body .stage-ai { font-size: 12.5px; }
}

/* ── R5 · Filmregie: Knopf „Film abspielen“, wenn Filme nicht von selbst laufen (Handy, reduzierte Bewegung, Datensparen) ── */
html body .film-play {
  position: absolute; z-index: 6; right: max(var(--gutter, 20px), calc(50vw - 640px)); bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px;
  border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-line-2); background: rgba(14, 15, 19, 0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ds-text); font: 500 var(--ds-fs-control)/1 var(--ds-font-text); cursor: pointer;
  transition: border-color var(--ds-dur-fast) var(--ds-ease);
}
html body .film-play[hidden] { display: none; }
html body .film-play:hover { border-color: var(--ds-gold); }
html body .film-play:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 3px; }
html body .film-play-ic { position: relative; width: 12px; height: 14px; flex: none; }
html body .film-play-ic::before { content: ""; position: absolute; left: 1px; top: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ds-gold); }
html body .film-play[aria-pressed="true"] .film-play-ic::before { left: 1px; width: 3px; height: 14px; border: 0; background: var(--ds-gold); box-shadow: 6px 0 0 var(--ds-gold); }
html body .film-play--hero { top: calc(var(--lj-head, 84px) + 16px); bottom: auto; }
html body .film-play--seq { right: 16px; bottom: 16px; }
/* Herstellung und Sammlung beginnen 84 px unter dem Seitenanfang; der Aufbau-Hinweis macht die Kopfzeile höher */
html body .film-play--top { top: max(16px, calc(var(--lj-head, 84px) - 68px)); bottom: auto; }
@media (max-width: 760px) {
  html body .film-play { right: var(--gutter, 20px); }
  html body .film-play--seq { right: 12px; bottom: 12px; }
}

/* ── R5 · Gestenhinweise (stationen.js, gestureHint): Weltkugel, Netzwerk, Sammlungsgalaxie, Duftweltkarte ── */
html body .lj-gh { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 var(--ds-fs-meta)/1.4 var(--ds-font-text); color: var(--ds-text); letter-spacing: 0; text-transform: none; transition: opacity 0.6s var(--ds-ease); }
html body .lj-gh--over { position: absolute; z-index: 5; left: 16px; top: 16px; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-line); background: rgba(14, 15, 19, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
html body .lj-gh.is-used { opacity: 0; }
@media (max-width: 760px) { html body .lj-gh--over { left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 7px 12px; } }

/* ── R6 · Konzentrationen in 3D (concentration-scene.js): Leinwand im Format der SVG-Fassung ── */
html body .conc-gl { display: block; width: 100%; height: auto; aspect-ratio: 600 / 430; touch-action: pan-y; }
/* R7: am Computer liegt die Leinwand über der ganzen angehefteten Bühne; der Platzhalter hält den Platz für die Reihe frei,
   die Bühne lässt Klicks auf die Flakons durch, nur die Stufenknöpfe bleiben bedienbar. Am Handy höhere Leinwand. */
html body .conc-gl.conc-gl--pin { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
html body .conc-spacer { width: 100%; aspect-ratio: 600 / 470; }
@media (min-width: 761px) {
  html body .conc-svg .conc-stage { left: calc(max(var(--gutter, 24px), 50vw - 640px) + 390px); right: calc(max(var(--gutter, 24px), 50vw - 640px) + 360px); }
  html body .conc-svg .pyr3d-card { width: min(340px, 90vw); }
}
html body .conc-spacer[hidden] { display: none; }
html body .conc-stage.has-pin { pointer-events: none; }
html body .conc-stage.has-pin .conc-labels { pointer-events: auto; }
@media (max-width: 760px) { html body .conc-gl { aspect-ratio: 600 / 520; } }
/* R6 Notensuche: räumliches Notenfeld (notensuche-scene.js); das SVG bleibt für Screenreader und als Rückfall */
#notensuche .ns-3d-host:empty { display: none; }
#notensuche .ns-3d { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1 / 1; }
#notensuche .ns-gl { display: block; width: 100%; height: 100%; touch-action: pan-y; }
#notensuche .ns-side.has-3d #ns-feld { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#notensuche .ns-3d-labels { position: absolute; inset: 0; pointer-events: none; }
#notensuche .ns-3d-l { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; margin: 0; transform-origin: 0 0; white-space: nowrap; will-change: transform; }
#notensuche .ns-3d-l > * { translate: -50% 0; }
#notensuche .ns-3d-l { padding-top: 22px; }
#notensuche .ns-3d-l--aus { padding-top: 32px; }
#notensuche .ns-3d-name { font: 500 var(--ds-fs-small, 14px)/1.2 var(--ds-font-text); color: var(--ds-text, #f2ede3); text-shadow: 0 0 6px rgba(14, 15, 19, .95), 0 0 2px rgba(14, 15, 19, .95); }
#notensuche .ns-3d-l--aus .ns-3d-name { color: rgba(242, 237, 227, .72); }
#notensuche .ns-3d-l--aus s { text-decoration-color: var(--ds-gold, #d7bc7e); text-decoration-thickness: 1.5px; }
#notensuche .ns-3d-c { font: 500 12px/1 var(--ds-font-text); color: var(--ds-gold-strong, #e6cf9d); font-variant-numeric: tabular-nums; text-shadow: 0 0 5px rgba(14, 15, 19, .95); }
#notensuche .ns-3d-count { position: absolute; left: 50%; top: 50%; translate: -50% 40%; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
#notensuche .ns-3d-n { font: 600 clamp(26px, 4vw, 34px)/1 var(--ds-font-head, 'Inter Tight', sans-serif); color: var(--ds-text, #f2ede3); font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(14, 15, 19, .9); }
#notensuche .ns-3d-cap { font: 500 12px/1.4 var(--ds-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-gold, #d7bc7e); }
/* Felder auf Werkzeugpaneelen (Elfenbein): .band-dark färbt Such- und Textfelder sonst dunkel, Text und Platzhalter wurden unsichtbar */
html body :is(.wz-panel, .hc-panel) .wz-input { background: #fffdf8; color: var(--ds-ink); border-color: rgba(21, 22, 26, 0.28); box-shadow: none; }
html body :is(.wz-panel, .hc-panel) .wz-input::placeholder { color: #66625a; opacity: 1; }
html body :is(.wz-panel, .hc-panel) .wz-input:focus { background: #fff; color: var(--ds-ink); border-color: var(--ds-gold-deep); box-shadow: 0 0 0 3px rgba(184, 150, 79, 0.22); }
/* Forum (Elfenbeinpaneel): gleiche Ursache, Suche, Kategorie, Titel und Auswahl waren hell auf hell */
html body .forum-panel :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { background: #fffdf8; color: var(--ds-ink); border: 1px solid rgba(21, 22, 26, 0.28); border-radius: var(--ds-radius-s); box-shadow: none; -webkit-text-fill-color: var(--ds-ink); }
html body .forum-panel :is(input, textarea)::placeholder { color: #66625a; opacity: 1; -webkit-text-fill-color: #66625a; }
html body .forum-panel :is(input, select, textarea):focus { background: #fff; border-color: var(--ds-gold-deep); box-shadow: 0 0 0 3px rgba(184, 150, 79, 0.22); }
html body .forum-panel select option { background: #fffdf8; color: var(--ds-ink); }
/* SVG-Rückfall auf dunklem Grund lesbar */
#notensuche .wz-pt text { fill: var(--ds-text, #f2ede3); stroke: rgba(14, 15, 19, .9); }
@media (max-width: 760px) { #notensuche .ns-3d { max-width: 320px; } }

/* Galaxie frei schwebend: kein Fenster, kein Rahmen (18.10.) */
html body .collection-galaxy { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; padding: 0; }
html body .collection-galaxy::before { display: none; }
html body .collection-galaxy__stage { border-radius: 0; background: none; overflow: visible; }
html body .collection-galaxy__hud { left: 0; right: 0; }

/* ── R7 · Chypre-Beitrag: drei Rohstoff-Filme als Scroll-Stationen (chypre-film.js) ──
   Volle Breite, angeheftete Bühne; Film rechts, links dunkler Verlauf für den Text. Am Handy Text unten. */
html body #chypre > .ch-seq { position: relative; height: 300vh; width: 100vw; margin: var(--ds-space-7, 56px) 0 var(--ds-space-7, 56px) calc(50% - 50vw); }
html body .ch-seq-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #0e0f13; }
html body .ch-seq-stage { position: absolute; inset: 0; }
html body .ch-seq-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; transition: opacity var(--ds-dur-slow, .9s) var(--ds-ease); }
html body .ch-seq-vid.is-on { opacity: 1; }
html body .ch-seq-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 15, 19, .94) 0%, rgba(14, 15, 19, .74) 32%, rgba(14, 15, 19, 0) 62%), linear-gradient(0deg, rgba(14, 15, 19, .55) 0%, rgba(14, 15, 19, 0) 28%); }
html body .ch-seq-text { position: absolute; z-index: 2; left: max(var(--gutter, 24px), calc(50vw - 640px)); top: 50%; transform: translateY(-50%); width: min(420px, 40vw); color: var(--ds-text); }
html body .ch-seq-k { margin: 0 0 var(--ds-space-3, 12px); font: 500 var(--ds-fs-label, 13px)/1.4 var(--ds-font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-gold); }
html body .ch-seq-steps { list-style: none; margin: 0 0 var(--ds-space-4, 16px); padding: 0; }
html body .ch-seq-step { padding: 12px 0; border-top: 1px solid var(--ds-line); color: var(--ds-text-3); cursor: pointer; transition: color var(--ds-dur) var(--ds-ease); }
html body .ch-seq-step:last-child { border-bottom: 1px solid var(--ds-line); }
html body .ch-seq-step:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 3px; }
html body .ch-seq-step h3 { margin: 0; font: 300 var(--ds-fs-h3, 30px)/var(--ds-lh-head, 1.15) var(--ds-font-head); text-transform: uppercase; color: inherit; transition: color var(--ds-dur) var(--ds-ease); }
html body .ch-seq-step p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font: 400 var(--ds-fs-text, 18px)/var(--ds-lh-text, 1.6) var(--ds-font-text); color: var(--ds-text-2);
  transition: max-height var(--ds-dur-slow, .6s) var(--ds-ease), opacity var(--ds-dur) var(--ds-ease), margin var(--ds-dur) var(--ds-ease); }
html body .ch-seq-step.is-on { color: var(--ds-text); }
html body .ch-seq-step.is-on h3 { color: var(--ds-gold-strong); }
html body .ch-seq-step.is-on p { max-height: 9em; opacity: 1; margin-top: 8px; }
html body .ch-seq-note { margin: var(--ds-space-3, 12px) 0 0; font: 400 var(--ds-fs-small, 14px)/1.5 var(--ds-font-text); color: var(--ds-text-3); }
@media (max-width: 760px) {
  html body .ch-seq-vid { object-position: 72% 40%; }
  html body .ch-seq-stage::after { background: linear-gradient(0deg, rgba(14, 15, 19, .96) 0%, rgba(14, 15, 19, .82) 48%, rgba(14, 15, 19, 0) 72%); }
  html body .ch-seq-text { top: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: none; left: var(--gutter, 20px); right: var(--gutter, 20px); width: auto; }
  html body .ch-seq-step { padding: 8px 0; }
  html body .ch-seq-step h3 { font-size: 22px; }
  html body .ch-seq-step p { font-size: 16px; }
  html body .ch-seq .film-play { top: calc(var(--lj-head, 84px) + 12px); bottom: auto; }
}

/* ── R7 · Filmrunde 2: ruhige Hintergrundfilme (filmband.js) ──
   B1 Filmband auf der Startseite: volle Breite, weiche Ränder oben und unten, kein Text darauf.
   C1 Konzentrationen: Bläschen stark abgedunkelt hinter der Szene; Text und Bedienung liegen darüber. */
html body .lj-band-film { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(220px, 40vh, 420px); overflow: hidden; background: transparent; }
html body .lj-band-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 74%, transparent 100%); }
html body .lj-bgfilm-ui { position: absolute; z-index: 4; right: max(var(--gutter, 20px), calc(50vw - 640px)); bottom: 18px; display: flex; align-items: center; gap: 12px; }
html body .lj-bgfilm-ai { font: 500 var(--ds-fs-label, 13px)/1.2 var(--ds-font-text); color: var(--ds-text-2); text-shadow: 0 1px 10px rgba(0, 0, 0, .8); pointer-events: none; }
html body .lj-bgfilm-ui .film-play { position: static; }
html body .lj-conc-film { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
html body .lj-conc-film .lj-bgfilm-ui { pointer-events: auto; }
html body .lj-conc-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .35;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0, rgba(0,0,0,.6) 34%, #000 60%), linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0, rgba(0,0,0,.6) 34%, #000 60%), linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-composite: intersect; }
@media (max-width: 760px) {
  html body .lj-band-film { height: clamp(180px, 30vh, 260px); }
  html body .lj-conc-vid { opacity: .28; }
  html body .lj-conc-film .lj-bgfilm-ui { top: calc(var(--lj-head, 84px) + 8px); bottom: auto; }
}

/* Hero hell: Sonnenlicht mit bewegten Strahlen (26.10.) — nur Startseite */
html body #home > .v2-hero { background: linear-gradient(180deg, #e9d7b0 0%, #d2b07a 55%, #a9793e 100%); }
html body #home > .v2-hero .hf-shade {
  background: linear-gradient(90deg, rgba(246,232,200,.55) 0, rgba(246,232,200,.2) 45%, rgba(246,232,200,0) 75%),
    linear-gradient(0deg, rgba(120,80,38,.35) 0, rgba(120,80,38,0) 45%);
}
html body #home > .v2-hero .hf-shade--light { background: rgba(246,232,200,.25); }
html body #home > .v2-hero .v2-hero-copy, html body #home > .v2-hero h1 { color: #3a2415; }
html body #home > .v2-hero::before, html body #home > .v2-hero p, html body #home > .v2-hero .v2-hero-sub, html body #home > .v2-hero .v2-hero-kicker, html body #home > .v2-hero .v2-hero-lead { color: #3a2415 !important; text-shadow: none; }
html body #home > .v2-hero .v2-hero-kicker, html body #home > .v2-hero .v2-hero-kicker * { color: #7a4f1e !important; }
html body #home > .v2-hero .ed-btn--ghost, html body #home > .v2-hero a.v2-btn-ghost, html body #home > .v2-hero .btn-ghost { color: #3a2415 !important; border-color: rgba(58,36,21,.55) !important; background: rgba(255,250,240,.35) !important; }

/* Duftfamilien (26.10.): Übersicht mit Bildkacheln, je Familie ein Porträt als eigene Seite.
   Die Porträts folgen dem Chypre-Beitrag (#chypre): großes Kopfbild, Kicker, Titel, Fließtext. */
html:not([lang="en"]) #duftfamilien .lj-en, html:not([lang="en"]) .fam-page .lj-en { display: none; }
html[lang="en"] #duftfamilien .lj-de, html[lang="en"] .fam-page .lj-de { display: none; }

html body #duftfamilien .fam-intro { max-width: 64ch; }
html body #duftfamilien .fam-intro p { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
html body #duftfamilien .fam-grid { list-style: none; padding: 0; margin: 40px 0 64px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 34px 22px; }
html body #duftfamilien .fam-grid > li { margin: 0; }
html body #duftfamilien .fam-ki-note { margin: -40px 0 40px; font-size: 12.5px; color: var(--ink-3); }
html body #duftfamilien .fam-grid { perspective: 1400px; }
html body #duftfamilien .fam-grid > li { position: relative; }
/* Bodenschatten: wird kleiner und blasser, je höher die Kachel schwebt */
html body #duftfamilien .fam-grid > li::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: -20px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); filter: blur(5px); transform: translateY(var(--py, 0px)) scale(calc(1 - var(--lift, 0) * .035)); opacity: calc(.95 - var(--lift, 0) * .05); pointer-events: none; z-index: 0; }
html body #duftfamilien .fam-tile { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-lg, 16px); border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255,248,236,.07), rgba(255,248,236,.02)), var(--glass); color: var(--ink); text-decoration: none;
  transform: translate3d(0, calc(var(--py, 0px) - var(--lift, 0) * 1px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), 0 12px 24px -16px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,248,236,.08); transition: border-color .4s, box-shadow .5s; }
html body #duftfamilien .fam-tile::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(244,217,160,.22), rgba(244,217,160,0) 55%); }
html body #duftfamilien .fam-tile:hover { border-color: var(--gold-metal); box-shadow: 0 46px 80px -30px rgba(0,0,0,.9), 0 18px 34px -18px rgba(0,0,0,.65), 0 0 0 1px rgba(214,185,121,.25), inset 0 1px 0 rgba(255,248,236,.12); }
html body #duftfamilien .fam-tile:hover::before { opacity: 1; }
html body #duftfamilien .fam-tile-img { overflow: hidden; }
html body #duftfamilien .fam-tile-img img { transform: translate(var(--ix, 0px), var(--iy, 0px)) scale(1.08); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
html body #duftfamilien .fam-tile:hover .fam-tile-img img { transform: translate(var(--ix, 0px), var(--iy, 0px)) scale(1.15); }
/* Kacheln ohne Familienbild: drei Materialmotive der Duftnoten-Seite, in Tiefe gestaffelt */
html body #duftfamilien .fam-tile-collage { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(214,185,121,.16), rgba(214,185,121,0) 65%); }
html body #duftfamilien .fam-tile-collage img { position: absolute; display: block; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 1px solid rgba(214,185,121,.35); box-shadow: 0 18px 30px -14px rgba(0,0,0,.8); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
html body #duftfamilien .fam-tile-collage img:nth-child(1) { width: 56%; left: 10%; top: 12%; z-index: 2; transform: translate(calc(var(--ix, 0px) * 1.4), calc(var(--iy, 0px) * 1.4)); }
html body #duftfamilien .fam-tile-collage img:nth-child(2) { width: 42%; right: 8%; top: 24%; z-index: 1; transform: translate(calc(var(--ix, 0px) * .7), calc(var(--iy, 0px) * .7)); }
html body #duftfamilien .fam-tile-collage img:nth-child(3) { width: 38%; left: 40%; bottom: 7%; z-index: 3; transform: translate(calc(var(--ix, 0px) * 2), calc(var(--iy, 0px) * 2)); }
html body #duftfamilien .fam-tile:hover .fam-tile-collage img:nth-child(1) { transform: translate(calc(var(--ix, 0px) * 1.4), calc(var(--iy, 0px) * 1.4)) scale(1.05); }
/* Auftritt: gestaffelt von unten, einmalig */
html body #duftfamilien .fam-grid.fam-anim > li { opacity: 0; translate: 0 48px; transition: opacity .9s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 55ms), translate 1.1s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 55ms); }
html body #duftfamilien .fam-grid.fam-anim.is-in > li { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html body #duftfamilien .fam-grid > li { opacity: 1; translate: none; transition: none; }
  html body #duftfamilien .fam-tile, html body #duftfamilien .fam-tile-img img { transform: none; transition: none; }
}
html body #duftfamilien .fam-tile:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
html body #duftfamilien .fam-tile-img, html body #duftfamilien .fam-tile-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
html body #duftfamilien .fam-tile-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; margin-top: auto; }
html body #duftfamilien .fam-tile b { font-family: 'Inter Tight', sans-serif; font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--ink); }
html body #duftfamilien .fam-tile-count { font-size: 14px; color: var(--ink-3); }
html body #duftfamilien .fam-tile--text { min-height: 160px; justify-content: flex-end; }
html body #duftfamilien .fam-tile--text b { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; }
html body #duftfamilien .fam-sources { margin-top: 12px; max-width: 64ch; font-size: 14px; color: var(--ink-3); }
html body #duftfamilien .fam-sources h3 { font-family: 'Inter Tight', sans-serif; font-weight: 400; color: var(--ink); font-size: 18px; margin: 0 0 8px; }
html body #duftfamilien .fam-sources a { color: var(--ink-2); border-bottom: 1px solid rgba(214,185,121,0.5); text-decoration: none; }

/* Porträtseiten */
.fam-page > .fam-back { margin: 0 0 22px; font-size: 14px; }
.fam-page .fam-back a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid rgba(214,185,121,0.5); }
.fam-page .fam-back a:hover { color: var(--ink); border-bottom-color: var(--gold-metal); }
.fam-page .fam-back a:focus-visible, .fam-page .fam-more a:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page > .fam-open { position: relative; width: 100vw; margin: 0 0 clamp(40px, 5vw, 72px) calc(50% - 50vw); }
.fam-page > .fam-open picture { display: block; }
.fam-page > .fam-open img, .fam-page > .fam-open video { display: block; width: 100%; height: clamp(300px, 54svh, 620px); object-fit: cover; }
.fam-page > .fam-open figcaption { position: absolute; left: max(var(--gutter), calc(50vw - var(--maxw) / 2)); bottom: 14px; font-size: 13px; color: #f2ede3; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.fam-page > .fam-open .fam-play { position: absolute; right: max(var(--gutter), calc(50vw - var(--maxw) / 2)); bottom: 12px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(242,237,227,.6); background: rgba(21,22,26,.55); color: #f2ede3; font: 500 13px/1.3 'Inter', sans-serif; cursor: pointer; }
.fam-page > .fam-open .fam-play:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page.fam-film-on .fam-play .lj-de::before, .fam-page.fam-film-on .fam-play .lj-en::before { content: '❚❚ '; }
.fam-page > .fam-fig { margin: 0 0 clamp(32px, 4vw, 52px); max-width: 512px; }
.fam-page > .fam-fig img { display: block; width: 100%; height: auto; border-radius: 12px; }
.fam-page > .fam-fig figcaption { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.fam-page > .fam-kicker { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
section.page.fam-page:not(#home) > .page-title.fam-title { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: -0.015em; }
.fam-page > .fam-subtitle { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(22px, 2.2vw, 30px); }
.fam-page > .fam-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; color: var(--ink); max-width: 60ch; margin-bottom: 32px; }
.fam-page:not(#chypre):not(.fam-page--long) > h2 { font-family: 'Inter Tight', sans-serif; font-weight: 300; font-size: clamp(27px, 2.7vw, 40px); letter-spacing: -0.015em; margin: clamp(40px, 5vw, 64px) 0 18px; color: var(--ink); }
.fam-page:not(#chypre):not(.fam-page--long) > p { font-size: 17.5px; line-height: 1.82; color: var(--ink-2); max-width: 64ch; margin-bottom: 18px; }
.fam-page .ch-a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid rgba(214,185,121,0.5); }
.fam-page .ch-a:hover { color: var(--ink); border-bottom-color: var(--gold-metal); }
.fam-page > .fam-notes { list-style: none; padding: 0; margin: 0 0 18px; max-width: 960px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.fam-page > .fam-notes li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.fam-page .fam-note-sym { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,248,236,.14), rgba(255,248,236,.02) 70%); border: 1px solid rgba(214,185,121,.25); color: var(--gold-metal); }
.fam-page .fam-note-sym .term-material { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.fam-page .fam-note-sym .term-symbol { width: 34px; height: 34px; }
.fam-page .fam-note-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fam-page > .fam-notes b { font-weight: 500; font-size: 16px; color: var(--ink); }
.fam-page > .fam-notes .fam-role { color: var(--ink-3); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.fam-page > .fam-examples { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; max-width: 960px; }
.fam-page > .fam-examples button { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); font: inherit; cursor: pointer; }
.fam-page > .fam-examples button:hover { border-color: var(--gold-metal); }
.fam-page > .fam-examples button:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page > .fam-examples b { font-weight: 500; font-size: 16px; }
.fam-page > .fam-examples img { flex: none; width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: rgba(255,248,236,.06); }
.fam-page > .fam-examples .fam-ex-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fam-page > .fam-examples .fam-ex-text > span { font-size: 14px; color: var(--ink-3); }
.fam-page > .fam-ex-empty { font-size: 15px; color: var(--ink-3); }
.fam-page > .fam-coll { display: inline-block; margin: 6px 0 0; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 14px/1.4 'Inter', sans-serif; cursor: pointer; }
.fam-page > .fam-coll:hover { border-color: var(--gold-metal); background: rgba(214,185,121,0.1); }
.fam-page > .fam-coll:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page > .fam-sources { margin-top: clamp(40px, 5vw, 64px); max-width: 64ch; padding-top: 14px; border-top: 1px solid var(--line-2); }
.fam-page > .fam-sources h2 { font-family: 'Inter Tight', sans-serif; font-weight: 400; font-size: 20px; color: var(--ink); margin: 0 0 10px; }
.fam-page > .fam-sources ul { margin: 0; padding-left: 1.1em; font-size: 14.5px; line-height: 1.8; color: var(--ink-3); }
.fam-page > .fam-sources .ch-note { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.fam-page > .fam-more { margin: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); max-width: 960px; }
.fam-page > .fam-more h2 { font-family: 'Inter Tight', sans-serif; font-weight: 400; font-size: 20px; color: var(--ink); margin: 0 0 12px; }
.fam-page > .fam-more p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fam-page > .fam-more a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.fam-page > .fam-more a:hover { border-color: var(--gold-metal); color: var(--ink); }
@media (max-width: 760px) {
  .fam-page > .fam-open img, .fam-page > .fam-open video { height: 46svh; }
  .fam-page > .fam-open figcaption { position: static; margin: 10px var(--gutter) 0; color: var(--ink-3); text-shadow: none; }
  .fam-page > .fam-open .fam-play { bottom: auto; top: 12px; }
  html body #duftfamilien .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  html body #duftfamilien .fam-tile b { font-size: 17px; }
  html body #duftfamilien .fam-tile--text { min-height: 120px; }
  html body #duftfamilien .fam-tile--text b { font-size: 24px; }
}

/* Lange Familienporträts (26.10.): dieselben Regeln wie „Chypre verstehen“ (#chypre in v2.css/design.css),
   automatisch auf .fam-page--long übertragen. Bei Änderungen am Chypre-Beitrag hier mitziehen. */
.fam-page--long > .ch-open { position: relative; width: 100vw; margin: 0 0 clamp(40px, 5vw, 72px) calc(50% - 50vw); }
.fam-page--long > .ch-open picture { display: block; }
.fam-page--long > .ch-open img { display: block; width: 100%; height: clamp(300px, 54svh, 620px); object-fit: cover; object-position: 62% 50%; }
.fam-page--long > .ch-open figcaption { position: absolute; left: max(var(--gutter), calc(50vw - var(--maxw) / 2)); right: max(var(--gutter), calc(50vw - var(--maxw) / 2)); bottom: 14px; font-size: 13px; line-height: 1.5; color: rgba(242, 237, 227, 0.72); text-shadow: 0 1px 14px rgba(0,0,0,0.85); }
/* Stimmungsfilm über dem Kopfbild (Clean Scents): blendet erst ein, wenn er läuft; sonst bleibt das Bild */
.fam-page--long > .ch-open > .ch-open-vid { position: absolute; left: 0; top: 0; width: 100%; height: clamp(300px, 54svh, 620px); object-fit: cover; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.fam-page--long > .ch-open > .ch-open-vid.is-on { opacity: 1; }
.fam-page--long > .ch-open > .film-play { bottom: auto; top: 16px; }
/* Kopffilm von „Chypre verstehen“ (29.10.): gleiche Regie wie die Kopffilme der Duftfamilien. */
#chypre > .ch-open > .ch-open-vid { position: absolute; left: 0; top: 0; width: 100%; height: clamp(300px, 54svh, 620px); object-fit: cover; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
#chypre > .ch-open > .ch-open-vid.is-on { opacity: 1; }
#chypre > .ch-open > .film-play { bottom: auto; top: 16px; }
/* Kopf der Duftfamilien-Übersicht (27.10., Wunsch Tobias): der Film liegt hinter Titel, Einleitung und
   „Was ist eine Duftfamilie?“; ein Verlauf dunkelt nach unten ab, damit der Text lesbar bleibt. */
html body #duftfamilien .fam-hero { position: relative; isolation: isolate; overflow: hidden; width: 100vw; min-height: min(92svh, 980px); margin: 0 0 clamp(8px, 2vw, 24px) calc(50% - 50vw); padding: clamp(110px, 16vw, 240px) max(var(--gutter), calc(50vw - var(--maxw) / 2)) clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; }
html body #duftfamilien .fam-hero > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
html body #duftfamilien .fam-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20,15,11,.50) 0%, rgba(20,15,11,.70) 38%, rgba(20,15,11,.88) 72%, rgba(20,15,11,.97) 100%), linear-gradient(90deg, rgba(20,15,11,.65) 0%, rgba(20,15,11,0) 70%); }
html body #duftfamilien .fam-hero-in { position: relative; max-width: 72ch; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
html body #duftfamilien .fam-hero .fam-intro p, html body #duftfamilien .fam-hero .page-sub { color: rgba(242,237,227,.88); }
html body #duftfamilien .fam-hero-cap { margin: 28px 0 0; font-size: 12.5px; color: rgba(242,237,227,.66); }
html body #duftfamilien .fam-hero > .film-play { bottom: auto; top: 16px; }
.mk-film > figcaption { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.mk-film { position: relative; max-width: 880px; margin: 0 0 clamp(24px, 3vw, 36px); }
.mk-film > video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.mk-film > figcaption { margin: 8px 0 0; }
.mk-film > .film-play { right: 14px; bottom: auto; top: 14px; }
@media (prefers-reduced-motion: reduce) { .fam-page--long > .ch-open > .ch-open-vid, #chypre > .ch-open > .ch-open-vid { transition: none; } }
.fam-page--long .sy-visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin: clamp(28px, 4vw, 52px) 0 clamp(44px, 6vw, 76px); }
.fam-page--long .sy-accord svg { display: none; }
.fam-page--long .sy-accord-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--ds-space-3, 14px); }
.fam-page--long .sy-accord-grid > div { display: flex; flex-direction: column; justify-content: center; min-height: 112px; padding: var(--ds-space-4, 20px); border: 1px solid var(--ds-line, rgba(242,237,227,.16)); border-radius: var(--ds-radius-sm, 4px); background: rgba(244,235,214,.045); }
.fam-page--long .sy-accord-grid strong { color: var(--ds-text, #f1ece2); font: 500 var(--ds-fs-body, 18px)/1.3 var(--ds-font-heading, 'Inter Tight', sans-serif); }
.fam-page--long .sy-accord-grid span { margin-top: 8px; color: var(--ds-text-3, #c8bfb0); font: 400 var(--ds-fs-small, 14px)/1.45 var(--ds-font-text, Inter, sans-serif); }
.fam-page--long .sy-accord-grid .lj-en, html[lang="en"] .fam-page--long .sy-accord-grid .lj-de { display: none; }
html[lang="en"] .fam-page--long .sy-accord-grid .lj-en { display: inline; }
.fam-page--long .sy-history { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin: 36px 0 52px; }
.fam-page--long .sy-history figure { margin: 0; }
.fam-page--long .sy-history img { display: block; width: 100%; max-height: 380px; object-fit: cover; object-position: center 24%; border-radius: var(--ds-radius-sm, 4px); filter: sepia(.16); }
.fam-page--long .sy-history figcaption { margin-top: 8px; color: var(--ds-text-3); font: 400 var(--ds-fs-small, 14px)/1.5 var(--ds-font-text); }
.fam-page--long .sy-history h3 { margin: 8px 0 12px; color: var(--ds-text); font-family: var(--ds-font-heading); }
.fam-page--long .sy-history p { margin: 0 0 12px; }
.fam-page--long .sy-history a { color: var(--ds-accent, #d8ba7d); }
.fam-page--long .sy-year { color: var(--ds-accent, #d8ba7d); font: 600 var(--ds-fs-small, 14px)/1.4 var(--ds-font-text); letter-spacing: .08em; }
.fam-page--long .sy-history-later { grid-column: 1 / -1; border-top: 1px solid var(--ds-line); padding-top: 24px; }
.fam-page--long .sy-history-lab { grid-column: 1 / -1; max-width: 920px; }
.fam-page--long .sy-history-lab img { max-height: 520px; object-position: center; }
.fam-page--long .sy-history figcaption .lj-en, html[lang="en"] .fam-page--long .sy-history figcaption .lj-de { display: none; }
html[lang="en"] .fam-page--long .sy-history figcaption .lj-en { display: inline; }
@media (max-width: 760px) { .fam-page--long .sy-accord-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .fam-page--long .sy-history { grid-template-columns: 1fr; } .fam-page--long .sy-history img { max-height: 340px; } }
.fam-page--long .sy-visual-grid figure { min-width: 0; margin: 0; }
.fam-page--long .sy-visual-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--ds-line, rgba(242,237,227,.12)); border-radius: var(--ds-radius-sm, 4px); }
.fam-page--long .sy-visual-grid figcaption, .fam-page--long .sy-visual-wide figcaption { margin-top: 8px; color: var(--ds-text-3); font: 400 var(--ds-fs-small, 14px)/1.45 var(--ds-font-text); }
.fam-page--long .sy-visual-grid figcaption > span, .fam-page--long .sy-visual-wide figcaption > span { display: none; }
html[lang="en"] .fam-page--long .sy-visual-grid figcaption .lj-en, html[lang="en"] .fam-page--long .sy-visual-wide figcaption .lj-en { display: inline; }
html:not([lang="en"]) .fam-page--long .sy-visual-grid figcaption .lj-de, html:not([lang="en"]) .fam-page--long .sy-visual-wide figcaption .lj-de { display: inline; }
.fam-page--long .sy-visual-wide { max-width: 920px; margin: clamp(28px, 4vw, 52px) auto clamp(36px, 5vw, 64px); }
.fam-page--long .sy-visual-wide img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid var(--ds-line, rgba(242,237,227,.12)); border-radius: var(--ds-radius-sm, 4px); }
@media (max-width: 760px) { .fam-page--long .sy-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fam-page--long .sy-visual-grid figure:last-child { grid-column: 1 / -1; } }
@media (max-width: 430px) { .fam-page--long .sy-visual-grid { grid-template-columns: 1fr; } .fam-page--long .sy-visual-grid figure:last-child { grid-column: auto; } }
.fam-page--long > .ch-kicker { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.fam-page--long > h2.page-title.ch-title { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: -0.015em; font-size: clamp(44px, 6.4vw, 96px); line-height: 1.02; margin-bottom: 22px; }
.fam-page--long > .ch-toc { margin: 0 0 clamp(40px, 5vw, 68px); padding: 22px 26px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line-2); }
.fam-page--long > .ch-toc.band-light { background: rgba(255,255,255,0.72); }
.fam-page--long .ch-toc-h { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.fam-page--long .ch-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.fam-page--long .ch-toc li { break-inside: avoid; }
.fam-page--long .ch-toc a { display: inline-block; padding: 5px 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.fam-page--long .ch-toc a:hover { color: var(--ink); border-bottom-color: var(--gold-metal); }
.fam-page--long .ch-toc a:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; border-radius: 4px; }
.fam-page--long > h2:not(.page-title) { font-family: 'Inter Tight', sans-serif; font-weight: 300; font-size: clamp(27px, 2.7vw, 40px); letter-spacing: -0.015em; color: var(--ink); margin: clamp(56px, 7vw, 96px) 0 20px; scroll-margin-top: 96px; }
.fam-page--long > h3 { font-family: 'Inter Tight', sans-serif; font-weight: 400; font-size: clamp(20px, 1.7vw, 25px); letter-spacing: -0.01em; color: var(--ink); margin: 44px 0 12px; }
.fam-page--long > p { font-size: 17.5px; line-height: 1.82; color: var(--ink-2); max-width: 64ch; margin-bottom: 18px; }
.fam-page--long > .ch-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; color: var(--ink); max-width: 60ch; margin-bottom: 32px; }
.fam-page--long > .ch-warn { padding: 18px 22px; border-radius: 12px; border-left: 2px solid #a37c2f; background: rgba(163, 124, 47,0.09); }
.fam-page--long > .ch-warn strong { color: var(--ink); font-weight: 500; }
.fam-page--long > .ch-warn.band-dark { background: rgba(163, 124, 47,0.16); border-left-color: #cca24e; }
.fam-page--long > .ch-src { font-size: 14px; line-height: 1.7; color: var(--ink-3); max-width: 64ch; margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.fam-page--long .ch-a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid rgba(214,185,121,0.5); }
.fam-page--long .ch-a:hover { color: var(--ink); border-bottom-color: var(--gold-metal); }
.fam-page--long .ch-a:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page--long > .ch-note { font-size: 14px; line-height: 1.7; color: var(--ink-3); max-width: 64ch; margin: 18px 0 0; }
.fam-page--long > .ch-accord { margin: 34px 0 44px; max-width: 960px; }
.fam-page--long > .ch-accord svg { display: block; width: 100%; height: auto; }
.fam-page--long .ch-acc-g rect { stroke-width: 1; }
.fam-page--long .ch-accord.band-light .ch-acc-g rect { fill: rgba(242, 237, 227, 0.62); stroke: rgba(21,22,26,0.18); }
.fam-page--long .ch-accord.band-dark .ch-acc-g rect { fill: rgba(242, 237, 227, 0.05); stroke: rgba(214,185,121,0.4); }
.fam-page--long .ch-acc-t text { text-anchor: middle; font-family: 'Inter Tight', sans-serif; font-size: 19px; fill: var(--ink); }
.fam-page--long .ch-acc-t text + text { font-size: 14.5px; fill: var(--ink-3); letter-spacing: 0.02em; }
.fam-page--long .ch-acc-a path { stroke: var(--gold-metal); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fam-page--long > .ch-accord figcaption { font-size: 14px; line-height: 1.7; color: var(--ink-3); margin-top: 12px; max-width: 64ch; }
.fam-page--long > .ch-cards { margin: 30px 0 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fam-page--long > .ch-fig { margin: 30px 0 34px; max-width: 720px; }
.fam-page--long > .ch-fig--portrait { max-width: 420px; }
.fam-page--long > .ch-fig img { display: block; width: 100%; height: auto; border-radius: 10px; }
.fam-page--long > .ch-fig figcaption { font-size: 14px; line-height: 1.65; color: var(--ink-3); margin-top: 12px; }
.fam-page--long > .ch-more { display: inline-block; margin: 8px 0 clamp(48px, 6vw, 80px); padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font: 500 13px/1.4 'Inter', sans-serif; letter-spacing: 0.03em; text-decoration: none; transition: border-color 0.3s, background 0.3s; }
.fam-page--long > .ch-more:hover { border-color: var(--gold-metal); background: rgba(214,185,121,0.1); }
.fam-page--long > .ch-more:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page--long > .ch-more-box { margin: 34px 0; max-width: 64ch; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 22px; }
.fam-page--long > .ch-more-box summary { cursor: pointer; padding: 16px 0; font: 500 14px/1.5 'Inter', sans-serif; letter-spacing: 0.02em; color: var(--ink); }
.fam-page--long > .ch-more-box summary:focus-visible { outline: 2px solid var(--gold-metal); outline-offset: 3px; }
.fam-page--long > .ch-more-box p { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin: 0 0 18px; }
.fam-page--long > .ch-sources { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px), (max-aspect-ratio: 21/20) {
  .fam-page--long > .ch-open img, .fam-page--long > .ch-open > .ch-open-vid, #chypre > .ch-open > .ch-open-vid { height: 46svh; object-position: 66% 50%; }
  .fam-page--long > .ch-open figcaption { position: static; margin-top: 10px; text-shadow: none; }
  .fam-page--long .ch-toc ol { columns: 1; }
  .fam-page--long > p { font-size: 17px; line-height: 1.9; }
  .fam-page--long > h2:not(.page-title) { scroll-margin-top: 72px; }
  .fam-page--long > .ch-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam-page--long > .ch-fig--portrait { max-width: 100%; }
}
.fam-page--long .ch-a + .ch-a::before { content: '·'; margin: 0 9px; color: var(--ink-3); border: 0; }
.fam-page--long .ch-accord.band-light .ch-acc-a path { stroke: #9a7a2e; stroke-width: 1.8; }
.fam-page--long .ch-acc-a path { stroke-width: 1.8; }
.fam-page--long > p { line-height: var(--lh-text); }
.fam-page--long > .ch-kicker { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; line-height: 1.4; }
.fam-page--long > .ch-kicker { color: var(--gold-ink); }
html body .fam-page--long > .ch-seq { position: relative; height: 300vh; width: 100vw; margin: var(--ds-space-7, 56px) 0 var(--ds-space-7, 56px) calc(50% - 50vw); }
.fam-page:not(.fam-page--long) > h2 { font-family: 'Inter Tight', sans-serif; font-weight: 300; font-size: clamp(27px, 2.7vw, 40px); letter-spacing: -0.015em; margin: clamp(40px, 5vw, 64px) 0 18px; color: var(--ink); }
.fam-page:not(.fam-page--long) > p { font-size: 17.5px; line-height: 1.82; color: var(--ink-2); max-width: 64ch; margin-bottom: 18px; }
section.page.fam-page--long:not(#home) > .page-title.ch-title { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: -0.015em; }
.fam-page--long .ch-fig--mol { max-width: 560px; padding: 22px 26px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,248,236,.03); }
.fam-page--long .ch-fig--mol img { border-radius: 0; }
.fam-page--long .ch-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; max-width: 960px; margin: 30px 0 34px; }
.fam-page--long .ch-pair > .ch-fig { margin: 0; max-width: none; align-self: start; }
/* Bilder im Paar behalten ihr Seitenverhältnis (die Cumarin-Formel wurde auf die Höhe des Porträts gezogen) */
.fam-page--long .ch-pair > .ch-fig img { display: block; width: 100%; height: auto; border-radius: 10px; }
.fam-page--long .ch-pair > .ch-fig--mol img { border-radius: 0; }
.fam-page--long .ch-keys { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; max-width: 960px; }
.fam-page--long .ch-keys li { display: flex; }
.fam-page--long .ch-keys .ch-key { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); font-size: 15px; line-height: 1.55; color: var(--ink-2); text-align: left; transition: border-color .2s ease, transform .2s ease; }
.fam-page--long .ch-keys .ch-key:hover { border-color: rgba(214,185,121,.55); transform: translateY(-2px); }
.fam-page--long .ch-keys .ch-key:focus-visible { outline: 2px solid var(--gold, #d6b979); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fam-page--long .ch-keys .ch-key:hover { transform: none; } }
.fam-page--long .ch-keys b { display: block; font-weight: 500; font-size: 17px; color: var(--ink); }
.fam-page--long .ch-keys .ch-key-m { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 2px 0 6px; }
.fam-page--long .ch-keys .ch-key.is-unlisted { cursor: default; border-style: dashed; }
.fam-page--long .ch-keys .ch-key.is-unlisted:hover { border-color: var(--line-2); transform: none; }
.fam-page--long .ch-keys .ch-key-x { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.fam-page--long .ch-card-sym { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,15,19,.55); border: 1px solid rgba(214,185,121,.35); }
.fam-page--long .ch-card-sym .term-material { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* Hauptmenü · Entdecken: Untermenü mit allen Duftfamilien (27.10.2026).
   Öffnet beim Überfahren von „Duftfamilien“ (Maus) oder über den Pfeilknopf (Tastatur, Touch, Handy). */
html:not([lang="en"]) header .nav-fam .lj-en, html[lang="en"] header .nav-fam .lj-de { display: none; }
html body header .nav-fam-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 0 0 -22px;
  background: none; border: 0; border-radius: 50%; color: var(--ds-text-2); cursor: pointer; align-self: center;
}
html body header .nav-fam-toggle::before {
  content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.35s var(--ease-out, ease);
}
html body header .nav-fam-toggle:hover, html body header .nav-fam-toggle[aria-expanded="true"] { color: var(--ds-gold-strong); }
html body header .nav-fam-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
html body header .nav-fam-toggle:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
html body header .nav-fam { display: none; }
html body header .nav-group.fam-open .nav-fam { display: grid; }
html body header nav .nav-menu .nav-fam .nav-link {
  font-family: var(--ds-font-text); font-size: 16px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3;
  padding: 9px 12px 9px 0; color: var(--ds-text-2); text-shadow: none; animation: none;
}
html body header nav .nav-menu .nav-fam .nav-link:hover, html body header nav .nav-menu .nav-fam .nav-link.active { color: var(--ds-gold-strong); transform: none; }
@media (min-width: 1021px) {
  html body header .nav-group.fam-open .nav-fam {
    flex: 0 0 100%; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 18px;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ds-line);
    animation: navFamIn 0.45s var(--ease-out, ease) both;
  }
}
@keyframes navFamIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1020px) {
  html body.menu-open header .nav-fam-toggle { align-self: flex-end; margin: -46px 0 0; width: 46px; height: 46px; }
  html body.menu-open header .nav-group.fam-open .nav-fam { grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 2px 0 8px 14px; border-left: 1px solid var(--ds-line); }
  html body.menu-open header nav .nav-menu .nav-fam .nav-link { font-size: 17px; min-height: 42px; padding: 6px 0; color: var(--ds-text-2); }
  html body.menu-open header nav .nav-menu .nav-fam .nav-link.active { color: var(--ds-gold-strong); }
}
@media (prefers-reduced-motion: reduce) { html body header .nav-group.fam-open .nav-fam { animation: none; } }

/* Querverweise auf Duftfamilien im Fließtext */
html body a.fam-ref { color: inherit; text-decoration: underline; text-decoration-color: rgba(199,164,92,0.55); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color 0.2s, text-decoration-color 0.2s; }
html body a.fam-ref:hover, html body a.fam-ref:focus-visible { color: var(--ds-gold-strong); text-decoration-color: currentColor; }

/* Startseite: weicher Übergang Duftreise → Filmband Goldnebel (27.10.2026, Wunsch Tobias).
   Die Duftreise blendet am Ende in den Seitengrund aus (über dem Film, unter Text und Bedienung),
   ohne runde Unterkante; danach etwas Luft, dann blendet der Goldnebel weich ein. */
html body #home > section.jr { border-radius: 0; }
html body #home > section.jr { background: linear-gradient(180deg, rgb(30,22,15) 0, #0a0a0e 220px, #0a0a0e calc(100% - 36vh), rgb(30,22,15) 100%); }
html body #home > section.jr .jr-sticky::after {
  background: linear-gradient(180deg, rgba(30,22,15,0) calc(100% - 26vh), rgba(30,22,15,.75) calc(100% - 9vh), rgb(30,22,15) 100%),
    linear-gradient(to top, rgba(8,8,12,0.3), rgba(8,8,12,0.1) 42%, rgba(8,8,12,0.34) 100%), radial-gradient(120% 100% at 50% 50%, rgba(0,0,0,0) 48%, rgba(0,0,0,0.55) 100%);
}
html body #home .lj-band-film { height: clamp(320px, 58vh, 600px); background: linear-gradient(180deg, rgb(30,22,15) 0, rgba(30,22,15,.6) 22%, rgba(30,22,15,0) 45%); }
html body #home .lj-band-vid {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 12%, rgba(0,0,0,.5) 28%, #000 46%, #000 64%, rgba(0,0,0,.5) 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, transparent 12%, rgba(0,0,0,.5) 28%, #000 46%, #000 64%, rgba(0,0,0,.5) 80%, transparent 100%);
}
/* Nach dem Goldnebel kein Rahmenstrich der Motion-Regie an der Oberkante: der Film soll ohne Kante auslaufen. */
html body #home .lj-band-film + section.motion-cinema::after { border-top: 0; }

/* ── KI-Kennzeichnung (27.10.2026) ──
   Ein Badge für alle KI-Medien: <span class="ai-label" data-ai-label="generated|modified" role="img" aria-label="KI-generiert">.
   Logo: offizielles Label „AI GENERATED“ / „AI MODIFIED“ (img/ai/), unverändert eingebunden; gezeigt wird die Pille,
   der Schutzraum der Datei liegt außerhalb. Weiß auf Anthrazit und über Filmen, schwarz auf Elfenbein. Keine Animation. */
html body .ai-label {
  display: inline-block; flex: none; box-sizing: content-box; padding: 0; margin: 0; border: 0;
  height: 1.2em; min-height: 17px; aspect-ratio: 1384.24 / 266.41; vertical-align: -0.3em;
  background: url("img/ai/ai-generated-white.svg") no-repeat 51.1% 48.04% / 129.3% auto;
  font-size: inherit; text-shadow: none; transition: none; animation: none; pointer-events: none;
}
html body .ai-label[data-ai-label="modified"] {
  aspect-ratio: 1230.56 / 266.41; background-image: url("img/ai/ai-modified-white.svg");
  background-position: 49.15% 48.04%; background-size: 138.21% auto;
}
html body :is(.ed-light, .band-light, [data-tone="ivory"]) .ai-label { background-image: url("img/ai/ai-generated-black.svg"); }
html body :is(.ed-light, .band-light, [data-tone="ivory"]) .ai-label[data-ai-label="modified"] { background-image: url("img/ai/ai-modified-black.svg"); }
/* Über Filmen und Bildern immer weiß */
html body :is(.ch-seq-note, .lj-bgfilm-ui, .stage-ui, .zr-credit, .fam-hero-cap) .ai-label { background-image: url("img/ai/ai-generated-white.svg"); }
html body :is(.ch-seq-note, .lj-bgfilm-ui, .stage-ui, .zr-credit, .fam-hero-cap) .ai-label[data-ai-label="modified"] { background-image: url("img/ai/ai-modified-white.svg"); }
html body figcaption > .ai-label { margin-left: 0.35em; }
html body :is(.ch-note, .ch-seq-note, .fam-ki-note) > .ai-label:only-child { display: block; }
@media (forced-colors: active) { html body .ai-label { forced-color-adjust: none; } }
html body .stage-ai.ai-label { margin-left: auto; }
html body .note-front .note-image-credit { background: none; padding: 0; line-height: 0; }

/* ── Sortierung in Archiv und Sammlung (28.10.2026) ── */
html body .search-bar .sort-field { position: relative; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
html body .search-bar .sort-label { font-size: var(--ds-fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
html body .search-bar .sort-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 52px; max-width: 100%;
  padding: 0 46px 0 20px; border-radius: 999px; font-family: var(--ds-font-text);
  transition: border-color var(--ds-dur-fast) ease, box-shadow var(--ds-dur) ease;
}
html body .search-bar .sort-field::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 1.5px solid var(--ds-gold); border-bottom: 1.5px solid var(--ds-gold); transform: rotate(45deg);
}
html body .coll-grid--flat { margin-top: 8px; }
@media (max-width: 640px) {
  html body .search-bar .sort-field { flex: 1 1 100%; }
  html body .search-bar .sort-select { flex: 1 1 auto; }
}

/* Wie ein Duft entsteht (29.10., Wunsch Tobias): Filme laufen über die ganze Bildschirmbreite statt im Kasten
   rechts. Ein Verlauf von links hält die Stationsliste lesbar; unten läuft der Film weich ins Anthrazit aus.
   Senkrecht zentriert über top: 50% und translateY(-50%) aus v2.css, leicht übergroß gegen den Maßstab 0,97 der Überblendung.
   Die Filme zoomen nicht per GSAP mit (motion-director.js), sonst verschiebt die Animation ihre Lage. */
html body #ed-story .ed-story-vid { left: calc(50% - 52vw); right: auto; top: 50%; width: 104vw; height: 104%; max-height: none; margin: 0; aspect-ratio: auto; border-radius: 0; object-fit: cover; -webkit-mask-image: none; mask-image: none; }
html body #ed-story .ed-story-stage::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(23,18,15,0.94) 0, rgba(23,18,15,0.82) calc(50vw - var(--maxw) / 2 + 360px), rgba(23,18,15,0.18) 68%, rgba(23,18,15,0) 100%), linear-gradient(0deg, rgba(23,18,15,0.7) 0, rgba(23,18,15,0) 26%), linear-gradient(180deg, rgba(23,18,15,0.55) 0, rgba(23,18,15,0) 18%); }
html body #ed-story .ed-story-stage .glass-cloud { display: none; }
@media (max-width: 991px), (max-aspect-ratio: 21/20) {
  html body #ed-story .ed-story-pin { grid-template-rows: 56svh 1fr; padding-top: 0; }
  html body #ed-story .ed-story-stage { height: 56svh; clip-path: inset(0 -100vw); }
  html body #ed-story .ed-story-stage::after { background: linear-gradient(0deg, var(--dark) 0, rgba(23,18,15,0) 38%), linear-gradient(180deg, rgba(23,18,15,0.6) 0, rgba(23,18,15,0) 22%); }
  html body #ed-story .ed-story-text { margin-top: -8svh; }
}

/* Prüfrunde 30.10. (Handy-Abnahme, Wunsch Tobias: hochwertiger, Filme über die ganze Breite) */
/* Abfüllungsfilm unter „Konzentrationen“ läuft randlos über die ganze Bildschirmbreite */
html body #making > .mk-film { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: 0; }
html body #making > .mk-film > video { width: 100%; height: clamp(240px, 56.25vw, 78svh); aspect-ratio: auto; border-radius: 0; }
html body #making > .mk-film > figcaption { padding: 0 max(var(--gutter), calc(50vw - var(--maxw) / 2)); }
html body #making > .mk-film > .film-play { right: max(var(--gutter), calc(50vw - var(--maxw) / 2)); }
/* Porträts liegen auf Anthrazit: Fließtext und Zwischentitel hell statt Papiertinte (waren kaum lesbar) */
html body .portrait .portrait-text h3, html body .portrait .portrait-text h4 { color: var(--ds-ivory); }
html body .portrait .portrait-text p, html body .portrait .portrait-text li, html body .portrait .portrait-text blockquote { color: var(--ds-ivory-2); }
@media (max-width: 760px) {
  /* Markenkarten ohne Bild: keine leere Fläche unter dem Namen */
  html body .brand-card.rv.card { aspect-ratio: auto; min-height: 220px; }
  /* Vier-Rohstoffe-Grafik: Schrift lesbar halten, die Grafik scrollt bei Bedarf in sich selbst */
  html body .fam-page--long > .ch-accord, html body #chypre .ch-accord { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  html body .fam-page--long > .ch-accord svg, html body #chypre .ch-accord svg { min-width: 640px; }
  /* Rohstoffkarten einspaltig, damit Namen wie SANDELHOLZ nicht mitten im Wort brechen */
  html body .fam-page--long > .ch-cards { grid-template-columns: minmax(0, 1fr); }
  /* Index der Startseite: Namen ohne Umbruch mitten im Wort */
  html body .ix-name { font-size: clamp(19px, 5.4vw, 24px); overflow-wrap: normal; word-break: normal; }
  /* KI-Hinweis der Filmbänder oben statt über der Überschrift */
  html body .lj-bgfilm-ui { top: 14px; bottom: auto; }
}
