/* =========================================================
   Blog · falkotreptau.com
   Baut auf style.css auf (Tokens Black Iris, Frozen, Outfit).
   Editorial: ruhige Lesespalte, Video neben "In Kürze",
   Inhaltsverzeichnis klebt am Rand, Quellen nummeriert.
   ========================================================= */

.bp { --read: 41rem; --wide: 72rem; }
.bp-main {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
}

/* ---------- Kopfleiste ---------- */
.bp-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1.25rem, env(safe-area-inset-right, 0px)) 0.85rem max(1.25rem, env(safe-area-inset-left, 0px));
  background: rgba(8, 8, 19, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.bp-top__brand {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bp-top__nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.88rem; }
.bp-top__nav a { color: var(--text-muted); transition: color 0.25s var(--ease); }
.bp-top__nav a:hover, .bp-top__nav a[aria-current="page"] { color: var(--text); }
.bp-top__nav .bp-top__cta {
  color: #080813;
  background: var(--frozen);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.bp-top__nav .bp-top__cta:hover { color: #080813; background: var(--frozen-hi); }
@media (max-width: 560px) {
  .bp-top__nav a:not(.bp-top__cta):not([aria-current]) { display: none; }
  .bp-top__nav { gap: 0.9rem; }
}

/* ---------- Artikelkopf ---------- */
.bp-head { max-width: 52rem; margin: clamp(3rem, 8vw, 5.5rem) auto 0; text-align: center; }
.bp-crumbs {
  display: inline-flex; gap: 0.6rem; align-items: center;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--frozen);
}
.bp-crumbs a { color: var(--text-dim); }
.bp-crumbs a:hover { color: var(--text); }
.bp-title {
  margin: 1.4rem 0 0;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.bp-dek {
  margin: 1.4rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.bp-byline {
  margin: 2rem auto 0;
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 1.1rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 15, 31, 0.6);
  text-align: left;
}
.bp-byline__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 56% 18%; }
.bp-byline__who { display: flex; flex-direction: column; line-height: 1.25; }
.bp-byline__who b { font-size: 0.92rem; }
.bp-byline__who span { font-size: 0.74rem; color: var(--text-dim); }
.bp-byline__meta { display: flex; gap: 0.45rem; font-size: 0.8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ---------- Video + In Kürze ---------- */
.bp-intro {
  margin: clamp(2.6rem, 6vw, 4rem) auto 0;
  max-width: 56rem;
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}
.bp-intro--solo { grid-template-columns: minmax(0, 1fr); max-width: var(--read); }
.bp-video { margin: 0; }
.bp-video__player, .bp-video__poster {
  display: block; position: relative;
  width: 100%; max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0f0f1f;
  border: 1px solid var(--line-hi);
  box-shadow: 0 40px 90px -40px rgba(160, 189, 219, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  object-fit: cover;
}
.bp-video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bp-video__poster:hover img { transform: scale(1.03); }
.bp-video__play {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: rgba(8, 8, 19, 0.6); border: 1px solid rgba(160, 189, 219, 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}
.bp-video__play svg { width: 10px; height: 11px; color: var(--frozen); }
.bp-video__links { margin-top: 0.8rem; text-align: center; font-size: 0.76rem; color: var(--text-dim); }
.bp-video__links a { color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--line-hi); text-underline-offset: 3px; }
.bp-video__links a:hover { color: var(--frozen); }

.bp-tldr {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(160, 189, 219, 0.12), transparent 60%),
    linear-gradient(180deg, #11112a, #0b0b1b);
  border: 1px solid rgba(160, 189, 219, 0.2);
}
.bp-tldr__label {
  margin: 0 0 1rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--frozen);
}
.bp-tldr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.bp-tldr li { position: relative; padding-left: 1.5rem; line-height: 1.55; color: var(--text-muted); }
.bp-tldr li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--frozen); box-shadow: 0 0 12px rgba(160, 189, 219, 0.8);
}
.bp-tldr strong { color: var(--text); }
@media (max-width: 760px) {
  .bp-intro { grid-template-columns: minmax(0, 1fr); }
  .bp-video { max-width: 16rem; margin-inline: auto; }
}

/* ---------- Lesespalte ---------- */
.bp-layout {
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
@media (min-width: 1100px) {
  .bp-layout { grid-template-columns: 13rem minmax(0, var(--read)) 13rem; gap: 3rem; justify-items: stretch; justify-content: center; }
}
.bp-toc { display: none; }
@media (min-width: 1100px) {
  .bp-toc { display: block; position: sticky; top: 5.5rem; align-self: start; font-size: 0.82rem; }
  .bp-toc__label { margin: 0 0 0.9rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); }
  .bp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; border-left: 1px solid var(--line); }
  .bp-toc a { display: block; padding: 0.35rem 0 0.35rem 0.9rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-dim); line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
  .bp-toc a:hover { color: var(--text); }
  .bp-toc a.is-active { color: var(--frozen); border-left-color: var(--frozen); }
}

