/* ============================================================
   Shifa Astrocoach — BLOG
   Nutzt dieselben Tokens/Typo/Spacing wie styles.css.
   KEIN Redesign – identische Designsprache wie die Startseite.
   ============================================================ */

/* ---------- Aktiver Nav-Link ---------- */
.nav__links a.is-current { color: var(--gold); opacity: 1; }

/* ---------- Breadcrumb ---------- */
.crumbs { width: min(100% - 2.8rem, 760px); margin: 0 auto; padding-top: 7rem; font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.crumbs a { color: var(--muted); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.crumbs a:hover { color: var(--gold); border-color: var(--line); }
.crumbs span { color: var(--gold); }
.crumbs .sep { margin: 0 .55rem; color: var(--line); }

/* ---------- Blog-Kopf ---------- */
.blog-hero { width: min(100% - 2.8rem, 760px); margin: 0 auto; padding: 2.4rem 0 clamp(2.5rem,5vw,4rem); text-align: center; }
.blog-hero .chapter { margin-bottom: 1.1rem; }
.blog-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem,5vw,3.6rem); line-height: 1.1; }
.blog-hero p { color: var(--muted); margin-top: 1.2rem; font-size: clamp(1.02rem,1.6vw,1.18rem); max-width: 52ch; margin-inline: auto; }

/* ---------- Karten-Raster ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(1.8rem,3.5vw,2.8rem); padding-bottom: clamp(4rem,8vw,7rem); }

/* ---------- Wiederverwendbare Post-Karte ---------- */
.post-card { display: flex; flex-direction: column; background: #fffaf3; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(43,38,32,.4); border-color: rgba(191,154,97,.5); }
.post-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--sand); }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__cat { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: #fff; background: rgba(43,38,32,.55); backdrop-filter: blur(6px); padding: .45rem .8rem; border-radius: 100px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.7rem; }
.post-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; margin-bottom: .7rem; }
.post-card:hover .post-card__title { color: var(--gold); }
.post-card__excerpt { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1.3rem; }
.post-card__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .6; }
.post-card__meta .author { color: var(--ink); }

/* ---------- Artikel ---------- */
.article { padding-bottom: clamp(3rem,6vw,5rem); }
.article-hero { width: min(100% - 2.8rem, 760px); margin: 0 auto; text-align: center; padding: 1rem 0 clamp(2rem,4vw,3rem); }
.article__cat { color: var(--gold); }
.article__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem,4.6vw,3.4rem); line-height: 1.14; margin: 1rem 0 1.4rem; }
.article__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem .8rem; font-size: .82rem; color: var(--muted); }
.article__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .6; }
.article__meta .author { color: var(--ink); font-weight: 500; }

/* Share */
.share { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; }
.share__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.share a { display: grid; place-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background .4s, color .4s, transform .4s, border-color .4s; }
.share a:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }
.share svg { width: 17px; height: 17px; }

/* Beitragsbild */
.article__figure { width: min(100% - 2.8rem, 980px); margin: clamp(1.5rem,3vw,2.6rem) auto; }
.article__figure .media { aspect-ratio: 16/9; box-shadow: 0 40px 80px -46px rgba(43,38,32,.45); }
.article__figure figcaption { text-align: center; font-size: .82rem; color: var(--muted); margin-top: .9rem; font-style: italic; font-family: var(--font-display); }

/* Inhaltslayout */
.article__wrap { width: min(100% - 2.8rem, 720px); margin: 0 auto; }

/* Inhaltsverzeichnis */
.toc { border: 1px solid var(--line); border-radius: 14px; background: #fffaf3; padding: 1.6rem 1.8rem; margin: clamp(1.5rem,3vw,2.4rem) 0; }
.toc__title { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: .7rem; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .8rem; align-items: baseline; color: var(--ink); font-size: .96rem; transition: color .3s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: .9rem; }
.toc a:hover { color: var(--gold); }

/* Fließtext */
.article__body { font-size: clamp(1.04rem,1.5vw,1.15rem); line-height: 1.85; color: var(--ink); }
.article__body > p { margin: 0 0 1.5rem; color: #453f33; }
.article__body h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem,3vw,2.15rem); line-height: 1.22; margin: clamp(2.4rem,5vw,3.4rem) 0 1.1rem; scroll-margin-top: 92px; }
.article__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 2rem 0 .8rem; }
.article__body a:not(.btn) { color: var(--gold); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.article__body a:not(.btn):hover { border-color: var(--gold); }
.article__body ul, .article__body ol { margin: 0 0 1.5rem 1.2rem; }
.article__body li { margin-bottom: .6rem; color: #453f33; }
.article__body strong { font-weight: 500; color: var(--ink); }

/* Zitatblock */
.pullquote { margin: clamp(2rem,4vw,3rem) 0; padding: 0 0 0 1.8rem; border-left: 2px solid var(--gold); }
.pullquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.7rem); line-height: 1.45; color: var(--ink); }
.pullquote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Inline-Bildblock */
.article__body figure.inline-img { margin: clamp(2rem,4vw,3rem) 0; }
.article__body figure.inline-img .media { aspect-ratio: 3/2; border-radius: 14px; box-shadow: 0 30px 60px -40px rgba(43,38,32,.4); }
.article__body figure.inline-img figcaption { text-align: center; font-size: .82rem; color: var(--muted); margin-top: .8rem; font-style: italic; font-family: var(--font-display); }

