/* ── LOKALE SCHRIFTEN ── */
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
    /* PREMIUM BUSINESS COLOR PALETTE */
    --bg: #07080b; 
    --bg-warm: #0a0c11;
    --bg-card: #10121a;
    --bg-elevated: #161924;
    --text: #F4F4F5; 
    --text-muted: #A1A1AA; 
    --text-dim: #71717A;
    --accent: #D4AF37; 
    --accent-light: #F3E5AB; 
    --accent-dim: rgba(212, 175, 55, 0.15);
    --border: #272A38;
    --border-light: #1C1F2B;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Figtree', system-ui, sans-serif;
    
    --radius: 12px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.85; font-weight: 300; -webkit-font-smoothing: antialiased; }

.starfield { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.6; }
.starfield canvas { width: 100%; height: 100%; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(7, 8, 11, 0.85); backdrop-filter: blur(28px); border-bottom: 1px solid var(--border-light); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; height: 90px; display: flex; align-items: center; justify-content: space-between; }

.logo-container { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-container svg, .logo-container span { transition: var(--transition); }
.logo-container:hover svg { transform: scale(1.05); filter: brightness(1.2); }
.logo-container:hover span { color: var(--accent); }

.nav-links a { 
    color: var(--text-muted); font-size: 0.95rem; font-family: var(--font-body);
    font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
    position: relative; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* ── ARTICLE CONTAINER ── */
.article-container { max-width: 800px; margin: 140px auto 5rem; padding: 0 2rem; position: relative;}
#media-container { width: 100%; margin-bottom: 4rem; }
.article-image { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-light); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.back-btn { 
    display: inline-block; margin-bottom: 3rem; font-family: var(--font-body); font-weight: 600;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); 
    border: 1px solid var(--border); padding: 10px 24px; border-radius: 100px; text-decoration: none; transition: var(--transition); 
}
.back-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-card); transform: translateY(-2px); }

/* ════════ POST CONTENT STYLING ════════ */
.post-content h1 { 
    font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.5rem); 
    margin-bottom: 2rem; color: var(--accent); font-weight: 400; line-height: 1.15; 
    text-transform: none; letter-spacing: -0.01em; 
}
.post-content h2 { 
    font-family: var(--font-display); font-size: 2.2rem; margin: 4rem 0 1.5rem; 
    color: var(--text); font-weight: 400; line-height: 1.3;
}
.post-content h3 {
    font-family: var(--font-display); font-size: 1.6rem; margin: 2.5rem 0 1rem; 
    color: var(--accent-light); font-weight: 500;
}
.post-content p { margin-bottom: 1.5rem; font-size: 1.15rem; color: var(--text-muted); line-height: 1.9;}
.post-content strong { color: var(--text); font-weight: 500; }

.post-content blockquote { 
    border-left: 2px solid var(--accent); padding: 1.5rem 2rem; margin: 3rem 0; 
    font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--text); 
    background: linear-gradient(90deg, var(--bg-elevated) 0%, transparent 100%); border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── GOLDENE ZIFFERN & LISTEN ── */
.post-content ol { list-style: none; counter-reset: post-counter; margin: 2rem 0; padding: 0; }
.post-content ol li { counter-increment: post-counter; position: relative; padding-left: 3.5rem; margin-bottom: 1.5rem; font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; }
.post-content ol li::before { 
  content: counter(post-counter); 
  position: absolute; left: 0; top: 0.1rem; 
  width: 32px; height: 32px; 
  border-radius: 50%; 
  background: var(--bg-card); 
  border: 1px solid var(--accent-dim); 
  color: var(--accent); 
  display: flex; align-items: center; justify-content: center; 
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; 
}

.post-content ul { list-style: none; margin: 1.5rem 0; padding: 0; }
.post-content ul li { position: relative; padding-left: 1.8rem; margin-bottom: 0.8rem; color: var(--text-muted); font-size: 1.15rem; line-height: 1.8;}
.post-content ul li::before { content: '◦'; position: absolute; left: 0; color: var(--accent); font-size: 1.4rem; line-height: 1.2;}

/* ── BILDER & CAPTIONS IM TEXT ── */
.post-content img {
  max-width: 100%; height: auto; border-radius: var(--radius);
  margin: 3rem auto; display: block; cursor: zoom-in;
  border: 1px solid var(--border-light); transition: transform 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.post-content img:hover { transform: scale(1.02); border-color: var(--accent-dim); }

.post-content figure { margin: 3rem 0; text-align: center; }

.post-content figcaption, .post-content img + em {
  display: block; margin-top: 1rem; font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600; color: var(--accent); opacity: 0.8;
  line-height: 1.6; max-width: 80%; margin-left: auto; margin-right: auto;
  text-transform: uppercase; letter-spacing: 0.05em; font-style: normal;
}
.post-content img + em { margin-top: -1.5rem; margin-bottom: 3rem; text-align: center; }


/* ── SHARE BUTTON ── */
.share-btn { 
    display: inline-flex; align-items: center; gap: 0.6rem; background: transparent; 
    color: var(--text); border: 1px solid var(--border); padding: 12px 30px; 
    border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; 
    text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: var(--transition); margin-top: 4rem; 
}
.share-btn:hover { background: var(--bg-card); color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border-light); padding: 4rem 2rem; text-align: center; color: var(--text-dim); margin-top: 6rem; font-size: 0.85rem; }

@media (max-width: 768px) {
  .nav-inner { height: 70px; padding: 0 1.5rem; }
  .article-container { margin-top: 100px; padding: 0 1.5rem;}
  .article-image { height: 260px; }
  .starfield { display: none !important; }
  .post-content figcaption { max-width: 95%; }
}
