/* BRAWIA – öffentliche Website
   Layout: schwarzer Marmor mit Gold (dunkel) oder helle Papierfläche, linksbündige Textspalten,
   Video als bewegtes Material hinter dem Text. Gold nur für Marke, Linien und Handlungen.
   Hell/Dunkel über data-theme auf <html>; Standard ist dunkel. */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-de.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic-de.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-de.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Dunkel: schwarzer Marmor und Gold */
  --bg: #0A0A0B;
  --bg-2: #111113;          /* abgesetzte Bänder */
  --bg-3: #1A1A1D;          /* Flächen, Formularfelder */
  --field: #0D0D0F;
  --fg: #F7F6F2;            /* Überschriften, Haupttext */
  --fg-2: #D6D0C4;          /* Fließtext */
  --fg-3: #9E978A;          /* Hinweise */
  --gold: #D4A85A;
  --gold-hi: #EDCF92;
  --gold-text: #E4BF7A;     /* Gold als Schrift */
  --on-gold: #0A0A0B;
  --line: rgba(212, 168, 90, 0.34);
  --line-soft: rgba(214, 208, 196, 0.12);
  --field-line: rgba(214, 208, 196, 0.24);
  --header-solid: rgba(10, 10, 11, 0.92);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --ok: #7FC79A;
  --err: #F09A86;

  /* Immer auf Video/Bild: unabhängig vom Thema */
  --media-fg: #FFFFFF;
  --media-fg-2: rgba(255, 255, 255, 0.88);
  --media-shade: 8, 8, 10;

  --marble: url("../../museum/raeume/halle/marmor-boden-v2.webp");
  --display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --fs-xs: 0.875rem;
  --fs-sm: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.3125rem;
  --fs-xl: clamp(1.6rem, 1.25rem + 1.3vw, 2.15rem);
  --fs-2xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --fs-hero: clamp(2.8rem, 1.5rem + 5.6vw, 6.2rem);

  --gutter: 20px;
  --max: 1240px;
  --radius: 6px;
  --header-h: 78px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F3F5F9;
  --bg-3: #E9EEF5;
  --field: #FFFFFF;
  --fg: #0B1528;
  --fg-2: #33405A;
  --fg-3: #5E6A82;
  --gold: #C9A55C;
  --gold-hi: #B8924A;
  --gold-text: #8A6A2C;
  --on-gold: #0B1528;
  --line: rgba(138, 106, 44, 0.35);
  --line-soft: rgba(11, 21, 40, 0.12);
  --field-line: rgba(11, 21, 40, 0.22);
  --header-solid: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 60px rgba(11, 21, 40, 0.12);
  --ok: #2E7D4F;
  --err: #B53D27;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; transition: background-color .35s ease, color .35s ease;
}
@media (min-width: 900px) { body { font-size: var(--fs-md); } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
[id], form { scroll-margin-top: calc(var(--header-h) + 24px); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; color: var(--fg); font-optical-sizing: auto; }
h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); line-height: 1.2; }
p { margin: 0; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--fg); max-width: 36em; }
.muted { color: var(--fg-2); }
.small { font-size: var(--fs-xs); }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) { :root { --gutter: 40px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; color: var(--media-fg);
  transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: var(--header-solid); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line-soft); color: var(--fg); }
/* Menü offen: kein Weichzeichner an der Kopfzeile, sonst wird das Menü (fixed) auf die Kopfzeilenhöhe eingesperrt */
.site-header.menu-open, .site-header:has(.nav.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand .lion { width: 46px; height: auto; }
.brand .word { width: 120px; height: auto; display: block; color: inherit; }
.brand .word path { fill: currentColor; }
.brand-sub { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--gold); margin-top: 5px; font-weight: 600; }
.site-header:not(.is-solid) .brand-sub { color: var(--gold-hi); }
:root[data-theme="light"] .site-header:not(.is-solid) .brand-sub { color: #E8D2A2; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.97rem; font-weight: 500; color: inherit; opacity: .9; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--gold); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.theme-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; opacity: .85; transition: opacity .2s, transform .4s; }
.theme-btn:hover { opacity: 1; transform: rotate(20deg); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .moon { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .moon { display: block; }
.menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; opacity: .85; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; }
@media (max-width: 1120px) {
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--bg); color: var(--fg); flex-direction: column; gap: 0; padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) 40px max(var(--gutter), env(safe-area-inset-left, 0px)); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; overflow-y: auto; }
  .nav a { font-family: var(--display); font-size: 1.8rem; font-weight: 600; padding-block: 14px; border-bottom: 1px solid var(--line-soft); opacity: 1; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 560px) { .header-cta .btn { display: none; } .brand .word { width: 100px; } .brand .lion { width: 40px; } .brand-sub { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--text); letter-spacing: 0.01em;
  padding: 15px 24px; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1px solid var(--gold); background: var(--gold); color: var(--on-gold);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  min-height: 50px;
}
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
:root[data-theme="light"] .btn:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--field-line); }
.btn-ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-text); }
:root[data-theme="light"] .btn-ghost:hover { color: var(--gold-text); }
.on-media .btn-ghost { color: var(--media-fg); border-color: rgba(255,255,255,.55); }
.on-media .btn-ghost:hover { color: #fff; border-color: var(--gold); background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 16px; min-height: 42px; font-size: 0.94rem; }
.btn[disabled] { opacity: .5; cursor: progress; }
.textlink { color: var(--gold-text); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; font-weight: 600; }
.textlink:hover { border-bottom-color: var(--gold-text); }
.on-media .textlink { color: var(--gold-hi); }

/* ---------- Video-Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); min-height: min(92svh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: #0A0A0B; color: var(--media-fg); }
.hero--sub { min-height: min(66vh, 620px); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--media-shade), .62) 0%, rgba(var(--media-shade), .28) 35%, rgba(var(--media-shade), .72) 75%, rgba(var(--media-shade), .92) 100%), linear-gradient(90deg, rgba(var(--media-shade), .7) 0%, rgba(var(--media-shade), 0) 65%); }
.hero-body { position: relative; width: 100%; padding-block: calc(var(--header-h) + 80px) clamp(52px, 8vw, 100px); }
.hero-kicker { display: flex; align-items: center; gap: 14px; color: var(--gold-hi); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.hero h1 { max-width: 12ch; color: var(--media-fg); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero--sub h1 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.8rem); max-width: 15ch; }
.hero .lead { margin-top: 26px; color: var(--media-fg-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Bänder ---------- */
.band { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.band--alt { background: var(--bg-2); }
.band--tight { padding-block: clamp(52px, 6vw, 84px); }
.band-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 68px); max-width: 780px; }
.band-head p { color: var(--fg-2); font-size: var(--fs-lg); line-height: 1.6; }
.eyebrow { color: var(--gold-text); font-weight: 600; font-size: var(--fs-sm); }

