/* ============================================================
   PRODUCT PAGE — strict reuse of homepage patterns
   ============================================================ */

.page-product { padding-top: 0; }

/* Stronger dark overlay on product hero — image can be bright */
.product-hero .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(8,22,50,0.78) 0%, rgba(8,22,50,0.5) 35%, rgba(8,22,50,0.92) 100%),
    linear-gradient(95deg, rgba(8,22,50,0.85) 0%, rgba(8,22,50,0.6) 50%, rgba(8,22,50,0.45) 100%) !important;
}

/* ============================================================
   PRODUCT HERO — image backdrop, shorter than home hero
   ============================================================ */
.product-hero {
  min-height: 64vh;
}
.product-hero .hero-inner {
  padding-top: clamp(120px, 16vw, 200px);
  padding-bottom: clamp(120px, 12vw, 160px);
  justify-content: flex-end;
}
.product-hero h1 {
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.product-hero h1 em {
  font-style: normal;
  font-weight: 600;
}
.product-hero .hero-sub {
  max-width: 620px;
  margin-bottom: 0;
}

.hero-breadcrumb {
  margin-bottom: 28px;
  color: rgba(255,255,255,0.65);
}
.hero-breadcrumb a {
  color: rgba(255,255,255,0.65);
}
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb .bc-sep { color: rgba(255,255,255,0.35); }
.hero-breadcrumb span:last-child { color: #fff; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.product-header {
  background: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  position: relative;
}
.product-header::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(20, 45, 86, 0.08);
  margin-top: clamp(48px, 6vw, 72px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.breadcrumb a {
  color: var(--ink-muted);
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .bc-sep {
  color: var(--ink-faint);
  font-weight: 300;
}
.breadcrumb span:last-child { color: var(--navy); }

.product-header-inner {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
}
.product-header-inner .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}
.product-header h1 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.product-header h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}
.product-sub {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-muted);
  font-weight: 300;
  margin: 0 0 12px;
  max-width: 380px;
  justify-self: end;
}

/* ============================================================
   MAIN — two columns
   ============================================================ */
.product-main {
  background: var(--paper);
  padding: clamp(64px, 8vw, 112px) 0 clamp(90px, 12vw, 160px);
}
.product-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* --- LEFT: prose --- */
.product-prose .eyebrow {
  margin-bottom: 24px;
}
.product-prose h2 {
  font-family: var(--font);
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 32px;
  text-wrap: balance;
}
.product-prose h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}
.product-prose .lead-p {
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.7;
  margin: 0 0 24px;
}
.product-prose p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-muted);
  font-weight: 300;
  margin: 0 0 24px;
  max-width: 620px;
}
.product-cta {
  margin-top: 16px;
}

/* ============================================================
   FACTS GRID — 4 icon tiles (dark, mid-page)
   ============================================================ */
