/* ==========================================================
   GOLDPREIS.TODAY — Design System
   ========================================================== */

/* 1. ROOT VARIABLES */
:root {
  --navy:        #0D1B2A;
  --ink:         #17212B;
  --gold:        #B8892D;
  --gold-light:  #D7B56D;
  --champagne:   #F4E9D2;
  --ivory:       #FAF9F6;
  --white:       #FFFFFF;
  --text:        #17212B;
  --text-2:      #66717C;
  --border:      #E7E5E0;
  --positive:    #16845B;
  --negative:    #C94A4A;
  --positive-bg: #EAF6F1;
  --negative-bg: #FDF0F0;

  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px;
  --sp-4: 32px; --sp-5: 40px; --sp-6: 48px;
  --sp-8: 64px; --sp-10: 80px; --sp-12: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(13,27,42,.06);
  --shadow-md: 0 4px 16px rgba(13,27,42,.08);

  --max-w: 1320px;
  --header-h: 72px;
  --ticker-h: 48px;
}

/* 2. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* 3. LAYOUT */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }

/* 4. TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
p  { font-size: 16px; color: var(--text-2); line-height: 1.7; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.price-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

/* 5. CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* 6. BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
}
.badge-positive { background: var(--positive-bg); color: var(--positive); }
.badge-negative { background: var(--negative-bg); color: var(--negative); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.badge-live { background: #EAF6F1; color: var(--positive); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.5} }

/* 7. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: all .15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #9e7525; transform: translateY(-1px); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-2);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Tab buttons */
.tab-group { display: flex; gap: 4px; }
.tab-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  transition: all .12s;
}
.tab-btn:hover { background: var(--ivory); color: var(--text); }
.tab-btn.active { background: var(--gold); color: var(--white); }

/* 8. HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-5);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.logo-mark > svg { width: 18px; height: 18px; fill: var(--white); }
.logo-flag-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.logo-flag-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}
.logo-text { line-height: 1; }
.logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.logo-tagline {
  font-size: 10px;
  color: var(--text-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* 9. NAVIGATION */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .12s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--ivory); }
.nav-link svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-btn { background: none; border: none; cursor: pointer; font-family: inherit; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(13,27,42,.12);
  min-width: 220px;
  padding: 16px 8px 8px;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
}
/* Invisible hover bridge over the gap between nav-link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 6px;
  transition: all .1s;
}
.nav-dropdown a:hover { background: var(--ivory); color: var(--text); padding-left: 16px; }

.header-right {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}
.header-search-btn, .header-lang, .header-source {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .12s;
}
.flag-svg {
  width: 20px;
  height: 14px;
  display: block;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,.08);
  flex-shrink: 0;
}
.header-search-btn:hover, .header-lang:hover, .header-source:hover {
  background: var(--ivory);
  color: var(--text);
}
.header-source { font-size: 12px; border: 1px solid var(--border); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}

/* 10. PRICE TICKER */
.price-ticker {
  background: var(--ink);
  height: var(--ticker-h);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}
