/* ================================================================
   BAUCRAFT v2.1 — Editorial Product Showcase
   Aesthetic: Swiss editorial × luxury materials catalogue
   Fonts: Playfair Display + Epilogue
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Epilogue:wght@300;400;500;700;900&display=swap');


/* ================================================================
   DECORATIVE BIG NUMBERS — hidden globally
================================================================ */
.hero-bg-number,
.hv-bignum {
  display: none !important;
}

/* ----------------------------------------------------------------
   TOKENS
---------------------------------------------------------------- */
:root {
  /* Palette */
  --white:      #FAFAF7;
  --off:        #F3F1EB;
  --rule:       #E2DFDA;
  --mist:       #C8C4BC;
  --mid:        #8C8880;
  --ink:        #1A1A16;
  --ink-soft:   #2C2C26;

  --green:      #1E3A2F;
  --green-mid:  #2D5244;
  --green-lite: #E8F0EC;

  --amber:      #C4872A;
  --amber-lite: #FBF3E8;

  /* Typography */
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Epilogue', sans-serif;

  /* Motion */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --slow:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------
   RESET
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ----------------------------------------------------------------
   LAYOUT
---------------------------------------------------------------- */
.wrap         { max-width: 1360px; margin: 0 auto; padding: 0 48px; }
.wrap--narrow { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.wrap--wide   { max-width: 1600px; margin: 0 auto; padding: 0 48px; }

/* ----------------------------------------------------------------
   TYPOGRAPHY HELPERS
---------------------------------------------------------------- */
.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid);
}
.label--green { color: var(--green); }
.label--white { color: rgba(255,255,255,0.5); }

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   HEADER
---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.header--dark { background: rgba(12,12,10,0.85); backdrop-filter: blur(0px); }
.site-header.header--dark.scrolled { background: rgba(26,26,22,0.96); backdrop-filter: blur(16px); }

.nav-wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.nav-logo .logo-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.nav-logo .logo-icon span {
  display: block;
  background: var(--green);
  transition: background 0.3s;
}
.nav-logo .logo-icon span:nth-child(2) { background: var(--amber); }
.nav-logo .logo-icon span:nth-child(3) { background: var(--amber); opacity: 0.5; }
.nav-logo .logo-icon span:nth-child(4) { background: var(--green); opacity: 0.5; }

.nav-logo { color: var(--white); }
.site-header.scrolled .nav-logo { color: var(--ink); }
.site-header.header--dark .nav-logo { color: var(--white); }
.site-header.header--dark.scrolled .nav-logo { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--amber);
  transition: right 0.3s var(--slow);
}
.nav-links a:hover { color: white; }
.nav-links a:hover::after, .nav-links li.current-menu-item a::after { right: 0; }

.site-header.scrolled .nav-links a { color: var(--mid); }
.site-header.scrolled .nav-links a:hover { color: var(--ink); }
.site-header.header--dark.scrolled .nav-links a { color: rgba(255,255,255,0.6); }
.site-header.header--dark.scrolled .nav-links a:hover { color: white; }

.nav-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 24px;
  background: var(--green);
  color: white;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.site-header.scrolled .nav-hamburger:hover { background: rgba(0,0,0,0.06); }
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: white;
  transition: width 0.25s var(--ease);
}
.nav-hamburger span:nth-child(1) { width: 22px; }
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger span:nth-child(3) { width: 22px; }
.nav-hamburger:hover span:nth-child(2) { width: 22px; }
.site-header.scrolled .nav-hamburger span { background: var(--ink); }
.site-header.header--dark.scrolled .nav-hamburger span { background: white; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 90vw);
  background: var(--ink);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--slow);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
}
.mobile-nav-logo .logo-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 20px;
  height: 20px;
}
.mobile-nav-logo .logo-icon span { display: block; background: var(--green); }
.mobile-nav-logo .logo-icon span:nth-child(2) { background: var(--amber); }
.mobile-nav-logo .logo-icon span:nth-child(3) { background: var(--amber); opacity: 0.5; }
.mobile-nav-logo .logo-icon span:nth-child(4) { background: var(--green); opacity: 0.5; }
.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.mobile-nav-close:hover { color: white; }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-links a:hover { color: white; background: rgba(255,255,255,0.04); }
.mobile-nav-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--amber);
  opacity: 0.8;
  min-width: 22px;
}
.mobile-nav-socials {
  display: flex;
  gap: 10px;
  padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.mobile-nav-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mobile-nav-socials a:hover {
  border-color: var(--amber);
  background: rgba(196,135,42,0.1);
  color: var(--amber);
}
.mobile-nav-socials a svg { display: block; }
.mobile-nav-cta {
  padding: 20px 28px 28px;
  flex-shrink: 0;
}
.mobile-nav-cta .btn { width: 100%; text-align: center; justify-content: center; }

/* ----------------------------------------------------------------
   HERO — full viewport, product-forward
---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: #0A0A08;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(30,58,47,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(196,135,42,0.08) 0%, transparent 50%);
  z-index: 0;
  animation: heroBgPulse 8s ease-in-out infinite alternate;
}
@keyframes heroBgPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Subtle noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 72px 80px 140px;
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: heroFadeUp 0.9s var(--slow) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation-delay: 0.1s; }
.hero-title   { animation: heroFadeUp 0.9s 0.15s var(--slow) both; }
.hero-sub     { animation: heroFadeUp 0.9s 0.25s var(--slow) both; }
.hero-actions { animation: heroFadeUp 0.9s 0.35s var(--slow) both; }
.hero-stat-row{ animation: heroFadeUp 0.9s 0.45s var(--slow) both; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-eyebrow-line {
  width: 40px; height: 1px;
  background: var(--amber);
}
.hero-eyebrow span {
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--amber);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 7.5vw, 112px);
  font-weight: 400;
  line-height: 0.95;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.hero-title em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  display: block;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 48px;
  border-left: 2px solid rgba(196,135,42,0.4);
  padding-left: 20px;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-stat-row {
  display: flex;
  gap: 0;
  margin-top: 64px;
  padding-top: 0;
  border-top: none;
}
.hero-stat-row > div {
  padding: 24px 32px 24px 0;
  margin-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-row > div:last-child { border-right: none; margin-right: 0; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 6px;
}

/* Hero right — product specimen */
.hero-right {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-right-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--slow);
}
.hero:hover .hero-right-img { transform: scale(1.04); }
.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 30%);
}
.hero-right-label {
  position: absolute;
  bottom: 48px;
  right: 48px;
  text-align: right;
}
.hero-right-label .product-num {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 400;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-right-label .product-name-tag {
  background: var(--green);
  color: white;
  padding: 10px 18px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn--green  { background: var(--green); color: white; }
.btn--green:hover  { background: var(--green-mid); transform: translateY(-1px); }
.btn--amber  { background: var(--amber); color: white; }
.btn--amber:hover  { background: #b3791f; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: white; }
.btn--outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn--outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn--ghost {
  background: transparent;
  color: var(--mid);
  padding: 14px 0;
  letter-spacing: 2px;
}
.btn--ghost:hover { color: var(--ink); }
.btn--ghost::after { content: ' →'; }

/* ----------------------------------------------------------------
   SECTION FOUNDATIONS
---------------------------------------------------------------- */
.section        { padding: 100px 0; }
.section--sm    { padding: 60px 0; }
.section--lg    { padding: 140px 0; }
.section--white { background: var(--white); }
.section--off   { background: var(--off); }
.section--green { background: var(--green); color: white; }
.section--ink   { background: var(--ink);   color: white; }

/* Section header */
.section-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.section-hd-left .label { margin-bottom: 14px; display: block; }
.section-hd-left h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ----------------------------------------------------------------
   PRODUCT SHOWCASE STRIP — homepage hero product row
---------------------------------------------------------------- */
.showcase-strip {
  padding: 0;
  overflow: hidden;
  background: var(--off);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.showcase-track {
  display: flex;
  gap: 0;
  width: 100%;
}

.showcase-card {
  flex: 0 0 calc(100% / 3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-soft);
  border-right: 1px solid rgba(255,255,255,0.04);
  transition: flex 0.6s var(--slow);
}
.showcase-card:last-child { border-right: none; }
.showcase-card.is-active { flex: 0 0 calc(100% / 2); }

.showcase-card-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--slow);
}
.showcase-card:hover .showcase-card-img { transform: scale(1.04); }

.showcase-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(20,20,16,0.95) 0%, rgba(20,20,16,0.4) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.showcase-card-info {}
.showcase-card-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.showcase-card-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: white;
  line-height: 1.1;
}
.showcase-card-arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.showcase-card:hover .showcase-card-arrow {
  background: var(--amber);
  border-color: var(--amber);
}

/* ----------------------------------------------------------------
   PRODUCTS GRID — full catalogue
---------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 6px; border: 1px solid var(--rule);
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.4s var(--slow), transform 0.4s var(--slow);
}
.product-item:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-4px);
}
.product-item-img-wrap {
  overflow: hidden; position: relative;
  background: var(--off); aspect-ratio: 3 / 2.6;
}
.product-item-img {
  width: 100%; height: 100%; object-fit: contain;
  object-position: center; display: block; padding: 16px;
  transition: transform 0.6s var(--slow);
}
.product-item:hover .product-item-img { transform: scale(1.06); }
.product-item-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,22,0.35) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.product-item:hover .product-item-img-wrap::after { opacity: 1; }
.product-item-img-wrap::before {
  content: 'Ansehen';
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 2;
  background: var(--green); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 8px 18px; border-radius: 2px;
  opacity: 0; transition: opacity 0.3s, transform 0.35s var(--slow);
  white-space: nowrap;
}
.product-item:hover .product-item-img-wrap::before { opacity: 1; transform: translateX(-50%) translateY(0); }
.product-item-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--green); color: white;
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px; z-index: 2;
}
.product-item-body {
  padding: 18px 20px 20px;
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 12px; flex: 1;
  border-top: 1px solid var(--rule);
}
.product-item-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 5px;
}
.product-item-name {
  font-family: var(--serif); font-size: 17px;
  font-weight: 400; line-height: 1.25; color: var(--ink);
}
.product-item-desc {
  font-size: 12px; color: var(--mid); margin-top: 5px;
  line-height: 1.55; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-item-link {
  width: 32px; height: 32px;
  border: 1px solid var(--rule); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--mist); font-size: 15px; flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.product-item:hover .product-item-link {
  background: var(--green); color: white;
  border-color: var(--green); transform: translateX(2px);
}

/* ================================================================
   SINGLE PRODUCT — Cinematic dark stage
================================================================ */
.sp-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 500px;
  background: #0C0C0A;
  align-items: stretch;
  margin-top: 68px;
}

