/* ── VARIABLES ── */
:root {
  --bg: #f5f0e8;
  --surface: #ffffff;
  --surface-warm: #fdf9f2;
  --yellow: #f5c500;
  --yellow-light: #fef9d9;
  --yellow-dark: #c9a000;
  --text: #1c1c1a;
  --text-soft: #5a5a52;
  --text-muted: #9a9a8e;
  --border: #e8e2d6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.11);
  --font: 'Plus Jakarta Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1rem; font-weight: 700; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-dot { width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; flex-shrink: 0; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-soft); font-size: 0.875rem;
  font-weight: 500; padding: 0.4rem 0.8rem; border-radius: 100px;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover { background: var(--surface); color: var(--text); }
.nav-links .nav-pill { background: var(--yellow); color: var(--text); font-weight: 600; }
.nav-links .nav-pill:hover { background: var(--yellow-dark); color: #fff; }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.25s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE DRAWER */
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(245,240,232,0.98); backdrop-filter: blur(16px);
  z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--text); font-size: 1.4rem; font-weight: 700;
  padding: 0.75rem 2.5rem; border-radius: 100px; transition: background 0.18s;
}
.mobile-menu a:hover { background: var(--yellow-light); }
.mobile-menu .mob-pill { background: var(--yellow); margin-top: 0.5rem; }

/* ── LAYOUT ── */
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem clamp(0.875rem, 3vw, 1.5rem) 3rem; }

/* ── BENTO GRID (Startseite) ── */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.875rem; }

/* TILE BASE */
.tile {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.tile-warm { background: var(--surface-warm); }

/* HERO */
.tile-hero {
  grid-column: 1 / 9; display: flex; gap: 1.75rem; align-items: center;
  background: var(--surface-warm); min-height: 280px; padding: 2rem;
}
.hero-photo {
  width: 200px; min-width: 200px; height: 256px;
  border-radius: var(--radius-sm); background: #ddd8ce; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: #b0a898; flex-shrink: 0;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-tags {
  font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.hero-tags span::after { content: ' · '; color: var(--yellow-dark); }
.hero-tags span:last-child::after { display: none; }
.hero-title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; margin-bottom: 0.875rem; }
.hero-desc { font-size: 0.9rem; color: var(--text-soft); max-width: 380px; margin-bottom: 1.5rem; line-height: 1.7; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 1.25rem; border-radius: 100px; font-family: var(--font);
  font-weight: 600; font-size: 0.875rem; cursor: pointer; border: none;
  text-decoration: none; transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}
.btn-yellow { background: var(--yellow); color: var(--text); }
.btn-yellow:hover { background: var(--yellow-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-soft); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--surface); color: var(--text); transform: translateY(-1px); }

