:root {
  --navy: #00325b;
  --navy-dark: #001f3a;
  --sky: #009ee3;
  --lime: #d3d800;
  --sand: #cbcdb9;
  --ink: #10283d;
  --muted: #607286;
  --background: #f2f6f8;
  --surface: #ffffff;
  --line: rgba(0, 50, 91, 0.14);
  --soft-blue: rgba(0, 158, 227, 0.08);
  --soft-lime: rgba(211, 216, 0, 0.17);
  --shadow: 0 18px 50px rgba(0, 50, 91, 0.10);
  --radius: 24px;
}

/* Persönlicher Zugang und zentrale Lernverwaltung */
.central-account-bar {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  margin: 14px auto 0;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 50, 91, 0.08);
}

.central-account-bar > div:first-child,
.central-access-time {
  display: grid;
  line-height: 1.25;
}

.central-account-name,
.central-access-time strong {
  color: var(--navy);
  font-weight: 850;
}

.central-account-email,
.central-access-time span {
  color: var(--muted);
  font-size: 0.76rem;
}

.central-account-bar > a,
.central-account-bar > button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--soft-blue);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.access-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-dark);
}

.access-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.access-cover {
  padding-bottom: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(0, 158, 227, 0.13), transparent 32rem),
    #001a31;
}