/* Callout */
.callout { display: flex; gap: 1.1rem; margin: clamp(2rem,4vw,2.8rem) 0; padding: 1.6rem 1.8rem; background: linear-gradient(180deg, rgba(191,154,97,.10), rgba(191,154,97,.04)); border: 1px solid var(--line); border-radius: 14px; }
.callout__icon { flex: 0 0 auto; color: var(--gold); }
.callout__icon svg { width: 26px; height: 26px; }
.callout p { margin: 0; font-size: 1rem; line-height: 1.7; color: #453f33; }
.callout strong { color: var(--ink); }

/* FAQ im Artikel (nutzt .faq aus styles.css) */
.article-faq { width: min(100% - 2.8rem, 720px); margin: clamp(3rem,6vw,4.5rem) auto 0; }
.article-faq h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem,3vw,2.15rem); text-align: center; margin-bottom: 1.5rem; }

/* Autoren-Box */
.author-box { width: min(100% - 2.8rem, 720px); margin: clamp(3rem,6vw,4.5rem) auto 0; display: flex; gap: 1.6rem; align-items: center; padding: clamp(1.8rem,3vw,2.4rem); background: var(--sand); border-radius: 18px; }
.author-box__avatar { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: #e7ddce; box-shadow: 0 12px 28px -14px rgba(43,38,32,.45); }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.author-box__label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.author-box__name { font-family: var(--font-display); font-size: 1.3rem; margin: .2rem 0 .5rem; }
.author-box__bio { font-size: .95rem; color: var(--muted); line-height: 1.7; }

/* Artikel-CTA */
.article-cta { width: min(100% - 2.8rem, 720px); margin: clamp(3rem,6vw,4.5rem) auto 0; text-align: center; padding: clamp(2.4rem,5vw,3.6rem); background: var(--deep); border-radius: 20px; color: var(--ivory); }
.article-cta h2 { font-family: var(--font-display); font-weight: 500; color: var(--ivory); font-size: clamp(1.6rem,3vw,2.2rem); line-height: 1.2; }
.article-cta p { color: rgba(247,243,236,.8); margin: 1rem auto 1.8rem; max-width: 46ch; }

/* Vorheriger / Nächster */
.post-nav { width: min(100% - 2.8rem, 980px); margin: clamp(3rem,6vw,4.5rem) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.post-nav a { display: block; padding: 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: 14px; transition: border-color .4s, background .4s, transform .4s; }
.post-nav a:hover { border-color: rgba(191,154,97,.5); background: #fffaf3; transform: translateY(-3px); }
.post-nav__dir { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.post-nav__t { font-family: var(--font-display); font-size: 1.08rem; margin-top: .5rem; color: var(--ink); line-height: 1.3; }
.post-nav a.is-next { text-align: right; }

/* Ähnliche Artikel */
.related { padding: clamp(3.5rem,7vw,6rem) 0 0; }
.related__head { text-align: center; margin-bottom: clamp(2rem,4vw,3rem); }
.related__head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem,3vw,2.4rem); }
.related .blog-grid { padding-bottom: 0; }

/* ---------- Lesefortschritt (Artikel) ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; pointer-events: none; }
.reading-progress__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width .12s linear; }

/* ---------- Empfohlener Artikel ---------- */
.featured { display: grid; grid-template-columns: 1.15fr .85fr; background: #fffaf3; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); margin-bottom: clamp(2.5rem,5vw,4rem); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.featured:hover { transform: translateY(-5px); box-shadow: 0 40px 80px -44px rgba(43,38,32,.45); border-color: rgba(191,154,97,.5); }
.featured__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.04); }
.featured__flag { position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: #fff; background: var(--gold); padding: .5rem .9rem; border-radius: 100px; box-shadow: 0 10px 24px -10px rgba(191,154,97,.7); }
.featured__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.8rem,3.5vw,3rem); }
.featured__cat { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin-bottom: 1rem; }
.featured__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem,2.8vw,2.3rem); line-height: 1.2; margin-bottom: 1rem; }
.featured:hover .featured__title { color: var(--gold); }
.featured__excerpt { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1.4rem; max-width: 44ch; }
.featured__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .78rem; color: var(--muted); margin-bottom: 1.3rem; }
.featured__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .6; }
.featured__meta .author { color: var(--ink); }
.featured__more { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--gold); }

/* ---------- Toolbar: Kategorien + Suche ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 1.6rem; margin-bottom: clamp(2rem,4vw,3rem); }
.cat-filter { display: flex; flex-wrap: wrap; gap: .6rem; }
.cat-pill { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .04em; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1.05rem; cursor: pointer; transition: color .3s, background .3s, border-color .3s; }
.cat-pill:hover { color: var(--gold); border-color: rgba(191,154,97,.5); }
.cat-pill.is-active { color: #fff; background: var(--gold); border-color: var(--gold); }
.blog-search { position: relative; display: flex; align-items: center; min-width: 230px; }
.blog-search__icon { position: absolute; left: .95rem; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.blog-search__input { width: 100%; font-family: var(--font-sans); font-size: .9rem; color: var(--ink); background: #fffaf3; border: 1px solid var(--line); border-radius: 100px; padding: .7rem 1.1rem .7rem 2.55rem; transition: border-color .3s; }
.blog-search__input::placeholder { color: var(--muted); }
.blog-search__input:focus { outline: none; border-color: var(--gold); }

/* ---------- Keine Treffer ---------- */
.no-results { text-align: center; color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; padding: 1rem 0 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .crumbs { padding-top: 6rem; }
  .author-box { flex-direction: column; text-align: center; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.is-next { text-align: left; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { aspect-ratio: 16/10; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search { min-width: 0; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}
