/* =========================================================
   BeeStage Wissen – editorialer Layer
   Baut ausschließlich auf den Tokens aus beestage-v2.css auf.
   (Farben, Radius, Schatten, Schriften kommen von dort.)
========================================================= */

/* ---------- reduzierte Wissen-Navigation ---------- */
.wnav{
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.wnav__inner{ display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.wnav__brand{ display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; letter-spacing: -.03em; color: var(--ink); }
.wnav__tag{
  font-weight: 600; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px;
}
.wnav__right{ display: flex; align-items: center; gap: 8px; }
.wnav__link{ padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: color .15s, background .15s; }
.wnav__link:hover{ color: var(--ink); background: rgba(21,19,15,.05); }
.wnav .btn{ padding: 11px 20px; font-size: .93rem; }
.wnav .btn--primary{ background: var(--honey); color: var(--ink); }
.wnav .btn--primary:hover{ background: var(--honey-glow); box-shadow: 0 14px 30px -12px rgba(217,143,6,.55); }
@media (max-width: 540px){
  .wnav__inner{ height: 64px; }
  .wnav__tag{ display: none; }
  .wnav__link{ display: none; }
}

/* ---------- Breadcrumb ---------- */
.crumb{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-3); margin: 0 0 26px; }
.crumb a{ color: var(--ink-3); transition: color .15s; }
.crumb a:hover{ color: var(--ink); }
.crumb svg{ width: 13px; height: 13px; opacity: .6; flex: none; }
.crumb span[aria-current]{ color: var(--ink-2); font-weight: 500; }

/* ---------- Artikel-Hero ---------- */
.whero{ padding: 52px 0 8px; }
.whero__inner{ max-width: 820px; margin: 0 auto; }
.whero h1{
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(2.15rem, 4.9vw, 3.35rem); letter-spacing: -.03em; line-height: 1.06;
  margin: 0 0 22px; text-wrap: balance;
}
.whero__sub{ font-size: 1.22rem; color: var(--ink-2); margin: 0; max-width: 60ch; text-wrap: pretty; line-height: 1.55; }
.whero__meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.whero__stand{
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 600; font-size: .82rem; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
}
.whero__stand svg{ width: 15px; height: 15px; color: var(--honey-deep); }
.whero__read{ font-size: .86rem; color: var(--ink-3); font-weight: 500; }

/* Hero-Bild */
.whero__figure{ max-width: 1120px; margin: 44px auto 0; }
@media (max-width: 640px){ .whero__figure{ margin-top: 30px; } }

/* ---------- Artikel-Layout mit seitlichem Inhaltsverzeichnis ---------- */
.article-shell{ max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); }
.article-grid{
  display: grid; grid-template-columns: 236px minmax(0, 760px);
  gap: 76px; justify-content: center; align-items: start;
  padding: 64px 0 96px;
}
@media (max-width: 1040px){
  .article-grid{ grid-template-columns: minmax(0, 760px); gap: 0; padding: 40px 0 72px; }
}

/* ---------- Inhaltsverzeichnis ---------- */
.toc{ position: sticky; top: 100px; }
.toc__title{ font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 15px; }
.toc__list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; border-left: 1px solid var(--line); }
.toc__list a{
  display: block; padding: 8px 0 8px 18px; margin-left: -1px;
  border-left: 2px solid transparent; font-size: .92rem; color: var(--ink-3);
  line-height: 1.35; transition: color .15s, border-color .15s;
}
.toc__list a:hover{ color: var(--ink); }
.toc__list a.is-active{ color: var(--ink); border-left-color: var(--honey); font-weight: 600; }

@media (max-width: 1040px){
  .toc{ position: static; margin-bottom: 40px; }
  .toc__inner{
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 20px 22px;
  }
  .toc__list{ border-left: 0; gap: 0; }
  .toc__list a{ padding: 9px 0; margin-left: 0; border-left: 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .toc__list li:last-child a{ border-bottom: 0; }
  .toc__list a.is-active{ border-left: 0; color: var(--honey-deep); }
}

/* ---------- Fließtext / Prosa ---------- */
.prose{ font-size: 1.14rem; line-height: 1.76; color: var(--ink-2); }
.prose > * + *{ margin-top: 1.35em; }
.prose h2{
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(1.6rem, 2.6vw, 1.95rem); letter-spacing: -.025em; line-height: 1.16;
  margin-top: 2.5em; margin-bottom: .05em; scroll-margin-top: 100px; text-wrap: balance;
}
.prose h2:first-child{ margin-top: 0; }
.prose h3{
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25;
  margin-top: 1.9em; margin-bottom: -.15em;
}
.prose p{ margin: 0; text-wrap: pretty; }
.prose strong{ color: var(--ink); font-weight: 700; }
.prose a{ color: var(--honey-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover{ color: var(--ink); }

.prose__lead{ font-size: 1.28rem; line-height: 1.62; color: var(--ink); }

/* Listen – hochwertig */
.prose ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prose ul li{ position: relative; padding-left: 30px; color: var(--ink-2); }
.prose ul li::before{
  content: ""; position: absolute; left: 5px; top: .66em;
  width: 8px; height: 8px; background: var(--honey); border-radius: 2px; transform: rotate(45deg);
}
.prose ul.prose__inline-list{ gap: 6px; }

/* ---------- Callout / Infobox ---------- */
.callout{
  margin: 2.3em 0; padding: 26px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm);
}
.callout__label{
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--honey-deep); margin: 0 0 12px;
}
.callout__label::before{ content: ""; width: 8px; height: 8px; background: var(--honey); border-radius: 2px; transform: rotate(45deg); flex: none; }
.callout p{ margin: 0; color: var(--ink); font-size: 1.06rem; line-height: 1.6; }
.callout p + p{ margin-top: .8em; }
.callout--honey{ background: var(--honey-soft); border-color: color-mix(in srgb, var(--honey) 42%, transparent); }
.callout--paper{ background: var(--paper-2); border-color: var(--line); }
.callout--paper .callout__label{ color: var(--ink-2); }
.callout--paper .callout__label::before{ background: var(--ink-3); }

/* ---------- Figur / Bildbereich ---------- */
.figure{ margin: 2.7em 0; }
.figure__frame{
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper-2);
}
.figure__ph{ aspect-ratio: 16/10; width: 100%; }
.figure figcaption{ margin-top: 14px; font-size: .9rem; color: var(--ink-3); line-height: 1.5; text-wrap: pretty; }
.figure figcaption b{ color: var(--ink-2); font-weight: 600; }

