/* ============================================================
   DH PERFORMANCE — BLOG
   Übersicht (blog/index.html) + Artikelseiten (blog/*.html)
   Baut auf base.css auf (Farben, Buttons, Pills, Nav, Footer).
   ============================================================ */

/* ── Übersicht: Hero ───────────────────────────────────────── */
.blog-hero-bg {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0,255,136,.07), transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #000 100%);
  border-bottom: 1px solid var(--border);
}
.blog-hero { max-width: 1200px; margin: 0 auto; padding-top: 88px; padding-bottom: 64px; }
.blog-hero h2 {
  font-size: 56px; font-weight: 900; letter-spacing: -2px; line-height: 1.04;
  margin-bottom: 20px;
}
.blog-hero p {
  font-size: 16px; line-height: 1.75; color: var(--grey-light); font-weight: 300;
  max-width: 620px;
}

/* ── Übersicht: Filter & Suche ─────────────────────────────── */
.blog-list { max-width: 1200px; margin: 0 auto; }
.blog-toolbar {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 32px;
}
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-pill {
  --c: var(--green); --c-rgb: 0,255,136;
  font-family: var(--font-b); font-size: 12px; font-weight: 500;
  color: var(--grey-light); background: var(--dark2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s, border-color .15s, background .15s, box-shadow .2s;
}
.filter-pill .count {
  font-size: 10px; font-weight: 600; color: var(--grey);
  background: rgba(255,255,255,.06); border-radius: 999px; padding: 1px 7px;
}
.filter-pill:hover { color: var(--white); border-color: #444; }
.filter-pill.is-active {
  color: var(--c); border-color: rgba(var(--c-rgb), .5);
  background: rgba(var(--c-rgb), .08);
  box-shadow: 0 0 16px rgba(var(--c-rgb), .18);
}
.filter-pill.is-active .count { color: var(--c); background: rgba(var(--c-rgb), .12); }
.fp-green  { --c: var(--green);  --c-rgb: 0,255,136; }
.fp-amber  { --c: var(--amber);  --c-rgb: 240,165,0; }
.fp-teal   { --c: var(--teal);   --c-rgb: 0,229,196; }
.fp-platin { --c: var(--platin); --c-rgb: 180,197,212; }
.fp-orange { --c: var(--orange); --c-rgb: 255,107,53; }
.fp-violet { --c: var(--violet); --c-rgb: 200,146,255; }
.fp-lime   { --c: var(--lime);   --c-rgb: 232,255,58; }
.fp-grey   { --c: var(--grey-light); --c-rgb: 204,204,204; }

.blog-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark2); border: 1px solid var(--border); border-radius: 10px;
  padding: 0 12px; min-width: 260px; color: var(--grey);
  transition: border-color .15s, box-shadow .2s;
}
.blog-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.blog-search input {
  background: none; border: none; outline: none; color: var(--white);
  font-family: var(--font-b); font-size: 13px; padding: 11px 0; width: 100%;
}
.blog-search input::placeholder { color: #666; }
.blog-search:focus-within { border-color: rgba(0,255,136,.45); box-shadow: 0 0 14px rgba(0,255,136,.12); }

/* ── Karten ────────────────────────────────────────────────── */
.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.post-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--dark2); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .25s;
}
.post-card:hover {
  border-color: rgba(0,255,136,.35); transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 24px rgba(0,255,136,.08);
}
.post-card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.post-card-link:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.post-card-img {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark3);
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s;
  filter: saturate(.92);
}
.post-card:hover .post-card-img img { transform: scale(1.04); filter: saturate(1.05); }
.card-img-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-h); font-weight: 900; font-size: 44px; color: #2d2d2d; letter-spacing: -2px;
}
.card-img-ph em { color: rgba(0,255,136,.35); font-style: normal; }
.post-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.post-card-cats .pill { font-size: 10px; padding: 3px 10px; }
.post-card h3 {
  font-size: 19px; font-weight: 800; line-height: 1.28; letter-spacing: -.3px;
}
.post-card p {
  font-size: 13px; line-height: 1.65; color: var(--grey);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-more {
  margin-top: auto; padding-top: 4px;
  font-family: var(--font-h); font-size: 12px; font-weight: 700; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.post-card-more .arr { transition: transform .2s; }
.post-card:hover .post-card-more .arr { transform: translateX(4px); }

.post-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 11.5px; color: var(--grey); font-family: var(--font-b);
}
.post-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 13px; height: 13px; opacity: .8; }
.post-views[hidden] { display: none !important; }
.post-views svg { width: 14px; height: 14px; }

