/* ═══════════════════════════════════════════════════════════════════════
   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;

  /* Duftfamilien als Farbpunkt (Duftsuche, 03.11.2026). Holzig, Blumig, Zitrus, Frisch und Orientalisch
     wie die Stimmungen im Hero (v2.js MOODS), die übrigen gedämpft in ähnlicher Helligkeit. */
  --ds-fam-holzig: #c79a55;  --ds-fam-blumig: #e7a7bd;    --ds-fam-zitrus: #ecd06a;     --ds-fam-frisch: #93cadb;
  --ds-fam-orientalisch: #c46f3c; --ds-fam-aromatisch: #9fbf8f; --ds-fam-fruchtig: #e8897a; --ds-fam-gourmand: #a9775a;
  --ds-fam-leder: #8f6c52;   --ds-fam-wuerzig: #b8573f;   --ds-fam-moschus: #d8cfe6;    --ds-fam-chypre: #8aa26f;
  --ds-fam-rauchig: #8c8c94; --ds-fam-fougere: #6fae9a;   --ds-fam-aquatisch: #6aa3d4;  --ds-fam-tabak: #a5814f;
  --ds-fam-cremig: #efe2c4;  --ds-fam-amber: #d99a4e;     --ds-fam-gruen: #7cbf6a;      --ds-fam-synthetisch: #b9c4cc;
  --ds-fam-pudrig: #e9c9d6;  --ds-fam-tropisch: #f0a95a;  --ds-fam-suess: #f2b6a0;

  /* Bedienelemente und Karten der Bibliothek (Duftsuche) */
  --ds-control-h: 48px;
  --ds-chip-h: 40px;
  --ds-lib-card-min: 232px;
  --ds-lib-card-h: 148px;
  /* Duftsuche v2 · Choreografie des Getriebes (getriebe-motion.js liest diese Werte) */
  --ds-aeh-center-in: 900ms;  --ds-aeh-sat-in: 800ms;  --ds-aeh-stagger: 80ms;  --ds-aeh-snap: 120ms;
  --ds-aeh-pulse: 1200ms;  --ds-aeh-line: 350ms;  --ds-aeh-lift: 300ms;  --ds-aeh-hover-spin: 600ms;
  --ds-aeh-scrub: 0.6s;  --ds-aeh-pin: 180;  --ds-aeh-pin-phone: 120;   /* Pin-Länge in vh */
  /* Phase 4 · Seiten-Motion: Titelaufbau, Karten, Zähler, Chips, Schublade, Kopffilm */
  --ds-page-word: 900ms;  --ds-page-word-stagger: 60ms;  --ds-lib-in: 450ms;  --ds-lib-stagger: 40ms;
  --ds-lib-count: 600ms;  --ds-magnet: 4px;  --ds-drawer-w: 500px;  --ds-drawer-dur: 560ms;
  --ds-hero-zoom: 1.12;  --ds-hero-shade: 0.82;

  /* ── Ä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 > a.nav-solo.active, /* V4-P5: v2.css .nav-solo.active (#3d331f, zwei Klassen) gewann sonst – aktiver Einzelpunkt war auf dunklem Kopf unlesbar */
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);
}
/* R8: Forum-Film zeigt den Flakon links; gespiegelt steht er rechts neben dem Text.
   Das Spiegeln dreht auch die Maske, daher läuft der Verlauf hier mit 270deg. */
html body section.page#forum.has-stage > .page-vid {
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(270deg, 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-image: linear-gradient(270deg, 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);
}
/* R8: Porträts (helles Stillleben), Parfümerien und Marken (Flakon mittig) links stärker abdunkeln, wie R7 */
html body section.page:is(#portraits, #shops, #brands).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 .page > section.jr { border-radius: 0; }
html body .page > section.jr { background: linear-gradient(180deg, rgb(30,22,15) 0, #0a0a0e 220px, #0a0a0e calc(100% - 36vh), rgb(30,22,15) 100%); }
html body .page > 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; }
}

/* ── Duftnoten-Seite · „Ein Duft entfaltet sich“ (entfaltung.js) ──
   Bild fest im Hintergrund (sticky), sechs Textstationen laufen als normale Folge darüber.
   Weiche Überblendung der Ebenen, sehr langsamer Zoom, ein einmaliger Sprühnebel bei Kopfnote und Abschluss.
   Reduzierte Bewegung: nur Überblendung ohne Bewegung; alle Texte bleiben in der Seite lesbar. */
html body .page > .ent { position: relative; width: 100vw; margin: 0 0 var(--ds-space-section) calc(50% - 50vw); color: var(--ds-text); }
/* weicher Ein- und Auslauf ins Anthrazit der Seite, keine sichtbare Kante */
html body .page > .ent::before, html body .page > .ent::after { content: ""; position: absolute; left: 0; right: 0; height: 28svh; z-index: 1; pointer-events: none; }
html body .page > .ent::before { top: 0; background: linear-gradient(180deg, var(--ds-surface), transparent); }
html body .page > .ent::after { bottom: 0; background: linear-gradient(0deg, var(--ds-surface), transparent); }
html body .ent-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
html body .ent-media { position: absolute; inset: 0; }
html body .ent-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ds-ease); }
html body .ent-layer.is-on { opacity: 1; }
/* Grundton je Station, falls Film und Standbild fehlen oder noch laden */
html body .ent-layer[data-i="0"] { background: radial-gradient(70% 60% at 62% 58%, rgba(216, 184, 117, .16), transparent 70%), var(--ds-surface); }
html body .ent-layer[data-i="1"] { background: radial-gradient(60% 55% at 64% 42%, rgba(214, 232, 220, .16), transparent 70%), var(--ds-surface); }
html body .ent-layer[data-i="2"] { background: radial-gradient(60% 55% at 62% 50%, rgba(226, 150, 170, .16), transparent 70%), var(--ds-surface); }
html body .ent-layer[data-i="3"] { background: radial-gradient(65% 60% at 60% 62%, rgba(200, 121, 44, .2), transparent 72%), var(--ds-surface); }
html body .ent-layer[data-i="4"] { background: radial-gradient(70% 65% at 62% 50%, rgba(244, 217, 160, .2), transparent 72%), var(--ds-surface); }
html body .ent-layer[data-i="5"] { background: radial-gradient(60% 55% at 64% 48%, rgba(244, 217, 160, .14), transparent 70%), var(--ds-surface); }
html body .ent-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
html body .ent-fx--mist { position: absolute; left: 50%; top: 34%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 250, 238, .34) 0%, rgba(244, 217, 160, .14) 32%, transparent 66%); filter: blur(18px); transform: translate(-50%, -50%) scale(.4); }
html body .ent-layer.is-on .ent-fx--mist { animation: entMist 3.6s var(--ds-ease) .3s both; }
@keyframes entMist { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-46%, -58%) scale(1.25); } }
html body .ent-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(30, 22, 15, .9) 0%, rgba(30, 22, 15, .62) 34%, rgba(30, 22, 15, 0) 66%), linear-gradient(0deg, rgba(30, 22, 15, .7) 0%, rgba(30, 22, 15, 0) 30%), linear-gradient(180deg, rgba(30, 22, 15, .55) 0%, rgba(30, 22, 15, 0) 22%); }
html body .ent-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
html body .ent-ui > * { pointer-events: auto; }
html body .ent-ai { position: absolute; top: calc(var(--lj-head, 90px) + 16px); right: max(var(--gutter, 24px), calc(50vw - 640px)); }
/* Stationspunkte wie bei den anderen Scroll-Sequenzen (.jr-dot): Kreis mit Rand, aktiver Punkt gefüllt */
html body .ent-progress { position: absolute; right: max(var(--gutter, 24px), calc(50vw - 640px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
html body .ent-dot { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
html body .ent-dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 248, 234, .85); box-sizing: border-box; transition: transform var(--ds-dur) var(--ds-ease), background var(--ds-dur) var(--ds-ease); }
html body .ent-dot.is-on::before { background: #fff8ea; transform: scale(1.35); }
html body .ent-dot:hover::before { transform: scale(1.2); }
html body .ent-dot.is-on:hover::before { transform: scale(1.35); }
html body .ent-dot:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 2px; border-radius: 50%; }
html body .lj-st--ent { position: absolute; right: max(var(--gutter, 24px), calc(50vw - 640px)); bottom: calc(104px + env(safe-area-inset-bottom, 0px)); margin: 0; justify-items: end; text-align: right; max-width: 380px; }
html body .lj-st--ent .lj-st-bar { justify-content: flex-end; }
html body .lj-st--ent .lj-st-bar .lj-st-n { flex: 1 1 100%; text-align: right; }
html body .lj-st--ent .lj-st-hint, html body .lj-st--ent .lj-st-n { text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
html body .ent .film-play--ent { position: absolute; right: max(var(--gutter, 24px), calc(50vw - 640px)); left: auto; bottom: auto; top: calc(var(--lj-head, 90px) + 56px); }
/* Texte: normale Folge über dem festen Bild */
html body .ent-steps { position: relative; z-index: 2; margin-top: -100svh; pointer-events: none; }
html body .ent-step { min-height: 100svh; display: flex; align-items: center; box-sizing: border-box;
  padding: calc(var(--lj-head, 90px) + 24px) var(--gutter, 24px) 120px max(var(--gutter, 24px), calc(50vw - 640px)); }
html body .ent-card { max-width: min(620px, 46vw); pointer-events: auto; opacity: .38; transform: translateY(18px); transition: opacity 1s var(--ds-ease), transform 1.2s var(--ds-ease); }
html body .ent-step.is-current .ent-card { opacity: 1; transform: none; }
html body .ent-card .ed-eyebrow { margin: 0 0 14px; color: var(--ds-gold); }
html body .ent-card .ed-h { font-size: clamp(30px, 3.3vw, 54px); margin: 0 0 16px; color: var(--ds-text); text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
html body .ent-card p:not(.ed-eyebrow) { margin: 0; font: 400 var(--ds-fs-lead)/var(--ds-lh-lead) var(--ds-font-text); color: var(--ds-text); text-shadow: 0 1px 16px rgba(0, 0, 0, .6); }
html body .ent-card .ent-hint { margin-top: 22px; font-size: var(--ds-fs-meta); color: var(--ds-text-2); letter-spacing: .02em; }
html body .ent-card .hero-actions { justify-content: flex-start; margin-top: 22px; }
@media (max-width: 1099px) {
  html body .lj-st--ent .lj-st-bar { display: none; }
}
@media (max-width: 760px) {
  html body .ent-v { object-position: 62% 40%; }
  html body .ent-shade { background: linear-gradient(0deg, rgba(30, 22, 15, .88) 0%, rgba(30, 22, 15, .5) 46%, rgba(30, 22, 15, .2) 70%, rgba(30, 22, 15, .55) 100%); }
  html body .ent-progress { top: calc(var(--lj-head, 84px) + 10px); right: auto; left: calc(var(--gutter, 20px) - 10px); transform: none; flex-direction: row; gap: 2px; }
  html body .ent-dot { width: 44px; height: 44px; }
  html body .ent-ai { top: calc(var(--lj-head, 84px) + 66px); right: var(--gutter, 20px); }
  html body .lj-st--ent { display: none; }
  html body .ent-step { align-items: flex-end; padding: calc(var(--lj-head, 84px) + 80px) var(--gutter, 20px) calc(104px + env(safe-area-inset-bottom, 0px)); }
  html body .ent-card { max-width: none; width: 100%; padding: 20px; border-radius: var(--ds-radius); background: rgba(30, 22, 15, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: var(--ds-border); }
  html body .ent .film-play--ent { right: var(--gutter, 20px); top: calc(var(--lj-head, 84px) + 104px); }
  html body .ent-card .ed-h { font-size: clamp(26px, 7.4vw, 34px); }
}
@media (prefers-reduced-motion: reduce) {
  html body .ent-layer { transition: opacity .2s linear; }
  html body .ent-layer.is-on .ent-fx--mist { animation: none; }
  html body .ent-card { opacity: 1; transform: none; transition: none; }
}

/* ── Startseite · „Eine Nacht im Lab J“ (nacht.js) ──
   Gleicher Aufbau wie „Ein Duft entfaltet sich“ (.ent); das Bild ist hier eine scrollgesteuerte Kamerafahrt.
   Standbilder je Raum liegen darunter: sichtbar, bis der Film geladen ist, und bei reduzierter Bewegung oder Datensparen. */
html body .fahrt-still, html body .fahrt-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; }
html body .fahrt-still { transition: opacity 1.2s var(--ds-ease); }
html body .fahrt-still.is-on, html body .fahrt-v.is-on { opacity: 1; }
html body .fahrt.is-film .fahrt-still { opacity: 0; }
/* Finale: die Sammlung dauert länger (Fahrt durch den Saal und Umkreisung); die Karte bleibt dabei stehen */
html body .fahrt-step--finale { min-height: 260svh; align-items: flex-start; }
html body .fahrt-step--finale .ent-card { position: sticky; top: calc(50svh - 120px); }
@media (max-width: 760px) {
  html body .fahrt-still, html body .fahrt-v { object-position: 50% 45%; }
  html body .fahrt-step--finale .ent-card { top: auto; bottom: calc(104px + env(safe-area-inset-bottom, 0px)); margin-top: auto; }
  html body .fahrt-step--finale { align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html body .fahrt-still { transition: opacity .2s linear; }
}
/* Nacht: acht Punkte passen am Handy in eine Reihe (36 x 44 px Zielfläche, über dem WCAG-Minimum von 24 px) */
@media (max-width: 760px) { html body .nacht .ent-progress { gap: 0; } html body .nacht .ent-dot { width: 36px; } }
/* Nacht-Finale umfasst vier Fahrten (Saal, Flakon, echter Sammlungsraum, Türen öffnen sich) */
html body .nacht .fahrt-step--finale { min-height: 420svh; }
/* Duftnoten-Reise: Bildausschnitt wie die Fahrten, alte Szenenebenen entfallen */
@media (max-width: 760px) { html body #duft-entfaltung .fahrt-still, html body #duft-entfaltung .fahrt-v { object-position: 55% 50%; } }
/* Fahrten über die volle Breite: die Startseite gibt Sektionen sonst seitlichen Innenabstand */
html body #home > section.ent { padding-left: 0; padding-right: 0; }
/* Stationspunkte am linken Rand; auf der Startseite rechts neben dem Inhaltsverzeichnis (v2-toc) */
@media (min-width: 761px) {
  html body .ent-progress { right: auto; left: 24px; }
  html body #home .ent-progress { left: 60px; }
  /* Textkarten mit Abstand zu den Punkten */
  html body .ent-step { padding-left: max(96px, calc(50vw - 640px)); }
  html body #home .ent-step { padding-left: max(132px, calc(50vw - 640px)); }
}

/* ═══════════════════════════════════════════════════════════════════════
   Feinschliff 02.11.2026: ruhigere Bewegung, feinere Schrift, leichte Effekte
   Nur transform und opacity werden animiert; bei reduzierter Bewegung ist alles aus.
   ═══════════════════════════════════════════════════════════════════════ */

/* Kopfzeile: Der goldene Rand am Sammlungsknopf wanderte dauerhaft (background-position) und
   zwang die weichgezeichnete Kopfzeile in jedem Bild zum Neuzeichnen. Jetzt ruht er und schimmert
   nur unter dem Mauszeiger; der zweite, feste Rand darunter entfällt nicht, er ist der Ruhezustand. */
html body header .v2-coll-btn::before { opacity: 0; animation-play-state: paused; transition: opacity var(--ds-dur) var(--ds-ease); }
@media (hover: hover) {
  html body header .v2-coll-btn:hover::before { opacity: 1; animation-play-state: running; }
}

/* Schrift: Überschriften ausgewogen umbrechen, helle Schrift auf Dunkel fein glätten */
:is(h1, h2, h3, .page-title, .ed-h, .section-head) { text-wrap: balance; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* Am Handy trennt der Browser lange deutsche Wörter, statt Lücken in die Zeilen zu reißen */
@media (max-width: 600px) {
  .page p, .page li, .page figcaption { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 3; }
}

/* Scrollleiste im Farbton der Seite statt grauem Systembalken */
html { scrollbar-color: rgba(244, 217, 160, 0.26) var(--ds-surface); }

/* Verweise im Lesetext: die goldene Linie zieht sich beim Darüberfahren von links durch */
:is(.fam-page, #chypre) .ch-a {
  background: linear-gradient(var(--ds-gold), var(--ds-gold)) 0 100% / 0 1px no-repeat;
  background-origin: border-box;
  transition: background-size var(--ds-dur-slow) var(--ds-ease), color var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease);
}
:is(.fam-page, #chypre) .ch-a:hover { background-size: 100% 1px; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Lesefortschritt in langen Beiträgen: feine Goldlinie oben, rein über das Scrollen gesteuert, ohne Skript */
    body.on-read::after {   /* Klasse aus v2.js (showPage) statt body:has(), siehe dort */
      content: ''; position: fixed; z-index: 2999; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
      background: linear-gradient(90deg, rgba(216, 184, 117, 0.15), var(--ds-gold) 60%, var(--ds-gold-strong));
      transform-origin: 0 50%; transform: scaleX(0);
      animation: ljReadProgress linear both; animation-timeline: scroll(root block);
    }
    /* Bilder im Lesetext steigen beim Hereinscrollen leicht auf und werden dabei voll sichtbar */
    :is(.fam-page--long, #chypre) > .ch-fig img, :is(.fam-page--long, #chypre) .ch-pair > .ch-fig img {
      animation: ljDevelop linear both; animation-timeline: view(); animation-range: entry 5% cover 32%;
    }
  }
}
@keyframes ljReadProgress { to { transform: scaleX(1); } }
@keyframes ljDevelop { from { opacity: 0.2; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }

/* Heller Hero der Startseite (26.10. von Tobias gewünscht): dunkle Schrift auf Sonnenlicht.
   Lücken geschlossen: Der Zweitknopf (.ed-pill--ghost) und „Luxus.“ in hellem Gold waren auf den hellen
   Filmbildern kaum zu sehen; ein schwarzer Schatten hinter dunkler Schrift wirkte schmutzig. */
html body #home > .v2-hero .v2-hero-title { text-shadow: 0 1px 28px rgba(246, 232, 200, 0.55); }
html body #home > .v2-hero .ed-gold {
  background: linear-gradient(115deg, #6f5019 0%, #9a7230 45%, #5e4214 75%, #8a6427 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html body #home > .v2-hero .ed-pill--ghost {
  color: #3a2415; border-color: rgba(58, 36, 21, 0.5); background: rgba(246, 232, 200, 0.5);
}
html body #home > .v2-hero .ed-pill--ghost:hover { color: #2a1a0e; border-color: rgba(58, 36, 21, 0.75); background: rgba(255, 250, 240, 0.62); }
/* Am Handy steht der Text mittig unten: dort ein warmer, heller Schleier von unten statt nur von links */
@media (max-width: 760px) {
  html body #home > .v2-hero .hf-shade {
    background: linear-gradient(0deg, rgba(246, 232, 200, 0.86) 0, rgba(246, 232, 200, 0.62) 42%, rgba(246, 232, 200, 0.12) 72%, rgba(246, 232, 200, 0) 88%);
  }
}
html body #home > .v2-hero .ed-eyebrow { color: #7a5420; }

/* ── Duftet ähnlich (aehnlich3d.js, fragrance-compare.js, fragrance-search.html) ──
   Große Bühne oben in der Duftsuche: Filme in voller Breite, darüber die Zahnräder. Leer drehen sie sich von Anfang an;
   ein gewählter Duft verwandelt sie. Beschriftung als HTML (Champagner auf Anthrazit, Haarlinie in Gold zum Rad).
   Ohne WebGL bleiben Film, Bildunterschrift und die Liste im Duftprofil. */
.aeh-hero { position: relative; width: 100%; height: clamp(400px, 66svh, 700px); margin: var(--ds-space-4) 0 var(--ds-space-3); border-radius: var(--ds-radius); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 38%, var(--ds-ink-2) 0%, var(--ds-ink) 62%); border: 1px solid var(--ds-line); isolation: isolate; scroll-margin-top: 110px; }
.aeh-scene { position: absolute; inset: 0; z-index: 2; }
.aeh-stage { position: absolute; inset: 0; }
.aeh-stage.is-lost { display: none; }
.aeh-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.aeh-lines, .aeh-labels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.aeh-line { stroke: var(--ds-gold-line); stroke-width: 1; }
.aeh-label { position: absolute; left: 0; top: 0; max-width: 220px; display: flex; flex-direction: column; gap: 1px; text-align: left; pointer-events: none; cursor: pointer;
  padding: 5px 9px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-s); background: color-mix(in srgb, var(--ds-ink) 86%, transparent); color: var(--ds-text);
  font: inherit; font-size: var(--ds-fs-label); line-height: 1.3; opacity: 0; transition: opacity var(--ds-dur) var(--ds-ease), border-color var(--ds-dur-fast) var(--ds-ease); }
.aeh-label.is-in { opacity: 1; pointer-events: auto; }
.aeh-name { font-weight: 600; }
.aeh-house { color: var(--ds-text-3); }
.aeh-score { color: var(--ds-gold-strong); }
.aeh-shared { display: none; color: var(--ds-text-2); }
.aeh-label.is-hover, .aeh-label:focus-visible { border-color: var(--ds-gold); }
.aeh-label.is-hover .aeh-shared, .aeh-label:focus-visible .aeh-shared { display: block; }
.aeh-label:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
/* Bühne v2: Notenetiketten an den Zähnen (Hover/Fokus), Führungslinie feiner; Beispiel-Marke; Link in der Bildunterschrift */
.aeh-note { position: absolute; left: 0; top: 0; padding: 2px 7px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill); white-space: nowrap;
  background: color-mix(in srgb, var(--ds-ink) 88%, transparent); color: var(--ds-gold-strong); font-size: var(--ds-fs-label); line-height: 1.35; pointer-events: none; }
.aeh-note--more { color: var(--ds-text-2); }
/* Explosionsansicht: alle Noten an den Zähnen, Gold hervorgehoben, weich eingeblendet */
.aeh-note--all { padding: 1px 6px; color: var(--ds-text-2); opacity: 0; transition: opacity var(--ds-dur) var(--ds-ease); }
.aeh-note--all.is-gold { color: var(--ds-gold-strong); border-color: var(--ds-gold); }
.aeh-note--all.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .aeh-note--all { transition: none; } }
.aeh-line--note { stroke: var(--ds-gold); stroke-opacity: 0.7; }
.aeh-cap-badge { display: inline-block; margin-right: 6px; padding: 1px 8px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill);
  font-family: var(--ds-font-body); font-size: var(--ds-fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ds-gold-strong); vertical-align: middle; }