.access-cover > img {
  width: min(1693px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.access-cover-bar {
  width: min(1120px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  padding: 22px 24px;
  background: rgba(4, 49, 83, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(0, 8, 20, 0.30);
}

.access-cover-bar > div:first-child {
  display: grid;
  gap: 3px;
}

.access-cover-bar span {
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.access-cover-bar strong {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.access-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.access-cover-login {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.32);
}

.access-cover-login:hover {
  background: rgba(255, 255, 255, 0.14);
}

.access-entry {
  background:
    radial-gradient(circle at 90% 5%, rgba(0, 158, 227, 0.12), transparent 28rem),
    var(--background);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.access-main {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
  gap: 54px;
  align-items: center;
  flex: 1;
  margin: 0 auto;
  padding: 64px 0;
}

.access-intro h2 {
  margin: 17px 0 20px;
  color: var(--navy-dark);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.access-intro > div > p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.07rem;
}

.access-intro ol {
  display: grid;
  gap: 11px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.access-intro li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 610px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.access-intro li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 12px;
  font-weight: 900;
}

.access-intro li strong,
.access-intro li small {
  display: block;
}

.access-intro li small {
  color: var(--muted);
}

.access-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.access-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 28px;
  padding: 5px;
  background: var(--background);
  border-radius: 14px;
}

.access-tabs button {
  min-height: 44px;
  padding: 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.access-tabs button[aria-selected="true"] {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 50, 91, 0.1);
}

.access-panel h2 {
  margin: 5px 0 7px;
  color: var(--navy);
  font-size: 1.8rem;
}

.access-panel > p {
  color: var(--muted);
}

.access-panel form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.access-panel label,
.admin-search {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.access-panel input:not([type="checkbox"]),
.admin-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.22);
  border-radius: 11px;
  outline: none;
}

.access-panel input:focus,
.admin-search input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(0, 158, 227, 0.12);
}

.access-panel .code-input {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: 0.35em;
  text-align: center;
}

.access-consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.access-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.access-message,
.admin-notice {
  margin-top: 20px;
  padding: 13px 15px;
  color: #174926;
  background: rgba(211, 216, 0, 0.18);
  border: 1px solid rgba(94, 130, 40, 0.24);
  border-radius: 12px;
  font-weight: 750;
}

.access-message[data-state="error"],
.admin-notice[data-state="error"] {
  color: #842a2a;
  background: #fff1f1;
  border-color: #e9baba;
}

.access-security {
  margin-top: 20px;
  padding: 16px;
  background: var(--soft-blue);
  border-radius: 14px;
}

.access-security strong {
  color: var(--navy);
}

.access-security p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.access-page footer {
  width: min(1120px, calc(100% - 48px));
  margin-top: 0;
  color: rgba(255, 255, 255, 0.62);
  border-top-color: rgba(255, 255, 255, 0.13);
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-header-actions a,
.admin-header-actions button {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-header-actions a {
  text-decoration: none;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 46px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 72%, #006c9f);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.admin-hero h1 {
  margin: 10px 0 13px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.admin-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.admin-metrics article {
  display: grid;
  gap: 4px;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.admin-metrics strong {
  color: var(--navy);
  font-size: 2rem;
}

.admin-workspace {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.admin-workspace .section-heading {
  align-items: end;
}

.admin-search {
  width: min(340px, 100%);
}

.admin-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.admin-filter button,
.participant-actions button,
.participant-toggle {
  padding: 8px 12px;
  color: var(--navy);
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-filter button.is-active {
  color: #fff;
  background: var(--navy);
}

.participant-list {
  display: grid;
  gap: 12px;
}

.admin-loading {
  padding: 30px;
  color: var(--muted);
  text-align: center;
  background: var(--background);
  border-radius: 14px;
}

.admin-loading.is-error {
  color: #842a2a;
}

.participant-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.participant-summary {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) auto minmax(210px, 0.75fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px;
}

.participant-identity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.participant-initial {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 12px;
  font-weight: 900;
}

.participant-identity strong,
.participant-identity a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-identity a {
  color: var(--muted);
  font-size: 0.8rem;
}

.participant-status {
  padding: 6px 9px;
  color: var(--muted);
  background: var(--background);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.participant-status[data-state="active"] { color: #19582e; background: #e9f7ed; }
.participant-status[data-state="pending"] { color: #715307; background: #fff7d9; }
.participant-status[data-state="expired"],
.participant-status[data-state="blocked"] { color: #842a2a; background: #fff0f0; }

.participant-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 0.76rem;
}

.participant-progress strong {
  color: var(--navy);
}

.participant-progress i {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  background: var(--background);
  border-radius: 999px;
}

.participant-progress b {
  display: block;
  height: 100%;
  background: var(--sky);
}

.participant-details {
  padding: 20px;
  background: #f8fafb;
  border-top: 1px solid var(--line);
}

.participant-details dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 23px;
}

.participant-details dl > div {
  padding: 12px;
  background: #fff;
  border-radius: 11px;
}

.participant-details dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.participant-details dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.participant-details h3 {
  color: var(--navy);
}

.participant-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.participant-modules > div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.participant-modules > div > span {
  grid-row: 1 / 3;
  color: var(--muted);
  font-weight: 900;
}

.participant-modules > div.is-complete > span {
  color: #2b7b48;
}

.participant-modules strong {
  font-size: 0.82rem;
}

.participant-modules small,
.participant-empty {
  color: var(--muted);
  font-size: 0.75rem;
}

.participant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.participant-actions button.is-danger {
  color: #842a2a;
  background: #fff0f0;
  border-color: #edcaca;
}

.admin-privacy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin: 24px 0 70px;
  padding: 20px;
  color: #fff;
  background: var(--navy);
  border-radius: 18px;
}

.admin-privacy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .access-cover-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .access-main {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .central-account-bar,
  .participant-summary {
    grid-template-columns: 1fr auto;
  }

  .central-access-time,
  .participant-progress {
    grid-column: 1 / -1;
  }

  .admin-metrics,
  .participant-details dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .participant-status {
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .access-cover {
    padding-bottom: 18px;
  }

  .access-cover-bar {
    width: calc(100% - 28px);
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
  }

  .access-cover-actions,
  .access-cover-actions .button {
    width: 100%;
  }

  .access-cover-actions .button {
    justify-content: center;
  }

  .central-account-bar {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .central-account-bar > div:first-child {
    grid-column: 1 / -1;
  }

  .access-main {
    width: calc(100% - 28px);
    padding: 38px 0;
  }

  .access-intro h2 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .access-card,
  .admin-workspace,
  .admin-hero {
    padding: 22px;
    border-radius: 20px;
  }

  .access-tabs {
    grid-template-columns: 1fr;
  }

  .admin-hero,
  .admin-workspace .section-heading,
  .admin-privacy {
    grid-template-columns: 1fr;
  }

  .admin-metrics,
  .participant-details dl,
  .participant-modules {
    grid-template-columns: 1fr;
  }

  .participant-summary {
    grid-template-columns: 1fr auto;
  }

  .participant-progress,
  .participant-toggle {
    grid-column: 1 / -1;
  }

  .participant-toggle {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 5%, rgba(0, 158, 227, 0.12), transparent 28rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: rgba(0, 31, 58, 0.96);
  border-bottom: 4px solid var(--lime);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
}

.header-progress {
  min-width: min(320px, 42vw);
  display: grid;
  grid-template-columns: auto minmax(110px, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 750;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

#progressBar,
#liabilityProgressBar,
#moduleProgressBar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  border-radius: inherit;
  transition: width 240ms ease;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 25px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 700;
}

.hero {
  min-height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 44px;
  padding: 64px;
  color: #fff;
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.98) 0 54%, rgba(0, 50, 91, 0.92) 74%, rgba(0, 158, 227, 0.76) 100%),
    radial-gradient(circle at 85% 30%, var(--sky), transparent 25rem);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow,
.section-kicker,
.dialog-kicker {
  display: block;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  color: #fff;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.journey-card .button-secondary {
  color: var(--navy);
  border-color: var(--line);
}

.learning-goal {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.learning-goal-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 12px;
  font-weight: 900;
}

.learning-goal h2 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1rem;
}

.learning-goal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--sky);
  box-shadow: 0 10px 28px rgba(0, 158, 227, 0.22);
}

.button-primary:hover {
  background: #008fce;
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button-block {
  width: 100%;
  margin-top: auto;
}

.module-section,
.case-study,
.quiz-section,
.next-step {
  margin-top: 32px;
}

.module-section,
.quiz-section {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.case-intro h2,
.next-step h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.text-button {
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f7fafb);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.module-card.is-complete {
  border-color: rgba(47, 125, 50, 0.45);
  background: linear-gradient(180deg, rgba(47, 125, 50, 0.04), #fff);
}

.module-number {
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.module-status {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 9px;
  color: var(--muted);
  background: rgba(0, 50, 91, 0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.module-card.is-complete .module-status {
  color: #2f7d32;
  background: rgba(47, 125, 50, 0.10);
}

.module-card h3 {
  margin: 32px 0 8px;
  color: var(--navy);
  font-size: 1.24rem;
}

.module-card > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.topic-list {
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
}

.topic-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-bottom: 1px solid rgba(0, 50, 91, 0.08);
  font-size: 0.9rem;
}

.topic-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--sky);
  font-weight: 900;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 42px;
  align-items: center;
  padding: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-intro p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.case-intro h2 {
  color: #fff;
}

.case-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.case-values div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
}

.case-values dt {
  min-height: 42px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.case-values dd {
  margin: 8px 0 0;
  color: var(--lime);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.fine-print {
  grid-column: 1 / -1;
  margin: -18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.knowledge-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.knowledge-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.knowledge-strip > div:last-child {
  border-right: 0;
}

.knowledge-strip span {
  color: var(--sky);
  font-weight: 900;
}

.knowledge-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.knowledge-strip strong {
  color: var(--navy);
}

.quiz-score {
  min-height: 30px;
  color: var(--navy);
  font-weight: 850;
}

.quiz-section form {
  display: grid;
  gap: 16px;
}

.quiz-note {
  margin: 0 0 2px;
  padding: 11px 14px;
  color: var(--navy);
  background: var(--soft-lime);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 800;
}

.quiz-wizard [hidden] {
  display: none !important;
}

.quiz-wizard-status {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: #f4f8fa;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.quiz-wizard-status > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.quiz-wizard-status span {
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quiz-wizard-status strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.quiz-wizard-track {
  height: 8px;
  overflow: hidden;
  background: #dfe8ec;
  border-radius: 999px;
}

.quiz-wizard-track i {
  display: block;
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--teal));
  border-radius: inherit;
  transition: width 220ms ease;
}

.quiz-wizard.is-enhanced fieldset {
  min-height: 360px;
  padding: 30px;
  align-content: center;
  gap: 13px;
  background: linear-gradient(145deg, #f8fbfc, #f3f7f8);
  border-radius: 21px;
}

.quiz-wizard.is-enhanced legend {
  width: 100%;
  margin-bottom: 11px;
  padding: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.35;
}

.quiz-wizard.is-enhanced fieldset label {
  min-height: 68px;
  padding: 15px 17px;
  align-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8e2e7;
  border-radius: 14px;
  line-height: 1.45;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.quiz-wizard.is-enhanced fieldset:not(.is-answer-locked) label:hover {
  border-color: rgba(0, 117, 170, 0.48);
  box-shadow: 0 9px 22px rgba(0, 50, 91, 0.07);
  transform: translateY(-1px);
}

.quiz-wizard.is-enhanced fieldset label:has(input:checked) {
  background: #eaf6fb;
  border-color: var(--sky);
  box-shadow: 0 0 0 2px rgba(0, 117, 170, 0.12);
}

.quiz-wizard.is-enhanced fieldset input[type="radio"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
}

.quiz-wizard.is-enhanced fieldset.is-answer-locked label {
  cursor: default;
}

.quiz-wizard.is-enhanced fieldset label.is-correct {
  background: #edf8ef;
  border-color: #5b9b67;
  box-shadow: 0 0 0 2px rgba(91, 155, 103, 0.11);
}

.quiz-wizard.is-enhanced fieldset label.is-wrong {
  background: #fff2ee;
  border-color: #c8755d;
  box-shadow: 0 0 0 2px rgba(200, 117, 93, 0.10);
}

.quiz-wizard.is-enhanced fieldset label.is-correct::after,
.quiz-wizard.is-enhanced fieldset label.is-wrong::after {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 900;
  white-space: nowrap;
}

.quiz-wizard.is-enhanced fieldset label.is-correct::after {
  content: "Richtig";
  color: #286d36;
  background: #d9efdd;
}

.quiz-wizard.is-enhanced fieldset label.is-wrong::after {
  content: "Deine Auswahl";
  color: #974329;
  background: #f7dcd4;
}

.quiz-answer-feedback {
  display: grid;
  gap: 5px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: 14px;
  outline: none;
}

.quiz-answer-feedback[data-state="correct"] {
  background: #edf8ef;
  border-left-color: #4c965c;
}

.quiz-answer-feedback[data-state="wrong"] {
  background: #fff7e9;
  border-left-color: #d89b31;
}

.quiz-answer-feedback strong {
  color: var(--navy);
}

.quiz-answer-feedback p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.quiz-wizard-actions,
.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-wizard-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quiz-result-card {
  padding: 30px;
  background: linear-gradient(135deg, var(--navy), #07587c);
  border-radius: 21px;
  color: #fff;
  outline: none;
}

.quiz-result-card > span {
  display: block;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-result-card > strong {
  display: block;
  margin-top: 8px;
  color: var(--lime);
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  line-height: 1;
}

.quiz-result-card h3 {
  margin: 13px 0 5px;
  font-size: 1.45rem;
}

.quiz-result-card p {
  max-width: 700px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.quiz-result-card .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 17px;
}

legend {
  padding: 0 7px;
  color: var(--navy);
  font-weight: 850;
}

fieldset label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

fieldset label:hover {
  background: var(--soft-blue);
}

fieldset input {
  margin-top: 5px;
  accent-color: var(--sky);
}

.quiz-feedback {
  min-height: 28px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.quiz-feedback.is-success {
  color: #2f7d32;
}

.quiz-feedback.is-warning {
  color: #9b6700;
}

.next-step {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 34px 38px;
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: var(--radius);
}

.next-step p {
  max-width: 740px;
  margin: 10px 0 0;
  color: var(--muted);
}

.next-placeholder {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
}

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 0;
  padding: 30px 0 50px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

footer p {
  margin: 4px 0;
}

dialog {
  width: min(1500px, calc(100vw - 28px));
  height: min(920px, calc(100vh - 28px));
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 20, 38, 0.40);
}

dialog::backdrop {
  background: rgba(0, 20, 38, 0.76);
  backdrop-filter: blur(7px);
}

.dialog-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px 12px 22px;
  color: #fff;
  background: var(--navy-dark);
  border-bottom: 4px solid var(--lime);
}

.dialog-header h2 {
  margin: 2px 0 0;
  font-size: 1.05rem;
}

.dialog-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.55rem;
}

#toolFrame,
#pensionToolFrame {
  width: 100%;
  height: calc(100% - 72px);
  display: block;
  background: #fff;
  border: 0;
}

.brand-wordmark {
  min-width: 76px;
  display: inline-grid;
  place-items: center;
  padding: 4px 10px 6px;
  color: #fff;
  background: var(--sky);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.header-badge,
.journey-availability,
.calculation-note {
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.portal-hero {
  min-height: 550px;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 0.7fr);
}

.portal-hero h1 {
  max-width: 900px;
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.principle-strip > div {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.principle-strip > div:last-child {
  border-right: 0;
}

.principle-strip span,
.journey-topline > span:first-child {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle-strip strong {
  color: var(--navy);
  font-size: 1.03rem;
}

.principle-strip small {
  color: var(--muted);
}

.journey-section,
.calculator-section,
.potential-section,
.transfer-section,
.orientation-section {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.journey-section .journey-availability,
.calculator-section .calculation-note {
  color: var(--navy);
  background: rgba(0, 50, 91, 0.06);
  border-color: var(--line);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.journey-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: linear-gradient(180deg, #fff, #f7fafb);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.journey-card.is-active {
  background: linear-gradient(180deg, rgba(0, 158, 227, 0.055), #fff);
  border-color: rgba(0, 158, 227, 0.34);
}

.journey-card-wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.journey-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  padding: 4px 9px;
  color: var(--muted);
  background: rgba(0, 50, 91, 0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-pill.is-ready {
  color: var(--navy);
  background: var(--soft-lime);
}

.journey-card h3 {
  margin: 27px 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
}

.journey-card > p {
  color: var(--muted);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.product-tags span {
  padding: 6px 9px;
  color: var(--navy);
  background: rgba(0, 50, 91, 0.06);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.concept-note,
.income-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: center;
  margin-top: 32px;
  padding: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.concept-note h2,
.income-section h2 {
  margin: 6px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.concept-note p,
.income-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cashflow-hero {
  min-height: 490px;
}

.orientation-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.orientation-section h2 {
  margin: 5px 0 10px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.orientation-section p {
  margin: 0;
  color: var(--muted);
}

.target-visual {
  display: grid;
  gap: 10px;
}

.target-bar {
  min-height: 78px;
  display: grid;
  grid-template-columns: 2.5fr 1.5fr;
  overflow: hidden;
  border-radius: 16px;
}

.target-bar span {
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 850;
}

.target-retirement {
  color: #fff;
  background: var(--sky);
}

.target-other {
  color: var(--navy);
  background: var(--lime);
}

.target-visual small {
  color: var(--muted);
}

.compact-modules .module-card {
  min-height: 300px;
}

.completion-check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 11px 13px;
  color: var(--navy);
  background: var(--soft-blue);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}

.completion-check input,
.transfer-grid input,
.potential-row > input {
  accent-color: var(--sky);
}

.privacy-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 17px 20px;
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 15px;
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
}

.money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.money-field {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--navy);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 0.82rem;
  font-weight: 800;
}

.money-field.is-income {
  background: var(--soft-blue);
  border-color: rgba(0, 158, 227, 0.28);
}

.money-field.is-saving {
  background: var(--soft-lime);
  border-color: rgba(211, 216, 0, 0.45);
}

.money-field input,
.potential-input input {
  width: 100%;
  min-width: 0;
  padding: 11px 36px 11px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.2);
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
}

.money-field input:focus,
.potential-input input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.14);
}

.money-field > span {
  position: absolute;
  right: 26px;
  bottom: 27px;
  color: var(--muted);
  pointer-events: none;
  font-size: 0.72rem;
}

.cashflow-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cashflow-results > div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(0, 50, 91, 0.045);
  border-radius: 15px;
}

.cashflow-results .is-highlight {
  background: var(--soft-lime);
}

.cashflow-results span,
.potential-total span,
.potential-outcome span,
.retirement-target span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.cashflow-results strong,
.potential-total strong,
.potential-outcome strong,
.retirement-target strong {
  color: var(--navy);
  font-size: 1.18rem;
}

.allocation-wrap {
  margin-top: 22px;
}

.allocation-labels,
.allocation-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.79rem;
}

.allocation-labels span:first-child {
  color: var(--navy);
  font-weight: 850;
}

.allocation-bar {
  height: 22px;
  display: flex;
  margin: 8px 0;
  overflow: hidden;
  background: rgba(0, 50, 91, 0.07);
  border-radius: 999px;
}

.allocation-bar span {
  height: 100%;
  transition: width 220ms ease;
}

#expenseSegment,
.legend-expense {
  background: var(--navy);
}

#savingSegment,
.legend-saving {
  background: var(--sky);
}

#freeSegment,
.legend-free {
  background: var(--lime);
}

.allocation-legend {
  justify-content: flex-start;
}

.allocation-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.allocation-legend i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}

.retirement-target {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  background: var(--soft-blue);
  border-radius: 15px;
}

.retirement-target small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.potential-total {
  display: grid;
  justify-items: end;
}

.potential-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.potential-head,
.potential-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(240px, 1fr) 150px;
  gap: 18px;
  align-items: center;
}

.potential-head {
  padding: 11px 18px 11px 58px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
}

.potential-row {
  grid-template-columns: 22px minmax(210px, 1.1fr) minmax(210px, 1fr) 130px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.potential-row:last-child {
  border-bottom: 0;
}

.potential-row:hover {
  background: rgba(0, 158, 227, 0.035);
}

.potential-row > span:nth-child(2) {
  display: grid;
}

.potential-row strong {
  color: var(--navy);
}

.potential-row small,
.potential-action {
  color: var(--muted);
  font-size: 0.78rem;
}

.potential-input {
  position: relative;
}

.potential-input b {
  position: absolute;
  right: 11px;
  top: 50%;
  color: var(--muted);
  transform: translateY(-50%);
  font-size: 0.8rem;
}

.potential-outcome {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.potential-outcome > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--soft-lime);
  border-radius: 15px;
}

.potential-outcome p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.income-section {
  margin-top: 32px;
}

.income-questions {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.income-questions li {
  position: relative;
  padding: 8px 10px 8px 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.income-questions li::before {
  position: absolute;
  left: 12px;
  content: "+";
  color: var(--lime);
  font-weight: 900;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.transfer-grid label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 16px;
  color: var(--navy);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.transfer-grid input {
  margin-top: 5px;
}

.liability-hero {
  min-height: 520px;
}

.liability-principle,
.policy-check-section,
.risk-section,
.source-section,
.embedded-foundation,
.embedded-knowledge {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.embedded-foundation h2,
.embedded-knowledge h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.portal-only-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.foundation-grid,
.knowledge-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.foundation-grid article,
.knowledge-snapshot-grid article {
  min-height: 205px;
  padding: 22px;
  background: linear-gradient(150deg, #f8fbfc, #eef5f7);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.foundation-grid article > span,
.knowledge-snapshot-grid article > span {
  color: var(--sky);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.foundation-grid h3,
.knowledge-snapshot-grid h3 {
  margin: 22px 0 7px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
}

.foundation-grid p,
.knowledge-snapshot-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.foundation-case {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  margin-top: 14px;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy), #087ba4);
  border-radius: 17px;
}

.foundation-case > span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foundation-case strong {
  display: block;
  font-size: 1.05rem;
}

.foundation-case p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.portal-knowledge-promise {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(0, 75, 124, 0.14);
  border-radius: 24px;
  background: linear-gradient(135deg, #f5fbff, #eef6f1);
  box-shadow: 0 16px 38px rgba(0, 50, 91, 0.07);
}

.portal-knowledge-promise h2 {
  margin: 12px 0 8px;
  color: var(--navy);
}

.portal-knowledge-promise p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.portal-knowledge-promise ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.portal-knowledge-promise li {
  min-height: 84px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(0, 75, 124, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.portal-knowledge-promise li span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
}

.portal-knowledge-promise li strong {
  color: var(--navy);
  line-height: 1.28;
}

.lead-copy {
  max-width: 900px;
  color: var(--muted);
  font-size: 1.05rem;
}

.inline-check {
  margin-top: 0;
}

.liability-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.liability-flow.four-step-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.transfer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 24px;
}

.transfer-list li {
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.64);
  border-radius: 10px;
}

.module-calculator {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  background: var(--soft-blue);
  border: 1px solid rgba(0, 158, 227, 0.18);
  border-radius: 18px;
}

.module-calculator h3 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: 1.35rem;
}

.module-calculator p {
  margin-bottom: 0;
  color: var(--muted);
}

.calculator-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calculator-inputs label {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.calculator-inputs input,
.calculator-inputs select {
  width: 100%;
  padding: 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.2);
  border-radius: 9px;
}

.calculator-inputs input[type="range"] {
  padding: 8px 0;
  accent-color: var(--sky);
}

.calculator-inputs output {
  color: var(--sky);
  font-size: 1rem;
}

.calculator-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calculator-output > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}

.calculator-output span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.calculator-output strong {
  color: var(--lime);
  font-size: 1.25rem;
}

.acronym-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.acronym-row > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 116px;
  padding: 17px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}

.acronym-row strong {
  color: var(--lime);
  font-size: 1.8rem;
}

.acronym-row span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.comparison-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.comparison-band > div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
}

.comparison-band span {
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-band strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.liability-flow article {
  padding: 22px;
  color: #fff;
  background: var(--navy);
  border-radius: 17px;
}

.liability-flow article > span {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.liability-flow h3 {
  margin: 20px 0 7px;
}

.liability-flow p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.damage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.damage-grid > div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: #fff;
}

.damage-grid strong {
  color: var(--navy);
}

.damage-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.policy-count,
.potential-total {
  display: grid;
  justify-items: end;
}

.policy-count span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.policy-count strong {
  color: var(--navy);
  font-size: 1.18rem;
}

.policy-basics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(270px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.policy-basics label {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--navy);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 0.82rem;
  font-weight: 800;
}

.policy-basics select {
  width: 100%;
  padding: 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.2);
  border-radius: 10px;
  font: inherit;
}

.coverage-result {
  display: grid;
  align-content: center;
  padding: 18px;
  color: var(--navy);
  background: var(--soft-lime);
  border-radius: 15px;
  font-size: 0.87rem;
  font-weight: 750;
}

.coverage-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.coverage-checklist label,
.risk-selector label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
}

.coverage-checklist input,
.risk-selector input {
  margin-top: 5px;
  accent-color: var(--sky);
}

.coverage-checklist span {
  display: grid;
}

.coverage-checklist strong {
  color: var(--navy);
}

.coverage-checklist small {
  color: var(--muted);
}

.check-feedback {
  margin-top: 16px;
  padding: 15px 17px;
  color: var(--muted);
  background: rgba(0, 50, 91, 0.045);
  border-radius: 13px;
}

.check-feedback.is-complete {
  color: #2f6f35;
  background: rgba(47, 125, 50, 0.08);
}

.risk-section .calculation-note {
  color: var(--navy);
  background: rgba(0, 50, 91, 0.06);
  border-color: var(--line);
}

.risk-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.risk-output {
  margin-top: 18px;
  padding: 20px;
  color: #fff;
  background: var(--navy);
  border-radius: 16px;
}

.risk-output > span {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.risk-output ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.exclusion-note {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 17px 20px;
  color: var(--navy);
  background: rgba(155, 103, 0, 0.08);
  border: 1px solid rgba(155, 103, 0, 0.18);
  border-radius: 14px;
}

.exclusion-note p {
  margin: 0;
  color: var(--muted);
}

.source-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 38px;
  align-items: start;
}

.source-section h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.source-links {
  display: grid;
  gap: 8px;
}

.source-links a {
  padding: 11px 13px;
  color: var(--navy);
  background: rgba(0, 158, 227, 0.055);
  border-radius: 10px;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wealth-advantage {
  margin-top: 32px;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(118deg, rgba(0, 31, 58, 0.99), rgba(0, 50, 91, 0.95) 62%, rgba(0, 158, 227, 0.72)),
    var(--navy);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.advantage-copy {
  max-width: 920px;
}

.advantage-copy h2 {
  margin: 7px 0 12px;
  max-width: 850px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.advantage-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.advantage-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.advantage-controls label {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  font-size: 0.78rem;
  font-weight: 750;
}

.advantage-controls input[type="number"] {
  width: 100%;
  padding: 10px 34px 10px 10px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 9px;
  font: inherit;
}

.advantage-controls label > span {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: var(--muted);
}

.advantage-controls input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
}

.advantage-controls output {
  color: var(--lime);
  font-size: 1rem;
  font-weight: 900;
}

.advantage-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.advantage-results > div {
  display: grid;
  gap: 4px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 15px;
}

.advantage-results span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.advantage-results strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.advantage-path {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.advantage-path span,
.advantage-path strong {
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 8px;
}

.advantage-path strong {
  color: var(--navy);
  background: var(--lime);
}

.advantage-path i {
  color: var(--lime);
  font-style: normal;
}

.advantage-disclaimer {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.eltif-hero {
  min-height: 540px;
}

.eltif-foundation,
.readiness-section,
.product-section,
.quick-compare {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.eltif-foundation h2,
.readiness-section h2,
.product-section h2,
.quick-compare h2,
.liquidity-section h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.eltif-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.eltif-definition-grid article {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f7fafb);
}

.eltif-definition-grid span,
.product-index,
.product-thesis span,
.advisor-box > span {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eltif-definition-grid h3 {
  margin: 18px 0 7px;
  color: var(--navy);
  font-size: 1.16rem;
}

.eltif-definition-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.regulation-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1.65fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 22px;
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 15px;
}

.regulation-note p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.eltif-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  text-align: left;
}

.eltif-table th,
.eltif-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.eltif-table thead th {
  color: #fff;
  background: var(--navy);
  font-size: 0.8rem;
}

.eltif-table tbody th {
  width: 21%;
  color: var(--navy);
  background: rgba(0, 50, 91, 0.035);
}

.eltif-table td {
  color: var(--muted);
  font-size: 0.89rem;
}

.eltif-table tr:last-child th,
.eltif-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.liquidity-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: 38px;
  align-items: center;
  margin-top: 32px;
  padding: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.liquidity-section h2 {
  color: #fff;
}

.liquidity-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.liquidity-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liquidity-flow li {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.liquidity-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 2;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  content: "›";
  color: var(--navy);
  background: var(--lime);
  border-radius: 50%;
  transform: translateY(-50%);
  font-weight: 900;
}

.liquidity-flow span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
}

.liquidity-flow strong {
  font-size: 0.92rem;
}

.liquidity-flow small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.risk-primer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.risk-primer-grid article {
  padding: 20px;
  background: #f8fafb;
  border-left: 4px solid var(--sky);
  border-radius: 0 14px 14px 0;
}

.risk-primer-grid strong {
  color: var(--navy);
}

.risk-primer-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.readiness-count {
  color: var(--navy);
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.readiness-grid label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 16px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.readiness-grid input {
  margin-top: 5px;
  accent-color: var(--sky);
}

.readiness-grid span {
  display: grid;
  gap: 3px;
}

.readiness-grid strong {
  color: var(--navy);
}

.readiness-grid small {
  color: var(--muted);
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 26px 0 0;
  padding: 7px;
  background: rgba(0, 50, 91, 0.06);
  border-radius: 16px;
}

.product-tabs button {
  min-height: 52px;
  padding: 10px 14px;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 850;
}

.product-tabs button:hover {
  background: rgba(255, 255, 255, 0.72);
}

.product-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 9px 22px rgba(0, 50, 91, 0.18);
}

.product-panel {
  padding-top: 28px;
}

.product-panel[hidden] {
  display: none;
}

.product-panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 30px;
  align-items: stretch;
  padding: 30px;
  color: #fff;
  background: linear-gradient(118deg, var(--navy-dark), var(--navy) 72%, rgba(0, 158, 227, 0.82));
  border-radius: 20px;
}

.product-panel-hero h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.product-panel-hero p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.product-thesis {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 15px;
}

.product-thesis strong {
  font-size: 1.02rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-detail-grid section {
  padding: 21px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-detail-grid .product-caution {
  background: rgba(155, 103, 0, 0.055);
  border-color: rgba(155, 103, 0, 0.18);
}

.product-detail-grid h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.product-detail-grid .topic-list {
  margin-bottom: 0;
}

.product-detail-grid .topic-list li {
  font-size: 0.84rem;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-facts div {
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 17px;
  background: #fff;
}

.product-facts dt {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.87rem;
  font-weight: 750;
}

.advisor-box {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1.75fr);
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  padding: 19px 21px;
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 15px;
}

.advisor-box p {
  margin: 0;
  color: var(--muted);
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.compact-table {
  min-width: 790px;
}

.quick-compare {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1.58fr);
  gap: 34px;
  align-items: start;
}

.real-estate-hero {
  min-height: 560px;
}

.real-estate-section {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.real-estate-section h2,
.mietpool-section h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.advisory-principle-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.advisory-principle {
  grid-column: span 4;
  min-height: 210px;
  padding: 24px;
  background: linear-gradient(150deg, #f8fbfc, #eef5f7);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.advisory-principle-lead {
  grid-column: span 8;
  background: linear-gradient(135deg, var(--navy), #075481);
  border-color: transparent;
}

.advisory-principle-wide {
  grid-column: span 8;
}

.advisory-principle > span {
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advisory-principle h3 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.15;
}

.advisory-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.advisory-principle-lead h3,
.advisory-principle-lead p {
  color: #fff;
}

.advisory-principle-lead p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.advisory-promise {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(260px, 0.7fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(110deg, #087ba4, var(--navy));
  border-radius: 18px;
}

.advisory-promise span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.advisory-promise strong {
  font-size: 1.12rem;
  line-height: 1.25;
}

.advisory-promise p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.section-subheading {
  margin-top: 34px;
}

.section-subheading h3 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.value-engine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.value-engine article {
  padding: 22px;
  background: linear-gradient(180deg, #fff, #f7fafb);
}

.value-engine span {
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
}

.value-engine h3 {
  margin: 18px 0 6px;
  color: var(--navy);
  font-size: 1.15rem;
}

.value-engine p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.real-estate-rule {
  margin-top: 20px;
}

.property-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.property-check-grid label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 16px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.property-check-grid input {
  margin-top: 5px;
  accent-color: var(--sky);
}

.property-check-grid span {
  display: grid;
  gap: 3px;
}

.property-check-grid strong {
  color: var(--navy);
}

.property-check-grid small {
  color: var(--muted);
}

.property-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 30px;
  align-items: stretch;
  padding: 30px;
  color: #fff;
  background: linear-gradient(118deg, var(--navy-dark), var(--navy) 72%, rgba(0, 158, 227, 0.82));
  border-radius: 20px;
}

.property-panel-head h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.property-panel-head > div:first-child p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.property-table {
  min-width: 900px;
}

.property-table tbody th {
  width: 17%;
}

.property-calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.property-calculator-grid .module-calculator {
  margin-top: 0;
  align-content: start;
}

.property-inputs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-output {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.calculator-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.monument-calculator {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr) minmax(320px, 1.4fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 24px;
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 18px;
}

.monument-calculator h3 {
  margin: 5px 0 6px;
  color: var(--navy);
  font-size: 1.35rem;
}

.monument-calculator > div:first-child p {
  margin: 0;
  color: var(--muted);
}

.monument-inputs {
  grid-template-columns: 1fr;
}

.denkmal-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.denkmal-timeline > div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}

.denkmal-timeline span,
.denkmal-timeline small {
  color: rgba(255, 255, 255, 0.7);
}

.denkmal-timeline strong {
  color: var(--lime);
}

.monument-calculator > .calculator-disclaimer {
  grid-column: 1 / -1;
}

.mietpool-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 38px;
  align-items: center;
  margin-top: 32px;
  padding: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mietpool-section h2 {
  color: #fff;
}

.mietpool-copy > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.benefit-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 24px;
}

.benefit-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--lime);
  font-weight: 900;
}

.mietpool-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mietpool-flow li {
  position: relative;
  min-height: 158px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.mietpool-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 2;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  content: "›";
  color: var(--navy);
  background: var(--lime);
  border-radius: 50%;
  transform: translateY(-50%);
  font-weight: 900;
}

.mietpool-flow span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
}

.mietpool-flow strong {
  font-size: 0.92rem;
}

.mietpool-flow small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.mietpool-note {
  grid-column: 1 / -1;
  margin: -14px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.remaining-life-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.remaining-life-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.remaining-life-example {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 21px;
  color: #fff;
  background: var(--navy);
  border-radius: 16px;
}

.remaining-life-example span {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.remaining-life-example strong {
  color: var(--lime);
  font-size: 1.15rem;
}

.remaining-life-example p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.rest-life-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rest-life-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: start;
  padding: 16px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.rest-life-steps > li > span {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 900;
}

.rest-life-steps div {
  display: grid;
  gap: 3px;
}

.rest-life-steps strong {
  color: var(--navy);
}

.rest-life-steps small {
  color: var(--muted);
}

.real-estate-sources {
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
}

.depot-hero {
  min-height: 560px;
}

.depot-section,
.selection-section,
.report-section,
.comparison-section {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.depot-section h2,
.selection-section h2,
.report-section h2,
.comparison-section h2,
.monitoring-section h2,
.spread-section h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.depot-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.depot-system-grid article {
  padding: 23px;
  background: linear-gradient(180deg, #fff, #f7fafb);
}

.depot-system-grid span {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.depot-system-grid h3 {
  margin: 17px 0 7px;
  color: var(--navy);
  font-size: 1.15rem;
}

.depot-system-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.selection-funnel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.selection-funnel button {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  color: var(--navy);
  text-align: left;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
}

.selection-funnel button:hover {
  background: var(--soft-blue);
}

.selection-funnel button[aria-pressed="true"] {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 12px 30px rgba(0, 50, 91, 0.18);
}

.selection-funnel button > span {
  color: var(--sky);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.selection-funnel button[aria-pressed="true"] > span {
  color: var(--lime);
}

.selection-funnel button small {
  color: var(--muted);
}

.selection-funnel button[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.68);
}

.selection-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 28px;
  align-items: center;
  margin-top: 12px;
  padding: 28px;
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 18px;
}

.selection-detail h3 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.5rem;
}

.selection-detail p {
  margin: 0;
  color: var(--muted);
}

.selection-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: rgba(0, 50, 91, 0.15);
  border-radius: 14px;
}

.selection-facts div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 15px;
  background: #fff;
}

.selection-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.selection-facts dd {
  margin: 0;
  color: var(--navy);
  font-weight: 850;
}

.selection-evidence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.selection-evidence article {
  padding: 18px;
  background: #f8fafb;
  border-left: 4px solid var(--sky);
  border-radius: 0 13px 13px 0;
}

.selection-evidence strong {
  color: var(--navy);
}

.selection-evidence p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.monitoring-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 38px;
  align-items: center;
  margin-top: 32px;
  padding: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.monitoring-section h2,
.spread-section h2 {
  color: #fff;
}

.monitoring-copy > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.monitoring-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 20px;
}

.monitoring-metrics div {
  min-height: 95px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.monitoring-metrics strong {
  color: var(--lime);
}

.monitoring-metrics span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
}

.monitoring-flow {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.monitoring-flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.monitoring-flow > li > span {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 900;
}

.monitoring-flow div {
  display: grid;
  gap: 4px;
}

.monitoring-flow small {
  color: rgba(255, 255, 255, 0.66);
}

.monitoring-claim {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.monitoring-claim strong {
  color: var(--lime);
}

.monitoring-claim p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.profile-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 14px;
  margin-top: 24px;
}

.profile-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-controls label,
.depot-cost-controls label {
  display: grid;
  gap: 8px;
  padding: 15px;
  color: var(--navy);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 0.8rem;
  font-weight: 800;
}

.profile-controls select,
.depot-cost-controls input,
.depot-cost-controls select {
  width: 100%;
  min-width: 0;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.2);
  border-radius: 9px;
}

.profile-result {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 17px;
}

.profile-result > span {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-result > strong {
  color: var(--lime);
  font-size: 1.5rem;
}

.profile-result p {
  margin: 0;
}

.profile-result small {
  color: rgba(255, 255, 255, 0.64);
}

.core-satellite {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 8px;
  margin-top: 16px;
}

.core-satellite > div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  border-radius: 16px;
}

.core-visual {
  color: #fff;
  background: var(--navy);
}

.satellite-visual {
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
}

.core-satellite span {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.core-satellite small {
  color: inherit;
  opacity: 0.7;
}

.report-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 25px;
  padding: 7px;
  background: rgba(0, 50, 91, 0.06);
  border-radius: 15px;
}

.report-tabs button {
  min-height: 48px;
  padding: 9px 12px;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 850;
}

.report-tabs button:hover {
  background: rgba(255, 255, 255, 0.74);
}

.report-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 50, 91, 0.17);
}

.report-panel {
  min-height: 265px;
  display: grid;
  align-content: center;
  gap: 20px;
  margin-top: 12px;
  padding: 27px;
  background: linear-gradient(180deg, #f8fafb, #fff);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.report-panel[hidden] {
  display: none;
}

.report-panel > p {
  margin: 0;
  color: var(--muted);
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.report-metrics div {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 13px;
}

.report-metrics span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
}

.report-metrics strong {
  color: var(--lime);
  font-size: 1.24rem;
}

.allocation-analysis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.allocation-analysis h3 {
  color: var(--navy);
}

.analysis-bar {
  min-height: 58px;
  display: flex;
  overflow: hidden;
  color: #fff;
  border-radius: 12px;
}

.analysis-bar span {
  min-width: 45px;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  background: var(--navy);
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.analysis-bar span:nth-child(2) {
  background: var(--sky);
}

.analysis-bar span:nth-child(3) {
  color: var(--navy);
  background: var(--lime);
}

.allocation-analysis p {
  margin: 10px 0 0;
  color: var(--muted);
}

.analysis-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analysis-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.analysis-list strong {
  color: var(--navy);
}

.contribution-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.contribution-list div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 17px;
  background: var(--soft-lime);
  border-radius: 13px;
}

.contribution-list .is-negative {
  background: rgba(155, 103, 0, 0.08);
}

.contribution-list span {
  color: var(--muted);
  font-size: 0.78rem;
}

.contribution-list strong {
  color: var(--navy);
}

.history-highlight {
  display: grid;
  gap: 7px;
  padding: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 15px;
}

.history-highlight span {
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 850;
}

.history-highlight strong {
  color: var(--lime);
  font-size: 1.45rem;
}

.history-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.depot-compare-table {
  min-width: 850px;
}

.depot-compare-table tbody th {
  width: 18%;
}

.spread-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: center;
  margin-top: 32px;
  padding: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.spread-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.wording-guide {
  display: grid;
  gap: 9px;
}

.wording-guide > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) minmax(0, 1.7fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.wording-guide span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wording-guide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.wording-avoid {
  opacity: 0.72;
}

.depot-cost-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 14px;
}

.depot-cost-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.depot-cost-results {
  display: grid;
  gap: 9px;
}

.depot-cost-results article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 18px;
  align-items: center;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}

.depot-cost-results span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.depot-cost-results strong {
  color: var(--lime);
  font-size: 1.3rem;
}

.depot-cost-results small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.6);
}

.cost-clarification {
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1.7fr);
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  padding: 19px 21px;
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 15px;
}

.cost-clarification p {
  margin: 0;
  color: var(--muted);
}

.depot-sources {
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
}

.depot-sources > div:first-child p {
  margin: 10px 0 0;
  color: var(--muted);
}

.retirement-depot-hero {
  min-height: 520px;
  align-items: center;
}

.date-stamp {
  display: grid;
  gap: 5px;
  padding: 25px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-top: 6px solid var(--lime);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.date-stamp span {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.date-stamp strong {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.08;
}

.date-stamp small {
  color: var(--muted);
}

.status-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  padding: 26px 30px;
  color: #fff;
  background: var(--navy);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.status-banner-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 13px;
  font-size: 1.2rem;
  font-weight: 950;
}

.status-banner h2 {
  margin: 4px 0 7px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.status-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.retirement-info-section,
.funding-section,
.riester-section,
.known-open-section {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.retirement-product-grid,
.retirement-rule-grid,
.switch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.retirement-product-grid article,
.retirement-rule-grid article,
.switch-grid article,
.payout-grid article {
  padding: 22px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.retirement-product-grid article.is-highlighted {
  background: var(--soft-blue);
  border-color: rgba(0, 158, 227, 0.36);
  box-shadow: inset 0 5px 0 var(--sky);
}

.retirement-product-grid article > span,
.retirement-rule-grid article > span,
.payout-grid article > span {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.retirement-product-grid h3,
.payout-grid h3 {
  margin: 15px 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.18;
}

.retirement-product-grid p,
.retirement-rule-grid p,
.payout-grid p,
.switch-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.table-note {
  margin: 18px 0 0;
  padding: 15px 18px;
  color: var(--muted);
  background: rgba(0, 50, 91, 0.045);
  border-radius: 13px;
  font-size: 0.87rem;
}

.funding-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 38px;
  color: #fff;
  background: var(--navy);
  border-color: transparent;
}

.funding-copy h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.funding-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.funding-ladder {
  display: grid;
  gap: 9px;
}

.funding-ladder > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 18px;
  align-items: center;
  padding: 17px 19px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.funding-ladder span,
.funding-ladder small {
  color: rgba(255, 255, 255, 0.67);
}

.funding-ladder strong {
  color: var(--lime);
  font-size: 1.15rem;
}

.funding-ladder small {
  grid-column: 1 / -1;
}

.funding-ladder .funding-total {
  color: var(--navy);
  background: var(--lime);
  border-color: var(--lime);
}

.funding-total span,
.funding-total small,
.funding-total strong {
  color: var(--navy);
}

.retirement-rule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.retirement-rule-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 1.2rem;
}

.tax-note {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1.65fr);
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  padding: 19px 21px;
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.55);
  border-radius: 15px;
}

.tax-note p {
  margin: 0;
  color: var(--muted);
}

.eligibility-grid,
.payout-grid,
.known-open-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.eligibility-grid > div {
  padding: 22px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.eligibility-grid strong,
.switch-grid strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.payout-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.payout-facts > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}

.payout-facts strong {
  color: var(--lime);
  font-size: 1.15rem;
}

.payout-facts span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.riester-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy-dark), var(--navy));
  border-color: transparent;
}

.riester-section h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.riester-section > div > p {
  color: rgba(255, 255, 255, 0.72);
}

.riester-options {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.riester-options li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
}

.riester-options li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 10px;
  font-weight: 900;
}

.riester-options strong,
.riester-options small {
  display: block;
}

.riester-options small {
  color: rgba(255, 255, 255, 0.64);
}

.riester-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 13px;
  font-weight: 750;
}

.known-open-section {
  background: linear-gradient(180deg, rgba(0, 158, 227, 0.04), #fff);
}

.known-open-grid article {
  padding: 24px;
  border-radius: 18px;
}

.known-open-grid article > span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.known-open-grid ul {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding-left: 20px;
}

.known-column {
  color: var(--navy);
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.58);
}

.open-column {
  color: var(--ink);
  background: rgba(0, 50, 91, 0.055);
  border: 1px solid var(--line);
}

.known-open-note {
  margin: 16px 0 0;
  padding: 17px 19px;
  color: var(--muted);
  background: #fff;
  border-left: 5px solid var(--sky);
  border-radius: 12px;
}

.retirement-sources > div:first-child p {
  margin: 10px 0 0;
  color: var(--muted);
}

.pension-hero {
  min-height: 540px;
  align-items: center;
}

.basis-pension-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.99) 0 56%, rgba(0, 50, 91, 0.93) 73%, rgba(0, 158, 227, 0.76) 100%),
    radial-gradient(circle at 86% 25%, var(--sky), transparent 24rem);
}

.bav-pension-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.99) 0 55%, rgba(0, 68, 108, 0.94) 72%, rgba(211, 216, 0, 0.42) 110%),
    var(--navy);
}

.pension-summary-grid article {
  min-height: 290px;
}

.calculator-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
  padding: 34px 38px;
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.58);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.calculator-callout h2 {
  margin: 6px 0 9px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.calculator-callout p {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
}

.advisor-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.advisor-check-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.advisor-check-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.advisor-check-grid strong {
  color: var(--navy);
}

.advisor-check-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bav-funding-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr) auto) minmax(0, 1fr);
  gap: 9px;
  align-items: stretch;
}

.bav-funding-flow article {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 150px;
  padding: 19px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.bav-funding-flow article.is-accent {
  background: var(--soft-lime);
  border-color: rgba(211, 216, 0, 0.58);
}

.bav-funding-flow article > span {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
}

.bav-funding-flow strong {
  color: var(--navy);
  line-height: 1.18;
}

.bav-funding-flow small {
  color: var(--muted);
}

.bav-funding-flow > i {
  align-self: center;
  color: var(--sky);
  font-size: 1.45rem;
  font-style: normal;
  font-weight: 900;
}

.pension-path-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.pension-path-grid article {
  grid-column: span 2;
  padding: 22px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.pension-path-grid article:nth-child(n+4) {
  grid-column: span 3;
}

.pension-path-grid article > span {
  color: var(--sky);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pension-path-grid h3 {
  margin: 16px 0 7px;
  color: var(--navy);
  font-size: 1.2rem;
}

.pension-path-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.health-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.99) 0 54%, rgba(0, 73, 118, 0.94) 74%, rgba(0, 158, 227, 0.72) 100%),
    var(--navy);
}

.health-system-section,
.health-values-section,
.health-comparison-section,
.health-decision-section {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.health-system-section .journey-availability,
.health-decision-section .calculation-note {
  color: var(--navy);
  background: rgba(0, 50, 91, 0.06);
  border-color: var(--line);
}

.health-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.health-system-card {
  min-height: 410px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.health-system-card.gkv-card {
  background: linear-gradient(180deg, rgba(0, 50, 91, 0.06), #fff);
}

.health-system-card.pkv-card {
  background: linear-gradient(180deg, rgba(0, 158, 227, 0.10), #fff);
  border-color: rgba(0, 158, 227, 0.3);
}

.system-label {
  display: inline-flex;
  padding: 5px 9px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pkv-card .system-label {
  background: var(--sky);
}

.health-system-card h3 {
  margin: 22px 0 9px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.12;
}

.health-system-card > p {
  color: var(--muted);
}

.health-values-section {
  color: #fff;
  background: var(--navy);
  border-color: transparent;
}

.health-values-section .section-kicker {
  color: var(--lime);
}

.health-values-section .section-heading h2 {
  color: #fff;
}

.health-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.health-values-grid article {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 150px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
}

.health-values-grid span,
.health-values-grid small {
  color: rgba(255, 255, 255, 0.68);
}

.health-values-grid span {
  font-size: 0.74rem;
  font-weight: 800;
}

.health-values-grid strong {
  margin-top: auto;
  color: var(--lime);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

.health-values-section .table-note {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.health-comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.health-comparison-table:focus {
  outline: 3px solid rgba(0, 158, 227, 0.28);
  outline-offset: 3px;
}

.health-comparison-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.health-comparison-table th,
.health-comparison-table td {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.health-comparison-table thead th {
  color: #fff;
  background: var(--navy);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.health-comparison-table thead th:nth-child(3) {
  background: #006fa9;
}

.health-comparison-table tbody th {
  width: 19%;
  color: var(--navy);
  background: rgba(0, 50, 91, 0.045);
  font-size: 0.9rem;
}

.health-comparison-table td {
  width: 40.5%;
  color: var(--muted);
  font-size: 0.88rem;
}

.health-comparison-table td:nth-child(3) {
  background: rgba(0, 158, 227, 0.035);
}

.health-comparison-table tr:last-child th,
.health-comparison-table tr:last-child td {
  border-bottom: 0;
}

.health-decision-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  gap: 17px;
  align-items: start;
}

.health-check-form {
  display: grid;
  gap: 13px;
}

.health-check-form fieldset {
  padding: 18px;
}

.health-check-form legend {
  font-size: 0.92rem;
}

.health-check-form fieldset label {
  font-size: 0.84rem;
}

.health-number-field {
  display: grid;
  gap: 7px;
  padding: 18px;
  color: var(--navy);
  background: var(--soft-blue);
  border: 1px solid rgba(0, 158, 227, 0.24);
  border-radius: 17px;
  font-size: 0.86rem;
  font-weight: 850;
}

.health-number-field[hidden] {
  display: none;
}

.health-number-field > span {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.18);
  border-radius: 10px;
}

.health-number-field input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.health-number-field b {
  padding: 0 13px;
  color: var(--muted);
  font-size: 0.78rem;
}

.health-check-output {
  position: sticky;
  top: 98px;
  padding: 27px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  border-radius: 19px;
  box-shadow: var(--shadow);
}

.health-check-output h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.health-check-output > p {
  color: rgba(255, 255, 255, 0.72);
}

.health-output-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.health-output-columns article {
  padding: 17px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
}

.health-output-columns article > span {
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.health-output-columns ul,
.health-next-actions ol {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.health-next-actions {
  margin-top: 10px;
  padding: 18px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 13px;
}

.health-next-actions ol {
  color: var(--navy);
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .module-grid,
  .knowledge-strip,
  .journey-grid,
  .foundation-grid,
  .knowledge-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .portal-knowledge-promise {
    grid-template-columns: 1fr;
  }

  .journey-card-wide {
    grid-column: auto;
  }

  .principle-strip,
  .cashflow-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-strip > div:nth-child(2) {
    border-right: 0;
  }

  .principle-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .orientation-section,
  .concept-note,
  .income-section,
  .source-section,
  .funding-section,
  .riester-section,
  .calculator-callout {
    grid-template-columns: 1fr;
  }

  .liability-flow,
  .damage-grid,
  .policy-basics,
  .advantage-results,
  .comparison-band {
    grid-template-columns: 1fr;
  }

  .liability-flow.four-step-flow,
  .calculator-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acronym-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .coverage-checklist,
  .risk-selector,
  .advantage-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .money-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .potential-head {
    display: none;
  }

  .potential-row {
    grid-template-columns: 22px minmax(0, 1fr) 120px;
    gap: 10px 14px;
  }

  .potential-action {
    grid-column: 2;
    grid-row: 2;
  }

  .potential-input {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .module-card {
    min-height: 0;
  }

  .knowledge-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .knowledge-strip > div:last-child {
    border-bottom: 0;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .eltif-definition-grid,
  .risk-primer-grid,
  .product-detail-grid,
  .advisory-principle-grid,
  .value-engine,
  .property-calculator-grid,
  .monument-calculator,
  .remaining-life-grid,
  .depot-system-grid,
  .selection-funnel,
  .selection-evidence,
  .profile-lab,
  .report-metrics,
  .contribution-list,
  .depot-cost-lab,
  .retirement-product-grid,
  .switch-grid,
  .advisor-check-grid,
  .health-decision-layout {
    grid-template-columns: 1fr;
  }

  .advisory-principle,
  .advisory-principle-lead,
  .advisory-principle-wide {
    grid-column: auto;
    min-height: 0;
  }

  .advisory-promise {
    grid-template-columns: 1fr;
  }

  .health-check-output {
    position: static;
  }

  .health-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bav-funding-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bav-funding-flow > i {
    display: none;
  }

  .pension-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pension-path-grid article,
  .pension-path-grid article:nth-child(n+4) {
    grid-column: auto;
  }

  .pension-path-grid article:last-child {
    grid-column: 1 / -1;
  }

  .liquidity-section,
  .product-panel-hero,
  .property-panel-head,
  .mietpool-section,
  .monitoring-section,
  .selection-detail,
  .spread-section,
  .quick-compare {
    grid-template-columns: 1fr;
  }

  .liquidity-flow {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mietpool-flow {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .selection-funnel button {
    min-height: 0;
  }

  .report-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 18px;
  }

  .header-progress {
    min-width: 120px;
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: right;
  }

  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .module-section,
  .quiz-section,
  .case-study,
  .next-step,
  .journey-section,
  .calculator-section,
  .potential-section,
  .transfer-section,
  .orientation-section,
  .concept-note,
  .income-section,
  .liability-principle,
  .policy-check-section,
  .risk-section,
  .source-section,
  .embedded-foundation,
  .embedded-knowledge,
  .wealth-advantage,
  .status-banner,
  .retirement-info-section,
  .funding-section,
  .riester-section,
  .known-open-section,
  .calculator-callout,
  .health-system-section,
  .health-values-section,
  .health-comparison-section,
  .health-decision-section {
    padding: 25px;
    border-radius: 20px;
  }

  .portal-knowledge-promise {
    padding: 25px;
    border-radius: 20px;
  }

  .portal-knowledge-promise ol {
    grid-template-columns: 1fr;
  }

  .eltif-foundation,
  .readiness-section,
  .product-section,
  .quick-compare,
  .liquidity-section,
  .real-estate-section,
  .mietpool-section,
  .depot-section,
  .selection-section,
  .report-section,
  .comparison-section,
  .monitoring-section,
  .spread-section {
    padding: 25px;
    border-radius: 20px;
  }

  .brand-wordmark {
    min-width: 60px;
    padding-inline: 7px;
    font-size: 1.25rem;
  }

  .header-badge {
    display: none;
  }

  .principle-strip,
  .money-grid,
  .cashflow-results,
  .transfer-grid,
  .potential-outcome,
  .coverage-checklist,
  .risk-selector,
  .advantage-controls {
    grid-template-columns: 1fr;
  }

  .liability-flow.four-step-flow,
  .calculator-inputs,
  .calculator-output,
  .acronym-row {
    grid-template-columns: 1fr;
  }

  .foundation-case {
    grid-template-columns: 1fr;
  }

  .acronym-row > div {
    min-height: 0;
  }

  .inline-check {
    width: 100%;
  }

  .exclusion-note {
    display: block;
  }

  .exclusion-note strong {
    display: block;
    margin-bottom: 5px;
  }

  .advantage-path i {
    display: none;
  }

  .principle-strip > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-strip > div:last-child {
    border-bottom: 0;
  }

  .target-bar {
    grid-template-columns: 1fr;
  }

  .privacy-note {
    display: block;
  }

  .privacy-note strong {
    display: block;
    margin-bottom: 5px;
  }

  .retirement-target {
    grid-template-columns: 1fr;
  }

  .potential-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .potential-input {
    grid-column: 2;
    grid-row: 3;
  }

  .potential-outcome p {
    grid-column: auto;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .section-heading,
  .next-step {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-values {
    grid-template-columns: 1fr;
  }

  .case-values dt {
    min-height: 0;
  }

  .fine-print {
    margin-top: -12px;
  }

  .regulation-note,
  .advisor-box,
  .readiness-grid,
  .property-check-grid,
  .product-tabs,
  .product-facts {
    grid-template-columns: 1fr;
  }

  .status-banner,
  .retirement-rule-grid,
  .eligibility-grid,
  .payout-grid,
  .payout-facts,
  .tax-note,
  .known-open-grid {
    grid-template-columns: 1fr;
  }

  .bav-funding-flow,
  .pension-path-grid,
  .health-system-grid,
  .health-values-grid,
  .health-output-columns {
    grid-template-columns: 1fr;
  }

  .health-system-card,
  .health-values-grid article {
    min-height: 0;
  }

  .pension-path-grid article:last-child {
    grid-column: auto;
  }

  .calculator-callout .button {
    width: 100%;
  }

  .status-banner-mark {
    width: 38px;
    height: 38px;
  }

  .riester-warning {
    grid-column: auto;
  }

  .funding-ladder > div {
    grid-template-columns: 1fr;
  }

  .funding-ladder small {
    grid-column: auto;
  }

  .product-panel-hero,
  .property-panel-head {
    padding: 23px;
  }

  .property-inputs,
  .denkmal-timeline,
  .selection-facts,
  .profile-controls,
  .core-satellite,
  .report-tabs,
  .allocation-analysis,
  .depot-cost-controls,
  .cost-clarification,
  .wording-guide > div {
    grid-template-columns: 1fr;
  }

  .monitoring-metrics {
    grid-template-columns: 1fr;
  }

  .monitoring-metrics div {
    min-height: 0;
  }

  .monitoring-claim {
    grid-template-columns: 1fr;
  }

  .product-facts div {
    min-height: 0;
  }

  .document-actions .button {
    width: 100%;
  }

  dialog {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 680px) {
  .quiz-wizard.is-enhanced fieldset {
    min-height: 0;
    padding: 22px 18px;
  }

  .quiz-wizard-status > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .quiz-wizard.is-enhanced fieldset label {
    min-height: 62px;
    padding: 14px;
  }

  .quiz-wizard.is-enhanced fieldset label.is-correct::after,
  .quiz-wizard.is-enhanced fieldset label.is-wrong::after {
    display: none;
  }

  .quiz-wizard-actions,
  .quiz-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quiz-wizard-actions .button,
  .quiz-result-actions .button {
    width: 100%;
  }

  .quiz-result-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Gesamtstrategie, Schwere Krankheiten, Wohngebäude und Service */
.strategy-hero,
.critical-illness-hero,
.building-hero,
.service-hero {
  min-height: 535px;
}

.strategy-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.98) 0 52%, rgba(0, 67, 105, 0.92) 74%, rgba(211, 216, 0, 0.55) 100%),
    radial-gradient(circle at 86% 28%, var(--lime), transparent 24rem);
}

.critical-illness-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.98) 0 54%, rgba(0, 50, 91, 0.92) 74%, rgba(0, 158, 227, 0.78) 100%),
    radial-gradient(circle at 86% 28%, var(--sky), transparent 24rem);
}

.building-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.98) 0 54%, rgba(0, 66, 82, 0.92) 74%, rgba(211, 216, 0, 0.52) 100%),
    radial-gradient(circle at 86% 28%, var(--lime), transparent 24rem);
}

.service-hero {
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.98) 0 50%, rgba(0, 50, 91, 0.92) 73%, rgba(0, 158, 227, 0.70) 100%),
    radial-gradient(circle at 88% 20%, var(--sky), transparent 26rem);
}

.strategy-calculator,
.product-example-section,
.damage-service-section,
.service-journey-section,
.mytecis-section,
.roadmap-section {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.strategy-calculator {
  margin-top: 0;
  background: linear-gradient(145deg, #f7fafb, #eef6f8);
  box-shadow: none;
}

.strategy-calculator .calculator-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.strategy-calculator .calculator-inputs label {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 15px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 800;
}

.strategy-calculator .calculator-inputs input {
  width: 100%;
  min-width: 0;
  padding: 11px 56px 11px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.22);
  border-radius: 10px;
}

.strategy-calculator .calculator-inputs label > span {
  position: absolute;
  right: 27px;
  bottom: 27px;
  color: var(--muted);
  font-size: 0.72rem;
}

.strategy-calculator .calculator-output {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.strategy-calculator .calculator-output > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--soft-lime);
  border-radius: 15px;
}

.strategy-calculator .calculator-output span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.strategy-calculator .calculator-output strong {
  color: var(--navy);
  font-size: 1.22rem;
}

.strategy-fine-print {
  margin: 14px 0 0;
  color: var(--muted);
}

.strategy-path-grid article {
  display: flex;
  flex-direction: column;
}

.strategy-path-grid .button {
  margin-top: auto;
}

.checklist-subheading {
  margin: 30px 0 14px;
  color: var(--navy);
}

.date-stamp-inline {
  padding: 6px 10px;
  color: var(--navy);
  background: var(--soft-lime);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.example-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.example-fact-grid article {
  display: grid;
  gap: 5px;
  padding: 20px;
  background: var(--soft-blue);
  border: 1px solid rgba(0, 158, 227, 0.20);
  border-radius: 17px;
}

.example-fact-grid strong {
  color: var(--navy);
  font-size: 1.55rem;
}

.example-fact-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.compact-foundation-grid {
  margin-top: 0;
}

.compact-foundation-grid article {
  min-height: 210px;
}

.damage-service-section {
  background: var(--navy);
  border-color: transparent;
}

.damage-service-section .section-kicker {
  color: var(--lime);
}

.damage-service-section .section-heading h2 {
  color: #fff;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-steps article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
}

.service-steps span {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 900;
}

.service-steps h3 {
  margin: 15px 0 7px;
  color: #fff;
}

.service-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.compact-advantage {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.compact-advantage .advantage-disclaimer {
  grid-column: 1 / -1;
}

.service-card-button {
  align-self: flex-start;
  margin-top: 20px;
}

.service-benefit-tags {
  margin-top: 22px;
}

.service-benefit-tags span {
  background: var(--soft-lime);
}

.learning-dashboard {
  margin-top: 32px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.learning-dashboard .journey-availability {
  color: var(--navy);
  background: var(--soft-lime);
  border-color: rgba(211, 216, 0, 0.6);
}

.learning-progress-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 20px;
}

.global-progress-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: end;
}

.global-progress-copy > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 750;
}

.global-progress-copy > strong {
  color: var(--lime);
  font-size: 1.45rem;
}

.global-progress-track {
  grid-column: 1 / -1;
  height: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.global-progress-track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  border-radius: inherit;
  transition: width 240ms ease;
}

.global-progress-copy small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.62);
}

.global-progress-actions {
  display: grid;
  justify-items: stretch;
  gap: 10px;
  min-width: min(330px, 34vw);
}

.global-progress-actions .text-button {
  color: rgba(255, 255, 255, 0.72);
}

.learning-progress-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.learning-progress-groups > section {
  padding: 20px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.learning-progress-groups > section:nth-child(2),
.learning-progress-groups > section:nth-child(4) {
  grid-row: span 2;
}

.learning-progress-groups h3 {
  margin: 0 0 12px;
  color: var(--sky);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-progress-groups a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 11px 12px;
  color: var(--ink);
  border-top: 1px solid rgba(0, 50, 91, 0.08);
  text-decoration: none;
}

.learning-progress-groups a:first-of-type {
  border-top: 0;
}

.learning-progress-groups a:hover {
  background: var(--soft-blue);
  border-radius: 10px;
}

.learning-progress-groups a > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.learning-progress-groups a.is-complete {
  color: var(--navy);
  background: rgba(211, 216, 0, 0.11);
  border-radius: 10px;
}

.learning-progress-groups a.is-complete > span {
  color: #2f7d32;
}

.learning-progress-groups a.is-complete strong::before {
  content: "✓ ";
  color: #2f7d32;
}

.service-timeline {
  display: grid;
  gap: 10px;
}

.service-timeline article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.service-timeline article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 13px;
  font-weight: 900;
}

.service-timeline h3 {
  margin: 1px 0 4px;
  color: var(--navy);
}

.service-timeline p {
  margin: 0;
  color: var(--muted);
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.app-feature-grid article {
  min-height: 190px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #07587c);
  border-radius: 18px;
}

.app-feature-grid span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
}

.app-feature-grid h3 {
  margin: 24px 0 7px;
}

.app-feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.roadmap-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.roadmap-flow article {
  min-height: 145px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px;
  background: #f5f8fa;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.roadmap-flow article.is-accent {
  background: var(--soft-lime);
  border-color: rgba(211, 216, 0, 0.65);
}

.roadmap-flow article > span {
  color: var(--sky);
  font-size: 0.73rem;
  font-weight: 900;
}

.roadmap-flow strong {
  color: var(--navy);
}

.roadmap-flow small {
  color: var(--muted);
}

.roadmap-flow > i {
  color: var(--sky);
  font-style: normal;
  font-weight: 900;
}

.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .strategy-calculator .calculator-inputs,
  .example-fact-grid,
  .service-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-flow {
    grid-template-columns: 1fr;
  }

  .learning-progress-summary,
  .learning-progress-groups {
    grid-template-columns: 1fr;
  }

  .global-progress-actions {
    min-width: 0;
  }

  .learning-progress-groups > section:nth-child(2),
  .learning-progress-groups > section:nth-child(4) {
    grid-row: auto;
  }

  .roadmap-flow > i {
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .strategy-calculator,
  .product-example-section,
  .damage-service-section,
  .service-journey-section,
  .mytecis-section,
  .roadmap-section {
    padding: 24px;
  }

  .learning-dashboard {
    padding: 24px;
  }

  .strategy-calculator .calculator-inputs,
  .strategy-calculator .calculator-output,
  .example-fact-grid,
  .service-steps,
  .app-feature-grid {
    grid-template-columns: 1fr;
  }

  .compact-advantage {
    grid-template-columns: 1fr;
  }

  .next-step-actions {
    width: 100%;
  }

  .next-step-actions .button {
    width: 100%;
  }
}

/* Abschlussmodul: Mein eigener Finanzplan */

#selfCaseProgressBar {
  display: block;
  width: 12.5%;
  height: 100%;
  background: var(--lime);
  border-radius: inherit;
  transition: width 240ms ease;
}

.self-case-hero {
  min-height: 530px;
  background:
    linear-gradient(112deg, rgba(0, 31, 58, 0.98) 0 52%, rgba(0, 50, 91, 0.94) 72%, rgba(0, 158, 227, 0.8) 100%),
    radial-gradient(circle at 86% 18%, var(--lime), transparent 24rem);
}

.self-case-safety {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: 32px;
  background: linear-gradient(135deg, #f5fbff, #f1f7e8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.self-case-safety h2 {
  margin: 12px 0 7px;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.self-case-safety p {
  margin: 0;
  color: var(--muted);
}

.self-case-safety ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.self-case-safety li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 50, 91, 0.1);
  border-radius: 14px;
}

.self-case-safety li strong {
  color: var(--navy);
}

.self-case-safety li span {
  color: var(--muted);
  font-size: 0.86rem;
}

.self-case-shell {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 32px;
}

.self-case-navigation {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--navy);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.self-case-navigation .section-kicker {
  color: var(--lime);
}

.self-case-navigation h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.self-case-navigation > div > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
}

.self-case-navigation ol {
  display: grid;
  gap: 5px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.self-case-navigation button[data-step-target] {
  width: 100%;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  column-gap: 10px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.52);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
}

.self-case-navigation button[data-step-target]:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.self-case-navigation button[data-step-target]:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.07);
}

.self-case-navigation button[data-step-target].is-active {
  color: #fff;
  background: rgba(0, 158, 227, 0.2);
  border-color: rgba(0, 158, 227, 0.48);
}

.self-case-navigation button[data-step-target].is-reached:not(.is-active) {
  color: rgba(255, 255, 255, 0.8);
}

.self-case-navigation button[data-step-target] > span {
  grid-row: 1 / span 2;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.self-case-navigation button[data-step-target].is-active > span,
.self-case-navigation button[data-step-target].is-reached > span {
  background: var(--lime);
}

.self-case-navigation button[data-step-target] strong,
.self-case-navigation button[data-step-target] small {
  display: block;
}

.self-case-navigation button[data-step-target] strong {
  font-size: 0.88rem;
}

.self-case-navigation button[data-step-target] small {
  margin-top: 1px;
  font-size: 0.7rem;
}

.self-case-navigation > .text-button {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.self-case-form {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 50, 91, 0.06);
}

.self-case-step[hidden],
.self-priority-feedback[hidden],
.self-complete-banner[hidden],
.is-conditional[hidden],
#buildingStatusWrap[hidden] {
  display: none !important;
}

.self-step-heading > span {
  display: block;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.self-step-heading h2 {
  margin: 6px 0 9px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.self-step-heading p {
  max-width: 780px;
  color: var(--muted);
}

.self-input-grid {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.self-input-grid.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.self-input-grid.four-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.self-input-grid label,
.self-single-input > label {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 17px;
  color: var(--navy);
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 800;
}

.self-input-grid input,
.self-input-grid select,
.self-single-input input {
  width: 100%;
  min-height: 49px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.22);
  border-radius: 11px;
  outline: none;
}

.self-input-grid input:focus,
.self-input-grid select:focus,
.self-single-input input:focus,
.self-status-grid select:focus,
.self-transfer-question textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.12);
}

.self-input-grid label > span,
.self-single-input label > span {
  position: absolute;
  right: 28px;
  bottom: 30px;
  color: var(--muted);
  font-size: 0.72rem;
  pointer-events: none;
}

.self-input-grid label:has(select) > span {
  display: none;
}

.self-live-results,
.self-pension-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.self-live-results > div,
.self-pension-result > div {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: var(--soft-blue);
  border: 1px solid rgba(0, 158, 227, 0.16);
  border-radius: 14px;
}

.self-live-results span,
.self-pension-result span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.self-live-results strong,
.self-pension-result strong {
  color: var(--navy);
  font-size: 1.22rem;
}

.self-transfer-question {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.5);
  border-radius: 17px;
}

.self-transfer-question > span {
  color: #6d7200;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.self-transfer-question > strong {
  color: var(--navy);
}

.self-transfer-question textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 50, 91, 0.18);
  border-radius: 11px;
  outline: none;
}