/* Hervorgehobener Artikel: volle Breite, Bild links */
.post-card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.25fr 1fr;
}
.post-card--featured .post-card-img { aspect-ratio: auto; min-height: 380px; }
.post-card--featured .post-card-body { padding: 40px; justify-content: center; gap: 16px; }
.post-card--featured h3 { font-size: 32px; font-weight: 900; letter-spacing: -1px; line-height: 1.12; }
.post-card--featured p { font-size: 14.5px; -webkit-line-clamp: 4; color: var(--grey-light); font-weight: 300; }
.post-card--featured .post-card-more { margin-top: 8px; }
.post-card--featured::before {
  content: 'Empfohlen'; position: absolute; top: 16px; left: 16px; z-index: 1;
  font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: #000; background: var(--green); border-radius: 6px; padding: 5px 10px;
  box-shadow: 0 0 16px rgba(0,255,136,.4);
}

.draft-badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  font-family: var(--font-b); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: var(--amber); color: #000; border-radius: 6px; padding: 4px 9px;
}
.post-card.is-hidden { display: none; }

.blog-noresult { text-align: center; padding: 60px 20px; color: var(--grey); }
.blog-noresult p { margin-bottom: 16px; font-size: 14px; }

.blog-empty {
  text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 20px 20px;
}
.blog-empty-mark {
  font-family: var(--font-h); font-weight: 900; font-size: 64px; letter-spacing: -3px; color: #262626;
  margin-bottom: 12px;
}
.blog-empty-mark em { color: var(--green); font-style: normal; text-shadow: 0 0 22px rgba(0,255,136,.5); }
.blog-empty h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.blog-empty p { color: var(--grey); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }

/* ============================================================
   ARTIKELSEITE
   ============================================================ */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none;
}
.read-progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--green); box-shadow: 0 0 10px rgba(0,255,136,.7);
}
.draft-banner {
  background: var(--amber); color: #000; text-align: center;
  font-family: var(--font-h); font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 8px 16px;
}

/* Kopf */
.post-hero {
  background:
    radial-gradient(800px 380px at 50% -20%, rgba(0,255,136,.06), transparent 65%),
    linear-gradient(180deg, #0D0D0D 0%, #000 100%);
  padding: 56px 40px 0;
}
.post-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  font-size: 11.5px; color: #666; margin-bottom: 24px;
}
.breadcrumbs a { color: var(--grey); transition: color .15s; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] {
  color: #666; max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.post-cats { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.post-cats .pill { transition: box-shadow .2s; }
.post-cats .pill:hover { box-shadow: 0 0 12px currentColor; }
.post-hero h1 {
  font-size: 50px; font-weight: 900; letter-spacing: -1.6px; line-height: 1.08;
  margin-bottom: 20px; text-wrap: balance;
}
.post-lead {
  font-size: 17px; line-height: 1.7; color: var(--grey-light); font-weight: 300;
  max-width: 680px; margin: 0 auto 28px; text-wrap: pretty;
}
.post-byline {
  display: inline-flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 40px;
}
.post-byline img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(0,255,136,.4);
}
.byline-name { font-family: var(--font-h); font-weight: 700; font-size: 13px; color: var(--white); }
.byline-name:hover { color: var(--green); }
.post-byline .post-meta { margin-top: 3px; }

