/* ============================================================
   journal.css — Journal-spezifische Styles
   Aufsatz auf Hauptseiten-CSS (base.css + components.css).
   Farben/Tokens/Fonts kommen aus :root der Hauptseite.
   ============================================================ */

/* Logo-Sub "journal" neben dem Hauptlogo */
.lp-logo-sub {
  color: var(--lp-text-dim);
  font-weight: 400;
  font-size: 14px;
  margin-left: 4px;
}

/* ============================================================
   Index-Seite
   ============================================================ */
.journal-hero {
  background: var(--lp-bg-1);
  padding: 120px 24px 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.journal-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,101,45,.08) 0%, transparent 70%);
  pointer-events: none;
}
.journal-hero-inner {
  max-width: var(--lp-narrow);
  margin: 0 auto;
  position: relative;
}
.journal-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 18px;
}
.journal-hero h1 {
  font-family: var(--font-header);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--lp-white);
  margin-bottom: 16px;
}
.journal-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--lp-text-main);
  max-width: 620px;
  margin: 0 auto;
}

.post-grid {
  background: var(--lp-bg-1);
  padding: 70px 24px 100px;
}
.post-grid-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 720px) { .post-list { grid-template-columns: 1fr; } }

.post-card {
  background: var(--lp-bg-2);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: var(--lp-border-h);
  transform: translateY(-2px);
}
.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.post-card-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--lp-bg-3) 0%, var(--lp-bg-1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-accent);
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}
.post-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--lp-text-dim);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.post-card-category {
  color: var(--lp-accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.post-card h2 {
  font-family: var(--font-header);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--lp-white);
  letter-spacing: -0.2px;
}
.post-card h2 a {
  color: inherit;
  text-decoration: none;
}
.post-card h2 a:hover { color: var(--lp-accent); }
.post-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--lp-text-main);
  margin: 0 0 16px;
}
.read-more {
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-accent);
  letter-spacing: 0.5px;
  margin-top: auto;
  text-decoration: none;
}
.read-more:hover { color: var(--lp-accent-h); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--lp-bg-2);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
}
.empty-state h2 {
  font-family: var(--font-header);
  color: var(--lp-white);
  font-size: 24px;
  margin-bottom: 10px;
}
.empty-state p { color: var(--lp-text-main); }

/* ============================================================
   Einzelne Post-Seite
   ============================================================ */
.post-header {
  background: var(--lp-bg-1);
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.post-header::before {
  content: '';
  position: absolute;
  top: -120px; left: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,101,45,.08) 0%, transparent 70%);
  pointer-events: none;
}
.post-header-inner {
  max-width: var(--lp-narrow);
  margin: 0 auto;
  position: relative;
}
.post-header .eyebrow {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 18px;
}
.post-header h1 {
  font-family: var(--font-header);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--lp-white);
  margin-bottom: 20px;
}
.post-header-excerpt {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--lp-text-main);
  margin-bottom: 22px;
}
.post-header-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--lp-text-dim);
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.post-header-meta span { position: relative; }
.post-header-meta span + span::before {
  content: '·';
  margin-right: 14px;
  color: var(--lp-border-h);
  position: absolute;
  left: -16px;
}
.post-header-meta .post-card-category { color: var(--lp-accent); font-weight: 700; }

.post-hero-image {
  background: var(--lp-bg-1);
  padding: 0 24px 40px;
}
.post-hero-image img {
  max-width: var(--lp-narrow);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  display: block;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  background: var(--lp-bg-2);
}

.post-content-wrap {
  background: var(--lp-bg-1);
  padding: 40px 24px 70px;
}
.post-content {
  max-width: var(--lp-narrow);
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--lp-text-main);
}

/* TL;DR-Block */
.post-content .tldr {
  background: rgba(232, 101, 45, .06);
  border-left: 3px solid var(--lp-accent);
  padding: 22px 26px;
  border-radius: var(--lp-radius);
  margin-bottom: 40px;
}
.post-content .tldr p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--lp-white);
}
.post-content .tldr p strong {
  color: var(--lp-accent);
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-block;
  margin-right: 8px;
}

/* Artikel-Typography */
.post-content h2 {
  font-family: var(--font-header);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lp-white);
  margin: 2.4em 0 0.7em;
  letter-spacing: -0.3px;
}
.post-content h3 {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 600;
  color: var(--lp-white);
  margin: 1.8em 0 0.5em;
}
.post-content p {
  margin: 0 0 1.2em;
}
.post-content a {
  color: var(--lp-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.post-content a:hover { color: var(--lp-accent-h); }
.post-content strong {
  font-weight: 700;
  color: var(--lp-white);
}
.post-content em { font-style: italic; }
.post-content blockquote {
  border-left: 3px solid var(--lp-accent);
  padding: 8px 0 8px 22px;
  margin: 1.8em 0;
  color: var(--lp-white);
  font-family: var(--font-header);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}
.post-content blockquote p { margin: 0; }
.post-content ul, .post-content ol {
  margin: 0 0 1.2em 1.6em;
}
.post-content li { margin-bottom: 0.5em; }
.post-content hr {
  border: 0;
  border-top: 1px solid var(--lp-border);
  margin: 2.6em 0;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--lp-radius);
  margin: 1.5em 0;
  border: 1px solid var(--lp-border);
}

.post-footer {
  background: var(--lp-bg-1);
  padding: 0 24px 60px;
  text-align: center;
}
.back-link {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text-dim);
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid var(--lp-border);
  padding: 10px 20px;
  border-radius: var(--lp-radius);
  transition: color .2s, border-color .2s;
}
.back-link:hover {
  color: var(--lp-accent);
  border-color: var(--lp-border-h);
}

/* CTA-Block am Artikel-Ende (analog lp-final) */
.post-cta {
  background: var(--lp-bg-2);
  padding: 70px 24px;
  text-align: center;
  border-top: 1px solid var(--lp-border);
}
.post-cta-inner {
  max-width: var(--lp-narrow);
  margin: 0 auto;
}
.post-cta h2 {
  font-family: var(--font-header);
  font-size: 28px;
  font-weight: 700;
  color: var(--lp-white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.post-cta p {
  font-family: var(--font-body);
  color: var(--lp-text-main);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.post-cta .lp-btn { font-size: 15px; }
