/* ============================================================
   AUTARK BLOG POST — Premium Dark Theme
   (matched to main site /theme-base.css, 2026-04-30 Phase 1.3)
   Single Source of Truth für alle Blog-Posts.
   ============================================================ */

/* Body & Basis */
html, body {
  background: #142035;
  color: #F5F7FA;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}
*, *::before, *::after { box-sizing: border-box; }

/* Article Hero (Titelblock) */
.article-hero,
.blog-hero,
.hero-art {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.10), transparent);
  border-bottom: 1px solid rgba(96, 165, 250, 0.12);
}
.article-hero h1,
.blog-hero h1,
.hero-art h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #F5F7FA;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.article-hero .meta,
.blog-meta,
.hero-art .meta {
  color: #94A3B8;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.hero-art .lbl,
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 0.8rem;
  display: inline-block;
}

/* Content Container */
.article-content,
.blog-content,
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Headings */
.article-content h2,
.blog-content h2,
main h2 {
  color: #F5F7FA;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
}
.article-content h3,
.blog-content h3,
main h3 {
  color: #3B82F6;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Body text */
.article-content p, .article-content li,
.blog-content p, .blog-content li,
main p, main li {
  color: #B8C5D6;
  line-height: 1.75;
}
.article-content p,
.blog-content p,
main p {
  font-size: 0.96rem;
  margin-bottom: 1.1rem;
}
.article-content ul, .article-content ol,
.blog-content ul, .blog-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.article-content li,
.blog-content li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.article-content strong,
.blog-content strong,
main strong { color: #F5F7FA; }

/* Links */
.article-content a,
.blog-content a,
main a {
  color: #3B82F6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover,
.blog-content a:hover,
main a:hover { color: #60A5FA; }

/* Blockquote */
.article-content blockquote,
.blog-content blockquote {
  border-left: 4px solid #3B82F6;
  padding-left: 1.5rem;
  color: #F5F7FA;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Stat box / cards */
.article-stat-box,
.stat-card {
  background: rgba(36, 51, 82, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.stat-card .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #F59E0B;
  line-height: 1.1;
}
.stat-card .lbl {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 0.3rem;
}

/* Info / Warning / Success boxes */
.info-box {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid #3B82F6;
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { color: #B8C5D6; margin: 0; }
.warning-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #F59E0B;
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.warning-box p { color: #B8C5D6; margin: 0; }
.success-box, .tip-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10B981;
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.success-box p, .tip-box p { color: #B8C5D6; margin: 0; }

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.price-table th {
  background: rgba(30, 64, 175, 0.45);
  color: #F5F7FA;
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #3B82F6;
}
.price-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #B8C5D6;
}
.price-table tr:nth-child(even) td { background: rgba(36, 51, 82, 0.3); }
.price-table .highlight { color: #F59E0B; font-weight: 700; }

/* CTA Box (premium) */
.article-cta-box,
.cta-box {
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}
.article-cta-box h3,
.cta-box h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
  font-weight: 800;
}
.article-cta-box p,
.cta-box p {
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.article-cta-box a,
.cta-box a,
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: #1E40AF;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-cta-box a:hover,
.cta-box a:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Breadcrumb */
.breadcrumb,
nav.breadcrumb {
  font-size: 0.82rem;
  color: #94A3B8;
  margin-bottom: 1.5rem;
  background: transparent;
  padding: 0.5rem 0;
}
.breadcrumb a,
nav.breadcrumb a {
  color: #3B82F6;
  text-decoration: none;
}
.breadcrumb a:hover,
nav.breadcrumb a:hover { text-decoration: underline; }

/* Related-Cards */
.related-card {
  background: rgba(36, 51, 82, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}
.related-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.related-card .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 0.3rem;
}
.related-card .title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #F5F7FA;
  line-height: 1.3;
}

/* TOC */
.toc {
  background: rgba(245, 158, 11, 0.10);
  border-left: 4px solid #F59E0B;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
}
.toc h3 { color: #F59E0B; margin-bottom: 1rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0.5rem 0; }
.toc a { color: #3B82F6; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* WhatsApp Float-Button (idempotent) */
.wa-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 998;
  background: linear-gradient(135deg, #25D366, #128C3E);
  color: #FFFFFF;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.83rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.wa-float.show { opacity: 1; pointer-events: all; }
.wa-float:hover { transform: scale(1.04); }
@media (max-width: 640px) {
  .wa-float {
    padding: 0.8rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .wa-float .txt { display: none; }
}

/* Responsive */
@media (max-width: 640px) {
  .article-hero, .blog-hero, .hero-art { padding: 3rem 1.25rem 2rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