.aeh-cap a { pointer-events: auto; }
/* Phase 4 · Schublade mit dem Duftprofil: gleitet von rechts herein, Unschärfe dahinter nur am Computer.
   Oben bleibt Platz für die Kopfleiste; eigene Scrollfläche */
.fis-drawer { position: fixed; z-index: 40; will-change: transform; top: var(--fis-head, 76px); right: 0; bottom: 0; width: min(var(--ds-drawer-w), 100vw); overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--ds-space-4) var(--ds-space-6); border-left: 1px solid var(--ds-line); border-top-left-radius: var(--ds-radius);
  background: color-mix(in srgb, var(--ds-ink) 94%, transparent); box-shadow: var(--ds-shadow-2);
  transform: translateX(104%); visibility: hidden; transition: transform var(--ds-drawer-dur) var(--ds-ease), visibility 0s linear var(--ds-drawer-dur); }
.fis-drawer.is-open { transform: translateX(calc(-1 * var(--fis-shift, 0px))); visibility: visible; transition: transform var(--ds-drawer-dur) var(--ds-ease), visibility 0s; }
/* Breit (ab 1024 px): Bühne und Schublade rücken gemeinsam um --fis-shift nach links (fragrance-search.js, halber linker
   Freiraum der Bühne), so bleibt links und rechts gleich viel Platz. Nur transform; die Bühnenspalte selbst pinnt ScrollTrigger. */
.fis-drawer.is-float { border: 1px solid var(--ds-line); border-bottom: 0; border-top-right-radius: var(--ds-radius); }
.fis-col--stage > .aeh-hero { transform: translateX(calc(-1 * var(--fis-shift, 0px))); transition: transform var(--ds-drawer-dur) var(--ds-ease); }
@media (min-width: 1024px) and (hover: hover) {
  .fis-drawer { background: color-mix(in srgb, var(--ds-ink) 74%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); }
}
.fis-drawer-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-3);
  padding: var(--ds-space-3) 0; margin-bottom: var(--ds-space-2); background: inherit; border-bottom: 1px solid var(--ds-line); }
.fis-drawer-bar .fi-kicker { margin: 0; }
.fis-drawer-close, .fis-drawer-open { appearance: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill);
  background: color-mix(in srgb, var(--ds-ink) 80%, transparent); color: var(--ds-text); font: inherit; font-size: var(--ds-fs-meta); cursor: pointer;
  transition: border-color var(--ds-dur-fast) var(--ds-ease), color var(--ds-dur-fast) var(--ds-ease); }
.fis-drawer-close:hover, .fis-drawer-open:hover { border-color: var(--ds-gold); color: var(--ds-gold-strong); }
.fis-drawer-close:focus-visible, .fis-drawer-open:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
.fis-drawer-open { position: absolute; z-index: 5; top: 12px; right: 14px; }
.fis-drawer .fis-profile { border: 0; padding: 0; background: none; }
.fis-drawer .fis-profile h2:focus { outline: none; }
.fis-drawer .fis-profile h2:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
@media (max-width: 760px) { .fis-drawer { top: var(--fis-head, 64px); border-radius: 0; border-left: 0; padding: 0 var(--ds-space-3) var(--ds-space-6); } .fis-drawer-open { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: reduce) { .fis-drawer, .fis-drawer.is-open, .fis-col--stage > .aeh-hero { transition: none; } }
/* Phase 4 · Titel als Zeilenaufbau (Wörter in span, getriebe-motion.js) */
.fis-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.fis-w > span { display: inline-block; }
/* Bildunterschrift oben links: Titel, gewählter Duft, Erklärung */
.aeh-cap { position: absolute; left: 14px; top: 12px; z-index: 4; max-width: min(460px, calc(100% - 28px)); padding: 10px 14px; border-radius: var(--ds-radius-s);
  background: color-mix(in srgb, var(--ds-ink) 80%, transparent); border: 1px solid var(--ds-line); pointer-events: none; }
.aeh-cap p { margin: 0; }
.aeh-cap-title { font-family: var(--ds-font-head); font-size: var(--ds-fs-h3); color: var(--ds-gold-strong); line-height: var(--ds-lh-head); }
.aeh-cap-title strong { color: var(--ds-text); font-weight: 600; }
.aeh-cap-house { color: var(--ds-text-3); font-size: var(--ds-fs-meta); }
.aeh-cap-text { margin-top: 4px !important; font-size: var(--ds-fs-meta); color: var(--ds-text-2); line-height: var(--ds-lh-small); }
.aeh-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-3); margin: var(--ds-space-3) 0; }
.aeh-switch { display: inline-flex; gap: 0; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill); overflow: hidden; }
.aeh-view { appearance: none; border: 0; background: transparent; color: var(--ds-text-2); font: inherit; font-size: var(--ds-fs-meta); padding: 6px 16px; cursor: pointer; transition: background var(--ds-dur-fast) var(--ds-ease), color var(--ds-dur-fast) var(--ds-ease); }
.aeh-view[aria-pressed="true"] { background: var(--ds-gold); color: var(--ds-ink); }
.aeh-view:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .aeh-label { transition: none; } }
/* Handy: Bühne 62 svh, Beschriftung über und unter den Rädern, ohne Haus; Bildunterschrift kompakt */
@media (max-width: 760px) {
  .aeh-hero { height: 62svh; min-height: 380px; }
  .aeh-stage.is-narrow .aeh-house { display: none; }
  .aeh-stage.is-narrow .aeh-label.is-hover .aeh-shared { display: none; }   /* die Noten stehen dann an den Zähnen */
  .aeh-label { max-width: 62vw; }
  .aeh-cap { left: 8px; top: 8px; padding: 8px 10px; }
  .aeh-cap-title { font-size: var(--ds-fs-small); }
  .aeh-cap-text { display: none; }
  .aeh-cap-text.aeh-cap-text--key { display: block; }
}

/* ── Duftsuche · Bibliothek (Duftsuche v2 Phase 1, 03.11.2026; fragrance-search.html/.js) ──
   Alle Düfte als Raster unter Bühne und Profil, Filterleiste, aktive Filter als Chips.
   Offene Fläche mit Haarlinie, keine Karte um die Bibliothek. Noch ohne Bewegung (kommt in Phase 4). */
.fis-lib { margin: var(--ds-space-section) 0 0; }
.fis-lib-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--ds-space-4); padding: 0 0 var(--ds-space-4); border-bottom: var(--ds-border); }
.fis-lib-head .fi-kicker { margin: 0; }
.fis-lib-title { margin: var(--ds-space-2) 0 0; color: var(--ds-text); font: 400 var(--ds-fs-h2)/var(--ds-lh-head) var(--ds-font-serif); }
.fis-count { margin: 0; color: var(--ds-text-2); font: 500 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); font-variant-numeric: tabular-nums; }
.fis-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--ds-space-4); padding: var(--ds-space-5) 0 var(--ds-space-4); }
.fis-field { display: grid; gap: var(--ds-space-2); min-width: 0; color: var(--ds-text-3); font: 500 var(--ds-fs-label)/var(--ds-lh-small) var(--ds-font-text); }
.fis-field--q { flex: 1 1 320px; }
.fis-field input, .fis-field select { box-sizing: border-box; width: 100%; min-height: var(--ds-control-h); padding: 0 var(--ds-space-4); border: var(--ds-border); border-radius: var(--ds-radius-s); background: var(--ds-surface-2); color: var(--ds-text); font: 400 var(--ds-fs-input)/var(--ds-lh-small) var(--ds-font-text); }
.fis-field input::placeholder { color: var(--ds-text-3); }
.fis-field input[aria-invalid="true"] { border-color: var(--ds-burnt-amber); }
.fis-lib :focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
.fis-seg { display: inline-flex; gap: var(--ds-space-1); padding: var(--ds-space-1); border: var(--ds-border); border-radius: var(--ds-radius-pill); background: var(--ds-surface-2); }
.fis-seg-btn { min-height: calc(var(--ds-control-h) - 2 * var(--ds-space-1) - 2px); padding: 0 var(--ds-space-4); border: 0; border-radius: var(--ds-radius-pill); background: transparent; color: var(--ds-text-2); font: 500 var(--ds-fs-control)/1 var(--ds-font-text); cursor: pointer; }
.fis-seg-btn.is-on { background: var(--ds-surface-4); color: var(--ds-gold-strong); }
.fis-filter-toggle { display: none; align-items: center; gap: var(--ds-space-2); min-height: var(--ds-control-h); padding: 0 var(--ds-space-4); border: var(--ds-border); border-radius: var(--ds-radius-pill); background: var(--ds-surface-2); color: var(--ds-text); font: 500 var(--ds-fs-control)/1 var(--ds-font-text); cursor: pointer; }
.fis-filter-toggle[data-n]:not([data-n=""])::after { content: attr(data-n); display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: var(--ds-radius-pill); background: var(--ds-gold); color: var(--ds-surface); font-size: var(--ds-fs-label); }
.fis-filters { display: grid; gap: var(--ds-space-4); padding: 0 0 var(--ds-space-4); }
.fis-filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--ds-space-4); }
.fis-filter-row .fis-field { flex: 1 1 200px; }
.fis-switch { display: inline-flex; align-items: center; gap: var(--ds-space-2); min-height: var(--ds-control-h); color: var(--ds-text-2); font: 500 var(--ds-fs-control)/var(--ds-lh-small) var(--ds-font-text); cursor: pointer; }
.fis-switch input { width: 20px; height: 20px; margin: 0; accent-color: var(--ds-gold); }
.fis-switch b, .fis-chip b { color: var(--ds-text-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.fis-facet { display: grid; grid-template-columns: minmax(9rem, auto) minmax(0, 1fr); align-items: center; gap: var(--ds-space-4); }
.fis-facet-label { margin: 0; color: var(--ds-text-3); font: 600 var(--ds-fs-label)/var(--ds-lh-small) var(--ds-font-text); letter-spacing: .08em; text-transform: uppercase; }
/* Eine Zeile je Filter; bei Platzmangel seitlich scrollen */
.fis-chip-row { display: flex; gap: var(--ds-space-2); overflow-x: auto; padding: var(--ds-space-1) 0; scrollbar-width: thin; scrollbar-color: var(--ds-line-2) transparent; }
.fis-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: var(--ds-space-2); min-height: var(--ds-chip-h); padding: 0 var(--ds-space-3); border: var(--ds-border); border-radius: var(--ds-radius-pill); background: transparent; color: var(--ds-text-2); font: 500 var(--ds-fs-meta)/1 var(--ds-font-text); white-space: nowrap; cursor: pointer; transition: border-color var(--ds-dur-fast) var(--ds-ease), background-color var(--ds-dur-fast) var(--ds-ease), color var(--ds-dur-fast) var(--ds-ease); }
.fis-chip:hover { border-color: var(--ds-gold-line); color: var(--ds-text); }
.fis-chip.is-on { border-color: var(--ds-gold); background: var(--ds-surface-3); color: var(--ds-gold-strong); }
.fis-chip[aria-disabled="true"] { opacity: .45; cursor: default; }
.fis-chip[aria-disabled="true"]:hover { border-color: var(--ds-line); color: var(--ds-text-2); }
.fis-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--fis-fam, var(--ds-text-3)); }
.fis-dot[data-fam="holzig"] { --fis-fam: var(--ds-fam-holzig); }
.fis-dot[data-fam="blumig"] { --fis-fam: var(--ds-fam-blumig); }
.fis-dot[data-fam="zitrus-agrumen"] { --fis-fam: var(--ds-fam-zitrus); }
.fis-dot[data-fam="zitrus"] { --fis-fam: var(--ds-fam-zitrus); }
.fis-dot[data-fam="frisch"] { --fis-fam: var(--ds-fam-frisch); }
.fis-dot[data-fam="orientalisch"] { --fis-fam: var(--ds-fam-orientalisch); }
.fis-dot[data-fam="aromatisch"] { --fis-fam: var(--ds-fam-aromatisch); }
.fis-dot[data-fam="fruchtig"] { --fis-fam: var(--ds-fam-fruchtig); }
.fis-dot[data-fam="gourmand"] { --fis-fam: var(--ds-fam-gourmand); }
.fis-dot[data-fam="leder"] { --fis-fam: var(--ds-fam-leder); }
.fis-dot[data-fam="wuerzig"] { --fis-fam: var(--ds-fam-wuerzig); }
.fis-dot[data-fam="moschus"] { --fis-fam: var(--ds-fam-moschus); }
.fis-dot[data-fam="chypre"] { --fis-fam: var(--ds-fam-chypre); }
.fis-dot[data-fam="rauchig"] { --fis-fam: var(--ds-fam-rauchig); }
.fis-dot[data-fam="fougere"] { --fis-fam: var(--ds-fam-fougere); }
.fis-dot[data-fam="aquatisch"] { --fis-fam: var(--ds-fam-aquatisch); }
.fis-dot[data-fam="tabakartig"] { --fis-fam: var(--ds-fam-tabak); }
.fis-dot[data-fam="cremig"] { --fis-fam: var(--ds-fam-cremig); }
.fis-dot[data-fam="amber"] { --fis-fam: var(--ds-fam-amber); }
.fis-dot[data-fam="gruen"] { --fis-fam: var(--ds-fam-gruen); }
.fis-dot[data-fam="synthetisch"] { --fis-fam: var(--ds-fam-synthetisch); }
.fis-dot[data-fam="pudrig"] { --fis-fam: var(--ds-fam-pudrig); }
.fis-dot[data-fam="tropisch"] { --fis-fam: var(--ds-fam-tropisch); }
.fis-dot[data-fam="suess"] { --fis-fam: var(--ds-fam-suess); }
.fis-active { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-2) var(--ds-space-4); padding: var(--ds-space-3) 0; border-top: var(--ds-border); }
.fis-active[hidden] { display: none; }
.fis-active-list { display: flex; flex-wrap: wrap; gap: var(--ds-space-2); margin: 0; padding: 0; list-style: none; }
.fis-chip--x { border-color: var(--ds-gold-line); color: var(--ds-text); }
.fis-chip--x i { color: var(--ds-gold-strong); font-style: normal; }
.fis-reset { min-height: var(--ds-chip-h); padding: 0 var(--ds-space-2); border: 0; background: none; color: var(--ds-gold-strong); font: 500 var(--ds-fs-meta)/1 var(--ds-font-text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fis-lib .fis-status { min-height: 1.5em; margin: var(--ds-space-3) 0 0; color: var(--ds-text-2); font: 400 var(--ds-fs-small)/var(--ds-lh-small) var(--ds-font-text); }
.fis-lib .fis-retry { margin: var(--ds-space-2) 0 0; }
/* Raster: alle Düfte. content-visibility spart das Zeichnen außerhalb des Bildes, die Karten kommen in Blöcken zu 120 */
.fis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--ds-lib-card-min), 1fr)); gap: var(--ds-space-3); margin: var(--ds-space-4) 0 0; padding: 0; list-style: none; }
.fis-cell { min-width: 0; content-visibility: auto; contain-intrinsic-size: auto var(--ds-lib-card-h); }
.fis-card { position: relative; box-sizing: border-box; display: grid; align-content: start; gap: var(--ds-space-2); width: 100%; height: 100%; min-height: var(--ds-lib-card-h); padding: var(--ds-space-4); border: var(--ds-border); border-radius: var(--ds-radius-s); background: var(--ds-surface-2); color: var(--ds-text); text-align: left; font: inherit; cursor: pointer; transition: border-color var(--ds-dur-fast) var(--ds-ease), background-color var(--ds-dur-fast) var(--ds-ease); }
.fis-card:hover { border-color: var(--ds-gold-line); background: var(--ds-surface-3); }
.fis-card.is-selected { border-color: var(--ds-gold); background: var(--ds-surface-3); box-shadow: inset 0 0 0 1px var(--ds-gold); }
.fis-card-house { padding-right: var(--ds-space-6); color: var(--ds-gold-strong); font: 600 var(--ds-fs-label)/var(--ds-lh-small) var(--ds-font-text); letter-spacing: .1em; text-transform: uppercase; overflow-wrap: anywhere; }
.fis-card-name { color: var(--ds-text); font: 400 var(--ds-fs-h3)/1.12 var(--ds-font-serif); overflow-wrap: anywhere; }
.fis-card-meta { display: flex; align-items: center; gap: var(--ds-space-2); color: var(--ds-text-3); font: 400 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }
.fis-card-notes { position: absolute; top: var(--ds-space-4); right: var(--ds-space-4); color: var(--ds-gold); line-height: 0; }
.fis-card-gear { width: 18px; height: 18px; }
.fis-card-gear circle:first-child { fill: none; stroke: currentColor; stroke-width: 2.6; }
.fis-card-gear circle:last-child { fill: currentColor; }
.fis-card--ghost { cursor: default; border-style: dashed; background: transparent; }
.fis-sentinel { height: 1px; }
.fis-lib .fis-shop-note { margin: var(--ds-space-6) 0 0; color: var(--ds-text-3); font: 400 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }
@media (max-width: 760px) {
  .fis-lib { margin-top: var(--ds-space-7); }
  .fis-field--q { flex-basis: 100%; }
  .fis-filter-toggle { display: inline-flex; }
  .fis-filters { display: none; }
  .fis-filters.is-open { display: grid; }
  .fis-facet { grid-template-columns: minmax(0, 1fr); gap: var(--ds-space-2); }
}
@media (prefers-reduced-motion: reduce) { .fis-chip, .fis-card { transition: none; } }

