/* Блог (/blog/ и статьи): светлый, спокойный, удобный для чтения. Каркас — layouts/Plain.astro. */
:root { --ink: #100F0C; --red: #D43C20; --muted: #6E6A63; --line: rgba(16,15,12,.1); --bg2: #F2F2F2; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
.b-wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.b-eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.b-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background .2s; }
.b-btn:hover { background: #b9321a; }

/* Kopfzeile */
.b-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.b-nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.b-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.b-menu { display: flex; align-items: center; gap: 24px; }
.b-menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.b-menu a[aria-current] { color: var(--red); }
.b-menu .b-menu__cta { padding: 9px 18px; border-radius: 6px; background: var(--ink); color: #fff; }
.b-menu .b-menu__cta:hover { background: var(--red); }

/* Übersicht */
.blog { padding: 64px 0 90px; }
.blog-intro { max-width: 720px; margin-bottom: 44px; }
.blog-intro h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; margin-bottom: 14px; }
.blog-intro h1 em { font-style: normal; color: var(--red); }
.blog-intro p { color: var(--muted); font-size: 1.1rem; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.blog-filter button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 16px; font: 600 .85rem 'Barlow', sans-serif; color: var(--ink); cursor: pointer; }
.blog-filter button.is-on, .blog-filter button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-empty { color: var(--muted); }
.blog-meta { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.blog-ph { display: grid; place-items: center; width: 100%; height: 100%; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.2rem; text-transform: uppercase; color: rgba(255,255,255,.9);
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%), linear-gradient(135deg, #D43C20, #8f2412); }

.blog-feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; margin-bottom: 28px; transition: box-shadow .2s, border-color .2s; }
.blog-feat:hover { border-color: var(--red); box-shadow: 0 20px 50px rgba(16,15,12,.08); }
.blog-feat__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.blog-feat__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-feat h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 10px 0 12px; }
.blog-feat p { color: var(--muted); margin-bottom: 18px; }
.blog-more { font-weight: 700; color: var(--red); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.blog-card__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.55rem; line-height: 1.1; transition: color .2s; }
.blog-card:hover h3 { color: var(--red); }
.blog-card p { color: var(--muted); font-size: .95rem; }
[hidden] { display: none !important; }

.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 32px 36px; border-radius: 16px; background: var(--ink); color: #fff; }
.blog-cta h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 1.05; margin-bottom: 6px; }
.blog-cta p { color: rgba(255,255,255,.65); }

/* Artikel */
.b-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform-origin: left; transform: scaleX(0); z-index: 60; }
.post { max-width: 740px; margin: 0 auto; }
.post-back { display: inline-block; margin-bottom: 26px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.post-back:hover { color: var(--red); }
.post h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; margin: 12px 0 16px; }
.post-lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; }
.post-cover { width: 100%; border-radius: 14px; margin-bottom: 32px; }
.post-body { font-size: 1.08rem; line-height: 1.75; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 1.1; margin-top: 1.9em; }
.post-body h3 { font-size: 1.2rem; margin-top: 1.5em; }
.post-body a { color: var(--red); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .4em; }
.post-body blockquote { border-left: 3px solid var(--red); padding: 4px 0 4px 20px; font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.post-body strong { font-weight: 700; }
.post-author { display: flex; align-items: center; gap: 16px; margin-top: 56px; padding: 22px; border-radius: 14px; background: var(--bg2); }
.post-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--red); flex-shrink: 0; }
.post-author div { flex: 1; } .post-author b { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; }
.post-author span { font-size: .9rem; color: var(--muted); }
.post-next { display: block; max-width: 740px; margin: 28px auto 0; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-next span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.post-next b { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; }
.post-next:hover b { color: var(--red); }

/* Footer */
.b-foot { background: #0a0a09; color: rgba(255,255,255,.55); font-size: .85rem; padding: 24px 0; }
.b-foot .b-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.b-foot a { color: #fff; text-decoration: none; }

@media (max-width: 900px) {
  .blog-feat { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .b-menu { gap: 14px; } .b-menu a:first-child { display: none; }
  .blog { padding: 40px 0 70px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .post-author { flex-wrap: wrap; }
}
.b-nav__in .sm-btn { margin-left: 16px; }
@media (max-width: 640px) { .b-menu a[aria-current] { display: none; } }
/* Impressum / Datenschutz */
.legal-note { padding: 14px 18px; border-left: 3px solid var(--red); background: var(--bg2); color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.legal-date { color: var(--muted); font-size: .9rem; margin-top: 2em; }
.b-foot a + a, .legal-links a { white-space: nowrap; }
