/* ============================================================
   FX Wegweiser — Design System (EIN System für alle Seiten)
   Stil: seriös, ruhig, präzise. Deutsche Finanz-Info-Portal-Ästhetik.
   Keine CDN-Schriften, keine Verläufe, kein globales Logo-/img-Styling.
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Farbsystem (Primary / Text / Muted / Border / BG / Success / Warning) */
  --brand: #1d4ed8;
  --brand-dark: #1a43b8;
  --brand-soft: #e8eefc;
  --ink: #161a22;
  --ink-2: #3f4756;
  --ink-3: #6b7382;
  --border: #e3e7ee;
  --border-2: #d2d8e2;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --success: #0f766e;
  --success-soft: #e6f4f2;
  --warning-ink: #6b5410;
  --warning-bg: #fdf6e3;
  --warning-border: #e8d9a8;
  --danger: #9a3412;

  /* Layout */
  --container: 1140px;
  --content: 760px;

  /* Spacing-Skala */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 44px; --sp-8: 60px;

  /* Radius (konservativ) */
  --r-sm: 6px;   /* Buttons, Inputs */
  --r-md: 10px;  /* Cards, Boxen */
  --r-lg: 14px;  /* Großflächen */

  /* Schatten: nur für schwebende Overlays (Dropdown); Karten sind border-basiert */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 10px 30px rgba(16, 24, 40, .12);

  /* Typografie */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 16.5px;
  --fs-small: 14px;
  --fs-meta: 13px;
  --lh-body: 1.65;
}

/* ---------- 2. Reset (komponentenspezifisch, keine breiten img/a-Regeln) ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
ul, ol { list-style-position: outside; }

/* ---------- 3. Hover & Fokus nach Komponententyp (nie global underline) ---------- */
/* Deutsche Finanzportale (trading.de, justETF, Finanzfluss): Links = Farbe, Hover = dunkler, kein Underline.
   Underline nur in der Hinweis-Box (notice), dort ist er semantisch. */