.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev { grid-template-columns: 7fr 5fr; } }
.split > * { min-width: 0; }
.prose { display: grid; gap: 1.1em; color: var(--fg-2); max-width: 64ch; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--gold); }

.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 2px solid var(--gold); margin: 0; }
.ledger > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line-soft); }
.ledger dt { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.35rem); color: var(--gold-text); line-height: 1.1; }
.ledger dd { margin: 8px 0 0; color: var(--fg-2); font-size: var(--fs-sm); max-width: 26ch; }

/* ---------- Scroll-Kapitel mit Videos ---------- */
.chapters { position: relative; background: #0A0A0B; color: var(--media-fg); }
.chapters-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.chapters-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.chapters-stage video.is-active { opacity: 1; }
.chapters-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--media-shade), .9) 0%, rgba(var(--media-shade), .62) 45%, rgba(var(--media-shade), .2) 100%), linear-gradient(0deg, rgba(var(--media-shade), .6), rgba(var(--media-shade), 0) 40%); }
.chapters-rail { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 14px; }
.chapters-rail span { display: block; width: 3px; height: 36px; border-radius: 2px; background: rgba(255,255,255,.28); transition: background .4s, height .4s; }
.chapters-rail span.is-active { background: var(--gold); height: 58px; }
.chapters-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.chapter { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.chapter-inner { max-width: 600px; padding-block: 80px; }
.chapter-no { font-weight: 600; color: var(--gold-hi); font-size: var(--fs-sm); display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.chapter-no::after { content: ""; width: 48px; height: 2px; background: var(--gold); opacity: .7; }
.chapter h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.1rem); color: var(--media-fg); }
.chapter p { margin-top: 22px; color: var(--media-fg-2); font-size: var(--fs-lg); line-height: 1.6; }
.chapter .textlink { display: inline-block; margin-top: 24px; }

/* ---------- Zwei Wege ---------- */
.paths { display: grid; grid-template-columns: 1fr; gap: 2px; background: #0A0A0B; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; text-decoration: none; color: var(--media-fg); isolation: isolate; }
.path video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease; }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--media-shade), .95) 12%, rgba(var(--media-shade), .45) 60%, rgba(var(--media-shade), .3)); }
.path:hover video { transform: scale(1.04); }
.path-body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; max-width: 580px; }
.path-body .label { color: var(--gold-hi); font-size: var(--fs-sm); font-weight: 600; }
.path-body h2 { font-size: clamp(2.1rem, 1.4rem + 2.5vw, 3.4rem); color: var(--media-fg); }
.path-body p { color: var(--media-fg-2); }
.path-body .go { margin-top: 10px; display: inline-flex; gap: 10px; align-items: center; color: var(--gold-hi); font-weight: 700; }

/* ---------- Listen ---------- */
.lined { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--gold); }
.lined > li { display: grid; gap: 10px 40px; grid-template-columns: 1fr; padding-block: 30px; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 900px) { .lined > li { grid-template-columns: minmax(220px, 4fr) 7fr; } }
.lined h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
.lined p, .lined ul { color: var(--fg-2); margin: 0; }
.lined ul { padding-left: 1.1em; display: grid; gap: 6px; }
.lined li li::marker { color: var(--gold); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--fg-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; counter-reset: step; border-top: 2px solid var(--gold); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--6 { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 600; color: var(--gold-text); font-size: 2rem; line-height: 1; }
.steps strong { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--fg); }
.steps span { color: var(--fg-2); font-size: var(--fs-sm); }