.self-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 28px;
}

.self-check-grid label {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
}

.self-check-grid label:has(input:checked) {
  background: var(--soft-lime);
  border-color: rgba(211, 216, 0, 0.66);
}

.self-check-grid input,
.self-priority-options input,
.self-completion-checks input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--sky);
}

.self-check-grid strong,
.self-check-grid small {
  display: block;
}

.self-check-grid strong {
  color: var(--navy);
}

.self-check-grid small {
  margin-top: 2px;
  color: var(--muted);
}

.self-single-input {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 14px;
}

.self-single-input > div {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 17px;
  color: #fff;
  background: var(--navy);
  border-radius: 16px;
}

.self-single-input > div > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.self-single-input > div > strong {
  color: var(--lime);
  font-size: 1.35rem;
}

.self-single-input > div > small {
  color: rgba(255, 255, 255, 0.64);
}

.self-single-input.is-conditional {
  grid-template-columns: minmax(250px, 0.5fr);
}

.self-stability-result,
.self-risk-summary,
.self-goal-horizon {
  display: grid;
  grid-template-columns: minmax(130px, auto) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.self-stability-result[data-state="good"],
.self-risk-summary[data-state="good"] {
  background: rgba(47, 125, 50, 0.08);
  border-color: rgba(47, 125, 50, 0.26);
}

.self-stability-result[data-state="attention"],
.self-risk-summary[data-state="attention"] {
  background: rgba(226, 143, 0, 0.08);
  border-color: rgba(226, 143, 0, 0.28);
}

.self-stability-result > span,
.self-goal-horizon > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.self-stability-result strong,
.self-risk-summary strong,
.self-goal-horizon strong {
  color: var(--navy);
}

.self-stability-result p,
.self-risk-summary p,
.self-goal-horizon p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.self-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
}

