/* ============================================================
   wirkaufendeingold.de  ·  content.css
   Inhalts-Seiten (Ratgeber / Ankauf-Kategorien / Ueber uns)
   Aufbauend auf home.css (Tokens, Buttons, Header, Footer).
   Look: Pine-Hero-Band, Ivory-Lesebereich, Gold-Akzente.
   ============================================================ */

/* Container-Alias (home.css nutzt .wrap, Inhaltsseiten .container) */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* Icon-Feinschliff im Fliesstext */
.prose .ico { width: 1.05em; height: 1.05em; vertical-align: -0.14em; }

/* ============================================================
   PAGE-HERO  ·  dunkles Pine-Band mit Brotkrumen + Titel
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 82% -10%, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0) 55%),
    linear-gradient(165deg, var(--pine-3) 0%, var(--pine-2) 45%, var(--pine) 100%);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4.25rem);
}
.page-hero .container { position: relative; z-index: 1; }

.crumb {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
  color: rgba(244, 241, 232, 0.5);
  margin-bottom: 1.4rem;
}
.crumb a { color: var(--gold-bright); transition: color .2s var(--ease-out); }
.crumb a:hover { color: var(--gold-pale); }

.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ivory);
  max-width: 22ch;
}
.accent-gold {
  font-style: italic;
  background: linear-gradient(105deg, #b08d3e 0%, #e2c67e 55%, #b08d3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-lead {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(244, 241, 232, 0.72);
}

/* ============================================================
   INHALTS-BEREICH  ·  heller Ivory-Lesebereich
   ============================================================ */
.section { position: relative; background: var(--ivory); color: var(--ink); padding: clamp(3.25rem, 6vw, 5.5rem) 0; }

.prose { max-width: 50rem; margin: 0 auto; }

.prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 3.25rem 0 1.1rem;
  padding-top: 0.4rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.prose p { margin: 0 0 1.15rem; font-size: 1.02rem; line-height: 1.72; color: #2c3d33; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(46, 125, 79, 0.4); transition: color .2s var(--ease-out), text-decoration-color .2s var(--ease-out); }
.prose a:hover { color: var(--gold-dark); text-decoration-color: var(--gold); }

.prose ul, .prose ol { margin: 0 0 1.4rem; padding-left: 0; display: grid; gap: 0.7rem; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.75rem; line-height: 1.65; color: #2c3d33; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.16);
}
.prose ol { list-style: none; counter-reset: step; }
.prose ol li { position: relative; padding-left: 2.6rem; line-height: 1.65; color: #2c3d33; counter-increment: step; min-height: 1.7rem; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05em;
  width: 1.7rem; height: 1.7rem; display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.82rem; font-weight: 500;
  color: var(--gold-dark); background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4); border-radius: 50%;
}

/* ============================================================
   ANTWORT-BOX  ·  "Kurz gesagt" (Gold-Rahmen)
   ============================================================ */
.answer-box {
  background: var(--ivory-2);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1.6rem 1.75rem;
  margin: 0 0 2.5rem;
  box-shadow: 0 18px 40px -32px rgba(22, 40, 30, 0.5);
}
.answer-box p { margin-bottom: 0.9rem; }
.answer-box p:last-child { margin-bottom: 0; }

/* ============================================================
   INFO-BOX  ·  Hinweis / Rat (Smaragd-Ton)
   ============================================================ */