.ticker-live {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 0 var(--sp-3);
  font-size: 11px;
  font-weight: 600;
  color: var(--positive);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.ticker-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  animation: pulse-dot 2s infinite;
}
.ticker-scroll {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
  padding: 0 var(--sp-2);
}
.ticker-items {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-slide 30s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
.ticker-label {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.ticker-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.ticker-change {
  font-size: 11px;
  font-weight: 500;
}
.ticker-change.pos { color: var(--positive); }
.ticker-change.neg { color: var(--negative); }
.ticker-time {
  margin-left: auto;
  padding: 0 var(--sp-3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,.08);
}
.ticker-time-label { font-size: 10px; color: rgba(255,255,255,.35); line-height: 1.3; text-align: right; }
.ticker-time-val { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); }
@keyframes ticker-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 11. HERO */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 380px;
  gap: 0;
}
.hero-content {
  padding: var(--sp-10) 0;
  padding-right: var(--sp-8);
}
.hero-eyebrow {
  margin-bottom: var(--sp-2);
}
.hero h1 {
  margin-bottom: var(--sp-2);
  color: var(--navy);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  max-width: 480px;
}
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}
.trust-item svg { width: 16px; height: 16px; color: var(--positive); flex-shrink: 0; }

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5ede0 0%, #e8d9c0 60%, #d4c09a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-gold-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  text-align: right;
}
.hero-gold-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.gold-bar {
  background: linear-gradient(180deg, #E8C060 0%, #B8892D 40%, #9A7020 70%, #C89B40 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: 2px 4px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.3);
}
.gold-bar:nth-child(1) { width: 180px; height: 52px; }
.gold-bar:nth-child(2) { width: 160px; height: 52px; margin-right: 20px; }
.gold-bar:nth-child(3) { width: 140px; height: 52px; margin-right: 40px; }
.gold-bar::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
}
.hero-taglines {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.hero-taglines span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(120,80,20,.6);
}

/* 12. MAIN CONTENT */
.main-content {
  padding: var(--sp-6) 0;
}
.section { margin-bottom: var(--sp-10); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.section-header h2 { margin-bottom: 4px; }
.section-header p { font-size: 14px; }

/* 13. PRICE CARD */
.price-card { padding: var(--sp-4); }
.price-card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.price-main {
  margin-bottom: var(--sp-2);
}
.price-value {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}
.price-unit {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-2);
  margin-left: 4px;
}
.price-karat {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 6px;
}
.price-change-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.price-timestamp {
  font-size: 12px;
  color: var(--text-2);
  margin-top: var(--sp-2);
}
.price-source {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  flex-wrap: wrap;
}
.price-source a { color: var(--gold); text-decoration: underline; }
.price-source .sep { color: var(--border); }

/* 14. CHART CARD */
.chart-card { padding: var(--sp-3) var(--sp-3) var(--sp-2); }
.chart-area {
  width: 100%;
  height: 220px;
  position: relative;
  margin: var(--sp-2) 0;
}
#goldChart { width: 100%; height: 100%; overflow: visible; }

.chart-tooltip {
  position: absolute;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .1s;
  white-space: nowrap;
  z-index: 10;
}
.chart-tooltip.visible { opacity: 1; }
.chart-tooltip strong { font-size: 14px; display: block; font-variant-numeric: tabular-nums; }

/* 15. KARAT TABLE */
.data-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.data-table thead tr {
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}
.data-table th {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--ivory); }
.data-table td:first-child { font-weight: 600; }
.data-table .td-price { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); }
.data-table .td-change { font-size: 13px; font-weight: 500; }
.data-table .td-change.pos { color: var(--positive); }
.data-table .td-change.neg { color: var(--negative); }
.karat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}
.karat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}
.karat-badge.k24 .karat-dot { opacity: 1; }
.karat-badge.k22 .karat-dot { opacity: .8; }
.karat-badge.k18 .karat-dot { opacity: .65; }
.karat-badge.k14 .karat-dot { opacity: .5; }

/* 16. CALCULATOR */
.calculator-card { padding: var(--sp-4); }
.calc-tabs { margin-bottom: var(--sp-3); }
.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-input, .form-select {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,137,45,.1);
}
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-2);
  pointer-events: none;
}
.calc-result {
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  text-align: center;
}
.calc-result-label { font-size: 12px; color: var(--text-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.calc-result-value {
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  letter-spacing: -.02em;
}

/* 17. REGION CARDS */
.region-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.region-card {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 16px var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all .15s;
  cursor: pointer;
}
.region-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.region-flag { font-size: 24px; flex-shrink: 0; }
.region-name { font-size: 14px; font-weight: 600; flex: 1; }
.region-price { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.region-change { font-size: 12px; font-weight: 500; color: var(--positive); }
.region-arrow { color: var(--text-2); }
.region-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  transition: gap .15s;
}
.region-cta:hover { gap: 12px; }

/* 18. ARTICLE CARDS */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--champagne), var(--border));
  position: relative;
}
.article-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0e8d0 0%, #e0ccaa 100%);
}
.article-img-placeholder svg { width: 40px; height: 40px; color: var(--gold-light); opacity: 0.6; }
.article-body { padding: var(--sp-2) var(--sp-2) var(--sp-3); display: flex; flex-direction: column; flex: 1; }
.article-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
}
.article-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: var(--sp-2); }
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
}
.article-arrow { color: var(--gold); }

