/* 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; }
/* Der Panel-Link oben setzt die Kopf-Textfarbe auch auf den Primärknopf (Kontrast 1,9–3,7:1, Review 04.11.2026) */
.b-mnav__panel a.b-btn--primary { color: var(--primary-contrast); justify-content: center; border-bottom: 0; }

/* ── 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; }
/* Spaltenzahl als Klasse statt Inline-Style: Domains mit CSP „style-src 'self'“ (smart2index/-security/-insights) verwerfen style="" */
.b-footer--cols-1 { --footer-cols: 1; } .b-footer--cols-2 { --footer-cols: 2; } .b-footer--cols-3 { --footer-cols: 3; }
.b-footer--cols-4 { --footer-cols: 4; } .b-footer--cols-5 { --footer-cols: 5; }
.b-spacer-64 { height: 64px; }
.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; }
}

/* ── Nachbesserungen nach der Designprüfung aller 16 Marken (Review 04.11.2026) ───────── */
/* Tabellen auf dem Handy: Schatten zeigen, dass seitlich mehr kommt; die erste Spalte bleibt stehen */
.b-prose .atlas-table-wrap, .b-prose .b-table {
  background:
    linear-gradient(90deg, var(--surface) 30%, transparent) left / 28px 100% no-repeat local,
    linear-gradient(270deg, var(--surface) 30%, transparent) right / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .18), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .18), transparent) right / 12px 100% no-repeat scroll,
    var(--surface);
}
.b-prose tbody td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--border); }
.b-prose thead th:first-child { position: sticky; left: 0; z-index: 2; box-shadow: inset -1px 0 0 var(--border); }
/* Zeilenlänge 65–75 Zeichen statt 83–99 */
.b-prose > :is(p, ul, ol) { max-width: 68ch; }
/* „Alle Ratgeber →“ in einer Zeile: der Pfeil hatte keine feste Größe (34–39 px) */
.b-related__head a { white-space: nowrap; flex: none; }
.b-related__head a svg { width: 20px; height: 20px; flex: none; }




/* Emilys Chocolaterie · „Flyer-Linie“ wie emilys-chocolaterie.de und der Journal-Artikel (emc-v2-beitrag):
   Weiß, Stein, Warmschwarz, Bronze-Haarlinien, Raleway Light in Versalien, zentrierter Artikelkopf, eine Lesespalte. */
@font-face { font-family: "Emilys Raleway"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/raleway-normal-latin.woff2) format("woff2"); }

:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F5F4F0; --text: #1C1B19; --muted: #5F5B55; --border: #E4E1DB;
  --head-color: #1C1B19; --strong-color: #1C1B19;
  --primary: #1C1B19; --primary-hover: #000000; --primary-contrast: #FFFFFF; --primary-on-surface: #7F5F3B;
  --accent: #8C6A42; --accent-contrast: #FFFFFF;
  --link: #1C1B19; --link-hover: #7F5F3B; --link-weight: 500; --focus: #8C6A42; --marker: #8C6A42;
  --font-body: "Emilys Raleway", Raleway, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Emilys Raleway", Raleway, "Helvetica Neue", Arial, sans-serif;
  --head-weight: 300; --head-transform: uppercase; --head-tracking: .035em;
  --fs-body: 1.0625rem; --fs-lead: 1.1875rem;
  --fs-h1: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); --fs-hub-h1: clamp(2rem, 1.25rem + 2.2vw, 3.25rem);
  --fs-h2: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); --fs-h3: 1rem;
  --container: 1240px; --gutter: 24px; --measure: 760px;
  --radius: 4px; --radius-lg: 6px; --btn-radius: 4px; --chip-radius: 4px;
  --btn-weight: 600; --fs-btn: .8125rem; --btn-tracking: .14em; --btn-transform: uppercase;
  --header-h: 100px; --header-h-mobile: 76px; --header-bg: #FFFFFF; --header-text: #1C1B19; --header-border: #E4E1DB;
  --nav-color: #1C1B19; --nav-active: #1C1B19; --nav-underline: #8C6A42; --nav-weight: 600; --fs-nav: .8125rem;
  --nav-tracking: .12em; --nav-transform: uppercase; --nav-gap: 30px;
  --logo-h: 74px;
  --topbar-bg: #1C1B19; --topbar-text: #FFFFFF;
  --hero-bg: #FFFFFF; --hero-text: #1C1B19; --hero-muted: #5F5B55; --hero-lead: #3A3733;
  --hero-ratio: 3 / 2; --hero-ratio-mobile: 3 / 2; --hero-img-radius: 4px;
  --pill-bg: transparent; --pill-text: #7F5F3B; --pill-dot-display: none; --pill-weight: 600; --pill-transform: uppercase; --pill-tracking: .16em; --fs-pill: .75rem;
  --answer-bg: #F5F4F0; --answer-border: #F5F4F0; --answer-label: #7F5F3B; --check: #8C6A42;
  --feature-bg: #FBF9F3; --feature-border: #E4E1DB;
  --section-alt-bg: #F5F4F0;
  --cta-bg: #1C1B19; --cta-text: rgba(255, 255, 255, .88); --cta-head: #FFFFFF; --cta-lead: rgba(255, 255, 255, .82); --cta-ghost: #FFFFFF; --cta-eyebrow: #D5B887;
  --footer-bg: #1C1B19; --footer-text: rgba(255, 255, 255, .88); --footer-head: #D5B887; --footer-link: rgba(255, 255, 255, .88); --footer-link-hover: #D5B887; --footer-muted: rgba(255, 255, 255, .7); --footer-border: rgba(255, 255, 255, .18);
  --table-head-bg: #F5F4F0; --table-head-text: #1C1B19;
  --card-shadow: none; --card-shadow-hover: 0 14px 32px rgba(28, 27, 25, .12);
  --input-border: #948D83; --input-radius: 4px; --input-icon: #8C6A42;
  --chip-border: #E4E1DB; --chip-text: #1C1B19; --chip-bg: #FFFFFF; --chip-bg-hover: #F5F4F0;
}

