.gh-chart-svg {
	width: 100%;
	height:100vw;
	max-width: 500px;
	max-height:500px;
    display: block;
    margin: 0 auto;
}
.gh-chart-wrap { --gh-chart-edge-gap:24px; }

/* Chart overview */
.gh-chart-overview {
  max-width: 1000px;
  margin: 0 auto var(--gh-chart-edge-gap);
}
.gh-chart-overview__meta {
  display: flex;
  gap: 9px;
  margin: 0 0 10px;
  color: #647086;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gh-chart-overview__intro {
  margin: 0 0 20px;
  color: #172033;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.22;
}
.gh-chart-key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d9dfeb;
  border-bottom: 1px solid #d9dfeb;
}
.gh-chart-key-facts--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gh-chart-key-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 18px 14px 16px;
  text-align: center;
}
.gh-chart-key-fact + .gh-chart-key-fact {
  border-left: 1px solid #d9dfeb;
}
.gh-chart-key-fact__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f0f3f8;
}
.gh-chart-key-fact__icon {
  width: 24px !important;
  height: 24px !important;
}
.gh-chart-key-fact__title {
  color: #647086;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.gh-chart-key-fact__sign {
  margin-top: 5px;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 600;
}
.gh-chart-key-fact__degree {
  margin-top: 4px;
  color: #647086;
  font-size: 0.9rem;
}

/* Chart toolbar */
.gh-chart-toolbar { position:relative; width:100%; max-width:1000px; height:0; margin:var(--gh-chart-edge-gap) auto 20px; border-bottom:1px solid #d9dfeb; box-sizing:border-box; }
.gh-chart-toolbar__settings-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--msb-color-primary, #173454);
  padding: 4px 16px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}