.post-cover {
  max-width: 1120px; margin: 0 auto; position: relative;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 21 / 9; background: var(--dark3);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Freigestellte Bilder (transparenter Hintergrund): keine Box, direkt auf dem Seitenhintergrund */
.post-cover--frei {
  aspect-ratio: auto; background: none; border: none; box-shadow: none; border-radius: 0; overflow: visible;
  max-width: 900px; display: flex; justify-content: center;
}
.post-cover--frei img { width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain; }
.post-fig--frei img { border: none; background: none; border-radius: 0; }
.post-card-img--frei { background: radial-gradient(circle at 50% 60%, rgba(0,255,136,.07), transparent 70%); }
.post-card-img--frei img { object-fit: contain; padding: 14px; filter: none; }

/* Layout: Inhaltsverzeichnis links, Text rechts */
.post-layout {
  max-width: 1120px; margin: 0 auto; padding: 64px 40px 40px;
  display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px;
  justify-content: center;
}
.post-layout.no-toc { grid-template-columns: minmax(0, 720px); }
.post-aside { position: relative; }
.post-aside .toc { position: sticky; top: 96px; }

.toc-title {
  font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey); margin-bottom: 14px;
}
.toc ol { list-style: none; border-left: 1px solid var(--border); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 12.5px; line-height: 1.45; color: var(--grey);
  transition: color .15s, border-color .15s;
}
.toc a::before { content: counter(toc, decimal-leading-zero) '  '; font-size: 10px; color: #555; font-weight: 600; }
.toc a:hover { color: var(--white); }
.toc a.is-active { color: var(--green); border-left-color: var(--green); }
.toc a.is-active::before { color: var(--green); }

.toc-mobile { display: none; }

/* Das Wichtigste in Kürze */
.takeaways {
  background: linear-gradient(135deg, rgba(0,255,136,.06), rgba(0,255,136,.015));
  border: 1px solid rgba(0,255,136,.22); border-radius: 14px;
  padding: 24px 26px; margin-bottom: 40px;
}
.takeaways-title {
  font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.takeaways ul { display: flex; flex-direction: column; gap: 10px; }
.takeaways li {
  position: relative; padding-left: 28px;
  font-size: 15px; line-height: 1.6; color: var(--white);
}
.takeaways li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,255,136,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FF88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ── Fließtext ─────────────────────────────────────────────── */
.prose { font-size: 16.5px; line-height: 1.85; color: #d4d4d4; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  font-size: 30px; font-weight: 900; letter-spacing: -.8px; line-height: 1.18;
  margin-top: 2.2em; scroll-margin-top: 90px; color: var(--white);
}
.prose h3 {
  font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1.3;
  margin-top: 1.8em; scroll-margin-top: 90px;
}
.prose h4 { font-size: 17px; font-weight: 700; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose strong { color: var(--white); font-weight: 600; }
.prose em { color: var(--grey-light); }
.prose a {
  color: var(--green); text-decoration: underline; text-decoration-color: rgba(0,255,136,.35);
  text-underline-offset: 3px; transition: text-decoration-color .15s;
}
.prose a:hover { text-decoration-color: var(--green); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 28px; }
.prose li + li { margin-top: .5em; }
.prose ul > li::before {
  content: ''; position: absolute; left: 6px; top: .78em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(0,255,136,.5);
}
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before {
  content: counter(li); position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-h); font-size: 11px; font-weight: 800; color: var(--green);
  border: 1px solid rgba(0,255,136,.4); background: rgba(0,255,136,.06);
}
.prose li > ul, .prose li > ol { margin-top: .5em; }

.prose blockquote {
  margin: 2.2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--green);
  font-family: var(--font-h); font-size: 24px; font-weight: 800; line-height: 1.35;
  letter-spacing: -.5px; color: var(--white);
}
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: .6em; }