/* ── Rechtsprüfung 05.11.2026 ─────────────────────────────────────────────
   Cookie-Hinweis (storage.js): drei gleichwertige Knöpfe auf der ersten Ebene. */
.lj-consent { position: fixed; z-index: 8000; left: var(--ds-space-4); right: var(--ds-space-4); bottom: var(--ds-space-4); max-width: 720px; margin: 0 auto;
  background: var(--ds-surface-2); color: var(--ds-text); border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-lg); box-shadow: var(--ds-shadow-2); font-family: var(--ds-font-body); }
.lj-consent[hidden] { display: none; }
.lj-consent-in { padding: var(--ds-space-5); display: grid; gap: var(--ds-space-3); max-height: calc(100vh - 48px); overflow: auto; }
.lj-consent-title { font-family: var(--ds-font-head); font-size: 20px; line-height: 1.3; margin: 0; color: var(--ds-text); }
.lj-consent-title:focus { outline: none; }
.lj-consent-title:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
.lj-consent-text { font-size: 16px; line-height: 1.55; margin: 0; color: var(--ds-text); }
.lj-consent-text a { color: var(--ds-gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.lj-consent-settings { display: grid; gap: var(--ds-space-2); }
.lj-consent-settings[hidden] { display: none; }
.lj-consent-opt { display: grid; grid-template-columns: auto 1fr; gap: var(--ds-space-2); align-items: start; font-size: 15px; line-height: 1.5; color: var(--ds-text); }
.lj-consent-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ds-gold); }
.lj-consent-actions { display: flex; flex-wrap: wrap; gap: var(--ds-space-2); }
.lj-consent-btn { flex: 1 1 160px; min-height: 44px; padding: 10px 18px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-gold); background: transparent;
  color: var(--ds-text); font: 500 15px/1.2 var(--ds-font-body); cursor: pointer; }
.lj-consent-btn:hover { background: rgba(216, 184, 117, 0.14); }
.lj-consent-btn:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
.lj-consent-btn[hidden] { display: none; }
.footer-consent { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.footer-consent:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
html:not([lang="en"]) :is(.lj-consent, .legal-bi) .lj-en, html[lang="en"] :is(.lj-consent, .legal-bi) .lj-de { display: none; }
/* Rechtstexte zweisprachig: je Sprache ein eigener Artikel */
html:not([lang="en"]) .legal[data-legal-lang="en"], html[lang="en"] .legal[data-legal-lang="de"] { display: none; }
/* Sichtbarer Tastaturfokus, wo er bisher fehlte (v2.css: Suchfeld, Sammlungskacheln) */
.v2-search .v2-search-field input:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 6px; }
.coll-tile:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 4px; }
@media (max-width: 600px) { .lj-consent { left: var(--ds-space-2); right: var(--ds-space-2); bottom: var(--ds-space-2); } .lj-consent-in { padding: var(--ds-space-4); } }
/* 05.11.2026: Am Handy verdeckten Hinweisband, Kopf und Einwilligung den ganzen ersten Bildschirm.
   Einwilligung kompakter (Annehmen und Ablehnen nebeneinander, gleich gewichtet), Hinweisband schmaler. */
@media (max-width: 600px) {
  .lj-consent-in { padding: var(--ds-space-3) var(--ds-space-4); gap: var(--ds-space-2); max-height: 62svh; }
  .lj-consent-title { font-size: 18px; }
  .lj-consent-text { font-size: 15px; line-height: 1.45; }
  .lj-consent-btn { flex: 1 1 0; min-width: 0; padding: 8px 12px; }
  .lj-consent-btn[data-consent="settings"], .lj-consent-btn[data-consent="save"] { flex-basis: 100%; }
  html body .v2-wip { font-size: 12.5px; line-height: 1.3; padding: 4px 40px 4px 12px; min-height: 0; }
}

/* Über Lab J (08.11.2026, Fassung 2): Szenen mit Hintergrundfilm, Bilder verlaufen in den Grund, Notenzeile.
   Sprache wie bei Impressum und Datenschutz. Bewegung nur einmal beim Einblenden, nie endlos; reduzierte Bewegung schaltet sie ab. */
html:not([lang="en"]) .about-text[data-about-lang="en"], html[lang="en"] .about-text[data-about-lang="de"] { display: none; }
.about-text { position: relative; padding-bottom: clamp(64px, 8vw, 104px); }
.about-wrap { width: min(100% - 2 * var(--ds-space-4, 24px), 1280px); margin-left: auto; margin-right: auto; }
.about-text p { font-size: var(--ds-fs-text); line-height: var(--ds-lh-text); color: var(--ds-text); margin: 0 0 1.1em; max-width: var(--ds-measure, 68ch); }
.about-text h2 { color: var(--ds-gold); margin: 0 0 var(--ds-space-4, 24px); }
.about-text .about-lead { font-family: var(--ds-font-serif); font-size: var(--ds-fs-lead); line-height: var(--ds-lh-lead); }
.about-text figcaption { margin-top: var(--ds-space-2, 8px); text-align: center; font-size: var(--ds-fs-meta); color: var(--ds-text-3); }

/* Bilder ohne harte Kante: der Rahmen lässt alle vier Ränder weich in das Anthrazit auslaufen; das Bild darin darf sich bewegen */
.about-frame { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-composite: intersect; }
.about-frame img { display: block; width: 100%; height: auto; }
.about-sketch { width: 100%; max-width: 600px; justify-self: center; }
.about-sketch img { opacity: .92; filter: saturate(.9); }

/* Kopf: Text links, Porträt rechts; das Porträt taucht einmal aus Sepia und Unschärfe auf, ein Goldlicht streicht darüber */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ds-space-6, 48px); align-items: center; min-height: min(calc(100svh - 120px), 860px); padding-top: var(--ds-space-5, 32px); }
.about-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.about-hero .page-title { font-size: clamp(38px, 5.2vw, 82px); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.about-hero .page-sub { color: var(--ds-text-2); }
.about-portrait { position: relative; margin: 0; }
.about-portrait img { animation: aboutPortraitIn 2.6s var(--ds-ease, ease) both; }
.about-portrait .about-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(232, 207, 143, .28) 50%, transparent 62%) 0 0 / 260% 100% no-repeat;
  animation: aboutSweep 3.4s 1.4s ease-out both; }
@keyframes aboutPortraitIn { from { opacity: 0; transform: scale(1.06); filter: blur(8px) sepia(1) brightness(.6); } to { opacity: 1; transform: none; filter: none; } }
@keyframes aboutSweep { from { background-position: 130% 0; opacity: 1; } to { background-position: -30% 0; opacity: 0; } }

/* Kapitel: Text und Bild nebeneinander, abwechselnd gespiegelt */
.about-chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: center; padding-top: clamp(56px, 7vw, 96px); }
.about-chapter.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.about-chapter.is-flip .about-media { order: -1; }
/* Fotos ragen etwas in den Randbereich hinein, damit sie groß wirken, ohne den Text zu bedrängen */
.about-chapter .about-media:not(.about-sketch) { margin-right: calc(-1 * clamp(0px, 4vw, 72px)); }
.about-chapter.is-flip .about-media:not(.about-sketch) { margin-right: 0; margin-left: calc(-1 * clamp(0px, 4vw, 72px)); }
.about-media { position: relative; margin: 0; }
@supports (animation-timeline: view()) {
  .about-media img { animation: aboutDrift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes aboutDrift { from { transform: translateY(5%) scale(1.08); } to { transform: translateY(-5%) scale(1.08); } }
}

/* Szenen: der Film läuft vollständig sichtbar im Hintergrund (volle Breite, 16:9), nur oben und unten weich auslaufend */
.about-scene { position: relative; z-index: 1; width: 100vw; margin: clamp(56px, 7vw, 96px) 0 0 calc(50% - 50vw); }
html body .about-scene .lj-band-film { width: 100%; margin: 0; height: auto; aspect-ratio: 16 / 9; max-height: 100svh; }
html body .about-scene .lj-band-vid { opacity: 1; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.about-scene-copy { position: absolute; left: 0; right: 0; bottom: 14%; pointer-events: none; }
.about-panel { pointer-events: auto; max-width: 520px; padding: var(--ds-space-5, 32px); border: 1px solid var(--ds-line); border-radius: var(--ds-radius);
  background: linear-gradient(120deg, rgba(24, 18, 12, .78), rgba(24, 18, 12, .5)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.about-panel p:last-child { margin-bottom: 0; }
.about-scene--close .about-scene-copy { bottom: auto; top: 50%; transform: translateY(-50%); }
.about-panel--close { margin-left: auto; margin-right: auto; text-align: center; max-width: 640px; }
.about-panel--close p { margin-left: auto; margin-right: auto; }
.about-close { font-family: var(--ds-font-serif); font-size: var(--ds-fs-lead) !important; line-height: var(--ds-lh-lead) !important; }
.about-sign { font-family: var(--ds-font-serif); font-style: italic; color: var(--ds-text-2) !important; }
.about-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ds-space-3, 16px); margin-top: var(--ds-space-4, 24px); }
.about-links a { text-decoration: none; }

/* Skizzen im Hintergrund: hell gezeichnete Linien auf Anthrazit (Papier wird umgekehrt und verschwindet), kaum sichtbar.
   Sie wandern nur mit dem Scrollen ein kleines Stück, keine Endlosanimation. */
.about-hero, .about-chapter { position: relative; z-index: 1; }
.about-ghosts { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.about-ghosts img { position: absolute; width: clamp(320px, 38vw, 620px); height: auto; opacity: .13; mix-blend-mode: screen;
  filter: invert(1) sepia(.7) saturate(1.4) brightness(.95) contrast(1.15);
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); }
.about-ghosts .g1 { top: 14%; left: -14%; rotate: -4deg; }
.about-ghosts .g2 { top: 33%; right: -12%; rotate: 3deg; }
.about-ghosts .g3 { top: 60%; left: -12%; rotate: 6deg; scale: -1 1; }
.about-ghosts .g4 { top: 80%; right: -8%; rotate: -2deg; width: clamp(280px, 30vw, 500px); }
@supports (animation-timeline: view()) {
  .about-ghosts img { animation: aboutGhost linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .about-ghosts .g2, .about-ghosts .g4 { animation-direction: reverse; }
  @keyframes aboutGhost { from { transform: translate(-3vw, 6vh) rotate(-1.5deg); } to { transform: translate(3vw, -6vh) rotate(1.5deg); } }
}

/* Notenzeile: Linien zeichnen sich, die Noten setzen nacheinander ein, aus dem Akkord steigt eine Duftlinie */
.about-staff { display: block; width: 100%; max-width: 560px; margin-top: var(--ds-space-5, 32px); overflow: visible; }
.about-staff .st-line { stroke: var(--ds-gold-line); stroke-width: 1; fill: none; stroke-dasharray: 620; stroke-dashoffset: 620; }
.about-staff .st-note { opacity: 0; transform: translateY(8px); transform-box: fill-box; }
.about-staff .st-note ellipse { fill: var(--ds-gold); }
.about-staff .st-note path { stroke: var(--ds-gold); stroke-width: 1.4; fill: none; }
.about-staff text { fill: var(--ds-text-2); font: 500 13px/1 var(--ds-font-text); letter-spacing: .08em; text-anchor: middle; text-transform: uppercase; }
.about-staff .st-scent { fill: none; stroke: var(--ds-gold); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; opacity: .8; }
.about-staff.in .st-line { animation: aboutDraw 1.4s var(--ds-ease, ease) forwards; }
.about-staff.in .st-note { animation: aboutNote .7s var(--ds-ease, ease) forwards; animation-delay: calc(1s + var(--i) * .45s); }
.about-staff.in .st-scent { animation: aboutDraw 1.6s ease-out 2.9s forwards; }
@keyframes aboutDraw { to { stroke-dashoffset: 0; } }
@keyframes aboutNote { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .about-portrait img, .about-portrait .about-frame::after, .about-media img, .about-ghosts img { animation: none !important; }
  .about-portrait .about-frame::after { display: none; }
  .about-staff .st-line, .about-staff .st-scent { stroke-dashoffset: 0; }
  .about-staff .st-note { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .about-hero, .about-chapter { grid-template-columns: 1fr; gap: var(--ds-space-5, 32px); }
  .about-hero { min-height: 0; }
  .about-hero .about-portrait { order: -1; max-width: 520px; }
  .about-chapter.is-flip .about-media { order: 0; }
  .about-chapter, .about-chapter.is-flip { grid-template-columns: 1fr; padding-top: var(--ds-space-7, 64px); }
  .about-chapter .about-media:not(.about-sketch), .about-chapter.is-flip .about-media:not(.about-sketch) { margin-left: calc(-1 * var(--ds-space-4, 24px)); margin-right: calc(-1 * var(--ds-space-4, 24px)); }
  .about-ghosts img { width: 300px; opacity: .09; }
  .about-scene-copy, .about-scene--close .about-scene-copy { position: relative; bottom: auto; top: auto; transform: none; margin-top: calc(-1 * var(--ds-space-6, 48px)); }
}

/* ════════════════════════════════════════════════════════════════════════════
   Neuaufbau V3 (08.11.2026): Menü nach Aufgaben, Fuß, Hero-Zweck, Zitatband.
   Alle Werte aus den --ds-Variablen; Tippziele mindestens 44 px.
   ════════════════════════════════════════════════════════════════════════════ */
html:not([lang="en"]) .v3-en, html[lang="en"] .v3-de { display: none !important; }
.fis-dot[data-fam="clean-scents"] { --fis-fam: var(--ds-fam-pudrig); }

/* ── Menü: Erklärzeile je Gruppe, Einstiegseintrag ── */
html body header nav .nav-menu .nav-menu-lead {
  flex: 0 0 100%; margin: 0 0 var(--ds-space-2); padding: 0;
  font: 400 var(--ds-fs-small)/1.45 var(--ds-font-text); color: var(--ds-text-2); letter-spacing: 0;
}
html body header nav .nav-menu .nav-link--lead { color: var(--ds-gold-strong); }
html body header nav > a.nav-solo { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1020px) {
  /* Handy: Menü deckt voll, scrollt selbst, Einträge mindestens 44 px, Gruppentitel 48 px */
  html body.menu-open nav, html body.menu-open header nav {
    background: var(--ds-surface) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }
  html body.menu-open nav .nav-group .nav-group-btn { min-height: 48px; }
  html body.menu-open nav .nav-menu .nav-link { min-height: 44px; }
  html body.menu-open nav .nav-menu .nav-menu-lead { margin: 2px 0 6px; font-size: var(--ds-fs-small); }
  html body.menu-open nav > a.nav-solo { display: flex; min-height: 48px; padding: 0; border-bottom: 1px solid var(--ds-line);
    font: 600 14px/1 var(--ds-font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ds-text-2); }
}
/* Kopf am Handy: Wortmarke und Symbole berühren sich nicht */
@media (max-width: 480px) {
  html body header .logo-main { font-size: 17px; letter-spacing: 0.06em; }
  html body header .logo-mark { width: 26px; height: 28px; }
  html body header .v2-tools { gap: 2px; }
  html body header .v2-tools .v2-icon-btn { width: 44px; height: 44px; }
}
@media (max-width: 360px) { html body header .logo-main { font-size: 15px; letter-spacing: 0.04em; } }

/* ── Hero: Zweck statt Motto ── */
.v2-hero .v3-hero-title { text-wrap: balance; }
.v2-hero .v3-hero-lead {
  max-width: 34em; margin: var(--ds-space-4) 0 0; padding: 0;
  font: 400 var(--ds-fs-body, 18px)/1.55 var(--ds-font-text); color: inherit;
}
.v2-hero .v3-hero-actions { margin-top: var(--ds-space-5); }
.v2-hero .v3-hero-stats {
  margin: var(--ds-space-4) 0 0; padding: 0; max-width: 40em;
  font: 500 var(--ds-fs-meta)/1.5 var(--ds-font-text); letter-spacing: 0.02em; opacity: 0.92;
}

/* ── Zitatband: ruhig, Instrument Serif, kein Film ── */
.v3-quote { position: relative; z-index: 2; padding: var(--ds-space-8) var(--gutter, 24px); background: var(--ds-surface); border-top: 1px solid var(--ds-line); border-bottom: 1px solid var(--ds-line); }
.v3-quote-in { max-width: 820px; margin: 0 auto; }
.v3-quote-k { margin: 0 0 var(--ds-space-3); font: 500 13px/1 var(--ds-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ds-gold); }
.v3-quote-q { margin: 0; padding: 0; border: 0; }
.v3-quote-q p { margin: 0 0 var(--ds-space-3); font: 400 var(--ds-fs-body, 18px)/1.6 var(--ds-font-text); color: var(--ds-text-2); max-width: 40em; }
.v3-quote-q .v3-quote-h { margin-bottom: var(--ds-space-5); font: 400 clamp(34px, 5vw, 60px)/1.05 var(--ds-font-serif); color: var(--ds-text); letter-spacing: 0; }

/* ── Sammlung: Lead und Zählzeile ── */
.cf-copy .cf-meta { margin: var(--ds-space-2) 0 0; font: 400 var(--ds-fs-meta)/1.5 var(--ds-font-text); color: var(--ds-text-2); max-width: 46em; }

/* ── Fuß: drei Spalten am Computer, untereinander am Handy ── */
html body footer.v3-foot { padding-top: clamp(48px, 6vw, 96px); }
.v3-foot-cols { position: relative; z-index: 1; max-width: var(--maxw, 1240px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-7); }
.v3-foot-h { margin: 0 0 var(--ds-space-3); font: 600 13px/1.2 var(--ds-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ds-gold); }
.v3-foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.v3-foot-list a, .v3-foot-list button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 400 var(--ds-fs-small)/1.3 var(--ds-font-text); color: var(--ds-text); text-decoration: none;
}
.v3-foot-list a:hover, .v3-foot-list button:hover { color: var(--ds-gold-strong); }
.v3-foot-list a:focus-visible, .v3-foot-list button:focus-visible, .v3-motion:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
.v3-foot-note, .v3-foot-news { margin: var(--ds-space-2) 0 0; font: 400 var(--ds-fs-meta)/1.5 var(--ds-font-text); color: var(--ds-text-2); }
.v3-foot-news a { color: var(--ds-text); }
.v3-foot-set { display: grid; gap: var(--ds-space-3); margin-top: var(--ds-space-4); }
.v3-foot-lang { display: flex; gap: var(--ds-space-2); }
html body footer .v3-foot-lang .lang-btn { min-height: 44px; min-width: 64px; padding: 0 var(--ds-space-4); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-pill); background: transparent; color: var(--ds-text-2); font: 500 var(--ds-fs-meta)/1 var(--ds-font-text); }
html body footer .v3-foot-lang .lang-btn.active { border-color: var(--ds-gold-line); color: var(--ds-gold-strong); }
.v3-motion { display: inline-flex; align-items: center; gap: var(--ds-space-3); min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ds-text); font: 400 var(--ds-fs-small)/1.3 var(--ds-font-text); text-align: left; }
.v3-motion-track { position: relative; flex: 0 0 auto; width: 44px; height: 26px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-gold-line); background: rgba(246, 240, 228, 0.06); transition: background-color 0.2s; }
.v3-motion-track i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ds-text-2); transition: transform 0.2s; }
.v3-motion[aria-checked="true"] .v3-motion-track { background: rgba(216, 184, 117, 0.35); }
.v3-motion[aria-checked="true"] .v3-motion-track i { transform: translateX(18px); background: var(--ds-gold-strong); }
.v3-foot-base { position: relative; z-index: 1; max-width: var(--maxw, 1240px); margin: var(--ds-space-7) auto 0; padding-top: var(--ds-space-5); border-top: 1px solid var(--ds-line); display: grid; gap: var(--ds-space-2); }
.v3-foot-mark { margin: 0; font: 400 clamp(26px, 3vw, 36px)/1.1 var(--ds-font-serif); color: var(--ds-text); letter-spacing: 0.04em; }
.v3-foot-what { margin: 0; max-width: 46em; font: 400 var(--ds-fs-small)/1.55 var(--ds-font-text); color: var(--ds-text-2); }
.v3-foot-copy { margin: 0; font: 400 var(--ds-fs-meta)/1.4 var(--ds-font-text); color: var(--ds-text-2); }
@media (max-width: 760px) {
  .v3-foot-cols { grid-template-columns: 1fr; gap: var(--ds-space-6); }
}

