/* ==========================================================================
   Sancar Naturstein – stylesheet
   Black & gold, matching the product cards. Fonts are self-hosted (DSGVO).
   ========================================================================== */

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

/* ---------- Tokens ---------- */
:root {
  --black: #0f0f0e;
  --charcoal: #181716;
  --charcoal-2: #211f1d;
  --gold: #c6a46c;
  --gold-light: #e2c896;
  --gold-dark: #8a6d3e;      /* gold for text on light backgrounds (contrast) */
  --cream: #f4efe7;
  --cream-2: #ebe4d8;
  --ink: #1d1b19;
  --ink-soft: #57524b;
  --text-on-dark: #e9e4dc;
  --muted-on-dark: #a8a198;
  --line-dark: rgba(198, 164, 108, .28);
  --line-light: rgba(29, 27, 25, .14);
  --error: #b3261e;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: .02em; overflow-wrap: break-word; font-variant-numeric: lining-nums; }
dd { overflow-wrap: break-word; }
@media (max-width: 480px) { h2, h3, dd { hyphens: auto; } }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--gold-dark); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: .74rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 1.1em;
}
.section-light .eyebrow { color: var(--gold-dark); }
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 1.4rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.7em;
  border: 1px solid var(--gold); border-radius: var(--radius);
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: transparent; color: var(--gold-light);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline:hover { background: rgba(198, 164, 108, .12); }
.section-light .btn-outline { color: var(--ink); border-color: var(--gold-dark); }
.section-light .btn-outline:hover { background: rgba(138, 109, 62, .1); }
.btn-sm { min-height: 40px; padding: .55em 1.2em; font-size: .7rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--black); border-bottom: 1px solid var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: auto; height: 42px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-on-dark); }
.brand-sub { font-size: .58rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 5px; padding-left: 2px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.main-nav a:not(.btn) {
  text-decoration: none; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  color: var(--text-on-dark); padding: 8px 0; position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav .nav-contact, .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; min-width: 64px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer;
  font-size: .76rem; letter-spacing: .16em; font-weight: 700; color: var(--text-on-dark);
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-toggle .chev { transition: transform .2s; color: var(--gold); }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 120;
  background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: transparent;
  text-align: left; cursor: pointer; font-size: .9rem; border-radius: var(--radius); color: var(--text-on-dark);
}
.lang-menu .code { font-weight: 700; font-size: .72rem; letter-spacing: .16em; color: var(--gold); width: 24px; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(198, 164, 108, .12); outline-offset: -2px; }
.lang-menu button[aria-checked="true"] { color: var(--gold-light); }

/* Burger */
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.burger { display: grid; gap: 5px; width: 20px; }
.burger span { display: block; height: 1px; background: var(--gold-light); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--black); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 28px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(198, 164, 108, .14); }
  .main-nav a:not(.btn) { display: block; padding: 16px 0; font-size: .85rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .nav-contact { display: block; }
  .nav-cta-mobile { display: flex; margin-top: 22px; width: 100%; }
  .header-actions { margin-left: auto; gap: 10px; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.2rem; letter-spacing: .18em; }
  .brand-sub { font-size: .5rem; letter-spacing: .34em; }
  .brand-mark { height: 36px; }
  .brand { gap: 9px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: var(--header-h); background: var(--black); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(860px, calc(100vh - var(--header-h))); align-items: stretch; }
.hero-copy { padding: clamp(48px, 8vh, 96px) 0; align-self: center; position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 4.8rem); font-weight: 500; letter-spacing: .12em; hyphens: none; text-transform: uppercase; color: var(--text-on-dark); line-height: 1.02; }
.hero-title > span { display: block; }
.hero-sub {
  font-size: clamp(1rem, 2.1vw, 1.55rem); letter-spacing: .32em; color: var(--gold); margin-top: .7em; font-weight: 500;
}
.hero-intro { max-width: 34em; color: var(--muted-on-dark); font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.6rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.hero-facts > div { padding-right: clamp(18px, 3vw, 40px); margin-right: clamp(18px, 3vw, 40px); border-right: 1px solid var(--line-dark); }
.hero-facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fact-value { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--gold-light); line-height: 1; margin-bottom: 8px; }
.hero-facts dd { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); max-width: 13em; line-height: 1.5; }

