.ngbm-root {
  --ngbm-accent: #111111;
  --ngbm-surface: #ffffff;
  --ngbm-border: #e7e7e7;
  --ngbm-muted: #6b7280;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--ngbm-surface);
  color: #111;
  border: 1px solid var(--ngbm-border);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  overflow: hidden;
  font-family: inherit;
  box-shadow: 0 12px 36px rgba(0,0,0,.045);
}
.ngbm-root *, .ngbm-root *::before, .ngbm-root *::after { box-sizing: border-box; }
.ngbm-header { margin-bottom: 18px; }
.ngbm-eyebrow, .ngbm-kicker { font-size: 12px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ngbm-muted); }
.ngbm-title-row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }
.ngbm-title { margin: 6px 0 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.06; letter-spacing: -.035em; }
.ngbm-subtitle { margin: 9px 0 0; color: var(--ngbm-muted); font-size: 15px; line-height: 1.6; max-width: 760px; }
.ngbm-live-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--ngbm-border); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 700; color: #444; background: rgba(255,255,255,.85); }
.ngbm-live-badge span { width: 8px; height: 8px; border-radius: 50%; background: #14a44d; box-shadow: 0 0 0 4px rgba(20,164,77,.12); }
.ngbm-ticker-shell { border-top: 1px solid var(--ngbm-border); border-bottom: 1px solid var(--ngbm-border); margin: 18px 0 22px; min-height: 74px; display:flex; align-items:center; overflow:hidden; }
.ngbm-tv-ticker { min-height: 72px; width: 100%; }
.ngbm-tabs { margin-top: 6px; }
.ngbm-tablist { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--ngbm-border); padding-bottom: 12px; margin-bottom: 18px; }
.ngbm-tab { appearance:none; border: 1px solid var(--ngbm-border); background: #fff; color:#333; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: .18s ease; }
.ngbm-tab:hover { transform: translateY(-1px); border-color: #bdbdbd; }
.ngbm-tab.is-active { background: var(--ngbm-accent); color: #fff; border-color: var(--ngbm-accent); }
.ngbm-tab:focus-visible, .ngbm-load-button:focus-visible, .ngbm-cta:focus-visible { outline: 3px solid rgba(17,17,17,.22); outline-offset: 2px; }
.ngbm-tabpanel[hidden] { display:none !important; }
.ngbm-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.ngbm-card { min-width:0; border:1px solid var(--ngbm-border); border-radius:12px; background:var(--ngbm-surface); overflow:hidden; transition: transform .18s ease, box-shadow .18s ease; }
.ngbm-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.06); }
.ngbm-card-label { padding: 13px 14px 0; font-size: 13px; font-weight: 800; color:#1f2937; }
.ngbm-tv-mini { height: 205px; width:100%; }
.ngbm-tv-symbol-info { width:100%; min-height:155px; }
/* Anleihen: eigene NurGeld-Darstellung mit offiziellen Tagesdaten */
.ngbm-market-bonds .ngbm-title { font-size: clamp(23px, 3vw, 30px); letter-spacing: -.025em; }
.ngbm-market-bonds .ngbm-header { margin-bottom: 16px; }
.ngbm-market-bonds .ngbm-eyebrow { font-size: 10px; letter-spacing: .10em; }
.ngbm-bond-data-card { min-height: 286px; padding: 14px; display:flex; flex-direction:column; }
.ngbm-bond-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:0 0 12px; border-bottom:1px solid var(--ngbm-border); }
.ngbm-bond-card-head > div { min-width:0; }
.ngbm-bond-data-card .ngbm-card-label { display:block; padding:0; font-size:13px; line-height:1.3; font-weight:800; color:#1f2937; }
.ngbm-bond-card-head small { display:block; margin-top:3px; color:var(--ngbm-muted); font-size:10px; line-height:1.35; }
.ngbm-bond-unit { flex:0 0 auto; color:var(--ngbm-muted); font-size:9px; line-height:1; font-weight:800; text-transform:uppercase; letter-spacing:.08em; border:1px solid var(--ngbm-border); border-radius:999px; padding:5px 7px; }
.ngbm-bond-value-row { padding:16px 0 5px; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.ngbm-bond-value { font-size:34px; line-height:1; letter-spacing:-.035em; font-weight:800; color:#111; }
.ngbm-bond-value span { margin-left:3px; font-size:17px; font-weight:700; color:var(--ngbm-muted); }
.ngbm-bond-change { max-width:142px; text-align:right; color:var(--ngbm-muted); font-size:10px; line-height:1.35; font-weight:700; }
.ngbm-bond-change.is-up::before { content:'↑ '; color:var(--ngbm-accent); }
.ngbm-bond-change.is-down::before { content:'↓ '; color:var(--ngbm-accent); }
.ngbm-bond-change.is-flat::before { content:'→ '; color:var(--ngbm-accent); }
.ngbm-bond-sparkline { margin-top:6px; }
.ngbm-bond-sparkline svg { display:block; width:100%; height:86px; overflow:visible; }
.ngbm-bond-gridline { stroke:var(--ngbm-border); stroke-width:1; stroke-dasharray:3 5; }
.ngbm-bond-line { fill:none; stroke:var(--ngbm-accent); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.ngbm-bond-dot { fill:var(--ngbm-accent); stroke:var(--ngbm-surface); stroke-width:2; vector-effect:non-scaling-stroke; }
.ngbm-bond-range { display:flex; justify-content:space-between; margin-top:1px; color:var(--ngbm-muted); font-size:9px; }
.ngbm-bond-meta { margin-top:auto; padding-top:10px; border-top:1px solid var(--ngbm-border); display:flex; justify-content:space-between; gap:8px; color:var(--ngbm-muted); font-size:9px; line-height:1.35; }
.ngbm-bond-meta span:last-child { text-align:right; }
.ngbm-bond-unavailable { flex:1; display:flex; flex-direction:column; justify-content:center; gap:5px; padding:24px 4px; color:var(--ngbm-muted); text-align:center; }
.ngbm-bond-unavailable strong { color:#333; font-size:14px; }
.ngbm-bond-unavailable span { font-size:11px; line-height:1.5; }
.ngbm-market-bonds .ngbm-chart-section { margin-top:22px; padding-top:20px; }
.ngbm-market-bonds .ngbm-section-head h3 { font-size:19px; }
.ngbm-bond-comparison { border:1px solid var(--ngbm-border); border-radius:12px; padding:14px; background:var(--ngbm-surface); overflow:hidden; }
.ngbm-bond-comparison svg { display:block; width:100%; height:auto; min-height:250px; }
.ngbm-bond-chart-legend { display:flex; flex-wrap:wrap; gap:12px 18px; margin:0 0 10px; color:#333; font-size:11px; font-weight:700; }
.ngbm-bond-chart-legend span { display:inline-flex; align-items:center; gap:6px; }
.ngbm-bond-chart-legend i { width:18px; height:3px; border-radius:999px; background:var(--ngbm-line); }
.ngbm-bond-chart-grid { stroke:var(--ngbm-border); stroke-width:1; }
.ngbm-bond-chart-label, .ngbm-bond-chart-date { fill:var(--ngbm-muted); font-size:10px; font-family:inherit; }
.ngbm-bond-chart-empty { padding:28px; border:1px dashed var(--ngbm-border); border-radius:12px; color:var(--ngbm-muted); text-align:center; font-size:12px; }
.ngbm-bond-disclaimer .ngbm-credit { display:block; margin-top:4px; }

.ngbm-chart-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ngbm-border); }
.ngbm-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:14px; }
.ngbm-section-head h3 { margin:4px 0 0; font-size:22px; line-height:1.2; letter-spacing:-.02em; }
.ngbm-chart-symbol { color:var(--ngbm-muted); font-size:12px; font-weight:700; border:1px solid var(--ngbm-border); border-radius:999px; padding:6px 9px; }
.ngbm-chart-wrap { width:100%; min-height:320px; border:1px solid var(--ngbm-border); border-radius:12px; overflow:hidden; background:var(--ngbm-surface); }
.ngbm-tv-chart { height:100%; width:100%; }
.ngbm-disclaimer { margin-top:20px; padding-top:16px; border-top:1px solid var(--ngbm-border); color:var(--ngbm-muted); font-size:12px; line-height:1.55; }
.ngbm-disclaimer strong { color:#333; }
.ngbm-source { display:block; margin-top:4px; }
.ngbm-cta-row { display:flex; justify-content:flex-end; margin-top:18px; }
.ngbm-cta { display:inline-flex; align-items:center; gap:8px; text-decoration:none !important; color:#fff !important; background:var(--ngbm-accent); border-radius:999px; padding:11px 16px; font-size:13px; font-weight:800; }
.ngbm-privacy { position:absolute; inset:0; z-index:20; display:grid; place-items:center; padding:24px; background:rgba(255,255,255,.92); backdrop-filter: blur(4px); }
.ngbm-privacy-card { width:min(520px,100%); text-align:center; padding:28px; border:1px solid var(--ngbm-border); border-radius:16px; background:#fff; box-shadow:0 16px 40px rgba(0,0,0,.08); }
.ngbm-privacy-icon { width:44px; height:44px; display:grid; place-items:center; margin:0 auto 12px; border-radius:50%; background:#f2f2f2; font-size:20px; font-weight:900; }
.ngbm-privacy-card strong { font-size:18px; }
.ngbm-privacy-card p { color:var(--ngbm-muted); line-height:1.6; font-size:14px; }
.ngbm-load-button { border:0; border-radius:999px; background:var(--ngbm-accent); color:#fff; padding:11px 16px; font:inherit; font-size:13px; font-weight:800; cursor:pointer; }
.ngbm-skeleton { height:100%; min-height:150px; padding:18px; display:flex; flex-direction:column; gap:12px; justify-content:center; background:linear-gradient(100deg,#fafafa 20%,#f2f2f2 40%,#fafafa 60%); background-size:200% 100%; animation:ngbmShimmer 1.4s infinite linear; }
.ngbm-skeleton span { display:block; height:12px; background:rgba(0,0,0,.07); border-radius:999px; }
.ngbm-skeleton span:nth-child(1){width:38%;height:18px}.ngbm-skeleton span:nth-child(2){width:72%}.ngbm-skeleton span:nth-child(3){width:56%}
.ngbm-skeleton-ticker { min-height:70px; color:var(--ngbm-muted); font-size:13px; align-items:center; }
.ngbm-skeleton-chart { min-height:320px; }
.ngbm-empty { grid-column:1/-1; border:1px dashed var(--ngbm-border); border-radius:12px; padding:20px; color:var(--ngbm-muted); text-align:center; }
.ngbm-mode-compact { padding:20px; }
.ngbm-mode-compact .ngbm-title { font-size:26px; }
.ngbm-single-chart { padding:20px; }
@keyframes ngbmShimmer { 0%{background-position:100% 0}100%{background-position:-100% 0} }
@media (max-width: 900px) { .ngbm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ngbm-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width: 680px) { .ngbm-root{padding:18px;border-radius:12px}.ngbm-title-row{display:block}.ngbm-live-badge{margin-top:12px}.ngbm-grid,.ngbm-grid-compact{grid-template-columns:1fr}.ngbm-tv-mini{height:190px}.ngbm-tv-symbol-info{min-height:150px}.ngbm-market-bonds .ngbm-title{font-size:23px}.ngbm-bond-data-card{min-height:270px}.ngbm-bond-value{font-size:32px}.ngbm-bond-meta{display:block}.ngbm-bond-meta span{display:block}.ngbm-bond-meta span:last-child{text-align:left;margin-top:3px}.ngbm-bond-comparison{padding:10px;overflow-x:auto}.ngbm-bond-comparison svg{min-width:700px}.ngbm-tablist{flex-wrap:nowrap;overflow-x:auto;padding-bottom:10px;scrollbar-width:none}.ngbm-tablist::-webkit-scrollbar{display:none}.ngbm-tab{white-space:nowrap}.ngbm-section-head{align-items:flex-start}.ngbm-chart-symbol{display:none} }

/* Fachmodule & Depot-Kosten-Check */
.ngbm-context-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--ngbm-border);
  border-radius: 10px;
  background: rgba(127,127,127,.035);
  color: var(--ngbm-muted);
  font-size: 12px;
  line-height: 1.55;
}
.ngbm-free-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ngbm-border);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #333;
  background: rgba(255,255,255,.85);
}
.ngbm-calc-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr);
  gap: 20px;
  align-items: start;
}
.ngbm-calc-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.ngbm-calc-field {
  display: block;
  min-width: 0;
}
.ngbm-calc-label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #222;
}
.ngbm-input-wrap {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--ngbm-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ngbm-input-wrap:focus-within {
  border-color: #aaa;
  box-shadow: 0 0 0 3px rgba(17,17,17,.07);
}
.ngbm-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 11px 12px !important;
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}
.ngbm-input-wrap > span {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 0 11px 0 4px;
  color: var(--ngbm-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.ngbm-calc-field small {
  display: block;
  margin-top: 6px;
  color: var(--ngbm-muted);
  font-size: 11px;
  line-height: 1.4;
}
.ngbm-calc-results {
  position: sticky;
  top: 18px;
  border: 1px solid var(--ngbm-border);
  border-radius: 14px;
  background: rgba(127,127,127,.025);
  padding: 18px;
}
.ngbm-result-primary {
  padding: 18px;
  margin: -6px -6px 14px;
  border-radius: 12px;
  background: var(--ngbm-accent);
  color: #fff;
}
.ngbm-result-primary span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  opacity: .8;
}
.ngbm-result-primary strong {
  display: block;
  font-size: clamp(26px,4vw,36px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.ngbm-result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ngbm-border);
  font-size: 13px;
}
.ngbm-result-row span { color: var(--ngbm-muted); }
.ngbm-result-row strong { color: #222; white-space: nowrap; }
.ngbm-result-note {
  margin: 14px 0 0;
  color: var(--ngbm-muted);
  font-size: 11px;
  line-height: 1.5;
}
.ngbm-depot-compact .ngbm-calc-grid {
  grid-template-columns: minmax(0,1fr) minmax(260px,.7fr);
}
.ngbm-depot-compact .ngbm-calc-fields {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

@media (max-width: 800px) {
  .ngbm-calc-grid,
  .ngbm-depot-compact .ngbm-calc-grid { grid-template-columns: 1fr; }
  .ngbm-calc-results { position: static; }
}
@media (max-width: 560px) {
  .ngbm-calc-fields,
  .ngbm-depot-compact .ngbm-calc-fields { grid-template-columns: 1fr; }
  .ngbm-free-badge { margin-top: 12px; }
}
.ngbm-ticker-only { padding: 20px; }
.ngbm-ticker-only .ngbm-ticker-shell { margin: 0; }

/* Anlagestrategien */
.ngbm-strategy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.ngbm-strategy-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ngbm-border);
  border-radius: 12px;
  background: var(--ngbm-surface);
}
.ngbm-strategy-card h3 {
  margin: 9px 0 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.ngbm-strategy-card p {
  margin: 0;
  color: var(--ngbm-muted);
  font-size: 13px;
  line-height: 1.55;
}
.ngbm-strategy-risk {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(127,127,127,.07);
  color: #333;
  font-size: 11px;
  font-weight: 800;
}
.ngbm-strategy-mix {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--ngbm-border);
  color: #222;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.ngbm-strategy-footnote { margin-top: 14px; }
.ngbm-strategy-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr);
  gap: 22px;
  align-items: start;
}
.ngbm-strategy-questions {
  display: grid;
  gap: 14px;
}
.ngbm-strategy-field {
  display: block;
  padding: 15px;
  border: 1px solid var(--ngbm-border);
  border-radius: 12px;
  background: rgba(127,127,127,.018);
}
.ngbm-strategy-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 38px 10px 12px;
  border: 1px solid var(--ngbm-border);
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}
.ngbm-strategy-field select:focus {
  outline: none;
  border-color: #aaa;
  box-shadow: 0 0 0 3px rgba(17,17,17,.07);
}
.ngbm-strategy-field small {
  display: block;
  margin-top: 7px;
  color: var(--ngbm-muted);
  font-size: 11px;
  line-height: 1.45;
}
.ngbm-strategy-result {
  position: sticky;
  top: 18px;
  padding: 18px;
  border: 1px solid var(--ngbm-border);
  border-radius: 14px;
  background: rgba(127,127,127,.025);
}
.ngbm-strategy-result-head {
  padding: 18px;
  border-radius: 12px;
  background: var(--ngbm-accent);
  color: #fff;
}
.ngbm-strategy-result-head > span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  opacity: .8;
}
.ngbm-strategy-result-head > strong {
  display: block;
  font-size: clamp(26px,4vw,34px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.ngbm-strategy-result-head p {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: .86;
}
.ngbm-allocation {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.ngbm-allocation-row {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 42px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.ngbm-allocation-row > span { color: var(--ngbm-muted); font-weight: 700; }
.ngbm-allocation-row > strong { text-align: right; color: #222; }
.ngbm-allocation-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0,0,0,.07);
}
.ngbm-allocation-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ngbm-accent);
  transition: width .25s ease;
}
.ngbm-strategy-score {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--ngbm-border);
  border-bottom: 1px solid var(--ngbm-border);
  font-size: 13px;
}
.ngbm-strategy-score span { color: var(--ngbm-muted); }
.ngbm-strategy-score strong { color: #222; }
@media (max-width: 800px) {
  .ngbm-strategy-layout { grid-template-columns: 1fr; }
  .ngbm-strategy-result { position: static; }
}
@media (max-width: 680px) {
  .ngbm-strategy-cards { grid-template-columns: 1fr; }
}
