/* ==========================================================================
   RAUMLICHT.NRW — Redesign 2026
   Schwarz / Gold wie das Logo. Keine externen Abhängigkeiten.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2"); }

:root {
  --ink: #0a0a0b;
  --ink-2: #121214;
  --ink-3: #1b1b1e;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --text: #ece8df;
  --muted: #a19d94;
  --muted-dark: #5e5a52;
  --gold: #d4b04c;
  --gold-hi: #f1dc8f;
  --gold-lo: #9c7a22;
  --gold-grad: linear-gradient(115deg, #9c7a22 0%, #d4b04c 28%, #f6e7a6 50%, #d4b04c 72%, #9c7a22 100%);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
/* Sprite-Icons: Höhe immer = Breite (sonst Standard 150px) */
svg:has(> use) { aspect-ratio: 1 / 1; height: auto; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gold-text {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.h-display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: .98; letter-spacing: -.02em; margin: 0;
}
.h-section {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.015em; margin: .35em 0 0;
}
.h-display em, .h-section em { font-style: italic; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .65em;
  padding: 1em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  border: 1px solid var(--line-strong); background: var(--bg);
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-grad); background-size: 200% 100%;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: transparent; }
.btn--gold { color: var(--ink); border-color: transparent; }
.btn--gold::before { transform: none; animation: shimmer 5s linear infinite; }
.btn--gold:hover { color: var(--ink); }
.btn--dark { border-color: rgba(10,10,11,.2); color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--gold); }
.link-arrow svg { width: 1em; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--ink);
  transition: clip-path 1s var(--ease-out) .1s, visibility 0s linear 1.2s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__logo {
  width: min(180px, 40vw);
  -webkit-mask: linear-gradient(100deg, #000 40%, transparent 60%) 120% 0 / 300% 100%;
          mask: linear-gradient(100deg, #000 40%, transparent 60%) 120% 0 / 300% 100%;
  animation: reveal 1.3s var(--ease-out) forwards;
}
@keyframes reveal { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.preloader__tag { font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fade .8s .6s forwards; }
@keyframes fade { to { opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(212,176,76,.6);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor__label { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(212,176,76,.12); }
.cursor.is-view .cursor__ring { width: 92px; height: 92px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }

/* ---------- Progress ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold-grad); }

/* ---------- Header ---------- */
.topbar {
  position: relative; z-index: 110; font-size: .78rem; color: var(--muted);
  border-bottom: 1px solid var(--line); background: var(--ink);
}
.topbar .container { display: flex; gap: 28px; align-items: center; justify-content: space-between; min-height: 40px; flex-wrap: wrap; }
.topbar__group { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
@media (max-width: 980px) { .topbar { display: none; } }

.header {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10,10,11,.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .4s var(--ease); }
.header.is-scrolled .container { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__name { font-weight: 800; letter-spacing: .18em; font-size: .88rem; line-height: 1.1; }
.brand__name small { display: block; font-weight: 500; letter-spacing: .3em; font-size: .56rem; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; font-size: .88rem; font-weight: 600; color: #cfcac0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: flex; gap: 10px; align-items: center; }
.header__cta .btn { padding: .8em 1.3em; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu { overflow-x: hidden; overflow-y: auto; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { overflow-wrap: anywhere; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease-out), color .3s; }
.mobile-menu nav a:hover { color: var(--gold); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: .3s; }
.mobile-menu__foot { margin-top: 40px; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.mobile-menu__foot a:hover { color: var(--gold); }
@media (max-width: 1100px) {
  .nav, .header__cta .btn--ghost-desktop { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) { .header__cta .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - 84px); display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate; padding-top: 60px;
}
.hero__bg { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg--base img { filter: grayscale(1) brightness(.28) contrast(1.1); }
.hero__bg--light {
  --mx: 70%; --my: 40%;
  -webkit-mask: radial-gradient(circle 280px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask: radial-gradient(circle 280px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
.hero__bg--light img { filter: brightness(.9) saturate(1.1) sepia(.25); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,11,.2) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,.75) 72%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.2) 60%);
}
.hero__content { position: relative; padding-bottom: clamp(40px, 6vw, 70px); }
.hero__title { max-width: 13ch; margin: 22px 0 26px; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.is-ready .hero__title .word > span { transform: none; }
.hero__text { max-width: 58ch; color: #c9c4b9; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__hint { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 70px); display: flex; align-items: center; gap: 14px; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.hero__hint::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .hero__hint { display: none; } }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.is-ready .fade-up { opacity: 1; transform: none; }
.is-ready .fade-up.d1 { transition-delay: .35s; } .is-ready .fade-up.d2 { transition-delay: .5s; } .is-ready .fade-up.d3 { transition-delay: .65s; }

/* Services */
.services { position: relative; z-index: 2; padding-bottom: clamp(60px, 8vw, 110px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1000px; }
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services__grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.service {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; gap: 22px; justify-content: space-between;
  min-height: 210px; padding: 24px; border-radius: var(--radius);
  background: rgba(27,27,30,.55); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
  overflow: hidden; text-align: left;
}
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--gx) var(--gy), rgba(212,176,76,.22), transparent 70%); opacity: 0; transition: opacity .4s; }
.service:hover { border-color: rgba(212,176,76,.45); }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 58px; height: 58px; background: var(--gold-grad); background-size: 200% 100%;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  transform: translateZ(30px); transition: transform .5s var(--ease);
}
.service:hover .service__icon { animation: shimmer 2.5s linear infinite; }
.service__num { position: absolute; top: 22px; right: 24px; font-size: .72rem; letter-spacing: .2em; color: var(--muted); }
.service__title { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.05; transform: translateZ(20px); }
.service__more { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; opacity: .75; transition: opacity .3s, gap .3s; }
.service:hover .service__more { opacity: 1; gap: 12px; }
.service__more svg { width: 14px; }
@media (max-width: 480px) { .service { min-height: 170px; padding: 18px; } .service__icon { width: 44px; height: 44px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink-2); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.2rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236,232,223,.4); }
.marquee__item:nth-child(even) { color: var(--text); -webkit-text-stroke: 0; font-style: italic; }
.marquee__star { width: .5em; height: .5em; color: var(--gold); flex: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--paper .lead { color: var(--muted-dark); }
.section--paper .eyebrow { color: var(--gold-lo); }
.texture::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("../img/texture-min.png"); opacity: .035; pointer-events: none; }
.section--paper.texture::before { opacity: .07; }
.texture > .container { position: relative; z-index: 1; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }

.clip-reveal { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
.clip-reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* Willkommen */
.welcome { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } }
.welcome__media { position: relative; }
.welcome__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.welcome__img .tile img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.welcome__float { position: absolute; width: 42%; right: -8%; bottom: -10%; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; border: 6px solid var(--paper); box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.welcome__float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .welcome__float { right: 4%; width: 38%; } }
.welcome__badge {
  position: absolute; left: -26px; top: 32px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center; color: var(--gold);
}
.welcome__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.welcome__badge img { width: 48px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .welcome__badge { left: 12px; top: 12px; width: 104px; height: 104px; } }
.welcome__quote { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.2; margin: 34px 0 0; padding-left: 26px; border-left: 2px solid var(--gold); font-style: italic; }
.welcome__title { font-size: clamp(2.4rem, 5vw, 5rem); }
.welcome__title .brandword { display: block; font-family: var(--sans); font-weight: 800; letter-spacing: .06em; font-size: .62em; margin-top: .15em; }

/* Full Service — sticky */
.fs { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
@media (max-width: 900px) { .fs { grid-template-columns: 1fr; } }
.fs__sticky { position: sticky; top: 110px; align-self: start; }
.fs__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.fs__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.fs__img.is-in img { transform: scale(1); }
.fs__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,.75)); }
.fs__caption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; justify-content: space-between; align-items: end; font-size: .8rem; color: #ddd7cb; letter-spacing: .08em; }
@media (max-width: 900px) { .fs__sticky { position: relative; top: 0; } .fs__img { aspect-ratio: 4 / 3; } }
.fs__lines { margin: 40px 0 0; padding: 0; list-style: none; }
.fs__lines li {
  --p: 0;
  font-family: var(--serif); font-size: clamp(1.9rem, 3.7vw, 3.6rem); line-height: 1.12; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: color-mix(in srgb, var(--text) calc(18% + var(--p) * 82%), transparent);
  transition: color .2s linear;
}
.fs__lines li em { color: color-mix(in srgb, var(--gold) calc(25% + var(--p) * 75%), transparent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 26px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--ink-2); }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.stat__label { margin-top: 10px; font-size: .85rem; color: var(--muted); }

/* Kapitel-Kopf */
.chapter { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; margin-bottom: clamp(40px, 6vw, 80px); }
.chapter__num { font-family: var(--serif); font-size: clamp(4.5rem, 11vw, 10rem); line-height: .8; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@media (max-width: 700px) { .chapter { grid-template-columns: 1fr; } }

/* Überdachungen Bento */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(520px, 62vw, 820px); }
.bento > :nth-child(1) { grid-row: span 2; }
.bento > :nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bento > * { aspect-ratio: 3 / 4; }
  .bento > :nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; }
  .bento > :nth-child(4) { grid-column: span 2; aspect-ratio: 16 / 10; }
}
.tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; width: 100%; padding: 0; background: var(--ink-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.tile__zoom { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,11,.55); backdrop-filter: blur(8px); color: #fff; opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease); }
.tile__zoom svg { width: 18px; }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: none; }
@media (hover: none) { .tile__zoom { opacity: 1; transform: none; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Projekte — horizontal */
.projects { position: relative; overflow: clip; }
.projects__bg { position: absolute; inset: 0; z-index: 0; opacity: .12; }
.projects__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.projects > .container, .projects .hscroll { position: relative; z-index: 1; }
.motto { margin: 30px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1.15; }
.motto span { color: var(--gold); }
.hscroll { height: var(--h, 300vh); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hscroll__track { display: flex; align-items: flex-start; gap: 18px; padding-inline: var(--gutter); will-change: transform; }
.hcard { position: relative; flex: none; width: clamp(260px, 30vw, 440px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.hcard:nth-child(3n+2) { margin-top: 8vh; }
.hcard:nth-child(3n) { margin-top: -6vh; }
.hcard img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1s var(--ease-out); }
.hcard:hover img { transform: scale(1.04); }
.hcard__idx { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-size: .74rem; letter-spacing: .2em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hscroll__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 1px; background: var(--line); }
.hscroll__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 40px; scrollbar-width: none; }
  .hscroll__sticky::-webkit-scrollbar { display: none; }
  .hscroll__track { transform: none !important; }
  .hcard { width: 74vw; scroll-snap-align: center; margin-top: 0 !important; }
  .hscroll__progress { display: none; }
}

/* Pflasterung — Akkordeon-Galerie */
.expand { display: flex; gap: 14px; height: clamp(420px, 55vw, 680px); }
.expand .tile { flex: 1; transition: flex 1s var(--ease-out); }
.expand .tile:hover, .expand .tile.is-active { flex: 2.6; }
.expand .tile__label { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
@media (max-width: 700px) { .expand { flex-direction: column; height: 900px; } }

/* Zielmärkte */
.markets { position: relative; overflow: hidden; isolation: isolate; }
.markets__bg { position: absolute; inset: -10% 0; z-index: -1; }
.markets__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.35); will-change: transform; }
.markets::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,10,11,.2) 25%, rgba(10,10,11,.2) 75%, var(--ink) 100%); }
.mcards { display: flex; gap: 14px; height: clamp(440px, 46vw, 580px); margin-top: clamp(40px, 5vw, 70px); }
.mcard {
  position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-strong); transition: flex .9s var(--ease-out), border-color .4s;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; text-align: left; min-width: 0;
}
.mcard.is-active { flex: 2.2; border-color: rgba(212,176,76,.5); }
.mcard__img { position: absolute; inset: 0; z-index: -1; }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: brightness(.45) grayscale(.4); }
.mcard.is-active .mcard__img img { transform: scale(1.05); filter: brightness(.55) grayscale(0); }
.mcard__num { position: absolute; top: 24px; left: 28px; font-size: .75rem; letter-spacing: .2em; color: var(--gold); }
.mcard__title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.02; white-space: nowrap; }
.mcard__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.mcard__body > div { overflow: hidden; }
.mcard.is-active .mcard__body { grid-template-rows: 1fr; }
.mcard__body .link-arrow { margin-top: 18px; }
.mcard__logo { width: 64px; margin-bottom: 14px; }
@media (max-width: 760px) {
  .mcards { flex-direction: column; height: auto; }
  .mcard, .mcard.is-active { flex: none; min-height: 220px; }
  .mcard.is-active { min-height: 320px; }
  .mcard__title { white-space: normal; }
}

