/* =====================================================================
   Ads News Display 0.5.0 (2026-11-03)
   Ratgeber-Template: Kopf, Brotkrumen, Meta-Chips, Inhaltsverzeichnis mit Fortschritt,
   nummerierte Abschnitte, Bildunterschriften, Teilen, Quellen, Hinweise.
   Wird nach ads-news-v4.css geladen. Schrift kommt vom Designsystem (Plus Jakarta Sans).
   ===================================================================== */

/* --- Kopf: Text links, Beitragsbild als Karte rechts --- */
.adsx .adsx-hero--v5 { padding: 40px 24px 44px; background: linear-gradient(180deg, #edf9fb 0%, #f7fdfe 70%, #fff 100%); }
.adsx .adsx-hero--v5 .adsx-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.adsx .adsx-hero--v5.has-media .adsx-hero__inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 56px; }
.adsx .adsx-hero--v5 .adsx-title { font-family: inherit; font-weight: 800; font-size: clamp(30px, 3.9vw, 46px); line-height: 1.1; letter-spacing: -.025em; color: #0b3a42; max-width: 22ch; text-wrap: balance; }
.adsx .adsx-hero--v5 .adsx-sub { font-size: clamp(17px, 1.7vw, 19.5px); line-height: 1.6; color: #3d4b57; max-width: 58ch; margin-top: 18px; }
.adsx .adsx-hero--v5 .adsx-hero__meta { margin-bottom: 16px; }
.adsx .adsx-hero--v5 .adsx-badge { font-family: inherit; font-weight: 800; font-size: 12px; letter-spacing: .09em; text-decoration: none; background: #0e5c6b; color: #fff; border: 0; padding: 6px 13px; }
.adsx .adsx-hero--v5 a.adsx-badge:hover { background: #0b3a42; color: #fff; }

.adsx-crumbs { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; margin: 0 0 22px; font-size: 13.5px; color: #5b6573; min-width: 0; }
.adsx-crumbs a { color: #0e5c6b; text-decoration: none; white-space: nowrap; }
.adsx-crumbs a:hover { text-decoration: underline; }
.adsx-crumbs span[aria-hidden] { color: #9aa1ab; }
.adsx-crumbs__here { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.adsx-hero__media { position: relative; isolation: isolate; }
.adsx-hero__media::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 28px; background: #cfe9ee; z-index: -1; }
.adsx-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 26px; background: #0b3a42; box-shadow: 0 24px 48px -28px rgba(11, 58, 66, .55); }

/* Meta als Chips */
.adsx-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.adsx-facts__author { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.adsx-facts__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 30%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cfe0e4; }
.adsx-facts__author b { display: block; font-size: 14.5px; line-height: 1.2; color: #0b3a42; font-weight: 700; }
.adsx-facts__author small { display: block; font-size: 12.5px; color: #5b6573; margin-top: 2px; }
.adsx-facts__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.adsx-facts__list li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; background: #fff; border: 1px solid #cfe0e4; border-radius: 999px; font-size: 13px; line-height: 1.2; color: #26303d; margin: 0; }
.adsx-facts__list svg { color: #14808f; flex: none; }

.adsx-aud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: #5b6573; }
.adsx-aud span { font-weight: 700; color: #0b3a42; margin-right: 2px; }
.adsx-aud b { font-weight: 600; background: #e3f1f3; color: #0e5c6b; padding: 4px 11px; border-radius: 8px; }

/* --- Raster: Leiste | Artikel | Sidebar --- */
.adsx .adsx-body { grid-template-columns: 184px minmax(0, 1fr) 300px; gap: 36px; padding-top: 40px; }
.adsx-toc { align-self: start; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 26px; }
.adsx-toc__nav { position: relative; max-height: calc(100vh - 290px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.adsx .adsx-toc__label { font-family: inherit; font-weight: 800; font-size: 12px; letter-spacing: .1em; color: #0e5c6b; border: 0; padding: 0 0 12px; }
.adsx .adsx-toc ol { position: static; border-left: 2px solid #dcebee; margin: 0; padding: 0; list-style: none; }
.adsx .adsx-toc li { display: block; padding: 0; border: 0; margin: 0; font-size: 13.5px; line-height: 1.4; }
.adsx .adsx-toc li a { display: flex; gap: 10px; padding: 8px 0 8px 14px; margin-left: -2px; border-left: 2px solid transparent; color: #5b6573; text-decoration: none; transition: color .15s, border-color .15s; }
.adsx .adsx-toc li a:hover { color: #0e5c6b; }
.adsx .adsx-toc .n { font-family: inherit; font-weight: 700; font-size: 12px; color: #a7b3ba; padding-top: 1px; font-variant-numeric: tabular-nums; }
.adsx .adsx-toc li.is-done a { border-left-color: #6dc5d9; color: #3d4b57; }
.adsx .adsx-toc li.is-done .n { color: #14808f; }
.adsx .adsx-toc li.is-active a { border-left-color: #0e5c6b; color: #0b3a42; font-weight: 700; }
.adsx .adsx-toc li.is-active .n { color: #0e5c6b; }

/* Teilen */
.adsx-share__label { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #0e5c6b; margin: 0 0 10px; }
.adsx-share__row { display: flex; flex-wrap: wrap; gap: 6px; }
.adsx-share__row a, .adsx-share__row button { appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; line-height: 1; padding: 8px 12px; border-radius: 999px; border: 1px solid #cfe0e4; background: #fff; color: #0e5c6b; text-decoration: none; transition: background .15s, border-color .15s; }
.adsx-share__row a:hover, .adsx-share__row button:hover { background: #e3f1f3; border-color: #9fcbd3; color: #0b3a42; }
.adsx-share--foot { display: none; margin-top: 36px; padding-top: 22px; border-top: 1px solid #e3f1f3; }

/* --- Lesespalte --- */
.adsx .adsx-article { font-size: 18px; line-height: 1.75; max-width: 720px; }
.adsx .adsx-article p { margin: 18px 0 0; text-wrap: pretty; }
.adsx .adsx-article ul:not([class]) li, .adsx .adsx-article ol:not([class]) li { margin-bottom: 9px; }
.adsx .adsx-article h3 { font-family: inherit; font-weight: 700; font-size: 20px; line-height: 1.3; margin-top: 34px; color: #0b3a42; text-wrap: balance; }

/* Nummerierte Abschnitte: Zahl als Pille auf feiner Linie */
.adsx article.adsx-article { counter-reset: adsxsec; }
.adsx article.adsx-article h2 { counter-increment: adsxsec; position: relative; margin-top: 68px; padding-top: 28px; border-top: 1px solid #cfe0e4; font-family: inherit; font-weight: 800; font-size: clamp(24px, 2.5vw, 30px); line-height: 1.2; letter-spacing: -.02em; color: #0b3a42; text-wrap: balance; }
.adsx article.adsx-article h2::before { content: counter(adsxsec, decimal-leading-zero); position: absolute; top: -14px; left: 0; padding: 5px 12px; border-radius: 999px; background: #e3f1f3; border: 1px solid #b7e4ec; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; line-height: 1; color: #0e5c6b; }
.adsx article.adsx-article > .adsx-note:first-child + h2, .adsx article.adsx-article > .adsx-tocm + h2 { margin-top: 62px; }
.adsx article.adsx-article h2.adsx-nonum { counter-increment: none; border-top: 0; padding-top: 0; }
.adsx article.adsx-article h2.adsx-nonum::before { display: none; }

/* Bildunterschriften (ohne die Diagramm-Kästen, die bringen ihre eigene mit) */
.adsx .adsx-article figure:not(.adsx-chart) { margin: 36px 0 0; }
.adsx .adsx-article figure:not(.adsx-chart) img { display: block; }
.adsx .adsx-article figure:not(.adsx-chart) figcaption,
.adsx .adsx-article .wp-caption-text { position: relative; margin-top: 12px; padding-left: 14px; font-family: inherit; font-size: 13.5px; line-height: 1.5; color: #5b6573; }
.adsx .adsx-article figure:not(.adsx-chart) figcaption::before,
.adsx .adsx-article .wp-caption-text::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px; background: #6dc5d9; }
.adsx .adsx-article .wp-caption { max-width: 100%; }

/* Kurz-gesagt-Kasten etwas prägnanter als Einstieg */
.adsx .adsx-article > .adsx-note:first-child { margin-top: 0; box-shadow: 0 14px 30px -22px rgba(11, 58, 66, .5); }

/* --- Handy/Tablet: Inhaltsverzeichnis-Box --- */
.adsx-tocm { display: none; margin: 28px 0 0; padding: 18px 20px 14px; background: #fff; border: 1px solid #cfe0e4; border-radius: 16px; }
.adsx-tocm__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.adsx-tocm__h b { font-size: 15px; color: #0b3a42; }
.adsx-tocm__h span { font-size: 13px; color: #5b6573; }
.adsx-tocm ol { margin: 0; padding: 0; list-style: none; }
.adsx .adsx-article .adsx-tocm li { position: static; margin: 0; padding: 0; border-top: 1px solid #edf3f5; list-style: none; }
.adsx .adsx-article .adsx-tocm li::before { display: none; }
.adsx .adsx-article .adsx-tocm li a { display: flex; gap: 12px; padding: 11px 0; font-size: 15.5px; line-height: 1.4; color: #26303d; text-decoration: none; }
.adsx .adsx-article .adsx-tocm .n { font-weight: 800; font-size: 13px; color: #14808f; padding-top: 2px; }
.adsx-tocm.is-collapsed li:nth-child(n+4) { display: none; }
.adsx-tocm__more { appearance: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; color: #0e5c6b; background: #e3f1f3; border: 0; border-radius: 999px; padding: 9px 16px; margin-top: 6px; }

/* --- Nach dem Artikel: Rechner, Quellen, Hinweis --- */
.adsx-after { margin-top: 52px; display: grid; gap: 22px; }
.adsx .adsx-article .adsx-after > * { margin: 0; }
.adsx-calc { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; background: #f1f8f9; border: 1px solid #b7e4ec; border-radius: 18px; }
.adsx-calc__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #0e5c6b; color: #fff; }
.adsx-calc strong { display: block; font-size: 17px; color: #0b3a42; line-height: 1.3; }
.adsx-calc p { margin: 3px 0 0 !important; font-size: 15px; line-height: 1.5; color: #3d4b57; }
.adsx .adsx-article .adsx-calc > a, .adsx .adsx-article .adsx-hint > a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 11px 18px; border-radius: 999px; background: #0b3a42; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.adsx .adsx-article .adsx-calc > a:hover, .adsx .adsx-article .adsx-hint > a:hover { background: #0e5c6b; color: #fff; }

.adsx-sources { padding: 20px 22px 8px; border: 1px solid #dcebee; border-radius: 16px; background: #fff; }
.adsx-sources__t { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #0e5c6b; margin-bottom: 8px; }
.adsx .adsx-article .adsx-sources ol { margin: 0; padding: 0; list-style: none; counter-reset: adsxsrc; }
.adsx .adsx-article .adsx-sources li { position: static; counter-increment: adsxsrc; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin: 0; padding: 10px 0 10px 28px; border-top: 1px solid #edf3f5; font-size: 15px; line-height: 1.45; position: relative; }
.adsx .adsx-article .adsx-sources li:first-child { border-top: 0; }
.adsx .adsx-article .adsx-sources li::before { content: counter(adsxsrc); position: absolute; left: 0; top: 10px; font-size: 12.5px; font-weight: 800; color: #14808f; }
.adsx .adsx-article .adsx-sources li span { font-size: 13px; color: #78808d; }

.adsx-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; padding: 18px 22px; border-left: 4px solid #6dc5d9; background: #f6fafb; border-radius: 0 14px 14px 0; }
.adsx .adsx-article .adsx-hint p { flex: 1 1 320px; margin: 0; font-size: 16px; line-height: 1.55; color: #26303d; }

/* --- Weiterlesen, Autorenbox: gleiche Schrift wie der Rest --- */
.adsx .adsx-related__title, .adsx .adsx-authorbox__name { font-family: inherit; font-weight: 700; }

/* --- Responsiv --- */
@media (max-width: 1040px) {
  .adsx .adsx-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .adsx-tocm { display: block; }
  .adsx-share--foot { display: block; }
  .adsx .adsx-hero--v5.has-media .adsx-hero__inner { gap: 36px; }
}
@media (max-width: 900px) {
  .adsx .adsx-body { grid-template-columns: minmax(0, 1fr); }
  .adsx .adsx-hero--v5.has-media .adsx-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .adsx-hero__media { order: -1; max-width: 560px; margin: 0 14px 0 0; }
  .adsx .adsx-hero--v5 { padding: 22px 16px 30px; }
  .adsx .adsx-hero--v5 .adsx-title { max-width: none; }
}
@media (max-width: 600px) {
  .adsx .adsx-article { font-size: 17.5px; }
  .adsx article.adsx-article h2 { margin-top: 56px; }
  .adsx-calc { grid-template-columns: auto 1fr; }
  .adsx .adsx-article .adsx-calc > a { grid-column: 1 / -1; justify-content: center; }
  .adsx-facts__list li { font-size: 12.5px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) { .adsx .adsx-toc li a { transition: none; } }
@media (max-width: 1040px) { .adsx .adsx-toc { display: none; } }
@media (max-width: 900px) { .adsx-hero__media { order: 0; } .adsx-hero__media img { aspect-ratio: 16 / 9; } }

/* Mobil entschlacken (2026-11-03): ein Freebie, ein Erstgespräch-Hinweis, eine Vorstellung (Autorenbox). */
.adsx-about, .adsx-heft-by, .adsx-popup { display: none !important; }
@media (max-width: 900px) {
  .adsx-side .adsx-card, .adsx-side .adsx-callcard, .adsx-after .adsx-hint { display: none; }
  .adsx-side { gap: 0; }
}