/* ---------- Zitat / Brief ---------- */
.quote { display: grid; gap: 28px; max-width: 900px; margin: 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.6rem); line-height: 1.3; font-style: italic; font-weight: 500; color: var(--fg); }
.quote figcaption { color: var(--fg-2); font-size: var(--fs-sm); display: flex; gap: 14px; align-items: center; }
.quote figcaption::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.letter { display: grid; gap: 1em; color: var(--fg-2); max-width: 64ch; }
.letter .sign { font-family: var(--display); font-style: italic; color: var(--gold-text); font-size: 1.8rem; margin-top: .4em; }

/* ---------- Medien ---------- */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); aspect-ratio: 4 / 5; max-width: 100%; margin: 0; box-shadow: var(--shadow); }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame figcaption { position: absolute; left: 14px; bottom: 12px; font-size: var(--fs-xs); color: #fff; background: rgba(var(--media-shade), .7); padding: 4px 10px; border-radius: 4px; }

.products { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.product .media-frame { border-radius: 0; aspect-ratio: 4 / 3; box-shadow: none; }
.product-body { padding: 22px 24px 28px; display: grid; gap: 8px; align-content: start; }
.product-body h3 { font-size: 1.5rem; }
.product-body p { color: var(--fg-2); font-size: var(--fs-sm); }

/* ---------- Stellen ---------- */
.jobs { display: grid; border-top: 2px solid var(--gold); }
.job { border-bottom: 1px solid var(--line-soft); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding-block: 28px; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; grid-column: 1; }
.chip { font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--line); color: var(--gold-text); padding: 4px 11px; border-radius: 99px; max-width: 100%; }
.job-toggle { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-text); font-size: 1.4rem; transition: transform .3s; grid-row: 1 / span 2; grid-column: 2; }
.job[open] .job-toggle { transform: rotate(45deg); }
.job-body { display: grid; gap: 32px; padding-bottom: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .job-body { grid-template-columns: repeat(3, 1fr); } }
.job-body h4 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0 0 12px; color: var(--fg); }
.job-body .job-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.job-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--fg-3); font-size: var(--fs-xs); margin-left: auto; }
.job-share a, .job-share button { color: var(--fg); background: none; border: 1px solid var(--field-line); border-radius: 99px; padding: 6px 12px; font: inherit; cursor: pointer; text-decoration: none; }
.job-share a:hover, .job-share button:hover { border-color: var(--gold); }

/* ---------- Formulare ---------- */
.form-panel { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: clamp(22px, 4vw, 46px); box-shadow: var(--shadow); }
.band--alt .form-panel { background: var(--bg); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.form-row > * { min-width: 0; }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-size: var(--fs-sm); font-weight: 600; color: var(--fg); }
.field .opt { color: var(--fg-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--fg); background: var(--field);
  border: 1px solid var(--field-line); border-radius: var(--radius); padding: 13px 14px; min-height: 52px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(210,174,104,.22); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field .err { color: var(--err); font-size: var(--fs-xs); font-weight: 600; }
.field .hint { color: var(--fg-3); font-size: var(--fs-xs); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--fs-sm); color: var(--fg-2); }
.check input { width: 20px; height: 20px; accent-color: var(--gold); margin-top: 3px; }
.check a { color: var(--gold-text); }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }

.choice { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice > div { position: relative; min-width: 0; }
.choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice label { display: grid; gap: 4px; height: 100%; border: 1px solid var(--field-line); border-radius: var(--radius); padding: 14px; cursor: pointer; font-size: var(--fs-sm); color: var(--fg); background: var(--field); transition: border-color .2s, background .2s; }
.choice label small { color: var(--fg-3); font-size: var(--fs-xs); }
.choice input:checked + label { border-color: var(--gold); background: rgba(210,174,104,.12); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.stepper { display: flex; gap: 6px; margin-bottom: 26px; }
.stepper span { flex: 1; height: 4px; background: var(--field-line); border-radius: 2px; }
.stepper span.is-done { background: var(--gold); }
.step-title { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--fg); margin-bottom: 4px; }
.form-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 8px; }

.file-drop { position: relative; border: 1px dashed var(--field-line); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: center; cursor: pointer; color: var(--fg-2); font-size: var(--fs-sm); background: var(--field); }
.file-drop:hover, .file-drop.is-over { border-color: var(--gold); color: var(--fg); }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.slots-day { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.slots-day button { flex: 0 0 auto; background: var(--field); color: var(--fg); border: 1px solid var(--field-line); border-radius: var(--radius); padding: 10px 14px; font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; text-align: left; line-height: 1.3; }
.slots-day button small { display: block; color: var(--fg-3); font-size: var(--fs-xs); font-weight: 400; }
.slots-day button[aria-pressed="true"] { border-color: var(--gold); background: rgba(210,174,104,.14); }
.slots-times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.slots-times button { background: var(--field); color: var(--fg); border: 1px solid var(--field-line); border-radius: 99px; padding: 8px 15px; font: inherit; font-size: var(--fs-sm); cursor: pointer; font-variant-numeric: tabular-nums; }
.slots-times button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); font-weight: 700; }
.slots-empty { color: var(--fg-3); font-size: var(--fs-sm); }