.prose hr { border: none; height: 1px; background: var(--border); margin: 3em 0; }

.prose code {
  font-size: .88em; background: var(--dark3); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; color: var(--white);
}
.prose pre { background: var(--dark2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; overflow-x: auto; }
.prose pre code { background: none; border: none; padding: 0; }

/* Bilder */
.post-fig { margin: 2.2em 0; }
.post-fig img {
  width: auto; max-width: 100%; height: auto; max-height: 760px; display: block; margin: 0 auto;
  border-radius: 14px; border: 1px solid var(--border); background: var(--dark3);
}
.post-fig figcaption, .yt figcaption {
  font-size: 12.5px; line-height: 1.6; color: var(--grey); margin-top: 10px; text-align: center;
}

/* Tabellen */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin: 2em 0;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; min-width: 480px; }
.table-wrap th {
  text-align: left; font-family: var(--font-h); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--green);
  background: rgba(0,255,136,.05); padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: #d0d0d0; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:hover td { background: rgba(255,255,255,.02); }

/* Info-Boxen  (:::tipp, :::merke, :::achtung, :::info, :::studie, :::zahlen) */
.bx {
  --c: var(--green); --c-rgb: 0,255,136;
  margin: 2em 0; padding: 22px 24px; border-radius: 14px;
  background: rgba(var(--c-rgb), .045); border: 1px solid rgba(var(--c-rgb), .22);
  border-left: 3px solid var(--c);
}
.bx-green  { --c: var(--green);  --c-rgb: 0,255,136; }
.bx-platin { --c: var(--platin); --c-rgb: 180,197,212; }
.bx-orange { --c: var(--orange); --c-rgb: 255,107,53; }
.bx-teal   { --c: var(--teal);   --c-rgb: 0,229,196; }
.bx-violet { --c: var(--violet); --c-rgb: 200,146,255; }
.bx-amber  { --c: var(--amber);  --c-rgb: 240,165,0; }
.bx-label {
  font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--c); margin-bottom: 6px;
}
.bx-title { font-family: var(--font-h); font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.bx-body { font-size: 15px; line-height: 1.75; }
.bx-body > * + * { margin-top: .8em; }
.bx-body ul > li::before { background: var(--c); box-shadow: 0 0 8px rgba(var(--c-rgb), .5); }
.bx-body strong { color: var(--white); }

/* ── YouTube (Zwei-Klick-Lösung) ───────────────────────────── */
.yt { margin: 2.2em 0; }
.yt-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1d1d1d, #0a0a0a);
  border: 1px solid var(--border);
}
.yt-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.7) 100%);
  transition: background .2s;
}
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--green); color: #000; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(0,255,136,.14), 0 0 40px rgba(0,255,136,.55);
  transition: transform .2s, box-shadow .2s;
}
.yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt-frame:hover .yt-play { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 14px rgba(0,255,136,.16), 0 0 60px rgba(0,255,136,.7); }
.yt-hint {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-size: 11px; color: rgba(255,255,255,.72); padding: 0 16px;
  pointer-events: none;
}
.yt-hint::before {
  content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.yt-consent {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(0,0,0,.82); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
}
.yt-consent[hidden] { display: none; }
.yt-consent-box { max-width: 440px; text-align: center; }
.yt-consent-box strong {
  display: block; font-family: var(--font-h); font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 8px;
}
.yt-consent-box p { font-size: 13px; line-height: 1.6; color: var(--grey-light); margin-bottom: 18px; }
.yt-consent-box a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.yt-consent-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.yt figcaption { display: flex; justify-content: space-between; gap: 12px; text-align: left; align-items: baseline; }
.yt figcaption a {
  color: var(--grey-light); font-size: 12px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
}
.yt figcaption a:hover { color: var(--green); }
.yt figcaption svg { width: 12px; height: 12px; }
.yt-platzhalter .yt-frame { border-style: dashed; border-color: rgba(240,165,0,.5); display: grid; place-items: center; }
.yt-ph-text { color: var(--amber); font-size: 13px; font-weight: 600; text-align: center; padding: 20px; }

/* ── Teilen ────────────────────────────────────────────────── */
.post-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border);
}
.post-share > span {
  font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey); margin-right: 6px;
}
.post-share a, .post-share button {
  position: relative; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; cursor: pointer;
  background: var(--dark2); border: 1px solid var(--border); color: var(--grey-light);
  transition: color .15s, border-color .15s, box-shadow .2s, transform .15s;
}
.post-share svg { width: 17px; height: 17px; }
.post-share a:hover, .post-share button:hover {
  color: var(--green); border-color: rgba(0,255,136,.4); box-shadow: 0 0 14px rgba(0,255,136,.18); transform: translateY(-1px);
}
.share-copy-ok {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--green); color: #000; font-size: 10px; font-weight: 700; border-radius: 5px;
  padding: 3px 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.share-copy.is-copied .share-copy-ok { opacity: 1; }

