/* ===== RATGEBER / BLOG STYLES ===== */

/* Article grid (index page) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.article-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  text-decoration: none;
}
.article-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.article-card-thumb--negotiate { background: linear-gradient(135deg, #0d5fb8 0%, #7bbfff 100%); }
.article-card-thumb--karriere  { background: linear-gradient(135deg, #047857 0%, #10b981 100%); }
.article-card-thumb--zertifikat { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.article-card-thumb--freelancer { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }
.article-card-thumb--quereinstieg { background: linear-gradient(135deg, #0891b2 0%, #67e8f9 100%); }
.article-card-thumb--remote { background: linear-gradient(135deg, #be185d 0%, #f472b6 100%); }
.article-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-meta {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 8px;
  display: flex;
  gap: 14px;
}
.article-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.article-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.65;
  flex: 1;
}
.article-card-link {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--frost-600);
}

/* Article page */
.article-hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, #0B1D3A 50%, #0D2847 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.article-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  max-width: 780px;
  animation: fadeInUp 0.7s ease-out;
}
.article-hero h1 em {
  font-style: normal;
  color: var(--frost-300);
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--slate-300);
  animation: fadeInUp 0.7s ease-out 0.1s both;
}
.article-meta svg {
  width: 16px;
  height: 16px;
  fill: var(--slate-400);
  vertical-align: -2px;
  margin-right: 4px;
}
.article-content {
  padding: 48px 0 64px;
}
.article-content .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

/* Table of contents */
.toc {
  position: sticky;
  top: 80px;
  background: var(--frost-50);
  border: 1px solid var(--frost-100);
  border-radius: 12px;
  padding: 20px;
}
.toc-title {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--frost-600);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
}
.toc li {
  counter-increment: toc-counter;
  margin-bottom: 8px;
}
.toc li::before {
  content: counter(toc-counter) ".";
  font-weight: 600;
  color: var(--frost-500);
  margin-right: 6px;
  font-size: 0.82rem;
}
.toc a {
  font-size: 0.85rem;
  color: var(--slate-600);
  text-decoration: none;
  line-height: 1.4;
}
.toc a:hover {
  color: var(--frost-600);
}

/* Article body */
.article-body {
  max-width: 720px;
}
.article-body h2 {
  font-size: 1.45rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--slate-900);
}
.article-body h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
}
.article-body p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-body li {
  color: var(--slate-600);
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.article-body strong {
  color: var(--slate-800);
}
.article-body a {
  text-decoration: underline;
}

/* Article CTA box */
.article-cta {
  background: linear-gradient(135deg, var(--frost-50), #f0f0ff);
  border: 1px solid var(--frost-200);
  border-radius: 14px;
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--slate-900);
}
.article-cta p {
  color: var(--slate-600);
  margin-bottom: 20px;
}
.article-cta .cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ section */
.faq-section {
  margin-top: 48px;
  border-top: 1px solid var(--slate-200);
  padding-top: 40px;
}
.faq-section h2 {
  margin-top: 0;
}
.faq-item {
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--slate-900);
}
.faq-item p {
  color: var(--slate-600);
}

/* Ratgeber section on homepage */
.ratgeber-preview {
  padding: 64px 0;
  background: #fff;
}
.ratgeber-preview h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.ratgeber-preview-intro {
  color: var(--slate-600);
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.ratgeber-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.ratgeber-mini-card {
  display: block;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ratgeber-mini-card:hover {
  border-color: var(--frost-400);
  box-shadow: 0 4px 16px rgba(13,95,184,0.08);
  text-decoration: none;
}
.ratgeber-mini-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--slate-900);
}
.ratgeber-mini-card p {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-hero h1 {
    font-size: 1.6rem;
  }
  .article-content .container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .toc {
    position: static;
    margin-bottom: 28px;
  }
  .article-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .ratgeber-mini-grid {
    grid-template-columns: 1fr;
  }
}
