/* Atlas-Blogvorlage · basis.css
   Gemeinsames Layout aller Marken-Ratgeber (Artikel + Hub). Farben, Schriften und Formen kommen
   ausschließlich aus den Variablen, die marken/<marke>/marke.css setzt. Keine externen Abhängigkeiten. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: var(--body-weight, 400);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-contrast); }

.b-wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.b-skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--primary); color: var(--primary-contrast);
  padding: 12px 18px; border-radius: var(--btn-radius); font-weight: 700; text-decoration: none;
}
.b-skip:focus { top: 12px; }
.b-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Überschriften ─────────────────────────────────────────── */
h1, h2, h3, .b-h {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking, 0);
  text-transform: var(--head-transform, none);
  color: var(--head-color, var(--text));
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

/* ── Knöpfe, Pillen ───────────────────────────────────────── */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--btn-radius); border: 2px solid transparent;
  font-family: var(--font-btn, var(--font-body)); font-weight: var(--btn-weight, 700);
  font-size: var(--fs-btn, 1rem); letter-spacing: var(--btn-tracking, 0); text-transform: var(--btn-transform, none);
  text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.b-btn--primary { background: var(--primary); color: var(--primary-contrast); box-shadow: var(--btn-shadow, none); }
.b-btn--primary:hover { background: var(--primary-hover); color: var(--primary-contrast); }
.b-btn--ghost { background: transparent; color: var(--ghost-color, var(--text)); border-color: currentColor; }
.b-btn--ghost:hover { background: var(--ghost-hover-bg, rgba(127,127,127,.12)); color: var(--ghost-color, var(--text)); }
.b-btn svg { width: 18px; height: 18px; flex: none; }

.b-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; min-height: 32px;
  border-radius: var(--pill-radius, 999px);
  background: var(--pill-bg); color: var(--pill-text);
  font-size: var(--fs-pill, .8125rem); font-weight: var(--pill-weight, 700);
  letter-spacing: var(--pill-tracking, .02em); text-transform: var(--pill-transform, none);
  text-decoration: none; line-height: 1.2;
}
a.b-pill:hover { background: var(--pill-bg-hover, var(--pill-bg)); color: var(--pill-text); }
.b-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pill-dot, currentColor); flex: none; display: var(--pill-dot-display, inline-block); }

/* ── Kopf ──────────────────────────────────────────────────── */
.b-topbar { background: var(--topbar-bg, var(--primary)); color: var(--topbar-text, var(--primary-contrast)); font-size: .875rem; }
.b-topbar .b-wrap { display: flex; justify-content: center; gap: 24px; min-height: 38px; align-items: center; text-align: center; }
.b-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.b-topbar a:hover { text-decoration: underline; }

.b-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); color: var(--header-text);
  border-bottom: 1px solid var(--header-border, transparent);
  backdrop-filter: var(--header-blur, none); -webkit-backdrop-filter: var(--header-blur, none);
}
.b-header__in { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.b-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: inherit; min-height: 44px; }
.b-logo img { height: var(--logo-h, 36px); width: auto; }
.b-nav { display: flex; align-items: center; gap: var(--nav-gap, 28px); margin-inline: auto; }
.b-nav a {
  color: var(--nav-color, var(--header-text)); text-decoration: none;
  font-family: var(--font-nav, var(--font-body)); font-weight: var(--nav-weight, 600); font-size: var(--fs-nav, 1rem);
  letter-spacing: var(--nav-tracking, 0); text-transform: var(--nav-transform, none);
  padding: 10px 2px; border-bottom: 2px solid transparent;
}
.b-nav a:hover, .b-nav a[aria-current="page"] { color: var(--nav-active, var(--accent)); border-bottom-color: var(--nav-underline, transparent); }
.b-header__cta { flex: none; display: flex; align-items: center; gap: 12px; }
.b-header__cta .b-kurz { display: none; }
.b-header__cta .b-btn { min-height: 44px; padding: 10px 20px; }
.b-iconlink { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--header-text); border-radius: 50%; }
.b-iconlink svg { width: 24px; height: 24px; }
.b-iconlink:hover { color: var(--nav-active, var(--accent)); }