/* ── Autor ─────────────────────────────────────────────────── */
.author-box {
  display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start;
  margin-top: 32px; padding: 26px; border-radius: 16px;
  background: var(--dark2); border: 1px solid var(--border);
}
.author-box img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(0,255,136,.45); box-shadow: 0 0 20px rgba(0,255,136,.15);
}
.author-label {
  font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 4px;
}
.author-name { font-family: var(--font-h); font-size: 18px; font-weight: 800; }
.author-role { font-size: 12px; color: var(--grey); margin-bottom: 10px; }
.author-box p { font-size: 13.5px; line-height: 1.7; color: var(--grey-light); margin-bottom: 12px; }
.author-more {
  font-family: var(--font-h); font-size: 12px; font-weight: 700; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.author-more:hover .arr { transform: translateX(3px); }
.author-more .arr { transition: transform .2s; }

/* ── CTA am Artikelende ────────────────────────────────────── */
.post-cta {
  --c: var(--green); --c-rgb: 0,255,136;
  position: relative; overflow: hidden;
  margin-top: 32px; padding: 40px; border-radius: 18px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(var(--c-rgb), .14), transparent 70%),
    var(--dark2);
  border: 1px solid rgba(var(--c-rgb), .3);
}
.post-cta .overline { color: var(--c); }
.post-cta h2 { font-size: 30px; font-weight: 900; letter-spacing: -1px; line-height: 1.12; margin-bottom: 12px; }
.post-cta p { font-size: 14.5px; line-height: 1.7; color: var(--grey-light); margin-bottom: 24px; max-width: 520px; }
.cta-amber  { --c: var(--amber);  --c-rgb: 240,165,0; }
.cta-teal   { --c: var(--teal);   --c-rgb: 0,229,196; }
.cta-violet { --c: var(--violet); --c-rgb: 200,146,255; }
.cta-orange { --c: var(--orange); --c-rgb: 255,107,53; }
.cta-lime   { --c: var(--lime);   --c-rgb: 232,255,58; }

