/* Beitragsseite – aus dem Entwurf single-post.html übernommen. */
/* ============================================
   ARTICLE HERO
   ============================================ */
.article-hero {
  background-color: var(--surface);
  background-image: var(--dot-texture);
  padding: 64px 0 0;
}
.article-hero-inner {
  max-width: 800px;
}
.article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-meta .meta-date {
  font-size: 0.82rem; color: var(--ink-soft); font-weight: 500;
}
.article-meta .meta-sep { color: var(--border); }
.article-meta .meta-author {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--ink-mid); font-weight: 500;
}
.author-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-light); border: 1px solid var(--border);
  overflow: hidden; flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  max-width: 740px;
}
.article-hero .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 680px;
  margin-bottom: 40px;
}
.article-hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-bottom: none;
  margin-top: 0;
}

/* ============================================
   ARTICLE BODY
   ============================================ */
.article-wrap {
  padding: 64px 0 96px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

/* ---- Prose ---- */
.article-body {
  max-width: 680px;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 1.4em;
}
.article-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin: 2em 0 0.6em;
  color: var(--ink);
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.6em 0 0.5em;
}
.article-body ul.prose-list {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.article-body ul.prose-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 0.4em;
}
.article-body blockquote {
  margin: 2em 0;
  padding: 20px 28px;
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article-body blockquote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--blue-dark);
  margin: 0;
}
.article-body .inline-img {
  width: 100%; height: 300px; object-fit: cover;
  border: 2px solid var(--border);
  margin: 1.6em 0;
}
.article-body .img-caption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: -1em;
  margin-bottom: 1.6em;
}
.article-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2.4em;
  padding-top: 1.6em; border-top: 1px solid var(--border);
}

/* ---- Sidebar ---- */
.article-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  border: 2px solid var(--border);
  background: var(--white);
  margin-bottom: 24px;
  transition: border-color 200ms, box-shadow 200ms;
}
.sidebar-card:hover { border-left: 4px solid var(--blue); box-shadow: var(--shadow-sm); }
.sidebar-card-head {
  padding: 16px 20px 0;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 0;
}
.sidebar-card-body { padding: 16px 20px 20px; }

.sidebar-author {
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.sidebar-author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--border); overflow: hidden; flex-shrink: 0;
}
.sidebar-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-author-name {
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 2px;
}
.sidebar-author-role { font-size: 0.8rem; color: var(--ink-soft); }
.sidebar-author-bio { font-size: 0.875rem; line-height: 1.6; color: var(--ink-mid); }

.related-post {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.related-post:last-child { border-bottom: none; padding-bottom: 0; }
.related-thumb {
  width: 64px; height: 48px; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--border);
}
.related-post-info { flex: 1; }
.related-post-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 3px; display: block; }
.related-post-title { font-size: 0.85rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.related-post-title:hover { color: var(--blue); }

.cta-box {
  background: var(--blue);
  padding: 24px;
  color: #fff;
}
.cta-box .eyebrow {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}
.cta-box h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cta-box p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin-bottom: 16px; }
.cta-box .btn-green { width: 100%; justify-content: center; }

/* ============================================
   RELATED POSTS SECTION
   ============================================ */
.related-section {
  padding: 80px 0;
  background-color: var(--surface);
  background-image: var(--dot-texture);
  border-top: 2px solid var(--border);
}
.related-section .section-head { margin-bottom: 40px; }
.related-section .section-head h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border: 2px solid var(--border);
  background: var(--white);
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
  display: flex; flex-direction: column;
}
.news-card:hover { border-left: 4px solid var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.news-card-date { font-size: 0.75rem; color: var(--ink-soft); margin-left: auto; }
.news-card-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.news-card-body p { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.55; flex: 1; margin-bottom: 16px; }
.news-card-link { font-size: 0.82rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }
.news-card-link:hover { color: var(--blue-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .header-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .article-hero { padding: 40px 0 0; }
  .article-hero h1 { font-size: 1.9rem; }
  .article-hero-img { height: 240px; }
  .article-wrap { padding: 40px 0 64px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

  