/* ── „Bewegung reduzieren“ (Schalter im Fuß, LJStorage lj-motion-v1) ── */
html.lj-calm *, html.lj-calm *::before, html.lj-calm *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
html.lj-calm .v2-hero-words, html.lj-calm .lj-particles, html.lj-calm .v2-cursor { display: none !important; }

/* ── Sammlung: „Mein Duftregal“ ── */
.v3-shelf { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-2) var(--ds-space-3); max-width: var(--maxw, 1240px); margin: var(--ds-space-6) auto var(--ds-space-4); padding: 0 var(--gutter, 24px); }
.v3-shelf-k { font: 600 13px/1.2 var(--ds-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ds-gold); margin-right: var(--ds-space-2); }
.v3-shelf .ed-pill { min-height: 44px; }
.v3-shelf-note { font: 400 var(--ds-fs-meta)/1.4 var(--ds-font-text); color: var(--ds-text-2); }

/* ── P2: Verteilerseite „Finde deinen perfekten Duft“ (drei Wege) ──
   Werkzeugseite: Titel kleiner als die Display-Rolle, damit die drei Wege im ersten Bildschirm beginnen. */
section.page#finden > .page-title { font-size: clamp(38px, 4.6vw, 68px); }   /* schlägt section.page:not(#home) > .page-title */
.v3-ways { list-style: none; margin: var(--ds-space-6) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-4); max-width: var(--maxw, 1240px); }
.v3-way { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ds-space-3); padding: var(--ds-pad-card); background: rgba(255, 255, 255, 0.035); border: var(--ds-border); border-radius: var(--ds-radius); }
.v3-way-img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; border: 1px solid var(--ds-gold-line); background: rgba(0, 0, 0, 0.25); }
.v3-way-h { margin: 0; font: 600 clamp(21px, 1.7vw, 26px)/1.2 var(--ds-font-head); color: var(--ds-text); }
.v3-way-p { margin: 0; flex: 1; font: 400 var(--ds-fs-small)/var(--ds-lh-small) var(--ds-font-text); color: var(--ds-text-2); }
.v3-way-btn { min-height: var(--ds-control-h); margin-top: var(--ds-space-2); }
.v3-finden-more { margin: var(--ds-space-5) auto 0; max-width: var(--maxw, 1240px); font: 400 var(--ds-fs-small)/1.5 var(--ds-font-text); color: var(--ds-text-2); }
.v3-finden-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ds-gold); text-underline-offset: 4px; }
@media (max-width: 860px) { .v3-ways { grid-template-columns: 1fr; } }

/* Rücksprung „← Duft finden“ auf den vier Zielseiten (finden.js) */
.v3-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 var(--ds-space-2); padding: 0 4px; font: 500 var(--ds-fs-meta)/1 var(--ds-font-text); color: var(--ds-gold); text-decoration: none; }
.v3-back:hover, .v3-back:focus-visible { color: var(--ds-gold-strong); text-decoration: underline; text-underline-offset: 4px; }

/* Hinweis auf der alten Seite „Was trage ich heute?“ */
.v3-moved { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-3); margin: var(--ds-space-4) 0 var(--ds-space-5); padding: var(--ds-space-3) var(--ds-pad-card); border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-s); background: rgba(216, 184, 117, 0.07); }
.v3-moved p { margin: 0; flex: 1 1 16em; font: 500 var(--ds-fs-small)/1.45 var(--ds-font-text); color: var(--ds-text); }
.v3-moved .btn { min-height: 44px; }

/* ── P2: Duftberater V3 (sechs Fragen, Feinschliff, Weiterwege) ──
   Fragenkarte dunkel statt Elfenbein-Glas (Kontrast), Antworten als dunkle Kacheln, gewählt mit Goldrand. */
#advisor .advisor-question { background: linear-gradient(160deg, var(--ds-surface-3), var(--ds-surface)); border: var(--ds-border); box-shadow: var(--ds-shadow-1); color: var(--ds-text); }
#advisor .advisor-question h2 { color: var(--ds-text); font-size: clamp(28px, 3.4vw, 50px); }
#advisor .advisor-question > p { margin: var(--ds-space-3) 0 0; max-width: 46em; font: 400 var(--ds-fs-small)/1.5 var(--ds-font-text); color: var(--ds-text-2); }
#advisor .advisor-qnum { color: var(--ds-gold); opacity: 0.35; }
#advisor .advisor-progress { color: var(--ds-text-2); }
#advisor .advisor-options { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-top: clamp(20px, 3vw, 36px); }
#advisor .advisor-option { min-height: 88px; justify-content: center; gap: 6px; padding: 16px 18px; color: var(--ds-text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-s); }
#advisor .advisor-option:hover { transform: none; border-color: var(--ds-gold-line); background: rgba(255, 255, 255, 0.07); }
#advisor .advisor-option:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 2px; }
#advisor .advisor-option span { font: 600 var(--ds-fs-control)/1.3 var(--ds-font-text); }
#advisor .advisor-option small { position: static; padding: 0; border-radius: 0; background: none; text-transform: none; letter-spacing: 0; font: 400 15px/1.4 var(--ds-font-text); color: var(--ds-text-3); }
#advisor .advisor-option.is-selected { color: var(--ds-text); border-color: var(--ds-gold); background: rgba(216, 184, 117, 0.14); box-shadow: inset 0 0 0 1px var(--ds-gold); }
#advisor .advisor-option.is-selected::after { content: '✓'; position: absolute; top: 10px; right: 12px; font: 600 15px/1 var(--ds-font-text); color: var(--ds-gold); }
#advisor .advisor-option.has-img { flex-direction: row; align-items: center; gap: 14px; }
#advisor .advisor-option.has-img img { flex: 0 0 auto; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 1px solid var(--ds-gold-line); }
#advisor .advisor-options--scale { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#advisor .advisor-scale-ends { display: flex; justify-content: space-between; gap: var(--ds-space-4); margin: var(--ds-space-4) 0 0; font: 500 15px/1.4 var(--ds-font-text); color: var(--ds-gold); }
#advisor .advisor-follow { margin-top: var(--ds-space-6); padding-top: var(--ds-space-5); border-top: 1px solid var(--ds-line); }
#advisor .advisor-follow h3 { margin: 0; font: 600 20px/1.3 var(--ds-font-head); color: var(--ds-text); }
#advisor .advisor-options--follow { margin-top: var(--ds-space-4); }
#advisor .advisor-actions > span { color: var(--ds-text-3); }
#advisor .advisor-back { min-height: 48px; padding: 0 18px; color: var(--ds-text); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-pill); font: 500 15px/1 var(--ds-font-text); letter-spacing: 0.02em; text-transform: none; }
#advisor .advisor-back:disabled { opacity: 0.35; }
#advisor #advisor-next { min-height: 48px; }
#advisor #advisor-next:disabled { opacity: 0.38; filter: grayscale(1); cursor: not-allowed; box-shadow: none; }
@media (max-width: 760px) {
  #advisor .advisor-options--scale { grid-template-columns: 1fr; }
  #advisor .advisor-question { padding: 22px 16px; }
  /* Feste Fußleiste mit Zurück und Weiter; Frage und Antworten scrollen darüber */
  #advisor .advisor-actions--bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; margin: 0; gap: var(--ds-space-3);
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(30, 22, 15, 0.97); border-top: 1px solid var(--ds-gold-line); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.8); }
  #advisor .advisor-actions--bar > span { font-size: 13.5px; }
  #advisor .advisor-shell { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  /* pageFade (fill-mode both) bleibt als Transform-Animation wirksam; Chrome macht die Seite dann zum Bezugsrahmen
     für fixed, auch wenn transform überschrieben ist. Am Handy blendet der Berater daher ohne pageFade ein. */
  section.page#advisor { animation: none !important; transform: none !important; }
  html.lj-adv-q .v2-toc-fab, html.lj-adv-q .v2-top, html.lj-adv-q .hf-snd { display: none; }
}

/* Ergebnis: Erklärsatz, Weiterwege als Knopfreihe unter jedem Treffer */
#advisor .advisor-result { display: flex; flex-direction: column; }
#advisor .advisor-result-main { flex: 1; }
#advisor .advisor-acts { display: flex; flex-wrap: wrap; gap: var(--ds-space-2); padding: 0 var(--ds-pad-card) var(--ds-pad-card); }
#advisor .advisor-acts .wz-btn { min-height: 44px; padding: 0 14px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill); background: transparent; color: var(--ds-text); font: 500 15px/1 var(--ds-font-text); cursor: pointer; }
#advisor .advisor-acts .wz-btn:hover, #advisor .advisor-acts .wz-btn:focus-visible { background: rgba(216, 184, 117, 0.14); color: var(--ds-gold-strong); }

/* Feinschliff (zugeklappt) */
#advisor .advisor-fine { margin-top: var(--ds-space-7); border: var(--ds-border); border-radius: var(--ds-radius); background: rgba(255, 255, 255, 0.025); }
#advisor .advisor-fine > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; min-height: 56px; padding: var(--ds-space-4) var(--ds-pad-card); cursor: pointer; list-style: none; }
#advisor .advisor-fine > summary::-webkit-details-marker { display: none; }
#advisor .advisor-fine > summary::after { content: '+'; margin-left: auto; font: 300 28px/1 var(--ds-font-text); color: var(--ds-gold); }
#advisor .advisor-fine[open] > summary::after { content: '–'; }
#advisor .advisor-fine-h { font: 600 clamp(22px, 2vw, 28px)/1.2 var(--ds-font-head); color: var(--ds-text); }
#advisor .advisor-fine-sub { font: 400 var(--ds-fs-small)/1.4 var(--ds-font-text); color: var(--ds-text-2); }
#advisor .advisor-fine-quick, #advisor .advisor-fine-q { margin: 0; padding: var(--ds-space-5) var(--ds-pad-card); border: 0; border-top: 1px solid var(--ds-line); }
#advisor .advisor-fine-quick h3, #advisor .advisor-fine-q legend { padding: 0; margin: 0 0 var(--ds-space-2); font: 600 19px/1.3 var(--ds-font-head); color: var(--ds-text); }
#advisor .advisor-fine-q legend { float: left; width: 100%; }
#advisor .advisor-fine-hint { clear: both; margin: 0 0 var(--ds-space-3); font: 400 15px/1.4 var(--ds-font-text); color: var(--ds-text-3); }
#advisor .advisor-fine-count { min-height: 1.4em; margin: var(--ds-space-2) 0 0; font: 400 14px/1.4 var(--ds-font-text); color: var(--ds-text-3); }
#advisor .advisor-feedback { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: var(--ds-space-2); }
#advisor .advisor-feedback button { min-height: 44px; padding: 0 16px; color: var(--ds-text); background: transparent; border: 1px solid var(--ds-line); }
#advisor .advisor-chips { clear: both; display: flex; flex-wrap: wrap; gap: var(--ds-space-2); }
#advisor .advisor-chips--info { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
#advisor .advisor-chip { min-height: 44px; padding: 10px 14px; border-radius: var(--ds-radius-s); }
#advisor .advisor-chips:not(.advisor-chips--info) .advisor-chip { justify-content: center; border-radius: var(--ds-radius-pill); padding: 0 16px; }
#advisor .advisor-chip.is-selected::after { top: 8px; right: 10px; }
#advisor .advisor-chips:not(.advisor-chips--info) .advisor-chip.is-selected { padding-right: 32px; }

/* ── P3: Startseite in sechs Abschnitten ── */
.v3-home-find .ed-wrap, .v3-home-archive .ed-wrap { max-width: var(--maxw, 1240px); margin: 0 auto; }
.v3-home-find .ed-h { margin: var(--ds-space-2) 0 0; }
.v3-ways--compact { margin-top: var(--ds-space-5); }
.v3-ways--compact .v3-way { gap: var(--ds-space-2); }
.v3-ways--compact .v3-way-img { width: 64px; height: 64px; }
.v3-ways--compact .v3-way-h { font-size: clamp(19px, 1.4vw, 22px); }
.v3-arch-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.v3-arch-copy { display: grid; gap: var(--ds-space-4); justify-items: start; }
.v3-arch-copy .ed-h { margin: 0; }
.v3-arch-copy .v3-hero-stats { margin: 0; }
.v3-home-search { display: flex; align-items: center; gap: 12px; width: min(100%, 520px); min-height: 52px; padding: 0 18px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill); background: rgba(255, 255, 255, 0.04); color: var(--ds-text-2); font: 400 var(--ds-fs-input)/1.2 var(--ds-font-text); text-align: left; cursor: text; }
.v3-home-search svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ds-gold); }
.v3-home-search:hover, .v3-home-search:focus-visible { border-color: var(--ds-gold); color: var(--ds-text); }
.v3-arch-globe { justify-self: center; width: min(100%, 320px); }
@media (max-width: 760px) {
  .v3-arch-layout { grid-template-columns: 1fr; }
  .v3-arch-globe { width: min(70%, 240px); }
}
/* Eine Nacht im Lab J: am Handy nur Standbilder, daher ohne Film-Knopf */
@media (max-width: 899px) { #lj-nacht .film-play--ent { display: none; } }
/* P3 · Startseite am Handy unter 9.000 px: Nacht-Stationen ohne Film brauchen keine volle Bildschirmhöhe,
   die drei Wege stehen kompakt mit Bild neben dem Titel. */
@media (max-width: 899px) {
  html body #lj-nacht .ent-step, html body #lj-nacht .fahrt-step--finale { min-height: 64svh; padding-top: var(--ds-space-5); }
  html body #lj-nacht .fahrt-step--finale .ent-card { position: static; }
}
@media (max-width: 760px) {
  .v3-ways--compact .v3-way { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--ds-space-3); row-gap: var(--ds-space-1); align-items: center; padding: var(--ds-space-4); }
  .v3-ways--compact .v3-way-img { width: 56px; height: 56px; grid-row: 1 / span 2; }
  .v3-ways--compact .v3-way-p { grid-column: 2; }
  .v3-ways--compact .v3-way-btn { grid-column: 1 / -1; justify-self: stretch; margin-top: var(--ds-space-2); }
}
/* P3 · Hero am Handy: Platz unter der Zahlenzeile für Inhaltsknopf und Tonschalter (unten links, fixiert) */
@media (max-width: 760px) { #v2-hero .v2-hero-copy { padding-bottom: 76px; } }
.v3-way-btn { text-decoration: none; }

/* ═══ V3 P4 (08.11.2026): Duftwelten mit Handlung oben ═══ */
/* Familienkasten über dem Lesetext (duftwelten.js) */
.v3-famkasten { margin: var(--ds-space-4) 0 var(--ds-space-6); padding: var(--ds-pad-card); max-width: var(--ds-measure); background: var(--ds-surface-2); border: 1px solid var(--ds-line); border-left: 2px solid var(--ds-gold-line); border-radius: var(--ds-radius); }
.v3-famkasten p { margin: 0 0 var(--ds-space-2); }
.v3-famkasten-short { font-size: var(--ds-fs-lead); line-height: var(--ds-lh-lead); color: var(--ds-text); }
.v3-famkasten-notes { color: var(--ds-text-2); }
.v3-famkasten-k { display: block; font-size: var(--ds-fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-gold); }
.v3-famkasten-btn { margin-top: var(--ds-space-3); text-decoration: none; }
/* Familienseiten am Handy: Bild kleiner, damit der Kasten mit Knopf im ersten Bildschirm steht */
@media (max-width: 760px) {
  .fam-page > .fam-fig img { max-height: 150px; width: 100%; object-fit: cover; }
  html body .fam-page--long > .ch-open img, html body .fam-page--long > .ch-open > .ch-open-vid, html body #chypre > .ch-open img, html body #chypre > .ch-open > .ch-open-vid { height: 22svh; object-fit: cover; }
  html body .fam-page--long > .ch-open { margin-bottom: var(--ds-space-4); }
  .v3-famkasten { margin: var(--ds-space-3) 0 var(--ds-space-5); padding: var(--ds-space-3); }
  .v3-famkasten-k { display: inline; margin-right: 6px; }
  .v3-famkasten-btn { margin-top: var(--ds-space-2); }
}
/* Notenlexikon: Buchstabenleiste und Aufklapper für die Filmszene */
.v3-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--ds-space-3) 0 var(--ds-space-4); }
.v3-letter { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius-s); background: var(--ds-surface); color: var(--ds-text-2); font: 500 var(--ds-fs-control) / 1 var(--ds-font-text); cursor: pointer; }
.v3-letter:hover { border-color: var(--ds-gold-line); color: var(--ds-text); }
.v3-letter.is-on { border-color: var(--ds-gold); color: var(--ds-gold-strong); }
.v3-letter:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
.v3-ent-wrap { margin: var(--ds-space-7) 0 0; }
.v3-ent-wrap > summary { list-style: none; cursor: pointer; display: inline-flex; }
.v3-ent-wrap > summary::-webkit-details-marker { display: none; }
.v3-ent-wrap[open] > summary { margin-bottom: var(--ds-space-4); }
/* Duftnotenrad am Handy: Standbild mit „Rad öffnen“, Vollbild mit eigenem Schließen */
.v3-wheel-open, .v3-wheel-close { display: none; }
@media (max-width: 760px) {
  html body section.page.fi-wheel-page > .fi-hero { min-height: 0; padding-top: 84px; padding-bottom: 20px; margin-bottom: var(--ds-space-4); }
  html body .fi-wheel-page > .fi-hero .page-title { margin-bottom: 10px; }
  html body .fi-wheel-page > .fi-hero .fi-hero-cta { margin-top: 12px; }
  .fi-wheel-page .fi-stage-title { margin-top: 0; }
  .fi-wheel-layout:not(.is-full) { position: relative; }
  .fi-wheel-layout:not(.is-full) .fi-wheel-visual { max-height: 320px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .fi-wheel-layout:not(.is-full) .v3-wheel-open { display: inline-flex; position: relative; z-index: 2; margin: calc(-1 * var(--ds-space-6)) auto var(--ds-space-4); }
  .fi-wheel-layout.is-full { position: fixed; inset: 0; z-index: 100000; overflow: auto; padding: 64px var(--ds-space-3) var(--ds-space-5); background: var(--ds-ink); }
  .fi-wheel-layout.is-full .v3-wheel-close { display: inline-flex; align-items: center; position: fixed; top: 12px; right: 12px; z-index: 2; min-height: 44px; padding: 0 18px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill); background: var(--ds-surface-2); color: var(--ds-text); font: 500 var(--ds-fs-control) / 1 var(--ds-font-text); cursor: pointer; }
  html.lj-wheel-full, html.lj-wheel-full body { overflow: hidden; }
  /* pageFade (fill-mode both) macht die Seite sonst zum Bezugsrahmen für position: fixed (vgl. #advisor in P2) */
  html.lj-wheel-full section.page#fragrance-wheel { animation: none !important; transform: none !important; }
  html.lj-wheel-full #fragrance-wheel .fi-stage { transform: none; margin-left: 0; }   /* translateX(-50%) wäre sonst Bezugsrahmen */
  html.lj-wheel-full .v2-toc-fab, html.lj-wheel-full #v2-top, html.lj-wheel-full .hf-snd, html.lj-wheel-full body > header { display: none !important; }
}
/* Duftsuche: Bibliothek oben; Bühne erst nach „Ähnliche zeigen“; der Film vor der Bibliothek entfällt */
.fis-shell.v3-stage-wait { display: none; }
.fi-search-page > .fis-band:not(.fis-band--end) { display: none; }
.v3-show-similar { margin-left: auto; margin-right: var(--ds-space-2); }
.v3-show-similar[hidden] { display: none; }
@media (max-width: 760px) {
  html body section.page.fi-search-page > .fis-hero { min-height: 0; padding-top: 92px; padding-bottom: 24px; }
  /* Treffernamen als Liste unter dem Rad (aehnlich3d.js verschiebt .aeh-labels), keine Beschriftung auf den Zähnen */
  .aeh-labels.aeh-labels--list { position: static; inset: auto; height: auto; display: flex; flex-direction: column; gap: var(--ds-space-2); margin: var(--ds-space-3) 0 var(--ds-space-5); pointer-events: auto; }
  .aeh-labels--list .aeh-label { position: static; transform: none !important; max-width: none; width: 100%; min-height: 44px; }
  .aeh-labels--list .aeh-note { display: none; }
  .fis-shell .aeh-lines { display: none; }
}
/* Duftfamilien-Übersicht: Sprung zur Familienliste */
.v3-fam-jump { margin: var(--ds-space-4) 0 var(--ds-space-5); }
#duftfamilien .fam-grid { scroll-margin-top: calc(var(--lj-head, 84px) + 12px); }