/* Mobil-Menü ohne JavaScript (details/summary); das Panel hängt am sticky Kopf */
.b-mnav { display: none; }
.b-mnav summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--btn-radius); color: var(--header-text);
}
.b-mnav summary::-webkit-details-marker { display: none; }
.b-mnav summary svg { width: 26px; height: 26px; }
.b-mnav[open] summary .b-ico-open, .b-mnav:not([open]) summary .b-ico-close { display: none; }
.b-mnav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--header-bg-solid, var(--header-bg)); color: var(--header-text);
  border-top: 1px solid var(--header-border, rgba(127,127,127,.2));
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
  padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h) - 16px); overflow-y: auto;
}
[hidden] { display: none !important; }
.b-mnav__panel a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  color: var(--header-text); text-decoration: none; font-weight: var(--nav-weight, 600); font-size: 1.0625rem;
  font-family: var(--font-nav, var(--font-body)); letter-spacing: var(--nav-tracking, 0); text-transform: var(--nav-transform, none);
  border-bottom: 1px solid var(--header-border, rgba(127,127,127,.18));
}
.b-mnav__panel .b-btn { width: 100%; margin-top: 18px; }

/* ── Brotkrumen ───────────────────────────────────────────── */
.b-crumbs { font-size: .875rem; color: var(--crumb-color, var(--muted)); padding-top: 20px; }
.b-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.b-crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.b-crumbs li + li::before { content: "›"; opacity: .6; }
.b-crumbs a { color: inherit; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.b-crumbs a:hover { color: var(--link-hover); text-decoration: underline; }
.b-crumbs [aria-current] { color: var(--crumb-current, var(--text)); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Artikel-Kopf ─────────────────────────────────────────── */
.b-hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.b-hero .b-crumbs { color: var(--hero-muted, var(--muted)); }
.b-hero .b-crumbs [aria-current] { color: var(--hero-text); }
.b-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 36px 0 64px; }
.b-hero h1 { color: var(--hero-head, var(--hero-text)); margin: 18px 0 18px; }
.b-hero h1.b-h1-lang { font-size: calc(var(--fs-h1) * .8); }
.b-hero__lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--hero-lead, var(--hero-text)); margin: 0; max-width: 62ch; }
.b-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .9375rem; color: var(--hero-muted, var(--muted)); }
.b-meta span { display: inline-flex; align-items: center; gap: 8px; }
.b-meta svg { width: 18px; height: 18px; opacity: .85; }
.b-hero__media { position: relative; margin: 0; }
.b-hero__media img { width: 100%; aspect-ratio: var(--hero-ratio, 4 / 3); object-fit: var(--hero-fit, cover); border-radius: var(--hero-img-radius, var(--radius-lg)); background: var(--hero-img-bg, transparent); box-shadow: var(--hero-img-shadow, none); }
.b-hero__media figcaption { font-size: .8125rem; color: var(--hero-muted, var(--muted)); margin-top: 10px; }

/* ── Inhalt mit Inhaltsverzeichnis ────────────────────────── */
.b-main { padding: 56px 0 24px; }
.b-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.b-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.b-toc { border-left: 2px solid var(--border); padding-left: 18px; }
.b-toc__title { font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform, none); letter-spacing: var(--head-tracking, 0); font-size: .9375rem; margin: 0 0 10px; color: var(--head-color, var(--text)); }
.b-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.b-toc a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.b-toc a:hover, .b-toc a.is-active { color: var(--text); }
.b-toc a.is-active { font-weight: 700; }
.b-sidecard { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.b-sidecard img { width: 100%; height: 132px; object-fit: contain; margin-bottom: 12px; }
.b-sidecard p { margin: 0 0 14px; font-size: .9375rem; line-height: 1.5; }
.b-sidecard strong { display: block; font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform, none); letter-spacing: var(--head-tracking, 0); font-size: 1.0625rem; line-height: 1.3; margin-bottom: 6px; color: var(--head-color, var(--text)); }
.b-sidecard .b-btn { width: 100%; min-height: 46px; padding: 10px 16px; font-size: .9375rem; }
.b-mtoc { display: none; }

