/* ────────────────────────────────────────────────────────────────
   B+S — Ratgeber / Blog
   Lädt NACH styles.css. Präfix: bl- (index/section) · art- (Beitrag)
   ──────────────────────────────────────────────────────────────── */

/* ─── Solid-Header ab Seitenkopf (Artikel mit hellem Hero) ─── */
body.page--solid-header .site-header { background: rgba(255,255,255,0.97); backdrop-filter: saturate(160%) blur(16px); }
body.page--solid-header .site-header__inner { border-bottom: 2px solid var(--blue); box-shadow: 0 4px 24px -8px rgba(15,20,17,0.18); }
body.page--solid-header .site-header .brand { border-right-color: var(--line); }
body.page--solid-header .site-header .brand__logo-dark { display: block !important; }
body.page--solid-header .site-header .brand__logo-light { display: none !important; }
body.page--solid-header .site-header .nav a { color: var(--ink); border-right-color: var(--line); }
body.page--solid-header .site-header .nav a:first-child { border-left-color: var(--line); }
body.page--solid-header .site-header .nav a:hover { color: var(--ink); background: rgba(15,20,17,0.03); }
body.page--solid-header .site-header .nav a::after { background: var(--blue); }
body.page--solid-header .site-header .nav-cta { background: var(--blue); border: 2px solid var(--blue); color: #fff; }
body.page--solid-header .site-header .nav-cta:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
body.page--solid-header .site-header .menu-toggle { color: var(--ink); }
/* Dropdown-Menü-Links behalten ihr eigenes dunkles Styling */
body.page--solid-header .site-header .nav-drop__menu a::after { display: none; }

/* ─── Homepage-Teaser ─── */
.blog-teaser { background: var(--paper); }
.blog-teaser__inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) var(--pad);
}
.blog-teaser__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.blog-teaser__head h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03; letter-spacing: -0.035em; font-weight: 800;
  margin: 8px 0 0; text-wrap: balance;
}
.blog-teaser__head p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; max-width: 420px; }
.blog-teaser__more {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--blue);
  transition: gap .18s;
}
.blog-teaser__more:hover { gap: 14px; }

.blog-teaser__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* ─── Post-Karte (Teaser + Index) ─── */
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -22px rgba(15,20,17,0.28);
  border-color: transparent;
}
.post-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(13,1,72,0.88); color: #fff;
  backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  margin-bottom: 12px;
}
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.post-card h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  margin: 0 0 10px; text-wrap: balance;
}
.post-card__excerpt { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; flex: 1; }
.post-card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  transition: gap .18s;
}
.post-card:hover .post-card__link { gap: 12px; }
.post-card__cta-cover { position: absolute; inset: 0; }

/* ─── Blog-Index-Seite ─── */
.bl-head {
  background: var(--blue-deep); color: #fff;
  padding: clamp(120px, 17vh, 190px) var(--pad) clamp(60px, 8vw, 96px);
}
.bl-head__inner { max-width: 1200px; margin: 0 auto; }
.bl-head .p-crumb { margin-bottom: 20px; }
.bl-head .eyebrow { color: rgba(255,255,255,0.7); }
.bl-head .eyebrow::before { background: rgba(255,255,255,0.7); }
.bl-head h1 {
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.98; letter-spacing: -0.04em; font-weight: 800;
  margin: 14px 0 0; text-wrap: balance; color: #fff;
}
.bl-head h1 span { color: rgba(255,255,255,0.55); }
.bl-head p {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6;
  color: rgba(255,255,255,0.72); margin: 20px 0 0; max-width: 560px;
}

