@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* ═══ CSS VARIABLES ═══ */
:root {
  --primary: #296DEB;
  --secondary: #2e2e2e;
  --tertiary: #757575;
  --base: #ffffff;
  --contrast: #000000;

  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-article: 'Inter', system-ui, sans-serif;

  --fs-xs: 0.868rem;
  --fs-sm: clamp(0.868rem, 0.868rem + ((1vw - 0.2rem) * 0.275), 1.042rem);
  --fs-md: clamp(1.042rem, 1.042rem + ((1vw - 0.2rem) * 0.329), 1.25rem);
  --fs-lg: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 0.395), 1.5rem);
  --fs-xl: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 0.474), 1.8rem);
  --fs-xxl: clamp(1.8rem, 1.8rem + ((1vw - 0.2rem) * 1.252), 2.592rem);
  --fs-huge: clamp(2.592rem, 2.592rem + ((1vw - 0.2rem) * 2.971), 4.479rem);

  --sp-20: 0.25rem;
  --sp-30: 0.5rem;
  --sp-40: 1rem;
  --sp-50: clamp(1.5rem, 2.24vw, 2rem);
  --sp-60: clamp(2rem, 3.36vw, 3rem);
}

/* ═══ RESET ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--base);
  color: var(--contrast);
  font-size: var(--fs-md);
  line-height: 1.4;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

/* ═══ HEADER ═══ */
.site-header {
  padding: var(--sp-50) var(--sp-60);
  text-align: center;
  border-bottom: 1px solid #eee;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.social-link.fb { background: #1877F2; }
.social-link.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.tt { background: #000; }
.social-link.x { background: #000; }

.site-title {
  font-family: var(--font-heading);
  font-size: var(--fs-huge);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.site-title a {
  color: var(--contrast);
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
}

.site-logo {
  width: 0.75em;
  height: 0.75em;
  flex-shrink: 0;
  transform: translateY(0.12em);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  flex-wrap: wrap;
}

/* ═══ MAIN CONTENT ═══ */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-60) var(--sp-60);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  margin-bottom: var(--sp-50);
}

/* ═══ FEATURED POST ═══ */
.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-50);
  margin-bottom: var(--sp-60);
  padding-bottom: var(--sp-60);
  border-bottom: 1px solid #eee;
}

.featured-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
}

.featured-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  position: relative;
}

.mini-chart {
  width: 80%;
  height: 60%;
  position: relative;
}

.mini-chart svg { width: 100%; height: 100%; }

.featured-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-content > div:first-child {
  align-self: flex-start;
}

.post-category {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.post-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-title a:hover { color: var(--primary); }

.post-excerpt {
  color: var(--tertiary);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-meta {
  font-size: var(--fs-xs);
  color: var(--tertiary);
}

.read-more {
  display: block;
  margin-top: 16px;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--contrast);
  padding: 10px 24px;
  border: 2px solid var(--contrast);
  border-radius: 0;
  transition: all 0.2s;
  text-align: center;
}

.read-more:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ═══ NEU BADGE ═══ */
.badge-neu {
  display: inline-block;
  background: #e84057;
  color: white;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-left: 8px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ═══ POST GRID ═══ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-50);
  margin-bottom: var(--sp-60);
}

.post-card {}

.post-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f0;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .post-category { margin-bottom: 4px; }

.post-card .post-title {
  font-size: var(--fs-xl);
  margin-bottom: 8px;
}

.post-card .post-meta {
  font-size: var(--fs-xs);
  color: var(--tertiary);
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--secondary);
  color: #ccc;
  padding: var(--sp-60);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-50);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: white;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  font-size: var(--fs-sm);
}

.footer-list li { margin-bottom: 8px; }
.footer-list a { color: #aaa; }
.footer-list a:hover { color: var(--primary); }

.newsletter-input {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #3a3a3a;
  color: white;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
}

.newsletter-input button {
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--sp-50);
  margin-top: var(--sp-50);
  border-top: 1px solid #444;
  text-align: center;
  font-size: var(--fs-xs);
  color: #777;
}

/* ═══ PAGE CONTENT (About, Impressum, Datenschutz) ═══ */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--sp-60) var(--sp-60) 80px;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  margin-bottom: var(--sp-50);
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  margin-top: var(--sp-50);
  margin-bottom: var(--sp-40);
}

.page-content p {
  margin-bottom: 20px;
  line-height: 1.75;
  color: #333;
}

.page-content a {
  color: var(--primary);
  text-decoration: underline;
}

.page-content ul, .page-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: #333;
}

.page-content li { margin-bottom: 8px; }

/* About page centered */
.about-center {
  text-align: center;
}

.about-center p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #e0e0e0;
  margin: 0 auto var(--sp-50);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══ ARTICLE DARK MODE (Wirtschaft) ═══ */
.article-dark {
  background: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
}

.article-dark .site-header {
  background: #0a0a0a;
  border-bottom: 1px solid #222;
}

