/* sigeAssist · Blog — minimalistische, lesefokussierte Styles (nutzt landing.css Tokens/Nav/Footer/Buttons). */

/* Aktiver Nav-Link */
.nav-links a.active { color: var(--accent); background: var(--accent-faint); }

/* ── Kopf ── */
.blog-head { padding: 60px 0 30px; }
.blog-head .eyebrow { margin-bottom: 18px; }
.blog-head h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; max-width: 760px; }
.blog-head p { font-size: 18px; color: var(--t3); margin-top: 16px; max-width: 620px; text-wrap: pretty; }

/* Suche + Kategorien */
.blog-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 8px 0 36px; border-bottom: 1px solid var(--bd); margin-bottom: 40px; }
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-filter a { font-size: 13.5px; font-weight: 600; color: var(--t3); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bd); background: var(--surface); transition: .14s; }
.cat-filter a:hover { border-color: var(--bd-md); color: var(--t1); }
.cat-filter a.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.blog-search { display: flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid var(--bd); border-radius: 999px; background: var(--surface); min-width: 230px; }
.blog-search .ic { color: var(--t4); font-size: 17px; }
.blog-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: 14px; color: var(--t1); flex: 1; }

/* ── Featured ── */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; margin-bottom: 56px; }
.featured .cover { aspect-ratio: 16/10; border-radius: 18px; position: relative; overflow: hidden; background: var(--grad); box-shadow: var(--sh2); }
.featured .cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 80% at 80% 10%, rgba(255,255,255,.22), transparent 60%); }
.featured .cover .glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92); font-size: 64px; }
.featured .cover .ftag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--accent-dk); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.post-meta { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; color: var(--t4); font-weight: 600; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ic { font-size: 15px; }
.featured h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.025em; margin: 14px 0 0; line-height: 1.15; }
.featured h2 a:hover { color: var(--accent); }
.featured .excerpt { font-size: 16px; color: var(--t3); margin-top: 14px; line-height: 1.6; }
.read-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--accent); font-size: 15px; margin-top: 18px; }
.read-link:hover { gap: 11px; }
.read-link .ic { font-size: 17px; transition: transform .14s; }

/* ── Post-Grid ── */
.section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--t4); margin-bottom: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 36px; }
.post { display: flex; flex-direction: column; padding-bottom: 26px; border-bottom: 1px solid var(--bd); }
.post .ptag { align-self: flex-start; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-2-dk); background: var(--accent-2-faint); border: 1px solid var(--accent-2-pale); padding: 3px 9px; border-radius: 6px; margin-bottom: 13px; }
.post h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.post h3 a:hover { color: var(--accent); }
.post .excerpt { font-size: 14.5px; color: var(--t3); margin-top: 10px; line-height: 1.6; flex: 1; }
.post .post-meta { margin-top: 16px; }

/* ── Bilder / Thumbnails ── */
.featured .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post .thumb { display: block; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; margin-bottom: 16px; box-shadow: var(--sh1); background: var(--surface-2); }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post .thumb:hover img { transform: scale(1.04); }
.rel-card .thumb { display: block; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--surface-2); }
.rel-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cover-wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Newsletter ── */
.news-band { margin: 64px 0 80px; }
.news-band .cta-band { padding: 56px 40px 52px; }
.news-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 28px auto 0;
  padding: 6px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15,50,114,.12);
}
.news-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 12px;
  border: none;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--t1);
  background: #fff;
  outline: none;
}
.news-form input::placeholder { color: var(--t4); }
.news-form input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.news-form .btn { flex-shrink: 0; white-space: nowrap; min-height: 48px; padding-inline: 22px; }
.news-band .micro { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 16px; line-height: 1.5; }

@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; gap: 22px; }
  .post-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .blog-head { padding: 40px 0 24px; }
  .blog-head h1 { font-size: clamp(28px, 8vw, 36px); }
  .blog-head p { font-size: 16px; }
  .blog-tools { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 28px; margin-bottom: 32px; }
  .blog-search { min-width: 0; width: 100%; }
  .cat-filter { width: 100%; }
  .news-band { margin-bottom: 56px; }
  .news-band .cta-band { padding: 44px 20px 40px; }
  .news-form { flex-direction: column; max-width: none; padding: 8px; }
  .news-form .btn { width: 100%; }
}