.b-content { max-width: var(--measure); min-width: 0; }
.b-prose > * + * { margin-top: 1.1em; }
.b-prose p { margin: 0; }
.b-prose h2 { margin-top: 2.2em; margin-bottom: .1em; scroll-margin-top: calc(var(--header-h) + 24px); }
.b-prose h3 { margin-top: 1.6em; }
.b-prose ul, .b-prose ol { padding-left: 1.3em; margin-bottom: 0; }
.b-prose li + li { margin-top: .45em; }
.b-prose li::marker { color: var(--marker, var(--primary)); }
.b-prose strong { font-weight: 700; color: var(--strong-color, inherit); }
.b-prose a { color: var(--link); font-weight: var(--link-weight, 600); text-decoration: underline; }
/* Knöpfe im Fließtext (Werkzeugkasten) behalten ihre Knopffarben, nicht die Linkfarbe */
.b-prose a.b-btn { text-decoration: none; font-weight: var(--btn-weight, 700); }
.b-prose a.b-btn--primary, .b-prose a.b-btn--primary:hover { color: var(--primary-contrast); }

/* Tabellen (auch atlas-table-wrap/atlas-spec-table aus dem Generator) */
.b-prose .atlas-table-wrap, .b-prose .b-table {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  margin-top: 1.6em;
}
.b-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.b-prose th, .b-prose td { text-align: left; vertical-align: top; padding: 14px 16px; line-height: 1.5; border-bottom: 1px solid var(--border); }
.b-prose thead th { background: var(--table-head-bg, var(--surface-2)); color: var(--table-head-text, var(--text)); font-weight: 700; font-size: .875rem; }
.b-prose tbody tr:last-child td { border-bottom: 0; }
.b-prose tbody td:first-child { font-weight: 600; }

/* Kurzantwort */
.b-answer {
  position: relative; background: var(--answer-bg); color: var(--answer-text, var(--text));
  border: 1px solid var(--answer-border, var(--border)); border-radius: var(--radius-lg);
  padding: 28px 30px; margin: 0 0 8px;
}
.b-answer__label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--answer-label, var(--primary));
}
.b-answer__label svg { width: 18px; height: 18px; }
.b-answer h2, .b-prose .b-answer h2 { font-size: var(--fs-h3); margin: 0 0 12px; line-height: 1.3; color: var(--answer-head, var(--head-color, var(--text))); }
.b-answer p { margin: 0; }
.b-answer ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.b-answer li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: .9688rem; line-height: 1.55; }
.b-answer li svg { width: 22px; height: 22px; color: var(--check, var(--primary)); margin-top: 1px; }

/* Bild zwischendurch */
.b-figure { margin: 2.2em 0 0; }
.b-figure img { width: 100%; aspect-ratio: var(--fig-ratio, 16 / 10); object-fit: var(--fig-fit, cover); border-radius: var(--radius-lg); background: var(--fig-bg, var(--surface-2)); }
.b-figure figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* Werkzeug-/Angebotskasten (spotlight) */
.b-feature {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--feature-bg); color: var(--feature-text, var(--text));
  border: 1px solid var(--feature-border, var(--border)); border-radius: var(--radius-lg);
  padding: 28px; margin-top: 2.4em;
}
.b-feature img { width: 100%; height: 160px; object-fit: contain; }
.b-feature h3 { color: var(--feature-head, inherit); margin-bottom: 10px; font-size: var(--fs-h3); }
.b-feature p { margin: 0; font-size: .9688rem; line-height: 1.6; }
.b-feature .b-btn { margin-top: 18px; }

/* FAQ */
.b-faq { margin-top: 2.6em; }
.b-faq h2 { margin-bottom: 18px; }
.b-faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.b-faq details + details { margin-top: 12px; }
.b-faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 18px 20px; min-height: 56px; font-weight: 700; line-height: 1.4; color: var(--head-color, var(--text));
}
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary svg { width: 24px; height: 24px; color: var(--primary-on-surface, var(--primary)); transition: transform .2s ease; }
.b-faq details[open] summary svg { transform: rotate(45deg); }
.b-faq details > div { padding: 0 20px 20px; color: var(--text); }
.b-faq details > div p { margin: 0; }

/* Weiterführende Seiten */
.b-links { margin-top: 2.6em; }
.b-links h2 { font-size: var(--fs-h3); margin-bottom: 14px; }
.b-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.b-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--border); border-radius: var(--chip-radius, 999px); background: var(--surface);
  color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 600; line-height: 1.3;
}
.b-links a:hover { border-color: var(--primary-on-surface, var(--primary)); color: var(--text); }
.b-links a svg { width: 16px; height: 16px; flex: none; }

