/* Blog styles — Noblesse Studios */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,500;1,600;1,700;1,900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #06060f;
  --bg2: #0c0c1e;
  --surface: #10102a;
  --violet: oklch(55% 0.25 290);
  --violet-light: oklch(72% 0.18 290);
  --violet-dim: oklch(40% 0.18 290);
  --white: #f4f2ff;
  --muted: oklch(65% 0.04 290);
  --border: oklch(30% 0.06 290);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */
.blog-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,6,15,0.97);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.blog-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.blog-logo-divider { width: 0.5px; height: 32px; background: var(--border); }
.blog-logo-text { display: flex; flex-direction: column; gap: 1px; }
.blog-logo-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); line-height: 1; }
.blog-logo-sub { font-family: var(--font-body); font-size: 8px; font-weight: 500; letter-spacing: 0.48em; text-transform: uppercase; color: var(--violet-light); line-height: 1; }
.blog-nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.blog-nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.blog-nav-links a:hover { color: var(--white); }
.blog-apply-btn {
  padding: 10px 24px;
  background: var(--violet); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 100px; white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.blog-apply-btn:hover { opacity: 0.85; }

/* HERO */
.blog-hero {
  max-width: 860px; margin: 0 auto;
  padding: 80px 48px 48px;
}
.blog-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-light); font-weight: 600; margin-bottom: 20px;
}
.blog-tag::before { content: '—'; }
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.blog-title em { color: var(--violet-light); font-style: italic; }
.blog-meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; color: var(--muted);
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.blog-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ARTICLE CONTENT */
.blog-content {
  max-width: 720px; margin: 0 auto;
  padding: 0 48px 80px;
}
.blog-content h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--white); margin: 48px 0 16px;
  line-height: 1.2;
}
.blog-content h3 {
  font-size: 18px; font-weight: 600;
  color: var(--white); margin: 32px 0 12px;
}
.blog-content p {
  color: oklch(80% 0.04 290);
  margin-bottom: 20px; font-size: 16px; line-height: 1.8;
}
.blog-content ul, .blog-content ol {
  margin: 0 0 20px 24px;
  color: oklch(80% 0.04 290);
}
.blog-content li { margin-bottom: 10px; line-height: 1.7; }
.blog-content strong { color: var(--white); font-weight: 600; }
.blog-content em { color: var(--violet-light); font-style: italic; }
.blog-callout {
  background: oklch(14% 0.08 290);
  border-left: 3px solid var(--violet);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px; margin: 32px 0;
}
.blog-callout p { margin: 0; color: var(--white); font-weight: 500; }
.blog-divider { height: 1px; background: var(--border); margin: 48px 0; }

/* CTA BOX */
.blog-cta-box {
  background: oklch(12% 0.1 290);
  border: 1px solid var(--violet-dim);
  border-radius: 16px;
  padding: 40px; margin: 56px 0;
  text-align: center;
}
.blog-cta-box h3 {
  font-family: var(--font-display);
  font-size: 28px; margin-bottom: 12px; margin-top: 0;
}
.blog-cta-box p { margin-bottom: 24px; }
.blog-cta-btn {
  display: inline-block;
  background: var(--violet); color: #fff;
  padding: 14px 32px; border-radius: 100px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.blog-cta-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* GRID (index page) */
.blog-grid-section {
  max-width: 1100px; margin: 0 auto;
  padding: 0 48px 80px;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: oklch(10% 0.06 290);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  text-decoration: none; display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: var(--violet-dim); transform: translateY(-2px); }
.blog-card-tag {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-light); font-weight: 600; margin-bottom: 14px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--white);
  line-height: 1.25; margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  flex: 1; margin-bottom: 20px;
}
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 16px;
}
.blog-card-read { color: var(--violet-light); font-weight: 600; }

/* FOOTER */
.blog-footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.blog-footer-links { display: flex; gap: 20px; }
.blog-footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.blog-footer-links a:hover { color: var(--white); }

@media (max-width: 768px) {
  .blog-header { padding: 16px 22px; }
  .blog-hero { padding: 48px 20px 32px; }
  .blog-content { padding: 0 20px 60px; }
  .blog-grid-section { padding: 0 20px 60px; }
  .blog-footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
  .blog-header { padding: 14px 18px; }
  .blog-logo-name { font-size: 16px; }
}