/* STATS */
.tile-aside-col { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 0.875rem; }
.tile-fact {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04); flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tile-fact:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.tile-fact:first-child { background: var(--yellow-light); border: 1px solid #f0e090; }
.fact-num { font-size: 2.75rem; font-weight: 800; line-height: 1; margin-bottom: 0.3rem; }
.fact-num span { color: var(--yellow-dark); }
.fact-label { font-size: 0.82rem; color: var(--text-soft); line-height: 1.4; }

/* BOOK TILE */
.tile-book {
  grid-column: 8 / 13; background: var(--yellow);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px; gap: 1rem; padding: 1.75rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tile-book:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.book-badge {
  display: inline-flex; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(0,0,0,0.1); padding: 0.25rem 0.65rem;
  border-radius: 100px; margin-bottom: 0.5rem; width: fit-content;
}
.tile-book h2 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin-bottom: 0.4rem; }
.tile-book p { font-size: 0.84rem; opacity: 0.75; line-height: 1.5; margin-bottom: 1rem; }
.btn-book {
  background: var(--text); color: #fff; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 1.25rem; border-radius: 100px; font-family: var(--font);
  font-weight: 600; font-size: 0.875rem; text-decoration: none;
  transition: background 0.18s, transform 0.15s; width: fit-content;
}
.btn-book:hover { background: #333; transform: translateY(-1px); }

/* PROCESS */
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; padding-bottom: 0; }
.process-step:first-child { padding-top: 0; }
.step-icon {
  width: 36px; height: 36px; background: var(--yellow-light);
  border: 1.5px solid #f0e090; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem;
}
.step-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.step-desc { font-size: 0.84rem; color: var(--text-soft); line-height: 1.55; }

/* CONTACT */
.tile-contact {
  grid-column: 1 / 13; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.contact-icon { font-size: 2rem; margin-bottom: 0.4rem; }
.tile-contact h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.tile-contact p { font-size: 0.85rem; color: var(--text-soft); }
.contact-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

/* BLOG GRID */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; gap: 1rem; }
.section-header h2 { font-size: 1rem; font-weight: 700; }
.section-header a { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.section-header a:hover { color: var(--text); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.875rem; }
.blog-card {
  background: var(--surface-warm); border-radius: var(--radius-sm);
  padding: 1.1rem; text-decoration: none; color: inherit; display: block;
  border: 1px solid var(--border);
  transition: box-shadow 0.22s ease, transform 0.22s ease, background 0.18s;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); background: var(--surface); }
.blog-pill {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--yellow-dark); background: var(--yellow-light); border: 1px solid #f0e090;
  padding: 0.18rem 0.5rem; border-radius: 100px; display: inline-block; margin-bottom: 0.6rem;
}
.blog-card h3 { font-size: 0.875rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.4rem; }
.blog-card p { font-size: 0.8rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 0.75rem; }
.blog-meta { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* UTIL */
.tile-h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.tile-p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 0.875rem; }
.tile-p:last-child { margin-bottom: 0; }

/* ── ARTIKEL-SEITE ── */
.article-header {
  background: var(--surface-warm); border-radius: var(--radius);
  padding: clamp(1.25rem, 5vw, 2.5rem); margin-bottom: 0.875rem;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04);
}
.article-meta-top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.article-pill {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--yellow-dark);
  background: var(--yellow-light); border: 1px solid #f0e090;
  padding: 0.2rem 0.6rem; border-radius: 100px;
}
.article-read-time, .article-date { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.article-date::before { content: '·'; margin-right: 0.5rem; }
.article-title { font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 0.875rem; word-break: break-word; }
.article-subtitle { font-size: clamp(0.88rem, 2vw, 1rem); color: var(--text-soft); line-height: 1.65; margin-bottom: 1.5rem; }
.article-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: #ddd8ce; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.author-name { font-size: 0.875rem; font-weight: 700; }
.author-role { font-size: 0.75rem; color: var(--text-muted); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 0.875rem; align-items: start; }

.article-body {
  background: var(--surface); border-radius: var(--radius);
  padding: clamp(1.25rem, 5vw, 2.5rem);
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04);
  min-width: 0;
}