.sp-media {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0C0C0A;
  cursor: none;
}
.sp-media::before {
  content: '';
  position: absolute;
  width: 60%; height: 60%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(196,135,42,0.12) 0%, rgba(30,58,47,0.08) 40%, transparent 70%);
  border-radius: 50%;
  animation: ambientPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes ambientPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:0.7; }
  50%     { transform: translate(-50%,-50%) scale(1.15); opacity:1; }
}
.sp-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 75% at 50% 50%, transparent 35%, rgba(12,12,10,0.7) 100%),
    linear-gradient(to bottom, rgba(12,12,10,0.4) 0%, transparent 20%, transparent 80%, rgba(12,12,10,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}
.sp-media-main {
  position: relative;
  z-index: 1;
  width: 82%;
  max-width: 580px;
  height: auto;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) drop-shadow(0 20px 50px rgba(0,0,0,0.55));
  animation: spGrandReveal 1.2s cubic-bezier(0.16,1,0.3,1) both;
  transform-origin: center bottom;
  will-change: transform, filter;
}
@keyframes spGrandReveal {
  0%   { opacity: 0; transform: translateY(80px) scale(0.85) rotateX(8deg); filter: drop-shadow(0 0 0 rgba(0,0,0,0)) blur(8px); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.02) rotateX(-1deg); filter: drop-shadow(0 24px 56px rgba(0,0,0,0.6)) blur(0px); }
  80%  { transform: translateY(3px) scale(0.995) rotateX(0.5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}
.sp-media-main.sp-idle { animation: spIdle 5s ease-in-out infinite; }
@keyframes spIdle {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-6px); }
}
.sp-media:hover::before {
  background: radial-gradient(ellipse at center, rgba(196,135,42,0.22) 0%, rgba(30,58,47,0.14) 45%, transparent 70%);
  animation: ambientPulse 2s ease-in-out infinite;
}
.sp-zoom-btn {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 4;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  opacity: 0;
  transform: scale(0.85);
  animation: spZoomBtnReveal 0.6s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes spZoomBtnReveal { to { opacity: 1; transform: scale(1); } }
.sp-zoom-btn:hover { background: rgba(196,135,42,0.2); border-color: rgba(196,135,42,0.5); color: var(--amber); transform: scale(1.08); }
.sp-zoom-btn svg { display: block; flex-shrink: 0; }
.sp-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,6,0.96);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
  padding: 40px;
}
.sp-lightbox.open { opacity: 1; pointer-events: all; }
.sp-lightbox img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain; display: block;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.sp-lightbox.open img { transform: scale(1); }
.sp-lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer; font-size: 20px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 1;
}
.sp-lightbox-close:hover { background: rgba(255,255,255,0.12); color: white; transform: rotate(90deg); }
.sp-lightbox-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
}
.sp-cursor {
  position: fixed; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: opacity 0.2s; opacity: 0;
}
.sp-cursor.visible { opacity: 1; }
.sp-cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid rgba(196,135,42,0.5);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.35s var(--slow), height 0.35s var(--slow), opacity 0.3s;
  opacity: 0;
}
.sp-cursor-ring.visible { opacity: 1; }
.sp-media-footer {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 32px 40px;
  display: flex; align-items: flex-end; justify-content: space-between;
  background: linear-gradient(to top, rgba(12,12,10,0.85) 0%, transparent 100%);
  animation: spRevealUp 0.8s 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes spRevealUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.sp-media-label {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.sp-media:hover .sp-media-label { color: rgba(255,255,255,0.6); }
.sp-media-rotate-hint { display: none; }
.sp-media-placeholder {
  position: relative; z-index: 1; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.1);
}
.sp-content {
  background: #FAFAF7;
  padding: 80px 48px 80px;
  display: flex; flex-direction: column;
  border-left: none;
  animation: spPanelReveal 0.7s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes spPanelReveal { from { opacity:0; transform:translateX(32px); } to { opacity:1; transform:translateX(0); } }
.sp-content img:not(.sp-cert-img), .sp-content figure, .sp-content .wp-block-image { display: none !important; }

.sp-breadcrumb {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sp-breadcrumb a { color: var(--mist); transition: color 0.2s; }
.sp-breadcrumb a:hover { color: var(--ink); }

.sp-cat { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.sp-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.sp-desc { font-size: 14px; color: var(--mid); line-height: 1.9; }
.sp-desc a { text-decoration: none; color: var(--mid); }
.sp-desc * { text-decoration: none !important; }

.sp-rule { height: 1px; background: var(--rule); margin: 36px 0; }

.sp-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-bottom: 40px;
}
.sp-spec-item {
  padding: 16px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sp-spec-item:nth-child(even) { border-right: none; }
.sp-spec-lbl { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); margin-bottom: 5px; }
.sp-spec-val { font-size: 14px; font-weight: 500; color: var(--ink); }

.sp-features { margin-bottom: 40px; }
.sp-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.sp-feature:first-child { border-top: 1px solid var(--rule); }
.sp-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 5px;
  flex-shrink: 0;
}
.sp-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   MATERIAL PROPERTIES STRIP
---------------------------------------------------------------- */
.material-props {
  background: var(--green);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.material-props-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}
.mat-prop {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.mat-prop:last-child { border-right: none; }
.mat-prop-icon { font-size: 28px; margin-bottom: 16px; color: rgba(255,255,255,0.3); }
.mat-prop-val {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: white;
  margin-bottom: 4px;
  line-height: 1;
}
.mat-prop-lbl { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.mat-prop-num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--serif);
  font-size: 64px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

/* ----------------------------------------------------------------
   ABOUT / WHY STRIP
---------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.why-item {
  padding: 52px 120px 52px 48px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s;
}
.why-item:nth-child(even) { border-right: none; }
.why-item:hover { background: var(--off); }
.why-item-num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 400;
  color: var(--rule);
  line-height: 1;
  position: absolute;
  top: 24px; right: 28px;
  transition: color 0.3s;
}
.why-item:hover .why-item-num { color: var(--mist); }
.why-item-icon {
  width: 48px; height: 48px;
  color: var(--green);
  margin-bottom: 24px;
}
.why-item-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}
.why-item-text { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ----------------------------------------------------------------
   PROJECTS MOSAIC
---------------------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 400px 280px;
  gap: 3px;
  background: var(--rule);
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  cursor: pointer;
}
.mosaic-item:first-child { grid-row: 1 / 3; }
.mosaic-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--slow);
}
.mosaic-item:hover .mosaic-img { transform: scale(1.05); }
.mosaic-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,16,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
  opacity: 0;
  transition: opacity 0.35s;
}
.mosaic-item:hover .mosaic-overlay { opacity: 1; }
.mosaic-sub { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.mosaic-title { font-family: var(--serif); font-size: 22px; color: white; line-height: 1.2; }


/* ================================================================
   PROJECTS ARCHIVE — Editorial Layout
================================================================ */
/* ================================================================
   PROJECTS ARCHIVE — Cinematic Editorial Layout
================================================================ */

/* ── Page Hero ── */
.proj-page-hero {
  position: relative;
  min-height: 72vh;
  max-height: 820px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.proj-page-hero-bg {
  position: absolute; inset: 0;
  /* Architectural grid pattern — crisp, no image dependency */
  background-color: #0e0e0c;
  background-image:
    linear-gradient(rgba(196,135,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,135,42,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  animation: projHeroPan 30s linear infinite;
}
@keyframes projHeroPan {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px, 20px 20px, 20px 20px; }
}
.proj-page-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,8,0.95) 0%, rgba(10,10,8,0.55) 45%, rgba(10,10,8,0.2) 100%),
    linear-gradient(to right, rgba(10,10,8,0.4) 0%, transparent 60%);
}
.proj-page-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 48px;
  padding-bottom: 64px;
  padding-top: 140px;
}
.proj-page-hero-text .label { color: rgba(255,255,255,0.45); margin-bottom: 20px; display: block; }
.proj-page-hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  color: white;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.proj-page-hero-text h1 em { font-style: italic; color: transparent; -webkit-text-stroke: 1.5px var(--amber); display: block; }
.proj-page-hero-text p {
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  max-width: 460px;
  margin-top: 28px;
  line-height: 1.8;
  border-left: 2px solid rgba(196,135,42,0.35);
  padding-left: 18px;
}
.proj-page-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-end;
  flex-shrink: 0;
}
.proj-page-stat {
  padding: 24px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.proj-page-stat:last-child { border-bottom: none; }
.proj-page-stat-val {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proj-page-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-top: 6px;
}
.proj-page-hero-scroll {
  position: absolute;
  bottom: 24px; right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.2);
  animation: scrollBob 2.5s ease-in-out infinite;
}
.proj-page-hero-scroll span {
  display: block;
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2));
}
@keyframes scrollBob {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(5px); opacity: 0.8; }
}

/* ── Filter bar ── */
.proj-filter-bar { background: var(--white); }
.proj-filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.proj-filter-count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
  flex-shrink: 0;
}
.proj-filter-count span { color: var(--ink); }

/* ── Archive section ── */
/* ================================================================
   PROJECTS ARCHIVE — Layout
================================================================ */
/* ================================================================
   PROJECTS ARCHIVE — Layout
================================================================ */
.proj-archive-section {
  background: var(--ink);
  padding: 24px 0;
}

/* proj-featured removed */