/* 19. TRUST SECTION */
.trust-section {
  background: var(--navy);
  padding: var(--sp-10) 0;
}
.trust-section h2 { color: var(--white); margin-bottom: 12px; }
.trust-section .trust-sub { color: rgba(255,255,255,.55); font-size: 17px; max-width: 560px; margin-bottom: var(--sp-8); }
.trust-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.trust-pillar { text-align: center; }
.trust-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(184,137,45,.15);
  border: 1px solid rgba(184,137,45,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-2);
}
.trust-pillar-icon svg { width: 22px; height: 22px; color: var(--gold-light); }
.trust-pillar h4 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 6px; font-family: var(--font-sans); }
.trust-pillar p { color: rgba(255,255,255,.45); font-size: 13px; line-height: 1.6; }

/* 20. FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 18px var(--sp-3);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  gap: var(--sp-2);
  transition: color .12s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-2); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-answer {
  display: none;
  padding: 0 var(--sp-3) 18px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* 21. FOOTER */
.site-footer { background: var(--navy); padding: var(--sp-10) 0 var(--sp-6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-2); }
.footer-logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-mark svg { width: 15px; height: 15px; fill: var(--white); }
.footer-logo-name { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -.01em; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--sp-2);
  font-family: var(--font-sans);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .12s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-copyright { font-size: 12px; color: rgba(255,255,255,.25); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.2); max-width: 500px; text-align: right; }

/* 22. LAYOUT COMBOS */
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.side-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--sp-3); }

/* 23. UTILITIES */
.see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold);
}
.see-all:hover gap { gap: 10px; }
.text-positive { color: var(--positive); }
.text-negative { color: var(--negative); }
.text-gold { color: var(--gold); }
.mt-4 { margin-top: var(--sp-4); }
.divider { height: 1px; background: var(--border); margin: var(--sp-3) 0; }