.self-status-grid label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 0.65fr);
  gap: 12px;
  align-items: center;
  padding: 15px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.self-status-grid strong,
.self-status-grid small {
  display: block;
}

.self-status-grid strong {
  color: var(--navy);
}

.self-status-grid small {
  color: var(--muted);
  font-size: 0.73rem;
}

.self-status-grid select {
  min-height: 44px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid rgba(0, 50, 91, 0.2);
  border-radius: 10px;
  outline: none;
}

.self-priority-options {
  display: grid;
  gap: 10px;
  margin: 28px 0 16px;
}

.self-priority-options label {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 16px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
}

.self-priority-options label:has(input:checked) {
  background: var(--soft-blue);
  border-color: var(--sky);
}

.self-priority-options strong,
.self-priority-options small {
  display: block;
}

.self-priority-options strong {
  color: var(--navy);
}

.self-priority-options small {
  color: var(--muted);
}

.self-priority-feedback {
  margin-top: 15px;
  padding: 18px;
  border-radius: 15px;
  outline: none;
}

.self-priority-feedback[data-state="correct"] {
  background: rgba(47, 125, 50, 0.09);
  border: 1px solid rgba(47, 125, 50, 0.3);
}

.self-priority-feedback[data-state="learning"] {
  background: rgba(226, 143, 0, 0.09);
  border: 1px solid rgba(226, 143, 0, 0.3);
}