.info-box {
  background: rgba(46, 125, 79, 0.06);
  border: 1px solid rgba(46, 125, 79, 0.25);
  border-left: 4px solid var(--emerald);
  border-radius: 4px;
  padding: 1.35rem 1.6rem;
  margin: 2.25rem 0;
}
.info-box p { margin-bottom: 0; color: #274235; }

/* ============================================================
   KATEGORIE-GRID  ·  "Was wir ankaufen"
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.25rem 0 1rem; }
.cat-item {
  position: relative;
  background: var(--ivory-2);
  border: 1px solid var(--hairline-dark);
  border-radius: 6px;
  padding: 1.6rem 1.5rem 1.55rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.cat-item::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
  border-radius: 6px 6px 0 0;
}
.cat-item:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -34px rgba(22, 40, 30, 0.55); border-color: rgba(201, 168, 76, 0.4); }
.cat-item:hover::before { transform: scaleX(1); }
.ci-icon {
  width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3); border-radius: 50%;
  margin-bottom: 1rem;
}
.ci-icon .ico { width: 1.35rem; height: 1.35rem; }
.cat-item h3 { margin-bottom: 0.45rem; }
.cat-item p { font-size: 0.94rem; line-height: 1.6; color: #47584e; margin: 0; }

/* ============================================================
   TABELLE  ·  Feingehalte etc.
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--hairline-dark); border-radius: 6px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 30rem; }
.table-wrap thead th {
  background: var(--pine-2); color: var(--gold-pale);
  font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-align: left; padding: 0.9rem 1.1rem;
}
.table-wrap tbody td { padding: 0.85rem 1.1rem; border-top: 1px solid var(--hairline-dark); color: #2c3d33; }
.table-wrap tbody tr:nth-child(even) { background: rgba(22, 40, 30, 0.03); }
.table-wrap tbody td:first-child { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: var(--ink); }

/* ============================================================
   FAQ  ·  native <details> Akkordeon
   ============================================================ */
.faq-list { display: grid; gap: 0.75rem; margin: 1.25rem 0 0; }
.faq-list .faq-item {
  background: var(--ivory-2);
  border: 1px solid var(--hairline-dark);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.faq-list .faq-item[open] { border-color: rgba(201, 168, 76, 0.45); box-shadow: 0 20px 44px -34px rgba(22, 40, 30, 0.5); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.05rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-dark); }
.faq-icon {
  flex: none; width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 1.3rem; line-height: 1; color: var(--gold-dark);
  transition: transform .3s var(--ease-out);
}
.faq-list .faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 1.4rem 1.25rem; }
.faq-body p { font-size: 0.98rem; line-height: 1.68; color: #2c3d33; margin: 0; }

/* ============================================================
   VERWANDTE THEMEN  ·  Pill-Links
   ============================================================ */
.topic-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 0; }
.topic-links a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--gold-dark);
  transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.topic-links a:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--pine); }

/* ============================================================
   ABSCHLUSS-CTA  ·  dunkle Pine-Karte
   ============================================================ */
.content-cta {
  margin-top: 3.25rem;
  text-align: center;
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(201, 168, 76, 0.14) 0%, rgba(201, 168, 76, 0) 60%),
    linear-gradient(160deg, var(--pine-3) 0%, var(--pine-2) 55%, var(--pine) 100%);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
}
.content-cta h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ivory); margin: 0 0 0.9rem;
}
.content-cta p { color: rgba(244, 241, 232, 0.72); max-width: 46ch; margin: 0 auto 1.6rem; line-height: 1.6; }
.content-cta .btn { margin: 0 auto; }
/* Content-Buttons besitzen keinen inneren <span>: Fuell-Overlay abschalten */
.content-cta .btn::before, .prose .btn::before { content: none; }
.content-cta .btn-gold:hover, .prose .btn-gold:hover { background: var(--gold); }
.content-cta .btn .ico { width: 1.05em; height: 1.05em; vertical-align: -0.14em; }
.cta-meta {
  margin: 1.4rem 0 0 !important;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.03em;
  color: rgba(244, 241, 232, 0.5) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  :root { --pad-x: 1.5rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .prose h2 { margin-top: 2.5rem; }
}
@media (max-width: 600px) {
  .page-hero h1 { max-width: none; }
  .answer-box, .info-box { padding-left: 1.2rem; padding-right: 1.2rem; }
  .faq-list summary { padding: 0.95rem 1.1rem; font-size: 1rem; }
  .faq-body { padding: 0 1.1rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cat-item, .cat-item::before, .faq-icon, .topic-links a { transition: none; }
  .cat-item:hover { transform: none; }
}