/* Bewertungen */
.reviews { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }
.rating { padding: 34px; border-radius: var(--radius); background: var(--ink); color: var(--text); position: relative; overflow: hidden; }
.rating::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(212,176,76,.35), transparent 70%); }
.rating__label { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.rating__score { font-family: var(--serif); font-size: 6.4rem; line-height: 1; margin: 6px 0 4px; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.rating__count { color: var(--muted); font-size: .9rem; margin: 10px 0 24px; }
.g-logo { width: 18px; height: 18px; }

.rmarquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); display: grid; gap: 14px; }
.rmarquee__track { display: flex; gap: 14px; width: max-content; animation: scroll-x var(--dur, 80s) linear infinite; }
.rmarquee__track--rev { animation-direction: reverse; }
.rmarquee:hover .rmarquee__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(calc(-50% - 7px)); } }
.review { width: 360px; flex: none; padding: 24px; border-radius: var(--radius-sm); background: #fff; border: 1px solid rgba(10,10,11,.07); display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--ink); background: var(--gold-grad); background-size: 200% 100%; flex: none; }
.review__name { font-weight: 700; line-height: 1.2; }
.review__date { font-size: .78rem; color: var(--muted-dark); }
.review__head .g-logo { margin-left: auto; }
.review .stars svg { width: 15px; height: 15px; }
.review__text { font-size: .93rem; color: #3a3832; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--gold-lo); }
@media (max-width: 480px) { .review { width: 290px; } }

/* Kontakt */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; opacity: .16; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.cinfo { display: grid; gap: 12px; margin-top: 36px; }
.cinfo__item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(18,18,20,.7); backdrop-filter: blur(10px); transition: border-color .3s, transform .4s var(--ease); }
.cinfo__item:hover { border-color: rgba(212,176,76,.4); transform: translateX(4px); }
.cinfo__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,176,76,.1); color: var(--gold); }
.cinfo__icon svg { width: 20px; height: 20px; }
.cinfo__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cinfo__value { font-weight: 600; }
.cinfo__value a { transition: color .3s; }
.cinfo__value a:hover { color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e2574c; }
.status.is-open { color: #8fe3a4; }
.status.is-open::before { background: #3ecf6b; box-shadow: 0 0 0 0 rgba(62,207,107,.6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(62,207,107,0); } }
.hours-note { margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hours-note a { color: var(--gold); }

.form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: rgba(18,18,20,.82); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: relative; }
.form__media { height: 180px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 26px; }
.form__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.form h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 600; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03); color: var(--text); font: inherit; resize: vertical; transition: border-color .3s, background .3s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(212,176,76,.04); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e2574c; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.form__privacy { font-size: .78rem; color: var(--muted); max-width: 36ch; }
.form__privacy a { color: var(--gold); text-decoration: underline; }
.form__msg { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; display: none; }
.form__msg.is-ok { display: block; background: rgba(62,207,107,.1); color: #9fe8b2; }
.form__msg.is-err { display: block; background: rgba(226,87,76,.1); color: #f2a29a; }

/* Footer */
.footer { position: relative; padding: clamp(70px, 9vw, 120px) 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font-family: var(--sans); font-weight: 800; letter-spacing: .04em; font-size: clamp(2.2rem, 8.4vw, 8.6rem); line-height: .85; margin: 0 0 clamp(40px, 6vw, 80px); white-space: nowrap; text-align: center; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .74rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.footer a:hover { color: var(--gold); }
.footer__logo { width: 120px; margin-bottom: 18px; }
.footer__tag { color: var(--muted); max-width: 32ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: all .3s; }
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 14px; transition: transform .3s; }
.to-top:hover svg { transform: translateY(-3px); }

/* Info-Toast (Website im Aufbau) */
.toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(380px, calc(100vw - 40px));
  padding: 22px 22px 20px; border-radius: var(--radius-sm); background: rgba(18,18,20,.9); border: 1px solid rgba(212,176,76,.3);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  transform: translateY(140%); transition: transform .8s var(--ease-out);
}
.toast.is-visible { transform: none; }
.toast__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.toast__head img { width: 34px; }
.toast__head strong { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.toast p { margin: 0; font-size: .86rem; color: #c9c4b9; line-height: 1.55; }
.toast__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.toast__close:hover { color: #fff; background: rgba(255,255,255,.06); }
.toast__close svg { width: 16px; }
@media (max-width: 760px) { .toast { bottom: 84px; left: 16px; width: calc(100vw - 32px); } }

/* Mobile Call-Bar */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(18,18,20,.85); border: 1px solid var(--line-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(150%); transition: transform .6s var(--ease-out); }
.callbar.is-visible { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.callbar a:first-child { background: var(--gold-grad); color: var(--ink); }
.callbar svg { width: 16px; }
@media (max-width: 760px) { .callbar { display: grid; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(6,6,7,.94); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 84dvh; border-radius: 12px; object-fit: contain; transition: opacity .25s, transform .4s var(--ease-out); }
.lightbox__img.is-switching { opacity: 0; transform: scale(.97); }
.lightbox__btn { position: fixed; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: rgba(18,18,20,.6); transition: background .3s, color .3s; }
.lightbox__btn:hover { background: var(--gold); color: var(--ink); }
.lightbox__btn svg { width: 20px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; translate: none; } }

/* Rechtstexte */
.legal { padding: clamp(60px, 8vw, 120px) 0; }
.legal__wrap { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin: 0 0 30px; }
.legal h1:not(:first-child) { margin-top: 90px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 44px 0 12px; color: var(--gold-hi); }
.legal h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #c9c4b9; }
.legal a { color: var(--gold); text-decoration: underline; word-break: break-word; }
.legal .note { padding: 16px 18px; border-radius: 12px; border: 1px dashed rgba(212,176,76,.5); color: var(--gold-hi); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up, .hero__title .word > span { opacity: 1; transform: none; }
  .clip-reveal { clip-path: none; }
}

/* ==========================================================================
   Blog / Ratgeber
   ========================================================================== */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(30px, 4vw, 50px); }
@media (max-width: 980px) { .bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bgrid { grid-template-columns: 1fr; } }
.bcard[hidden] { display: none; }
.bcard__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.bcard__link:hover { border-color: rgba(212,176,76,.45); transform: translateY(-4px); }
.bcard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bcard__link:hover .bcard__img img { transform: scale(1.06); }
.bcard__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.bcard__cat { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.bcard__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 1.9vw, 1.8rem); line-height: 1.12; margin: 0; }
.bcard__excerpt { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.bcard .link-arrow { margin-top: 6px; font-size: .9rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--text); }

.blog-hero { padding: clamp(60px, 8vw, 120px) 0 30px; }
.blog-hero .h-display { margin: 18px 0 22px; max-width: 14ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

.post__hero { padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.post__hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .post__hero-grid { grid-template-columns: 1fr; } }
.post__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; margin: 16px 0 22px; }
.post__lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: #c9c4b9; max-width: 60ch; margin: 0; }
.post__meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: .88rem; color: var(--muted); line-height: 1.4; }
.post__meta img { width: 46px; height: 46px; border-radius: 50%; background: var(--ink-3); object-fit: contain; padding: 4px; border: 1px solid var(--line); }
.post__meta strong { color: var(--text); }
.post__figure { margin: 0; }
.post__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.post__figure figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .post__figure img { aspect-ratio: 16 / 10; } }

.post__layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(30px, 6vw, 90px); justify-content: center; padding-block: clamp(50px, 7vw, 90px); }
@media (max-width: 1000px) { .post__layout { grid-template-columns: 1fr; } .post__aside { display: none; } }
.post__aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 20px; }
.toc__title { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: .86rem; color: var(--muted); line-height: 1.4; transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--text); border-color: var(--gold); }
.aside-cta { padding: 20px; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line); }
.aside-cta p { margin: 0 0 12px; font-weight: 600; }
.aside-cta .btn { width: 100%; justify-content: center; padding: .85em 1em; }

.prose { font-size: clamp(1rem, 1.1vw, 1.1rem); line-height: 1.8; color: #d6d1c6; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.faq summary, .post__title, .bcard__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.prose > p:first-child { font-size: 1.12em; color: var(--text); }
.prose h2 { font-family: var(--serif); font-weight: 400; color: var(--text); font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.1; margin: 2em 0 .55em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.12rem; color: var(--text); margin: 1.8em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(212,176,76,.5); }
.prose a:hover { text-decoration-color: currentColor; }

.faq { margin-top: 3em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 18px; }
.faq details p { margin: 0; }

.post-cta { margin-top: 3.5em; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: linear-gradient(135deg, rgba(212,176,76,.14), rgba(212,176,76,.03)); border: 1px solid rgba(212,176,76,.35); display: grid; gap: 22px; }
.post-cta p { margin: 0 0 .6em; }
.post-cta__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.post-cta__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--text); }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.post-cta .btn { text-decoration: none; }
.related { border-top: 1px solid var(--line); }
.faq summary > span { flex: 1; min-width: 0; }
.faq summary::after { flex: none; width: 1em; text-align: center; }
.faq summary { overflow: hidden; }
@media (max-width: 1000px) { .post__aside { display: none; } }