/* ── Verwandte Ratgeber + Hub-Karten ──────────────────────── */
.b-related { padding: 64px 0 72px; background: var(--section-alt-bg, var(--surface-2)); margin-top: 64px; }
.b-related__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.b-related__head a { font-weight: 700; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; gap: 6px; }
.b-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.b-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--card-bg, var(--surface)); border: 1px solid var(--card-border, var(--border)); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--card-shadow, none);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.b-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover, 0 14px 36px rgba(0,0,0,.12)); }
.b-card__img { aspect-ratio: 16 / 10; background: var(--card-img-bg, var(--surface-2)); overflow: hidden; }
.b-card__img img { width: 100%; height: 100%; object-fit: var(--card-fit, cover); }
.b-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.b-card__body .b-pill { align-self: flex-start; }
.b-card h3 { font-size: 1.125rem; line-height: 1.35; text-transform: var(--card-title-transform, var(--head-transform, none)); }
.b-card h3 a { color: var(--head-color, var(--text)); text-decoration: none; }
.b-card h3 a::after { content: ""; position: absolute; inset: 0; }
.b-card p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.b-card__more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9375rem; color: var(--primary-on-surface, var(--primary)); display: inline-flex; gap: 6px; align-items: center; }
.b-card__more svg { width: 16px; height: 16px; }
.b-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.b-card h3 a:focus-visible { outline: none; }

/* ── Abschluss-Band (CTA) ─────────────────────────────────── */
.b-cta { background: var(--cta-bg); color: var(--cta-text); padding: 72px 0; position: relative; overflow: hidden; }
.b-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.b-cta h2 { color: var(--cta-head, var(--cta-text)); margin-bottom: 14px; }
.b-cta__eyebrow { margin: 0 0 12px !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cta-eyebrow, var(--cta-text)); }
.b-footer__text { display: inline-flex; min-height: 36px; align-items: center; color: var(--footer-muted, var(--footer-text)); }
.b-cta p { margin: 0; font-size: var(--fs-lead); line-height: 1.6; max-width: 56ch; color: var(--cta-lead, var(--cta-text)); }
.b-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.b-cta__note { margin-top: 14px !important; font-size: .9375rem !important; opacity: .85; }
.b-cta__media img { width: 100%; max-height: 360px; object-fit: contain; }
.b-cta .b-btn--ghost { color: var(--cta-ghost, var(--cta-text)); }
.b-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.b-stores a { display: inline-flex; min-height: 48px; align-items: center; border-radius: 10px; }
.b-stores img { height: 48px; width: auto; }

/* ── Fuß ──────────────────────────────────────────────────── */
.b-footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 28px; font-size: .9375rem; }
.b-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-cols, 3), minmax(0, 1fr)); gap: 40px; }
.b-footer__brand img { height: var(--footer-logo-h, 40px); width: auto; margin-bottom: 16px; }
.b-footer__brand p { margin: 0; line-height: 1.6; color: var(--footer-muted, var(--footer-text)); max-width: 36ch; }
.b-footer h2 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body); font-weight: 800; color: var(--footer-head, var(--footer-text)); margin-bottom: 14px; }
.b-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.b-footer a { color: var(--footer-link, var(--footer-text)); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.b-footer a:hover { color: var(--footer-link-hover, var(--accent)); text-decoration: underline; }
.b-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--footer-border, rgba(127,127,127,.25)); color: var(--footer-muted, var(--footer-text)); font-size: .875rem; }
.b-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.b-footer__bottom a { min-height: 32px; }
.b-footer__bottom ul { align-items: center; }
.b-footer .b-widerruf { min-height: 40px; padding: 8px 16px; border: 1px solid currentColor; border-radius: var(--btn-radius); font-weight: 700; text-decoration: none; }
.b-footer .b-widerruf:hover { text-decoration: none; }

