/* ============================================================
   AKTUELLE PREISE — editorial price tables
   ============================================================ */

.page-prices {
  background: var(--bg-soft);
}

/* ---- Page header (matches product-header pattern, lighter) ---- */
.prices-header {
  padding: clamp(140px, 16vw, 200px) 0 clamp(48px, 6vw, 80px);
  background: var(--bg-soft);
}
.prices-header-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
}
.prices-header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}
.prices-header h1 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.prices-header h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}
.prices-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-self: end;
  text-align: right;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.prices-meta .pm-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.prices-meta .pm-date {
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ---- Friday disclaimer (subtle inline note) ---- */
.prices-notice {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: block;
}
.prices-notice .pn-icon { display: none; }
.prices-notice p {
  margin: 0;
  padding: 0 0 0 18px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-muted);
  text-wrap: pretty;
  border-left: 2px solid rgba(20, 45, 86, 0.12);
}
.prices-notice p strong {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 10px;
  vertical-align: 1px;
}

/* ---- TOC / section nav ---- */
.prices-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.prices-toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--paper);
  border: 1px solid rgba(20, 45, 86, 0.12);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.prices-toc a:hover {
  color: var(--navy);
  border-color: rgba(246, 159, 0, 0.5);
  background: var(--paper);
}
.prices-toc a::before {
  content: attr(data-num);
  color: var(--gold);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
}

/* ---- Price sections ---- */
.price-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid rgba(20, 45, 86, 0.08);
}
.price-section:first-of-type { border-top: 0; }

.ps-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 45, 86, 0.1);
}
.ps-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.ps-head h2 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.ps-head h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}
.ps-head .ps-meta {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ---- Price table ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}
.price-table thead th {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(20, 45, 86, 0.12);
}
.price-table thead th:nth-child(3),
.price-table thead th:nth-child(4),
.price-table tbody td:nth-child(3),
.price-table tbody td:nth-child(4) { text-align: right; }
.price-table thead th:nth-child(2) {
  text-align: left;
  width: 140px;
}
.price-table thead th:nth-child(3),
.price-table thead th:nth-child(4) {
  width: 22%;
}
.price-table thead th:first-child {
  padding-left: 0;
  width: auto;
}
.price-table thead th:last-child {
  padding-right: 0;
}

.price-table tbody td {
  padding: 22px 16px;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1px solid rgba(20, 45, 86, 0.06);
  vertical-align: middle;
}
.price-table tbody tr:last-child td {
  border-bottom: 0;
}
.price-table tbody td:first-child {
  padding-left: 0;
}
.price-table tbody td:last-child {
  padding-right: 0;
}
.price-table tbody tr {
  transition: background 0.2s ease;
}
.price-table tbody tr:hover {
  background: rgba(246, 159, 0, 0.025);
}

.pt-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-name .pt-product {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.pt-name .pt-unit {
  font-size: 11.5px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.pt-date {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.pt-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.pt-price.is-sell {
  color: var(--navy);
}
.pt-price.is-buy {
  color: var(--ink-muted);
  font-weight: 400;
}

/* Mobile-only labels (hidden on desktop) */
.pt-mlabel { display: none; }

/* ---- Sub-section heading (inside a price-section) ---- */
.ps-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: clamp(36px, 4.5vw, 56px) 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 45, 86, 0.08);
}
.ps-subhead:first-of-type { margin-top: 0; }
.ps-subhead h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}
.ps-subhead .ps-meta {
  font-size: 11.5px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .ps-subhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 32px 0 14px;
  }
  .ps-subhead h3 { font-size: 17px; }
}

/* ---- Section footer note ---- */
.ps-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-wrap: pretty;
}

/* ---- Final disclaimer (bottom) ---- */
.prices-disclaimer {
  padding: clamp(48px, 6vw, 72px) 0 clamp(80px, 10vw, 120px);
  border-top: 1px solid rgba(20, 45, 86, 0.08);
}
.prices-disclaimer p {
  max-width: 720px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .prices-header-inner { grid-template-columns: 1fr; gap: 28px; }
  .prices-meta { justify-self: start; text-align: left; }

  .ps-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ps-head .ps-meta { justify-self: start; }
}

@media (max-width: 720px) {
  .prices-header { padding-top: 120px; padding-bottom: 32px; }
  .prices-header h1 { font-size: clamp(30px, 8vw, 42px); }
  .prices-meta .pm-date { font-size: 18px; }

  .prices-notice {
    padding: 18px 18px 18px 20px;
    gap: 12px;
  }
  .prices-notice .pn-icon { width: 22px; height: 22px; font-size: 12px; }
  .prices-notice p { font-size: 13px; }

  .prices-toc { gap: 8px; }
  .prices-toc a { padding: 7px 13px; font-size: 11.5px; }

  .price-section { padding: 40px 0 32px; }
  .ps-head h2 { font-size: clamp(22px, 6.5vw, 28px); }

  /* Tables collapse into cards: each row becomes a stacked block */
  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table thead { display: none; }
  .price-table tbody tr {
    padding: 18px 18px 14px;
    margin: 0 0 12px;
    background: var(--paper);
    border-radius: 12px;
    border: 1px solid rgba(20, 45, 86, 0.05);
  }
  .price-table tbody tr:hover { background: var(--paper); }
  .price-table tbody td {
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: baseline;
  }
  .price-table tbody td:first-child {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(20, 45, 86, 0.08);
  }
  .price-table tbody td + td {
    padding: 6px 0;
  }
  .pt-name .pt-product { font-size: 17px; }
  .pt-name .pt-unit { font-size: 12px; }
  .pt-date { font-size: 13px; text-align: right; }
  .pt-price { font-size: 15px; text-align: right; }

  /* Mobile labels */
  .pt-mlabel {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
}

@media (max-width: 480px) {
  .ps-head { gap: 8px; }
  .ps-num { font-size: 10px; }
}