/* Signature diagonal with thin gold edge */
.hero-media {
  position: relative; margin-right: calc(-1 * var(--gutter));
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter)));
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  background: var(--gold);
}
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(calc(34% + 4px) 0, 100% 0, 100% 100%, 4px 100%);
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 40px 0 44px; order: 2; }
  .hero-media {
    order: 1; height: clamp(220px, 52vw, 380px); margin: 0 calc(-1 * var(--gutter));
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  }
  .hero-media img { clip-path: polygon(0 0, 100% 0, 100% calc(78% - 3px), 0 calc(100% - 3px)); }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts > div { padding-right: 12px; margin-right: 12px; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: .08em; }
  .hero-sub { letter-spacing: .2em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts dd { font-size: .62rem; letter-spacing: .1em; }
  .fact-value { font-size: 1.6rem; }
}

/* ---------- Strip ---------- */
.strip { background: var(--charcoal); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 0; padding-top: 18px; padding-bottom: 18px; }
.strip li { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); display: flex; align-items: center; }
.strip li + li::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); margin: 0 clamp(14px, 2.4vw, 30px); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--charcoal); }
.section-light { background: var(--cream); color: var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .contact-info h2 { font-size: clamp(1.7rem, 4.4vw, 3.2rem); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 480px) { .section-head h2, .contact-info h2 { letter-spacing: .05em; } }
.section-intro { color: var(--muted-on-dark); max-width: 40em; }
.section-light .section-intro { color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-intro h2 { font-size: clamp(1.7rem, 4.4vw, 3.2rem); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
@media (max-width: 480px) { .about-intro h2 { letter-spacing: .05em; } }
.about-lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4; color: var(--ink); }
.about-label { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.about-label + * { margin-bottom: 36px; }
.origins { display: grid; gap: 0; }
.origin { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.origin:first-child { border-top: 1px solid var(--line-light); }
.origin-code { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--gold-dark); border-radius: 50%; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .08em; color: var(--gold-dark); }
.origin h4 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 0 0 .2em; color: var(--ink); }
.origin p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.serve-list { display: flex; flex-wrap: wrap; gap: 8px; }
.serve-list li { padding: 8px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fbf8f3; font-size: .9rem; color: var(--ink); }
.serve-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); margin: 0 10px 2px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.mv { position: relative; padding: clamp(28px, 4vw, 44px); background: var(--charcoal); color: var(--text-on-dark); border-radius: var(--radius); border-top: 2px solid var(--gold); }
.mv-title { font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); margin-bottom: .7em; }
.mv p { margin: 0; color: var(--text-on-dark); font-size: 1.02rem; }

/* ---------- Sectors ---------- */
.sector-tabs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
@media (max-width: 1100px) {
  .sector-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .sector-tab { flex: 0 0 136px; scroll-snap-align: start; }
}
.sector-tab {
  display: flex; flex-direction: column; gap: 10px; padding: 0 0 12px; background: transparent; border: 0; border-bottom: 2px solid transparent;
  cursor: pointer; text-align: left; color: var(--muted-on-dark); transition: color .2s, border-color .2s;
}
.sector-tab img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); opacity: .55; filter: grayscale(.35); transition: opacity .25s, filter .25s; }
.sector-tab span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.sector-tab:hover { color: var(--text-on-dark); }
.sector-tab:hover img { opacity: .85; }
.sector-tab[aria-selected="true"] { color: var(--gold-light); border-bottom-color: var(--gold); }
.sector-tab[aria-selected="true"] img { opacity: 1; filter: none; }
.sector-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sector-panel[hidden] { display: none; }
.sector-panel:focus-visible { outline-offset: 8px; }
@media (max-width: 860px) { .sector-panel { grid-template-columns: 1fr; } }
.sector-media { position: relative; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.sector-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(86% - 3px), 0 calc(100% - 3px)); }
.sector-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--text-on-dark); }
.sector-copy .rule { margin: 1.1rem 0 1.2rem; }
.sector-text { color: var(--muted-on-dark); }
.sector-label { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 26px 0 14px; }
.sector-copy .checks { gap: 10px; }
.sector-stones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.stone-chip {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 14px 4px 4px; background: transparent;
  border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer; font-size: .86rem; color: var(--text-on-dark);
  transition: border-color .2s, background-color .2s;
}
.stone-chip img { width: 40px; height: 40px; object-fit: cover; border-radius: 1px; }
.stone-chip:hover { border-color: var(--gold); background: rgba(198, 164, 108, .08); }