/* ── Hub (Ratgeber-Übersicht) ─────────────────────────────── */
.b-hubhero { background: var(--hero-bg); color: var(--hero-text); overflow: hidden; }
.b-hubhero .b-crumbs { color: var(--hero-muted, var(--muted)); }
.b-hubhero .b-crumbs [aria-current] { color: var(--hero-head, var(--hero-text)); }
.b-hubhero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 40px 0 64px; }
.b-hubhero h1 { color: var(--hero-head, var(--hero-text)); margin: 18px 0; font-size: var(--fs-hub-h1, var(--fs-h1)); }
.b-hubhero p { margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: var(--hero-lead, var(--hero-text)); max-width: 60ch; }
.b-hubhero__media img { width: 100%; max-height: 420px; object-fit: var(--hub-fit, contain); border-radius: var(--hub-img-radius, 0); }
.b-search { margin-top: 28px; position: relative; max-width: 520px; }
.b-search input {
  width: 100%; min-height: 54px; padding: 14px 18px 14px 50px;
  border: 2px solid var(--input-border, var(--border)); border-radius: var(--input-radius, var(--radius));
  background: var(--input-bg, var(--surface)); color: var(--input-text, var(--text)); font: inherit; font-size: 1rem;
}
.b-search input::placeholder { color: var(--input-placeholder, var(--muted)); opacity: 1; }
.b-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--input-icon, var(--muted)); pointer-events: none; }
.b-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.b-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: var(--chip-radius, 999px); border: 1px solid var(--chip-border, rgba(127,127,127,.35));
  color: var(--chip-text, var(--hero-text)); background: var(--chip-bg, transparent); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.b-chips a:hover { background: var(--chip-bg-hover, rgba(127,127,127,.14)); color: var(--chip-text, var(--hero-text)); }
.b-chips small { font-size: .8125rem; opacity: .75; font-weight: 700; }
.b-cluster { padding: 56px 0 8px; }
.b-cluster + .b-cluster { padding-top: 40px; }
.b-cluster__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.b-cluster__head span { color: var(--muted); font-weight: 600; }
.b-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ── Bewegung: dezent, abschaltbar ────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .b-card:hover { transform: none; }
}

