/* ============================================================
   HOFFUTEC 2026 — Base System
   CI bewahrt: Backstein-Rot / Grau / HOFFUTEC-Wortmarke
   Full-width, sticky Top-Nav, Manrope
   File 1/2 — Tokens, Reset, Nav, Drawer, Footer, Buttons, Utils
   ============================================================ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* CI Rot */
  --brick: #963a3a;
  --brick-dark: #7a2828;
  --brick-light: #b14747;
  --brick-tint: #f3e9e7;
  /* Neutrals (warm) */
  --ink: #1a1a1d;
  --ink-soft: #26262b;
  --graphite: #3a3a40;
  --steel: #8c8c92;
  --steel-light: #b9b9bf;
  --paper: #ffffff;
  --bone: #f6f4f1;
  --bone-2: #efebe5;
  --line: #e6e2db;
  --line-soft: #efece7;
  --text: #25252a;
  --text-soft: #5e5e66;
  --text-faint: #8a8a92;

  --font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --container: 1200px;
  --nav-h: 76px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --sh-sm: 0 2px 10px rgba(20, 18, 18, 0.06);
  --sh-md: 0 14px 40px rgba(26, 22, 22, 0.10);
  --sh-lg: 0 30px 70px rgba(26, 18, 18, 0.18);
  --sh-brick: 0 14px 30px rgba(122, 40, 40, 0.30);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0; }

::selection { background: var(--brick); color: #fff; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: #fff; }

/* ---------- Eyebrow + Section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brick);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--brick-light); }
.section--ink .eyebrow::before { background: var(--brick-light); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(28px, 4.2vw, 46px);
}
.section-head p {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-soft);
  max-width: 60ch;
}
.section--ink .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--primary {
  background: var(--brick);
  color: #fff;
  box-shadow: var(--sh-brick);
}
.btn--primary:hover { background: var(--brick-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.20);
}
.btn--light:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--brick);
  transition: gap 0.25s var(--ease);
}
.textlink svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.textlink:hover { gap: 11px; }
.textlink:hover svg { transform: translateX(2px); }

/* ============================================================
   STICKY TOP NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20,18,18,0.05);
}
.site-nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  gap: 22px;
}
body { padding-top: var(--nav-h); }

/* Logo */
.logo-crop {
  display: block;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}
.logo-crop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.brandmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.brandmark__logo {
  width: 198px;
  height: 56px;
  filter: drop-shadow(0 5px 10px rgba(15, 13, 13, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 13px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 2px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
  flex: 0 0 auto;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--brick); }
.nav-phone span { letter-spacing: 0.01em; }
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-mobile-actions a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.72);
  color: var(--brick);
  box-shadow: var(--sh-sm);
}
.nav-mobile-actions svg {
  width: 18px;
  height: 18px;
}
.nav-mobile-actions .nav-mobile-wa {
  color: #16884b;
}

/* Hamburger */
.nav-burger {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-burger span::before { transform: translate(-50%, -8px); }
.nav-burger span::after { transform: translate(-50%, 6px); }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translate(-50%, -50%) rotate(45deg); top: 0; }
body.menu-open .nav-burger span::after { transform: translate(-50%, -50%) rotate(-45deg); top: 0; }

/* ---------- Mobile Drawer ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15,13,13,0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--ink);
  color: #fff;
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 30px;
  overflow-y: auto;
}
body.menu-open .nav-scrim { opacity: 1; visibility: visible; }
body.menu-open .nav-drawer { transform: translateX(0); }
.nav-drawer__brand {
  padding-bottom: 18px; margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-drawer__logo {
  width: 218px;
  height: 74px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.nav-drawer__links { display: flex; flex-direction: column; padding-block: 8px; }
.nav-drawer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, padding-left 0.2s var(--ease);
}
.nav-drawer__links a::after {
  content: "›";
  color: var(--brick-light);
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.nav-drawer__links a:hover,
.nav-drawer__links a.is-active { color: #fff; padding-left: 8px; }
.nav-drawer__links a.is-active::after,
.nav-drawer__links a:hover::after { opacity: 1; }
.nav-drawer__contact { margin-top: auto; padding-top: 22px; }
.nav-drawer__contact-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.nav-drawer__actions { display: flex; gap: 10px; }
.nav-drawer__actions a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: var(--r-sm);
  color: #fff;
}
.nav-drawer__actions svg { width: 21px; height: 21px; }
.nd-tel { background: var(--brick); }
.nd-mail { background: rgba(255,255,255,0.1); }
.nd-wa { background: #1f9d57; }
.nav-drawer__addr {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.nav-drawer__addr b { color: rgba(255,255,255,0.85); font-weight: 700; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr 1.2fr;
  gap: 40px;
  padding-block: clamp(54px, 7vw, 84px) 44px;
}
.site-footer__mark {
  display: inline-block;
  margin-bottom: 16px;
  width: fit-content;
  text-decoration: none;
}
.site-footer__mark::after {
  content: "";
  display: block;
  width: 68%;
  height: 2px;
  margin-top: 8px;
  background: var(--brick);
  border-radius: var(--r-pill);
}
.site-footer__logo {
  width: 218px;
  height: 76px;
}
.site-footer__claim {
  max-width: 34ch; line-height: 1.75; color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}
.site-footer h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 11px; }
.site-footer__top a { color: rgba(255,255,255,0.78); transition: color 0.2s; }
.site-footer__top a:hover { color: #fff; }
.site-footer__contact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.foot-contact-row { margin-bottom: 16px; }
.foot-contact-row .lbl {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 5px;
}
.foot-contact-row b { color: #fff; font-weight: 700; display: block; }
.foot-contact-row span { color: rgba(255,255,255,0.68); line-height: 1.6; }
.foot-contact-address { margin-bottom: 22px; }
.foot-contact-link {
  display: grid;
  gap: 4px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.foot-contact-link a {
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}
.foot-contact-link a:hover {
  color: #fff;
}
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.site-footer__bar-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__bar-links a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Contact dock ---------- */
.contact-dock {
  position: fixed;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.42s var(--ease);
}
body.show-fab .contact-dock {
  opacity: 1;
  pointer-events: auto;
}
.contact-dock__toggle {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brick);
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: var(--sh-brick);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-dock__toggle:hover,
.contact-dock.is-open .contact-dock__toggle {
  background: var(--brick-dark);
  box-shadow: 0 18px 36px rgba(122, 40, 40, 0.36);
}
.contact-dock__toggle:active { transform: scale(0.98); }
.contact-dock__toggle svg { width: 23px; height: 23px; }
.contact-dock__toggle:focus-visible,
.contact-dock__item:focus-visible {
  outline: 3px solid rgba(177, 71, 71, 0.32);
  outline-offset: 3px;
}
.contact-dock__panel {
  overflow: hidden;
  border: 1px solid rgba(230, 226, 219, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(14px);
}
.contact-dock__head {
  padding: 16px 18px 13px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-dock__head span {
  display: block;
  margin-bottom: 2px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-dock__head b {
  color: var(--ink);
  font-size: 17px;
  letter-spacing: 0;
}
.contact-dock__logo {
  width: 154px;
  height: 52px;
  margin-top: 5px;
}
.contact-dock__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-dock__item + .contact-dock__item { border-top: 1px solid var(--line-soft); }
.contact-dock__item:hover {
  background: var(--bone);
  transform: translateX(-2px);
}
.contact-dock__item-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brick-tint);
  color: var(--brick);
}
.contact-dock__item-icon svg { width: 21px; height: 21px; }
.contact-dock__item--wa .contact-dock__item-icon {
  background: #e8f7ee;
  color: #16884b;
}
.contact-dock__item--mail .contact-dock__item-icon {
  background: #eef0f4;
  color: var(--graphite);
}
.contact-dock__item-copy b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}
.contact-dock__item-copy small {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.25;
}