/* shared tag styles */
.proj-cat-tag {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink); background: var(--amber); padding: 4px 10px; border-radius: 2px;
}
.proj-cat-tag--dark {
  color: var(--amber); background: transparent;
  border: 1px solid rgba(196,135,42,0.35); padding: 4px 10px;
}
.proj-meta-str {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* ── Project grid ── */
/* ================================================================
   PROJECT GRID — Equal cards, editorial 4-col layout
================================================================ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: #090907;
}

/* Equal cards, 2-column — wide and dramatic */
.proj-card {
  text-decoration: none;
  background: var(--ink);
  display: block;
  overflow: hidden;
  position: relative;
}
.proj-card--wide { grid-column: span 1; }

.proj-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.proj-card--wide .proj-card-img-wrap { aspect-ratio: 16 / 9; }

.proj-card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.6s;
  filter: brightness(0.85) saturate(0.9);
}
.proj-card:hover .proj-card-img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.05);
}

/* Gradient footer — slides up on hover */
.proj-card-img-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 64px 24px 22px;
  background: linear-gradient(to top,
    rgba(8,8,6,0.97) 0%,
    rgba(8,8,6,0.55) 50%,
    transparent 100%);
  transform: translateY(0);
  transition: padding-bottom 0.4s cubic-bezier(0.16,1,0.3,1);
}
.proj-card:hover .proj-card-img-footer { padding-bottom: 56px; }

.proj-card-cat {
  font-size: 8px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amber);
  display: block; margin-bottom: 6px; opacity: 0.9;
}
.proj-card-title-over {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400; color: white; line-height: 1.25; margin: 0;
}
.proj-card-meta-over {
  font-size: 9px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 6px;
}

/* Hover panel: details + arrow */
.proj-card-hover-panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 24px;
  background: rgba(8,8,6,0.55);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
}
.proj-card:hover .proj-card-hover-panel { opacity: 1; }

.proj-card-hover-inner {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px; width: 100%;
}
.proj-card-detail {
  font-size: 11px; color: rgba(255,255,255,0.65);
  display: flex; gap: 10px; align-items: baseline;
}
.proj-card-detail span {
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amber); min-width: 70px;
}

.proj-card-arrow {
  width: 44px; height: 44px;
  background: var(--amber);
  display: grid; place-items: center;
  color: var(--ink); border-radius: 3px;
  transition: background 0.2s, transform 0.3s;
  align-self: flex-end;
}
.proj-card:hover .proj-card-arrow { background: white; transform: translate(3px,-3px); }

/* Ghost index number */
.proj-card-num-bg {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--serif); font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.22); line-height: 1;
  letter-spacing: 1px; pointer-events: none; user-select: none;
  z-index: 1;
}

/* Misc */
.proj-img-placeholder { background: linear-gradient(135deg, #1a1a16 0%, #0d0d0b 100%); }
.proj-empty { padding: 80px; text-align: center; color: var(--mid); }
.proj-pagination { padding-top: 64px; }
.proj-filter-count { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); white-space: nowrap; flex-shrink: 0; }
.proj-filter-count span { color: var(--ink); }

/* ── Page hero (stats) responsive ── */
@media (max-width: 1200px) {
  .proj-page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .proj-page-hero-stats { flex-direction: row; align-self: auto; border: 1px solid rgba(255,255,255,0.08); }
  .proj-page-stat { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.06); }
  .proj-page-stat:last-child { border-right: none; }
}
@media (max-width: 1100px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
}
@media (max-width: 768px) {
  .proj-page-hero { min-height: 70vh; max-height: none; }
  .proj-page-hero-inner { padding-bottom: 48px; padding-top: 100px; gap: 32px; }
  .proj-page-hero-text h1 { font-size: clamp(38px, 11vw, 56px); }
  .proj-page-hero-scroll { display: none; }
  .proj-page-hero-stats { width: 100%; }
  .proj-page-stat { flex: 1; padding: 16px; }
  .proj-page-stat-val { font-size: 26px; }
  .proj-archive-section { padding: 16px 0; }
  .proj-grid { grid-template-columns: 1fr; gap: 2px; }
  .proj-card-hover-panel { display: none; }
  .proj-filter-count { display: none; }
}
@media (max-width: 480px) {
  .proj-grid { grid-template-columns: 1fr; gap: 2px; }
}

/* ================================================================
   SINGLE PROJEKT — clean & simple
================================================================ */
.sproj-hero {
  position: relative;
  height: 50vh; min-height: 360px; max-height: 540px;
  overflow: hidden; background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.sproj-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform-origin: center;
  animation: spHeroReveal 1.2s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes spHeroReveal {
  from { transform: scale(1.06); opacity: 0.6; }
  to   { transform: scale(1);    opacity: 1; }
}
.sproj-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a16 0%, #0d0d0b 100%);
}
.sproj-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,6,0.98) 0%, rgba(8,8,6,0.75) 50%, rgba(8,8,6,0.45) 100%),
    linear-gradient(to right, rgba(8,8,6,0.5) 0%, rgba(8,8,6,0.2) 50%, transparent 100%);
}

/* Hero content: two-col — title left, details right */
.sproj-hero-text {
  position: relative; z-index: 2;
  padding-bottom: 60px;
}
.sproj-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 48px;
}
.sproj-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.sproj-breadcrumb a { color: inherit; text-decoration: none; transition: color 0.2s; }
.sproj-breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.sproj-hero-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.sproj-hero-cat::before { content:''; width:20px; height:1.5px; background:var(--amber); display:block; }
.sproj-hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400; color: white;
  line-height: 1.0; letter-spacing: -0.03em;
}

/* Key stats in hero — right side */
.sproj-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 160px;
  flex-shrink: 0;
}
.sproj-hero-stat {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.sproj-hero-stat:last-child { border-bottom: none; }
.sproj-hero-stat-val {
  font-family: var(--serif);
  font-size: 22px; font-weight: 400;
  color: white; line-height: 1;
}
.sproj-hero-stat-lbl {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.28); margin-top: 5px;
}

/* ── Body ── */
.sproj-body {
  background: var(--white);
}

/* Horizontal facts strip — full width, dark */
.sproj-facts-strip {
  background: #0E0E0C;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sproj-fact {
  flex: 1;
  min-width: 140px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.sproj-fact:last-child { border-right: none; }
.sproj-fact:hover { background: rgba(255,255,255,0.03); }
.sproj-fact-lbl {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  margin-bottom: 8px; display: block;
}
.sproj-fact-val {
  font-family: var(--serif);
  font-size: 17px; color: white; font-weight: 400;
  line-height: 1.25;
}
.sproj-fact-empty {
  padding: 32px; font-size: 13px; color: rgba(255,255,255,0.3);
  text-align: center; width: 100%;
}

/* Description + sidebar below the strip */
.sproj-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
  padding: 72px 0 96px;
}
.sproj-main {}

/* Thumbnail */
.sproj-thumb-wrap { display: none; }
.sproj-thumb { display: none; }

.sproj-description {
  font-size: 17px; color: var(--mid);
  line-height: 1.9; padding-top: 4px;
  max-width: 640px;
}
.sproj-description p { margin-bottom: 1.5em; }
.sproj-description p:last-child { margin-bottom: 0; }

/* Sidebar — now just actions, no fact table */
.sproj-sidebar {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 16px;
}
.sproj-facts { display: none; } /* moved to strip */
.sproj-facts-head { display: none; }
.sproj-cta-btn {
  width: 100%; justify-content: center;
  display: flex;
}
.sproj-back {
  display: block; text-align: center;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--mist); text-decoration: none;
  transition: color 0.2s; padding: 12px;
  border: 1px solid var(--rule); border-radius: 3px;
}
.sproj-back:hover { color: var(--ink); border-color: var(--ink); }

/* Quote/highlight block for sidebar */
.sproj-sidebar-note {
  background: var(--off);
  border-left: 3px solid var(--amber);
  padding: 20px 20px;
  font-size: 13px; color: var(--mid); line-height: 1.7;
}