/* ═══ V3 P5 (08.11.2026): Gerüst – Brotkrümel und „Weiter mit“ (v2.js, gerust) ═══ */
/* v2.css blendet jedes nav aus (alter Kopf); diese beiden bleiben sichtbar */
nav.v3-crumbs, nav.v3-next { display: block; }
.v3-crumbs { margin: max(0px, calc(var(--lj-head, 84px) - 84px)) 0 var(--ds-space-3); }   /* Seiten beginnen bei 84 px; der Hinweisstreifen macht den Kopf höher */
.v3-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 0; padding: 0; list-style: none; }
.v3-crumbs li { display: flex; align-items: center; }
.v3-crumbs li + li::before { content: '›'; margin: 0 6px 0 2px; color: var(--ds-text-3); }
.v3-crumb { min-height: 44px; padding: 0 6px; margin-left: -6px; border: 0; background: none; color: var(--ds-text-2); font: 500 var(--ds-fs-small) / 1.2 var(--ds-font-text); cursor: pointer; text-decoration: underline; text-decoration-color: var(--ds-line-2); text-underline-offset: 4px; }
.v3-crumb:hover { color: var(--ds-text); text-decoration-color: var(--ds-gold); }
.v3-crumb:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; border-radius: var(--ds-radius-s); }
.v3-crumb-here { color: var(--ds-text); font: 500 var(--ds-fs-small) / 1.2 var(--ds-font-text); }
/* Der alte Rücksprung „← Alle Duftfamilien“ ist jetzt Teil der Brotkrümel */
.fam-page > .fam-back { display: none; }
.v3-next { margin: var(--ds-space-8) 0 var(--ds-space-6); padding-top: var(--ds-space-5); border-top: 1px solid var(--ds-line); }
.v3-next-h { margin: 0 0 var(--ds-space-3); font: 500 var(--ds-fs-h3) / var(--ds-lh-head) var(--ds-font-head); color: var(--ds-text); }
.v3-next-links { display: flex; flex-wrap: wrap; gap: var(--ds-space-2); }
.v3-next-back { margin: var(--ds-space-4) 0 0; }
@media (max-width: 760px) {
  .v3-crumbs { margin-bottom: var(--ds-space-1); }
  .v3-next-links .ed-pill { flex: 1 1 100%; justify-content: center; }
}
/* A–Z-Sprungleiste (az.js): über der Liste, am Handy klebend unter dem Kopf */
.v3-az { display: flex; flex-wrap: wrap; gap: 4px; margin: var(--ds-space-3) 0 var(--ds-space-4); }
.v3-az-l { min-width: 44px; min-height: 44px; padding: 0 6px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius-s); background: var(--ds-surface); color: var(--ds-text-2); font: 500 var(--ds-fs-control) / 1 var(--ds-font-text); cursor: pointer; }
.v3-az-l:hover:not(:disabled) { border-color: var(--ds-gold-line); color: var(--ds-text); }
.v3-az-l:disabled { opacity: .35; cursor: default; }
.v3-az-l:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
#brands-grid > *, #portrait-list > .portrait, #collection-list .coll-grid > *, #register { scroll-margin-top: calc(var(--lj-head, 84px) + 64px); }
@media (max-width: 760px) {
  .v3-az { position: sticky; top: var(--lj-head, 84px); z-index: 20; flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter, 20px)); margin-right: calc(-1 * var(--gutter, 20px)); padding: 6px var(--gutter, 20px); background: var(--ds-ink); border-bottom: 1px solid var(--ds-line); scrollbar-width: none; }
  .v3-az::-webkit-scrollbar { display: none; }
  .v3-az-l { flex: 0 0 auto; }
}
/* „Wo bekomme ich das?“ (wo.js) im Duftfenster und im Berater */
.v3-where { margin: var(--ds-space-4) 0 0; padding: var(--ds-space-3) var(--ds-space-4); border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: var(--ds-surface-2); }
.v3-where-h { display: block; margin-bottom: var(--ds-space-2); color: var(--ds-text); }
.v3-where p { margin: 0 0 var(--ds-space-2); color: var(--ds-text-2); }
.v3-where-house span { color: var(--ds-text-3); }
.v3-where-shops { margin: var(--ds-space-1) 0 var(--ds-space-2); max-width: 100%; white-space: normal; height: auto; text-align: left; }
.v3-where-note { font-size: var(--ds-fs-small); }
.v3-where-pop { flex: 1 1 100%; }

/* ═══ V4-P0 · Bühnenmodell (Arbeitsanweisung V4 §4, 09.11.2026) ═════════════════════════════
   Eine Seite hat einen Grund: --ds-stage. Kein Abschnitt setzt mehr eine eigene deckende Fläche.
   Filme und Bilder liegen als Medienebenen auf dieser Bühne (.stage-media) und laufen oben und unten
   weich in den Grund aus; die nächste Ebene blendet über die vorige (v2.js „Bühnenebenen“).
   Text liegt nie direkt auf einem Film: auf einer Lesefläche (.lesen) oder vor einem radialen
   Schleier (.stage-veil, glass-cloud-Logik). Helle Flächen gibt es nur noch als Karte auf der Bühne
   (§12 Nr. 5: Journal, Archivlisten, Duftfenster, Rechtstexte, Werkzeugpaneele), höchstens 1100 px breit.
   Prüfung: scripts/kanten_check.cjs (ΔE00 > 6 zwischen Zeilen im Abstand 100 px = Kante). */
:root {
  /* Bühne */
  --ds-stage: var(--ds-surface);                 /* der eine Grund aller Seiten (#1e160f) */
  --ds-stage-rgb: 30, 22, 15;                    /* derselbe Ton für rgba() */
  /* Medienebene: Auslauf oben/unten. Mindestens 18 vh (§4); damit die Kantenprüfung (ΔE ≤ 6 je 100 px)
     auch bei hellem Film hält, nie unter 340 px (Handy 300 px). */
  --ds-stage-media-fade: max(18vh, 340px);
  --ds-stage-media-opacity: 0.88;                /* Medienebene minimal zurückgenommen: der Grund trägt */
  --ds-stage-xfade: 40vh;                        /* Überblendung zur nächsten Medienebene */
  --ds-stage-band-h: max(72svh, 560px);          /* Filmband zwischen Abschnitten (ohne Text) */
  /* Lesefläche */
  --ds-lesen-alpha: 0.86;                        /* 82–90 % Deckung (§4) */
  --ds-lesen-bg: rgba(var(--ds-stage-rgb), var(--ds-lesen-alpha));
  --ds-lesen-blur: 24px;
  --ds-lesen-edge: 48px;                         /* weicher Rand per mask-image */
  --ds-lesen-maxw: 60%;                          /* am Computer höchstens 60 % der Breite */
  --ds-lesen-pad: clamp(28px, 3.4vw, 56px);
  /* Karte auf der Bühne */
  --ds-card-maxw: 1100px;
  /* Schleier hinter Großüberschriften ohne Lesefläche (Ziel ≥ 4,5 : 1) */
  --ds-veil-core: rgba(var(--ds-stage-rgb), 0.9);
  --ds-veil-mid: rgba(var(--ds-stage-rgb), 0.62);
  /* Typo-Rollen nach Henge-Maß */
  --ds-fs-stage: clamp(40px, 6vw, 96px);        /* Überschrift einer Bühne: eine Zeile */
  --ds-lh-stage: 1;
  --ds-fs-eyebrow: 12.5px;                       /* Eyebrow 12–13 px, gesperrt */
  --ds-ls-eyebrow: 0.22em;
  --ds-mehr-dur: 420ms;                          /* weiches Aufklappen von „Mehr“ */
}
@media (max-width: 760px) {
  :root {
    --ds-stage-media-fade: max(18vh, 300px);
    --ds-lesen-pad: 24px;
    --ds-stage-band-h: max(70svh, 520px);
  }
}

/* ── 1. Ein Grund: html, body und die feste Grundebene einfarbig ── */
html, html body { background: var(--ds-stage); }
html body .v2-bg { background: var(--ds-stage); }

/* ── 2. Keine deckenden Abschnittsflächen mehr ── */
/* Unterseitenköpfe: keine eigene Kopffläche, kein Schatten, kein Bänderverlauf */
html body section.page:not(#home)::before,
html body section.page:not(#home).has-bands::before { background: none; box-shadow: none; }
/* Startseite: Abschnitte auf demselben Grund, auch Elfenbein-Abschnitte (§12 Nr. 5: Bänder entfallen) */
html body #home > .v2-hero + section,
html body #home > section.ed-light:not(.v2-hero),
html body #home > section.ed-dark:not(.v2-hero):not(.ds-paper) { background: none; }
html body #home > section.ed-light:not(.v2-hero) { --bg: var(--ds-stage); --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-ink: var(--ds-gold-strong); color: var(--ds-text); }
/* Elfenbein-Bänder (data-tone="ivory", band-light) sind keine Fläche mehr; Karten (ds-paper, Paneele) bleiben */
html body section.page .band-light:not(.ds-paper):not(.wz-panel):not(.hc-panel),
html body section.page [data-tone="ivory"]:not(.ds-paper):not(.wz-panel):not(.hc-panel) { background: none; }
/* Zitatband: ruhige Textebene ohne eigene Fläche und ohne Linien */
html body .v3-quote { background: none; border-top: 0; border-bottom: 0; }
/* Fuß: derselbe Grund, die Haarlinie bleibt als einzige Trennung */
html body footer { background: var(--ds-stage); }
/* Ältere Filmräume mit eigener Schwarzfläche (#0a0a0e, #0e0f13) liegen jetzt auf der Bühne */
html body .page > section.jr, html body .jr { background: none; border-radius: 0; }
html body .ch-seq-pin { background: none; }
html body .hf { background: none; }

/* ── 3. Medienebene: wiederverwendbarer Baustein ──
   <div class="stage-media" data-stage-layer>
     <video class="stage-media-el" muted loop playsinline preload="none" data-lj-poster="img/stage/<clip>.webp">…</video>
   </div>
   Die Ebene klebt am oberen Rand (sticky, 100svh) und liegt hinter dem folgenden Inhalt
   (margin-bottom: -100svh). Oben und unten läuft sie über --ds-stage-media-fade in den Grund aus. */
html body .stage-media {
  position: sticky; top: 0; z-index: 0; height: 100svh; width: 100vw; margin: 0 0 -100svh calc(50% - 50vw);
  overflow: hidden; pointer-events: none; background: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
}
html body .stage-media > :is(video, img, picture, .stage-media-el) {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--stage-focus, 50% 50%);
  opacity: var(--ds-stage-media-opacity);
}
html body .stage-media + * { position: relative; z-index: 1; }

/* Bestehende Medienebenen bekommen denselben Auslauf (Hero, Chypre-/Familienfolge, Duftreise, Filmbühne der Unterseiten) */
html body #home > .v2-hero { background: none; }
html body #home > .v2-hero .hf {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
}
html body .ch-seq-pin,
html body .jr-sticky {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
}
html body section.page.has-stage > .page-vid,
html body section.page:is(#perfumers, #news, #portraits, #shops, #brands).has-stage > .page-vid {
  -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-media-fade)), transparent);
  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-media-fade)), transparent);
}
html body section.page#forum.has-stage > .page-vid {
  -webkit-mask-image: linear-gradient(270deg, 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-media-fade)), transparent);
  mask-image: linear-gradient(270deg, 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-media-fade)), transparent);
}
/* Filmband zwischen Abschnitten: hoch genug für einen weichen Auslauf nach beiden Seiten, kein eigener Grund */
html body .lj-band-film, html body #home .lj-band-film { height: var(--ds-stage-band-h); background: none; }
html body .lj-band-vid, html body #home .lj-band-vid {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 50%, transparent 100%);
}

/* ── 4. Lesefläche ──
   Bühnengrund mit 86 % Deckung, Weichzeichnung dahinter, weiche Ränder (mask-image, 48 px), keine Linie.
   Am Computer höchstens 60 % der Breite, der Film bleibt daneben sichtbar; am Handy volle Breite. */
html body .lesen {
  position: relative; z-index: 1;
  width: min(var(--ds-lesen-maxw), var(--ds-card-maxw)); max-width: calc(100% - 2 * var(--gutter, 20px));
  margin-inline: max(var(--gutter, 20px), calc(50vw - var(--ds-maxw) / 2));
  padding: var(--ds-lesen-pad);
  border-radius: var(--ds-radius-l);
  background: var(--ds-lesen-bg);
  -webkit-backdrop-filter: blur(var(--ds-lesen-blur)); backdrop-filter: blur(var(--ds-lesen-blur));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--ds-lesen-edge), #000 calc(100% - var(--ds-lesen-edge)), transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--ds-lesen-edge), #000 calc(100% - var(--ds-lesen-edge)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--ds-lesen-edge), #000 calc(100% - var(--ds-lesen-edge)), transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--ds-lesen-edge), #000 calc(100% - var(--ds-lesen-edge)), transparent 100%);
  mask-composite: intersect;
  color: var(--ds-text);
  --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-ink: var(--ds-gold-strong);
}
html body .lesen--right { margin-left: auto; margin-right: max(var(--gutter, 20px), calc(50vw - var(--ds-maxw) / 2)); }
@media (max-width: 760px) {
  html body .lesen { width: auto; max-width: none; margin-inline: var(--gutter, 16px); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body .lesen { background: rgba(var(--ds-stage-rgb), 0.92); }
}

/* ── 5. Schleier hinter Großüberschriften ohne Lesefläche (glass-cloud-Logik, dunkel, ohne Bewegung) ── */
html body .stage-veil { position: relative; isolation: isolate; }
html body .stage-veil::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -22% -18%;
  background: radial-gradient(closest-side, var(--ds-veil-core) 0%, var(--ds-veil-core) 42%, var(--ds-veil-mid) 70%, rgba(var(--ds-stage-rgb), 0) 100%);
  filter: blur(14px);
}

/* ── 6. Karten auf der Bühne: helle Flächen nur noch abgerundet, mit Rand und Luft, höchstens 1100 px ── */
html body :is(.ds-paper, .wz-panel, .hc-panel) { max-width: var(--ds-card-maxw); }
html body .stage-card {
  max-width: min(var(--ds-card-maxw), calc(100% - 2 * var(--gutter, 16px))); margin-inline: auto;
  padding: var(--ds-pad-card); border-radius: var(--ds-radius-l); border: 1px solid var(--ds-line);
  background: var(--ds-surface-3); box-shadow: var(--ds-shadow-1);
}

/* ── 7. Typo-Rollen nach Henge-Maß ── */
html body .stage-eyebrow {
  display: block; margin: 0 0 var(--ds-space-4);
  font: 600 var(--ds-fs-eyebrow)/1.3 var(--ds-font-text); letter-spacing: var(--ds-ls-eyebrow); text-transform: uppercase;
  color: var(--ds-gold);
}
html body .stage-title {
  margin: 0; font: 250 var(--ds-fs-stage)/var(--ds-lh-stage) var(--ds-font-head); letter-spacing: -0.015em; text-transform: none;
  color: var(--ds-text); text-wrap: balance;
}
html body .stage-line { margin: var(--ds-space-4) 0 0; max-width: 46ch; font: 400 var(--ds-fs-lead)/var(--ds-lh-lead) var(--ds-font-text); color: var(--ds-text-2); }
html body .stage-actions { display: flex; flex-wrap: wrap; gap: var(--ds-space-3); margin-top: var(--ds-space-6); }

/* „Mehr“: weiteres Wissen einen Tipp entfernt, wortgleich im DOM (für Suche und Screenreader).
   <details class="mehr"><summary data-notr><span class="mehr-de">Mehr</span><span class="mehr-en">More</span></summary><div class="mehr-body">…</div></details> */
html body details.mehr { margin: var(--ds-space-4) 0 0; border-top: 1px solid var(--ds-line); }
html body details.mehr > summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; cursor: pointer; list-style: none;
  font: 600 var(--ds-fs-control)/1 var(--ds-font-text); color: var(--ds-gold-strong);
}
html body details.mehr > summary::-webkit-details-marker { display: none; }
html body details.mehr > summary::after {
  content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform var(--ds-mehr-dur) var(--ds-ease);
}
html body details.mehr[open] > summary::after { transform: translateY(2px) rotate(225deg); }
html body details.mehr > summary:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 4px; }
/* Zusammenfassung zweisprachig ohne Übersetzungsschlüssel (translateTree greift im <summary> nicht zuverlässig) */
html body details.mehr > summary .mehr-en { display: none; }
html[lang="en"] body details.mehr > summary .mehr-de { display: none; }
html[lang="en"] body details.mehr > summary .mehr-en { display: inline; }
html body details.mehr > .mehr-body { padding: var(--ds-space-2) 0 var(--ds-space-4); }
html body details.mehr[open] > .mehr-body { animation: ljMehrIn var(--ds-mehr-dur) var(--ds-ease) both; }
@keyframes ljMehrIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@supports (interpolate-size: allow-keywords) {
  html body details.mehr { interpolate-size: allow-keywords; }
  html body details.mehr::details-content { height: 0; overflow: clip; transition: height var(--ds-mehr-dur) var(--ds-ease), content-visibility var(--ds-mehr-dur) allow-discrete; }
  html body details.mehr[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html body details.mehr[open] > .mehr-body { animation: none; }
  html body details.mehr::details-content { transition: none; }
}

/* ── 8. Startseiten-Hero auf der dunklen Bühne: dunkler Schleier statt hellem Sonnenlicht, helle Schrift ── */
html body #home > .v2-hero .hf-shade {
  background:
    radial-gradient(70% 62% at 26% 56%, var(--ds-veil-core) 0%, var(--ds-veil-mid) 48%, rgba(var(--ds-stage-rgb), 0) 100%),
    linear-gradient(90deg, rgba(var(--ds-stage-rgb), 0.55) 0, rgba(var(--ds-stage-rgb), 0.18) 52%, rgba(var(--ds-stage-rgb), 0) 78%);
}
html body #home > .v2-hero .hf-shade--light { background: none; opacity: 0; }
html body #home > .v2-hero .v2-hero-copy, html body #home > .v2-hero h1 { color: var(--ds-text); }
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: var(--ds-text-2) !important; text-shadow: none; }
html body #home > .v2-hero .v2-hero-kicker, html body #home > .v2-hero .v2-hero-kicker * { color: var(--ds-gold) !important; }
html body #home > .v2-hero .ed-eyebrow { color: var(--ds-gold); }
html body #home > .v2-hero .v2-hero-title { text-shadow: none; }
/* V4-P5 (§9.3): weicher dunkler Schleier hinter der Hero-Überschrift (glass-cloud-Logik, ohne Bewegung) statt Schatten */
html body #home > .v2-hero .v2-hero-title { position: relative; isolation: isolate; }
html body #home > .v2-hero .v2-hero-title::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -34% -10%;
  background: radial-gradient(closest-side, var(--ds-veil-core) 0%, var(--ds-veil-core) 40%, var(--ds-veil-mid) 70%, rgba(var(--ds-stage-rgb), 0) 100%);
  filter: blur(14px);
}
html body #home > .v2-hero .ed-gold { background: none; -webkit-text-fill-color: currentColor; color: var(--ds-gold-strong); }
html body #home > .v2-hero .ed-pill--ghost,
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: var(--ds-text) !important; border-color: var(--ds-line-2) !important; background: rgba(var(--ds-stage-rgb), 0.35) !important;
}
html body #home > .v2-hero .ed-pill--ghost:hover { border-color: var(--ds-gold) !important; background: rgba(var(--ds-stage-rgb), 0.55) !important; }
@media (max-width: 760px) {
  html body #home > .v2-hero .hf-shade {
    background: linear-gradient(0deg, rgba(var(--ds-stage-rgb), 0.94) 0, rgba(var(--ds-stage-rgb), 0.8) 42%, rgba(var(--ds-stage-rgb), 0.3) 72%, rgba(var(--ds-stage-rgb), 0) 90%);
  }
}