/* ── Responsiv ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .b-nav { gap: 18px; }
  .b-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 960px) {
  :root { --header-h: var(--header-h-mobile, 64px); }
  .b-nav { display: none; }
  .b-mnav { display: block; }
  .b-header__in { gap: 12px; }
  .b-header__cta { margin-left: auto; }
  .b-hero__grid, .b-hubhero__grid, .b-cta__grid { grid-template-columns: 1fr; gap: 28px; }
  .b-hero__grid { padding: 20px 0 40px; }
  .b-hero__media { order: -1; }
  .b-hero__media img { aspect-ratio: var(--hero-ratio-mobile, 16 / 10); }
  .b-hubhero__media { order: -1; }
  .b-hubhero__media img { max-height: 240px; }
  .b-layout { grid-template-columns: 1fr; gap: 0; }
  .b-side { display: none; }
  .b-mtoc { display: block; margin-bottom: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .b-mtoc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; font-weight: 700; }
  .b-mtoc summary::-webkit-details-marker { display: none; }
  .b-mtoc summary svg { width: 22px; height: 22px; transition: transform .2s ease; }
  .b-mtoc[open] summary svg { transform: rotate(180deg); }
  .b-mtoc ol { margin: 0; padding: 0 18px 14px 36px; }
  .b-mtoc li + li { margin-top: 4px; }
  .b-mtoc a { display: inline-flex; min-height: 40px; align-items: center; color: var(--text); text-decoration: none; }
  .b-main { padding-top: 32px; }
  .b-grid { --cols: 2; }
  .b-footer__grid { grid-template-columns: 1fr 1fr; }
  .b-footer__brand { grid-column: 1 / -1; }
  .b-cta__media { order: -1; }
  .b-cta__media img { max-height: 220px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .b-grid { --cols: 1; }
  .b-feature { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .b-feature img { height: 140px; }
  .b-answer { padding: 22px 20px; }
  .b-related { padding: 48px 0 56px; margin-top: 48px; }
  .b-cta { padding: 52px 0; }
  .b-cta__actions .b-btn { width: 100%; }
  .b-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .b-hero .b-crumbs li:last-child { display: none; }
  .b-header__cta .b-btn { padding: 10px 14px; font-size: .9375rem; }
  .b-header__cta .b-lang { display: none; }
  .b-header__cta .b-kurz { display: inline; }
  .b-topbar .b-wrap > :not(a) { display: none; }
}
/* Finger statt Maus: alle Navigationslinks mindestens 44 px hoch */
@media (pointer: coarse) {
  .b-crumbs a, .b-footer a, .b-footer__bottom a, .b-toc a, .b-mtoc a, .b-topbar a { min-height: 44px; display: inline-flex; align-items: center; }
  a.b-pill { min-height: 46px; }
  .b-footer .b-widerruf { min-height: 46px; }
}
@media print {
  .b-header, .b-topbar, .b-side, .b-mtoc, .b-cta, .b-footer, .b-related, .b-skip { display: none !important; }
  body { background: #fff; color: #000; }
}




/* LessonPrep · lessonprep.de: Navy-Kopf, Lime-Knöpfe, Roboto 900, Cartoon-Szenen. EFácil erbt diese Datei
   (marke.json "erbt_css") und setzt nur eigene Tokens. Werte aus der Live-Messung 03.11.2026. Roboto: Apache-2.0/OFL. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/roboto-normal-latin.woff2) format("woff2"); }

:root {
  --bg: #F5F8FC; --surface: #FFFFFF; --surface-2: #EEF4FF; --text: #1F2F45; --muted: #4A5B72; --border: rgba(7, 31, 64, .14);
  --head-color: #08264B; --strong-color: #08264B;
  --primary: #D8FF1C; --primary-hover: #C9F415; --primary-contrast: #08264B; --primary-on-surface: #08264B;
  --accent: #D8FF1C; --accent-contrast: #08264B;
  --link: #08264B; --link-hover: #2E4165; --link-weight: 700; --focus: #2E6BE6; --marker: #08264B;
  --font-body: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  --head-weight: 900; --head-tracking: -.01em;
  --fs-body: 1.0625rem; --fs-lead: 1.125rem;
  --fs-h1: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); --fs-hub-h1: clamp(2.25rem, 1.3rem + 2.8vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); --fs-h3: clamp(1.2rem, 1.1rem + .4vw, 1.375rem);
  --container: 1160px; --gutter: 24px; --measure: 740px;
  --radius: 14px; --radius-lg: 18px; --btn-radius: 8px; --chip-radius: 999px;
  --btn-weight: 800; --fs-btn: 1rem;
  --header-h: 72px; --header-h-mobile: 62px; --header-bg: #071F40; --header-bg-solid: #071F40;
  --header-text: #FFFFFF; --header-border: rgba(255, 255, 255, .12);
  --nav-color: #FFFFFF; --nav-active: #D9F719; --nav-weight: 500; --fs-nav: 1.0625rem; --nav-gap: 30px;
  --logo-h: 38px;
  --hero-bg: radial-gradient(circle at 82% 18%, rgba(214, 244, 42, .14) 0 14%, transparent 36%), linear-gradient(160deg, #091E3E 0%, #08264B 100%);
  --hero-text: #E6ECF7; --hero-head: #FFFFFF; --hero-muted: #B8C4D9; --hero-lead: #D5DEEC;
  --hero-ratio: 4 / 3; --hero-img-radius: 18px; --hero-img-shadow: 0 20px 52px rgba(0, 0, 0, .35);
  --pill-bg: #D8FF1C; --pill-text: #08264B; --pill-dot-display: none; --pill-radius: 999px; --pill-weight: 900; --pill-transform: uppercase; --pill-tracking: .08em; --fs-pill: .75rem;
  --answer-bg: #08264B; --answer-text: #E6ECF7; --answer-border: #08264B; --answer-label: #D8FF1C; --answer-head: #FFFFFF; --check: #D8FF1C;
  --feature-bg: #FFFFFF; --feature-border: rgba(7, 31, 64, .14);
  --section-alt-bg: #E3EAFA;
  --cta-bg: #08264B; --cta-text: #E6ECF7; --cta-head: #FFFFFF; --cta-lead: #D5DEEC; --cta-ghost: #FFFFFF;
  --footer-bg: #2E4165; --footer-text: #FFFFFF; --footer-head: #E6FE74; --footer-link: #FFFFFF; --footer-link-hover: #E6FE74; --footer-muted: #D0D8E6; --footer-border: rgba(255, 255, 255, .2);
  --table-head-bg: #08264B; --table-head-text: #FFFFFF;
  --card-shadow: 0 16px 32px rgba(8, 38, 75, .07); --card-shadow-hover: 0 18px 40px rgba(8, 38, 75, .16);
  --input-border: rgba(255, 255, 255, .25); --input-bg: #FFFFFF; --input-radius: 10px; --input-icon: #08264B;
  --chip-border: rgba(255, 255, 255, .28); --chip-text: #FFFFFF; --chip-bg: rgba(255, 255, 255, .06); --chip-bg-hover: rgba(255, 255, 255, .14);
  --crumb-color: #B8C4D9;
}

/* Kopf wie lessonprep.de: Navy, weiße Navigation, Lime beim Überfahren */
.b-nav a:hover { color: #D9F719; }
.b-mnav summary { color: #FFFFFF; }
.b-mnav__panel { background: #FFFFFF; color: #081F41; }
.b-mnav__panel a { color: #081F41; border-bottom-color: #E3EAFA; }
.b-mnav__panel a:hover { background: #E5F1FF; }
.b-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(8, 38, 75, .18); }
.b-btn--ghost { border-color: #FFFFFF; color: #FFFFFF; }
.b-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }

/* Artikelkopf: Navy wie der Startseiten-Hero, Cartoon-Szene rechts */
.b-hero .b-crumbs a:hover { color: #D8FF1C; }
.b-hero h1, .b-hubhero h1 { line-height: 1.08; }
.b-hero .b-meta svg { color: #D8FF1C; opacity: 1; }
.b-hubhero .b-search input { border-color: transparent; }
.b-hubhero__media img { border-radius: 18px; object-fit: cover; aspect-ratio: 4 / 3; box-shadow: 0 20px 52px rgba(0, 0, 0, .35); }

/* Kurzantwort als Navy-Box mit Lime-Haken, Text hell */
.b-answer h2 { color: #FFFFFF; }
.b-answer p, .b-answer li { color: #E6ECF7; }
.b-answer a { color: #D8FF1C; }
.b-answer__label svg { color: #D8FF1C; }

/* Inhalt */
.b-prose h2 { color: #08264B; }
.b-feature { box-shadow: var(--card-shadow); border-left: 4px solid #D8FF1C; }
.b-faq details { border-radius: 10px; border-color: rgba(8, 38, 75, .12); }
.b-faq details[open] { border-color: #C3E612; box-shadow: 0 0 0 1px #C3E612; }
.b-faq summary svg { background: #D8FF1C; color: #08264B; border-radius: 50%; padding: 4px; width: 30px; height: 30px; }
.b-prose .atlas-table-wrap { border-radius: 14px; }
.b-prose tbody tr:nth-child(even) td { background: #F5F8FC; }
.b-links a:hover { border-color: #08264B; background: #EEF4FF; }
.b-toc a.is-active { color: #08264B; box-shadow: inset 3px 0 0 #D8FF1C; padding-left: 10px; margin-left: -10px; }
.b-sidecard { background: #08264B; border: 0; color: #E6ECF7; }
.b-sidecard strong { color: #FFFFFF; }
.b-sidecard img { height: 170px; }
.b-card { border-color: rgba(7, 31, 64, .1); }
.b-card .b-pill { background: #EEF4FF; color: #08264B; }

/* Abschluss: Navy-Band, Lime-Knopf, Coach */
.b-cta { background: radial-gradient(circle at 85% 20%, rgba(214, 244, 42, .16) 0 14%, transparent 38%), linear-gradient(135deg, #071F40, #10294D); }
.b-cta__media img { max-height: 400px; }
.b-cta .b-btn--primary { box-shadow: 0 14px 28px rgba(216, 255, 28, .18); }

/* Fuß: #2E4165 wie live, Widerruf als weißer Knopf */
.b-footer .b-widerruf { background: #FFFFFF; color: #2E4165; border-color: #FFFFFF; }
.b-footer .b-widerruf:hover { color: #2E4165; background: #E6FE74; }
.b-footer__brand a { color: #E6FE74; }

@media (max-width: 1024px) {
  .b-nav { display: none; }
  .b-mnav { display: block; }
  .b-header__cta { margin-left: auto; }
}
@media (max-width: 640px) {
  :root { --logo-h: 32px; }
}