/* Related */
.sproj-related {
  background: var(--off);
  padding: 80px 0 96px;
}
.sproj-related-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 40px;
  gap: 24px; flex-wrap: wrap;
}
.sproj-related-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400; line-height: 1.1;
}
.sproj-related-title em { font-style: italic; color: var(--amber); }
.sproj-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.sproj-rel {
  text-decoration: none; display: block;
  overflow: hidden; background: var(--ink-soft);
}
.sproj-rel-img-wrap {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.sproj-rel-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.sproj-rel:hover .sproj-rel-img { transform: scale(1.06); }
.sproj-rel-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(10,10,8,0.9) 0%, transparent 100%);
}
.sproj-rel-cat {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 5px;
}
.sproj-rel-title {
  font-family: var(--serif); font-size: 18px;
  font-weight: 400; color: white; line-height: 1.2; margin: 0;
  transition: color 0.2s;
}
.sproj-rel:hover .sproj-rel-title { color: var(--amber); }
.sproj-rel-sub {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 4px; margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1000px) {
  .sproj-grid { grid-template-columns: 1fr; gap: 48px; }
  .sproj-sidebar { position: static; }
  .sproj-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sproj-hero { height: 38vh; min-height: 260px; }
  .sproj-hero-text { padding-bottom: 32px; }
  .sproj-hero-title { font-size: clamp(30px, 9vw, 46px); }
  .sproj-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .sproj-hero-stats { display: none; }
  .sproj-body { padding: 48px 0 64px; }
  .sproj-description { font-size: 15px; }
  .sproj-related-grid { grid-template-columns: 1fr 1fr; }
  .sproj-facts-strip { display: grid; grid-template-columns: repeat(2, 1fr); }
  .sproj-fact {
    min-width: 0;
    padding: 18px 16px;
    border-right: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .sproj-fact:nth-child(2n) { border-right: none; }
  .sproj-fact:nth-last-child(-n+2) { border-bottom: none; }
  .sproj-fact-val { font-size: 15px; }
}
@media (max-width: 480px) {
  .sproj-related-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   CTA BAND
---------------------------------------------------------------- */
.cta-band {
  background: var(--green);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
    transparent 1px, transparent 32px
  );
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: white;
  max-width: 560px;
  line-height: 1.1;
}
.cta-band p { color: rgba(255,255,255,0.5); margin-top: 12px; font-size: 15px; }
.cta-band-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ----------------------------------------------------------------
   FILTER STRIP
---------------------------------------------------------------- */
.filter-bar {
  position: sticky;
  top: 68px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.filter-inner {
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--rule);
  color: var(--mid);
  background: transparent;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: white; border-color: var(--ink); }

/* ----------------------------------------------------------------
   PAGE HERO (inner pages)
---------------------------------------------------------------- */
.page-hero {
  background: var(--ink);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber) 50%, transparent);
}
.page-hero-label { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 400;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 1100px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero p { color: rgba(255,255,255,0.4); font-size: 16px; max-width: 520px; margin-top: 24px; line-height: 1.75; }

/* Big specimen number behind hero titles */
.hero-bg-number {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--serif);
  font-size: 300px;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

/* ----------------------------------------------------------------
   CONTACT PAGE
---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: stretch;
  max-width: 100%;
}
.contact-form-col { padding: 80px max(48px, calc(50vw - 680px + 48px)) 80px min(64px, 6vw); background: var(--off); border-left: none; }
.contact-form-col .label { margin-bottom: 16px; display: block; }
.contact-form-col h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.1;
}
.contact-form-col > p { color: var(--mid); font-size: 15px; margin-bottom: 48px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(26,26,22,0.35);
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26,26,22,0.07);
  background: var(--white);
}
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--green);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-col {
  background: var(--ink);
  padding: 80px min(64px, 6vw) 0 max(48px, calc(50vw - 680px + 48px));
  position: relative;
  display: flex;
  flex-direction: column;
}
.contact-info-col::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg,rgba(255,255,255,0.015) 0,rgba(255,255,255,0.015) 1px,transparent 1px,transparent 24px);
}
.contact-info-col .label { color: rgba(255,255,255,0.35); margin-bottom: 16px; display: block; }
.contact-info-col h3 {
  font-family: var(--serif);
  font-size: 36px;
  color: white;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 48px;
}
.c-detail { display: flex; gap: 16px; margin-bottom: 32px; position: relative; z-index: 1; }
.c-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--amber);
  flex-shrink: 0;
}
.c-lbl { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 5px; }
.c-val { font-size: 15px; color: rgba(255,255,255,0.8); }
.c-sub { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 2px; }
.c-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; position: relative; z-index: 1; }
.c-hours-item { background: rgba(255,255,255,0.04); padding: 20px 18px; }
.c-hours-val { font-family: var(--serif); font-size: 24px; color: var(--amber); line-height: 1; }
.c-hours-lbl { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 4px; }
/* ----------------------------------------------------------------
   CONTACT MAP
---------------------------------------------------------------- */
.c-map {
  margin-top: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.c-map-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 10px;
}
.c-map .c-map-frame {
  margin-left: calc(-1 * min(64px, 6vw));
  margin-right: calc(-1 * min(64px, 6vw));
  width: calc(100% + 2 * min(64px, 6vw));
}
.c-map-frame {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 200px;
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.c-map-open {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
  z-index: 2;
}
.c-map-open:hover { background: var(--green); }
@media (max-width: 768px) {
  .c-map-frame { height: 220px; }
  .c-map .c-map-frame {
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
  }
}



/* ----------------------------------------------------------------
   ABOUT PAGE
---------------------------------------------------------------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.about-split-text { padding: 80px 80px 80px 0; }
.about-split-text .label { display: block; margin-bottom: 20px; }
.about-split-text h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-split-text p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 18px; }
.about-split-visual { position: relative; min-height: 500px; overflow: hidden; }
.about-split-visual-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  max-width: 1360px;
  margin: 0 auto;
}
.milestones-outer {
  background: var(--ink);
}
.milestone-col {
  padding: 40px 32px 72px;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.milestone-col:last-child { border-right: none; }
.milestone-val {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.milestone-key { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.milestone-text { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.milestone-num { display: none; }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border: 1px solid var(--rule);
}
.cert-item {
  padding: 44px 40px;
  border-right: 1px solid var(--rule);
  transition: background 0.3s;
}
.cert-item:last-child { border-right: none; }
.cert-item:hover { background: var(--off); }
.cert-lbl { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.cert-name { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 12px; }
.cert-text { font-size: 13px; color: var(--mid); line-height: 1.7; }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer { background: var(--ink); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 80px 0 64px;
}
.footer-brand-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-name .logo-icon { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 20px; height: 20px; }
.footer-brand-name .logo-icon span { display: block; background: var(--green); }
.footer-brand-name .logo-icon span:nth-child(2) { background: var(--amber); }
.footer-brand-name .logo-icon span:nth-child(3) { background: var(--amber); opacity: 0.5; }
.footer-brand-name .logo-icon span:nth-child(4) { background: var(--green); opacity: 0.5; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 240px; margin-bottom: 28px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-socials a:hover {
  border-color: var(--amber);
  background: rgba(196,135,42,0.1);
  color: var(--amber);
}
.footer-socials a svg { display: block; flex-shrink: 0; }
.footer-col h4 { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-copy a { color: inherit; transition: color 0.2s; }
.footer-copy a:hover { color: rgba(255,255,255,0.5); }

/* ----------------------------------------------------------------
   STICKY MOBILE CTA
---------------------------------------------------------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  background: var(--green);
  text-align: center;
  padding: 17px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
}

/* ----------------------------------------------------------------
   SCROLL ANIMATIONS
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--slow), transform 0.7s var(--slow);
}
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ----------------------------------------------------------------
   DIVIDER
---------------------------------------------------------------- */
.rule-line { height: 1px; background: var(--rule); margin: 0; }
.amber-rule { width: 40px; height: 2px; background: var(--amber); margin: 20px 0 28px; }

/* ----------------------------------------------------------------
   PAGINATION
---------------------------------------------------------------- */
.posts-pagination { padding: 64px 0 24px; text-align: center; }
.posts-pagination::before { content:''; display:block; width:48px; height:2px; background:var(--amber); margin:0 auto 36px; }
.posts-pagination .nav-links {
  display: inline-flex; justify-content: center; align-items: center;
  gap: 6px; flex-wrap: wrap;
  background: var(--white); border: 1.5px solid var(--rule);
  border-radius: 8px; padding: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.posts-pagination a, .posts-pagination .current, .posts-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 46px; padding: 0 14px;
  border-radius: 5px; border: none;
  font-size: 14px; font-weight: 700; color: var(--ink);
  transition: background 0.18s, color 0.18s, transform 0.18s;
  text-decoration: none; background: transparent; cursor: pointer;
}
.posts-pagination a:hover { background: var(--off); color: var(--ink); transform: translateY(-1px); }
.posts-pagination .current { background: var(--ink); color: white; box-shadow: 0 3px 10px rgba(26,26,22,0.25); }
.posts-pagination .prev.page-numbers, .posts-pagination .next.page-numbers {
  padding: 0 20px; background: var(--green); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; border-radius: 5px;
}
.posts-pagination .prev.page-numbers:hover, .posts-pagination .next.page-numbers:hover {
  background: var(--green-mid); transform: translateY(-1px);
}
.posts-pagination .dots { color: var(--mist); min-width: 28px; font-weight: 400; font-size: 16px; cursor: default; background: transparent !important; transform: none !important; }

/* ================================================================
   HERO RIGHT — Product image carousel (hpc)
================================================================ */
.hero-right {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #080807;
  flex-shrink: 0;
  align-self: stretch;
}

/* Layered ambient background */
.hero-right::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 55% 35%, rgba(30,58,47,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(196,135,42,0.1) 0%, transparent 55%);
  animation: hrBgPulse 9s ease-in-out infinite alternate;
}
@keyframes hrBgPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.06); }
}

/* Moving dot pattern */
.hv-scene {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
}
.hv-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(196,135,42,0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: dotShift 30s linear infinite;
  opacity: 0.4;
}
@keyframes dotShift {
  0%   { background-position: 0 0; }
  100% { background-position: 36px 36px; }
}
.hv-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,
    rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 1px,
    transparent 1px, transparent 5px);
  pointer-events: none;
}

/* Three floating material cards */
.hv-stack {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.hv-card {
  position: absolute;
  width: 210px; height: 260px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.65), 0 8px 20px rgba(0,0,0,0.4);
}
.hv-card--1 {
  background: linear-gradient(150deg, #1E3A2F 0%, #0c1f18 100%);
  border: 1px solid rgba(30,58,47,0.7);
  z-index: 1;
  animation: cardF1 9s ease-in-out infinite;
}
@keyframes cardF1 {
  0%,100% { transform: rotate(-7deg) translate(-65px, 25px); }
  50%     { transform: rotate(-5deg) translate(-65px, 10px); }
}
.hv-card--1::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 9px);
}
.hv-card--1::after {
  content: 'NATURSTEIN';
  position: absolute; bottom: 20px; left: 20px;
  font-family: var(--sans); font-size: 8px; font-weight: 700;
  letter-spacing: 2.5px; color: rgba(255,255,255,0.2);
}

.hv-card--2 {
  background: linear-gradient(150deg, #231506 0%, #150d02 100%);
  border: 1px solid rgba(196,135,42,0.25);
  border-top-color: rgba(196,135,42,0.5);
  z-index: 2;
  animation: cardF2 11s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes cardF2 {
  0%,100% { transform: rotate(4deg) translate(55px, -35px); }
  50%     { transform: rotate(5deg) translate(55px, -50px); }
}
.hv-card--2::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,135,42,0.1) 0%, transparent 50%);
}
.hv-card--2::after {
  content: 'ALUMINIUM';
  position: absolute; bottom: 20px; left: 20px;
  font-family: var(--sans); font-size: 8px; font-weight: 700;
  letter-spacing: 2.5px; color: rgba(196,135,42,0.35);
}

