/* Blog (Artikel + Übersicht). Nur auf /blog und /blog/* eingebunden.
   Farben und Schriften wie die Webflow-Seite: var(--red), Oswald Custom, Lato Custom. */

/* --- Kopfbereich ------------------------------------------------------------ */
/* Eigenes Titelbild für den Blog (Training statt Maschendrahtzaun der übrigen Unterseiten) */
.section.inner-page-hero {
  background-image: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(/assets/img/capture0241-1-.webp);
  background-position: 0 0, 50% 30%;
}
.blog-title {
  margin-bottom: 20px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.blog-hero-meta,
.blog-hero-intro {
  color: rgba(255, 255, 255, .78);
  margin: 0 0 0 20px;
}
.blog-hero-meta {
  font-family: Oswald Custom, sans-serif;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.blog-hero-intro {
  max-width: 560px;
  font-family: Lato Custom, sans-serif;
  font-size: 18px;
  line-height: 28px;
}

/* --- Artikel ---------------------------------------------------------------- */
.blog-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}
.blog-article {
  background: #fff;
  margin-top: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
}
.blog-hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-content {
  padding: 56px 64px 64px;
  color: #1c1c1c;
  font-family: Lato Custom, sans-serif;
  font-size: 18px;
  line-height: 1.75;
}
.blog-content > :first-child { margin-top: 0; }
.blog-content > :last-child { margin-bottom: 0; }
.blog-content p,
.blog-content ul,
.blog-content ol { margin: 0 0 1.25em; }
.blog-content li { margin-bottom: .4em; }
.blog-content li::marker { color: var(--red); }
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-family: Oswald Custom, sans-serif;
  text-transform: uppercase;
  color: #111;
  letter-spacing: -.5px;
}
.blog-content h2 {
  border-left: 6px solid var(--red);
  padding-left: 12px;
  margin: 1.8em 0 .7em;
  font-size: 32px;
  line-height: 38px;
}
.blog-content h3 { margin: 1.6em 0 .5em; font-size: 24px; line-height: 30px; }
.blog-content h4 { margin: 1.4em 0 .4em; font-size: 19px; line-height: 26px; letter-spacing: 0; }
.blog-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-content a:hover { color: #111; }
.blog-content strong { color: #111; }
.blog-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--red);
  font-size: 21px;
  line-height: 1.6;
  font-style: italic;
  color: #333;
}
.blog-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.6em 0;
}
.blog-content hr { border: 0; border-top: 1px solid #e3e3e3; margin: 2.4em 0; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.25em; font-size: 16px; }
.blog-content th,
.blog-content td { padding: 10px 12px; border-bottom: 1px solid #e3e3e3; text-align: left; vertical-align: top; }
.blog-content th { font-family: Oswald Custom, sans-serif; text-transform: uppercase; letter-spacing: 1px; font-weight: 400; }

/* --- Inhaltsverzeichnis (vom Build aus den H2 erzeugt) ------------------------ */
.blog-anchor { display: block; position: relative; top: -120px; height: 0; visibility: hidden; }.blog-toc { margin: 2em 0 2.4em; padding: 28px 32px; background: #f4f4f4; border-top: 4px solid #111; }
.blog-content .blog-toc-title {
  margin: 0 0 12px;
  font-family: Oswald Custom, sans-serif;
  font-size: 24px;
  line-height: 30px;
  text-transform: uppercase;
  color: #111;
}
.blog-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.blog-content .blog-toc li { counter-increment: toc; display: flex; gap: 14px; margin: 0; padding: 9px 0; border-top: 1px solid #e0e0e0; font-size: 17px; line-height: 1.45; }
.blog-content .blog-toc li:first-child { border-top: 0; }
.blog-toc li::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-family: Oswald Custom, sans-serif;
  color: var(--red);
}
.blog-content .blog-toc a { color: #111; text-decoration: none; }
.blog-content .blog-toc a:hover { color: var(--red); text-decoration: underline; }

/* --- Bausteine im Artikel ------------------------------------------------------ */
/* Einstieg */
.blog-content .lead { font-size: 21px; line-height: 1.6; color: #111; margin-bottom: 1.5em; }

/* Kästen: gemeinsame Grundform, eckig wie die Website */
.blog-content .summary-box,
.blog-content .pro-tip,
.blog-content .limit-box,
.blog-content .warning-box,
.blog-content .help-box {
  margin: 1.8em 0;
  padding: 24px 28px;
  background: #f4f4f4;
  border-left: 6px solid var(--red);
}
.blog-content .pro-tip p,
.blog-content .limit-box p,
.blog-content .warning-box p,
.blog-content .help-box p { margin: 0; font-size: 17px; line-height: 1.7; }

/* Das Wichtigste in Kürze */
.blog-content .summary-box { padding: 32px 36px; background: #0d0d0d; color: rgba(255, 255, 255, .85); border-left: 0; border-top: 6px solid var(--red); }
.blog-content .summary-title {
  margin: 0 0 16px;
  font-family: Oswald Custom, sans-serif;
  font-size: 24px;
  line-height: 30px;
  text-transform: uppercase;
  color: #fff;
}
.blog-content .summary-list { list-style: none; margin: 0; padding: 0; }
.blog-content .summary-list li { position: relative; padding-left: 30px; margin-bottom: .8em; font-size: 17px; line-height: 1.65; }
.blog-content .summary-list li:last-child { margin-bottom: 0; }
.blog-content .summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 4px;
  background: var(--red);
}
.blog-content .summary-box strong { color: #fff; }

/* Trainer-Tipp: schwarz-rot statt gelb */
.blog-content .pro-tip { background: #fff; border: 2px solid #111; border-left: 6px solid var(--red); }
/* Grenzen der Selbstverteidigung */
.blog-content .limit-box { border-left-color: #111; }
/* Rechtlicher Hinweis */
.blog-content .warning-box { background: #fdeced; }
.blog-content .warning-box strong { color: #b3141e; }
/* Notrufnummern */
.blog-content .help-box { background: #fff; border: 2px solid var(--red); }
.blog-content .pro-tip strong:first-child,
.blog-content .limit-box strong:first-child,
.blog-content .warning-box strong:first-child,
.blog-content .help-box strong:first-child {
  display: block;
  margin-bottom: 4px;
  font-family: Oswald Custom, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Zitat mit Quelle */
.blog-content blockquote p { margin: 0 0 .6em; }
.blog-content blockquote cite {
  display: block;
  font-style: normal;
  font-family: Oswald Custom, sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}

/* Grafiken und Tabellen */
.blog-figure { margin: 35px 0 0; }
.blog-content .blog-figure svg { display: block; width: 100%; height: auto; margin: 0 !important; }
.blog-content .infographic-caption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: #666; }
.blog-content .table-wrap { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.blog-content .table-wrap table { margin: 0; min-width: 560px; }
.blog-content thead th { background: #0d0d0d; color: #fff; border-bottom: 4px solid var(--red); }
.blog-content tbody tr:nth-child(even) td { background: #f7f7f7; }

/* Probetraining-Kasten mitten im Artikel */
.blog-content .cta-box { margin: 2.4em 0; background: #0d0d0d; color: rgba(255, 255, 255, .82); border-top: 6px solid var(--red); }
.blog-content .cta-header {
  padding: 18px 36px 0;
  font-family: Oswald Custom, sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}
.blog-content .cta-content { padding: 6px 36px 32px; }
.blog-content .cta-content h3 { margin: 0 0 10px; color: #fff; font-size: 28px; line-height: 34px; }
.blog-content .cta-content p { margin: 0; font-size: 17px; line-height: 1.6; }
.blog-content .cta-box .cta-button { display: inline-block; margin: 20px 0 0; color: #fff; text-decoration: none; }
.blog-content .cta-box .cta-button:hover { color: var(--red); }
.blog-content .cta-alt { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.blog-content .cta-alt a { color: #fff; }

/* FAQ */
.blog-content .faq-item { padding: 22px 0; border-bottom: 1px solid #e3e3e3; }
.blog-content .faq-item:last-of-type { border-bottom: 0; }
.blog-content .faq-item h3 { margin: 0 0 8px; font-size: 21px; line-height: 27px; }
.blog-content .faq-item p { margin: 0; }

/* Autor */
.blog-content .author-bio { margin: 2.4em 0 0; padding: 28px 32px; background: #f4f4f4; border-top: 4px solid #111; }
.blog-content .author-bio h3 { margin: 0; font-size: 24px; line-height: 30px; }
.blog-content .author-role {
  display: block;
  margin: 2px 0 12px;
  font-family: Oswald Custom, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}
.blog-content .author-bio p { margin: 0; font-size: 16px; line-height: 1.7; }

/* --- Probetraining-Box (Artikel + Übersicht) --------------------------------- */
.blog-cta {
  width: 100%;
  max-width: 820px;
  margin: 48px auto 0;
  padding: 48px 64px;
  background: #0d0d0d;
  border-top: 6px solid var(--red);
  color: #fff;
}
.blog-cta-title {
  margin: 0 0 12px;
  font-family: Oswald Custom, sans-serif;
  font-size: 36px;
  line-height: 42px;
  text-transform: uppercase;
  color: #fff;
}
.blog-cta-text {
  margin: 0;
  max-width: 560px;
  font-family: Lato Custom, sans-serif;
  font-size: 17px;
  line-height: 27px;
  color: rgba(255, 255, 255, .8);
}
.blog-cta .button { display: inline-block; margin-left: 0; }

/* --- Übersicht ---------------------------------------------------------------- */
.blog-index {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-index .blog-cta { max-width: none; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1c1c1c;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 30px;
  border-top: 4px solid var(--red);
}
.blog-meta {
  font-family: Oswald Custom, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}
.blog-card-title {
  margin: 8px 0 10px;
  font-family: Oswald Custom, sans-serif;
  font-size: 24px;
  line-height: 30px;
  text-transform: uppercase;
  color: #111;
}
.blog-card-text {
  margin: 0 0 18px;
  font-family: Lato Custom, sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #444;
}
.blog-card-more {
  margin-top: auto;
  font-family: Oswald Custom, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111;
}
.blog-card-more::after { content: " →"; color: var(--red); }
.blog-card:hover .blog-card-more { color: var(--red); }

@media screen and (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-content { padding: 44px 40px 48px; }
  .blog-cta { padding: 40px; }
}
@media screen and (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-hero-meta, .blog-hero-intro { margin-left: 12px; }
  .blog-hero-intro { font-size: 16px; line-height: 25px; }
  .blog-content { padding: 32px 22px 36px; font-size: 17px; }
  .blog-content h2 { font-size: 26px; line-height: 32px; }
  .blog-content h3 { font-size: 21px; line-height: 27px; }
  .blog-cta { padding: 32px 22px; margin-top: 32px; }
  .blog-cta-title { font-size: 28px; line-height: 34px; }
  .blog-content .lead { font-size: 18px; }
  /* Grafiken sind für 860 px gezeichnet: am Handy in lesbarer Größe, seitlich wischbar */
  .blog-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: -22px; margin-right: -22px; padding: 0 22px; }
  .blog-content .blog-figure svg { width: 760px; max-width: none !important; }
  .blog-figure + .infographic-caption::before { content: "← Grafik seitlich wischen →"; display: block; margin-bottom: 4px; font-family: Oswald Custom, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
  .blog-toc { padding: 22px 20px; }
  .blog-content .blog-toc li { font-size: 16px; }
  .blog-content .summary-box { padding: 24px 20px; }
  .blog-content .pro-tip, .blog-content .limit-box,
  .blog-content .warning-box, .blog-content .help-box { padding: 18px 18px; }
  .blog-content .cta-header { padding: 16px 20px 0; }
  .blog-content .cta-content { padding: 6px 20px 26px; }
  .blog-content .cta-content h3 { font-size: 23px; line-height: 29px; }
  .blog-content .author-bio { padding: 22px 20px; }
}