.bp-prose {
  width: 100%;
  max-width: var(--read);
  min-width: 0;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.78;
  color: rgba(236, 242, 250, 0.82);
}
.bp-prose > * + * { margin-top: 1.3em; }
.bp-prose p { text-wrap: pretty; }
.bp-prose strong { color: var(--text); font-weight: 600; }
.bp-prose a { color: var(--frozen); text-decoration: underline; text-decoration-color: rgba(160, 189, 219, 0.35); text-underline-offset: 3px; }
.bp-prose a:hover { text-decoration-color: var(--frozen); }
.bp-prose h2 {
  position: relative;
  margin: 2.6em 0 0;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
  scroll-margin-top: 5.5rem;
}
.bp-prose h3 { margin: 2em 0 0; font-size: 1.2rem; color: var(--text); scroll-margin-top: 5.5rem; }
.bp-prose h2 + *, .bp-prose h3 + * { margin-top: 0.8em; }
.bp-anchor { margin-left: 0.5rem; font-weight: 400; color: var(--text-dim); opacity: 0; text-decoration: none !important; transition: opacity 0.2s; }
.bp-prose h2:hover .bp-anchor, .bp-prose h3:hover .bp-anchor { opacity: 1; }
.bp-prose ul, .bp-prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.55em; }
.bp-prose li::marker { color: var(--frozen); }
.bp-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; padding: 0.12em 0.4em; border-radius: 6px; background: #16162b; color: var(--frozen-hi); }
.bp-prose pre {
  margin-inline: 0; padding: 1.2rem 1.3rem; overflow-x: auto;
  border-radius: 16px; border: 1px solid var(--line); background: #0b0b1a;
  font-size: 0.86rem; line-height: 1.65;
}
.bp-prose pre code { padding: 0; background: none; color: rgba(236, 242, 250, 0.86); white-space: pre-wrap; word-break: break-word; }
.bp-ref a { text-decoration: none; font-size: 0.68em; font-weight: 700; color: var(--frozen); padding: 0 0.15em; }

.bp-quote {
  margin-inline: 0; margin-top: 2em !important; margin-bottom: 0.7em;
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 2px solid var(--frozen);
}
.bp-quote p { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.35; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.bp-quote cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.85rem; color: var(--text-dim); }

.bp-callout {
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: rgba(160, 189, 219, 0.06);
  border: 1px solid rgba(160, 189, 219, 0.2);
}
.bp-callout__label { display: block; margin-bottom: 0.5rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--frozen); }
.bp-callout p { color: var(--text-muted); }

.bp-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.bp-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.bp-table th, .bp-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.bp-table th { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); background: #0f0f1f; }
.bp-table tr:last-child td { border-bottom: 0; }
.bp-table td:last-child { color: var(--text); font-weight: 600; }

/* FAQ & Quellen */
.bp-faq details { border-bottom: 1px solid var(--line); }
.bp-faq details:first-of-type { border-top: 1px solid var(--line); }
.bp-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.05rem 0; font-weight: 600; color: var(--text); line-height: 1.4;
}
.bp-faq summary::-webkit-details-marker { display: none; }
.bp-faq summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; color: var(--frozen); transition: transform 0.3s var(--ease); }
.bp-faq details[open] summary::after { transform: rotate(45deg); }
.bp-faq details p { padding: 0 0 1.2rem; color: var(--text-muted); }
.bp-sources ol { font-size: 0.9rem; line-height: 1.5; gap: 0.7em; }
.bp-sources li { scroll-margin-top: 6rem; }
.bp-sources li:target { color: var(--text); }
.bp-sources__host { display: block; font-size: 0.75rem; color: var(--text-dim); }