/* ── Kommentare ────────────────────────────────────────────── */
.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-head h2 { font-size: 28px; font-weight: 900; letter-spacing: -.8px; margin-bottom: 6px; }
.comments-count { color: var(--grey); font-weight: 700; font-size: .7em; letter-spacing: 0; }
.comments-head p { font-size: 14px; color: var(--grey); margin-bottom: 28px; }
.comments-state { font-size: 13.5px; color: var(--grey); padding: 18px 20px; border: 1px dashed var(--border); border-radius: 12px; }
.comments-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.cmt-thread { display: flex; flex-direction: column; gap: 12px; }
.cmt {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 18px 20px; background: var(--dark2); border: 1px solid var(--border); border-radius: 14px;
  scroll-margin-top: 100px; transition: border-color .4s, box-shadow .4s;
}
.cmt--reply { margin-left: 40px; position: relative; }
.cmt--reply::before {
  content: ''; position: absolute; left: -22px; top: -12px; width: 14px; height: 38px;
  border-left: 1px solid #333; border-bottom: 1px solid #333; border-bottom-left-radius: 10px;
}
.cmt--autor { border-color: rgba(0,255,136,.28); background: linear-gradient(135deg, rgba(0,255,136,.05), var(--dark2) 60%); }
.cmt.is-target { border-color: var(--green); box-shadow: 0 0 22px rgba(0,255,136,.2); }
.cmt-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark3); border: 1px solid #333; color: var(--grey-light);
  font-family: var(--font-h); font-weight: 800; font-size: 15px; object-fit: cover;
}
img.cmt-avatar { border-color: rgba(0,255,136,.5); }
.cmt-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; }
.cmt-name { font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--white); }
.cmt-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #000; background: var(--green); border-radius: 5px; padding: 2px 7px;
}
.cmt-date { font-size: 11.5px; color: var(--grey); }
.cmt-text { font-size: 14.5px; line-height: 1.7; color: #d4d4d4; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmt-reply-btn {
  margin-top: 8px; background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-h); font-size: 11.5px; font-weight: 700; color: var(--grey);
  transition: color .15s;
}
.cmt-reply-btn:hover { color: var(--green); }