.gh-chart-toolbar__settings-link:hover,
.gh-chart-toolbar__settings-link:focus-visible { color:#647086; text-decoration:none; }

.gh-chart-settings[hidden] { display: none !important; }
.gh-chart-settings {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.gh-chart-settings__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 37, 0.5);
}
.gh-chart-settings__dialog {
  position: relative;
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  background: #fff;
  color: #172033;
  box-shadow: 0 24px 80px rgba(11, 17, 35, 0.24);
}
.gh-chart-settings__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(23, 52, 84, 0.16);
  background: #fff;
}
.gh-chart-settings__title {
  margin: 0;
  color: var(--msb-color-primary, #173454);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}
.gh-chart-settings__intro {
  margin: 8px 0 0;
  color: #647086;
  font-size: 0.9rem;
  line-height: 1.45;
}
.gh-chart-settings__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--msb-color-primary, #173454);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.gh-chart-settings__close:hover,
.gh-chart-settings__close:focus-visible { color: #647086; }
.gh-chart-settings__form { display: block; }
.gh-chart-settings__basis {
  padding: 21px 0 22px;
  border-bottom: 1px solid rgba(23, 52, 84, 0.16);
}
.gh-chart-settings__basis-title {
  margin: 0 0 8px;
  color: var(--msb-color-primary, #173454);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}
.gh-chart-settings__basis-text {
  margin: 0;
  color: #546074;
  font-size: 0.9rem;
  line-height: 1.45;
}
.gh-chart-settings__basis-options {
  margin-top: 15px;
}
.gh-chart-settings__stack {
  padding: 0 26px;
}
.gh-chart-settings__card {
  border: 0;
  border-bottom: 1px solid rgba(23, 52, 84, 0.16);
  background: transparent;
}
.gh-chart-settings__card-summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 34px 18px 0;
  cursor: pointer;
  position: relative;
}
.gh-chart-settings__card-summary::-webkit-details-marker {
  display: none;
}
.gh-chart-settings__card-summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 16px;
  font-size: 22px;
  line-height: 1;
  color: var(--msb-color-primary, #173454);
}
.gh-chart-settings__card-summary:hover,
.gh-chart-settings__card-summary:focus-visible { background: var(--msb-color-primary-soft, rgba(23, 52, 84, 0.045)); }
.gh-chart-settings__card[open] .gh-chart-settings__card-summary::after {
  content: '−';
}
.gh-chart-settings__card-title {
  color: var(--msb-color-primary, #173454);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}
.gh-chart-settings__card-subtitle {
  color: #647086;
  font-size: 0.88rem;
  line-height: 1.4;
}
.gh-chart-settings__card-body {
  padding: 0 0 20px;
}
.gh-chart-settings__section-note {
  margin: 0 0 12px;
  color: #647086;
  font-size: 0.88rem;
  line-height: 1.45;
}
.gh-chart-settings__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}
.gh-chart-settings__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 52, 84, 0.1);
  background: transparent;
  cursor: pointer;
}
.gh-chart-settings__option input {
  margin: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--msb-color-primary, #173454);
  flex: 0 0 auto;
}
.gh-chart-settings__option:hover { background: var(--msb-color-primary-soft, rgba(23, 52, 84, 0.045)); }
.gh-chart-settings__option-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.gh-chart-settings__option-label {
  color: #172033;
  font-size: 0.94rem;
  font-weight: 600;
}
.gh-chart-settings__option-meta {
  color: #70798a;
  font-size: 0.82rem;
  white-space: nowrap;
}
.gh-chart-settings__exports {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 52, 84, 0.16);
}
.gh-chart-settings__exports-title {
  margin: 0 0 6px;
  color: var(--msb-color-primary, #173454);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}
.gh-chart-settings__exports-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gh-chart-settings__export {
  appearance: none;
  border: 1px solid rgba(23, 52, 84, 0.34);
  border-radius: 0;
  background: #fff;
  color: var(--msb-color-primary, #173454);
  padding: 9px 13px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}
.gh-chart-settings__export:hover,
.gh-chart-settings__export:focus-visible { border-color: var(--msb-color-primary, #173454); color: var(--msb-color-primary, #173454); }
.gh-chart-settings__footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 26px;
  border-top: 1px solid rgba(23, 52, 84, 0.16);
  background: #fff;
}
.gh-chart-settings__primary,
.gh-chart-settings__secondary,
.gh-chart-settings__secondary--link {
  appearance: none;
  border-radius: 0;
  padding: 10px 14px;
  text-decoration: none;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.gh-chart-settings__primary {
  border: 1px solid var(--msb-color-primary, #173454);
  background: var(--msb-color-primary, #173454);
  color: #fff;
  cursor: pointer;
}
.gh-chart-settings__primary:hover,
.gh-chart-settings__primary:focus-visible { background: #fff; color: var(--msb-color-primary, #173454); }
.gh-chart-settings__secondary,
.gh-chart-settings__secondary--link {
  border: 1px solid rgba(23, 52, 84, 0.25);
  background: #fff;
  color: var(--msb-color-primary, #173454);
  cursor: pointer;
}
.gh-chart-settings__secondary:hover,
.gh-chart-settings__secondary:focus-visible,
.gh-chart-settings__secondary--link:hover,
.gh-chart-settings__secondary--link:focus-visible { border-color: var(--msb-color-primary, #173454); text-decoration: none; }

body.gh-chart-settings-open { overflow: hidden; }

@media (max-width: 800px) {
  .gh-chart-overview,
  .gh-chart-toolbar {
    width: calc(100% - (2 * var(--msb-mobile-section-gutter, 20px)));
  }
  .gh-chart-svg {
    width: calc(100% - (2 * var(--msb-mobile-section-gutter, 20px)));
    height: calc(100vw - (2 * var(--msb-mobile-section-gutter, 20px)));
  }
  .gh-chart-settings__dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); margin: 10px auto; }
  .gh-chart-settings__header { padding: 18px 20px 15px; }
  .gh-chart-settings__stack { padding: 0 20px; }
  .gh-chart-settings__options { grid-template-columns: minmax(0, 1fr); }
  .gh-chart-settings__exports { align-items: flex-start; flex-direction: column; }
  .gh-chart-settings__exports-actions { width: 100%; }
  .gh-chart-settings__export { flex: 1 1 0; text-align: center; }
  .gh-chart-settings__footer { flex-wrap: wrap; padding: 14px 20px; }
  .gh-chart-settings__primary,
  .gh-chart-settings__secondary,
  .gh-chart-settings__secondary--link { width: 100%; text-align: center; justify-content: center; }
  .gh-chart-settings__primary { order: -1; }
}

@media (max-width: 560px) {
  .gh-chart-settings__dialog { width: 100vw; min-height: 100vh; max-height: 100vh; margin: 0; }
  .gh-chart-overview__intro { font-size: 1.35rem; }
  .gh-chart-key-fact { padding: 14px 4px 13px; }
  .gh-chart-key-fact__icon-wrap { width: 40px; height: 40px; }
  .gh-chart-key-fact__title { font-size: 0.64rem; letter-spacing: 0.08em; }
  .gh-chart-key-fact__sign { font-size: 0.92rem; }
  .gh-chart-key-fact__degree { font-size: 0.82rem; }
}

/* Section spacing */
.gh-wrap .gh-section + .gh-section { margin-top: 1.2em; }

/* HÃ¤user Section */
/* Patterns Section */
.gh-section.gh-section-patterns .gh-patterns-list { max-width: 1000px; margin-left: auto; margin-right: auto; row-gap: 10px !important; }
@media (max-width: 800px) {
  .gh-section.gh-section-patterns:not(.gh-section-patterns-redesign):not(.gh-section-motifs-redesign) { padding: 0 30px; box-sizing: border-box; }
  .gh-section.gh-section-patterns:not(.gh-section-patterns-redesign):not(.gh-section-motifs-redesign) .gh-patterns-list { text-align: center; justify-items: center; }
  .gh-section.gh-section-patterns:not(.gh-section-patterns-redesign):not(.gh-section-motifs-redesign) .gh-patterns-item { justify-content: center; }
  .gh-section.gh-section-patterns:not(.gh-section-patterns-redesign):not(.gh-section-motifs-redesign) .gh-patterns-text { text-align: left; }
}

/* Legacy Besondere Merkmale */
.gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-section-title { text-align: center; }
.gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-list { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 64px; max-width: 980px; margin-left: auto; margin-right: auto; justify-items: stretch; }
.gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-item { display:grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 12px; align-items:center; margin:0; width:100%; max-width:480px; }
.gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-figure { width:110px; display:flex; align-items:center; justify-content:center; }
.gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-title { font-weight:600; margin-bottom:4px; }
.gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-icon { width:87px; height:87px; display:block; margin:0; }
@media (max-width: 800px) {
  .gh-section.gh-section-special:not(.gh-section-chart-signature) { margin-left: 0; margin-right: 0; }
  .gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-list { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-item { grid-template-columns: 110px minmax(0, 1fr); justify-content: center; }
  .gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-text { text-align: left; }
  .gh-section.gh-section-special:not(.gh-section-chart-signature) .gh-special-icon { margin: 0; }
}
