/* MyRocketPage – Blog Styles (Übersicht + Einzelbeitrag) – Dark Premium-Tech CD */

/* ---------- Blog-Header ---------- */
.blog-hero { position: relative; background: var(--e0); color: var(--tx-head); padding: 11rem 24px 4rem; overflow: hidden; border-bottom: 1px solid var(--hair); }
.blog-hero__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% -10%, rgba(124,140,248,0.16), transparent 60%); z-index: 0; }
.blog-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--hair2), transparent); z-index: 1; }
.blog-hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.blog-hero .eyebrow { font-family: 'Geist Mono', monospace; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo); }
.blog-hero h1 { font-family: 'Geist', sans-serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.08; color: var(--tx-peak); margin-top: 0.9rem; }
.blog-hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.blog-hero p { color: var(--tx-body); max-width: 60ch; margin-top: 1.1rem; font-size: 1.08rem; line-height: 1.6; }

/* ---------- Filter-Bar ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: var(--maxw); margin: 2.6rem auto 0; padding: 0 24px; }
.filter-btn { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--hair2); background: var(--e2); color: var(--tx-body); cursor: pointer; transition: all 0.25s var(--ease); }
.filter-btn:hover { border-color: var(--indigo); color: var(--tx-head); }
.filter-btn.active { background: var(--indigo); border-color: var(--indigo); color: #0A0A0F; }

/* ---------- Post-Grid ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: var(--maxw); margin: 2.6rem auto 0; padding: 0 24px 5rem; }
.post-card { display: flex; flex-direction: column; background: var(--e2); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; text-decoration: none; color: inherit; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: var(--hair2); }
.post-card__hero { aspect-ratio: 16/9; overflow: hidden; background: var(--e1); }
.post-card__hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__hero img { transform: scale(1.05); }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.85rem; }
.post-card__category { font-family: 'Geist Mono', monospace; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.04em; color: var(--indigo); border: 1px solid var(--indigo); border-radius: 6px; padding: 2px 9px; }
.post-card__date { color: var(--tx-mut); font-size: 0.8rem; }
.post-card__body h2 { font-family: 'Geist', sans-serif; font-weight: 650; font-size: 1.2rem; line-height: 1.3; color: var(--tx-head); margin-bottom: 0.5rem; }
.post-card__body p { color: var(--tx-body); font-size: 0.92rem; line-height: 1.55; flex: 1; }
.post-card__more { margin-top: 1rem; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--indigo); }
.post-card__more .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.post-card:hover .post-card__more .arrow { transform: translateX(4px); }
.blog-empty { max-width: var(--maxw); margin: 2rem auto; padding: 0 24px; color: var(--tx-mut); }

/* ---------- Einzelbeitrag ---------- */
.article-hero { position: relative; background: var(--e0); color: var(--tx-head); padding: 11rem 24px 3.5rem; overflow: hidden; border-bottom: 1px solid var(--hair); }
.article-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.3; }
.article-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,0.55), rgba(10,10,15,0.92)); z-index: 1; }
.article-hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: var(--tx-mut); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--indigo); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.article-hero__cat { font-family: 'Geist Mono', monospace; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--indigo); border: 1px solid var(--indigo); border-radius: 6px; padding: 2px 9px; }
.article-hero__date { color: var(--tx-mut); font-size: 0.85rem; }
.article-hero h1 { font-family: 'Geist', sans-serif; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--tx-peak); }
.article-hero__lead { color: var(--tx-body); font-size: 1.1rem; margin-top: 1rem; line-height: 1.6; }

.article-body { max-width: 760px; margin: 3rem auto; padding: 0 24px 2rem; }
.article-body h2 { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--tx-head); margin: 2.6rem 0 0.8rem; }
.article-body h3 { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 1.18rem; color: var(--tx-head); margin: 1.9rem 0 0.6rem; }
.article-body p { color: var(--tx-body); line-height: 1.8; margin-bottom: 1.1rem; font-size: 1.04rem; }
.article-body ul, .article-body ol { color: var(--tx-body); line-height: 1.8; margin: 0 0 1.2rem 1.2rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--tx-head); }
.article-body blockquote { border-left: 3px solid var(--indigo); background: var(--e2); padding: 1.1rem 1.4rem; margin: 1.6rem 0; border-radius: 0 12px 12px 0; color: var(--tx-head); font-style: italic; }
.article-body a { color: var(--indigo); }
.article-tags { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tags .tag { font-family: 'Geist Mono', monospace; font-size: 0.76rem; color: var(--tx-mut); background: var(--e2); border: 1px solid var(--hair); border-radius: 6px; padding: 3px 10px; }
.article-cta { max-width: 760px; margin: 3rem auto; padding: 2.6rem; background: var(--e2); border: 1px solid var(--hair2); border-radius: var(--radius); text-align: center; color: var(--tx-head); box-shadow: var(--glow); }
.article-cta h3 { font-family: 'Geist', sans-serif; color: var(--tx-peak); font-size: 1.5rem; margin-bottom: 0.6rem; }
.article-cta p { color: var(--tx-body); margin-bottom: 1.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .blog-hero { padding-top: 9rem; } .article-hero { padding-top: 9rem; } }