/* ── 9. V4-P0: Kanten der bestehenden Seiten schließen (Messung kanten_check, 09.11.2026) ── */
/* Klebende Filmräume (Duftnoten-Entfaltung, Nachtfahrt der Startseite): Auslauf als Maske statt Überlagerung */
html body .ent-sticky {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
}
html body .page > .ent::before, html body .page > .ent::after { background: none; }
/* Chypre-/Familienfolge: Schatten nur seitlich hinter dem Text, oben/unten trägt die Maske; Ton = Bühne statt Kaltschwarz */
html body .ch-seq-stage::after {
  background: linear-gradient(90deg, rgba(var(--ds-stage-rgb), .92) 0%, rgba(var(--ds-stage-rgb), .72) 32%, rgba(var(--ds-stage-rgb), 0) 62%);
}
@media (max-width: 760px) {
  html body .ch-seq-stage::after {
    background: linear-gradient(0deg, rgba(var(--ds-stage-rgb), .94) 0%, rgba(var(--ds-stage-rgb), .82) 38%, rgba(var(--ds-stage-rgb), 0) 92%);
  }
}
/* Eröffnungsbild der Familienporträts und von Chypre: am Computer höher, oben und unten weich in die Bühne */
@media (min-width: 761px) {
  html body :is(.fam-page--long, #chypre) > .ch-open img,
  html body :is(.fam-page--long, #chypre) > .ch-open > .ch-open-vid { height: clamp(360px, 52svh, 540px); }   /* Abschluss P0: Titel muss im ersten Bildschirm bleiben (V3: 46/46 bei 1440) */
  html body :is(.fam-page--long, #chypre) > .ch-open :is(img, .ch-open-vid) {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 46%, #000 54%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 46%, #000 54%, transparent 100%);
  }
}
/* Breite Kästen auf der Bühne sind Karten: höchstens 1100 px (§4) */
html body .fam-page--long > .ch-toc, html body #chypre > .ch-toc,
html body .advisor-intro { max-width: var(--ds-card-maxw); margin-left: auto; margin-right: auto; }
/* Die drei Wege: Karte mit erkennbarer Fläche */
html body .v3-way { background: rgba(255, 255, 255, 0.06); }
/* Über Lab J: Filmszenen laufen wie jedes Filmband weich aus; am Handy hoch genug für den Auslauf */
html body .about-scene .lj-band-vid {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 min(var(--ds-stage-media-fade), 46%), #000 calc(100% - min(var(--ds-stage-media-fade), 46%)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 min(var(--ds-stage-media-fade), 46%), #000 calc(100% - min(var(--ds-stage-media-fade), 46%)), transparent 100%);
}
@media (max-width: 760px) {
  html body .about-scene .lj-band-film { aspect-ratio: auto; height: var(--ds-stage-band-h); }
}
/* Kopffilme der Unterseiten und Filmkapitel: kein eigener Grund, die Filme laufen oben und unten weich aus.
   Die Maske sitzt auf dem Film (bzw. dem Standbild), nie auf dem Abschnitt – der Text darüber bleibt voll sichtbar. */
html body .wf, html body .cf { background: none; box-shadow: none; }
html body :is(.wf-v, .cf-v, .fi-hero-film, .fi-chapter-film),
html body [data-fi-film]::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 min(var(--ds-stage-media-fade), 42%), #000 calc(100% - min(var(--ds-stage-media-fade), 42%)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 min(var(--ds-stage-media-fade), 42%), #000 calc(100% - min(var(--ds-stage-media-fade), 42%)), transparent 100%);
}
html body #duftfamilien .fam-hero video.lj-loop {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 min(var(--ds-stage-media-fade), 40%), #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 min(var(--ds-stage-media-fade), 40%), #000 100%);
}
html body .fi-wheel-page > .fi-hero, html body .fi-chapter { background: none; }
html body [data-fi-film]::before {
  content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background: var(--fi-poster, none) center / cover no-repeat;
}
html body .fi-hero::after {
  background: linear-gradient(180deg, rgba(var(--ds-stage-rgb), 0) 40%, rgba(var(--ds-stage-rgb), .5) 78%, rgba(var(--ds-stage-rgb), .9) 100%), linear-gradient(90deg, rgba(var(--ds-stage-rgb), .55) 0%, rgba(var(--ds-stage-rgb), 0) 58%);
}
html body .fi-chapter::after {
  background: linear-gradient(90deg, rgba(var(--ds-stage-rgb), .84) 0%, rgba(var(--ds-stage-rgb), .38) 42%, rgba(var(--ds-stage-rgb), 0) 70%);
}
html body .fi-chapter--right::after {
  background: linear-gradient(270deg, rgba(var(--ds-stage-rgb), .84) 0%, rgba(var(--ds-stage-rgb), .38) 42%, rgba(var(--ds-stage-rgb), 0) 70%);
}
html body .fi-chapter + .fi-chapter { border-top: 0; }
html body .wf-shade {
  background: linear-gradient(90deg, rgba(var(--ds-stage-rgb), .8) 0, rgba(var(--ds-stage-rgb), .5) 36%, rgba(var(--ds-stage-rgb), .05) 74%);
}
html body .cf-shade { background: radial-gradient(120% 100% at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3) 100%); }

/* Duftreise (Kopf-, Herz-, Basisnote): kein farbiger Eigengrund mehr, nur ein leiser Schein der Stufe auf der Bühne */
html body .jr-sticky {
  background: radial-gradient(90% 70% at 50% 44%, color-mix(in srgb, var(--jr-a) 26%, transparent) 0%, rgba(var(--ds-stage-rgb), 0) 72%), var(--ds-stage);
}
html body .page > section.jr .jr-sticky::after, html body .jr-sticky::after {
  background: radial-gradient(120% 100% at 50% 50%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .35) 100%);
}
html body .jr-step { background: var(--ds-lesen-bg); -webkit-backdrop-filter: blur(var(--ds-lesen-blur)); backdrop-filter: blur(var(--ds-lesen-blur)); }
/* Duftpyramide (klebende 3D-Bühne): Auslauf wie jede Medienebene */
html body .pyr3d-pin {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
}

/* Leisten, Kästen und Bühnen mit eigenem (kühlem) Grund: Bühnenton, breite Kästen höchstens 1100 px */
@media (max-width: 760px) {
  html body .v3-az { background: rgba(var(--ds-stage-rgb), .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 0; }
}
html body #portrait-list .portrait, html body .rnd, html body .ed-net-stage, html body .net3d-wrap { max-width: var(--ds-card-maxw); margin-left: auto; margin-right: auto; }
html body .net3d-wrap { background: radial-gradient(90% 80% at 50% 40%, var(--ds-surface-2) 0%, var(--ds-stage) 72%); }
/* Zufallsduft (Zahlen): Anthrazitkarte wie alle Kacheln, der weiße Schein stammte aus dem hellen Thema */
html body .rnd { background: radial-gradient(70% 60% at 50% 0%, rgba(216, 184, 117, .12), rgba(216, 184, 117, 0) 70%), var(--ds-surface-3); }

/* ── 10. V4-P0, zweite Messrunde: Filmbänder, gerahmte Filmfenster, Kopffilme ──
   Grundsatz: Ein Film über die ganze Breite ist eine Medienebene und läuft weich aus (bei Bändern unter
   etwa 760 px Höhe als Dreieck: von oben und unten bis zur Mitte). Ein kleiner, gerahmter Film ist eine
   Karte (Fläche, Rundung, Rand, Luft) – seine Ränder sind Kartenränder, keine Abschnittskanten. */
:root { --ds-stage-band-mask: linear-gradient(180deg, transparent 0, #000 50%, transparent 100%); }
@media (max-width: 760px) { :root { --ds-stage-band-h: max(80svh, 640px); } }
/* Filmkapitel (Duftnotenrad): Band-Höhe, Film als Dreieck; das Standbild läuft genauso aus */
html body section.page .fi-chapter { min-height: var(--ds-stage-band-h); }
html body .fi-chapter-film, html body .fi-chapter[data-fi-film]::before {
  -webkit-mask-image: var(--ds-stage-band-mask); mask-image: var(--ds-stage-band-mask);
}
/* Kopffilm des Duftnotenrads: fragrance-wheel.css lädt nach design.css, daher höhere Spezifität */
html body section.page.fi-wheel-page > .fi-hero { background: none; }
/* Eröffnungsbild Chypre/Familien: Dreieck. Abschluss P0: Das Bild ist wieder niedriger (Titel im ersten Bildschirm),
   daher Spitze bei 80 % Deckung – sonst wird der Auslauf über die halbe Bildhöhe zu steil (kanten_check ΔE > 6 je 100 px). */
@media (min-width: 761px) {
  html body :is(.fam-page--long, #chypre) > .ch-open :is(img, .ch-open-vid) {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
  }
}
/* Duftreise: gleichmäßiger Schleier über den Filmen (trägt auch die Schrift), Vignette nur leicht */
html body .page > section.jr .jr-sticky::after, html body .jr-sticky::after {
  background: radial-gradient(120% 100% at 50% 50%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .3) 100%), rgba(var(--ds-stage-rgb), .24);
}
/* Nachtfahrt/Entfaltung: Schatten nur seitlich, oben/unten trägt die Maske */
@media (min-width: 761px) {
  html body .ent-shade { background: linear-gradient(90deg, rgba(var(--ds-stage-rgb), .9) 0%, rgba(var(--ds-stage-rgb), .62) 34%, rgba(var(--ds-stage-rgb), 0) 66%); }
}
/* Sammlung: Galerie ohne kühlen Eigengrund */
html body .collection-gallery { background: none; }
/* Zeitreise: die Bühne ist eine Karte auf der Bühne (höchstens 1100 px) */
html body .zr-stage { max-width: var(--ds-card-maxw); margin-left: auto; margin-right: auto; background: var(--ds-surface-2); }
/* Duftnotenrad: Radfläche im Bühnenton statt Kaltschwarz */
html body section.page .fi-wheel-visual { background: radial-gradient(60% 55% at 50% 48%, rgba(236, 212, 154, .06), rgba(236, 212, 154, 0) 70%), var(--ds-stage); }
/* Wie ein Duft entsteht: das Filmfenster der Geschichte ist eine gerahmte Karte */
html body .ed-story-vid { background-color: var(--ds-surface-2); }
@media (max-width: 760px) {
  html body .ed-story-stage { margin-inline: var(--gutter, 16px); border-radius: var(--ds-radius-l); overflow: hidden; background: rgba(246, 240, 228, 0.06); border: 1px solid var(--ds-line); }
  html body #making > .mk-film > video { width: calc(100% - 2 * var(--gutter, 16px)); margin-inline: var(--gutter, 16px); border-radius: var(--ds-radius); background: rgba(246, 240, 228, 0.06); }
}
@media (min-width: 761px) {
  html body #making > .mk-film > video { -webkit-mask-image: var(--ds-stage-band-mask); mask-image: var(--ds-stage-band-mask); }
}
/* Duftreise: Filme normal gemischt (auf dunkler Bühne hellt „screen“ nur auf und macht die Ränder härter) */
html body .jr-video { mix-blend-mode: normal; }
/* Wie ein Duft entsteht: die Filmbühne der Geschichte (am Computer seitenbreit, klebend) läuft oben und unten aus;
   die Maske sitzt auf der Bühne mit den Filmen, nicht auf der Spalte mit dem Text */
@media (min-width: 761px) {
  html body .ed-story-stage {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 var(--ds-stage-media-fade), #000 calc(100% - var(--ds-stage-media-fade)), transparent 100%);
  }
}
/* Eröffnungsfilm über dem Eröffnungsbild: läuft der Film, tritt das Bild zurück (zwei maskierte Ebenen übereinander verdoppeln sonst den Auslauf) */
html body .ch-open:has(> .ch-open-vid.is-on) img { opacity: 0; }
/* Kopffilm des Duftnotenrads: wie ein Filmband (Dreieck), mindestens Bandhöhe */
html body section.page.fi-wheel-page > .fi-hero { min-height: var(--ds-stage-band-h); }
html body .fi-hero-film, html body .fi-hero[data-fi-film]::before { -webkit-mask-image: var(--ds-stage-band-mask); mask-image: var(--ds-stage-band-mask); }
/* Duftfamilien-Kopf: Abdunklung im Bühnenton (vorher etwas dunkler als der Grund – sichtbare Stufe am Ende) */
html body #duftfamilien .fam-hero::after {
  background: linear-gradient(180deg, rgba(var(--ds-stage-rgb), .5) 0%, rgba(var(--ds-stage-rgb), .7) 38%, rgba(var(--ds-stage-rgb), .88) 72%, var(--ds-stage) 100%), linear-gradient(90deg, rgba(var(--ds-stage-rgb), .65) 0%, rgba(var(--ds-stage-rgb), 0) 70%);
}
/* Aufklappkästen und Molekülbilder der Familienporträts: erkennbar als Karte (leise Fläche, Rundung) */
html body .fam-page--long > .ch-more-box, html body #chypre > .ch-more-box { background: rgba(246, 240, 228, 0.06); }
html body .ch-fig.ch-fig--mol { background: rgba(255, 248, 236, 0.06); }
/* Brotkrümel liegen oft über dem Kopffilm: kleine Lesefläche (Bühnenton, weichgezeichnet), Text nie direkt auf dem Film */
html body nav.v3-crumbs ol {
  display: inline-flex; padding: 4px 12px; border-radius: var(--ds-radius-pill);
  background: rgba(var(--ds-stage-rgb), 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 22px 12px rgba(var(--ds-stage-rgb), 0.42);   /* weicher Hof statt Kante (Abschluss P0) */
}

/* ── 11. Abschluss P0: Prüfbefunde ── */
/* Filmbühne der Unterseiten: radialer Schleier hinter Titel und Einführung (§4 „Hinter Großüberschriften ohne
   Lesefläche wird der Film an der Textstelle abgedunkelt“). Liegt über dem Film (::after nach .page-vid, gleiche Ebene),
   unter dem Text; senkrecht genau halb so hoch wie die Bühne, damit er oben und unten bei 0 endet (keine Kante). */
html body section.page.has-stage::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(50% - 50vw); width: 100vw; top: 0; height: var(--band, 0px);
  background: radial-gradient(ellipse 54% 50% at 20% 50%, var(--ds-veil-core) 0%, var(--ds-veil-mid) 48%, rgba(var(--ds-stage-rgb), 0) 100%);
}
@media (max-width: 760px) {
  html body section.page.has-stage::after {
    /* am Handy schwächer: der Film ist dort ohnehin gedämpft, ein voller Schleier würde über die halbe Bühnenhöhe zu steil auslaufen */
    background: radial-gradient(ellipse 110% 50% at 30% 50%, rgba(var(--ds-stage-rgb), 0.6) 0%, rgba(var(--ds-stage-rgb), 0.4) 52%, rgba(var(--ds-stage-rgb), 0) 100%);
  }
}
/* Duftsuche-Kopf (§0.1): kein deckender Kaltschwarz-Grund und kein kastenweiter Verlauf mehr – die Filme liegen fest
   hinter der ganzen Seite (fragrance-search.css), der Kasten selbst bleibt durchsichtig. Dunkel wird nur die Textstelle
   (radialer Schleier). fragrance-search.css lädt nach design.css, daher die höhere Spezifität. */
html body section.page#fragrance-search > .fis-hero { background: none; }
html body section.page#fragrance-search > .fis-hero::after { background: none; }
html body section.page#fragrance-search > .fis-hero > .fi-hero-in { position: relative; isolation: isolate; max-width: min(760px, 100%); }
html body section.page#fragrance-search > .fis-hero > .fi-hero-in::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -30% -24%;
  background: radial-gradient(closest-side, var(--ds-veil-core) 0%, var(--ds-veil-core) 40%, var(--ds-veil-mid) 68%, rgba(var(--ds-stage-rgb), 0) 100%);
}
/* Die Filme liegen fest (fixed) und brauchen keinen Zuschnitt; ohne overflow: hidden wird der Schleier am Kastenrand nicht
   abgeschnitten (sonst Kante am Handy, wo der Kasten unten nur 24 px Luft hat). Bei reduzierter Bewegung bleiben die Filme im Kasten. */
@media (prefers-reduced-motion: no-preference) {
  html body section.page#fragrance-search > .fis-hero { overflow: visible; }
}
/* Handy und schmale Fenster: Schleier seitlich nur bis in den Seitenrand, sonst ragt er über die Bildschirmbreite (seitliches Überlaufen) */
@media (max-width: 1199px) {
  html body section.page#fragrance-search > .fis-hero > .fi-hero-in::before { inset: -30% calc(-1 * var(--gutter, 16px)); }
}
@media (max-width: 760px) {
  html body section.page#fragrance-search > .fis-hero > .fi-hero-in::before {
    inset: -45% calc(-1 * var(--gutter, 16px));
    background: radial-gradient(closest-side, rgba(var(--ds-stage-rgb), 0.66) 0%, rgba(var(--ds-stage-rgb), 0.66) 30%, rgba(var(--ds-stage-rgb), 0.42) 62%, rgba(var(--ds-stage-rgb), 0) 100%);
  }
}


/* ═══ V4-P1 · Startseite (Arbeitsanweisung V4 §5, 09.11.2026) ═════════════════════════════════
   Fünf Abschnitte, jeder ein Bildschirm, auf der einen Bühne: Hero zweigeteilt, Zitat als ruhige Textebene,
   dann vier Medienebenen (.stage-media) mit Eyebrow, einer Zeile Überschrift und Knopf vor einem Schleier.
   Links und groß nur das Finden (zwei Knöpfe untereinander), rechts klein die übrigen Bereiche
   (am Handy als Chipzeile unter den Knöpfen). */
:root {
  --v4-hero-btn-h: 60px;                         /* große Hero-Knöpfe */
  --v4-hero-btn-w: 380px;
  --v4-side-w: 240px;                            /* ruhige Spalte rechts */
  --v4-side-fs: 15px;
  --v4-chip-h: 44px;                             /* Chipzeile am Handy: Tippfläche */
}
/* v2.css blendet jedes nav aus */
html body nav.v4-hero-side { display: flex; }

/* ── Hero: zwei große Knöpfe untereinander ── */
html body #home > .v2-hero .v4-hero-actions {
  display: flex; flex-direction: column; align-items: stretch; gap: var(--ds-space-3);
  width: min(100%, var(--v4-hero-btn-w)); margin-inline: auto;
}
html body #home > .v2-hero .v4-hero-actions .ed-pill {
  min-height: var(--v4-hero-btn-h); justify-content: center; padding-inline: var(--ds-space-6);
  font-size: 17px; font-weight: 600;
}