/* ---------- Collection ---------- */
.collection { background: var(--black); }
.filters { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-start; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.filter-label { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-on-dark); min-width: 70px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: transparent; cursor: pointer; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip .count { color: var(--gold); margin-left: 4px; font-weight: 700; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
.chip[aria-pressed="true"] .count { color: var(--black); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; padding: 0; position: relative;
  border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 3px var(--black);
  transition: box-shadow .2s, transform .2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--gold); }
.swatch[data-color="weiss"] { background: #f3f1ec; }
.swatch[data-color="grau"] { background: #8d8c89; }
.swatch[data-color="beige"] { background: #d8c3a0; }
.swatch[data-color="braun"] { background: #7a5434; }
.swatch[data-color="schwarz"] { background: #121212; }
.swatch[data-color="gruen"] { background: #4f6e55; }
.swatch[data-color="blau"] { background: #6f8597; }
.swatch[data-color="rot"] { background: #a33a35; }
.swatch-all { background: conic-gradient(#f3f1ec 0 12.5%, #8d8c89 0 25%, #d8c3a0 0 37.5%, #7a5434 0 50%, #121212 0 62.5%, #4f6e55 0 75%, #6f8597 0 87.5%, #a33a35 0); }
.swatch-name { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); min-width: 8em; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.tile { position: relative; }
.tile-btn {
  display: block; width: 100%; padding: 0; border: 1px solid rgba(198, 164, 108, .18); border-radius: var(--radius);
  background: var(--charcoal); cursor: pointer; text-align: left; color: inherit; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tile-btn:hover { border-color: var(--gold); }
.tile-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--charcoal-2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile-btn:hover .tile-img img { transform: scale(1.04); }
.tile-img::after { /* thin diagonal gold edge, echoing the cards */
  content: ""; position: absolute; right: -30%; bottom: 0; width: 60%; height: 1px; background: var(--gold);
  transform: rotate(-35deg); transform-origin: right bottom; opacity: .0; transition: opacity .3s;
}
.tile-btn:hover .tile-img::after { opacity: .9; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: var(--radius);
  background: rgba(15, 15, 14, .82); color: var(--gold-light); border: 1px solid var(--line-dark);
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.tile-body { display: block; padding: 14px 16px 18px; }
.tile-code { display: block; font-size: .64rem; letter-spacing: .24em; color: var(--gold); font-weight: 700; }
.tile-name { display: block; font-family: var(--serif); font-size: 1.32rem; letter-spacing: .04em; color: var(--text-on-dark); margin: 4px 0 4px; line-height: 1.2; }
.tile-meta { display: block; font-size: .78rem; color: var(--muted-on-dark); line-height: 1.5; }
@media (max-width: 480px) {
  .tile-body { padding: 10px 11px 13px; }
  .tile-name { font-size: 1.1rem; }
  .tile-meta { font-size: .7rem; }
  .badge { font-size: .54rem; padding: 3px 6px; top: 7px; left: 7px; }
}
.grid-more { text-align: center; margin-top: 44px; }
.grid-more[hidden] { display: none; }
.grid-empty { text-align: center; padding: 40px 0; color: var(--muted-on-dark); }
.noscript { color: var(--muted-on-dark); }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 1000px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }
.adv { border-top: 1px solid var(--gold); padding-top: 26px; }
.adv .icon { width: 42px; height: 42px; fill: none; stroke: var(--gold-dark); stroke-width: 1.3; margin-bottom: 18px; }
.adv h3 { font-size: 1.5rem; margin-bottom: .6em; color: var(--ink); }
.adv p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- Quality band ---------- */
.quality { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--black); min-height: 560px; }
.quality-media { position: relative; background: var(--gold); clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%); }
.quality-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, calc(100% - 4px) 0, calc(72% - 4px) 100%, 0 100%); }
.quality-copy { padding: clamp(56px, 8vw, 110px) var(--gutter); max-width: 680px; align-self: center; }
.quality blockquote { margin: 0; }
.quality blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; color: var(--text-on-dark); margin: 0; }
.quality-lead { color: var(--muted-on-dark); margin-bottom: 1.1em; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--text-on-dark); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border: 1px solid var(--gold); border-radius: var(--radius);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.35em + 3px); width: 5px; height: 9px;
  border: solid var(--gold-light); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
@media (max-width: 860px) {
  .quality { grid-template-columns: 1fr; }
  .quality-media { height: 240px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%); }
  .quality-media img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3px), 0 calc(78% - 3px)); }
}

/* ---------- Formats ---------- */
.formats-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .formats-grid { grid-template-columns: 1fr; } }
.formats-col h3 { font-size: .74rem; font-family: var(--sans); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.format-list li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 1.32rem; color: var(--ink); line-height: 1.35; }
.format-list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-3px); }
.finish-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.finish-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fbf8f3; color: var(--ink); font-size: .95rem; }
.finish-swatch { flex: none; width: 28px; height: 28px; border-radius: var(--radius); border: 1px solid rgba(0,0,0,.08); }
.f-polished { background: linear-gradient(135deg, #fdfcfa 0%, #d9d6d0 45%, #ffffff 52%, #cfcac2 100%); }
.f-honed { background: #dcd6cc; }
.f-brushed { background: repeating-linear-gradient(90deg, #d6cfc3 0 2px, #cbc3b6 2px 4px); }
.f-tumbled { background: radial-gradient(circle at 30% 30%, #e0d3bc 0 20%, transparent 21%), radial-gradient(circle at 70% 65%, #c7b493 0 14%, transparent 15%), #d6c6aa; border-radius: 6px; }
.f-sawn { background: repeating-linear-gradient(0deg, #cfc7ba 0 3px, #bfb6a7 3px 4px); }
.formats-note { margin-top: 26px; padding-left: 16px; border-left: 2px solid var(--gold); color: var(--ink-soft); font-size: .95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.step-no { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 1.45rem; margin-bottom: .5em; color: var(--text-on-dark); }
.step p { color: var(--muted-on-dark); font-size: .94rem; margin: 0; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 22px 0; }
  .step-no { grid-row: span 2; font-size: 2.2rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { color: var(--ink); }
.contact-list { margin: 28px 0 0; }
.contact-list > div { padding: 14px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; }
.contact-list dt { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.contact-list dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); word-break: break-word; }
.contact-list a { text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
@media (max-width: 480px) { .contact-list > div { grid-template-columns: 1fr; gap: 2px; } }

.contact-form { background: #fbf8f3; border: 1px solid var(--line-light); border-top: 2px solid var(--gold); padding: clamp(22px, 4vw, 44px); border-radius: var(--radius); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.req { color: var(--gold-dark); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid rgba(29, 27, 25, .22); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-weight: 400; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8e877d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(198, 164, 108, .3); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border: solid var(--gold-dark); border-width: 0 1.4px 1.4px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .85rem; margin: 6px 0 0; font-weight: 400; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold-dark); cursor: pointer; }
.field-check label { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 300; color: var(--ink); margin: 0; line-height: 1.55; }
.field-check .field-error { grid-column: 2; }
.form-error-summary { background: #fbeaea; border-left: 3px solid var(--error); color: var(--error); padding: 10px 14px; font-size: .92rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-hint { font-size: .84rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-success { margin: 14px 0 0; padding: 12px 14px; background: #eef3ea; border-left: 3px solid #4f6e55; color: #2e4a33; font-size: .92rem; }

/* ---------- Stone pages ---------- */
.stone-hero { background: var(--black); padding: calc(var(--header-h) + clamp(20px, 3vw, 36px)) 0 clamp(56px, 8vw, 104px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: clamp(24px, 4vw, 40px); }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs [aria-current] { color: var(--text-on-dark); }
.stone-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .stone-hero-grid { grid-template-columns: 1fr; } }
.stone-photo { position: relative; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.stone-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(92% - 3px), 0 calc(100% - 3px)); }
@media (max-width: 900px) { .stone-photo img { aspect-ratio: 4 / 3; } }
.stone-title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); text-transform: uppercase; letter-spacing: .08em; color: var(--text-on-dark); hyphens: none; }
.stone-code { margin: .5em 0 0; font-size: .74rem; font-weight: 700; letter-spacing: .3em; color: var(--gold); }
.stone-intro { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--text-on-dark); margin-bottom: 1.6em; }
.dot-list { display: inline; }
.dot-list + .dot-list::before { content: " · "; color: var(--gold); }
.stone-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-whatsapp svg { flex: none; }
.stone-downloads { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 22px; font-size: .86rem; }
.stone-downloads a { color: var(--gold-light); text-underline-offset: 4px; }
.stone-downloads a::before { content: "↓"; margin-right: 8px; }
.visuals { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.visual { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.visual:first-child { grid-row: span 2; }
.visual img { width: 100%; height: 100%; object-fit: cover; }
.visual figcaption { position: absolute; left: 0; bottom: 0; padding: 26px 18px 14px; width: 100%; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
@media (max-width: 760px) { .visuals { grid-template-columns: 1fr; } .visual:first-child { grid-row: auto; } }
.visual-note { margin: 12px 0 clamp(40px, 6vw, 64px); font-size: .8rem; color: var(--muted-on-dark); }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 3vw, 40px); }
@media (max-width: 1000px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }
.use { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.use-no { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; margin-bottom: 10px; }
.use h3 { font-size: 1.4rem; color: var(--text-on-dark); margin-bottom: .45em; }
.use p { margin: 0; color: var(--muted-on-dark); font-size: .94rem; }
.stone-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .stone-about { grid-template-columns: 1fr; } }
.stone-about h2 { font-size: clamp(1.7rem, 4.4vw, 3.2rem); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.care { padding: clamp(24px, 3vw, 34px); background: #fbf8f3; border: 1px solid var(--line-light); border-left: 2px solid var(--gold); margin-bottom: 36px; }
.care p { margin: 0; color: var(--ink-soft); }
.serve-list a { color: inherit; text-decoration: none; }
.serve-list a:hover { color: var(--gold-dark); }
a.tile-btn { display: block; text-decoration: none; color: inherit; }
.stone-cta { background: var(--charcoal); border-top: 1px solid var(--line-dark); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.stone-cta h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6em; }
.stone-cta p { max-width: 38em; margin: 0 auto 28px; color: var(--muted-on-dark); }
.stone-cta .stone-actions { justify-content: center; }
.modal-page { margin-top: 10px; }
.modal-page[hidden] { display: none; }

/* ---------- Legal pages ---------- */
.legal { background: var(--cream); color: var(--ink); padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(64px, 8vw, 110px); }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: .1em; }
.legal h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; color: var(--ink); }
.legal p, .legal li { color: #3a3631; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal a { color: var(--gold-dark); }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal-back { display: inline-block; margin-top: 2.4em; }
.header-back { margin-left: auto; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text-on-dark); }
.header-back:hover { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 64px 0 0; color: var(--muted-on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 20px; max-width: 26em; font-size: .94rem; }
.footer-title { font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { text-decoration: none; color: var(--text-on-dark); font-size: .94rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(198, 164, 108, .16); font-size: .8rem; }
.footer-bottom p { margin: 0; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--gold-light); }
.footer-motto { letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Modal ---------- */
.modal {
  width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--charcoal); color: var(--text-on-dark); overflow: hidden;
}
.modal::backdrop { background: rgba(8, 8, 7, .82); }
.modal[open] { display: block; }
.modal-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: inherit; }
.modal-media { background: #0b0b0a; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; max-height: calc(100dvh - 34px); object-fit: contain; }
.modal-body { padding: clamp(24px, 4vw, 48px); overflow-y: auto; max-height: calc(100vh - 34px); max-height: calc(100dvh - 34px); }
.modal-title { font-size: clamp(2rem, 3.6vw, 2.8rem); text-transform: uppercase; letter-spacing: .1em; color: var(--text-on-dark); padding-right: 40px; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 15, 14, .7); border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--gold-light); cursor: pointer;
}
.modal-close:hover { border-color: var(--gold); }
.spec { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: .93rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(198, 164, 108, .16); vertical-align: top; }
.spec th { width: 40%; font-weight: 400; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-dark); padding-right: 14px; padding-top: 14px; }
.spec td { color: var(--text-on-dark); }
#m-code { letter-spacing: .16em; font-weight: 700; color: var(--gold-light); }
.modal-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.icon-btn { width: 48px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--gold-light); cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); background: rgba(198, 164, 108, .1); }
.modal-counter { font-size: .74rem; letter-spacing: .2em; color: var(--muted-on-dark); }
@media (max-width: 760px) {
  .modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; margin: 0; }
  .modal-inner { display: block; height: 100%; overflow-y: auto; }
  .modal-media { max-height: none; }
  .modal-media img { max-height: 62vh; max-height: 62dvh; height: auto; width: auto; margin: 0 auto; }
  .modal-close { position: fixed; }
  .modal-body { max-height: none; overflow: visible; }
}
body.modal-open { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tile-btn:hover .tile-img img { transform: none; }
}
