/* ==========================================================================
   CodingCenter & dECM Modern Design Theme (Bootstrap 5.3)
   ========================================================================== */

:root {
  --cc-primary: #0f2a4a;
  --cc-primary-dark: #0a1b30;
  --cc-primary-light: #1a3c63;
  --cc-accent: #0070f3;
  --cc-accent-hover: #0056b3;
  --cc-accent-light: #e8f3ff;
  --cc-success: #059669;
  
  --cc-bg-page: #f8fafc;
  --cc-bg-hero: linear-gradient(180deg, #edf3f9 0%, #f7fafd 50%, #ffffff 100%);
  --cc-surface: #ffffff;
  
  --cc-text-heading: #0f2a4a;
  --cc-text-body: #334155;
  --cc-text-muted: #64748b;
  
  --cc-border: #e2e8f0;
  --cc-border-light: #f1f5f9;
  
  --cc-radius-sm: 8px;
  --cc-radius-md: 12px;
  --cc-radius-lg: 16px;
  --cc-radius-xl: 22px;
  
  --cc-shadow-sm: 0 2px 4px rgba(15, 42, 74, 0.04);
  --cc-shadow-md: 0 10px 25px -5px rgba(15, 42, 74, 0.07), 0 8px 10px -6px rgba(15, 42, 74, 0.04);
  --cc-shadow-lg: 0 20px 35px -8px rgba(15, 42, 74, 0.12), 0 10px 15px -5px rgba(15, 42, 74, 0.06);
}

/* Base Typography */
body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--cc-text-body);
  background-color: var(--cc-bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--cc-text-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.cc-header {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cc-border);
  transition: all 0.25s ease;
  z-index: 1030;
}

.cc-brand-wrap {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
}

.cc-brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--cc-primary);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.cc-brand-bracket {
  color: var(--cc-accent);
  font-weight: 900;
  padding: 0 1px;
}

.cc-brand-gmbh {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cc-text-muted);
  margin-left: 3px;
}

.cc-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cc-accent);
  letter-spacing: 0.02em;
}

.cc-brand-decm-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.cc-brand-decm-img:hover {
  transform: scale(1.03);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cc-text-body);
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--cc-radius-sm);
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--cc-accent);
  background-color: var(--cc-accent-light);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.cc-btn-primary {
  background-color: var(--cc-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--cc-primary);
  box-shadow: 0 4px 12px rgba(15, 42, 74, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.cc-btn-primary:hover {
  background-color: var(--cc-primary-light);
  border-color: var(--cc-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 42, 74, 0.25);
  color: #ffffff !important;
}

.cc-btn-primary:active {
  transform: translateY(0);
}

.cc-btn-hero {
  padding: 0.85rem 2.4rem;
  font-size: 1.05rem;
  border-radius: 9px;
  letter-spacing: 0.01em;
}

.cc-btn-outline {
  background-color: transparent;
  color: var(--cc-primary) !important;
  border: 2px solid var(--cc-primary);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.cc-btn-outline:hover {
  background-color: var(--cc-primary);
  color: #ffffff !important;
}

/* ==========================================================================
   Hero Section (Match Image 1)
   ========================================================================== */
.cc-hero-section {
  background: var(--cc-bg-hero);
  padding: 3.5rem 0 3rem 0;
  border-bottom: 1px solid var(--cc-border);
  position: relative;
  overflow: hidden;
}

.cc-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cc-primary);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.cc-hero-title strong,
.cc-hero-title .cc-highlight {
  color: var(--cc-accent);
}

.cc-hero-subtitle {
  font-size: 1.2rem;
  color: var(--cc-text-muted);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Feature Cards Grid (Match Image 1)
   ========================================================================== */
.cc-feature-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--cc-shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cc-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cc-shadow-lg);
  border-color: #cbd5e1;
}

.cc-feature-icon-wrap {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cc-feature-icon-wrap img,
.cc-feature-icon-wrap svg {
  max-height: 85px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.04));
}

.cc-feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cc-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.cc-feature-desc {
  font-size: 0.98rem;
  color: var(--cc-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Powered by dlib Section
   ========================================================================== */
.cc-powered-section {
  padding: 3rem 0 3.5rem 0;
  text-align: center;
}

.cc-powered-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cc-primary);
  margin-bottom: 0.85rem;
}

.cc-powered-title span {
  color: var(--cc-accent);
}

.cc-powered-desc {
  font-size: 1.05rem;
  color: var(--cc-text-muted);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   Content Area & Blog Artikel Styling
   ========================================================================== */
.cc-content-container {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.blogartikel {
  background: var(--cc-surface);
  border-radius: var(--cc-radius-lg);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow-sm);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.blogMainHeadline {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cc-primary);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.blogartikelcontent {
  color: var(--cc-text-body);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* Table of Contents Card */
.cc-toc-card {
  background: #f8fafc;
  border: 1px solid var(--cc-border);
  border-left: 4px solid var(--cc-accent);
  border-radius: var(--cc-radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.cc-toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cc-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cc-toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.cc-toc-list li {
  margin-bottom: 0.5rem;
}

.cc-toc-list a {
  color: var(--cc-accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.cc-toc-list a:hover {
  color: var(--cc-accent-hover);
  transform: translateX(4px);
}

/* Subcontent Sections */
.blog-subcontent-section {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--cc-border);
}

.blogSubHeadline {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cc-primary);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cc-footer {
  background: #ffffff;
  border-top: 1px solid var(--cc-border);
  padding: 3rem 0 2rem 0;
  color: var(--cc-text-muted);
}

.cc-footer a {
  color: var(--cc-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.cc-footer a:hover {
  color: var(--cc-accent);
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 991.98px) {
  .cc-hero-title {
    font-size: 2rem;
  }
  .cc-hero-subtitle {
    font-size: 1.05rem;
  }
  .blogartikel {
    padding: 1.5rem;
  }
  .cc-brand-decm-img {
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  .cc-hero-title {
    font-size: 1.7rem;
  }
  .cc-btn-hero {
    width: 100%;
  }
}