.prose a:hover, .page-head a:hover, .notice a:hover, .faq a:hover,
details.toc a:hover, .footer-risk a:hover { color: var(--brand-dark); text-decoration: none; }
.notice a { color: var(--warning-ink); text-decoration: underline; }
.notice a:hover { color: var(--warning-ink); }
/* Navigation: Hintergrundwechsel */
.nav-main a:hover, .drop-menu a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
/* Buttons: Hintergrund/Border-Wechsel */
.btn:hover { text-decoration: none; }
/* Karten: Border/Farbe, kein Underline */
.info-card:hover, .article-card:hover, .broker-card:hover { border-color: var(--border-2); }
.article-card:hover h3 { color: var(--brand); }
.info-card a:hover, .article-card a:hover, .broker-card a:not(.btn):hover { text-decoration: none; color: var(--ink); }
/* Footer-Links: Farbwechsel */
.site-footer a:hover { color: var(--brand); text-decoration: none; }
/* Breadcrumb */
.breadcrumbs a:hover { color: var(--brand); }
/* Logo: nie underline, nie Farbwechsel */
.brand:hover { text-decoration: none; }
/* Fokus sichtbar für Tastaturnutzer */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-sm);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- 4. Header (EIN System) ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 14px; height: 64px;
}
/* Logo / Brand: feste Größe, ein Markenzeichen */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; color: var(--ink); flex: 0 0 auto; }
.site-logo { width: 32px; height: 32px; display: block; }
.brand-text { line-height: 1; }
.brand .brand-fx { color: var(--brand); }
.nav-main { display: flex; gap: 2px; margin-left: 6px; flex: 1; align-items: center; }
.nav-main a {
  padding: 8px 11px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); white-space: nowrap;
}
/* Wissen-Dropdown (Desktop) */
.nav-drop { position: relative; }
.nav-drop .drop-toggle { display: flex; align-items: center; gap: 4px; }
.nav-drop .caret { font-size: 10px; line-height: 1; color: var(--ink-3); margin-top: 1px; }
.drop-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .12); padding: 8px; z-index: 50;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
/* Mobile-Sub-Links (nur im geöffneten Menü sichtbar) */
.nav-sub-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 7px 11px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* ---------- 5. Buttons (EIN System) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: var(--r-sm); font-size: 15px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s;
  line-height: 1.3; text-align: center;
}
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--brand); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- 6. Broker-Karte (EIN BrokerCard) ---------- */
.broker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; align-items: stretch; }
.broker-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px; display: flex; flex-direction: column; gap: 11px;
  height: 100%;
}
.bc-top { display: flex; align-items: flex-start; gap: 12px; }
.bc-id { min-width: 0; flex: 1; }
.bc-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.bc-name { font-weight: 800; font-size: 16.5px; line-height: 1.25; color: var(--ink); }
/* Broker-Logo: eigener Container, fix, object-fit: contain */
.broker-logo {
  width: 72px; height: 72px; flex: 0 0 72px; border: 1px solid var(--border);
  border-radius: var(--r-md); background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.broker-logo img { max-width: 90%; max-height: 90%; object-fit: contain; }
/* Kurzbeschreibung: maximal 2–3 Zeilen, Rest auf der Detailseite */
.bc-tag {
  font-size: 13px; color: var(--ink-3); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em;
}
/* Fakt-Zeilen: strukturiert als dl-Rows (kein Textbrei) */
.bc-facts { display: flex; flex-direction: column; gap: 5px; }
.bc-fact { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.bc-fact dt { flex: 0 0 104px; color: var(--ink-3); font-size: 12.5px; }
.bc-fact dd { margin: 0; font-weight: 600; color: var(--ink); flex: 1; overflow-wrap: anywhere; line-height: 1.4; }
.bc-fact dd b { font-weight: 700; }
/* Plattform-Chips */
.bc-support { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--success); font-weight: 600; }
/* CTA-Gruppe: klebt immer am Kartenende */
.bc-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.bc-actions .btn { min-height: 42px; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; letter-spacing: .3px; line-height: 1.5;
}
.badge-rank { background: var(--success); color: #fff; }

/* ---------- 7. Filterleiste (/broker/) ---------- */
.broker-tools { margin: 18px 0 22px; display: flex; flex-direction: column; gap: 12px; }
.broker-search { position: relative; max-width: 460px; }
.broker-search input {
  width: 100%; padding: 11px 14px 11px 38px; font-size: 15px; font-family: var(--font);
  border: 1px solid var(--border-2); border-radius: var(--r-md); background: var(--bg); color: var(--ink);
}
.broker-search input:focus { border-color: var(--brand); outline: none; }
.broker-search::before {
  content: "⌕"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 17px; color: var(--ink-3); line-height: 1;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chips .filter-label { font-size: 13px; color: var(--ink-3); font-weight: 600; padding: 5px 2px 0 0; }
.filter-chip {
  font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--bg);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 5px 13px; cursor: pointer;
  font-family: var(--font); transition: background .15s, border-color .15s, color .15s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.broker-count { font-size: 13px; color: var(--ink-3); }

/* ---------- 8. Vergleichstabelle (kein horizontales Scrollen auf Desktop) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.cmp th, table.cmp td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.cmp th { background: var(--bg-soft); font-weight: 700; font-size: 12.5px; white-space: nowrap; color: var(--ink-2); }
table.cmp tr:last-child td { border-bottom: none; }
/* Spaltenbreiten für beide Tabellen identisch (colgroup) – damit die Zellen untereinander bündig sind */
table.cmp col.c-broker { width: 17%; }
table.cmp col.c-reg { width: 13%; }
table.cmp col.c-kosten { width: 21%; }
table.cmp col.c-plats { width: 17%; }
table.cmp col.c-mindep { width: 12%; }
table.cmp col.c-support { width: 8%; }
table.cmp col.c-aktion { width: 12%; }
table.cmp { table-layout: fixed; }
table.cmp td.broker-cell { min-width: 150px; }
table.cmp .broker-cell-inner { display: flex; align-items: center; gap: 10px; }
table.cmp .mini-logo { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--border); border-radius: 7px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
table.cmp .mini-logo img { max-width: 88%; max-height: 88%; object-fit: contain; }
table.cmp .cmp-name { font-weight: 700; font-size: 14px; color: var(--ink); display: block; }
table.cmp .cmp-actions { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
table.cmp .cmp-actions .btn { padding: 7px 10px; font-size: 13px; min-height: 36px; white-space: nowrap; }
.cmp-kosten { font-size: 13px; color: var(--ink-2); }
.cmp-kosten b { color: var(--ink); }

/* ---------- 9. Sections / Seitenkopf ---------- */
.section { padding: var(--sp-6) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: var(--sp-4); }
.section-head h2 { font-size: 22px; letter-spacing: -.3px; font-weight: 800; }
.section-head .more { font-size: 14px; font-weight: 600; white-space: nowrap; }
.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.page-head { padding: var(--sp-6) 0 var(--sp-2); }
.page-head h1 { font-size: 29px; letter-spacing: -.5px; font-weight: 800; line-height: 1.25; }
.page-head .sub { color: var(--ink-3); margin-top: 10px; font-size: 15.5px; max-width: 720px; }

/* ---------- 10. Hero (Startseite) ---------- */
.hero { background: var(--bg); padding: var(--sp-7) 0 var(--sp-5); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 33px; line-height: 1.2; letter-spacing: -.6px; font-weight: 800; }
.hero h1 span { color: var(--brand); }
.hero p.lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 620px; }
.hero .hero-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-notes { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); max-width: 620px; }
.hero-visual { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.hero-visual h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-3); margin-bottom: 12px; }
.hero-visual ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.hero-visual li::before { content: "✓ "; color: var(--success); font-weight: 700; }

/* ---------- 11. Prosa / Artikel ---------- */
.prose { max-width: var(--content); }
.prose h1 { font-size: 30px; line-height: 1.22; letter-spacing: -.5px; font-weight: 800; margin-bottom: 6px; }
.prose h2 { font-size: 22px; letter-spacing: -.3px; font-weight: 800; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 750; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-2); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 18px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 18px; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.prose blockquote { border-left: 3px solid var(--border-2); padding: 4px 16px; color: var(--ink-2); margin: 0 0 16px; }

/* ---------- 12. Broker-Detailseite ---------- */
.broker-hero {
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px;
  background: var(--bg); display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; margin-bottom: 22px;
}
.broker-hero .bh-logo { width: 100px; height: 100px; border: 1px solid var(--border); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.broker-hero .bh-logo img { max-width: 92%; max-height: 92%; object-fit: contain; }
.broker-hero h1 { font-size: 25px; font-weight: 800; letter-spacing: -.4px; line-height: 1.25; }
.broker-hero .bh-sub { color: var(--ink-3); margin-top: 5px; font-size: 14px; }
.broker-hero .bh-cta { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.broker-hero .bh-cta .badge { margin-left: 4px; }
/* Fakten-Raster (dl) */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 10px; margin: 18px 0 22px; }
.spec-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; }
.spec-item dt { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .4px; }
.spec-item dd { font-size: 14.5px; font-weight: 700; margin-top: 3px; color: var(--ink); line-height: 1.45; }
/* Entitäten-Tabelle */
.entities-table { margin: 14px 0 6px; }
/* Hinweis-Box (Mid-Page-CTA) */
.notice {
  border: 1px solid var(--warning-border); background: var(--warning-bg); color: var(--warning-ink);
  border-radius: var(--r-md); padding: 13px 16px; font-size: 14.5px; line-height: 1.6; margin: 18px 0;
}
.notice a { color: var(--warning-ink); text-decoration: underline; }
.notice-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.risk-note {
  border: 1px solid var(--border-2); background: var(--bg-soft); border-radius: var(--r-md);
  padding: 14px 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; margin-top: 18px;
}

/* ---------- 13. Info-/Artikelkarten ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.info-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; }
.info-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.info-card p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.info-card a.arrow { font-size: 14px; font-weight: 700; margin-top: 10px; display: inline-block; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.article-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.article-card h3 { font-size: 16.5px; font-weight: 800; line-height: 1.35; }
.article-card p { font-size: 14px; color: var(--ink-2); flex: 1; margin: 0; }
.article-card .art-cat { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-block { margin-bottom: 34px; }
.cat-block h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
/* Broker-Verzeichnis: Einstiegs-Karten unter dem Grid */
.broker-subnav { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 26px; }
.de-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
/* Glossar */
.glossar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.glossar-item { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; background: var(--bg); }
.glossar-item h3 { font-size: 15.5px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.glossar-item .glossar-cat { font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.glossar-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
/* Werbe-Disclosure: dezente Zeile am Seitenrand statt Badges */
.aff-disclosure {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.55;
  margin-top: 10px; max-width: 720px;
}
.aff-disclosure a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.aff-disclosure a:hover { color: var(--brand-dark); }
.strength-list li::marker { color: var(--success); }
.limit-list li::marker { color: var(--danger); }

/* ---------- 14. FAQ / TOC / Quellen ---------- */
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 10px; background: var(--bg); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 15.5px; color: var(--ink); }
.faq details p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
details.toc { border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 16px; margin: 18px 0; background: var(--bg-soft); font-size: 14.5px; }
details.toc summary { font-weight: 700; cursor: pointer; color: var(--ink-2); }
details.toc ol { margin: 10px 0 0 18px; }
details.toc li { margin-bottom: 5px; }
details.toc ul { margin: 10px 0 0 18px; font-size: 13.5px; color: var(--ink-3); }
details.toc li { margin-bottom: 4px; }

/* ---------- 15. Sticky Mobile CTA (nur Affiliate-Detailseiten) ---------- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--bg); border-top: 1px solid var(--border); box-shadow: 0 -4px 14px rgba(16, 24, 40, .08);
  padding: 10px 16px; align-items: center; gap: 12px;
}
.sticky-cta .btn { flex: 1; margin: 0; }
.sticky-cta .badge { flex: 0 0 auto; }

/* ---------- 16. Footer (EIN System) ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); margin-top: 56px; padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1fr; gap: 30px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--ink-3); max-width: 280px; line-height: 1.55; }
.footer-col h4 { font-size: 13px; font-weight: 800; margin-bottom: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: var(--ink-2); }
.footer-bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
.footer-bottom a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.footer-risk {
  margin-top: 14px; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--r-md);
  font-size: 12.5px; color: var(--ink-3); line-height: 1.6;
}
.footer-risk strong { color: var(--ink-2); }

/* ---------- 17. Breadcrumbs ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--ink-3); padding: 14px 0 0; }
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs .sep { margin: 0 7px; color: var(--border-2); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-main {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 10px 20px 16px; flex-direction: column; gap: 4px;
    box-shadow: var(--shadow); align-items: stretch;
  }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 12px 12px; font-size: 16px; }
  .nav-drop { display: none; }
  .nav-sub-mobile { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
  .nav-sub-mobile a { font-size: 15px; font-weight: 500; color: var(--ink-3); padding: 10px 12px; }
  .hero-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Vergleichstabelle -> gestapelte Karten (kein horizontales Scrollen auf Mobile) */
  .table-wrap { overflow: visible; border: none; background: transparent; }
  table.cmp { min-width: 0; display: block; }
  table.cmp thead { display: none; }
  table.cmp tbody { display: block; }
  table.cmp tr {
    display: block; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 6px 14px 14px; margin-bottom: 12px;
  }
  table.cmp td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); text-align: right; }
  table.cmp tr:last-child td { border-bottom: 1px solid var(--border); }
  table.cmp tr:last-child td:last-child { border-bottom: none; }
  table.cmp td::before { content: attr(data-label); font-weight: 700; font-size: 12.5px; color: var(--ink-3); text-align: left; flex: 0 0 42%; }
  table.cmp td.broker-cell { display: flex; justify-content: flex-start; border-bottom: 1px solid var(--border); }
  table.cmp td.broker-cell::before { display: none; }
  table.cmp td:last-child { display: block; text-align: left; border-bottom: none; }
  table.cmp td:last-child::before { display: none; }
  table.cmp .cmp-actions { min-width: 0; }
  .sticky-cta { display: flex; }
  body:has(.sticky-cta) { padding-bottom: 68px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 16px; }
  .prose h1 { font-size: 25px; }
  .section-head h2 { font-size: 20px; }
  .broker-hero { grid-template-columns: 68px 1fr; padding: 16px; gap: 14px; }
  .broker-hero .bh-logo { width: 80px; height: 80px; }
  .broker-hero h1 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