.hv-card--3 {
  background: linear-gradient(150deg, #141416 0%, #1c1c20 100%);
  border: 1px solid rgba(255,255,255,0.07);
  z-index: 3;
  animation: cardF3 13s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes cardF3 {
  0%,100% { transform: rotate(-1deg) translate(-5px, 50px); }
  50%     { transform: rotate(-2deg) translate(-5px, 37px); }
}
.hv-card--3::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 35% 35%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.hv-card--3::after {
  content: '62 MATERIALIEN';
  position: absolute; bottom: 20px; left: 20px;
  font-family: var(--sans); font-size: 8px; font-weight: 700;
  letter-spacing: 2.5px; color: rgba(255,255,255,0.25);
}

/* Amber accent lines */
.hv-line { position: absolute; z-index: 2; animation: hLineP 4s ease-in-out infinite; }
.hv-line--v1 { width:1px; height:40%; left:22%; top:30%;
  background: linear-gradient(to bottom, transparent, rgba(196,135,42,0.45), transparent); animation-delay:0s; }
.hv-line--v2 { width:1px; height:28%; right:22%; top:38%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent); animation-delay:-2s; }
.hv-line--h1 { height:1px; width:38%; left:31%; top:44%;
  background: linear-gradient(to right, transparent, rgba(196,135,42,0.25), transparent); animation-delay:-1s; }
@keyframes hLineP { 0%,100%{opacity:0.2;} 50%{opacity:0.7;} }

/* Central glow */
.hv-orb {
  position: absolute; z-index: 1;
  width: 380px; height: 380px;
  top:50%; left:50%; transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at center, rgba(196,135,42,0.13) 0%, rgba(30,58,47,0.08) 40%, transparent 70%);
  border-radius: 50%;
  animation: orbP 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbP { 0%,100%{transform:translate(-50%,-50%) scale(1); opacity:0.6;} 50%{transform:translate(-50%,-50%) scale(1.5); opacity:1;} }

.hv-bignum { display: none; }

/* Bottom strip */
.hv-label {
  position: absolute; bottom:0; left:0; right:0; z-index:5;
  padding: 24px 32px;
  background: linear-gradient(to top, rgba(8,8,7,0.88) 0%, transparent 100%);
}
.hv-label-inner { display:flex; align-items:center; gap:14px; }
.hv-label-line { display:block; width:28px; height:1px; background:var(--amber); opacity:0.55; flex-shrink:0; }
.hv-label-text { font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(255,255,255,0.28); }


/* ================================================================
   HERO — CINEMATIC SINGLE SHOT
================================================================ */
.cs-shot {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.cs-shot-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: csKenBurns 22s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes csKenBurns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}
/* Fade: left edge dark, image visible from 35% onward */
.cs-shot-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    #0a0a08 0%,
    rgba(10,10,8,0.85) 25%,
    rgba(10,10,8,0.40) 45%,
    rgba(10,10,8,0.05) 62%,
    transparent 72%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .cs-shot { display: none; }
}

/* ================================================================
   FRONT PAGE — PRODUCTS (main focus)
================================================================ */
.fp-products { background: #EDEAE3; padding-bottom: 80px; }
.fp-products-hd { padding: 72px 0 40px; }
.fp-products-hd-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fp-products-title { font-family: var(--serif); font-size: clamp(36px,4vw,56px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; margin-top: 12px; }
.fp-products-title em { font-style: italic; color: var(--amber); }
.btn--outline-ink { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 13px 28px; border: 1.5px solid var(--ink); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, color 0.2s; white-space: nowrap; text-decoration: none; }
.btn--outline-ink:hover { background: var(--ink); color: white; }
.fp-hero-product { margin-bottom: 20px; }
.fp-hero-product .wrap { display: flex; }
.fp-hero-link {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 420px;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  flex: 1;
}
.fp-hero-img-wrap { position: relative; overflow: hidden; background: #F2EFE9; display: flex; align-items: center; justify-content: center; }
.fp-hero-img { width: 62%; max-width: 380px; height: auto; object-fit: contain; display: block; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); filter: drop-shadow(0 20px 48px rgba(0,0,0,0.2)); }
.fp-hero-link:hover .fp-hero-img { transform: scale(1.05) translateY(-8px); }
.fp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,10,0.55) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 40px; opacity: 0; transition: opacity 0.35s; }
.fp-hero-link:hover .fp-hero-overlay { opacity: 1; }
.fp-hero-cta { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: white; }
.fp-hero-info {
  background: #1A1A16;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: none;
  transition: background 0.3s;
}
.fp-hero-link:hover .fp-hero-info { background: #252520; }
.fp-hero-cat { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; opacity: 0.9; }
.fp-hero-cat::before { content:''; width:24px; height:1.5px; background:var(--amber); display:block; }
.fp-hero-name { font-family: var(--serif); font-size: clamp(24px,2.5vw,36px); font-weight: 400; line-height: 1.1; color: white; margin-bottom: 16px; }
.fp-hero-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; }
.fp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 16px; }
.fp-card { background: var(--white); border-radius: 6px; border: 1px solid var(--rule); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.2s; }
.fp-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06); border-color: transparent; }
.fp-card-img-wrap { position: relative; overflow: hidden; background: #EDE9E2; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.fp-card-img { width: 80%; height: 80%; object-fit: contain; display: block; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12)); }
.fp-card:hover .fp-card-img { transform: scale(1.08) translateY(-4px); }
.fp-card-hover { position: absolute; inset: 0; background: rgba(12,12,10,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.fp-card-hover span { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: white; background: var(--green); padding: 10px 20px; border-radius: 2px; }
.fp-card:hover .fp-card-hover { opacity: 1; }
.fp-card-body { padding: 14px 16px 18px; border-top: 1px solid var(--rule); }
.fp-card-cat { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.fp-card-name { font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.3; }
.fp-products-footer { display: flex; justify-content: center; padding-top: 48px; }
.fp-all-btn { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 18px 40px; border: 2px solid var(--ink); border-radius: 3px; transition: background 0.2s, color 0.2s, gap 0.3s; }
.fp-all-btn:hover { background: var(--ink); color: white; gap: 20px; }
.fp-projects { background: var(--ink); padding: 80px 0; }
.fp-proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.fp-proj-item { display: block; text-decoration: none; overflow: hidden; border-radius: 4px; }
.fp-proj-img-wrap { overflow: hidden; aspect-ratio: 4/3; }
.fp-proj-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.fp-proj-item:hover .fp-proj-img { transform: scale(1.06); }
.fp-proj-info { padding: 20px 0 4px; }
.fp-proj-sub { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.fp-proj-title { font-family: var(--serif); font-size: 20px; color: white; line-height: 1.2; transition: color 0.2s; }
.fp-proj-item:hover .fp-proj-title { color: var(--amber); }

/* ================================================================
   ÜBER UNS PAGE — class-based responsive layout
================================================================ */
.au-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.au-story-visual { position: relative; min-height: 520px; overflow: hidden; }
.au-story-badge { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(26,26,22,0.75), transparent); padding: 36px 32px; }
.au-values-outer { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }

/* Über uns — smoother transition between Werte and Zertifikate sections.
   Reduce padding between them and add a hairline rule for a clean handoff. */
.page-template-page-ueber-uns .section { padding-bottom: 60px; }
.page-template-page-ueber-uns .section--off { padding-top: 60px; }
.page-template-page-ueber-uns .au-values-outer { padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.au-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); }
.au-value-item { padding: 36px 110px 36px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; transition: background 0.3s; overflow: hidden; }
.au-value-item:hover { background: var(--white); }
.au-value-item:nth-child(even) { border-right: none; }
.au-value-num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 400;
  color: var(--rule);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
  transition: color 0.3s;
  pointer-events: none;
  user-select: none;
}
.au-value-item:hover .au-value-num { color: var(--mist); }
.au-team-header { margin-bottom: 56px; }
.au-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--rule); }
.au-team-item { padding: 40px 36px; border-right: 1px solid var(--rule); transition: background 0.3s; }
.au-team-item:last-child { border-right: none; }
.au-team-item:hover { background: var(--off); }
.au-team-avatar { width: 64px; height: 64px; background: var(--off); border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; font-family: var(--serif); font-size: 22px; color: var(--mid); }
.au-team-role { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.au-certs-outer { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.au-certs-list { display: grid; gap: 0; border: 1px solid var(--rule); }
.au-cert-item { display: grid; grid-template-columns: 200px 1fr; gap: 0; border-bottom: 1px solid var(--rule); }
.au-cert-item:last-child { border-bottom: none; }
.au-cert-label { padding: 32px; border-right: 1px solid var(--rule); background: var(--white); }
.au-cert-text { padding: 32px; font-size: 14px; color: var(--mid); line-height: 1.75; display: flex; align-items: center; }

/* ================================================================
   CUSTOM PAGINATION — bc-pagination
================================================================ */
.bc-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 72px 0 8px; flex-wrap: wrap; }
.bc-pag-arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; transition: background 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s; flex-shrink: 0; }
.bc-pag-arrow:hover { background: var(--ink); color: white; transform: scale(1.08); box-shadow: 0 6px 20px rgba(26,26,22,0.2); }
.bc-pag-disabled { border-color: var(--rule); color: var(--mist); cursor: not-allowed; pointer-events: none; }
.bc-pag-numbers { display: flex; align-items: center; gap: 4px; }
.bc-pag-num { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; transition: background 0.18s, color 0.18s, transform 0.2s; border: 2px solid transparent; }
.bc-pag-num:hover { border-color: var(--ink); transform: translateY(-2px); }
.bc-pag-current { background: var(--amber); color: white; border-color: var(--amber); box-shadow: 0 4px 16px rgba(196,135,42,0.4); transform: scale(1.1); cursor: default; }
.bc-pag-dots { width: 32px; text-align: center; font-size: 16px; color: var(--mist); font-weight: 400; line-height: 1; }
.bc-pag-info { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); padding: 0 8px; display: flex; align-items: center; gap: 6px; }
.bc-pag-info span { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ink); letter-spacing: 0; }