/* Kopf: Ankündigungsleiste, weißer Kopf, runde Logo-Plakette, Versalien-Navigation mit Bronze-Unterstrich */
.b-topbar .b-wrap { justify-content: space-between; font-size: .8125rem; }
.b-logo img { border-radius: 50%; }
.b-nav a { padding: 12px 0; }
.b-nav a:hover { color: #1C1B19; border-bottom-color: #8C6A42; }
.b-mnav__panel a { font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; }
.b-btn { min-height: 48px; padding: 12px 26px; }
.b-btn--primary:hover { box-shadow: 0 6px 18px rgba(28, 27, 25, .1); }
.b-btn--ghost { border-width: 1px; }
.b-btn svg { display: none; }

/* Artikelkopf zentriert wie im Journal: Eyebrow, H1, Bronze-Linie 96 px, Meta, darunter das Foto */
.b-hero__grid { grid-template-columns: 1fr; text-align: center; max-width: 1000px; margin-inline: auto; gap: 36px; padding: 28px 0 56px; }
.b-hero__grid > div { display: flex; flex-direction: column; align-items: center; }
.b-hero__media { order: 1 !important; }
.b-hero h1 { max-width: 34ch; line-height: 1.1; }
.b-hero h1::after { content: ""; display: block; width: 96px; height: 1px; background: #8C6A42; margin: 26px auto 0; }
.b-hero__lead { margin-inline: auto; }
.b-meta { justify-content: center; }
.b-meta svg { color: #8C6A42; opacity: 1; }
.b-pill { padding: 0; min-height: 24px; }
.b-hero .b-crumbs { text-align: left; }

/* Eine Lesespalte ohne Seitenleiste, Inhaltsverzeichnis aufklappbar */
.b-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.b-side { display: none; }
.b-mtoc { display: block; margin-bottom: 32px; border-radius: 4px; }
.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: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.b-mtoc summary::-webkit-details-marker { display: none; }
.b-mtoc summary svg { width: 20px; height: 20px; color: #8C6A42; }
.b-mtoc ol { margin: 0; padding: 0 18px 16px 36px; }
.b-mtoc a { display: inline-flex; min-height: 40px; align-items: center; color: #1C1B19; text-decoration: none; }
.b-prose { font-size: clamp(1.0625rem, .95rem + .3vw, 1.1875rem); line-height: 1.65; }
.b-prose a { text-decoration-color: #8C6A42; text-underline-offset: 3px; }
.b-prose a:hover { text-decoration-thickness: 2px; }
.b-prose h2 { letter-spacing: .04em; }
.b-prose h3 { font-weight: 600; letter-spacing: .1em; font-size: .9375rem; }
.b-prose h3::before { content: ""; display: block; width: 28px; height: 2px; background: #8C6A42; margin-bottom: 12px; }
.b-prose thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

/* Hinweiskasten statt Box: Stein mit Bronze-Balken links */
.b-answer { border-radius: 4px; border-left: 3px solid #8C6A42; }
.b-answer h2 { font-size: 1.25rem; }
.b-answer__label svg { display: none; }
.b-feature { border-radius: 4px; grid-template-columns: 220px minmax(0, 1fr); }
.b-feature img { height: 180px; object-fit: cover; border-radius: 4px; }
.b-feature h3 { font-weight: 600; letter-spacing: .1em; font-size: 1rem; }
.b-figure img { border-radius: 4px; aspect-ratio: auto; max-height: 620px; object-fit: contain; background: #FBF9F3; }
.b-faq details { border-radius: 4px; }
.b-faq summary { font-weight: 600; }
.b-faq summary svg { color: #8C6A42; }
.b-links a { border-radius: 4px; }
.b-links a svg { color: #8C6A42; }

/* Mehr aus dem Ratgeber: Stein, Karten mit Haarlinie */
.b-card { border-radius: 4px; }
.b-card h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.b-card__more { color: #7F5F3B; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.b-related__head h2 { letter-spacing: .035em; }

/* Abschlussband dunkel, Foto links wie im Journal */
.b-cta__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; }
.b-cta__media { order: -1; }
.b-cta__media img { max-height: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.b-cta .b-btn--primary { background: #FFFFFF; color: #1C1B19; }
.b-cta .b-btn--primary:hover { background: #F5F4F0; color: #1C1B19; }
.b-cta .b-btn--ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .7); }

/* Hub: zentrierter Kopf mit Teamfoto */
.b-hubhero h1 { line-height: 1.06; }
.b-hubhero__media img { object-fit: cover; aspect-ratio: 3 / 2; border-radius: 6px; max-height: none; }
.b-chips a { border-radius: 4px; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* Fuß: fünf Spalten auf Warmschwarz */
.b-footer__grid { grid-template-columns: 1.25fr 1fr 1fr 1fr 1.25fr; }
.b-footer__brand img { height: 52px; }
.b-footer h2 { font-weight: 600; letter-spacing: .16em; }
.b-footer .b-widerruf { border-color: rgba(255, 255, 255, .7); }

@media (max-width: 1100px) {
  .b-nav { display: none; }
  .b-mnav { display: block; }
  .b-header__cta { margin-left: auto; }
}
@media (max-width: 960px) {
  :root { --logo-h: 62px; }
  .b-cta__grid { grid-template-columns: 1fr; }
  .b-cta__media img { aspect-ratio: 3 / 2; max-height: 260px; }
  .b-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .b-feature { grid-template-columns: 1fr; }
  .b-footer__grid { grid-template-columns: 1fr; }
  .b-hero__grid { text-align: left; }
  .b-hero__grid > div { align-items: flex-start; }
  .b-hero h1::after { margin-left: 0; }
  .b-meta { justify-content: flex-start; }
}
