/* SteuerWende – Hauptstylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate:    #1a2332;
  --cream:    #f5f2eb;
  --red:      #c8102e;
  --midgray:  #6b7280;
  --lightgray:#e8e4da;
  --white:    #ffffff;
  --ink:      #1a1a1a;
  --gold:     #f0a500;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── TOPBAR ── */
.topbar {
  background: var(--slate);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.07em;
  padding: 7px 24px;
  text-align: center;
}
.topbar strong { color: var(--red); }
.topbar .sep { margin: 0 10px; opacity: 0.4; }

/* ── MASTHEAD ── */
header.masthead {
  background: var(--cream);
  border-bottom: 3px solid var(--slate);
  padding: 24px 0 16px;
}
.masthead-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.site-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  color: var(--slate);
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.site-title span { color: var(--red); }
.site-tagline {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--midgray);
}
nav.main-nav {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--lightgray);
  width: 100%;
  padding-top: 2px;
}
nav.main-nav a {
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
  padding: 9px 16px;
  transition: background 0.15s;
  text-decoration: none;
}
nav.main-nav a:hover { background: var(--slate); color: var(--cream); }

/* ── THESIS BANNER ── */
.thesis-banner {
  background: var(--slate);
  color: var(--cream);
  padding: 14px 24px;
  text-align: center;
}
.thesis-banner p {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Playfair Display', serif;
  font-size: clamp(14px, 1.8vw, 18px);
  font-style: italic;
}
.thesis-banner p strong { color: var(--gold); font-style: normal; }