/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-right { display: none; }
  .showcase-card { flex: 0 0 50%; }
  .showcase-card.is-active { flex: 0 0 60%; }
  .sp-layout { grid-template-columns: 1fr; min-height: auto; }
  .sp-media { position: relative; top: 0; height: 75vw; min-height: 260px; max-height: 420px; cursor: auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .sp-media::after { display: none; }
  .sp-media-main { width: 100%; height: 100%; max-width: none; object-fit: contain; animation: spMobileReveal 0.6s ease both; padding: 24px; box-sizing: border-box; }
  @keyframes spMobileReveal { from { opacity:0; transform:scale(0.9); } to { opacity:1; transform:scale(1); } }
  .sp-media-main {
    width: 72%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    animation: spMobileReveal 0.6s ease both;
    display: block;
    margin: 0 auto;
  }
  @keyframes spMobileReveal {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
  }
  .sp-media-footer { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 20px; }
  .sp-media::before { display: none; }
  .sp-media:hover .sp-media-main { transform: none !important; }
  .sp-cursor, .sp-cursor-ring { display: none; }
  .sp-content { padding: 12px 20px 56px !important; animation: none; min-height: auto !important; }
  .sp-content > *:not(.sp-cat):not(.sp-title):not(.sp-desc):not(.sp-rule):not(.sp-spec-grid):not(.sp-features):not(.sp-actions):not(.sp-vorb-text):not(.sp-cert-grid):not(.sp-quick-stats):not(p):not(h4) { display: none !important; }
  .sp-content .sp-breadcrumb { display: none !important; }
  .sp-content .sp-cat { margin-top: 0 !important; padding-top: 0 !important; }
  .sp-content .sp-cat:first-child,
  .sp-content > .sp-cat { margin-top: 0 !important; }
  .sp-title { font-size: clamp(24px,7vw,34px); }
  .sp-actions { flex-direction: column; padding-top: 16px; gap: 10px; }
  .sp-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-col { order: 1; padding: 48px 24px 0; }
  .contact-form-col { order: 2; padding: 48px 24px 60px; background: var(--off); }
  .about-split { grid-template-columns: 1fr; }
  .about-split-text { padding: 60px 0; }
  .milestones { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  /* Show CTA in nav at tablet size */
  .nav-cta { display: inline-flex; padding: 9px 16px; font-size: 10px; }
}
@media (max-width: 768px) {
  .wrap, .wrap--narrow, .wrap--wide { padding: 0 20px; }
  .nav-wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  /* Hero mobile */
  .hero { min-height: auto; }
  .hero-left { padding: 100px 24px 40px; }
  .hero-title { font-size: clamp(48px, 14vw, 80px); line-height: 0.92; }
  .hero-sub { font-size: 14px; max-width: 100%; border-left: 2px solid rgba(196,135,42,0.4); padding-left: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { text-align: center; justify-content: center; width: 100%; padding: 16px 20px; }
  .hero-stat-row { gap: 0; flex-wrap: nowrap; justify-content: center; margin-top: 32px; }
  .hero .hero-stat-row > div { padding: 12px 16px !important; margin-right: 0 !important; text-align: center !important; flex: 1 1 0 !important; min-width: 0 !important; }
  .hero .hero-stat-num { font-size: 26px !important; margin-bottom: 8px !important; line-height: 1 !important; }
  .hero .hero-stat-lbl { font-size: 8px !important; letter-spacing: 1.5px !important; }
  /* Showcase */
  .showcase-track { flex-direction: column; }
  .showcase-card { flex: none !important; width: 100%; }
  .showcase-card-img { height: 300px; }
  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  /* Material props */
  .material-props-inner { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .mat-prop:nth-child(2) { border-right: none; }
  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(even) { border-right: none; }
  /* Projects mosaic */
  .mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic-item:first-child { grid-row: auto; height: 300px; }
  .mosaic-item { height: 220px; }
  /* CTA band */
  .cta-band { padding: 64px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-band-actions { flex-direction: column; width: 100%; gap: 10px; }
  .cta-band-actions .btn { justify-content: center; width: 100%; }
  /* Milestones */
  .milestones { grid-template-columns: 1fr 1fr; }
  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0;
  }
  .footer-top > div:first-child .footer-tagline { max-width: 300px; }
  .footer-top > div:first-child .footer-socials { justify-content: center; }
  .footer-col {
    padding: 32px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-width: 0;
    overflow: hidden;
  }
  .footer-col:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
  .footer-col:last-child {
    grid-column: 1 / -1;
    border-right: none !important;
  }
  .footer-col h4 { font-size: 8px; letter-spacing: 2px; }
  .footer-col a { font-size: 12px; }
  .footer-contact-list .fc-lbl { width: 60px; font-size: 10px; letter-spacing: 0.5px; }
  .footer-contact-list li { font-size: 13px; gap: 12px; }
  .footer-col .footer-contact-list li a { font-size: 13px !important; white-space: nowrap; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 56px; }
  /* Front page products */
  .fp-hero-link { grid-template-columns: 1fr; border-radius: 10px; }
  .fp-hero-info { padding: 36px 24px; }
  .fp-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .fp-proj-grid { grid-template-columns: 1fr 1fr; }
  /* Über uns */
  .au-story-grid { grid-template-columns: 1fr; gap: 0; }
  .au-story-visual { min-height: 280px; }
  .au-values-outer, .au-certs-outer { grid-template-columns: 1fr; gap: 32px; }
  .au-values-grid { grid-template-columns: 1fr; }
  .au-value-item { border-right: none; }
  .au-team-grid { grid-template-columns: 1fr; }
  .au-team-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .au-cert-item { grid-template-columns: 1fr; }
  .au-cert-label { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 20px; }
  .au-cert-text { padding: 24px 20px; }
  /* Pagination */
  .bc-pagination { gap: 8px; padding-top: 48px; }
  .bc-pag-arrow { width: 44px; height: 44px; }
  .bc-pag-num { width: 40px; height: 40px; font-size: 13px; }
  .bc-pag-info { display: none; }
}
@media (max-width: 500px) {
  .products-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .sp-spec-grid { grid-template-columns: 1fr; }
  .sp-spec-item:nth-child(even) { border-right: 1px solid var(--rule); }
  .fp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fp-proj-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SINGLE PROJEKT — redesigned
================================================================ */

/* Hero */
.sp-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 780px;
  overflow: hidden;
  background: var(--ink-soft);
}
.sp-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 12s ease-in-out;
}
.sp-hero:hover .sp-hero-img { transform: scale(1.03); }
.sp-hero-placeholder { background: linear-gradient(135deg, #1a1a16 0%, #0d0d0b 100%); width: 100%; height: 100%; }
.sp-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,8,0.92) 0%, rgba(10,10,8,0.45) 40%, rgba(10,10,8,0.15) 100%),
    linear-gradient(to right, rgba(10,10,8,0.3) 0%, transparent 50%);
}
.sp-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding-bottom: 56px;
}
.sp-hero-wrap { max-width: 1360px; margin: 0 auto; padding: 0 48px; }
.sp-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.sp-breadcrumb a { color: inherit; text-decoration: none; transition: color 0.2s; }
.sp-breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.sp-breadcrumb span:last-child { color: rgba(255,255,255,0.6); }
.sp-hero-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 12px;
}
.sp-hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400; color: white;
  line-height: 1.05; letter-spacing: -0.02em;
  max-width: 720px;
}
.sp-hero-sub {
  font-size: 13px; color: rgba(255,255,255,0.4);
  letter-spacing: 1px; margin-top: 12px;
}
.sp-hero-pills {
  display: flex; gap: 2px;
  margin-top: 32px; flex-wrap: wrap;
}
.sp-hero-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 20px;
  display: flex; flex-direction: column; gap: 3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sp-hero-pill-lbl {
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
}
.sp-hero-pill-val {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.75);
}

/* Body layout */
.sp-body-section {
  background: var(--white);
  padding: 72px 0 100px;
}
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}
.sp-prose {
  font-size: 17px; color: var(--mid);
  line-height: 1.9; margin-bottom: 48px;
}
.sp-prose p { margin-bottom: 1.4em; }
.sp-prose p:last-child { margin-bottom: 0; }
.sp-material-block {
  border: 1px solid var(--rule);
  padding: 32px;
  background: var(--off);
  margin-top: 48px;
}
.sp-material-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--mist);
  margin-bottom: 10px;
}
.sp-material-name {
  font-family: var(--serif);
  font-size: 28px; font-weight: 400; color: var(--ink);
  line-height: 1.15; margin-bottom: 16px;
}
.sp-material-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
  text-decoration: none; transition: gap 0.25s;
}
.sp-material-link:hover { gap: 13px; }

/* Sidebar */
.sp-sidebar { 
  position: sticky; top: 88px;
  padding: 48px 0 48px 48px;
}
.sp-detail-card {
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--white);
}
.sp-detail-card-head {
  padding: 20px 24px;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sp-detail-card-head .label { color: rgba(255,255,255,0.4); display: block; }
.sp-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.sp-detail-row:hover { background: var(--off); }
.sp-detail-lbl {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mist);
  flex-shrink: 0;
}
.sp-detail-val {
  font-size: 13px; font-weight: 500; color: var(--ink);
  text-align: right;
}
.sp-detail-card-cta {
  padding: 20px 24px;
  background: var(--off);
}
.sp-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mist);
  text-decoration: none; margin-top: 20px;
  transition: color 0.2s, gap 0.25s;
}
.sp-back-link:hover { color: var(--ink); gap: 12px; }

