/* ============================================================
   DDPP — article.css
   Layout für statische SEO-Content-Seiten (Pillars, Ratgeber,
   Anlass-Seiten, Hubs). NUR Brand-Variablen, keine Hex-Werte.
   Einbindung NACH ddpp-brand.css und site.css.
   ============================================================ */

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}
.article-wide { max-width: 1100px; }

/* Brotkrümel */
.breadcrumb {
  font-family: var(--font-accent); font-size: 13px; letter-spacing: 0.02em;
  margin-bottom: 22px; color: var(--fg-3);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb a { color: var(--ddpp-green); text-decoration: none; opacity: 0.9; }
.breadcrumb a:hover { color: var(--ddpp-orange); opacity: 1; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--fg-3); }

/* Kopf */
.article h1 {
  font-family: var(--font-headline); font-weight: 500;
  font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.01em;
  color: var(--ddpp-green); margin: 0 0 18px;
}
.article .lede {
  font-family: var(--font-body); font-size: 20px; line-height: 1.5;
  color: var(--fg-2); margin: 0 0 14px; max-width: 64ch;
}
.article .updated {
  font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.04em;
  color: var(--fg-3); margin: 0 0 32px;
}

/* Fließtext */
.article h2 {
  font-family: var(--font-headline); font-weight: 500;
  font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.005em;
  color: var(--ddpp-green); margin: 48px 0 14px; scroll-margin-top: 90px;
}
.article h3 {
  font-family: var(--font-body); font-weight: 500; font-size: 20px;
  color: var(--ddpp-green); margin: 28px 0 8px;
}
.article p { font-family: var(--font-body); font-size: 17px; line-height: 1.62; color: var(--fg-2); margin: 0 0 16px; }
.article a { color: var(--ddpp-green); text-underline-offset: 3px; }
.article a:hover { color: var(--ddpp-orange); }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--fg-2); margin: 0 0 8px; }
.article strong { color: var(--ddpp-green); font-weight: 500; }
.article figure { margin: 28px 0; }
.article figure img { width: 100%; height: auto; border-radius: var(--r-2); display: block; border: 1.5px solid var(--border); }
.article figcaption { font-family: var(--font-accent); font-size: 12px; color: var(--fg-3); margin-top: 8px; letter-spacing: 0.02em; }

/* Inhaltsverzeichnis */
.toc {
  border: 1.5px solid var(--ddpp-green); border-radius: var(--r-2);
  padding: 20px 22px; margin: 0 0 36px; background: var(--ddpp-white);
}
.toc .toc-label {
  font-family: var(--font-accent); font-weight: 500; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ddpp-green); margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin: 0 0 6px; font-size: 15px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* Listicle-Items (nummeriert) */
.listicle { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: li; }
.listicle > li {
  position: relative; counter-increment: li;
  padding: 22px 0 22px 64px; border-top: 1.5px solid var(--border);
}
.listicle > li::before {
  content: counter(li);
  position: absolute; left: 0; top: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ddpp-green); color: var(--ddpp-green);
  font-family: var(--font-accent); font-weight: 500; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.listicle > li h3 { margin-top: 0; }
.listicle .meta {
  font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.04em;
  color: var(--fg-3); text-transform: uppercase; margin-bottom: 6px;
}

/* DDPP-Highlight-/CTA-Box */
.ddpp-box {
  background: var(--ddpp-green); color: var(--fg-on-dark);
  border-radius: var(--r-2); padding: 32px 30px; margin: 36px 0;
}
.ddpp-box .eyebrow { color: var(--ddpp-cyan); margin-bottom: 8px; }
.ddpp-box h3 { font-family: var(--font-headline); color: var(--ddpp-white); font-size: 26px; margin: 0 0 10px; font-weight: 500; }
.ddpp-box p { color: var(--fg-on-dark); opacity: 0.95; margin-bottom: 18px; }
.ddpp-box a:not(.btn) { color: var(--ddpp-cyan); }
.ddpp-box .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Info-/Fakten-Box (hell) */
.fact-box {
  border: 1.5px solid var(--ddpp-green); border-radius: var(--r-2);
  padding: 22px 24px; margin: 28px 0; background: var(--ddpp-white);
}
.fact-box h3 { margin: 0 0 10px; }
.fact-box ul { margin: 0; }

/* Preis-Badge */
.price-tag {
  display: inline-block; background: var(--ddpp-orange); color: var(--ddpp-green);
  font-family: var(--font-accent); font-weight: 500; font-size: 14px;
  padding: 4px 12px; border-radius: var(--r-pill); white-space: nowrap;
}

/* FAQ */
.faq { margin-top: 48px; border-top: 1.5px solid var(--ddpp-green); padding-top: 8px; }
.faq h2 { margin-top: 24px; }
.faq details {
  border-bottom: 1.5px solid var(--border); padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-body); font-weight: 500; font-size: 18px;
  color: var(--ddpp-green); padding: 16px 36px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px;
  font-size: 26px; line-height: 1; color: var(--ddpp-orange); transition: transform 160ms ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; margin: 0; }

/* Teaser-Karten (Hubs + Querverweise) */
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 28px 0; }
.teaser {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--ddpp-green); border-radius: var(--r-2);
  overflow: hidden; background: var(--ddpp-white); text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.teaser:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.teaser img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.teaser .teaser-body { padding: 18px 20px; }
.teaser h3 { font-family: var(--font-headline); font-weight: 500; color: var(--ddpp-green); margin: 0 0 6px; font-size: 21px; }
.teaser p { font-size: 15px; line-height: 1.5; margin: 0; color: var(--fg-2); }
.teaser .teaser-more { font-family: var(--font-accent); font-size: 13px; color: var(--ddpp-orange); margin-top: 12px; display: inline-block; }

/* CTA-Reihe allgemein */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

@media (max-width: 640px) {
  .article { padding: 28px 18px 18px; }
  .article .lede { font-size: 18px; }
  .article p, .article li { font-size: 16px; }
  .listicle > li { padding-left: 52px; }
  .listicle > li::before { width: 38px; height: 38px; font-size: 16px; }
  .ddpp-box { padding: 26px 22px; }
}
