/* ═══════════════════════════════════════════════════════════════════
   blog.css — Gemeinsame Styles für Blog-Übersicht und Posts
   Miyassi-Dark, passend zur Landing Page.
   Einbinden: <link rel="stylesheet" href="/blog.css" /> (+ /fonts-miyassi.css)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens (Miyassi-Dark) ── */
:root {
  --canvas:      #110f0c;
  --surface:     #1a1610;
  --off:         #221c14;
  --off-deep:    #2c2418;
  --ink:         #f4efe5;
  --ink-mid:     #d9cdb8;
  --slate:       #b9ad95;
  --muted:       #a3987f;
  --subtle:      #847c6a;
  --rule:        rgba(214,193,150,0.13);
  --rule-md:     rgba(214,193,150,0.24);
  --accent:      #c9a24b;
  --accent-lt:   #e7cd8f;
  --accent-pale: rgba(201,162,75,0.13);
  --accent-rule: rgba(201,162,75,0.32);
  --pos:         #6cae87;
  --pos-pale:    rgba(108,174,135,0.14);
  --shadow-sm:   0 1px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 24px 60px -34px rgba(0,0,0,0.85);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'Jost', system-ui, sans-serif;
  --ff-disp:     'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Jost', system-ui, sans-serif;
  --max:         1240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Sichtbarer Keyboard-Fokus (nur bei Tastatur-Navigation, nicht bei Maus-Klick) */
:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: 2px; border-radius: 2px; }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}

/* Nav */
.nav {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--canvas) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 36% 30%, #2c2215 0%, #15110b 52%, #0a0805 100%);
  box-shadow: inset 0 0 0 1px rgba(231,205,143,0.30), inset 0 0 12px rgba(0,0,0,0.55), 0 3px 10px rgba(0,0,0,0.45);
}
.brand-mark::before {
  content: ''; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid var(--accent-rule); pointer-events: none;
}
.brand-mark svg { position: relative; z-index: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--ink-mid);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); font-weight: 500; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-text {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 9px 6px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.btn-text:hover { color: var(--accent); border-color: var(--accent-rule); }
.btn-primary {
  background: var(--accent);
  color: #1a1305;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--accent-lt); }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 24px; }
}

/* ── Footer ── */
footer.site {
  max-width: 1280px; margin: 0 auto; padding: 32px 56px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-mark { display: inline-flex; align-items: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ── Blog-Übersicht ── */
.blog-header { padding: 64px 56px 48px; max-width: 1280px; margin: 0 auto; }
.blog-header h1 {
  font-family: var(--font-display); font-size: clamp(38px, 4vw, 56px);
  font-weight: 400; letter-spacing: -0.022em; margin: 14px 0 12px;
}
.blog-header h1 em { font-style: italic; color: var(--ink-mid); }
.blog-header p { font-size: 17px; color: var(--slate); max-width: 540px; }

.post-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 56px 96px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.post-card {
  background: var(--surface); border: 1px solid var(--rule-md);
  border-radius: 16px; padding: 28px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--accent-rule); }
.post-card .card-tag {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
}
.post-card h2 {
  font-family: var(--font-display); font-size: 23px; font-weight: 500;
  line-height: 1.22; letter-spacing: -0.012em; color: var(--ink);
}
.post-card p { font-size: 14px; color: var(--slate); line-height: 1.6; flex: 1; }
.post-card .card-meta { font-size: 12px; color: var(--subtle); margin-top: 4px; }

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: 780px; margin: 0 auto; padding: 24px 0 0;
  font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: 0.4; }

/* ── Post-Layout ── */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 0 56px; }

.post-header { padding: 36px 0 40px; border-bottom: 1px solid var(--rule); margin-bottom: 48px; }
.post-header h1 {
  font-family: var(--font-display); font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 400; line-height: 1.12; letter-spacing: -0.022em;
  margin: 14px 0 18px;
}
.post-header h1 em { font-style: italic; color: var(--ink-mid); }
.post-meta { display: flex; gap: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Post-Body Typografie ── */
.post-body { padding-bottom: 64px; }

.post-body h2 {
  font-family: var(--font-display); font-size: 30px; font-weight: 500;
  letter-spacing: -0.015em; margin: 52px 0 16px; line-height: 1.2; color: var(--ink);
}
.post-body h3 {
  font-size: 17px; font-weight: 600; margin: 32px 0 10px; color: var(--ink-mid);
}
.post-body p { margin-bottom: 20px; font-size: 17px; line-height: 1.75; color: var(--slate); }
.post-body p:first-child { font-size: 18px; color: var(--ink); font-weight: 400; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--accent-lt); }
.post-body strong { color: var(--ink); font-weight: 600; }

.post-body ul, .post-body ol {
  margin: 0 0 20px 24px; font-size: 17px; line-height: 1.75; color: var(--slate);
}
.post-body li { margin-bottom: 6px; }

.post-body blockquote {
  margin: 36px 0; padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--accent-pale); border-radius: 0 8px 8px 0;
  font-size: 17px; color: var(--ink-mid); font-style: italic;
}

.post-body table {
  width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px;
}
.post-body th {
  text-align: left; padding: 10px 14px; background: var(--off);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--off-deep);
}
.post-body td { padding: 12px 14px; border-bottom: 1px solid var(--rule); color: var(--slate); }
.post-body tr:last-child td { border-bottom: none; }
.post-body tr:hover td { background: var(--off); }

/* ── Inline-CTA im Post ── */
.post-cta-box {
  margin: 48px 0; padding: 32px 36px;
  background: linear-gradient(135deg, #2a2114 0%, #1a160f 100%);
  border: 1px solid var(--accent-rule);
  border-radius: 16px; color: var(--ink);
}
.post-cta-box p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.post-cta-box h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 500;
  margin-bottom: 8px; color: var(--ink);
}
.post-cta-box .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #1a1305; text-decoration: none;
  font-size: 15px; font-weight: 500; padding: 12px 22px;
  border-radius: 8px; transition: background .2s;
}
.post-cta-box .cta-btn:hover { background: var(--accent-lt); }

/* ── Disclaimer ── */
.post-disclaimer {
  margin-top: 56px; padding: 16px 20px;
  border: 1px solid var(--rule-md); border-radius: 8px;
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
}

/* ── Theorie→App-Brücke (charmanter Callout in den Entscheidungs-Guides) ── */
.guide-bridge {
  margin: 22px 0; padding: 13px 18px;
  border-left: 3px solid var(--accent-rule);
  background: var(--accent-pale); border-radius: 6px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-mid);
}

/* ── Signatur-Diagramm (Inline-SVG, theme-konsistent) ── */
.chart-figure {
  margin: 32px 0;
  padding: 20px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--rule); border-radius: 12px;
}
.chart-figure svg { display: block; width: 100%; height: auto; }
.chart-figure figcaption {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
}
.chart-figure figcaption em { color: var(--subtle); font-style: italic; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-header { padding: 40px 20px 32px; }
  .post-grid { grid-template-columns: 1fr; padding: 0 20px 64px; }
  .post-wrap { padding: 0 20px; }
  footer.site { padding: 24px 20px; flex-direction: column; gap: 16px; text-align: center; }
}
