/* ===========================================================
   Blog-Styles
   =========================================================== */

.blog-hero {
  background: linear-gradient(180deg, #EAF1FA 0%, #fff 100%);
  padding: 80px 0 48px;
  border-bottom: 1px solid #E1E7EA;
}
.blog-hero .container { max-width: 900px; }
.blog-hero .kicker {
  color: var(--petrol-accent, #2F6FBF);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  display: inline-block; margin-bottom: 12px;
}
.blog-hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 0 0 14px; }
.blog-hero p  { font-size: 18px; color: #4b5563; max-width: 640px; }

.blog-list { padding: 56px 0 96px; }
.blog-empty { text-align: center; padding: 60px 0; color: #6b7280; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.post-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.post-card-inner { display: block; color: inherit; text-decoration: none; }
.post-card .cover { aspect-ratio: 16 / 9; overflow: hidden; background: #f3f4f6; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 20px 22px 24px; }
.post-card time { font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; }
.post-card h2, .post-card h3 { font-size: 20px; line-height: 1.3; margin: 8px 0 8px; color: #111827; }
.post-card p { color: #4b5563; font-size: 15px; line-height: 1.5; margin: 0 0 12px; }
.post-card .read-more { font-size: 14px; font-weight: 600; color: var(--petrol-accent, #2F6FBF); }

.post-card.featured {
  grid-column: 1 / -1;
}
.post-card.featured .post-card-inner { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card.featured .cover { aspect-ratio: auto; height: 100%; min-height: 280px; }
.post-card.featured .body { padding: 36px 40px; align-self: center; }
.post-card.featured h2 { font-size: 28px; }

@media (max-width: 720px) {
  .post-card.featured .post-card-inner { grid-template-columns: 1fr; }
  .post-card.featured .cover { aspect-ratio: 16 / 9; min-height: 0; }
  .post-card.featured .body { padding: 22px; }
  .post-card.featured h2 { font-size: 22px; }
}

/* --- Einzelpost --- */
.container.narrow { max-width: 760px; }

.post-header { padding: 56px 0 28px; background: #fff; }
.post-header .breadcrumb { font-size: 13px; color: #9ca3af; margin-bottom: 18px; }
.post-header .breadcrumb a { color: #6b7280; text-decoration: none; }
.post-header .breadcrumb a:hover { color: var(--petrol-accent, #2F6FBF); }
.post-header h1 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.2; margin: 0 0 18px; color: #0f172a; }
.post-header .meta { font-size: 14px; color: #6b7280; }
.post-header .meta .sep { margin: 0 6px; color: #d1d5db; }

.post-cover {
  margin: 0 auto 32px;
  max-width: 1100px;
  padding: 0 24px;
}
.post-cover img { width: 100%; height: auto; border-radius: 12px; display: block; }

.post-body { padding: 12px 0 64px; background: #fff; }
.post-body .container { font-size: 17px; line-height: 1.75; color: #1f2937; }
.post-body h2 { font-size: 26px; margin: 40px 0 14px; line-height: 1.3; color: #0f172a; }
.post-body h3 { font-size: 21px; margin: 32px 0 10px; line-height: 1.35; color: #0f172a; }
.post-body h4 { font-size: 18px; margin: 24px 0 8px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 24px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--petrol-accent, #2F6FBF); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; display: block; }
.post-body figure { margin: 28px 0; }
.post-body figcaption { font-size: 13px; color: #6b7280; text-align: center; margin-top: 8px; }
.post-body blockquote {
  margin: 28px 0; padding: 16px 22px; border-left: 4px solid var(--petrol-accent, #2F6FBF);
  background: #EAF1FA; color: #374151; font-style: italic; border-radius: 0 8px 8px 0;
}
.post-body code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 14px; font-family: ui-monospace, "SF Mono", monospace; }
.post-body pre { background: #0f172a; color: #f1f5f9; padding: 18px 22px; border-radius: 10px; overflow-x: auto; margin: 24px 0; }
.post-body pre code { background: transparent; padding: 0; color: inherit; }
.post-body hr { border: 0; border-top: 1px solid #e5e7eb; margin: 36px 0; }

.post-footer { padding: 24px 0 80px; background: #fff; }
.cta-box {
  background: #EAF1FA; border: 1px solid #E1E7EA; border-radius: 14px;
  padding: 32px 32px; text-align: center;
}
.cta-box h3 { margin: 0 0 8px; font-size: 22px; }
.cta-box p { margin: 0 0 18px; color: #4b5563; }

.related { padding: 56px 0 96px; background: #fafafa; border-top: 1px solid #ececec; }
.related h2 { font-size: 22px; margin: 0 0 28px; text-align: center; }