/* Autor */
.bp-author {
  margin: clamp(3.5rem, 8vw, 5rem) auto 0;
  max-width: 46rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 24px;
  background: linear-gradient(180deg, #11112a, #0a0a18);
  border: 1px solid var(--line);
}
.bp-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 56% 18%; flex: none; }
.bp-author__name { margin: 0; font-weight: 700; font-size: 1.15rem; }
.bp-author__bio { margin: 0.5rem 0 1.2rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 560px) { .bp-author { flex-direction: column; } }

/* ---------- Karten ---------- */
.bp-related { margin: clamp(4rem, 9vw, 6rem) 0 0; }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1.6rem 1.4rem; }
.bp-card {
  display: grid; grid-template-rows: auto 1fr; gap: 1rem;
  color: inherit; height: 100%;
}
.bp-card__media {
  position: relative; display: block;
  aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 20px; overflow: hidden;
  background: #0f0f1f; border: 1px solid var(--line);
}
.bp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bp-card:hover .bp-card__media img { transform: scale(1.04); }
.bp-card__play {
  position: absolute; right: 0.8rem; bottom: 0.8rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8, 8, 19, 0.6); border: 1px solid rgba(160, 189, 219, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--frozen);
}
.bp-card__play svg { width: 11px; height: 12px; margin-left: 2px; }
.bp-card__body { display: flex; flex-direction: column; gap: 0.45rem; }
.bp-card__meta { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--frozen); }
.bp-card__title { font-weight: 700; font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.bp-card__desc { color: var(--text-muted); line-height: 1.6; }
.bp-card__cta { margin-top: auto; padding-top: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: color 0.25s; }
.bp-card:hover .bp-card__cta { color: var(--frozen); }

/* ---------- Übersicht ---------- */
.bl-hero { margin: clamp(3.5rem, 9vw, 6rem) auto 0; max-width: 46rem; text-align: center; }
.bl-hero .kicker { margin-bottom: 1.2rem; }
.bl-hero__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.bl-hero__title span { color: var(--frozen); text-shadow: 0 0 30px rgba(160, 189, 219, 0.35); }
.bl-hero__sub { margin: 1.5rem auto 0; max-width: 34rem; color: var(--text-muted); font-size: 1.08rem; line-height: 1.65; }
.bl-filter { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.bl-filter button {
  font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 999px;
  color: var(--text-muted); background: transparent; border: 1px solid var(--line-hi);
}
.bl-filter button[aria-pressed="true"] { color: #080813; background: var(--frozen); border-color: var(--frozen); }
.bl-filter button:focus-visible { outline: 2px solid var(--frozen); outline-offset: 2px; }

.bl-feature { margin: clamp(3rem, 7vw, 4.5rem) 0 0; }
.bp-card--feature {
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  grid-template-rows: none;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 28px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(160, 189, 219, 0.09), transparent 55%), linear-gradient(180deg, #11112a, #0a0a18);
  border: 1px solid var(--line);
}
.bp-card--feature .bp-card__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.bp-card--feature .bp-card__desc { font-size: 1.05rem; max-width: 30rem; }
.bp-card--feature .bp-card__body { gap: 0.9rem; padding-right: clamp(0rem, 2vw, 1.5rem); }
@media (max-width: 720px) { .bp-card--feature { grid-template-columns: minmax(0, 1fr); } .bp-card--feature .bp-card__media { max-width: 16rem; } }
.bl-grid { margin-top: 1.6rem; }
.bl-grid > [hidden], .bl-feature[hidden] { display: none !important; }
.bl-empty { margin: 4rem auto; text-align: center; color: var(--text-muted); }

.bl-cta {
  margin: clamp(4rem, 9vw, 6rem) auto 0;
  max-width: 44rem;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  background: radial-gradient(90% 120% at 50% 0%, rgba(160, 189, 219, 0.14), transparent 65%), #0c0c1d;
  border: 1px solid rgba(160, 189, 219, 0.2);
}
.bl-cta h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; text-wrap: balance; }
.bl-cta p { margin: 0.9rem 0 1.6rem; color: var(--text-muted); }

.bp .footer { margin-top: clamp(4rem, 9vw, 6rem); }

@media (prefers-reduced-motion: reduce) {
  .bp-card__media img, .bp-video__poster img { transition: none; }
}
@media (max-width: 560px) {
  .bp-byline { flex-direction: column; border-radius: 20px; padding: 0.9rem 1.1rem; text-align: center; }
  .bp-byline__who { align-items: center; }
  .bp-byline__meta { flex-wrap: wrap; justify-content: center; }
}

/* Video Bühne: Titelbild mit Button, Klick spielt direkt ab */
.bp-video__stage { position: relative; }
.bp-video__stage .bp-video__play { cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--text); padding: 0.7rem 1.2rem; transition: background 0.25s, transform 0.25s var(--ease); }
.bp-video__stage .bp-video__play:hover { background: rgba(160, 189, 219, 0.25); transform: translateX(-50%) scale(1.04); }
.bp-video__stage .bp-video__play small { font-weight: 500; color: var(--text-muted); }
.bp-video__stage.is-playing .bp-video__play { display: none; }
.bp .footer { display: none; }

/* Runder Play Button in der Mitte des Videos */
.bp-play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem;
  background: radial-gradient(60% 40% at 50% 50%, rgba(8, 8, 19, 0.35), transparent 70%);
  border: 0; padding: 0; cursor: pointer; color: var(--text); font: inherit;
}
.bp-play__circle {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8, 8, 19, 0.55); color: var(--frozen);
  border: 1px solid rgba(160, 189, 219, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 0 rgba(160, 189, 219, 0.5), 0 0 30px rgba(160, 189, 219, 0.35);
  animation: bpPulse 2.4s ease-out infinite;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s;
}
.bp-play__circle svg { width: 20px; height: 22px; margin-left: 4px; }
.bp-play__label {
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(8, 8, 19, 0.55); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bp-play:hover .bp-play__circle, .bp-video__poster:hover .bp-play__circle { transform: scale(1.08); background: var(--frozen); color: #080813; }
.bp-play:focus-visible .bp-play__circle { outline: 2px solid var(--frozen); outline-offset: 4px; }
.bp-video__stage.is-playing .bp-play { display: none; }
@keyframes bpPulse {
  0% { box-shadow: 0 0 0 0 rgba(160, 189, 219, 0.45), 0 0 30px rgba(160, 189, 219, 0.35); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(160, 189, 219, 0), 0 0 30px rgba(160, 189, 219, 0.35); }
}
@media (prefers-reduced-motion: reduce) { .bp-play__circle { animation: none; } }
.bp-video__links { color: var(--text-muted); font-size: 0.8rem; }

/* Einheitliche Schrift wie auf der Startseite */
.bp-title, .bl-hero__title, .bp-card__title, .bp-prose h2, .bp-prose h3, .bp-author__name, .bl-cta h2, .bp-quote p { font-weight: 600; }
.bp-video__player { height: auto; }
.bp-video__stage { width: 100%; max-width: 100%; }

/* Play Button klein unten rechts wie auf der Startseite, mit Puls */
.bp-play {
  position: absolute; inset: auto 1rem 1rem auto;
  width: 54px; height: 54px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(8, 8, 19, 0.6); color: var(--frozen);
  border: 1px solid rgba(160, 189, 219, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  cursor: pointer;
  animation: bpPulse 2.2s ease-out infinite, bpFloat 3.2s ease-in-out infinite;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.bp-play svg { width: 15px; height: 17px; margin-left: 3px; }
.bp-play:hover, .bp-video__poster:hover .bp-play { background: var(--frozen); color: #080813; animation-play-state: paused; }
.bp-play:focus-visible { outline: 2px solid var(--frozen); outline-offset: 4px; }
@keyframes bpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .bp-play { animation: none; } }
.bp-video__links { font-size: 0.82rem; color: var(--text-muted); }
.bp-video__links a { color: var(--text); }