@media (min-width: 1081px) {
  .contact-dock {
    top: 54%;
    right: 0;
    display: flex;
    align-items: stretch;
    transform: translate(calc(100% - 48px), -50%);
  }
  body.show-fab .contact-dock { transform: translate(calc(100% - 48px), -50%); }
  body.show-fab .contact-dock.is-open { transform: translate(0, -50%); }
  .contact-dock__toggle {
    width: 48px;
    min-height: 58px;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 12px 24px rgba(122, 40, 40, 0.24);
  }
  .contact-dock__toggle svg {
    width: 19px;
    height: 19px;
  }
  .contact-dock__toggle-label { display: none; }
  .contact-dock__panel {
    width: 246px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: 0 18px 46px rgba(26, 18, 18, 0.16);
  }
  .contact-dock__head {
    padding: 13px 16px 10px;
  }
  .contact-dock__head b {
    font-size: 15px;
  }
  .contact-dock__logo {
    width: 142px;
    height: 48px;
  }
  .contact-dock__item {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 11px 14px;
  }
  .contact-dock__item-icon {
    width: 36px;
    height: 36px;
  }
  .contact-dock__item-icon svg {
    width: 18px;
    height: 18px;
  }
  .contact-dock__item-copy b {
    font-size: 14px;
  }
  .contact-dock__item-copy small {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dock,
  .contact-dock__toggle,
  .contact-dock__panel,
  .contact-dock__item {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .contact-dock {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    transform: translateY(18px) scale(0.98);
  }
  body.show-fab .contact-dock { transform: none; }
  .contact-dock__toggle {
    height: 56px;
    padding: 0 18px 0 16px;
    border-radius: var(--r-pill);
    font-size: 15px;
  }
  .contact-dock__panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: min(304px, calc(100vw - 32px));
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.24s var(--ease), visibility 0.24s, transform 0.24s var(--ease);
  }
  .contact-dock.is-open .contact-dock__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

body.menu-open .contact-dock { opacity: 0; pointer-events: none; }

@media print {
  .site-nav, .nav-drawer, .nav-scrim, .contact-dock { display: none !important; }
  body { padding-top: 0; }
}

/* ---------- Lightbox ---------- */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
body.lb-open { overflow: hidden; }
body.lb-open .lb-overlay { opacity: 1; visibility: visible; }
.lb-figure {
  margin: 0;
  max-width: min(1000px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
body.lb-open .lb-figure { transform: scale(1); }
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  background: #1a1a1d;
}
.lb-figure figcaption { color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 500; }
.lb-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-nav {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lb-nav:hover { background: var(--brick); transform: scale(1.05); }
@media (max-width: 600px) {
  .lb-nav { position: absolute; bottom: 22px; }
  .lb-prev { left: 30%; } .lb-next { right: 30%; }
}

/* ---------- Responsive: Nav ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .site-nav__inner {
    gap: 8px;
    padding-inline: 14px;
  }
  .nav-mobile-actions { display: flex; }
  .nav-burger { display: block; }
  .nav-burger {
    width: 42px;
    height: 42px;
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .brandmark__logo {
    width: 164px;
    height: 48px;
  }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .brandmark__logo {
    width: 138px;
    height: 42px;
  }
  .nav-mobile-actions {
    gap: 5px;
  }
  .nav-mobile-actions a {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 540px) {
  .site-footer__top { grid-template-columns: 1fr; }
}