/* Related projects */
.sp-related-section {
  background: var(--off);
  padding: 80px 0 100px;
}
.sp-related-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.sp-related-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400; line-height: 1.1;
}
.sp-related-title em { font-style: italic; color: var(--amber); }
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.sp-rel-card {
  text-decoration: none;
  display: block;
  overflow: hidden;
  background: var(--ink-soft);
}
.sp-rel-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.sp-rel-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.sp-rel-card:hover .sp-rel-img { transform: scale(1.06); }
.sp-rel-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 44px 24px 22px;
  background: linear-gradient(to top, rgba(10,10,8,0.9) 0%, transparent 100%);
}
.sp-rel-cat {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--amber);
  display: block; margin-bottom: 6px;
}
.sp-rel-title {
  font-family: var(--serif);
  font-size: 19px; font-weight: 400;
  color: white; line-height: 1.2; margin: 0;
  transition: color 0.2s;
}
.sp-rel-card:hover .sp-rel-title { color: var(--amber); }
.sp-rel-sub {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 1100px) {
  .sproj-layout { grid-template-columns: 1fr; }
  .sp-main { padding: 56px 0 48px !important; border-right: none; border-bottom: 1px solid var(--rule); }
  .sp-sidebar { position: static; padding: 40px 0 48px !important; }
  .sp-detail-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .sp-hero { height: 60vh; min-height: 380px; }
  .sp-hero-wrap { padding: 0 24px; }
  .sp-hero-content { padding-bottom: 28px; }
  .sp-hero-title { font-size: clamp(28px, 8vw, 46px); }
  .sp-hero-pills { gap: 2px; }
  .sp-hero-pill { padding: 8px 12px; }
  .sp-prose { font-size: 15px; line-height: 1.8; }
  .sp-related-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
}
@media (max-width: 480px) {
  .sp-related-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   SEARCH FORM
---------------------------------------------------------------- */
input[type="search"]:focus {
  outline: none;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(30,58,47,0.08);
}

/* ----------------------------------------------------------------
   POST NAVIGATION
---------------------------------------------------------------- */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.nav-previous a, .nav-next a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-previous a:hover, .nav-next a:hover { color: var(--green); }

/* ----------------------------------------------------------------
   PRODUCTS GRID — responsive single project detail aside
---------------------------------------------------------------- */
@media (max-width: 900px) {
  .sp-project-inner {
    grid-template-columns: 1fr !important;
  }
}

/* ----------------------------------------------------------------
   SEARCH PAGE results count
---------------------------------------------------------------- */
.page-hero p { color: rgba(255,255,255,0.4); font-size: 16px; max-width: 520px; margin-top: 20px; line-height: 1.75; }

/* ----------------------------------------------------------------
   FORM ERROR / SUCCESS
---------------------------------------------------------------- */
#fw-form-error {
  animation: slideDown 0.3s ease;
}
#fw-form-success {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   ADMIN BAR OFFSET
---------------------------------------------------------------- */
.admin-bar .site-header { top: 32px; }
.admin-bar .filter-bar  { top: calc(68px + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .filter-bar  { top: calc(68px + 46px); }
}

/* ----------------------------------------------------------------
   WP CORE CONTENT STYLES (inside page.php / single.php content)
---------------------------------------------------------------- */
.wp-content h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin: 40px 0 16px; }
.wp-content h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 32px 0 12px; }
.wp-content p  { margin-bottom: 20px; font-size: 16px; color: var(--mid); line-height: 1.85; }
.wp-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.wp-content ul li { margin-bottom: 8px; color: var(--mid); font-size: 15px; }
.wp-content a  { color: var(--green); text-decoration: underline; }
.wp-content strong { color: var(--ink); font-weight: 600; }
.wp-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 28px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}
.wp-content img { max-width: 100%; height: auto; margin: 32px 0; }
.wp-content figure figcaption { font-size: 12px; color: var(--mist); margin-top: 8px; text-align: center; }

/* ----------------------------------------------------------------
   WOOCOMMERCE BASIC COMPAT (if needed)
---------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
}

/* ----------------------------------------------------------------
   PRINT
---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .sticky-mobile-cta, .cta-band, .nav-hamburger, .mobile-nav { display: none !important; }
  body { padding-top: 0; color: black; background: white; }
  .page-hero { background: none; color: black; padding-top: 0; }
  .page-hero h1, .page-hero p { color: black !important; }
}

/* ----------------------------------------------------------------
   STICKY MOBILE CTA — improved
---------------------------------------------------------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  background: var(--green);
  color: white;
  text-align: center;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.sticky-mobile-cta:hover { background: var(--green-mid); }
.sticky-mobile-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  /* safe area for iPhone home bar */
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.sticky-mobile-cta-inner::after { content: '→'; font-size: 16px; }

/* Hide sticky CTA on contact page — form is the CTA, bar blocks checkbox */
.page-template-page-kontakt .sticky-mobile-cta,
body:has(.contact-layout) .sticky-mobile-cta {
  display: none !important;
}
body:has(.contact-layout) {
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
}

/* ----------------------------------------------------------------
   HERO ENHANCEMENTS — grid lines background
---------------------------------------------------------------- */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.02) 79px,
      rgba(255,255,255,0.02) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.02) 79px,
      rgba(255,255,255,0.02) 80px
    );
}

/* Hero eyebrow line animation */
.hero-eyebrow-line {
  width: 0;
  animation: expandLine 0.8s 0.5s var(--slow) forwards;
}
@keyframes expandLine {
  to { width: 32px; }
}

/* ----------------------------------------------------------------
   PAGE HERO — fix padding-top so content clears fixed header
---------------------------------------------------------------- */
.page-hero {
  padding-top: 140px;
}

/* ----------------------------------------------------------------
   ADMIN BAR OFFSET
---------------------------------------------------------------- */
.admin-bar .site-header { top: 32px; }
.admin-bar .filter-bar  { top: calc(68px + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .filter-bar  { top: calc(68px + 46px); }
}

/* ----------------------------------------------------------------
   FORM FEEDBACK ANIMATIONS
---------------------------------------------------------------- */
#fw-form-error, #fw-form-success {
  animation: slideDown 0.3s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   PRINT
---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .sticky-mobile-cta,
  .cta-band, .nav-hamburger, .mobile-nav { display: none !important; }
  body { padding-top: 0; color: black; background: white; }
  .page-hero { background: none; color: black; padding-top: 0; }
  .page-hero h1, .page-hero p { color: black !important; }
}

/* ----------------------------------------------------------------
   ABOUT PAGE — inline grid responsive fixes
---------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-values-grid,
  .about-certs-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px) {
  /* About page story split */
  [style*="grid-template-columns: 1fr 1fr"].about-story,
  .about-split {
    grid-template-columns: 1fr !important;
  }
  /* Team grid mobile */
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Certs layout */
  [style*="grid-template-columns: 200px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:1fr 2fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Single projekt layout */
  [style*="grid-template-columns: 1fr 360px"] {
    grid-template-columns: 1fr !important;
  }
  .milestones    { grid-template-columns: 1fr 1fr !important; }
  .milestone-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 32px 20px 60px; text-align: center; }
  .milestone-col:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06) !important; }
  .certs-grid    { grid-template-columns: 1fr; }
  .cert-item     { border-right: none; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .milestones { grid-template-columns: 1fr !important; }
  .milestone-col { border-right: none !important; padding: 28px 24px 56px; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }
  .product-item:nth-child(3n) { border-right: none; }
  .product-item:nth-child(even) { border-right: none; }
  .form-row-2 { grid-template-columns: 1fr; }
  .sp-spec-grid { grid-template-columns: 1fr; }
  .material-props-inner { grid-template-columns: 1fr; }
  .mat-prop { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .mat-prop:last-child { border-bottom: none; }
  .c-hours { grid-template-columns: 1fr 1fr; }
  .hero-stat-row { flex-direction: row; flex-wrap: wrap; gap: 0; justify-content: flex-start; }
  .hero-stat-row > div { flex: 1 1 0; min-width: 0; padding: 20px 0; margin-right: 0; border-right: 1px solid rgba(255,255,255,0.1); text-align: center; }
  .hero-stat-row > div:last-child { border-right: none; }
  .hero-stat-num { font-size: 28px; }
  .hero-stat-lbl { font-size: 8px; letter-spacing: 1.5px; }
}

/* ----------------------------------------------------------------
   HERO FACADE SHOWCASE — right panel
---------------------------------------------------------------- */
.hero-right {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-facade-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Each facade panel */
.hfp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s var(--slow);
}
.hfp svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hfp--active { opacity: 1; }

/* Gradient overlay so info text is readable */
.hfp::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--ink) 0%, transparent 20%),
    linear-gradient(to top, rgba(14,14,10,0.7) 0%, transparent 40%);
  pointer-events: none;
}

/* Material info badge at bottom */
.hfp-info {
  position: absolute;
  bottom: 48px;
  right: 40px;
  text-align: right;
  z-index: 2;
}
.hfp-num {
  font-family: var(--serif);
  font-size: 100px;
  font-weight: 400;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -16px;
}
.hfp-name {
  background: var(--green);
  color: white;
  display: inline-block;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hfp-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  text-align: right;
}

/* Material selector dots */
.hero-mat-nav {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}
.hero-mat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.hero-mat-dot:hover { background: rgba(255,255,255,0.5); }
.hero-mat-dot.active {
  background: var(--amber);
  transform: scale(1.4);
}

/* Material count */
.hero-mat-count {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--serif);
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}
#hero-mat-current {
  font-size: 22px;
  color: rgba(255,255,255,0.6);
  line-height: 1;
}
.hero-mat-sep { font-size: 12px; margin: 0 2px; }

/* Auto-rotate progress line at bottom of panel */
.hero-right::after { display: none; }
@keyframes heroProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Hide right panel decorators we no longer use */
.hero-right-overlay,
.hero-right-label,
.hero-right-img { display: none; }

@media (max-width: 1100px) {
  .hero-facade-grid,
  .hero-mat-nav,
  .hero-mat-count { display: none; }
}

/* ================================================================
   PRODUCT ARCHIVE — CATEGORY GROUPED LAYOUT
================================================================ */

/* ── Category index nav bar ──────────────────────────────── */
.cat-index-bar {
  position: sticky;
  top: 68px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  /* Prevent iOS momentum scroll fighting */
  -webkit-overflow-scrolling: auto;
}
.admin-bar .cat-index-bar { top: calc(68px + 32px); }
@media (max-width: 782px) { .admin-bar .cat-index-bar { top: calc(68px + 46px); } }
@media (max-width: 768px) {
  .cat-index-bar {
    position: sticky;
    top: 60px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.cat-index-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cat-index-inner::-webkit-scrollbar { display: none; }

.cat-index-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
  padding: 7px 14px;
  border: 1px solid var(--rule);
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cat-index-link:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.cat-index-link.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
}

/* ── Category section ────────────────────────────────────── */
.cat-section {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.cat-section--alt {
  background: var(--off);
}

/* Section header */
.cat-section-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}
.cat-section-hd-left {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.cat-section-index {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 400;
  line-height: 0.85;
  color: var(--rule);
  letter-spacing: -0.04em;
  flex-shrink: 0;
  margin-top: 4px;
  transition: color 0.4s;
  user-select: none;
}
.cat-section:hover .cat-section-index { color: var(--mist); }

.cat-section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cat-section-desc {
  font-size: 14px;
  color: var(--mid);
  margin-top: 8px;
  max-width: 480px;
  line-height: 1.65;
}

.cat-section-hd-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.cat-product-count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
}
.cat-view-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  transition: color 0.2s, letter-spacing 0.2s;
}
.cat-view-all:hover {
  color: var(--ink);
  letter-spacing: 2.5px;
}