/* PROSE */
.prose h2 { font-size: clamp(1.1rem, 3vw, 1.3rem); font-weight: 800; margin: 1.75rem 0 0.75rem; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
.prose p { font-size: clamp(0.875rem, 2vw, 0.95rem); color: var(--text-soft); line-height: 1.8; margin-bottom: 0.875rem; }
.prose p:last-child { margin-bottom: 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }

.prose .callout {
  background: var(--yellow-light); border-left: 3px solid var(--yellow-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.875rem 1.1rem; margin: 1.25rem 0;
  font-size: clamp(0.85rem, 2vw, 0.9rem); color: var(--text); line-height: 1.65;
}

.prose figure { margin: 1.5rem 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.prose figure .fig-placeholder {
  background: linear-gradient(135deg, #ede7d5 0%, #e0d9c8 100%);
  height: clamp(140px, 25vw, 240px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; color: var(--text-muted);
}
.prose figure .fig-icon { font-size: 2rem; }
.prose figure .fig-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; padding: 0 1rem; }
.prose figcaption { background: var(--surface-warm); padding: 0.65rem 1rem; font-size: 0.78rem; color: var(--text-muted); border-top: 1px solid var(--border); line-height: 1.5; }

.prose .table-wrap { margin: 1.5rem 0; border-radius: var(--radius-sm); overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); }
.prose table { border-collapse: collapse; font-size: 0.85rem; min-width: 480px; width: 100%; }
.prose thead { background: var(--surface-warm); }
.prose th { padding: 0.65rem 0.875rem; text-align: left; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
.prose td { padding: 0.65rem 0.875rem; border-bottom: 1px solid var(--border); color: var(--text-soft); vertical-align: top; line-height: 1.45; }
.prose tr:last-child td { border-bottom: none; }
.prose tr:nth-child(even) td { background: var(--surface-warm); }
.td-label { font-weight: 600; color: var(--text) !important; }
.td-good { color: #2d7a3a !important; font-weight: 600; }
.td-bad  { color: #b84040 !important; font-weight: 600; }

.prose .code-block { margin: 1.5rem 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.code-header { background: #2a2a26; padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.code-lang { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #888880; }
.code-dots { display: flex; gap: 5px; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #febc2e; }
.code-dot:nth-child(3) { background: #28c840; }
pre { background: #1e1e1a; padding: 1.1rem 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0; }
code { font-family: 'Menlo', 'Monaco', 'Courier New', monospace; font-size: clamp(0.72rem, 1.5vw, 0.82rem); line-height: 1.7; color: #d4d0c0; white-space: pre; display: block; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; }
.sidebar-tile { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04); }
.sidebar-tile.warm { background: var(--surface-warm); }
.sidebar-tile.yellow { background: var(--yellow); }
.sidebar-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.875rem; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.toc-list a { text-decoration: none; font-size: 0.82rem; color: var(--text-soft); font-weight: 500; padding: 0.3rem 0.55rem; border-radius: 8px; display: block; transition: background 0.15s, color 0.15s; border-left: 2px solid transparent; }
.toc-list a:hover, .toc-list a.active { background: var(--bg); color: var(--text); border-left-color: var(--yellow-dark); font-weight: 600; }
.share-btns { display: flex; flex-direction: column; gap: 0.4rem; }
.share-btn { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--text); background: var(--bg); border: none; transition: background 0.18s; cursor: pointer; font-family: var(--font); width: 100%; text-align: left; }
.share-btn:hover { background: var(--border); }
.sidebar-tile.yellow .book-cta-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(0,0,0,0.1); padding: 0.2rem 0.55rem; border-radius: 100px; display: inline-block; margin-bottom: 0.65rem; }
.sidebar-tile.yellow h3 { font-size: 1rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.3rem; }
.sidebar-tile.yellow p { font-size: 0.78rem; opacity: 0.8; line-height: 1.5; margin-bottom: 0.875rem; }
.btn-book-sm { background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.5rem 1rem; border-radius: 100px; font-family: var(--font); font-weight: 600; font-size: 0.82rem; text-decoration: none; transition: background 0.18s; width: 100%; }
.btn-book-sm:hover { background: #333; }

/* RELATED */
.related-section { margin-top: 0.875rem; }
.related-tile { background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 1.75rem); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04); margin-bottom: 0.875rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.more-articles { background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 1.75rem); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04); }
.more-articles h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }
.article-linklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.article-linklist li { border-bottom: 1px solid var(--border); }
.article-linklist li:nth-child(odd)  { border-right: 1px solid var(--border); padding-right: 1.25rem; }
.article-linklist li:nth-child(even) { padding-left: 1.25rem; }
.article-linklist li:nth-last-child(-n+2) { border-bottom: none; }
.article-linklist a { display: flex; align-items: flex-start; gap: 0.6rem; text-decoration: none; color: var(--text); padding: 0.75rem 0; font-size: 0.85rem; font-weight: 600; line-height: 1.35; transition: color 0.18s; }
.article-linklist a:hover { color: var(--yellow-dark); }
.link-arrow { flex-shrink: 0; margin-top: 2px; font-size: 0.68rem; color: var(--yellow-dark); font-weight: 700; transition: transform 0.15s; }
.article-linklist a:hover .link-arrow { transform: translateX(3px); }
.link-category { display: block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.15rem; }

/* FOOTER */
footer {
  max-width: 1100px; margin: 0 auto;
  padding: 1.25rem clamp(0.875rem, 3vw, 1.5rem) 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-muted);
  flex-wrap: wrap; gap: 0.5rem; border-top: 1px solid var(--border);
}
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.18s; }
footer a:hover { color: var(--text); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TABLET ≤ 860px ── */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .tile-hero { grid-column: 1 / -1; }
  .tile-aside-col { grid-column: 1 / -1; flex-direction: row; }
  .tile-book { grid-column: 1 / -1; }
  .gc-1-8, .gc-1-7, .gc-7-13, .gc-1-13,
  [style*="grid-column: 1 / 8"], [style*="grid-column: 1 / 7"],
  [style*="grid-column: 7 / 13"], [style*="grid-column: 1 / 13"] { grid-column: 1 / -1 !important; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .tile-contact { flex-direction: column; align-items: flex-start; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-tile { flex: 1; min-width: 200px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-linklist { grid-template-columns: 1fr; }
  .article-linklist li:nth-child(odd)  { border-right: none; padding-right: 0; }
  .article-linklist li:nth-child(even) { padding-left: 0; }
  .article-linklist li { border-bottom: 1px solid var(--border); }
  .article-linklist li:last-child { border-bottom: none; }
  .article-linklist li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ── MOBILE ≤ 600px ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .tile-hero { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
  .hero-photo { width: 100%; min-width: unset; height: 220px; }
  .tile-aside-col { flex-direction: row; }
  .tile-fact { padding: 1.25rem; }
  .fact-num { font-size: 2.2rem; }
  .tile { padding: 1.25rem; }
  .tile-book { padding: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .tile-contact { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .sidebar { flex-direction: column; }
  .sidebar-tile { min-width: unset; width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}

/* ── GRID COLUMNS (ersetzt inline style="grid-column") ── */
.col-1-8  { grid-column: 1 / 8; }
.col-8-13 { grid-column: 8 / 13; }
.col-1-7  { grid-column: 1 / 7; }
.col-7-13 { grid-column: 7 / 13; }
.col-1-13 { grid-column: 1 / 13; }

/* BOOK SUBTITLE */
.book-subtitle {
  font-size: .82rem; font-weight: 600; margin-bottom: .3rem;
}

/* TILE H2 VARIANT mit mehr Abstand */
.tile-h2--spaced { margin-bottom: 1.5rem; }

/* ASO TILE */
.aso-inner {
  display: flex; flex-direction: column;
  height: 100%; justify-content: space-between;
}
.aso-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-muted); margin-bottom: .75rem;
}
.aso-number {
  font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: .4rem;
}
.aso-number span { color: var(--yellow-dark); }
.aso-conversion {
  font-size: 1rem; font-weight: 700; margin-bottom: .5rem;
}
.aso-desc {
  font-size: .875rem; color: var(--text-soft); line-height: 1.6;
}
.aso-cta { margin-top: 1.5rem; }

/* ── TABLET: col-* Klassen überschreiben ── */
@media (max-width: 860px) {
  .col-1-8, .col-8-13, .col-1-7, .col-7-13, .col-1-13 {
    grid-column: 1 / -1;
  }
}


/* ══════════════════════════════════════════
   PANDA-DIÄT ARTIKEL — Neue Komponenten
   Ans Ende von main.css anhängen
   ══════════════════════════════════════════ */

/* ── STATS ROW ── */
.panda-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  margin: 1.5rem 0;
}
.panda-stat {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}
.panda-stat--yellow {
  background: var(--yellow-light);
  border-color: #f0e090;
}
.panda-stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.panda-stat--yellow .panda-stat-num {
  color: var(--yellow-dark);
}
.panda-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 500;
}

/* ── BEFORE / AFTER COMPARISON ── */
.panda-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin: 1.5rem 0;
}
.panda-comparison-col {
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.panda-comparison-col--bad {
  background: #fff8f8;
  border-color: #f0d0d0;
}
.panda-comparison-col--good {
  background: #f4fbf4;
  border-color: #c0e0c0;
}
.panda-comparison-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
  color: var(--text-soft);
}
.panda-comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.panda-comparison-col--bad .panda-comparison-list li::before {
  content: '✗ ';
  color: #b84040;
  font-weight: 700;
}
.panda-comparison-col--good .panda-comparison-list li::before {
  content: '✓ ';
  color: #2d7a3a;
  font-weight: 700;
}
.panda-comparison-list li {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* ── DECISION BLOCK ── */
.decision-block {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 1.5rem 0;
}
.decision-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.decision-step:last-child { border-bottom: none; }
.decision-step:nth-child(even) { background: var(--surface-warm); }
.decision-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.decision-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.decision-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .panda-stats-row { grid-template-columns: 1fr 1fr 1fr; }
  .panda-comparison { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .panda-stats-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   MOBILE TOC – ans Ende von main.css anhängen
   (nach dem Panda-Diät Block)
   ══════════════════════════════════════════ */

/* Basis: mobile-toc standardmäßig versteckt */
.mobile-toc {
  display: none;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 0.875rem;
}
.mobile-toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

/* Desktop (≥ 861px): Sidebar-TOC sichtbar, mobile-toc weg */
@media (min-width: 861px) {
  .mobile-toc { display: none; }
  .sidebar-toc-tile { display: block; }
}

/* Tablet + Mobil (≤ 860px): mobile-toc einblenden, Sidebar-TOC weg */
@media (max-width: 860px) {
  .mobile-toc { display: block; }
  .sidebar-toc-tile { display: none !important; }
}



/* ══════════════════════════════════════════
   BLOG INDEX — Featured Card
   Ans Ende von main.css anhängen
   ══════════════════════════════════════════ */

.blog-card-featured {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.18s;
}
.blog-card-featured:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  background: var(--surface-warm);
}

.blog-card-featured-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.blog-card-featured-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.blog-card-featured-desc {
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.blog-card-featured-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--yellow-dark);
  display: inline-block;
  transition: transform 0.15s;
}
.blog-card-featured:hover .blog-card-featured-cta {
  transform: translateX(3px);
}

/* Placeholder cards etwas gedämpfter */
.blog-card--placeholder {
  opacity: 0.65;
  pointer-events: none;
}

/* Mobile ≤ 600px */
@media (max-width: 600px) {
  .blog-card-featured {
    padding: 1.25rem;
  }
}


/* artikel-ownership-vakuum – Tabellen-Status */
.td-good {
  color: #2d7a4f;
  font-weight: 600;
}

.td-bad {
  color: #c0392b;
  font-weight: 600;
}


/* ── Hebel-Signal-Block (technische-seo-entropie) ── */
.hebel-signal {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.25rem 0 1.5rem;
}

.hebel-signal-item {
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.125rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.hebel-signal-label {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.hebel-signal-item--erkennst {
  background: #f0faf2;
  border: 1px solid #b8dfc0;
  color: var(--text);
}

.hebel-signal-item--erkennst .hebel-signal-label {
  color: #2d7a3a;
}

.hebel-signal-item--fehler {
  background: #fdf3f2;
  border: 1px solid #f0c0ba;
  color: var(--text);
}

.hebel-signal-item--fehler .hebel-signal-label {
  color: #b84040;
}

@media (max-width: 860px) {
  .hebel-signal { margin: 1rem 0 1.25rem; }
}