/* ── Rechte Spalte / Chipzeile ── */
html body #home > .v2-hero .v4-hero-side {
  flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: var(--ds-space-5) auto 0; max-width: 420px;
}
html body #home > .v2-hero .v4-hero-side a {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--v4-chip-h); padding: 0 16px;
  border: 1px solid var(--ds-line-2); border-radius: var(--ds-radius-pill, 999px);
  background: rgba(var(--ds-stage-rgb), 0.62);
  font: 500 var(--v4-side-fs)/1.2 var(--ds-font-text); color: var(--ds-text); text-decoration: none;
  transition: color var(--ds-dur, 240ms) var(--ds-ease), border-color var(--ds-dur, 240ms) var(--ds-ease), background-color var(--ds-dur, 240ms) var(--ds-ease), transform var(--ds-dur, 240ms) var(--ds-ease);
}
html body #home > .v2-hero .v4-hero-side a i { font-style: normal; color: var(--ds-gold); transition: transform var(--ds-dur, 240ms) var(--ds-ease); }
html body #home > .v2-hero .v4-hero-side a:hover,
html body #home > .v2-hero .v4-hero-side a:focus-visible { color: var(--ds-text); border-color: var(--ds-gold); background: rgba(var(--ds-stage-rgb), 0.82); }
html body #home > .v2-hero .v4-hero-side a:hover i,
html body #home > .v2-hero .v4-hero-side a:focus-visible i { transform: translateX(3px); }
html body #home > .v2-hero .v4-hero-side a:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }

/* Querformat am Computer: links ~55 % das Finden, rechts die Spalte mit fünf Zeilen */
@media (min-aspect-ratio: 21/20) and (min-width: 900px) {
  html body #home > .v2-hero .v2-hero-copy.v4-hero-copy {
    right: 0; width: auto; display: grid; align-content: center; justify-content: space-between;
    grid-template-columns: minmax(0, 55%) var(--v4-side-w); column-gap: var(--ds-space-6);
    padding-inline: var(--gutter) calc(var(--gutter) + 64px);
  }
  html body #home > .v2-hero .v4-hero-copy > :not(.v4-hero-side) { grid-column: 1; }
  html body #home > .v2-hero .v4-hero-actions { margin-inline: 0; }
  html body #home > .v2-hero .v4-hero-side {
    grid-column: 2; grid-row: 1 / span 3; align-self: center;
    flex-direction: column; flex-wrap: nowrap; gap: 0; margin: 0; max-width: none;
    position: relative; isolation: isolate;
  }
  /* weicher dunkler Hof hinter der Spalte (Text nie direkt auf dem Film) */
  html body #home > .v2-hero .v4-hero-side::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -34% -28%;
    background: radial-gradient(closest-side, var(--ds-veil-core) 0%, var(--ds-veil-core) 46%, var(--ds-veil-mid) 72%, rgba(var(--ds-stage-rgb), 0) 100%);
    filter: blur(14px);
  }
  html body #home > .v2-hero .v4-hero-side a {
    display: flex; width: 100%; justify-content: space-between; min-height: 48px; padding: 0 4px;
    border: 0; border-bottom: 1px solid var(--ds-line); border-radius: 0; background: none;
    color: var(--ds-text-2);
  }
  html body #home > .v2-hero .v4-hero-side a:first-child { border-top: 1px solid var(--ds-line); }
  html body #home > .v2-hero .v4-hero-side a:hover,
  html body #home > .v2-hero .v4-hero-side a:focus-visible { color: var(--ds-text); background: rgba(var(--ds-stage-rgb), 0.5); transform: translateX(-4px); border-color: var(--ds-line); }
}

/* ── Zitat: ruhige Textebene ohne eigenen Hintergrund (Ein- und Ausblenden: v2.js heroScroll) ── */
html body #home > section.v4-quote.v4-quote { padding-top: clamp(96px, 18vh, 200px); padding-bottom: clamp(96px, 18vh, 200px); overflow-x: clip; }
html body #home > .v4-quote .v3-quote-in { text-align: center; }
html body #home > .v4-quote .v3-quote-q .v3-quote-h { margin-bottom: var(--ds-space-3); }
html body #home > .v4-quote details.mehr { display: inline-block; min-width: min(100%, 32em); text-align: left; border-top-color: transparent; }
html body #home > .v4-quote details.mehr > summary { justify-content: center; width: 100%; }

/* ── Abschnitte 2–5: eine Medienebene, davor Eyebrow, eine Zeile, Knopf ── */
html body #home > section.v4-scene.v4-scene { position: relative; min-height: 100svh; padding-top: 0; padding-bottom: 0; overflow-x: clip; }
html body #home > .v4-scene > .v4-scene-in { min-height: 100svh; display: flex; align-items: center; }
html body #home > .v4-scene .v4-scene-copy { max-width: min(78%, 1120px); }
html body #home > .v4-scene .stage-title { font-size: var(--ds-fs-stage); }
html body #home > .v4-scene .lj-bgfilm-ui { top: auto; bottom: max(18px, 6vh); }
/* Letzte Ebene: ohne Folgeebene würde der klebende Film (margin-bottom: -100svh) bis zu einen Bildschirm in den Fuß
   hineinragen und dort an dessen Fläche hart enden. Hier scrollt er mit dem Abschnitt weg und läuft über seine Maske aus. */
html body #home > #v4-arch.v4-scene > .stage-media { margin-bottom: 0; }
html body #home > #v4-arch.v4-scene > .v4-scene-in { margin-top: -100svh; }
/* V4-P5 (Abschluss): Schleier am Computer höher, damit Eyebrow und Zeile im dichten Kern stehen (Kontrast beim Einlaufen) */
@media (min-width: 761px) {
  html body #home > .v4-scene .stage-veil::before { inset: -48% -16%; }
  /* V4-P1 (Wiederaufnahme): dichter Kern breiter, damit die Eyebrow am oberen Rand des Blocks auch beim Einlaufen
     vor hellem Filmbild (fam-montage) lesbar bleibt; Rand weiterhin weich bis 0 */
  html body #home > .v4-scene .stage-veil::before {
    inset: -60% -16%; filter: blur(24px);
    background: radial-gradient(closest-side, rgba(var(--ds-stage-rgb), 0.94) 0%, rgba(var(--ds-stage-rgb), 0.94) 62%, var(--ds-veil-mid) 84%, rgba(var(--ds-stage-rgb), 0) 100%);
  }
}
@media (max-width: 760px) {
  html body #home > .v4-scene .v4-scene-copy { max-width: none; }
  html body #home > .v4-scene .stage-veil::before { inset: -55% calc(-1 * var(--gutter, 16px)); filter: blur(24px); }
  html body #home > .v4-scene .stage-actions .ed-pill { min-height: 52px; }
  html body #home > .v4-scene .lj-bgfilm-ui { bottom: 92px; }   /* über Inhaltsknopf und „nach oben“ */
}
/* Frühere Startseiten-Texte auf den Zielseiten: zugeklappt, ruhig, im Lesemaß */
html body details.mehr.v4-raum { max-width: min(760px, 100%); margin: var(--ds-space-7) 0 var(--ds-space-5); }
html body details.mehr.v4-raum .ed-eyebrow { margin: var(--ds-space-4) 0 var(--ds-space-2); }
html body details.mehr.v4-raum .v4-raum-h { margin: 0 0 var(--ds-space-2); font: 400 var(--ds-fs-h3, 26px)/1.2 var(--ds-font-head); color: var(--ds-text); }
html body details.mehr.v4-raum .mehr-body > p:not(.ed-eyebrow):not(.v4-raum-h) { margin: 0 0 var(--ds-space-3); color: var(--ds-text-2); max-width: 60ch; }

/* ═══ V4-P2 · Schauseite „finden“ (Arbeitsanweisung V4 §6, 09.11.2026) ═══════════════════════
   Ein Bildschirm hoch am Computer: Film r6-fahrt-karte als Grund (läuft oben und unten weich aus),
   Überschrift ohne Satz, drei hohe Tafeln mit eigenem Film (Handy untereinander, je 70 svh).
   Auf der Tafel nur Satz und Knopf; Erklärung zugeklappt darunter. Filmsteuerung: finden.js. */
html body section.page#finden { padding-bottom: var(--ds-space-6); }
html body #finden .v4-finden-stage { position: relative; isolation: isolate; max-width: var(--maxw, 1240px); margin: 0 auto; }
html body #finden .v4-finden-bg {
  position: absolute; z-index: -1; top: -140px; bottom: -80px; left: calc(50% - 50vw); width: 100vw; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 62%, transparent 100%);
}
html body #finden .v4-finden-bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0.62; }
html body section.page#finden .v4-finden-title {
  position: relative; margin: var(--ds-space-3) auto 0; max-width: none; text-align: center;
  font: 250 clamp(36px, 4.4vw, 66px)/1.02 var(--ds-font-head); letter-spacing: -0.015em; color: var(--ds-text); text-wrap: balance;
}
html body section.page#finden .v4-finden-title::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -40% 8%;
  background: radial-gradient(closest-side, var(--ds-veil-core) 0%, var(--ds-veil-core) 40%, var(--ds-veil-mid) 70%, rgba(var(--ds-stage-rgb), 0) 100%);
  filter: blur(16px);
}
html body #finden .v4-ways {
  list-style: none; margin: var(--ds-space-5) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-4); align-items: start;
}
html body #finden .v4-way { display: flex; flex-direction: column; min-width: 0; }
html body #finden .v4-way-tafel {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  height: clamp(340px, calc(100svh - var(--lj-head, 84px) - 330px), 560px);
  border: 1px solid var(--ds-line); border-radius: var(--ds-radius-l); background: var(--ds-surface-3);
  box-shadow: var(--ds-shadow-1);
  transition: border-color var(--ds-dur-2, 240ms) var(--ds-ease), transform var(--ds-dur-2, 240ms) var(--ds-ease);
}
html body #finden .v4-way-tafel:is(:hover, :focus-within) { border-color: var(--ds-gold-line); }
html body #finden .v4-way-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html body #finden .v4-way-tafel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--ds-stage-rgb), 0) 30%, rgba(var(--ds-stage-rgb), 0.55) 58%, rgba(var(--ds-stage-rgb), 0.92) 100%);
}
html body #finden .v4-way-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--ds-space-4); width: 100%; padding: var(--ds-pad-card); }
html body #finden .v4-way-h { margin: 0; font: 400 clamp(22px, 1.9vw, 30px)/1.15 var(--ds-font-head); letter-spacing: -0.01em; color: var(--ds-text); text-wrap: balance; }
html body #finden .v4-way-btn { min-height: var(--ds-control-h, 48px); text-decoration: none; }
html body #finden details.v4-way-mehr { margin-top: var(--ds-space-2); border-top-color: transparent; }
html body #finden details.v4-way-mehr .mehr-body p { margin: 0; max-width: 40ch; color: var(--ds-text-2); }
html body #finden .v4-finden-more { position: relative; margin: var(--ds-space-4) 0 0; text-align: center; max-width: none; }
html body #finden details.v4-finden-mehr { max-width: min(640px, 100%); margin: var(--ds-space-3) auto 0; border-top-color: transparent; }
html body #finden details.v4-finden-mehr > summary { display: flex; justify-content: center; width: 100%; }
html body #finden details.v4-finden-mehr .mehr-body p { margin: 0; text-align: center; color: var(--ds-text-2); }
html body #finden .v4-finden-ai { position: absolute; top: calc(-1 * var(--ds-space-6)); right: 0; font-size: 13px; }
@media (max-width: 860px) {
  html body #finden .v4-ways { grid-template-columns: 1fr; gap: var(--ds-space-5); }
  html body #finden .v4-way-tafel { height: 70svh; min-height: 420px; }
  html body #finden .v4-finden-bg { bottom: auto; height: 100svh; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 52%, transparent 100%); }
  html body #finden .v4-finden-ai { top: calc(-1 * var(--ds-space-5)); }
}
@media (prefers-reduced-motion: reduce) { html body #finden .v4-way-tafel { transition: none; } }

/* ═══ V4-P2 · Berater-Ergebnis (§6): zwei Knöpfe je Karte, „Mehr Düfte in diese Richtung“, Vergleichszeile ═══ */
html body #advisor .advisor-acts { gap: var(--ds-space-3); }
html body #advisor .advisor-acts .wz-btn { flex: 1 1 auto; justify-content: center; min-height: var(--ds-control-h, 48px); padding: 0 18px; }
html body #advisor .advisor-acts .wz-btn--primary { background: var(--ds-gold); border-color: transparent; color: #1d1608; font-weight: 600; }
html body #advisor .advisor-acts .wz-btn--primary:hover,
html body #advisor .advisor-acts .wz-btn--primary:focus-visible { background: var(--ds-gold-strong); color: #1d1608; }
html body #advisor .advisor-acts .wz-btn:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
/* Erklärsatz und Umfang zugeklappt im Kopf */
html body #advisor .advisor-result-head details.advisor-calc { max-width: 720px; margin-top: var(--ds-space-3); border-top-color: transparent; }
html body #advisor .advisor-result-head details.advisor-calc > summary { color: var(--ds-text-2); }
html body #advisor .advisor-result-head details.advisor-calc .mehr-body p { margin: 0 0 var(--ds-space-2); }
/* Vergleich nur mit zwei gemerkten Düften */
html body #advisor .advisor-cmp { margin: var(--ds-space-4) 0 0; text-align: center; }
html body #advisor .advisor-cmp-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill);
  background: transparent; color: var(--ds-gold); font: 500 var(--ds-fs-small, 16px)/1.2 var(--ds-font-text); cursor: pointer;
}
html body #advisor .advisor-cmp-btn:is(:hover, :focus-visible) { background: rgba(216, 184, 117, 0.14); color: var(--ds-gold-strong); }
/* Plätze 4–9 als kleine Chips mit Prozent */
html body #advisor .advisor-more { margin: var(--ds-space-6) 0 0; }
html body #advisor .advisor-more-h { margin: 0 0 var(--ds-space-3); font: 600 var(--ds-fs-eyebrow, 12.5px)/1.3 var(--ds-font-text); letter-spacing: var(--ds-ls-eyebrow, 0.22em); text-transform: uppercase; color: var(--ds-gold); }
html body #advisor .advisor-more-list { display: flex; flex-wrap: wrap; gap: var(--ds-space-2); margin: 0; padding: 0; list-style: none; }
html body #advisor .advisor-more-chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 0 6px 0 16px;
  border: 1px solid var(--ds-line); border-radius: var(--ds-radius-pill); background: rgba(255, 255, 255, 0.04);
  color: var(--ds-text); font: 500 15px/1.2 var(--ds-font-text); cursor: pointer; text-align: left;
}
html body #advisor .advisor-more-chip:is(:hover, :focus-visible) { border-color: var(--ds-gold-line); background: rgba(216, 184, 117, 0.1); }
html body #advisor .advisor-more-chip:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 3px; }
html body #advisor .advisor-more-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 26ch; }
html body #advisor .advisor-more-chip b { display: inline-flex; align-items: baseline; padding: 6px 10px; border-radius: var(--ds-radius-pill); background: rgba(216, 184, 117, 0.16); color: var(--ds-gold-strong); font: 600 14px/1 var(--ds-font-text); font-variant-numeric: tabular-nums; }
html body #advisor .advisor-more-chip b small { font-size: 0.78em; margin-left: 1px; }
@media (max-width: 580px) {
  html body #advisor .advisor-more-chip { width: 100%; justify-content: space-between; }
  html body #advisor .advisor-more-list > li { width: 100%; }
  html body #advisor .advisor-more-name { max-width: none; }
}
/* V4-P2: Vergleichen und Tagebuch im Duftfenster (früher je Berater-Karte) */
html body #arc-m-acts { margin: var(--ds-space-4) 0 0; }
html body .arc-m-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-2); }
html body .arc-m-acts .ed-pill { min-height: 44px; }
html body .arc-m-acts-note { flex-basis: 100%; margin: 0; font: 400 var(--ds-fs-small, 16px)/1.4 var(--ds-font-text); color: var(--ds-text-2); }
html body .arc-m-acts-note:empty { display: none; }

/* ═══ V4-P3 · Duftsuche (Arbeitsanweisung V4 §7, §12 Nr. 4, 09.11.2026) ═════════════════════════════════════
   Die Zahnrad-Bühne ist von Anfang an Hintergrund der Seite: der Film liegt fest hinter allem (fragrance-search.css),
   am Computer stehen rechts die 3D-Räder (aehnlich3d.js, lädt bei Untätigkeit), links die Bibliothek als Lesefläche
   (höchstens 60 %). Am Handy nur der Film, oben 30 svh frei, die Bibliothek auf voller Breite.
   Gewählter Duft (data-fis-chosen): die Bibliothek weicht der Trefferliste (.fis-hits), die Räder füllen die Fläche.
   Kein Text auf den Rädern: Namen, Noten und Bildunterschrift stehen in der Trefferliste. fragrance-search.css lädt
   nach design.css, daher Selektoren mit der Seiten-ID. */
html body section.page#fragrance-search > .fis-hero {
  min-height: 0; margin-bottom: clamp(12px, 2vw, 24px);
  padding-top: clamp(12px, 2.4vw, 40px); padding-bottom: clamp(12px, 2vw, 24px); justify-content: flex-start;
}
html body section.page#fragrance-search > .fis-hero > .fi-hero-in { max-width: min(760px, 58%); }
/* Die Blende dunkelte den festen Film beim Scrollen bis 82 % ab; jetzt trägt die Lesefläche den Text, der Film bleibt frei */
html body section.page#fragrance-search .fis-hero-shade { display: none; }
/* Abzeichen „AI generated“: klein, unten rechts, neben dem Knopf „nach oben“ */
html body section.page#fragrance-search > .fis-hero > .fi-film-ui { position: fixed; z-index: 2; right: 76px; bottom: 34px; font-size: 10px; opacity: .82; }
html body section.page#fragrance-search > .fis-hero > .fi-film-ui .ai-label { min-height: 12px; }

html body section.page#fragrance-search .fis-v4 {
  position: relative; z-index: 1; display: grid; align-items: start;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); grid-template-areas: "lib stage"; column-gap: clamp(12px, 2vw, 32px);
}
/* Der Film vor der Bibliothek entfällt weiter (wie V3); er steht jetzt im Raster, daher eigene Regel */
html body section.page#fragrance-search .fis-v4 > .fis-band { display: none; }
/* V4-P7: Abschlussfilm vor dem Fuß (Band unter 760 px Höhe) läuft wie alle Bänder als Dreieck aus;
   die 18-%-Maske aus fragrance-search.css war in der Trefferansicht eine Kante (kanten_check ΔE 10–13) */
html body section.page#fragrance-search > .fis-band {
  -webkit-mask-image: var(--ds-stage-band-mask); mask-image: var(--ds-stage-band-mask);
}
@media (max-width: 760px) {
  /* Handy: Band nur 70svh hoch, Spitze bei 80 % wie beim Eröffnungsbild der Familien (sonst ΔE knapp über 6 je 100 px) */
  html body section.page#fragrance-search > .fis-band {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
  }
}
html body section.page#fragrance-search .fis-v4 > .fis-lib {
  grid-area: lib; width: auto; max-width: none; margin: 0; z-index: 1;
}
/* Bühne: klebt rechts unter dem Kopf, so hoch wie der freie Bildschirm, durchsichtig vor dem Film */
html body section.page#fragrance-search .fis-v4 > .fis-shell {
  grid-area: stage; display: block; position: sticky; top: calc(var(--lj-head, 84px) + 8px);
  height: calc(100svh - var(--lj-head, 84px) - 16px); min-height: 420px;
}
/* Bibliothek: die Bühne beginnt neben dem Titel (Höhe des Kopfes aus fragrance-search.js), nicht erst unter ihm */
html body section.page#fragrance-search .fis-v4:not([data-fis-chosen]) > .fis-shell { margin-top: calc(-1 * var(--fis-hero-h, 0px)); }
html body section.page#fragrance-search .fis-v4 .fis-col--stage,
html body section.page#fragrance-search .fis-v4 .fis-col--stage > .aeh-hero {
  height: 100%; min-height: 0; margin: 0; border: 0; border-radius: 0; background: none; transform: none;
}
/* weicher dunkler Hof hinter den Rädern (kein Rand, keine Fläche), damit sie sich vom Film lösen */
html body section.page#fragrance-search .fis-v4 .fis-col--stage::before {
  content: ""; position: absolute; inset: 4% 0; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(var(--ds-stage-rgb), 0.55) 0%, rgba(var(--ds-stage-rgb), 0.32) 55%, rgba(var(--ds-stage-rgb), 0) 100%);
}
html body section.page#fragrance-search .fis-v4 .aeh-hero { overflow: visible; isolation: isolate; }
html body section.page#fragrance-search .fis-v4 :is(.aeh-labels, .aeh-lines, .aeh-note) { display: none !important; }