.bl-list { background: var(--paper-2); }
.bl-list__inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad);
}
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ─── Artikel-Seite ─── */
.art-head {
  background: var(--paper);
  padding: clamp(120px, 16vh, 180px) var(--pad) clamp(28px, 4vw, 44px);
}
.art-head__inner { max-width: 780px; margin: 0 auto; }
.art-head .p-crumb { color: var(--muted); margin-bottom: 22px; }
.art-head .p-crumb a { color: var(--ink-2); }
.art-head .p-crumb a:hover { color: var(--blue); }
.art-head .p-crumb .cur { color: var(--ink); }
.art-cat {
  display: inline-block;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; margin-bottom: 20px;
}
.art-head h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05; letter-spacing: -0.035em; font-weight: 800;
  margin: 0; text-wrap: balance;
}
.art-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px; font-weight: 500; color: var(--muted);
  margin-top: 24px;
}
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.art-cover {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--pad) 0;
}
.art-cover__frame { border-radius: 22px; overflow: hidden; aspect-ratio: 21/9; background: var(--paper-2); }
.art-cover__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Prose */
.art-body { background: var(--paper); }
.prose {
  max-width: 720px; margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--pad) clamp(64px, 8vw, 110px);
}
.prose > .lead {
  font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55;
  color: var(--ink); font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 36px;
}
.prose h2 {
  font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.025em;
  font-weight: 700; margin: 48px 0 16px; text-wrap: balance;
}
.prose h3 {
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.25; letter-spacing: -0.015em;
  font-weight: 700; margin: 34px 0 12px;
}
.prose p { font-size: 17px; line-height: 1.72; color: var(--ink-2); margin: 0 0 20px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--blue-deep); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose ul li, .prose ol li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose ul li::before {
  content: ""; position: absolute; left: 8px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.prose blockquote {
  margin: 32px 0; padding: 22px 26px;
  background: var(--paper-2); border-radius: 16px;
  border-left: 3px solid var(--blue);
  font-size: 17px; line-height: 1.6; color: var(--ink); font-style: normal;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.callout {
  margin: 32px 0; padding: 24px 26px;
  background: var(--blue-soft); border-radius: 16px;
}
.callout h4 { font-size: 15px; font-weight: 700; color: var(--blue-deep); margin: 0 0 8px; letter-spacing: -0.01em; }
.callout p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

.art-note {
  max-width: 720px; margin: 0 auto;
  font-size: 13px; line-height: 1.55; color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 22px var(--pad) 0;
}

/* Autor / CTA-Block am Ende */
.art-cta {
  max-width: 720px; margin: 40px auto 0;
  background: var(--blue-deep); color: #fff;
  border-radius: 22px; padding: clamp(32px, 4vw, 48px);
}
.art-cta h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: #fff; }
.art-cta p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0 0 24px; }
.art-cta .btn { background: #fff; color: var(--blue-deep); border: 2px solid #fff; }
.art-cta .btn:hover { background: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.88); color: var(--blue-deep); }

/* Weitere Beiträge */
.art-more { background: var(--paper-2); }
.art-more__inner {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(56px, 7vw, 90px) var(--pad);
}
.art-more__head { margin-bottom: 32px; }
.art-more__head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.art-more__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .blog-teaser__grid, .bl-grid { grid-template-columns: 1fr 1fr; }
  .blog-teaser__grid .post-card:nth-child(3) { grid-column: span 2; }
  .blog-teaser__grid .post-card:nth-child(3) { flex-direction: row; }
  .blog-teaser__grid .post-card:nth-child(3) .post-card__img { flex: 0 0 42%; aspect-ratio: auto; }
}
@media (max-width: 720px) {
  .blog-teaser__grid, .bl-grid, .art-more__grid { grid-template-columns: 1fr; }
  .blog-teaser__grid .post-card:nth-child(3) { grid-column: auto; flex-direction: column; }
  .blog-teaser__grid .post-card:nth-child(3) .post-card__img { flex: none; aspect-ratio: 16/10; }
  .blog-teaser__inner, .bl-list__inner { padding: 48px 20px; }
  .art-cover__frame { aspect-ratio: 16/10; }
  .prose { padding: 40px 20px 64px; }
}