.self-priority-feedback strong {
  color: var(--navy);
}

.self-priority-feedback p {
  margin: 5px 0 0;
  color: var(--muted);
}

.self-module-recommendations {
  margin-top: 18px;
}

.self-module-recommendations > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.self-module-recommendations > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.self-module-recommendations a {
  display: grid;
  gap: 3px;
  padding: 14px;
  color: var(--navy);
  background: var(--soft-blue);
  border: 1px solid rgba(0, 158, 227, 0.18);
  border-radius: 13px;
  text-decoration: none;
}

.self-module-recommendations a:hover {
  border-color: var(--sky);
}

.self-module-recommendations small {
  color: var(--muted);
}

.self-summary-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.self-summary-facts > div {
  display: grid;
  gap: 6px;
  min-height: 102px;
  align-content: center;
  padding: 15px;
  color: #fff;
  background: var(--navy);
  border-radius: 15px;
}

.self-summary-facts span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.73rem;
}

.self-summary-facts strong {
  color: var(--lime);
  font-size: 1.08rem;
}

.self-roadmap {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.self-roadmap > li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  padding: 18px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.self-roadmap > li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 13px;
  font-weight: 900;
}

.self-roadmap strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.self-roadmap p {
  margin: 5px 0 8px;
  color: var(--muted);
  font-size: 0.87rem;
}