/* Article data tables (added for GEO-optimized posts) */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.blog-content table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--violet-light);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.blog-content th,
.blog-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(167,139,250,0.15);
  vertical-align: top;
}
.blog-content th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-light);
  font-weight: 600;
  background: rgba(167,139,250,0.06);
}
.blog-content td {
  color: rgba(255,255,255,0.85);
}
.blog-content tr:last-child td { border-bottom: none; }
.blog-content table a { color: var(--violet-light); }

/* TL;DR box variant */
.blog-tldr {
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 32px;
}
.blog-tldr-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet-light);
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-tldr p { margin: 0; color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.6; }

/* DE/EN Sprachumschalter im Blog-Header */
.blog-lang-switch { display: flex; align-items: center; gap: 6px; margin-right: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.blog-lang-switch .blog-lang-opt { color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 6px; transition: color 0.2s; }
.blog-lang-switch .blog-lang-opt:hover { color: var(--white); }
.blog-lang-switch .blog-lang-opt.active { color: var(--violet-light, #a78bfa); }
.blog-lang-switch .blog-lang-sep { color: var(--muted); opacity: 0.5; }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE DRAWER — premium redesign */
.mobile-drawer {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 200;
  flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  overflow: hidden;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-header {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 20px 28px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mobile-drawer-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 20px; line-height: 1;
}
.mobile-drawer-tag {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 28px; flex-shrink: 0;
}
.mobile-drawer-tag::before { content: '—'; }
.mobile-drawer-nav {
  flex: 1; padding: 0 28px;
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-evenly;
  min-height: 0;
}
.mobile-drawer-nav-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0; border-bottom: 1px solid oklch(22% 0.04 290);
  text-decoration: none; transition: color 0.2s;
  height: calc(100% / 5);
}
.mobile-drawer-nav-item:last-child { border-bottom: none; }
.mobile-drawer-num {
  font-size: 10px; color: var(--muted); font-weight: 500;
  letter-spacing: 0.06em; width: 18px; flex-shrink: 0;
}
.mobile-drawer-nav-item span:last-child {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--white); letter-spacing: -0.01em;
}
.mobile-drawer-nav-item:hover span:last-child { color: var(--violet-light); }
.mobile-drawer-footer {
  padding: 14px 28px 18px;
  display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
}
.mobile-drawer-cta {
  display: block; text-align: center; text-decoration: none !important;
  background: var(--violet); color: #fff !important;
  font-family: var(--font-body) !important; font-size: 11px !important;
  font-weight: 600 !important; letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 12px 24px !important; border-radius: 8px;
  transition: opacity 0.2s;
}
.mobile-drawer-socials {
  display: flex; gap: 8px; align-items: center;
}
.mobile-drawer-ig {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1.5px solid oklch(40% 0.06 290); border-radius: 50%;
  text-decoration: none; color: var(--white);
  transition: border-color 0.2s; flex-shrink: 0;
}
.mobile-drawer-ig:hover { border-color: var(--violet-light); }
.mobile-drawer-lang {
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; margin-bottom: 4px;
}
.mobile-drawer-lang a {
  color: var(--muted, #8a8a9a); text-decoration: none; font-weight: 600;
}
.mobile-drawer-lang a.active { color: var(--violet-light, #a78bfa); }
.mobile-drawer-lang span { color: var(--muted, #8a8a9a); opacity: 0.5; }

.mobile-drawer-contact-label {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.mobile-drawer-email {
  font-family: var(--font-display); font-style: italic;
  font-size: 15px; color: var(--white); text-decoration: none;
}
.mobile-drawer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; border-top: 1px solid var(--border);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.mobile-drawer-status { display: flex; align-items: center; gap: 5px; }
.mobile-drawer-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; }


/* ===== Mobiles Menü im Blog: 1:1 von der Startseite ===== */
@media (max-width: 900px) {
  .blog-nav-links { display: none; }
  .blog-lang-switch { display: none; }
  .blog-apply-btn { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-drawer { display: flex; }
}