/* Trefferfläche */
html body section.page#fragrance-search .fis-v4 > .fis-hits {
  grid-area: hits; width: auto; max-width: none; margin: 0; z-index: 1;
  position: sticky; top: calc(var(--lj-head, 84px) + 8px); max-height: calc(100svh - var(--lj-head, 84px) - 16px); overflow-y: auto; overscroll-behavior: contain;
}
html body section.page#fragrance-search .fis-v4 > .fis-hits[hidden] { display: none; }
html body section.page#fragrance-search .fis-hits:focus { outline: none; }
html body section.page#fragrance-search .fis-hits:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: -4px; }
.fis-hits-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-2) var(--ds-space-3); margin: 0 0 var(--ds-space-4); }
html body section.page#fragrance-search .fis-hits-bar .fis-drawer-open { position: static; min-height: 44px; }
html body section.page#fragrance-search .fis-hits-bar .fis-drawer-open[hidden] { display: none; }
html body section.page#fragrance-search .fis-hits-bar .fis-back { min-height: 44px; }
html body section.page#fragrance-search .fis-hits .aeh-cap {
  position: static; max-width: none; margin: 0 0 var(--ds-space-4); padding: 0; border: 0; background: none; pointer-events: auto;
}
html body section.page#fragrance-search .fis-hits .aeh-cap-text { display: block; }
.fis-hits-ol { display: grid; gap: var(--ds-space-2); margin: 0; padding: 0; list-style: none; }
.fis-hit {
  display: grid; gap: 4px; width: 100%; min-height: 44px; padding: var(--ds-space-3) var(--ds-space-4); text-align: left; cursor: pointer;
  border: 1px solid var(--ds-line); border-radius: var(--ds-radius-s); background: rgba(255, 255, 255, 0.03); color: var(--ds-text); font: inherit;
  transition: border-color var(--ds-dur-fast) var(--ds-ease), background-color var(--ds-dur-fast) var(--ds-ease);
}
.fis-hit:hover { border-color: var(--ds-gold-line); background: rgba(216, 184, 117, 0.08); }
.fis-hit:focus-visible { outline: 2px solid var(--ds-gold-strong); outline-offset: 2px; }
.fis-hit-house { color: var(--ds-gold-strong); font: 600 var(--ds-fs-label)/var(--ds-lh-small) var(--ds-font-text); letter-spacing: .1em; text-transform: uppercase; }
.fis-hit-name { font: 400 var(--ds-fs-h3)/1.15 var(--ds-font-serif); color: var(--ds-text); }
.fis-hit-score { display: flex; align-items: center; gap: var(--ds-space-2); color: var(--ds-text-2); font: 500 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }
.fis-hit-shared { color: var(--ds-text-2); font: 400 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }
.fis-hits-note { margin: var(--ds-space-4) 0 0; color: var(--ds-text-3); font: 400 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }
/* Platzhalter im Suchfeld trägt den früheren Einführungssatz; zu lang für das Feld: mit Auslassungspunkten */
html body section.page#fragrance-search .fis-field--q input { text-overflow: ellipsis; }
html body section.page#fragrance-search .fis-mehr { margin-top: var(--ds-space-5); }

/* Gewählt (Computer): Räder links über die volle Höhe, Trefferliste rechts */
html body section.page#fragrance-search .fis-v4[data-fis-chosen] {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 32%); grid-template-areas: "stage hits";
}
html body section.page#fragrance-search .fis-v4[data-fis-chosen] > .fis-lib { display: none; }
/* unten Platz für Abzeichen und Knopf „nach oben“ über dem Film */
html body section.page#fragrance-search .fis-v4[data-fis-chosen] > .fis-hits { max-height: calc(100svh - var(--lj-head, 84px) - 84px); }
@media (max-width: 1023px) and (min-width: 761px) {
  html body section.page#fragrance-search .fis-v4[data-fis-chosen] { grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); }
}

/* Handy: nur der Film (nie 3D), oben 30 svh frei; Bibliothek bzw. Trefferliste auf voller Breite */
@media (max-width: 760px) {
  html body section.page#fragrance-search > .fis-hero { padding-top: 30svh; padding-bottom: 12px; }
  html body section.page#fragrance-search > .fis-hero > .fi-hero-in { max-width: 100%; }
  /* Abzeichen unten rechts im Filmfenster (die Lesefläche darunter deckt den Bildschirmrand) */
  html body section.page#fragrance-search > .fis-hero > .fi-film-ui { position: absolute; right: 0; bottom: 10px; }
  .fis-hit-score .fic-bar { flex-basis: 40px; }
  html body section.page#fragrance-search .fis-v4 { display: block; }
  html body section.page#fragrance-search .fis-v4 > .fis-shell { display: none; }
  html body section.page#fragrance-search .fis-v4 > :is(.fis-lib, .fis-hits) { margin-inline: 0; }
  html body section.page#fragrance-search .fis-v4 > .fis-hits,
  html body section.page#fragrance-search .fis-v4[data-fis-chosen] > .fis-hits { position: relative; top: auto; max-height: none; overflow: visible; }
  /* Gewählt: oben ein Filmfenster, der erste Treffer steht noch im ersten Bildschirm (Abschluss P3: vorher 78 svh) */
  html body section.page#fragrance-search.fis-is-chosen > .fis-hero { min-height: 30svh; padding-top: 12px; justify-content: flex-end; }
  /* unten frei für die festen Knöpfe (Inhaltsliste, Ton) */
  html body section.page#fragrance-search .fis-v4[data-fis-chosen] > .fis-hits { padding-bottom: 72px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   V4 P4 (09.11.2026) · Menü nach Henge-Vorbild
   Aufklappbereiche nur mit Einträgen: eine Spalte, 16 px, viel Luft, keine Erklärsätze
   (die Sätze bleiben in i18n.js, werden aber nicht mehr gerendert). Hinweisband eine Zeile Grau 12 px.
   ════════════════════════════════════════════════════════════════════════════ */
html body header nav .nav-menu .nav-menu-lead,
html body header nav .nav-fam, html body header nav .nav-fam-toggle { display: none !important; }
@media (min-width: 1021px) {
  /* Feld hängt unter seinem Menüpunkt statt quer über die ganze Breite */
  html body header nav .nav-group { position: relative; }
  html body header .nav-menu, html body.on-home header .nav-menu {
    left: 2px; right: auto; top: calc(100% + 6px); width: max-content; min-width: 236px; max-width: 340px;
    flex-direction: column; flex-wrap: nowrap; gap: 2px;
    padding: var(--ds-space-4) var(--ds-space-5) calc(var(--ds-space-4) + 2px);
    border: 1px solid var(--ds-line); border-radius: var(--ds-radius);
    background: rgba(24, 27, 34, 0.97);
  }
  html body header .nav-menu::before { top: -22px; height: 22px; }
  html body header nav .nav-menu .nav-link {
    font: 400 16px/1.4 var(--ds-font-text); letter-spacing: 0.005em;
    padding: 10px 0; color: var(--ds-text-2); white-space: nowrap;
  }
  html body header nav .nav-menu .nav-link:hover, html body header nav .nav-menu .nav-link.active {
    color: var(--ds-gold-strong); transform: none;
  }
}
@media (max-width: 1020px) {
  /* Handy: Einträge in einer Spalte, 16 px, 48 px Tippziel, eingerückt unter dem Gruppentitel */
  html body.menu-open nav .nav-menu a, html body.menu-open nav .nav-menu .nav-link {
    font: 400 16px/1.4 var(--ds-font-text); letter-spacing: 0.005em;
    min-height: 48px; padding: 8px 0 8px var(--ds-space-3); color: var(--ds-text-2);
  }
  html body.menu-open nav .nav-menu .nav-link.active { color: var(--ds-gold-strong); }
  html body.menu-open header nav .nav-menu, html body.on-home.menu-open header nav .nav-menu { padding: 0 0 var(--ds-space-3); }
}
/* Hinweisband: eine Zeile, Grau 12 px, ohne Farbfläche; Schließen bleibt erreichbar (Tippziel 32 px) */
html body .v2-wip {
  min-height: 0; padding: 5px 44px; background: transparent; border: 0;
  color: var(--ds-text-3); font: 400 12px/1.4 var(--ds-font-text); letter-spacing: 0.01em;
}
html body .v2-wip p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .v2-wip-close { width: 32px; height: 32px; right: 6px; color: var(--ds-text-3); }
html body .v2-wip-close svg { width: 13px; height: 13px; }
@media (max-width: 760px) {
  html body .v2-wip { font-size: 12px; line-height: 1.4; padding: 4px 40px 4px 12px; justify-content: flex-start; }
}
/* Schmale Handys: lieber eine zweite Zeile als abgeschnittener Text (Inhalt bleibt vollständig) */
@media (max-width: 420px) {
  html body .v2-wip p { white-space: normal; }
}

/* ── V4-P6 · Textkürzung: Seitenkopf = Eyebrow, Überschrift, ein Satz; der Rest wortgleich unter „Mehr“ ── */
html body section.page .page-sub.v4-kurz { margin-bottom: var(--ds-space-3); }
html body details.mehr.v4-kopf-mehr { max-width: 60ch; margin: 0 0 clamp(48px, 6vw, 84px); border-top: 0; }
html body details.mehr.v4-kopf-mehr > .mehr-body > p { margin: 0; font-size: var(--ds-fs-lead); line-height: var(--ds-lh-lead); color: var(--ds-text-2); }
html body section.page.has-stage > .page-sub.v4-kurz { padding-bottom: 0; }
html body section.page.has-stage > details.v4-kopf-mehr { padding-bottom: var(--stage-extra, 0px); }
/* Listen über fünf Punkte: fünf sichtbar, „Alle zeigen“ (v2.js kurzListen) */
html body .v4-kurz-zu > li:nth-child(n+6) { display: none; }
html body button.v4-alle { margin: var(--ds-space-4) 0 var(--ds-space-5); }

/* ═══ Duftgetriebe (duftgetriebe.js, fragrance-compare.js, 09.11.2026, Idee Tobias) ═══════════════════════════
   Vier Räder je Duft (Kopf, Herz, Basis, Familie), zwei Düfte nebeneinander = acht Räder. Ersetzt in der Duftsuche
   die unbeschrifteten 3D-Räder. Lesefläche: dunkles Anthrazit vor dem Film; Gold nur für Gemeinsames.
   Computer: in der klebenden Bühne (eigene Scrollfläche, wenn das Getriebe höher ist als der Bildschirm).
   Handy: über der Trefferliste (.dg-host--phone). */
html body section.page#fragrance-search .fis-v4 .aeh-scene {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: var(--ds-line-2) transparent; padding: var(--ds-space-3) 0;
}
html body section.page#fragrance-search .fis-v4 .fis-col--stage:has(.dg)::before { display: none; }
.dg {
  position: relative; margin: 0; padding: var(--ds-space-4) var(--ds-space-3) var(--ds-space-3);
  border: 1px solid var(--ds-line); border-radius: var(--ds-radius);
  background: color-mix(in srgb, var(--ds-surface) 86%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ds-text); font-family: var(--ds-font-text);
}
.dg-example {
  position: absolute; top: var(--ds-space-3); left: 50%; transform: translateX(-50%);
  padding: 2px 10px; border: 1px solid var(--ds-gold-line); border-radius: var(--ds-radius-pill);
  color: var(--ds-gold-strong); font: 600 var(--ds-fs-label)/1.4 var(--ds-font-text); letter-spacing: .12em; text-transform: uppercase;
}
.dg-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: var(--ds-space-3); margin: var(--ds-space-4) var(--ds-space-2) var(--ds-space-2); }
.dg--single .dg-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.dg-side { display: grid; gap: 2px; margin: 0; min-width: 0; justify-items: start; }
.dg-side--b { text-align: right; justify-items: end; }
.dg--single .dg-side { justify-items: center; }
.dg-tag {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--ds-gold-line); border-radius: 50%;
  color: var(--ds-gold-strong); font: 600 11px/1 var(--ds-font-text);
}
.dg-house { color: var(--ds-gold-strong); font: 600 var(--ds-fs-label)/var(--ds-lh-small) var(--ds-font-text); letter-spacing: .1em; text-transform: uppercase; overflow-wrap: break-word; }
.dg-side strong { font: 400 clamp(20px, 2vw, 28px)/1.1 var(--ds-font-serif); color: var(--ds-text); overflow-wrap: break-word; hyphens: auto; }
/* schmal: A und B nebeneinander, Prozent darunter über die volle Breite (sonst bricht „Shalimar“ mitten im Wort) */
.dg--narrow .dg-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; row-gap: var(--ds-space-2); }
.dg--narrow .dg-score { grid-column: 1 / -1; grid-row: 2; }
.dg--narrow .dg-side strong { font-size: 19px; }
.dg-score { display: grid; justify-items: center; gap: 2px; margin: 0; text-align: center; }
.dg-score b { font: 500 clamp(22px, 2.2vw, 30px)/1 var(--ds-font-head); color: var(--ds-gold-strong); font-variant-numeric: tabular-nums; }
.dg-score span, .dg-pick { color: var(--ds-text-3); font: 400 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }
.dg-pick { margin: var(--ds-space-2) 0 0; }
.dg-svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Ebenen */
.dg-level { fill: var(--ds-text-3); font: 600 11px/1 var(--ds-font-text); letter-spacing: .14em; }
.dg-row.has-shared .dg-level { fill: var(--ds-gold); }
/* Räder: Scheibe dunkel, Rand fein, Speichen leise */
.dg-disc { fill: var(--ds-surface-3); stroke: var(--ds-line-2); stroke-width: 1; }
.dg-ring { fill: none; stroke: var(--ds-line); stroke-width: 1; }
.dg-axle { fill: var(--ds-surface-2); stroke: var(--ds-gold-line); stroke-width: 1; }
.dg-spoke { stroke: var(--ds-line); stroke-width: 2; stroke-linecap: round; }
.dg-hub { stroke: rgba(246, 240, 228, .35); stroke-width: 1; opacity: .9; }
.dg-count { fill: var(--ds-text-2); font: 600 13px/1 var(--ds-font-head); pointer-events: none; }
.dg-ghost { fill: none; stroke: var(--ds-line-2); stroke-width: 1; stroke-dasharray: 3 5; }
.dg-ghost-t { fill: var(--ds-text-3); font: italic 400 11px/1 var(--ds-font-text); }
/* Zähne: eigene Noten hell, gemeinsame gold, andere Stufe goldener Umriss, leer kaum sichtbar */
.dg-tooth { stroke-linejoin: round; transition: fill var(--ds-dur-fast) var(--ds-ease), stroke var(--ds-dur-fast) var(--ds-ease); }
.dg-tooth--own { fill: #8a7c6a; }
.dg-tooth--shared { fill: var(--ds-gold); stroke: var(--ds-gold-strong); stroke-width: .8; }
.dg-tooth--cross { fill: var(--ds-surface-4); stroke: var(--ds-gold); stroke-width: 1; }
.dg-tooth--empty { fill: var(--ds-surface-4); opacity: .55; }
/* Beschriftung */
.dg-note { fill: var(--ds-text-2); font: 400 12.5px/1 var(--ds-font-text); cursor: pointer; }
.dg-note--cross { fill: var(--ds-gold); font-style: italic; }
.dg--narrow .dg-note { font-size: 11px; fill: var(--ds-text-3); }
.dg-mid {
  fill: var(--ds-gold-strong); font: 600 13px/1 var(--ds-font-text); cursor: pointer;
  paint-order: stroke; stroke: var(--ds-surface); stroke-width: 5px; stroke-linejoin: round;
}
.dg--narrow .dg-mid { font-size: 11.5px; }
.dg-line { fill: var(--ds-text-3); font: 400 11.5px/1 var(--ds-font-text); }
.dg [role="button"]:focus { outline: none; }
.dg [role="button"]:focus-visible { text-decoration: underline; fill: var(--ds-gold-strong); }
/* Fäden */
.dg-thread { fill: none; stroke: var(--ds-gold); stroke-width: 1.4; stroke-linecap: round; opacity: .8; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dg-thread--cross { stroke-width: 1; stroke-dasharray: .012 .012; stroke-dashoffset: 0; }
/* Hervorheben: dieselbe Note in beiden Rädern, im Faden und in der Mitte */
.dg .is-hot.dg-tooth { fill: var(--ds-gold-strong); stroke: var(--ds-gold-strong); }
.dg .is-hot.dg-thread { stroke: var(--ds-gold-strong); stroke-width: 2.4; opacity: 1; }
.dg .is-hot:is(.dg-note, .dg-mid) { fill: var(--ds-gold-strong); text-decoration: underline; }
.dg-legend { margin: var(--ds-space-3) var(--ds-space-2) 0; color: var(--ds-text-3); font: 400 var(--ds-fs-meta)/var(--ds-lh-small) var(--ds-font-text); }

/* Bewegung: die Räder drehen ein Stück und rasten ein, danach zieht sich der Goldfaden. Einmalig, keine Endlosanimation. */
.dg-body { transform: rotate(var(--dg-turn, 0deg)); transition: transform 1.1s cubic-bezier(.2, .9, .25, 1.12); }
.dg.is-in .dg-body { transform: rotate(0deg); }
.dg.is-in .dg-thread:not(.dg-thread--cross) { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ds-ease) .75s; }
.dg-thread--cross, .dg-mid { opacity: 0; transition: opacity .5s var(--ds-ease) 1.2s; }
.dg.is-in .dg-thread--cross { opacity: .55; }
.dg.is-in .dg-mid { opacity: 1; }
.dg.is-still .dg-body, .dg.is-still .dg-thread, .dg.is-still .dg-mid { transition: none; }
@media (prefers-reduced-motion: reduce) { .dg-body, .dg-thread, .dg-mid { transition: none !important; } }

/* Trefferliste: Treffer = „Daneben stellen“, darunter klein „Als Ausgangsduft“ */
.fis-hit-li { display: grid; gap: 4px; }
.fis-hit-li.is-paired > .fis-hit { border-color: var(--ds-gold); background: rgba(216, 184, 117, 0.12); }
.fis-hit-act { justify-self: start; margin-top: 2px; color: var(--ds-gold-strong); font: 600 var(--ds-fs-label)/var(--ds-lh-small) var(--ds-font-text); letter-spacing: .08em; text-transform: uppercase; }
html body section.page#fragrance-search .fis-hit-center { justify-self: end; min-height: 44px; padding: 2px var(--ds-space-2); font-size: var(--ds-fs-meta); }
/* Der Film tritt zurück, sobald ein Duft gewählt ist: das Getriebe ist dann die Hauptsache */
html body section.page#fragrance-search.fis-is-chosen .fis-hero-vid { filter: brightness(.45) saturate(.8); transition: filter 1s var(--ds-ease), opacity 1.2s var(--ds-ease); }
/* Handy: Getriebe über der Trefferliste, volle Breite */
.dg-host--phone { margin: 0 0 var(--ds-space-4); scroll-margin-top: calc(var(--lj-head, 84px) + 12px); }
/* leer ohne Abstand, aber nicht ausgeblendet: duftgetriebe.js misst die Breite vor dem ersten Zeichnen */
.dg-host--phone:empty { margin: 0; }
.dg-host--phone .dg { padding-inline: var(--ds-space-2); }
.dg-host--phone .dg-head { margin-inline: 0; }
