/* ─────────────────────────────────────────────────────────
   RATGEBER ARTICLE — hero + body + reveal animations
   ───────────────────────────────────────────────────────── */

.article {
  background: #ffffff;
  color: var(--text);
}

/* ── Hero ─────────────────────────────────────────────── */

.article-hero {
  position: relative;
  padding: 180px var(--pad) 96px;
  background: #fafaf7;
  overflow: hidden;
  border-bottom: 1px solid #ececea;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(240,130,75,0.12) 0%, rgba(240,130,75,0) 65%);
  pointer-events: none;
  filter: blur(2px);
}

.article-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 32px;
}

.article-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: #f0824b;
}

.article-breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(240, 130, 75, 0.10);
  border: 1px solid rgba(240, 130, 75, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4501a;
  margin-bottom: 28px;
}

.article-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0824b;
}

.article-h1 {
  font-size: clamp(38px, 6vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 28px;
  max-width: 16ch;
}

.article-h1 .accent {
  color: #f0824b;
  font-style: italic;
  font-weight: 400;
  font-family: 'Times New Roman', Times, serif;
}

.article-lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--soft);
  max-width: 56ch;
  margin-bottom: 40px;
  font-weight: 400;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid #ececea;
  font-size: 13px;
  color: var(--muted);
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.article-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.article-meta-item strong {
  color: var(--text);
  font-weight: 700;
}

.article-hero-image {
  margin-top: 72px;
  max-width: 1720px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: 0 40px 80px -30px rgba(20,20,22,0.30);
  position: relative;
  z-index: 1;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Body ─────────────────────────────────────────────── */

.article-body {
  padding: 100px var(--pad) 140px;
}

.article-body-inner {
  max-width: 860px;
  margin: 0 auto;
}

.article-toc {
  background: #fafaf7;
  border: 1px solid #ececea;
  border-radius: 18px;
  padding: 28px 32px;
}

/* Hero 2-col layout: headline left, TOC right */
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 340px;
  gap: 64px;
  align-items: start;
  margin-top: 28px;
}

.article-hero-grid .article-toc {
  margin-top: 0;
}

.article-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0824b;
  margin-bottom: 18px;
}

.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
  padding: 10px 0;
  border-top: 1px solid #ececea;
}

.article-toc li:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-toc a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s ease, transform 0.25s ease;
}

.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: 400;
  color: #f0824b;
  font-size: 18px;
  min-width: 30px;
}

.article-toc a:hover {
  color: #f0824b;
  transform: translateX(4px);
}

.article-section {
  margin-bottom: 80px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
}

.article-h2 .accent {
  color: #f0824b;
  font-style: italic;
  font-weight: 400;
  font-family: 'Times New Roman', Times, serif;
}

.article-h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.article-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--soft);
  margin-bottom: 20px;
}

.article-section p strong {
  color: var(--text);
  font-weight: 700;
}

.article-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}

.article-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--soft);
}

.article-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0824b;
}

.article-section ul li strong {
  color: var(--text);
  font-weight: 700;
}

.article-figure {
  margin: 48px 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px -25px rgba(20,20,22,0.25);
}

.article-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-callout {
  background: linear-gradient(135deg, #fff6f0 0%, #ffffff 100%);
  border: 1px solid rgba(240, 130, 75, 0.30);
  border-left: 4px solid #f0824b;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 36px 0;
  position: relative;
}

.article-callout-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0824b;
  margin-bottom: 10px;
}

.article-callout p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 0;
  font-weight: 500;
}

/* ── CTA block ──────────────────────────────────────── */

.article-cta {
  margin-top: 100px;
  padding: 56px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #141416 0%, #2a0f06 60%, #5e2a10 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(240,130,75,0.45) 0%, rgba(240,130,75,0) 70%);
  pointer-events: none;
}

.article-cta > * {
  position: relative;
  z-index: 1;
}

.article-cta-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.article-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 30px;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  background: #f0824b;
  color: #ffffff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid #f0824b;
  transition: background 0.40s ease, border-color 0.40s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.article-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.55) 50%, transparent 75%, transparent 100%);
  background-size: 250% 250%, 100% 100%;
  background-position: 200% 0, 0 0;
  background-repeat: no-repeat;
  transition: background-position 1s ease;
  pointer-events: none;
}

.article-cta-btn:hover::before {
  background-position: -100% 0, 0 0;
}

.article-cta-btn:hover {
  background: #d46e3a;
  border-color: #d46e3a;
  transform: translateY(-2px);
}

/* ── Scroll reveal animation ───────────────────────── */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 900px) {
  .article-hero {
    padding: 140px var(--pad) 72px;
  }

  .article-hero-image {
    margin-top: 48px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .article-body {
    padding: 72px var(--pad) 100px;
  }

  .article-toc {
    padding: 26px 28px;
  }

  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-section {
    margin-bottom: 60px;
  }

  .article-cta {
    padding: 44px 28px;
    margin-top: 72px;
  }
}

@media (max-width: 560px) {
  .article-h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .article-lede {
    font-size: 16px;
  }

  .article-meta {
    gap: 16px;
  }

  .article-body-inner {
    max-width: 100%;
  }

  .article-section p {
    font-size: 16px;
  }
}
