/* ============================================
   Aurimon Blog – zusätzliche Styles
   Ergänzt /css/style.css um blog-spezifische Klassen.
   ============================================ */

/* BLOG ARTIKEL --------------------------------- */
.blog-article {
  background: var(--white, #fdfdfd);
}

/* blog-hero nutzt jetzt .page-header (dunkel) — eigene Hintergrund-Regel entfernt */
.page-header.blog-hero h1,
.blog-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin: .5rem 0 1rem;
  font-weight: 300;
  max-width: 900px;
}
.blog-hero h1 em,
.page-header h1 em {
  font-style: italic;
  color: var(--gold-light, #d4b06a);
}
.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--gold-light, #d4b06a);
}
.breadcrumb span {
  margin: 0 .4rem;
  opacity: .5;
  color: rgba(255,255,255,0.4);
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: .9rem;
  color: rgba(255,255,255,0.55);
}
.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.blog-meta-item svg { opacity: 0.7; }

/* BODY LAYOUT --------------------------------- */
.blog-body {
  padding: 3rem 0 4rem;
}
.blog-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: 1100px;
}
@media (max-width: 900px) {
  .blog-container { grid-template-columns: 1fr; gap: 2rem; }
}

/* TABLE OF CONTENTS --------------------------- */
.blog-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  background: #f8f8f5;
  padding: 1.5rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
}
.blog-toc h2 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 1rem;
  color: #888;
  font-weight: 500;
}
.blog-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}
.blog-toc ol li {
  margin-bottom: .6rem;
  line-height: 1.3;
}
.blog-toc a {
  color: #333;
  text-decoration: none;
}
.blog-toc a:hover {
  color: var(--gold-light, #d4b06a);
}
@media (max-width: 900px) {
  .blog-toc { position: static; }
}

/* CONTENT --------------------------------------- */
.blog-content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2a2a2a;
}
.blog-content h2 {
  font-size: 1.75rem;
  margin: 2.75rem 0 1rem;
  font-weight: 400;
  color: #1a1a1a;
  scroll-margin-top: 100px;
}
.blog-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 .75rem;
  font-weight: 500;
  color: #1a1a1a;
}
.blog-content p { margin: 0 0 1.25rem; }
.blog-content strong { font-weight: 600; color: #111; }
.blog-content a {
  color: var(--gold-light, #d4b06a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-content ul, .blog-content ol {
  margin: 0 0 1.5rem 1.5rem;
}
.blog-content li { margin-bottom: .5rem; }
.blog-content blockquote {
  border-left: 3px solid var(--gold-light, #d4b06a);
  padding: .5rem 0 .5rem 1.25rem;
  margin: 1.5rem 0;
  color: #444;
  font-style: italic;
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.blog-content table th,
.blog-content table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #e5e5e0;
  text-align: left;
}
.blog-content table th {
  background: #f8f8f5;
  font-weight: 600;
}
.blog-content figure { margin: 2rem 0; }
.blog-content figcaption {
  text-align: center;
  font-size: .85rem;
  color: #888;
  margin-top: .5rem;
}
.blog-content .note {
  background: #f8f8f5;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 3px solid var(--gold-light, #d4b06a);
}
.blog-content .tip {
  background: #f0f5f0;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 3px solid #6a8a5a;
}
.blog-content .warn {
  background: #fdf4f0;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 3px solid #b07a5a;
}

/* INLINE-CTA --------------------------------------- */
.blog-cta {
  background: #1a1a1a;
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}
.blog-cta h3 {
  color: #fff;
  margin: 0 0 .75rem;
  font-size: 1.4rem;
  font-weight: 400;
}
.blog-cta p {
  color: #ddd;
  margin: 0 0 1.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* AUTOR-BOX --------------------------------------- */
.blog-author {
  background: #f8f8f5;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}
.blog-author-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.blog-author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-light, #d4b06a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.blog-author-name {
  font-weight: 600;
  font-size: 1.05rem;
}
.blog-author-role {
  font-size: .85rem;
  color: #666;
  margin: .25rem 0 .75rem;
}
.blog-author-bio {
  font-size: .95rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* VERWANDTE ARTIKEL --------------------------- */
.blog-related {
  padding: 4rem 0;
  background: #f8f8f5;
}
.blog-related h2 {
  font-size: 1.8rem;
  font-weight: 300;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* BLOG CARD ------------------------------------ */
.blog-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.05);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.blog-card-tag {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-light, #d4b06a);
  margin-bottom: .75rem;
  font-weight: 500;
}
.blog-card h3 {
  font-size: 1.2rem;
  margin: 0 0 .75rem;
  font-weight: 500;
  line-height: 1.3;
}
.blog-card p {
  font-size: .95rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}
.blog-card-meta {
  font-size: .8rem;
  color: #888;
  margin-top: 1rem;
}

/* BLOG OVERVIEW PAGE --------------------------- */
.blog-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0;
}
.blog-filter a {
  padding: .5rem 1rem;
  border: 1px solid #e0e0d8;
  border-radius: 100px;
  text-decoration: none;
  color: #444;
  font-size: .9rem;
  transition: all 0.15s;
}
.blog-filter a:hover,
.blog-filter a.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* RESPONSIVE --------------------------- */
@media (max-width: 640px) {
  .blog-hero { padding: 2.5rem 0 2rem; }
  .blog-content { font-size: 1rem; }
  .blog-content h2 { font-size: 1.5rem; margin-top: 2rem; }
  .blog-content h3 { font-size: 1.15rem; }
  .blog-author-inner { flex-direction: column; align-items: center; text-align: center; }
  /* Breite Tabellen (Kosten-/Vergleichstabellen) auf dem Handy horizontal scrollbar
     statt Seitenüberlauf. display:block macht die Tabelle scrollbar; nowrap hält die
     Zellen lesbar. */
  .blog-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}