.self-roadmap a {
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 850;
}

.self-customer-questions {
  margin-top: 24px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #07587c);
  border-radius: 18px;
}

.self-customer-questions .section-kicker {
  color: var(--lime);
}

.self-customer-questions h3 {
  margin: 6px 0 15px;
  font-size: 1.3rem;
}

.self-customer-questions ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.self-completion-checks {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 20px;
  background: var(--soft-lime);
  border: 1px solid rgba(211, 216, 0, 0.52);
  border-radius: 17px;
}

.self-completion-checks legend {
  padding: 0 7px;
  color: var(--navy);
  font-weight: 900;
}

.self-completion-checks label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--navy);
  cursor: pointer;
}

.self-roadmap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.self-complete-banner {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 19px;
  background: rgba(47, 125, 50, 0.09);
  border: 1px solid rgba(47, 125, 50, 0.28);
  border-radius: 16px;
  outline: none;
}

.self-complete-banner > span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2f7d32;
  border-radius: 12px;
  font-weight: 900;
}

.self-complete-banner strong {
  color: #245f28;
}

.self-complete-banner p {
  margin: 3px 0 5px;
  color: var(--muted);
}

.self-complete-banner a {
  color: var(--navy);
  font-weight: 850;
}

.self-step-error {
  margin: 20px 0 0;
  padding: 13px 15px;
  color: #8b2424;
  background: rgba(177, 38, 38, 0.08);
  border: 1px solid rgba(177, 38, 38, 0.24);
  border-radius: 12px;
  font-weight: 750;
}