.comment-form {
  background: var(--dark2); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.cf-title { font-family: var(--font-h); font-size: 17px; font-weight: 800; }
.cf-reply-to {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 13px; color: var(--grey-light); background: rgba(0,255,136,.06);
  border: 1px solid rgba(0,255,136,.25); border-radius: 10px; padding: 10px 14px;
}
.cf-reply-to[hidden] { display: none; }
.cf-reply-to b { color: var(--green); }
.cf-reply-cancel { background: none; border: none; color: var(--grey); cursor: pointer; font-size: 12px; text-decoration: underline; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field > span { font-size: 12px; font-weight: 600; color: var(--grey-light); }
.cf-field em { font-style: normal; font-weight: 400; color: var(--grey); margin-left: 4px; }
.cf-field input, .cf-field textarea {
  background: #0d0d0d; border: 1px solid var(--border); border-radius: 10px; color: var(--white);
  font-family: var(--font-b); font-size: 14.5px; line-height: 1.6; padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .2s;
}
.cf-field textarea { resize: vertical; min-height: 130px; }
.cf-field input::placeholder { color: #555; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: rgba(0,255,136,.5); box-shadow: 0 0 14px rgba(0,255,136,.12); }
.cf-field .input-error { border-color: #ff6b6b; }
.cf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--grey-light); cursor: pointer; }
.cf-check input { accent-color: var(--green); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-note { font-size: 12px; line-height: 1.6; color: var(--grey); }
.cf-note a { color: var(--grey-light); text-decoration: underline; text-underline-offset: 2px; }
.comment-form .btn-primary { align-self: flex-start; }
.comment-form .btn-primary:disabled { opacity: .5; cursor: wait; }
.cf-msg { font-size: 13.5px; border-radius: 10px; padding: 12px 14px; }
.cf-msg.is-ok { color: var(--green); background: rgba(0,255,136,.07); border: 1px solid rgba(0,255,136,.3); }
.cf-msg.is-err { color: #ff8a8a; background: rgba(255,80,80,.07); border: 1px solid rgba(255,80,80,.3); }

/* ── Angebots-Kachel (Banner mit Produktbild) ──────────────── */
.cta-tile {
  --c: var(--green); --c-rgb: 0,255,136;
  position: relative; overflow: hidden; margin-top: 32px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--dark2); border: 1px solid rgba(var(--c-rgb), .32); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 20px 50px rgba(0,0,0,.45);
  transition: border-color .2s, box-shadow .25s;
}
.cta-tile:hover { border-color: rgba(var(--c-rgb), .6); box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 34px rgba(var(--c-rgb), .14); }
.cta-tile-img { position: relative; display: block; min-height: 100%; overflow: hidden; background: #000; }
.cta-tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cta-tile:hover .cta-tile-img img { transform: scale(1.04); }
.cta-tile-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--dark2) 100%);
}
.cta-tile-body { padding: 32px 32px 30px 20px; display: flex; flex-direction: column; justify-content: center; }
.cta-tile .overline { color: var(--c); margin-bottom: 10px; }
.cta-tile-title {
  font-family: var(--font-h); font-size: 26px; font-weight: 900; letter-spacing: -.8px; line-height: 1.12;
  color: var(--white); margin-bottom: 10px;
}
.cta-tile p { font-size: 14px; line-height: 1.65; color: var(--grey-light); margin-bottom: 14px; }
.cta-preis {
  font-family: var(--font-h); font-size: 13px; font-weight: 800; color: var(--c);
  margin-bottom: 18px; letter-spacing: .2px;
}
.cta-tile .btn-row { gap: 10px; }
.post-cta .cta-tile-title { font-size: 30px; margin-bottom: 12px; }
.prose .cta-tile, .prose .post-cta { margin: 2.4em 0; }
.prose .cta-tile a, .prose .post-cta a { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-amber, .prose a.btn-teal, .prose a.btn-violet,
.prose a.btn-lime, .prose a.btn-platin { color: #000; }
.prose a.btn-orange { color: #fff; }
.prose a.btn-secondary { color: var(--white); }
.prose .cta-tile p, .prose .post-cta p { margin-top: 0; }
.cta-tile--inline .cta-tile-title { font-size: 22px; }
.cta-platin { --c: var(--platin); --c-rgb: 180,197,212; }
.cta-green  { --c: var(--green);  --c-rgb: 0,255,136; }
.btn-platin {
  background: var(--platin); color: #000; font-family: var(--font-h); font-size: 12px; font-weight: 700;
  border: none; border-radius: 8px; padding: 11px 24px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: opacity .15s, box-shadow .18s, transform .18s;
}
.btn-platin:hover { opacity: .9; box-shadow: 0 0 20px rgba(180,197,212,.4); transform: translateY(-1px); }

/* Farbvarianten für Kacheln und Boxen (nach den Grundregeln, damit sie greifen) */
.cta-tile.cta-green,  .post-cta.cta-green  { --c: var(--green);  --c-rgb: 0,255,136; }
.cta-tile.cta-amber,  .post-cta.cta-amber  { --c: var(--amber);  --c-rgb: 240,165,0; }
.cta-tile.cta-teal,   .post-cta.cta-teal   { --c: var(--teal);   --c-rgb: 0,229,196; }
.cta-tile.cta-violet, .post-cta.cta-violet { --c: var(--violet); --c-rgb: 200,146,255; }
.cta-tile.cta-orange, .post-cta.cta-orange { --c: var(--orange); --c-rgb: 255,107,53; }
.cta-tile.cta-lime,   .post-cta.cta-lime   { --c: var(--lime);   --c-rgb: 232,255,58; }
.cta-tile.cta-platin, .post-cta.cta-platin { --c: var(--platin); --c-rgb: 180,197,212; }

/* ── Ähnliche Artikel ──────────────────────────────────────── */
.related-wrap { background: var(--dark); border-top: 1px solid var(--border); margin-top: 40px; }
.related { max-width: 1200px; margin: 0 auto; }
.related-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.related-head h2 { font-size: 30px; font-weight: 900; letter-spacing: -1px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .post-layout, .post-layout.no-toc { grid-template-columns: minmax(0, 720px); gap: 0; }
  .post-aside { display: none; }
  .toc-mobile {
    display: block; margin-bottom: 28px;
    background: var(--dark2); border: 1px solid var(--border); border-radius: 12px;
  }
  .toc-mobile summary {
    list-style: none; cursor: pointer; padding: 14px 18px;
    font-family: var(--font-h); font-size: 13px; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center;
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: '+'; color: var(--green); font-size: 18px; font-weight: 400; transition: transform .2s; }
  .toc-mobile[open] summary::after { transform: rotate(45deg); }
  .toc-mobile .toc { padding: 0 18px 14px; }
  .toc-mobile .toc-title { display: none; }
}

@media (max-width: 990px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card-img { aspect-ratio: 16 / 9; min-height: 0; }
  .post-card--featured .post-card-body { padding: 28px; }
  .post-card--featured h3 { font-size: 26px; }
  .blog-hero { padding-top: 56px; padding-bottom: 44px; }
  .blog-hero h2 { font-size: 42px; letter-spacing: -1.5px; }
  .post-hero { padding: 40px 24px 0; }
  .post-hero h1 { font-size: 38px; letter-spacing: -1.2px; }
  .post-cover { aspect-ratio: 16 / 9; }
  .post-cover--frei { aspect-ratio: auto; }
  .post-cover--frei img { max-height: 380px; }
  .post-layout { padding: 48px 24px 32px; }
}

@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-hero h2 { font-size: 34px; letter-spacing: -1px; }
  .blog-hero p { font-size: 15px; }
  .blog-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .blog-filter { min-width: 0; max-width: calc(100% + 32px); }
  .blog-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .blog-filter::-webkit-scrollbar { display: none; }
  .filter-pill { flex-shrink: 0; }
  .blog-search { min-width: 0; }
  .post-card--featured .post-card-body { padding: 22px; }
  .post-card--featured h3 { font-size: 22px; letter-spacing: -.5px; }
  .post-hero { padding: 32px 16px 0; }
  .post-hero h1 { font-size: 30px; letter-spacing: -.8px; }
  .post-lead { font-size: 15.5px; }
  .post-byline { margin-bottom: 28px; }
  .post-cover { border-radius: 12px; }
  .post-layout { padding: 36px 16px 24px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .prose h2 { font-size: 24px; letter-spacing: -.5px; }
  .prose h3 { font-size: 19px; }
  .prose blockquote { font-size: 20px; padding-left: 20px; }
  .bx { padding: 18px 18px; }
  .takeaways { padding: 20px; }
  .yt-play { width: 60px; height: 60px; }
  .yt-play svg { width: 24px; height: 24px; }
  .yt-hint { font-size: 10px; bottom: 10px; }
  .yt-consent-box strong { font-size: 15px; }
  .yt-consent-box p { font-size: 12px; margin-bottom: 12px; }
  .yt figcaption { flex-direction: column; gap: 4px; }
  .yt-frame.is-asking { aspect-ratio: auto; min-height: 250px; }
  .author-box { grid-template-columns: 1fr; text-align: left; padding: 22px; }
  .author-box img { width: 72px; height: 72px; }
  .post-cta { padding: 28px 22px; }
  .cta-tile { grid-template-columns: 1fr; }
  .cta-tile-img { min-height: 0; aspect-ratio: 16 / 9; }
  .cta-tile-img::after { background: linear-gradient(180deg, transparent 60%, var(--dark2) 100%); }
  .cta-tile-body { padding: 8px 22px 24px; }
  .cta-tile-title { font-size: 22px; }
  .post-cta h2 { font-size: 24px; }
  .related-head h2 { font-size: 24px; }
  .cf-row { grid-template-columns: 1fr; }
  .comment-form { padding: 20px; }
  .comments-head h2 { font-size: 24px; }
  .cmt { padding: 16px; gap: 12px; grid-template-columns: 34px 1fr; }
  .cmt-avatar { width: 34px; height: 34px; font-size: 13px; }
  .cmt--reply { margin-left: 20px; }
  .cmt--reply::before { left: -14px; width: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-card, .post-card-img img, .yt-play, .post-card-more .arr { transition: none; }
  .post-card:hover { transform: none; }
  .post-card:hover .post-card-img img { transform: none; }
}