/* ═══════════ ARTIKEL ═══════════ */
.article-layout { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; gap: 40px; padding: 40px 0 20px; }
.article-layout > .article { grid-column: 2; }
.toc { grid-column: 3; position: sticky; top: 100px; align-self: start; max-width: 240px; }
.toc .t { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--t4); margin-bottom: 14px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-left: 2px solid var(--bd); }
.toc a { font-size: 13.5px; color: var(--t3); padding-left: 14px; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.4; display: block; }
.toc a:hover { color: var(--accent); border-left-color: var(--accent-pale); }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--t4); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--bd-md); }
.breadcrumb [aria-current] { color: var(--t2); font-weight: 600; }

.article-head .ptag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-2-dk); background: var(--accent-2-faint); border: 1px solid var(--accent-2-pale); padding: 4px 11px; border-radius: 7px; }
.article-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 16px 0 0; }
.article-head .lead { font-size: 19px; color: var(--t3); margin-top: 18px; line-height: 1.55; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 13px; margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.byline .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.byline .who { font-size: 14.5px; font-weight: 700; color: var(--t1); }
.byline .who address { font-style: normal; display: inline; }
.byline .det { font-size: 13px; color: var(--t4); margin-top: 2px; }
.byline .det span { display: inline-flex; align-items: center; gap: 5px; }
.byline .share { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--t3); border: 1px solid var(--bd); border-radius: 10px; padding: 8px 13px; background: var(--surface); cursor: pointer; }
.byline .share:hover { border-color: var(--bd-md); color: var(--t1); }

.cover-wide { aspect-ratio: 21/9; border-radius: 18px; background: var(--grad); position: relative; overflow: hidden; margin-bottom: 36px; box-shadow: var(--sh2); }
.cover-wide::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 78% 8%, rgba(255,255,255,.22), transparent 60%); }
.cover-wide .glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 60px; }

/* Prose */
.prose { font-size: 17px; line-height: 1.75; color: var(--t2); }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--t1); margin-top: 44px; scroll-margin-top: 96px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--t1); margin-top: 32px; scroll-margin-top: 96px; }
.prose p { margin: 0; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent-pale); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { padding-left: 4px; }
.prose strong { color: var(--t1); font-weight: 700; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 21px; font-weight: 600; color: var(--t1); line-height: 1.45; letter-spacing: -0.01em; }
.callout { background: var(--accent-faint); border: 1px solid var(--accent-pale); border-radius: 14px; padding: 20px 22px; display: flex; gap: 14px; }
.callout .ic { color: var(--accent); font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.callout .ct { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dk); margin-bottom: 6px; }
.callout p { font-size: 15.5px; color: var(--t2); line-height: 1.6; margin: 0; }
.law-ref { font-size: 13.5px; color: var(--t4); font-weight: 600; background: var(--surface-2); border: 1px solid var(--bd); border-radius: 8px; padding: 3px 9px; font-variant-numeric: tabular-nums; }

.article-foot { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--bd); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-foot .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-foot .tags a { font-size: 13px; font-weight: 600; color: var(--t3); background: var(--surface-2); border: 1px solid var(--bd); padding: 6px 12px; border-radius: 999px; }
.article-foot .tags a:hover { color: var(--accent); border-color: var(--accent-pale); }

/* Related */
.related { margin-top: 64px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rel-card { padding: 22px; border: 1px solid var(--bd); border-radius: 16px; background: var(--surface); transition: .16s; display: flex; flex-direction: column; box-shadow: var(--sh1); }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--sh2); border-color: var(--accent-pale); }
.rel-card .ptag { align-self: flex-start; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-2-dk); background: var(--accent-2-faint); border: 1px solid var(--accent-2-pale); padding: 2px 8px; border-radius: 6px; margin-bottom: 12px; }
.rel-card h4 { font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--t1); }
.rel-card .m { font-size: 12.5px; color: var(--t4); margin-top: 12px; font-weight: 600; }

@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; padding: 30px 0 10px; }
  .article-layout > .article { grid-column: 1; max-width: 720px; margin: 0 auto; }
  .toc { display: none; }
}
@media (max-width: 720px) {
  .related-grid { grid-template-columns: 1fr; }
}