.self-form-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.self-form-actions > span {
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.self-case-disclaimer {
  margin-bottom: 0;
}

.capstone-progress-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy), #087ba4);
  border-radius: 18px;
}

.capstone-progress-card .section-kicker {
  color: var(--lime);
}

.capstone-progress-card h3 {
  margin: 5px 0 5px;
  font-size: 1.35rem;
}

.capstone-progress-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.capstone-progress-actions {
  display: grid;
  gap: 7px;
  min-width: 220px;
  text-align: center;
}

.capstone-progress-actions small {
  color: rgba(255, 255, 255, 0.67);
  font-weight: 750;
}

.capstone-progress-card.is-complete {
  background: linear-gradient(115deg, #245f28, #2f7d52);
}

.capstone-progress-card.is-complete .capstone-progress-actions small::before {
  content: "✓ ";
  color: var(--lime);
}

.capstone-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: center;
  margin-top: 32px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(0, 31, 58, 0.98), rgba(0, 79, 116, 0.94)),
    radial-gradient(circle at 85% 20%, var(--sky), transparent 25rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.capstone-spotlight .section-kicker {
  color: var(--lime);
}

.capstone-spotlight h2 {
  margin: 7px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.capstone-spotlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.capstone-spotlight aside {
  display: grid;
  gap: 9px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
}

.capstone-spotlight aside strong {
  color: var(--navy);
  font-size: 1.12rem;
}

.capstone-spotlight aside span {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .self-case-shell {
    grid-template-columns: 1fr;
  }

  .self-case-navigation {
    position: static;
  }

  .self-case-navigation ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .self-case-navigation button[data-step-target] {
    grid-template-columns: 33px minmax(0, 1fr);
  }

  .self-case-navigation button[data-step-target] small {
    display: none;
  }

  .self-summary-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .self-case-safety,
  .capstone-spotlight {
    grid-template-columns: 1fr;
  }

  .self-input-grid.three-columns,
  .self-input-grid.four-columns,
  .self-live-results,
  .self-pension-result,
  .self-status-grid {
    grid-template-columns: 1fr;
  }

  .self-stability-result,
  .self-risk-summary,
  .self-goal-horizon {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .capstone-progress-card {
    grid-template-columns: 1fr;
  }

  .capstone-progress-actions {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .self-case-safety,
  .self-case-form,
  .capstone-spotlight {
    padding: 24px;
    border-radius: 20px;
  }

  .self-case-navigation {
    padding: 20px;
  }

  .self-case-navigation ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .self-case-navigation button[data-step-target] {
    grid-template-columns: 31px minmax(0, 1fr);
    padding: 8px;
  }

  .self-case-navigation button[data-step-target] > span {
    width: 29px;
    height: 29px;
  }

  .self-case-safety li,
  .self-check-grid,
  .self-single-input,
  .self-module-recommendations > div,
  .self-summary-facts {
    grid-template-columns: 1fr;
  }

  .self-status-grid label {
    grid-template-columns: 1fr;
  }

  .self-form-actions {
    grid-template-columns: 1fr 1fr;
  }

  .self-form-actions > span {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .self-form-actions .button {
    width: 100%;
  }

  .self-roadmap-actions .button {
    width: 100%;
  }
}

@media print {
  .self-case-page .site-header,
  .self-case-page .breadcrumb,
  .self-case-page .self-case-hero,
  .self-case-page .self-case-safety,
  .self-case-page .self-case-navigation,
  .self-case-page .self-case-step:not(.self-roadmap-step),
  .self-case-page .self-form-actions,
  .self-case-page .self-roadmap-actions,
  .self-case-page .self-completion-checks,
  .self-case-page .self-case-disclaimer,
  .self-case-page footer {
    display: none !important;
  }

  .self-case-page,
  .self-case-page main,
  .self-case-page .self-case-shell,
  .self-case-page .self-case-form {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: none;
    border: 0;
  }

  .self-case-page .self-roadmap-step {
    display: block !important;
  }

  .self-case-page .self-roadmap > li,
  .self-case-page .self-customer-questions,
  .self-case-page .self-summary-facts > div {
    break-inside: avoid;
  }

  .self-case-page .self-customer-questions {
    color: #000;
    background: #eef3f5;
  }

  .self-case-page .self-customer-questions ol,
  .self-case-page .self-customer-questions .section-kicker {
    color: #233;
  }
}