/* ── HERO ── */
.hero-section { padding: 32px 0 24px; }
.hero-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--lightgray);
  background: var(--white);
  min-height: 380px;
}
.hero-img {
  min-height: 280px;
}
.hero-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--slate);
  line-height: 1.2;
}
.hero-content h2 a:hover { text-decoration: underline; }
.hero-content .deck { font-size: 15px; color: var(--midgray); line-height: 1.5; }
.hero-content .meta { font-size: 12px; color: #aaa; }

/* ── STAT STRIP ── */
.stat-strip { background: var(--slate); padding: 28px 0; margin: 4px 0 32px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
  color: var(--cream);
}
.stat-item:last-child { border-right: none; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { display: block; font-size: 12px; letter-spacing: 0.07em; color: rgba(255,255,255,0.6); margin-top: 4px; }
.stat-source { display: block; font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* ── ARTICLE GRID ── */
.article-grid-section { padding-bottom: 40px; }
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.section-divider .label { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 700; color: var(--slate); white-space: nowrap; }
.section-divider .line { flex: 1; height: 2px; background: var(--slate); }
.section-divider .line.thin { height: 1px; background: var(--lightgray); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--lightgray);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.09); }
.card-img { height: 150px; }
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.card-body h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--slate); line-height: 1.3; flex: 1; }
.card-body p { font-size: 13px; color: var(--midgray); line-height: 1.5; }
.card-meta { font-size: 11px; color: #aaa; display: flex; justify-content: space-between; border-top: 1px solid var(--lightgray); padding-top: 8px; margin-top: 4px; }

/* Category colors for card images */
.cat-wirtschaft { background: linear-gradient(135deg, #1a2332, #2d3748); }
.cat-politik    { background: linear-gradient(135deg, #2d1a1a, #1a2332); }
.cat-gesellschaft { background: linear-gradient(135deg, #1a1a3a, #2a1a3a); }
.cat-klima      { background: linear-gradient(135deg, #1a3a2a, #2d5016); }
.cat-sport      { background: linear-gradient(135deg, #1a2332, #3d1a1a); }
.cat-hintergrund { background: linear-gradient(135deg, #3a2a1a, #2a1a1a); }
.cat-meinung    { background: linear-gradient(135deg, #2a2a1a, #3a1a2a); }

/* ── ARTICLE PAGE ── */
.article-page { max-width: 740px; margin: 0 auto; padding: 32px 24px 60px; }
.article-header { background: var(--white); border: 1px solid var(--lightgray); padding: 32px; margin-bottom: 0; }
.article-header .container { max-width: 100%; padding: 0; }
.kicker { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--red); display: block; margin-bottom: 10px; }
.article-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: var(--slate); line-height: 1.2; margin-bottom: 12px; }
.article-header .deck { font-size: 17px; color: var(--midgray); line-height: 1.6; margin-bottom: 14px; }
.article-meta { font-size: 12px; color: #aaa; }
.article-meta .sep { margin: 0 8px; }

/* Daten-Highlight */
.daten-highlight { background: var(--slate); padding: 20px 32px; margin-bottom: 0; }
.daten-highlight .container { max-width: 100%; padding: 0; }
.dh-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.dh-zahl { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: var(--gold); line-height: 1; }
.dh-text { font-size: 16px; color: var(--cream); flex: 1; min-width: 200px; }
.dh-quelle { font-size: 11px; color: rgba(255,255,255,0.4); white-space: nowrap; }

/* Article body */
.article-body { padding: 28px 0; }
.article-body .container { max-width: 100%; padding: 0; }
.article-body p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; font-family: 'Source Sans 3', sans-serif; font-weight: 400; color: #2a2a2a; }
.article-body h2 { font-family: 'Source Sans 3', sans-serif; font-size: 21px; font-weight: 700; color: var(--slate); margin: 32px 0 12px; letter-spacing: -0.01em; }
.article-body strong { font-weight: 600; }
.article-body blockquote { border-left: 3px solid var(--red); padding: 14px 22px; margin: 28px 0; background: var(--white); }
.article-body blockquote p { font-style: italic; font-size: 19px; margin-bottom: 6px; font-family: 'Playfair Display', serif; font-weight: 400; color: var(--slate); }
.article-body blockquote cite { font-size: 12px; color: var(--midgray); font-style: normal; font-family: 'Source Sans 3', sans-serif; }

/* Sources */
.sources-box { background: var(--white); border: 1px solid var(--lightgray); border-left: 3px solid var(--slate); padding: 20px 24px; margin-top: 32px; }
.sources-box h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--midgray); margin-bottom: 12px; }
.sources-box ol { padding-left: 18px; font-size: 13px; color: var(--midgray); line-height: 1.9; font-family: 'Source Sans 3', sans-serif; }
.sources-box a { color: #185fa5; }

/* Tags & Share */
.article-footer { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--lightgray); margin-top: 8px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--lightgray); color: var(--slate); font-size: 11px; letter-spacing: 0.06em; padding: 4px 10px; font-family: 'Source Sans 3', sans-serif; }
.share { font-size: 13px; display: flex; gap: 12px; align-items: center; }
.share a { color: var(--red); font-weight: 600; }

/* ── FOOTER ── */
footer { background: var(--slate); color: rgba(255,255,255,0.5); padding: 36px 0 20px; margin-top: 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand .logo { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900; color: var(--cream); }
.footer-brand .logo span { color: var(--red); }
.footer-brand p { font-size: 13px; margin-top: 6px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; font-size: 13px; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-copy { font-size: 11px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-card { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px 0; }
  nav.main-nav a { padding: 8px 10px; font-size: 11px; }
}

/* ── INFOGRAFIK ── */
.infografik-wrap {
  background: white;
  border: 1px solid #e8e4da;
  border-left: 4px solid #c8102e;
  padding: 20px 24px;
  margin: 28px 0;
}

/* ── SVG CARD PREVIEW ── */
.card-svg {
  background: #ffffff;
  padding: 10px 12px 4px;
  overflow: hidden;
  height: auto !important;
  min-height: 160px;
  display: block;
  border-bottom: 1px solid var(--lightgray);
}
.card-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── HERO SVG ── */
.hero-svg {
  background: #ffffff;
  padding: 16px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-svg svg {
  width: 100%;
  height: auto;
  max-height: 320px;
}