.article-dark .site-header .site-title a { color: #fff; }
.article-dark .site-header .site-nav { color: #888; }
.article-dark .site-header .site-nav a:hover { color: #e84057; }
.article-dark .site-header .social-link.tt,
.article-dark .site-header .social-link.x { background: #333; }

.article-dark .site-footer { background: #111; }
.article-dark .site-footer .footer-bottom { border-top-color: #333; }

.article-dark .read-more {
  color: #fff;
  border-color: #fff;
}

.article-dark .read-more:hover {
  background: #e84057;
  border-color: #e84057;
}

/* Article body */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article .meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-family: var(--font-article);
}

.article h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: white;
  font-family: var(--font-article);
}

.article h1 span { color: #e84057; }

.article .subtitle {
  font-size: 20px;
  color: #999;
  margin-bottom: 40px;
  line-height: 1.5;
  font-family: var(--font-article);
}

.article h2 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-top: 56px;
  margin-bottom: 16px;
  font-family: var(--font-article);
}

.article h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ddd;
  margin-top: 32px;
  margin-bottom: 10px;
  font-family: var(--font-article);
}

.article p {
  margin-bottom: 20px;
  color: #ccc;
  font-family: var(--font-article);
  font-size: 17px;
  line-height: 1.75;
}

.article strong { color: white; font-weight: 700; }

.highlight { color: #e84057; font-weight: 700; }

.article ul, .article ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: #ccc;
  font-family: var(--font-article);
  font-size: 17px;
  line-height: 1.75;
}

.article li { margin-bottom: 8px; }

.divider {
  height: 1px;
  background: #222;
  margin: 48px 0;
}

/* Chart container */
.chart-container {
  background: #141418;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
  border: 1px solid #222;
}

.chart-title {
  font-size: 22px;
  font-weight: 800;
  color: #e84057;
  margin-bottom: 4px;
  font-family: var(--font-article);
}

.chart-subtitle {
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
  font-family: var(--font-article);
}

.chart-source {
  font-size: 11px;
  color: #555;
  margin-top: 12px;
  font-family: var(--font-article);
}

.chart-svg {
  width: 100%;
  height: auto;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 200px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 4px;
}

.bar {
  width: 100%;
  max-width: 36px;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}

.bar-label {
  font-size: 10px;
  color: #666;
  text-align: center;
  margin-top: 4px;
  font-family: var(--font-article);
}

.bar-value {
  font-size: 10px;
  color: #aaa;
  text-align: center;
  font-weight: 600;
  font-family: var(--font-article);
}

/* Callout Box */
.callout {
  background: linear-gradient(135deg, #1a1a24 0%, #1a1420 100%);
  border-left: 4px solid #e84057;
  border-radius: 8px;
  padding: 24px;
  margin: 28px 0;
}

.callout p { margin-bottom: 0; }
.callout strong { color: #e84057; }

/* Stat boxes */
.stat-row {
  display: flex;
  gap: 16px;
  margin: 28px 0;
}

.stat-box {
  flex: 1;
  background: #141418;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #222;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: #e84057;
  font-family: var(--font-article);
}

.stat-label {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
  font-family: var(--font-article);
}

/* Timeline */
.timeline {
  position: relative;
  margin: 32px 0;
  padding-left: 28px;
  border-left: 2px solid #333;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e84057;
  border: 2px solid #0a0a0a;
}

.timeline-year {
  font-size: 14px;
  font-weight: 800;
  color: #e84057;
  margin-bottom: 2px;
  font-family: var(--font-article);
}

.timeline-text {
  font-size: 15px;
  color: #aaa;
  font-family: var(--font-article);
  line-height: 1.6;
}

/* Energy grid */
.energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.energy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #1a1a1e;
  border-radius: 8px;
}

.energy-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.energy-label {
  font-size: 14px;
  color: #aaa;
  font-family: var(--font-article);
}

.energy-value {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-left: auto;
  font-family: var(--font-article);
}

/* Comparison boxes */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.compare-box {
  background: #141418;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #222;
}

.compare-box.danger {
  border-color: #e84057;
  background: linear-gradient(135deg, #141418, #1a1018);
}

.compare-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  font-family: var(--font-article);
}

.compare-list {
  list-style: none;
  font-size: 14px;
  color: #aaa;
  padding-left: 0;
  font-family: var(--font-article);
}

.compare-list li {
  padding: 4px 0;
}

.compare-list li::before {
  content: '\2192 ';
  color: #e84057;
}

/* Back link */
.back-link {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  color: #888;
  font-family: var(--font-article);
}

.back-link:hover { color: #e84057; }

/* ═══ ARTICLE BLUE MODE (Kultur) ═══ */
.article-blue {
  background: #0a1628;
  color: #d0d8e8;
  min-height: 100vh;
}

.article-blue .site-header {
  background: #0a1628;
  border-bottom: 1px solid #1a2a44;
}

.article-blue .site-header .site-title a { color: #fff; }
.article-blue .site-header .site-nav { color: #7090b8; }
.article-blue .site-header .site-nav a:hover { color: #296DEB; }
.article-blue .site-header .social-link.tt,
.article-blue .site-header .social-link.x { background: #1a2a44; }

.article-blue .site-footer { background: #06101e; }
.article-blue .site-footer .footer-bottom { border-top-color: #1a2a44; }

.article-blue .read-more {
  color: #fff;
  border-color: #fff;
}

.article-blue .read-more:hover {
  background: #296DEB;
  border-color: #296DEB;
}

.article-blue .article h1 { color: #fff; }
.article-blue .article h1 span { color: #296DEB; }
.article-blue .article h2 { color: #fff; }
.article-blue .article h3 { color: #c0cee0; }
.article-blue .article p { color: #b0bcd0; }
.article-blue .article strong { color: #fff; }
.article-blue .article .meta { color: #6080a8; }
.article-blue .article .subtitle { color: #7090b8; }

.article-blue .divider { background: #1a2a44; }

.article-blue .callout {
  background: linear-gradient(135deg, #0e1e38 0%, #0e1630 100%);
  border-left-color: #296DEB;
}

.article-blue .callout strong { color: #296DEB; }

.article-blue .chart-container {
  background: #0e1830;
  border-color: #1a2a44;
}

.article-blue .chart-title { color: #296DEB; }

.article-blue .stat-box {
  background: #0e1830;
  border-color: #1a2a44;
}

.article-blue .stat-number { color: #296DEB; }

.article-blue .timeline { border-left-color: #1a2a44; }
.article-blue .timeline-item::before {
  background: #296DEB;
  border-color: #0a1628;
}
.article-blue .timeline-year { color: #296DEB; }
.article-blue .timeline-text { color: #8098b8; }

.article-blue .highlight { color: #296DEB; }

.article-blue .back-link { color: #6080a8; }
.article-blue .back-link:hover { color: #296DEB; }

/* ═══ AUTHOR BOX ═══ */
.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.author-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.author-role {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #888;
}

.article-dark .author-name { color: #fff; }
.article-dark .author-role { color: #999; }
.article-blue .author-name { color: #fff; }
.article-blue .author-role { color: #7090b8; }

/* ═══ ARTICLE BW MODE (Politik) ═══ */
.article-bw {
  background: #fff;
  color: #111;
  min-height: 100vh;
}

.article-bw .article h1 { color: #000; }
.article-bw .article h1 span { color: #555; }
.article-bw .article h2 { color: #000; }
.article-bw .article h3 { color: #222; }
.article-bw .article p { color: #333; }
.article-bw .article strong { color: #000; }
.article-bw .article .meta { color: #888; }
.article-bw .article .subtitle { color: #666; }

.article-bw .divider { background: #ddd; }

.article-bw .back-link { color: #888; }
.article-bw .back-link:hover { color: #000; }

.article-bw .article blockquote {
  border-left-color: #999;
  background: #f5f5f5;
  color: #444;
}

/* Blockquote for articles */
.article blockquote {
  border-left: 4px solid #296DEB;
  padding: 20px 24px;
  margin: 28px 0;
  background: rgba(41, 109, 235, 0.08);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 18px;
  color: #c0cee0;
  line-height: 1.6;
  font-family: var(--font-article);
}

.article-dark .article blockquote {
  border-left-color: #e84057;
  background: rgba(232, 64, 87, 0.08);
  color: #ccc;
}

/* ═══ LIGHT MODE ARTICLES (Politik etc.) ═══ */
.article-light {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-light .article-header {
  margin-bottom: 32px;
}

.article-light .meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.article-light h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--contrast);
}

.article-light .subtitle {
  font-size: 1.1rem;
  color: var(--tertiary);
  line-height: 1.5;
  margin-bottom: 0;
}

.article-light .article-featured-image {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-light .article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-light .article-content {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.75;
  color: #333;
}

.article-light .article-content p {
  margin-bottom: 1.5em;
}

.article-light .article-content h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 400;
  margin: 2em 0 0.8em;
  color: var(--contrast);
}

.article-light .article-content strong {
  font-weight: 700;
  color: var(--contrast);
}

.article-light .article-content ul,
.article-light .article-content ol {
  margin: 0 0 1.5em 1.5em;
  color: #333;
}

.article-light .article-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.article-light .article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 1.5em 0;
  background-color: #f5f7fa;
  border-radius: 0 6px 6px 0;
  color: #555;
  font-style: italic;
}

.article-light .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.article-light .article-tags span {
  font-size: 0.78rem;
  padding: 5px 14px;
  background: #f0f0f0;
  border-radius: 20px;
  color: #666;
  font-weight: 500;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .featured-post { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-title { font-size: var(--fs-xxl); }
}

@media (max-width: 600px) {
  .article h1 { font-size: 28px; }
  .stat-row { flex-direction: column; }
  .compare { grid-template-columns: 1fr; }
  .energy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