/* 24. SEARCH OVERLAY */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,.7);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  backdrop-filter: blur(4px);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  margin: 0 var(--sp-3);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 20px var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.search-input-row svg { color: var(--text-2); flex-shrink: 0; width: 20px; height: 20px; }
.search-input-row input {
  flex: 1;
  border: none;
  font-size: 18px;
  font-family: var(--font-sans);
  color: var(--text);
  outline: none;
}
.search-input-row input::placeholder { color: var(--text-2); }
.search-results { padding: var(--sp-2); }
.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px var(--sp-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: background .1s;
}
.search-result-item:hover { background: var(--ivory); }
.search-result-icon { width: 32px; height: 32px; background: var(--ivory); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.search-result-icon svg { width: 15px; height: 15px; color: var(--gold); }

/* 25. MOBILE NAV */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.5);
  opacity: 0;
  transition: opacity .25s;
}
.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100%;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: var(--sp-3);
}
.mobile-nav.open .mobile-nav-overlay { opacity: 1; }
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav.open { pointer-events: auto; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-close { padding: 8px; color: var(--text-2); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link {
  display: block;
  padding: 13px var(--sp-2);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all .1s;
}
.mobile-nav-link:hover { background: var(--ivory); color: var(--gold); }
.mobile-nav-sub {
  padding-left: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}
.mobile-nav-sub a {
  display: block;
  padding: 9px var(--sp-2);
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 6px;
  transition: all .1s;
}
.mobile-nav-sub a:hover { color: var(--text); background: var(--ivory); }
.mobile-nav-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px var(--sp-2) 4px;
  margin-top: var(--sp-2);
}

/* 26. HISTORICAL SECTION */
.historical-card { padding: var(--sp-4); }
.hist-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.hist-stat { text-align: center; }
.hist-stat-label { font-size: 11px; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 4px; }
.hist-stat-value { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.hist-stat-sub { font-size: 11px; color: var(--text-2); }

/* 27. RESPONSIVE */
@media (max-width: 1100px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
@media (max-width: 900px) {
  .side-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; --ticker-h: 44px; }
  .site-nav, .header-right { display: none; }
  .hamburger { display: flex; }
  .header-source { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 220px; order: -1; }
  .hero-content { padding: var(--sp-5) 0; padding-right: 0; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .main-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 13px; }
  .data-table td, .data-table th { padding: 12px 16px; }
  .calc-form { grid-template-columns: 1fr; }
  .hist-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-pillars { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; max-width: none; }
}
@media (max-width: 480px) {
  .articles-grid { grid-template-columns: 1fr; }
  .trust-pillars { grid-template-columns: 1fr; }
  .hist-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-value { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 28. SUBPAGE — BREADCRUMB */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-2);
}
.breadcrumb li + li::before {
  content: '›';
  color: var(--text-2);
  margin-right: 6px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* 29. SUBPAGE — PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d40 100%);
  padding: var(--sp-8) 0 var(--sp-6);
  color: var(--white);
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  margin: var(--sp-1) 0 var(--sp-2);
}
.page-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  max-width: 680px;
  line-height: 1.6;
}

/* 30. SUBPAGE — WEIGHT CARDS */
.weight-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}
.weight-card {
  padding: var(--sp-3);
  text-align: center;
}
.weight-card--primary {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d40 100%);
  border-color: var(--gold);
}
.weight-card--primary .weight-card-karat { color: var(--gold-light); }
.weight-card--primary .weight-card-price { color: var(--white); }
.weight-card--primary .weight-card-sub { color: rgba(255,255,255,.5); }
.weight-card-karat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--sp-2);
}
.weight-card-price {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--navy);
  margin-bottom: 6px;
}
.weight-card-sub { font-size: 12px; color: var(--text-2); }

/* 31. SUBPAGE — FEINHEIT CARDS */
.feinheit-price-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  align-items: start;
}
.feinheit-main-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d40 100%);
  border-color: var(--gold);
  text-align: center;
  padding: var(--sp-5);
}
.feinheit-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-2);
}
.feinheit-price {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1;
}
.feinheit-ratio {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-2);
}

/* 32. SUBPAGE — RELATED GRID */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--sp-2);
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-2) var(--sp-2);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all .15s;
  position: relative;
}
.related-card:hover { border-color: var(--gold); box-shadow: 0 4px 12px rgba(184,137,45,.1); }
.related-weight { font-size: 13px; font-weight: 600; color: var(--text); }
.related-price { font-size: 18px; color: var(--navy); }
.related-label { font-size: 11px; color: var(--text-2); }
.related-card svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-2); }

/* 33. SUBPAGE — CONTENT PROSE */
.content-prose {
  max-width: 780px;
}
.content-prose h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: var(--sp-3);
  color: var(--navy);
}
.content-prose h3 {
  font-size: clamp(16px, 2vw, 20px);
  margin: var(--sp-4) 0 var(--sp-2);
  color: var(--navy);
}
.content-prose p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
}
.content-prose strong { color: var(--text); }

/* 34. SUBPAGE — RESPONSIVE */
@media (max-width: 900px) {
  .weight-price-grid { grid-template-columns: repeat(2, 1fr); }
  .feinheit-price-block { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .weight-price-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