.form-success { display: grid; gap: 16px; padding: 10px 0; }
.form-success .lion-mark { width: 64px; }
.form-success h3 { font-size: 2rem; }

/* ---------- Partner-Modelle ---------- */
.models { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .models { grid-template-columns: 1fr 1fr; } }
.model { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: clamp(26px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.model--featured { border-color: var(--gold); box-shadow: var(--shadow); }
.model .tag { color: var(--gold-text); font-size: var(--fs-sm); font-weight: 700; }
.model h3 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); }
.compare-wrap { overflow-x: auto; border-top: 2px solid var(--gold); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare th { font-weight: 600; color: var(--fg-2); width: 30%; }
.compare thead th { font-family: var(--display); color: var(--fg); font-size: 1.2rem; }
.compare td { color: var(--fg); }
.yes { color: var(--gold-text); font-weight: 600; }

/* ---------- Standorte (Liste) ---------- */
.places { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--gold); }
@media (min-width: 700px) { .places { grid-template-columns: 1fr 1fr; } }
.place { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 6px; align-content: start; }
.place h3 { font-size: 1.5rem; }
.place address { font-style: normal; color: var(--fg-2); }
.place a { text-decoration: none; color: var(--gold-text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Standort-Globus ---------- */
.locator { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 980px) { .locator { grid-template-columns: 360px 1fr; } }
.loc-list { display: grid; gap: 14px; align-content: start; }
.loc-card { text-align: left; font: inherit; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 22px; cursor: pointer; display: grid; gap: 6px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.band--alt .loc-card { background: var(--bg); }
.loc-card:hover { border-color: var(--line); transform: translateY(-2px); }
.loc-card[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold), var(--shadow); }
.loc-card .t { font-family: var(--display); font-weight: 600; font-size: 1.45rem; }
.loc-card address { font-style: normal; color: var(--fg-2); }
.loc-card .go { color: var(--gold-text); font-weight: 700; font-size: var(--fs-sm); margin-top: 6px; }
.loc-card .tel { color: var(--fg); font-variant-numeric: tabular-nums; }
.loc-note { color: var(--fg-3); font-size: var(--fs-xs); }
.loc-note a { color: var(--gold-text); }
.globe-stage { position: relative; min-height: 440px; aspect-ratio: 16 / 11; max-width: 100%; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #1E1C20 0%, #0A0A0B 60%, #050506 100%); border: 1px solid rgba(210,174,104,.35); box-shadow: var(--shadow); color: #fff; isolation: isolate; }
@media (max-width: 600px) { .globe-stage { aspect-ratio: auto; min-height: 420px; } }
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.1s ease; }
.globe-stage iframe.is-in { opacity: 1; }
.globe-hud { position: absolute; left: 18px; top: 16px; right: 18px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; font-size: 12.5px; letter-spacing: .04em; color: rgba(232,210,162,.92); font-variant-numeric: tabular-nums; z-index: 3; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.globe-hud b { color: #fff; font-weight: 600; }
.globe-stage .stage-title { position: absolute; left: 20px; bottom: 18px; z-index: 3; pointer-events: none; }
.globe-stage .stage-title span { display: block; font-size: 12.5px; color: rgba(232,210,162,.92); letter-spacing: .04em; }
.globe-stage .stage-title strong { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.stage-actions { position: absolute; right: 16px; bottom: 16px; z-index: 4; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.stage-actions .btn { min-height: 40px; padding: 9px 14px; font-size: .9rem; }
.stage-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(5,10,21,.5); backdrop-filter: blur(6px); }
.globe-scan { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); mix-blend-mode: screen; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line-soft); padding-block: 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.3rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; color: var(--fg); }
.faq summary::after { content: "+"; color: var(--gold-text); font-family: var(--text); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--fg-2); margin-top: 12px; max-width: 70ch; }

/* Rechtstexte */
.legal { max-width: 800px; display: grid; gap: 1em; color: var(--fg-2); }
.legal h2 { font-size: 1.7rem; margin-top: 1.4em; }
.legal h3 { font-size: 1.25rem; margin-top: .8em; }
.legal a { color: var(--gold-text); }
.legal .note { border-left: 3px solid var(--gold); padding: 12px 16px; background: var(--bg-2); color: var(--fg); font-size: var(--fs-sm); }

.cta-band { display: grid; gap: 28px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #080809; color: #ECE7DD; border-top: 2px solid var(--gold); padding-block: 64px 28px; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 14px; color: #E8D2A2; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: #C3CCDA; font-size: 0.97rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid address { font-style: normal; color: #C3CCDA; font-size: 0.97rem; }
.footer-grid address strong { color: #fff; }
.footer-brand p { color: #C3CCDA; font-size: 0.97rem; margin-top: 18px; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(210,174,104,.45); border-radius: 50%; display: grid; place-items: center; color: #E8D2A2; }
.socials a:hover { background: var(--gold); color: #0A0A0B; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #93A0B8; font-size: var(--fs-xs); }
.footer-bottom a { color: #9E978A; }
.footer-bottom button { background: none; border: 0; color: #9E978A; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

.wa-float { position: fixed; right: max(18px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #0A0A0B; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(3,8,20,.35); }
.wa-float svg { width: 26px; height: 26px; }

.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--bg-2); border-top: 2px solid var(--gold); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--shadow); }
.consent .wrap { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .consent .wrap { grid-template-columns: 1fr auto; } }
.consent p { color: var(--fg-2); font-size: var(--fs-sm); max-width: 80ch; }
.consent p strong { color: var(--fg); }
.consent .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: var(--radius); font-size: var(--fs-sm); z-index: 80; box-shadow: var(--shadow); }
.demo-flag { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 45; font-size: 12px; font-weight: 600; background: #0A0A0B; border: 1px solid rgba(210,174,104,.5); color: #E8D2A2; padding: 6px 12px; border-radius: 99px; text-decoration: none; }

/* ---------- Intro: Löwe springt ins Bild (reines CSS, startet mit dem ersten Bild) ---------- */
.intro { display: none; }
html.intro-active .intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, #201E22 0%, #0A0A0B 55%, #050506 100%); overflow: hidden; animation: introOut .75s cubic-bezier(.4,0,.2,1) 2.55s forwards; -webkit-tap-highlight-color: transparent; }
.intro-inner { position: relative; display: grid; justify-items: center; gap: clamp(14px, 3vh, 22px); padding: 0 24px; }
.intro-lion { width: min(52vw, 260px); height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); animation: lionLeap 1.2s cubic-bezier(.25,.8,.25,1) .1s both; }
.intro-lion path { fill: #D2AE68; }
.intro-glow { position: absolute; left: 50%; top: 42%; width: 80vmin; height: 80vmin; border-radius: 50%; background: radial-gradient(circle, rgba(232,210,162,.42) 0%, rgba(210,174,104,.12) 35%, transparent 65%); pointer-events: none; animation: glowIn .9s ease-out .6s both; }
.intro-word { width: min(62vw, 300px); height: auto; color: #fff; animation: fadeUp .6s ease-out 1.25s both; }
.intro-word path { fill: currentColor; }
.intro-sub { color: #E8D2A2; font: 600 clamp(11px, 3vw, 13px)/1.4 var(--text); letter-spacing: .22em; text-align: center; animation: subIn .7s ease-out 1.45s both; }
.intro-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,240,200,.5) 50%, transparent 60%); mix-blend-mode: overlay; animation: shine .9s ease-in-out 1.2s both; }
.intro-skip { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px)); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.9); border-radius: 99px; padding: 10px 18px; font: 600 13px var(--text); cursor: pointer; }
html.intro-active .intro .intro-inner { animation: zoomThrough .7s cubic-bezier(.5,0,.75,0) 2.55s forwards; }
html.intro-active .intro.is-out .intro-inner { animation: zoomThrough .7s cubic-bezier(.5,0,.75,0) forwards; }
html.intro-active .intro.is-out { animation: introOut .7s cubic-bezier(.4,0,.2,1) forwards; }
html.intro-active .intro.is-skip { animation: introOut .25s ease forwards; }
html.intro-active, html.intro-active body { overflow: hidden; }
@keyframes lionLeap {
  0%   { transform: translate(-62vw, 46vh) rotate(-28deg) scale(.32); opacity: 0; filter: blur(6px) drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
  42%  { transform: translate(-26vw, -16vh) rotate(-10deg) scale(.78); opacity: 1; filter: blur(2px) drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
  72%  { transform: translate(0, 3vh) rotate(5deg) scale(1.12); filter: blur(0) drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
  86%  { transform: translate(0, -1vh) rotate(-1.5deg) scale(.97); }
  100% { transform: none; opacity: 1; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
}
@keyframes glowIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.2); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes subIn { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .22em; } }
@keyframes shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes zoomThrough { to { transform: scale(2.2); filter: blur(8px); opacity: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* Bewegung reduziert: ruhiges Einblenden statt Sprung */
@media (prefers-reduced-motion: reduce) {
  .intro-lion { animation: fadeOnly .6s ease-out both; }
  .intro-glow, .intro-shine { animation: none; opacity: 0; }
  .intro-word { animation: fadeOnly .5s ease-out .4s both; }
  .intro-sub { animation: fadeOnly .5s ease-out .6s both; }
  html.intro-active .intro { animation: introOut .4s ease 1.7s forwards; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-body > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-body > *:nth-child(2) { animation-delay: .12s; }
  .hero-body > *:nth-child(3) { animation-delay: .24s; }
  .hero-body > *:nth-child(4) { animation-delay: .36s; }
  html.intro-active .hero-body > * { animation-play-state: paused; }
  @keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .chapters-stage video, .path video { transition: none; }
}

/* ---------- Handy ---------- */
@media (max-width: 700px) {
  :root { --header-h: 66px; }
  .hero { min-height: 88svh; }
  .hero--sub { min-height: 62svh; }
  .hero-body { padding-block: calc(var(--header-h) + 48px) 40px; }
  .hero-kicker { font-size: .9rem; margin-bottom: 16px; }
  .hero-kicker::before { width: 26px; }
  .hero .lead { font-size: 1.08rem; margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .band { padding-block: 64px; }
  .band--tight { padding-block: 48px; }
  .band-head { margin-bottom: 32px; gap: 14px; }
  .band-head p, .lead, .chapter p { font-size: 1.08rem; }
  .chapter-inner { padding-block: 64px; padding-right: 22px; }
  .chapters-rail { right: 10px; gap: 10px; }
  .chapters-rail span { height: 24px; }
  .chapters-rail span.is-active { height: 40px; }
  .path { min-height: 440px; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger > div { padding: 20px 12px 20px 0; }
  .ledger dt { font-size: 1.3rem; overflow-wrap: anywhere; hyphens: auto; }
  .ledger dd { font-size: .92rem; }
  .lined > li, .steps li { padding-block: 22px; }
  .job summary { padding-block: 22px; }
  .job-toggle { width: 40px; height: 40px; }
  .job-share { margin-left: 0; }
  .job-cta .btn { flex: 1 1 100%; }
  .form-panel { padding: 20px 16px; border-radius: 10px; }
  .choice { grid-template-columns: 1fr 1fr; }
  .form-nav .btn { flex: 1 1 auto; }
  .model { padding: 22px 18px; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .globe-stage { min-height: 0; aspect-ratio: 4 / 5; border-radius: 12px; }
  .globe-hud { flex-direction: column; gap: 2px; font-size: 11px; left: 14px; top: 12px; }
  .globe-stage .stage-title { left: 14px; bottom: 70px; right: 14px; }
  .stage-actions { left: 12px; right: 12px; bottom: 12px; justify-content: stretch; }
  .stage-actions .btn { flex: 1 1 0; }
  .loc-card { padding: 18px; }
  .wa-float { width: 50px; height: 50px; }
  .demo-flag { display: none; }
  .footer-grid { gap: 28px; }
  .site-footer { padding-block: 48px 24px; }
}
@media (max-width: 380px) {
  .choice { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
}

/* Eingebettet im Museum: nur der Inhalt, ohne Kopf, Fuß und schwebende Elemente */
html.embed .site-header, html.embed .site-footer, html.embed .wa-float, html.embed .demo-flag, html.embed .consent, html.embed .skip { display: none !important; }
html.embed { --header-h: 0px; scrollbar-width: thin; }
html.embed .hero { min-height: 0; }
html.embed .hero--sub { min-height: 0; }
html.embed .hero-body { padding-block: 44px 40px; }
html.embed .hero-media video { display: none; }
/* im Bildschirm erscheint die Seite fertig: keine Einflug-Animationen, kein Nachrutschen */
html.embed .hero-body > * { animation: none !important; }
html.embed { scroll-behavior: auto; }

/* Umschalter zur 3D-Ausstellung */
.world-switch { white-space: nowrap; }
@media (max-width: 720px) { .header-cta .world-switch { padding-inline: 12px; font-size: 12px; } }
@media (max-width: 560px) { .header-cta .btn.world-switch { display: inline-flex; min-height: 36px; padding-inline: 10px; font-size: 11px; } }
.nav a { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1420px) { .nav { gap: 18px; } .nav a { font-size: .92rem; } .header-cta .btn-sm:not(.world-switch) { display: none; } }

/* ---------- Schwarz-Gold-Marmor (dunkles Thema) ---------- */
:root:not([data-theme="light"]) .band--alt,
:root:not([data-theme="light"]) .site-footer {
  background-color: var(--bg-2);
  background-image: linear-gradient(rgba(10,10,11,.84), rgba(10,10,11,.9)), var(--marble);
  background-size: auto, 820px 820px;
}
:root:not([data-theme="light"]) .band--alt { border-top: 1px solid rgba(212,168,90,.18); border-bottom: 1px solid rgba(212,168,90,.18); }

/* ---------- Startseite klassisch: Halle als Bühne, Text mittig ---------- */
.hero--center { align-items: center; }
.hero--center .hero-media::after { background: radial-gradient(60% 55% at 50% 42%, rgba(var(--media-shade), .72), rgba(var(--media-shade), .3) 70%, rgba(var(--media-shade), .55)), linear-gradient(180deg, rgba(var(--media-shade), .55) 0%, transparent 22%, transparent 70%, rgba(var(--media-shade), .85) 100%); }
.hero--center .hero-body { text-align: center; display: grid; justify-items: center; padding-block: calc(var(--header-h) + 40px) clamp(40px, 7vw, 80px); }
.hero--center .hero-kicker { justify-content: center; margin-bottom: 18px; }
.hero--center .hero-kicker::before { display: none; }
.hero--center h1 { max-width: 20ch; }
.hero--center .lead { max-width: 640px; }
.hero--center .hero-actions { justify-content: center; }
.hero-hint { margin-top: 34px; display: grid; justify-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); opacity: .85; }
.hero-hint i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: hintdrip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes hintdrip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Die Ausstellung: Exponate ziehen beim Scrollen von rechts nach links ---------- */
.xgal { position: relative; background: #0A0A0B; color: var(--fg); background-image: linear-gradient(rgba(10,10,11,.9), rgba(10,10,11,.94)), var(--marble); background-size: auto, 820px 820px; }
.xgal-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 34px); padding-top: var(--header-h); }
.xgal-head h2 { font-size: var(--fs-2xl); margin: 0; }
.xgal-head .hero-kicker { margin-bottom: 12px; }
.xgal-sub { color: var(--fg-3); margin: 10px 0 0; font-size: var(--fs-sm); }
.xgal-track { display: flex; gap: clamp(16px, 2.4vw, 32px); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); will-change: transform; }
.xcard { flex: 0 0 min(86vw, 880px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: linear-gradient(180deg, rgba(22,21,24,.92), rgba(12,12,14,.96)); border: 1px solid rgba(212,168,90,.38); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.xcard-media { position: relative; margin: 0; overflow: hidden; background: #050506; }
.xcard-media img { width: 100%; height: 100%; max-height: min(62vh, 560px); object-fit: cover; display: block; }
.xcard-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.xcard-no { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.xcard h3 { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.08; color: var(--fg); }
.xcard dl { margin: 4px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding-block: 12px; border-block: 1px solid var(--line); }
.xcard dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.xcard dd { margin: 2px 0 0; font-size: var(--fs-xs); color: var(--fg); }
.xcard-body > p:not(.xcard-no) { margin: 0; color: var(--fg-2); font-size: var(--fs-sm); line-height: 1.65; }
.xgal-progress { height: 2px; }
.xgal-progress span { display: block; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.xgal-progress::before { content: ""; display: block; height: 2px; margin-bottom: -2px; background: rgba(212,168,90,.18); }
.xgal.is-static { height: auto !important; }
.xgal.is-static .xgal-stage { position: relative; height: auto; padding-block: calc(var(--header-h) + 40px) 60px; }
.xgal.is-static .xgal-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; }
.xgal.is-static .xcard { scroll-snap-align: center; }
:root[data-theme="light"] .xgal { background: var(--bg-2); }
:root[data-theme="light"] .xcard { background: #fff; }
@media (max-width: 820px) {
  .hero--center { align-items: flex-start; }
  .hero--center .hero-body { padding-top: calc(var(--header-h) + 28px); }
  .hero--center .hero-hint { margin-top: 22px; }
  .xgal-stage { justify-content: flex-start; padding-top: calc(var(--header-h) + 14px); gap: 14px; }
  .xgal-head .hero-kicker { display: none; }
  .xcard { flex-basis: 84vw; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .xcard-body { justify-content: flex-start; }
  .xcard-media img { max-height: 28svh; aspect-ratio: 16 / 11; }
  .xcard-body > p:not(.xcard-no) { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
  .xcard-body { padding: 18px 18px 20px; gap: 10px; }
  .xcard-body > p:not(.xcard-no) { font-size: 14.5px; line-height: 1.55; }
  .xgal-sub { display: none; }
  .xgal-head h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem); }
}
@media (max-width: 820px) and (max-height: 700px) {
  .xcard-body > p:not(.xcard-no) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

/* KI-Kennzeichnung direkt am Medium */
.ki-badge { position: absolute; z-index: 3; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 3px; background: rgba(8,8,10,.62); color: rgba(255,255,255,.88) !important; font: 600 10.5px/1.3 var(--text); letter-spacing: .06em; text-decoration: none !important; backdrop-filter: blur(4px); pointer-events: auto; }
.ki-badge:hover { background: rgba(8,8,10,.85); }
.hero-media .ki-badge { bottom: auto; top: calc(var(--header-h) + 12px); }
.chapters-stage .ki-badge { right: 56px; }
.path { position: relative; }

/* ---------- Klassische Startseite: schimmernder Marmor (eigenständig, nicht Museum) ---------- */
.hero--marble { align-items: center; min-height: min(86vh, 820px); min-height: min(86svh, 820px); background: #08080a; }
.marble-stage { position: absolute; inset: 0; overflow: hidden; }
.marble-layer { position: absolute; inset: -20% -20%; background: var(--marble) 0 0 / 640px 640px repeat; opacity: 1; filter: brightness(1.35) contrast(1.1); will-change: transform; animation: marbledrift 70s linear infinite alternate; }
.marble-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 45%, rgba(8,8,10,.62), rgba(8,8,10,.22) 70%, rgba(8,8,10,.5)), linear-gradient(180deg, rgba(8,8,10,.5), transparent 25%, transparent 75%, rgba(8,8,10,.92)); }
.marble-sheen { position: absolute; inset: -30% -60%; z-index: 1; background: linear-gradient(105deg, transparent 38%, rgba(232,196,120,.10) 46%, rgba(255,226,160,.18) 50%, rgba(232,196,120,.10) 54%, transparent 62%); will-change: transform; animation: marblesheen 9s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes marbledrift { from { transform: translate3d(0, 0, 0) scale(1.02); } to { transform: translate3d(-6%, -4%, 0) scale(1.08); } }
@keyframes marblesheen { 0% { transform: translate3d(-45%, 0, 0); } 55%, 100% { transform: translate3d(45%, 0, 0); } }
.hero--marble .hero-body { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; padding-block: calc(var(--header-h) + 40px) clamp(48px, 7vw, 90px); }
.hero--marble .hero-kicker { justify-content: center; }
.hero--marble .hero-kicker::before { display: none; }
.hero--marble h1 { max-width: 14ch; background: linear-gradient(180deg, #fff 30%, #f1dca8); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .16em; margin-bottom: -.16em; }
.hero--marble .lead { max-width: 620px; }
.hero--marble .hero-actions { justify-content: center; }
/* Der Marmor bleibt auch im hellen Design dunkel: Schrift und Knöpfe darauf deshalb immer hell */
:root[data-theme="light"] .hero--marble { background: #08080a; color: #F2EEE6; }
.hero--marble .lead { color: rgba(242,238,230,.9); }
.hero--marble .hero-kicker { color: #E8C987; }
.hero--marble .btn-ghost { color: #F2EEE6; border-color: rgba(242,238,230,.45); background: rgba(8,8,10,.25); }
.hero--marble .btn-ghost:hover { color: #EED7A4; border-color: #D4AF6A; }
.site-header:not(.is-solid):not(.menu-open) .btn-ghost { color: inherit; border-color: rgba(255,255,255,.45); }
@media (prefers-reduced-motion: reduce) { .marble-layer, .marble-sheen { animation: none; } }

/* ---------- Standorte ---------- */
.sites { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.site { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: clamp(18px, 2.4vw, 28px); background: var(--bg-2); border: 1px solid var(--line); }
.site-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #121214; border: 1px solid var(--line); }
.site-photo img { width: 100%; height: 100%; object-fit: cover; }
.site-photo--empty { display: grid; place-items: center; color: var(--fg-3); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; }
.site-tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.site h3 { margin: 6px 0 0; font-size: var(--fs-xl); }
.site-role { margin: 2px 0 12px; color: var(--gold-text); font-size: var(--fs-sm); }
.site-body > p:not(.site-tag):not(.site-role) { color: var(--fg-2); font-size: var(--fs-sm); margin: 0 0 12px; }
.site address { font-style: normal; color: var(--fg); margin-bottom: 6px; }
@media (max-width: 520px) { .site { grid-template-columns: 1fr; } .site-photo { max-width: 180px; } }

/* ---------- Texte ploppen beim Scrollen auf ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Einladung zum 3D-Rundgang (klassische Startseite) */
/* Einladung zum 3D-Rundgang: groß und gut sichtbar auf der Startseite */
.tour3d { margin: 34px auto 0; display: flex; align-items: center; gap: 18px; width: min(620px, 100%); padding: 10px 20px 10px 10px; border: 1px solid rgba(212,175,106,.55); background: rgba(10,10,12,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--fg); text-align: left; text-decoration: none; box-shadow: 0 18px 50px -24px rgba(0,0,0,.8); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.tour3d:hover, .tour3d:focus-visible { border-color: var(--gold); background: rgba(10,10,12,.8); transform: translateY(-2px); }
.tour3d-img { position: relative; flex: none; width: 168px; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0d; }
.tour3d-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tour3d:hover .tour3d-img img { transform: scale(1.06); }
.tour3d-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; background: rgba(10,10,12,.55); border: 1px solid rgba(238,215,164,.8); }
.tour3d-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid #EED7A4; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tour3d-txt { display: grid; gap: 3px; flex: 1; min-width: 0; }
.tour3d-k { font-size: .72rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--gold) !important; }
.tour3d b { font-family: var(--display, serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; color: var(--fg); }
.tour3d small { font-size: .84rem; color: var(--fg-3, #9C9588); }
.tour3d > i { flex: none; font-style: normal; color: var(--gold); font-size: 1.4rem; }
.tour3d, .tour3d b { color: #F2EEE6; } .tour3d small { color: #B7AFA2; }
@media (max-width: 560px) {
  .tour3d { flex-direction: column; align-items: stretch; gap: 12px; padding: 10px 10px 14px; }
  .tour3d-img { width: 100%; }
  .tour3d-txt { padding-inline: 6px; }
  .tour3d > i { display: none; }
}
/* Hinweis, wenn der Rechner den 3D-Rundgang nicht flüssig schafft */
.t3d-dlg { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(5,5,7,.72); }
.t3d-box { width: min(480px, 100%); padding: 26px 24px 22px; background: #121215; border: 1px solid rgba(212,175,106,.45); color: #E9E4DA; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.t3d-box h2 { margin: 0 0 10px; font-family: var(--display, serif); font-weight: 500; font-size: 1.5rem; color: #EED7A4; }
.t3d-box p { margin: 0 0 18px; color: #C9C2B6; font-size: .95rem; line-height: 1.55; }
.t3d-box .row { display: flex; flex-wrap: wrap; gap: 10px; }
.t3d-box button, .t3d-box a { font: inherit; font-size: .9rem; font-weight: 600; padding: 11px 16px; cursor: pointer; text-decoration: none; border: 1px solid #D4AF6A; background: none; color: #D4AF6A; }
.t3d-box button.main { background: #D4AF6A; color: #111; }
/* Schmale Handys: Kopfzeile passt in die Breite (Museum-Knopf als kurzes „3D“) */
@media (max-width: 430px) {
  .header-cta .btn.world-switch { font-size: 0; padding-inline: 12px; min-width: 44px; justify-content: center; }
  .header-cta .btn.world-switch::before { content: "3D"; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
}