/* ── Products grid inside each category ──────────────────── */
.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}

/* Override product-item border for 4-col grid */
.cat-products-grid .product-item {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cat-products-grid .product-item:nth-child(3n)   { border-right: 1px solid var(--rule); } /* reset 3-col rule */
.cat-products-grid .product-item:nth-child(4n)   { border-right: none; }
.cat-products-grid .product-item:nth-child(even) { border-right: 1px solid var(--rule); } /* reset 2-col mobile rule */

/* ── Empty category state ────────────────────────────────── */
.cat-empty {
  border: 1px dashed var(--rule);
  padding: 56px 40px;
  text-align: center;
  background: rgba(255,255,255,0.5);
}
.cat-empty-icon {
  width: 64px;
  height: 64px;
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--mist);
}
.cat-empty p {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.cat-empty span {
  font-size: 13px;
  color: var(--mid);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cat-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cat-products-grid .product-item:nth-child(4n)   { border-right: 1px solid var(--rule); }
  .cat-products-grid .product-item:nth-child(3n)   { border-right: none; }
}
@media (max-width: 768px) {
  .cat-section { padding: 48px 0 56px; }
  .cat-section-hd { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cat-section-hd-right { flex-direction: row; align-items: center; }
  .cat-section-index { font-size: 56px; }
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-products-grid .product-item:nth-child(3n)   { border-right: 1px solid var(--rule); }
  .cat-products-grid .product-item:nth-child(4n)   { border-right: 1px solid var(--rule); }
  .cat-products-grid .product-item:nth-child(even) { border-right: none; }
  /* When only one product in category, let it span full width */
  .cat-products-grid--single { grid-template-columns: 1fr; }
  .cat-products-grid--single .product-item { border-right: none; }
  .cat-index-bar { position: sticky; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .cat-products-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-products-grid .product-item:nth-child(even) { border-right: none; }
  .cat-products-grid .product-item:nth-child(odd)  { border-right: 1px solid var(--rule); }
  .cat-products-grid--single { grid-template-columns: 1fr; }
  .cat-products-grid--single .product-item { border-right: none; }
  .cat-section-hd-left { gap: 16px; }
  .cat-section-index { display: none; }
}

/* ── Single product page — 60/40 split, scoped to body.single-produkt only ── */
.single-produkt .sp-layout {
  grid-template-columns: 60fr 40fr;
}
@media (max-width: 1100px) {
  .single-produkt .sp-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile product footer — sits outside the sticky media box */
.sp-media-footer-mobile {
  display: none;
}
@media (max-width: 1100px) {
  .sp-media-footer { display: none; }
  .sp-media-footer-mobile {
    display: block;
    background: #0C0C0A;
    padding: 12px 20px 12px;
    grid-column: 1;
    margin: 0;
  }
  .sp-media-footer-mobile .sp-media-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
  }
}

/* sp-media-wrap: desktop is the black grid column that holds the sticky media */
.sp-media-wrap {
  display: block;
  background: #0C0C0A;
  height: 100%;
  align-self: stretch;
}
@media (max-width: 1100px) {
  .sp-media-wrap {
    position: static !important;
    display: block;
    background: #0C0C0A;
    grid-column: 1;
    height: auto !important;
    align-self: start;
    padding: 0 !important;
    margin: 0 !important;
  }
  .sp-layout { 
    align-items: start !important; 
    min-height: 0 !important;
    background: transparent !important;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
  }
  .sp-media-wrap .sp-media {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 28px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  .sp-media-wrap .sp-media-main {
    width: 75% !important;
    height: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    padding: 0 !important;
  }
}

/* ── Quick stats: Kapazität / Verbrauch ── */
.sp-quick-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  margin: 24px 0 8px;
}
.sp-quick-stat {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid var(--rule);
}
.sp-quick-stat:last-child { border-right: none; }
.sp-qs-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 4px;
}
.sp-qs-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Vorbereitung text ── */
.sp-vorb-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.85;
  border-left: 2px solid var(--amber);
  padding-left: 16px;
  margin-bottom: 8px;
}

/* ── Certificate logos grid ── */
.sp-cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.sp-cert-item {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  min-width: 100px;
  flex: 0 0 auto;
}
.sp-cert-item img,
.sp-cert-item .sp-cert-img {
  max-height: 64px;
  max-width: 200px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .sp-quick-stats { flex-direction: column; }
  .sp-quick-stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .sp-quick-stat:last-child { border-bottom: none; }
  .sp-cert-item { min-height: 64px; min-width: 80px; padding: 10px 12px; }
  .sp-cert-item img { max-height: 48px; max-width: 160px; }
}

/* ── Category index scroll arrows ─────────────────────────── */
.cat-index-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.cat-index-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.cat-index-arrow:hover:not(:disabled) {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.cat-index-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .cat-index-arrow { display: none; } /* mobile uses native swipe */
}

/* ── Filter bar scroll arrows (taxonomy pages) ───────────── */
.filter-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.filter-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  border-radius: 0;
}
.filter-arrow:hover:not(:disabled) {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.filter-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .filter-arrow { display: none; }
}

/* ── Header search button ─────────────────────────────────── */
.nav-search-btn {
  background: transparent;
  border: none;
  padding: 8px;
  margin: 0 12px 0 0;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.site-header.header--dark .nav-search-btn { color: white; }
.nav-search-btn:hover { opacity: 0.7; }
@media (max-width: 1024px) {
  .nav-search-btn { margin-right: 8px; }
}

/* ── Search overlay ───────────────────────────────────────── */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,8,0.97);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
  overflow-y: auto;
  display: none;
}
.search-overlay.open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.search-overlay-close:hover {
  background: white;
  color: var(--ink);
}
.search-overlay-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 60px;
}
.search-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.search-form { position: relative; }
#search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: white;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  padding: 8px 0 16px;
  outline: none;
  transition: border-color 0.2s;
}
#search-input::placeholder { color: rgba(255,255,255,0.3); }
#search-input:focus { border-bottom-color: var(--amber); }
.search-submit {
  margin-top: 24px;
  background: var(--amber);
  color: var(--ink);
  border: none;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.search-submit:hover { opacity: 0.85; }

/* Live results */
.search-results {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}
.search-result-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--amber);
  transform: translateX(4px);
}
.search-result-img {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.search-result-img img { width: 100%; height: 100%; object-fit: contain; }
.search-result-meta { flex: 1; min-width: 0; }
.search-result-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.search-result-name {
  font-family: var(--serif);
  font-size: 18px;
  color: white;
}
.search-result-arrow { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.search-empty {
  padding: 32px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

/* Header right-side group (search + CTA + hamburger) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .nav-right { gap: 4px; }
  .nav-search-btn { padding: 6px; }
  .nav-search-btn svg { width: 16px; height: 16px; }
}
@media (max-width: 1100px) {
  html { overflow-x: hidden; max-width: 100vw; width: 100%; }
  body { max-width: 100vw; width: 100%; position: relative; }
}

/* New text logo: BAU bold + CRAFT regular, underlined */
.nav-logo, .mobile-nav-logo, .footer-brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  letter-spacing: 1.5px;
  font-size: 18px;
  line-height: 1;
}
.nav-logo .logo-bau,
.mobile-nav-logo .logo-bau,
.footer-brand-name .logo-bau {
  font-weight: 800;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
}
.nav-logo .logo-craft,
.mobile-nav-logo .logo-craft,
.footer-brand-name .logo-craft {
  font-weight: 400;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
}
.nav-logo .logo-tagline,
.mobile-nav-logo .logo-tagline,
.footer-brand-name .logo-tagline {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  margin-left: 8px;
  opacity: 0.6;
  font-family: var(--sans);
}

/* ── Legal pages (Datenschutz, AGB, Impressum) ──────────── */
.legal-section {
  background: var(--white);
  padding: 80px 0 120px;
}
.legal-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
}
.legal-content .legal-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.legal-content h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.legal-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--amber);
}
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--amber); }

@media (max-width: 768px) {
  .legal-section { padding: 48px 0 80px; }
  .legal-content { font-size: 14px; }
  .legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
  .legal-content .legal-intro { font-size: 15px; padding-bottom: 24px; margin-bottom: 24px; }
}

/* Footer contact list - aligned labels */
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0 !important;
  margin: 0 !important;
  border: none !important;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
}
.footer-contact-list .fc-lbl {
  display: inline-block;
  width: 56px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-col .footer-contact-list li a,
.footer-col .footer-contact-list li > a,
.footer-contact-list a {
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color 0.2s;
}
.footer-col .footer-contact-list li a:hover,
.footer-contact-list a:hover { color: white !important; }
.footer-contact-list li:nth-last-child(2),
.footer-contact-list li:last-child { padding-top: 6px !important; }
.footer-contact-list .fc-addr { align-items: flex-start; }
.footer-contact-list .fc-addr .fc-lbl { padding-top: 2px; }

/* About: certificate logos band */
.au-cert-logos {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.au-cert-logos-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 20px;
}
.au-cert-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.au-cert-logo {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  min-width: 110px;
  flex: 0 0 auto;
}
.au-cert-logo img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .au-cert-logos { margin-top: 32px; padding-top: 28px; }
  .au-cert-logo { min-height: 68px; min-width: 90px; padding: 10px 14px; }
  .au-cert-logo img { max-height: 44px; max-width: 140px; }
}

/* Taxonomy hero description — responsive, must override .page-hero p */
.page-hero .cat-tax-desc,
.cat-tax-desc {
  max-width: 1000px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-top: 28px;
}
.page-hero .cat-tax-desc p,
.cat-tax-desc p {
  margin-bottom: 14px;
  color: inherit;
  max-width: none;
  font-size: inherit;
}
.cat-tax-desc p:last-child { margin-bottom: 0; }
.cat-tax-desc strong { color: rgba(255,255,255,0.85); font-weight: 600; }
@media (max-width: 768px) {
  .cat-tax-desc { font-size: 15px; line-height: 1.7; margin-top: 20px; }
  /* Mobile: keep page-hero titles on one continuous flow, no forced breaks */
  .page-hero h1 br { display: none; }
  .page-hero h1 { font-size: clamp(34px, 9vw, 56px); line-height: 1.08; }
}