/* Bild darf über die Textspalte hinausragen (Desktop) */
@media (min-width: 1041px){
  .figure--wide{ width: calc(100% + 180px); margin-left: -90px; }
}

/* generischer Bildplatzhalter (mit klarem Dateinamen) – überschreibt .ph Kontrast bei Bedarf nicht */
.ph--tall{ aspect-ratio: 3/4; }
.ph__name{ display: block; margin-top: 6px; font-size: .68rem; opacity: .8; }

/* Triptychon (drei Versionen nebeneinander) */
.triptych{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.triptych .figure__frame{ border-radius: var(--radius-sm); }
.triptych .figure__ph{ aspect-ratio: 4/5; padding: 14px; }
@media (max-width: 600px){
  .triptych{ grid-template-columns: 1fr; }
  .triptych .figure__ph{ aspect-ratio: 16/10; }
}

/* ---------- BeeStage-Hinweis (ruhig, redaktionell) ---------- */
.bee-note{
  margin: 2.9em 0; padding: 32px 34px; border-radius: var(--radius-lg);
  background: var(--paper-2); border: 1px solid var(--line);
}
.bee-note__eyebrow{
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); margin: 0 0 12px;
}
.bee-note__eyebrow::before{ content: ""; width: 8px; height: 8px; background: var(--honey); border-radius: 2px; transform: rotate(45deg); }
.bee-note h3{ font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.36rem; letter-spacing: -.02em; margin: 0 0 10px; }
.bee-note p{ margin: 0 0 20px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }

/* ---------- Disclaimer ---------- */
.disclaimer{
  max-width: 760px; margin: 0 auto; padding: 0 var(--gut);
}
.disclaimer__inner{
  border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px;
  font-size: .9rem; color: var(--ink-3); font-style: italic; line-height: 1.6;
}

/* ---------- Weiterlesen ---------- */
.related{ background: var(--paper-2); border-top: 1px solid var(--line); }
.related .section-head{ margin-bottom: 44px; }
.related-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px){ .related-grid{ grid-template-columns: 1fr; } }

.acard{
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.acard:hover{ transform: translateY(-5px); box-shadow: var(--shadow); }
.acard__media{ position: relative; aspect-ratio: 16/10; padding: 8px 8px 0; }
.acard__media .figure__ph{ position: absolute; inset: 8px 8px 0; width: auto; height: auto; border-radius: 14px; aspect-ratio: auto; }
.acard__body{ padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.acard__cat{ font-weight: 600; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.acard__body h3{ font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.24rem; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 9px; }
.acard__body p{ margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.acard__arrow{ display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.acard__arrow svg{ width: 17px; height: 17px; transition: transform .2s ease; }
.acard:hover .acard__arrow svg{ transform: translateX(4px); }

/* ---------- Abschluss-CTA (Ink) ---------- */
.wcta{ padding: 96px 0; }
@media (max-width: 860px){ .wcta{ padding: 64px 0; } }
.wcta__panel{
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 72px 64px; text-align: center; position: relative; overflow: hidden;
}
@media (max-width: 620px){ .wcta__panel{ padding: 48px 26px; border-radius: var(--radius); } }
.wcta__panel h2{ font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.03em; line-height: 1.08; margin: 0 auto 18px; max-width: 18ch; text-wrap: balance; }
.wcta__panel p{ color: #b3a78f; font-size: 1.12rem; line-height: 1.6; margin: 0 auto 34px; max-width: 52ch; text-wrap: pretty; }
.wcta__panel .btn--honey{ background: var(--honey); color: var(--ink); }
.wcta__panel .btn--honey:hover{ background: var(--honey-glow); transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(217,143,6,.55); }

/* ---------- Wissensübersicht ---------- */
.wissen-hero{ padding: 72px 0 12px; }
.wissen-hero__inner{ max-width: 720px; }
.wissen-hero h1{ font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(2.3rem, 5vw, 3.5rem); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 20px; text-wrap: balance; }
.wissen-hero p{ font-size: 1.22rem; color: var(--ink-2); margin: 0; max-width: 54ch; text-wrap: pretty; line-height: 1.55; }

.wcards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 920px){ .wcards{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .wcards{ grid-template-columns: 1fr; } }

/* ---------- Fußzeile-Zusatz (kompakt) ---------- */
.wfoot{ background: var(--ink); color: #b3a78f; padding: 56px 0 34px; }
.wfoot__inner{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.wfoot .brand{ color: #fff; }
.wfoot__links{ display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wfoot__links a{ color: #b3a78f; font-size: .92rem; transition: color .15s; }
.wfoot__links a:hover{ color: var(--honey); }
.wfoot__bottom{ border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding-top: 22px; font-size: .82rem; color: #7d7461; }
