/*
  Die fertigen Beiträge (Produkt-Warteliste, Station Content).
  Baut auf site.css + magnet-shared.css + magnet-produkte.css.
  Hier liegen nur: Bild-Variablen, das Hero-Visual (Beitrag, der sich
  zusammensetzt), Eröffnungs-Tafeln, Material-zu-Beitrag-Wandel, Ledger-Rahmen.
*/

/* ---------- Bildwelt ---------- */

.pd-hero__bg {
  --pd-hero-image: url("../images/bibliothek/builderz-world-office-1600.webp");
  opacity: 0.62;
  background-position: center 70%;
}

.bt-chapter { --m-chapter-image: url("../images/bibliothek/handwerk-1600.webp"); }

.pd-gate__bg { --pd-gate-image: url("../images/bibliothek/glaseingang-nebel-1600.webp"); }

@media (max-width: 760px) {
  .pd-hero__bg { --pd-hero-image: url("../images/bibliothek/builderz-world-office-800.webp"); }
  .bt-chapter { --m-chapter-image: url("../images/bibliothek/handwerk-800.webp"); }
  .pd-gate__bg { --pd-gate-image: url("../images/bibliothek/glaseingang-nebel-800.webp"); }
}

/* ---------- Hero-Visual: der Beitrag setzt sich zusammen ---------- */

.bt-post {
  background: #fdfbf7;
  border: 1px solid rgba(244, 240, 232, 0.2);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.34);
}

.bt-post__label {
  display: block;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #755a36;
  border-bottom: 1px solid rgba(23, 23, 20, 0.1);
}

.bt-post__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px 0;
}

.bt-post__ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e4ddd0;
  box-shadow: 0 0 0 1px rgba(23, 23, 20, 0.14);
}

.bt-post__id { display: flex; flex-direction: column; gap: 7px; }

.bt-post__id i {
  display: block;
  height: 8px;
  background: rgba(23, 23, 20, 0.16);
}

.bt-post__id i:first-child { width: 46%; background: rgba(23, 23, 20, 0.3); }
.bt-post__id i:last-child { width: 68%; height: 6px; }

.bt-post__hook {
  padding: 16px 20px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

.bt-post__cap {
  display: block;
  padding: 8px 20px 0;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 23, 20, 0.55);
}

.bt-post__body { padding: 14px 20px 0; }

.bt-post__body i {
  display: block;
  height: 7px;
  background: rgba(23, 23, 20, 0.13);
  margin-bottom: 9px;
  transform-origin: left center;
}

.bt-post__body i:nth-of-type(1) { width: 88%; }
.bt-post__body i:nth-of-type(2) { width: 74%; }
.bt-post__body i:nth-of-type(3) { width: 52%; }

.bt-post__meta { padding: 16px 20px 0; }

.bt-post__beat {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  border-top: 1px solid rgba(23, 23, 20, 0.1);
}

.bt-post__beat i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bronze);
}

.bt-post__beat em {
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(23, 23, 20, 0.55);
}

.bt-post__done {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 20px;
  border-top: 1px solid rgba(23, 23, 20, 0.1);
  background: rgba(46, 92, 70, 0.08);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2e5c46;
}

.bt-post__done svg { width: 15px; height: 15px; }

/* ---------- Eröffnungs-Tafeln: so nicht / so ja ---------- */

.bt-opener {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.bt-opener__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bt-opener__item--nein .bt-opener__tag { color: #c2705a; }
.bt-opener__item--ja .bt-opener__tag { color: #8fc2a4; }

.bt-opener__tag svg { width: 16px; height: 16px; }

.bt-opener__mock {
  min-height: 168px;
  padding: clamp(20px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--atelier-line);
}

.bt-opener__mock--nein { background: rgba(244, 240, 232, 0.04); }

.bt-opener__mock--nein p {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.6);
}

.bt-opener__mock--ja {
  background:
    radial-gradient(circle at 82% 0%, rgba(168, 131, 85, 0.16), transparent 20rem),
    rgba(244, 240, 232, 0.05);
  border-color: rgba(168, 131, 85, 0.5);
}

.bt-opener__mock--ja p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.35;
  color: var(--bone);
}

.bt-opener__mock span {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
}

.bt-beispiele__gap { height: clamp(32px, 4vw, 56px); }

/* ---------- Wandel: Material rein, Beitrag zurück ---------- */

.bt-wandel {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) auto minmax(0, 0.56fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: stretch;
}

.bt-wandel__panel {
  border: 1px solid var(--atelier-line);
  padding: clamp(22px, 2.8vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bt-wandel__panel--vorher { background: rgba(244, 240, 232, 0.04); }

.bt-wandel__panel--nachher {
  background:
    radial-gradient(circle at 82% 0%, rgba(168, 131, 85, 0.14), transparent 22rem),
    #fdfbf7;
  border-color: rgba(168, 131, 85, 0.5);
}

.bt-wandel__tag {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bt-wandel__panel--vorher .bt-wandel__tag { color: rgba(244, 240, 232, 0.5); }
.bt-wandel__panel--nachher .bt-wandel__tag { color: #755a36; }

.bt-wandel__raw {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  color: rgba(244, 240, 232, 0.78);
}

.bt-wandel__post {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.62;
  color: rgba(23, 23, 20, 0.72);
}

.bt-wandel__cap {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
}

.bt-wandel__panel--nachher .bt-wandel__cap { color: rgba(23, 23, 20, 0.5); }

.bt-wandel__arrow {
  align-self: center;
  width: clamp(28px, 3vw, 44px);
  color: var(--bronze);
}

.bt-wandel__arrow svg { width: 100%; height: auto; display: block; }

.bt-beispiele__note {
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(244, 240, 232, 0.55);
}

/* ---------- Ledger-Sektion ---------- */

.bt-ledger { padding: var(--space-section) 0; }

.bt-ledger .kicker { display: block; margin-bottom: clamp(28px, 3.4vw, 48px); }

.bt-ledger__note {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(23, 23, 20, 0.55);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .bt-opener { grid-template-columns: 1fr; }
  .bt-wandel { grid-template-columns: 1fr; }
  .bt-wandel__arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 900px) {
  .bt-post { max-width: 420px; }
}