.product-facts {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(90px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.product-facts::before {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(246,159,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.product-facts .section-head {
  margin-bottom: clamp(56px, 7vw, 88px);
  position: relative;
  z-index: 1;
}
.product-facts .section-head h2 { color: #fff; }
.product-facts .section-head h2 em { color: var(--gold); }
.product-facts .section-head .lead { color: rgba(255,255,255,0.65); }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.fact {
  background: var(--navy-deep);
  padding: 44px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 12px;
  transition: background 0.3s ease;
}
.fact:hover { background: rgba(255,255,255,0.025); }

.fact-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
}
.fact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.fact h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.fact p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin: 0;
}

/* ============================================================
   METALS OVERVIEW — periodic-table style cards
   ============================================================ */
.metals-overview {
  background: var(--paper);
  padding: clamp(90px, 12vw, 160px) 0;
}
.metals-overview .section-head { margin-bottom: clamp(56px, 7vw, 88px); }

.periodic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.element {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 14px 14px 12px;
  background: var(--bg-soft);
  border: 1px solid rgba(20, 45, 86, 0.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-variant-numeric: tabular-nums;
}

/* Info "i" link to Wikipedia, top-right */
.el-info {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 45, 86, 0.25);
  border-radius: 50%;
  color: var(--ink-muted) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  background: transparent;
  z-index: 2;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.el-info:hover {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: var(--gold);
  transform: scale(1.08);
}
.element:hover {
  background: var(--paper);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(20, 45, 86, 0.2);
}
.element[data-category="oxide"] {
  background: linear-gradient(180deg, rgba(246,159,0,0.06) 0%, var(--bg-soft) 100%);
  border-color: rgba(246, 159, 0, 0.25);
}
.element[data-category="oxide"]:hover {
  background: linear-gradient(180deg, rgba(246,159,0,0.1) 0%, var(--paper) 100%);
  border-color: var(--gold);
}

.el-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-align: left;
}
.el-symbol {
  align-self: center;
  justify-self: center;
  font-family: var(--font);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1;
  text-align: center;
}
.el-symbol sub {
  font-size: 0.5em;
  font-weight: 400;
  vertical-align: baseline;
  position: relative;
  bottom: -0.05em;
  letter-spacing: 0;
}
.el-name {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
  text-align: center;
  line-height: 1.25;
}
.el-weight {
  display: none;
}

.periodic-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 45, 86, 0.08);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.legend-dot {
  width: 14px;
  height: 14px;
  border: 1px solid;
  flex-shrink: 0;
}
.legend-dot--metal {
  background: var(--bg-soft);
  border-color: rgba(20, 45, 86, 0.2);
}
.legend-dot--oxide {
  background: linear-gradient(180deg, rgba(246,159,0,0.18) 0%, var(--bg-soft) 100%);
  border-color: rgba(246, 159, 0, 0.5);
}

@media (max-width: 980px) {
  .periodic-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .periodic-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .el-symbol { font-size: 28px; }
}

@media (max-width: 980px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   PROSE SUBHEADS — used for "Markt & Perspektive" sub-sections
   ============================================================ */
.prose-subhead {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 40px 0 18px;
}

/* Diamond bullet marks override (gold filled SVG instead of slash) */
.ph-list--diamond li {
  grid-template-columns: 20px 1fr;
}
.ph-mark--diamond {
  width: 16px;
  height: 16px;
  background: none !important;
  transform: none !important;
  margin: 6px 0 0 !important;
  color: var(--gold);
  display: block;
}
.ph-mark--diamond svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ph-list strong { color: #fff; font-weight: 500; }

/* ============================================================
   DIAMOND CHART SECTION (dark)
   ============================================================ */
.diamond-chart-section {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(90px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.diamond-chart-section::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(246,159,0,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.diamond-chart-section .section-head {
  margin-bottom: clamp(56px, 7vw, 88px);
  position: relative;
  z-index: 1;
}
.diamond-chart-section .section-head h2 { color: #fff; }
.diamond-chart-section .section-head h2 em { color: var(--gold); }
.diamond-chart-section .section-head .lead { color: rgba(255,255,255,0.65); }

.diamond-chart {
  margin: 0;
  position: relative;
  z-index: 1;
}
.diamond-chart svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: var(--font);
}
.chart-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}
.chart-axis {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
}
.chart-yaxis text {
  font-size: 12px;
  font-weight: 400;
  fill: rgba(255, 255, 255, 0.55);
  text-anchor: end;
  letter-spacing: 0.04em;
}
.chart-yaxis .zero {
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.4);
}
.chart-points circle {
  fill: var(--gold);
  stroke: var(--navy-deep);
  stroke-width: 2;
}
.chart-points .val {
  font-size: 13px;
  font-weight: 500;
  fill: #fff;
  letter-spacing: -0.005em;
}
.chart-points .val-end {
  font-size: 16px;
  font-weight: 600;
  fill: var(--gold);
}
.chart-points .year {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: rgba(255, 255, 255, 0.55);
  text-anchor: middle;
}
.diamond-chart figcaption {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

@media (max-width: 720px) {
  .diamond-chart svg { font-size: 10px; }
}

.goldie-tile {
  margin: 40px 0 36px;
  padding: 32px 32px 30px;
  background: linear-gradient(180deg, rgba(246,159,0,0.06) 0%, rgba(246,159,0,0.02) 100%);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.goldie-tile::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(246,159,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.goldie-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.goldie-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
  transform: rotate(-50deg);
  transform-origin: center;
  flex-shrink: 0;
}
.goldie-tile h3 {
  font-family: var(--font);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.goldie-tile p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-muted);
  font-weight: 300;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}
.goldie-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  position: relative;
  z-index: 1;
  transition: gap 0.25s ease, color 0.25s ease;
}
.goldie-link:hover {
  color: var(--navy);
  gap: 20px;
}
.goldie-arrow {
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  position: relative;
}
.goldie-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--gold);
  border-top: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

/* --- RIGHT: dark highlight box --- */
.product-highlight {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(36px, 4vw, 56px) clamp(32px, 3.5vw, 48px) clamp(40px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  position: sticky;
  top: 100px;
  border-radius: 12px;
}
/* gold accent stripe */
.product-highlight::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}
/* subtle radial glow */
.product-highlight::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(246,159,0,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.ph-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.product-highlight h3 {
  font-family: var(--font);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 36px;
  position: relative;
  z-index: 1;
}

.ph-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.ph-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.ph-mark {
  /* diagonal gold slash — matches eyebrow accent vocabulary */
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transform: rotate(-50deg);
  transform-origin: center;
  margin-top: 12px;
  margin-left: 2px;
}
.ph-list li > span:last-child {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
}

.ph-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.ph-footer-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.ph-footer-name {
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.005em;
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.related-products {
  background: var(--bg-soft);
  padding: clamp(80px, 10vw, 140px) 0;
}
.rp-head {
  margin-bottom: clamp(48px, 6vw, 72px);
  max-width: 720px;
}
.rp-head .eyebrow { margin-bottom: 20px; }
.rp-head h2 {
  font-family: var(--font);
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.rp-head h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}

.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(20, 45, 86, 0.1);
  border-bottom: 1px solid rgba(20, 45, 86, 0.1);
}
.rp-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 32px 28px 28px;
  border-right: 1px solid rgba(20, 45, 86, 0.1);
  color: var(--navy);
  transition: background 0.3s ease, padding-left 0.3s ease;
  min-height: 180px;
}
.rp-item:last-child { border-right: 0; }
.rp-item:hover {
  background: var(--paper);
  padding-left: 36px;
}
.rp-num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.rp-title {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.rp-arrow {
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  opacity: 0.25;
  position: relative;
  transition: width 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.rp-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  color: var(--navy);
  opacity: 0.4;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.rp-item:hover .rp-arrow {
  width: 40px;
  background: var(--gold);
  opacity: 1;
}
.rp-item:hover .rp-arrow::after {
  color: var(--gold);
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-item { border-bottom: 1px solid rgba(20, 45, 86, 0.1); }
  .rp-item:nth-last-child(-n+2) { border-bottom: 0; }
  .rp-item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 980px) {
  .product-header-inner { grid-template-columns: 1fr; gap: 28px; }
  .product-sub { justify-self: start; max-width: none; }
  .product-main-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-highlight { position: static; }
}
@media (max-width: 640px) {
  /* Related products — keep editorial style, just tighter on mobile */
  .rp-head { margin-bottom: 24px; }
  .rp-head h2 { font-size: clamp(22px, 6.5vw, 28px); }

  .rp-grid { grid-template-columns: 1fr; }
  .rp-item {
    border-right: 0;
    padding: 18px 0 16px !important;
    gap: 8px;
    min-height: 0;
  }
  .rp-item:hover,
  .rp-item:active { padding-left: 8px !important; }
  .rp-num { font-size: 9.5px; letter-spacing: 0.22em; }
  .rp-title { font-size: 16px; line-height: 1.25; }
  .rp-arrow { width: 20px; }
  .rp-arrow::after { width: 7px; height: 7px; top: -3px; }
  .rp-item:hover .rp-arrow,
  .rp-item:active .rp-arrow { width: 30px; }

  .facts-grid { grid-template-columns: 1fr; }
  .fact { padding: 32px 24px 28px; }
  .product-highlight { padding: 36px 28px 36px; }
  .goldie-tile { padding: 28px 24px 26px; }
}
