/* ============================================================
   Helvetia – brand theme layer   (white-label, load LAST)
   ------------------------------------------------------------
   Re-skins the Footprint Calculator and the Risk Check to the
   Helvetia visual identity. Same zero-build white-label strategy as
   the other brand layers: this file is loaded LAST and re-maps the
   shared design tokens (--donau-*, --cg-*, --border-color …) plus the
   generic brand components (.brand-*, .fin-*, .gp-*, .uq-*) so every
   existing component recolours and re-shapes automatically.

   ────────────────────────────────────────────────────────────
   WHITE-LABEL / MAINTENANCE NOTES
   ────────────────────────────────────────────────────────────
   To rebrand for a future customer, change ONLY:
     1. the palette + shape tokens in the :root block below,
     2. the logo asset referenced in the markup
        (img/start/<logo>.svg, class .brand-logo__img),
     3. the wordmark text (.brand-logo__name / footer),
     4. the utility-strip tagline (.header .container::before).
   No component rule below hard-codes a colour – they all resolve
   through the tokens, so a single palette swap re-themes everything.

   Palette is derived from the official Helvetia logo
   (helvetia-logo-color-pos-170px.svg): petrol/teal primary,
   violet + red secondary accents, near-black ink.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ---------- 1. Brand tokens (the single swap point) ---------- */
:root,
html {
  /* Core Helvetia palette (from the logo) */
  --helv-teal: #118289;          /* PRIMARY – CTAs, links, active nav */
  --helv-teal-dark: #0d6a70;     /* hover / pressed */
  --helv-teal-bright: #46a8b3;   /* secondary teal accent */
  --helv-teal-light: #e6f1f2;    /* light teal surface */

  --helv-purple: #71518c;        /* secondary brand accent */
  --helv-purple-dark: #563b6c;
  --helv-purple-light: #f0ebf4;

  --helv-red: #c21924;           /* alerts / high-risk only */
  --helv-red-dark: #9f1717;

  --helv-green: #3f8f4f;          /* semantic: safe / covered / ESG */
  --helv-green-dark: #2f6d3c;
  --helv-green-light: #e9f4ec;
  --helv-amber: #e0a100;          /* semantic: medium risk */

  --helv-ink: #181716;            /* headings, deep text (logo black) */
  --helv-ink-soft: #3f3f3d;
  --helv-grey: #6b7280;           /* muted text */
  --helv-muted: #6b7280;
  --helv-surface: #ffffff;
  --helv-surface-alt: #f5f4f2;    /* page / section background */
  --helv-border: #e4e3e0;         /* dividers, card borders */
  --helv-footer: #262523;         /* dark charcoal footer */

  /* Shape tokens – squared Helvetia look */
  --helv-radius-btn: 3px;
  --helv-radius-card: 6px;
  --helv-shadow-card: 0 4px 18px rgba(24, 23, 22, 0.06);

  --color-text: var(--helv-ink);
  --font-family-default: Inter, "Helvetica Neue", Arial, sans-serif;

  /* --- Remap the legacy shared tokens → Helvetia palette. --- */
  --donau-blue: var(--helv-teal);
  --donau-blue-dark: var(--helv-teal-dark);
  --donau-red: var(--helv-red);
  --donau-light: var(--helv-teal-light);
  --donau-border: var(--helv-border);

  --border-color: var(--helv-border);
  --blue-border-color: var(--helv-teal);
  --blue-background-color: var(--helv-teal-light);
}

/* Coverage / finance widget tokens inherit the remapped values. */
.cg,
.fin,
.bw {
  --cg-accent: var(--helv-teal);
  --cg-accent-dark: var(--helv-teal-dark);
  --cg-covered: var(--helv-green);
  --cg-surface-alt: var(--helv-teal-light);
  --cg-border: var(--helv-border);
  --cg-good: var(--helv-green);
  --cg-warn: var(--helv-amber);
  --cg-bad: var(--helv-red);
}

/* Legacy feature-stylesheet token bridge: the handprint stylesheet
   (css/handprint.css) was authored against the previous theme's token
   names. Map them onto the Helvetia palette so that stylesheet resolves
   to Helvetia colours without needing per-rule edits. */
:root,
html {
  --erste-teal: var(--helv-teal);
  --erste-blue: var(--helv-teal);
  --erste-blue-dark: var(--helv-teal-dark);
  --erste-navy: var(--helv-ink);
  --erste-green: var(--helv-green);
  --erste-green-dark: var(--helv-green-dark);
  --erste-green-light: var(--helv-green-light);
  --erste-light: var(--helv-teal-light);
  --erste-border: var(--helv-border);
  --erste-muted: var(--helv-muted);
}

/* ---------- 2. Typography ---------- */
body {
  color: var(--color-text);
  font-family: var(--font-family-default);
  font-size: 1rem;
  font-feature-settings: "tnum";
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea,
.btn,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
[class^="uat-headlines"],
[class*=" uat-headlines"] {
  font-family: var(--font-family-default);
}

h1, h2, h3, h4,
.uat-headlines-150,
.cg-title,
.fin-title {
  color: var(--helv-ink);
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Typography scale – large headings max 44px, body at 16-18px. */
h1, .h1, .uat-headlines-150, .uat-hero-section__title {
  font-size: min(44px, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
}
h2, .h2, .uat-headlines-100 {
  font-size: min(34px, 2.125rem);
  line-height: 1.2;
}
h3, .h3, .uat-headlines-75 {
  font-size: min(26px, 1.625rem);
  line-height: 1.25;
}
h4, h5, h6, .h4, .h5, .h6 {
  font-size: 1.375rem;
  line-height: 1.3;
}
p, li, label, small, input, select, textarea, button, .btn,
.text, .subtext, .compact-text {
  font-size: 16px;
  line-height: 1.6;
}
.uat-headlines-50,
.uat-headlines-50-regular,
.answerbox p,
.question-container p,
.overshot-info-section p,
.beraterbar p {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  h1, .h1, .uat-headlines-150, .uat-hero-section__title { font-size: min(34px, 2.125rem); }
  h2, .h2, .uat-headlines-100 { font-size: min(28px, 1.75rem); }
  h3, .h3, .uat-headlines-75 { font-size: min(23px, 1.4375rem); }
}

/* ---------- 3. Brand logo (color logo on the white header) ---------- */
.navbar-brand.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  padding: 0;
}
.brand-logo__wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.brand-logo__img {
  width: 168px;
  height: auto;
  display: block;
}
.brand-logo__name {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: var(--helv-ink);
}
@media (max-width: 767px) {
  .brand-logo__img { width: 132px; }
}

/* ---------- 4. Header / top navigation (white Helvetia style) ---------- */
.header {
  background: #fff;
  height: auto;
  max-height: none;
}
.page-layout { margin-top: 118px; }

/* Thin "Baloise group" utility strip above the nav. */
.header > .container::before {
  content: "Wir sind Teil der Helvetia Baloise Gruppe.";
  display: block;
  margin: 0 -9999px;             /* bleed full width */
  padding: 6px 9999px;
  background: var(--helv-surface-alt);
  color: var(--helv-grey);
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
}
.header > .container {
  background: #fff;
  border-bottom: 1px solid var(--helv-border);
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(24, 23, 22, 0.05);
  overflow: hidden;
}

nav {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  grid-template-areas: "brand barometer menu";
  align-items: center;
  column-gap: 18px;
  row-gap: 0;
  height: auto;
  min-height: 100%;
  padding: 10px 0;
}
.navbar-brand.brand-logo { grid-area: brand; }

#barometer {
  grid-area: barometer;
  display: block !important;
  width: 100%;
  max-width: 560px;
  margin: 0 10px;
}

.brand-menu {
  grid-area: menu;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: stretch;
}

.brand-nav,
.riskcheck-header-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.brand-nav li,
.riskcheck-header-links li { margin: 0; }
.brand-nav a,
.riskcheck-header-links a {
  color: var(--helv-ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.brand-nav li.active a,
.brand-nav a:hover,
.riskcheck-header-links .active a,
.riskcheck-header-links a:hover {
  border-bottom-color: var(--helv-teal);
  color: var(--helv-teal);
}

/* Cross-app pill link (Footprint ⇄ Risk Check). */
.riskcheck-top-link {
  color: #fff;
  background: var(--helv-teal);
  border: 1px solid var(--helv-teal);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--helv-radius-btn);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.riskcheck-top-link:hover,
.riskcheck-top-link:focus {
  color: #fff;
  background: var(--helv-teal-dark);
  transform: translateY(-1px);
}

.brand-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--helv-teal);
  background: #fff;
  border: 1.5px solid var(--helv-teal);
  border-radius: var(--helv-radius-btn);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 20px;
  min-width: 100px;
}
.brand-login-btn:hover,
.brand-login-btn:focus {
  color: #fff;
  background: var(--helv-teal);
}

.menu #menu-btn { padding: 6px 8px; border-radius: var(--helv-radius-btn); }
.menu #menu-btn i { color: var(--helv-ink) !important; }
.menu #menu-btn:hover,
.menu #menu-btn:focus { background: var(--helv-surface-alt); }

/* ---------- 4b. Legacy "blue" component overrides (token-driven) ---------- */
.main-content > .container,
.riskcheck-page .riskcheck-container,
.mode-simple .main-content > .container {
  background: var(--helv-surface-alt);
}
.start .tab-content { background: #fff; }

.sidebar-nav { background: var(--helv-teal); }
.tab-bar .riskcheck > a { color: var(--helv-teal); }
.tab-bar > li > a:hover { border-bottom: 0.3rem solid var(--helv-teal); }

.btn {
  background-color: var(--helv-teal);
  border-color: var(--helv-teal);
}
#start-tab .unit-section .unit-selection .btn,
#start-tab .mode-section .mode-selection .btn,
#start-tab .btn.start {
  background-color: var(--helv-teal);
  border-color: var(--helv-teal);
  color: #fff;
}
#start-tab .mode-section button { color: var(--helv-teal); }
#start-tab .mode-section button.btn__primary { color: #fff; background-color: var(--helv-teal); }
.question-container .btn.btn-next:hover,
.question-container .btn.btn-results:hover {
  background-color: var(--helv-teal-dark);
  border-color: var(--helv-teal-dark);
  color: #fff;
}
.btn.dropdown-toggle { background: transparent; }

.charts-container { background: var(--helv-teal); }
.barometer > .overshoot-day { color: var(--helv-ink-soft); }

.steps .circle { color: var(--helv-teal); background-color: var(--helv-teal-light); }
.steps .circle.active { border-color: var(--helv-teal); }
.progress-bar .indicator { background: var(--helv-teal); }

.color1 { background: var(--helv-teal); }
.color2 { background: var(--helv-teal-bright); }
.color3 { background: #9ecfd3; }

.modal-footer { background: var(--helv-surface-alt); }
.myFlag { border-color: var(--helv-teal-light); }

.slider .slider-handle.round,
.slider .tooltip-inner { background-color: var(--helv-teal); }
.slider .tooltip.top .tooltip-arrow { border-top-color: var(--helv-teal); }

.bootstrap-select .dropdown-menu { border-color: var(--helv-teal); }
.bootstrap-select .dropdown-menu > li > a:focus,
.bootstrap-select .dropdown-menu > li > a:hover { background-color: var(--helv-teal); }

.btn-default:hover,
.dropdown-toggle.btn-default.active.focus,
.dropdown-toggle.btn-default.active:focus,
.dropdown-toggle.btn-default.active:hover,
.dropdown-toggle.btn-default:active.focus,
.dropdown-toggle.btn-default:active:focus,
.dropdown-toggle.btn-default:active:hover,
.bootstrap-select.open > .dropdown-toggle.btn-default.focus,
.bootstrap-select.open > .dropdown-toggle.btn-default:focus,
.bootstrap-select.open > .dropdown-toggle.btn-default:hover,
.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default { border-color: var(--helv-teal); }

.feedback-btn {
  background: var(--helv-teal);
  box-shadow: 0 4px 12px rgba(17, 130, 137, 0.4);
}
.bar-chart-sprechblase,
.bar-chart-sprechblase::before { background: var(--helv-teal-light); }
div.months > div.myOverShootDayChart { border-bottom-color: var(--helv-teal); }
#third_page_title { color: var(--helv-teal); }

@media (max-width: 991px) {
  .header { min-height: 84px; }
  .page-layout { margin-top: 98px; }
  nav {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand menu";
    row-gap: 0;
  }
  #barometer { display: none !important; }
  .brand-menu { justify-self: end; }
}

/* ---------- 4c. Result-page layout stabilization ---------- */
body.result .main-content > .container,
#result-tab { font-size: 16px; }

.uniqa_products h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}
.product_card { align-items: stretch; }
.product_content { padding: 14px 16px 16px; }
.product_content ul { margin: 0; padding-bottom: 0; }

.analysis-row .card { min-height: 0; overflow: hidden; }
.analysis-row .card > div:first-child {
  height: auto; min-height: 0; justify-content: flex-start; gap: 8px;
}
.analysis-row .card > div:first-child > img + div { height: auto; min-height: 0; }
.analysis-row .card h3 { font-size: 1.25rem; line-height: 1.2; margin: 0.6rem 0; }

.swiper-container { height: auto; }
.swiper-slide ul { font-size: 1rem; line-height: 1.6; margin: 0; }
.swiper-slide ul > li { line-height: 1.45; margin-bottom: 0.45rem; overflow-wrap: anywhere; }

@media (max-width: 767px) {
  .analysis-row .card h3,
  .uniqa_products h3 { font-size: 1.25rem; }
}

/* de-only primary flow → hide the language switcher */
.language-switcher,
.lang-separator { display: none !important; }

/* ---------- 5. Footer (dark charcoal Helvetia style) ---------- */
footer .container {
  background: var(--helv-footer);
  color: #cfcecb;
  padding: 2.8rem 1.6rem 2rem;
}
footer .container > div { border-top: none; }
footer .container hr { display: none; }
.brand-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.brand-footer__brand .brand-logo__name { color: #fff; }
.brand-footer__brand p {
  color: #a7a6a2;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-top: 0.9rem;
  max-width: 34ch;
}
.brand-footer__col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.brand-footer__col ul { margin: 0; padding: 0; }
.brand-footer__col li { list-style: none; display: block; margin: 0 0 0.55rem; }
.brand-footer__col a {
  color: #cfcecb;
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
}
.brand-footer__col a:hover { color: var(--helv-teal-bright); text-decoration: underline; }
.brand-footer__legal {
  max-width: 1200px;
  margin: 1.8rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.78rem;
  color: #918f8b;
}
.brand-footer__legal a { color: #918f8b; text-decoration: none; }
.brand-footer__legal a:hover { color: #fff; }
@media (max-width: 767px) {
  .brand-footer { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ---------- 6. Buttons / cards polish (squared Helvetia shapes) ---------- */
.btn {
  border-radius: var(--helv-radius-btn);
  font-weight: 700;
  letter-spacing: 0.005em;
}
.uniqa_box,
.generali_box {
  border: 1px solid var(--helv-border);
  border-radius: var(--helv-radius-card);
  box-shadow: var(--helv-shadow-card);
  background-color: #fff;
  position: relative;
  padding: 2.5rem;
  margin: 2.4rem 0;
}
#start-tab .intro .uniqa_box {
  padding: 3.25rem;
  margin: 4rem auto;
  width: 100%;
  max-width: 720px;
}
.uat-hero-section__title {
  padding-top: 5rem;
  margin: 0 0 1.6rem;
  hyphens: auto;
  word-break: break-word;
}
.uat-hero-section__desc { margin: 0; hyphens: auto; word-break: break-word; }
.modal-title { font-size: 1.75rem; line-height: 1.25; }

.btn_group {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  align-content: center;
  justify-content: center;
}
.btn_group > .btn { align-self: stretch; }

.radio-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row !important;
  justify-content: center;
  gap: 1rem;
}

/* ---------- 6b. Radio / choice cards ---------- */
.radio-container input { display: none; }
.radio-container label {
  border: 1px solid var(--border-color);
  border-radius: var(--helv-radius-card);
  padding: 8px;
  width: 100%;
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
  justify-content: center;
  transition: border-color 0.3s ease-out, color 0.3s ease-out, box-shadow 0.3s ease-out;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(24, 23, 22, 0.05);
}
.radio-container label .checkbox { display: flex; flex-direction: row-reverse; margin: 0; }
.radio-container label .checkbox > div {
  height: 24px; width: 24px;
  background: url("../icons/circleUncheck.svg");
  background-size: contain;
}
.radio-container label .icon { flex-grow: 1; text-align: center; }
.radio-container label .icon + div { text-align: center; }
.radio-container label img { max-width: 60px; aspect-ratio: 1 / 1; }

@media (max-width: 409px) {
  #start-tab .intro .uniqa_box { padding: 2rem; }
  .radio-container { width: 100%; }
  .radio-container label .icon { order: 1; }
  .radio-container label .text { display: flex; align-items: center; }
}
@media (min-width: 410px) {
  .radio-container label {
    aspect-ratio: 1 / 1;
    flex-direction: column;
    width: 140px;
    max-width: 140px;
  }
  .radio-container label .text { flex-grow: 0; text-align: center; }
}
.radio-container input[type="radio"]:checked + label,
.radio-container input[type="radio"]:hover + label {
  border: 1px solid var(--helv-teal);
  color: var(--helv-teal);
}
.radio-container input[type="radio"]:checked + label .checkbox > div,
.radio-container input[type="radio"]:hover + label .checkbox > div {
  background: url("../icons/circleCheck.svg");
  background-size: contain;
}

/* ESG / sustainability accent chip. */
.esg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--helv-green-light);
  color: var(--helv-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.esg-chip::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--helv-green);
}

/* Recommendation "produkt" nudges. */
.produkt.alert,
.produkt.alert-info {
  background: var(--helv-teal-light);
  border: 1px solid #cfe4e5;
  border-left: 4px solid var(--helv-teal);
  color: #123c3e;
  border-radius: var(--helv-radius-card);
}
.produkt.alert a { color: var(--helv-teal-dark); font-weight: 700; }

@keyframes cg-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   7. Financial / Risk assessment widget  (.fin-*)
   ============================================================ */
.fin { color: var(--helv-ink); font-size: 1em; }
.fin *, .fin *::before, .fin *::after { box-sizing: border-box; }
.fin-screen { display: none; }
.fin-screen.is-active { display: block; animation: cg-fade 0.25s ease; }

.fin-title { font-size: 1.5em; font-weight: 800; margin: 0 0 0.35em; }
.fin-lead { color: var(--helv-muted); margin: 0 0 1.3em; line-height: 1.6; }

.fin-steps { display: flex; gap: 8px; margin: 0 0 1.4em; flex-wrap: wrap; }
.fin-step {
  flex: 1 1 0; min-width: 90px;
  font-size: 0.72em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--helv-muted); padding-top: 10px; border-top: 3px solid var(--helv-border);
}
.fin-step.is-active { color: var(--helv-teal); border-top-color: var(--helv-teal); }
.fin-step.is-done { color: var(--helv-green-dark); border-top-color: var(--helv-green); }

.fin-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 1.2em; }
.fin-choice {
  text-align: left;
  border: 1.5px solid var(--helv-border);
  background: #fff;
  border-radius: var(--helv-radius-card);
  padding: 20px; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  display: flex; flex-direction: column; gap: 6px;
}
.fin-choice:hover { border-color: var(--helv-teal); box-shadow: 0 8px 24px rgba(17,130,137,0.12); transform: translateY(-2px); }
.fin-choice.is-primary { border-color: var(--helv-teal); }
.fin-choice__badge {
  align-self: flex-start; background: var(--helv-teal); color: #fff;
  font-size: 0.68em; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.fin-choice__icon { font-size: 1.8em; }
.fin-choice__title { font-weight: 800; font-size: 1.05em; color: var(--helv-ink); }
.fin-choice__desc { color: var(--helv-muted); font-size: 0.9em; line-height: 1.5; }
@media (max-width: 640px) { .fin-choice-grid { grid-template-columns: 1fr; } }

.fin-q { animation: cg-fade 0.25s ease; }
.fin-q__counter { font-size: 0.8em; font-weight: 700; color: var(--helv-teal); text-transform: uppercase; letter-spacing: 0.06em; }
.fin-q__question { font-size: 1.3em; font-weight: 800; color: var(--helv-ink); margin: 6px 0 4px; }
.fin-q__hint { color: var(--helv-muted); margin: 0 0 1.1em; line-height: 1.55; }
.fin-progress { height: 8px; border-radius: 999px; background: var(--helv-teal-light); overflow: hidden; margin: 0 0 1.3em; }
.fin-progress__bar { height: 100%; background: linear-gradient(90deg, var(--helv-teal), var(--helv-teal-bright)); transition: width 0.3s ease; }

.fin-options { display: grid; gap: 10px; }
.fin-option {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--helv-border);
  border-radius: var(--helv-radius-card); padding: 14px 16px;
  cursor: pointer; background: #fff;
  transition: border-color 0.12s, background 0.12s;
  font-size: 1em; text-align: left; width: 100%;
}
.fin-option:hover { border-color: var(--helv-teal); background: var(--helv-teal-light); }
.fin-option.is-selected { border-color: var(--helv-teal); background: var(--helv-teal-light); box-shadow: inset 0 0 0 1px var(--helv-teal); }
.fin-option__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--helv-border); flex: 0 0 auto; position: relative; }
.fin-option.is-selected .fin-option__dot { border-color: var(--helv-teal); }
.fin-option.is-selected .fin-option__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--helv-teal); }

.fin-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 1.5em; }
.fin-actions.end { justify-content: flex-end; }
.fin-btn {
  border: none; border-radius: var(--helv-radius-btn); padding: 12px 26px;
  font-size: 1em; font-weight: 700; cursor: pointer;
  background: var(--helv-teal); color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.fin-btn:hover { background: var(--helv-teal-dark); transform: translateY(-1px); }
.fin-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.fin-btn--ghost { background: transparent; color: var(--helv-teal); box-shadow: inset 0 0 0 1.5px var(--helv-teal); }
.fin-btn--ghost:hover { background: var(--helv-teal-light); }
.fin-btn--green { background: var(--helv-green); }
.fin-btn--green:hover { background: var(--helv-green-dark); }

.fin-drop {
  border: 2px dashed var(--helv-border); border-radius: var(--helv-radius-card);
  padding: 34px 20px; text-align: center; cursor: pointer;
  background: var(--helv-teal-light); transition: border-color 0.15s, background 0.15s;
}
.fin-drop.is-drag, .fin-drop:hover { border-color: var(--helv-teal); background: #fff; }
.fin-drop__icon { font-size: 2em; }
.fin-drop__hint { color: var(--helv-muted); font-size: 0.85em; margin-top: 6px; }
.fin-note { font-size: 0.85em; color: var(--helv-muted); margin-top: 10px; }

.fin-result { animation: cg-fade 0.3s ease; }
.fin-scorecards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 1.6em; }
@media (max-width: 640px) { .fin-scorecards { grid-template-columns: 1fr; } }
.fin-score { border-radius: var(--helv-radius-card); padding: 22px; color: #fff; position: relative; overflow: hidden; }
.fin-score--health { background: linear-gradient(135deg, var(--helv-teal), var(--helv-teal-dark)); }
.fin-score--risk { background: linear-gradient(135deg, var(--helv-purple), var(--helv-purple-dark)); }
.fin-score__label { font-size: 0.8em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9; }
.fin-score__value { font-size: 3em; font-weight: 800; line-height: 1; margin: 8px 0 2px; }
.fin-score__value small { font-size: 0.35em; font-weight: 600; opacity: 0.8; }
.fin-score__band { font-size: 0.95em; font-weight: 700; }
.fin-score__desc { font-size: 0.85em; opacity: 0.92; margin-top: 8px; line-height: 1.5; }
.fin-gauge {
  position: absolute; right: -18px; top: -18px;
  width: 120px; height: 120px; border-radius: 50%;
  background: conic-gradient(rgba(255,255,255,0.9) var(--val, 0%), rgba(255,255,255,0.18) 0);
  -webkit-mask: radial-gradient(circle 42px at center, transparent 40px, #000 42px);
          mask: radial-gradient(circle 42px at center, transparent 40px, #000 42px);
  opacity: 0.9;
}

.fin-cats { display: grid; gap: 12px; margin: 0 0 1.6em; }
.fin-cat { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 12px; }
@media (max-width: 640px) { .fin-cat { grid-template-columns: 1fr; gap: 4px; } }
.fin-cat__name { font-weight: 700; color: var(--helv-ink); font-size: 0.95em; }
.fin-cat__track { height: 10px; border-radius: 999px; background: var(--helv-teal-light); overflow: hidden; }
.fin-cat__fill { height: 100%; border-radius: 999px; }
.fin-cat__fill--good { background: var(--helv-green); }
.fin-cat__fill--mid { background: var(--helv-amber); }
.fin-cat__fill--weak { background: var(--helv-red); }
.fin-cat__val { font-weight: 700; font-size: 0.85em; color: var(--helv-muted); }

.fin-section-title {
  font-size: 1.25em; font-weight: 800; color: var(--helv-ink);
  margin: 1.8em 0 0.8em; display: flex; align-items: center; gap: 10px;
}
.fin-section-title .esg-chip { font-size: 0.6em; }

.fin-cardlist { display: grid; gap: 12px; }
.fin-card {
  border: 1px solid var(--helv-border); border-radius: var(--helv-radius-card);
  padding: 16px 18px; background: #fff; display: flex; gap: 14px; align-items: flex-start;
}
.fin-card__icon {
  width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 1.3em;
  background: var(--helv-teal-light);
}
.fin-card--green .fin-card__icon { background: var(--helv-green-light); }
.fin-card__body h4 { margin: 0 0 3px; font-size: 1.02em; color: var(--helv-ink); font-weight: 800; }
.fin-card__body p { margin: 0; color: var(--helv-muted); font-size: 0.9em; line-height: 1.55; }
.fin-card__cta { margin-top: 8px; display: inline-flex; }
.fin-card__cta a { font-size: 0.85em; font-weight: 700; color: var(--helv-teal); text-decoration: none; }
.fin-card__cta a:hover { text-decoration: underline; }
.fin-badge { display: inline-block; font-size: 0.7em; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-left: 6px; }
.fin-badge--prio { background: #fbe7e8; color: var(--helv-red); }
.fin-badge--esg { background: var(--helv-green-light); color: var(--helv-green-dark); }

.fin-insight {
  border-radius: var(--helv-radius-card); padding: 20px 22px; margin: 1.8em 0 0;
  background: linear-gradient(135deg, var(--helv-teal-light), #fff);
  border: 1px solid var(--helv-border); border-left: 5px solid var(--helv-teal);
}
.fin-insight h4 { margin: 0 0 6px; color: var(--helv-ink); font-weight: 800; }
.fin-insight p { margin: 0; color: var(--helv-ink); line-height: 1.6; }
.fin-disclaimer { font-size: 0.78em; color: var(--helv-muted); margin-top: 1.4em; line-height: 1.5; }

/* ============================================================
   8. Gamification teaser  (.gp-*)  – "Green Points"
   ============================================================ */
.gp {
  border-radius: var(--helv-radius-card); overflow: hidden;
  border: 1px solid var(--helv-border);
  box-shadow: var(--helv-shadow-card);
  background: #fff;
}
.gp__head {
  background: linear-gradient(135deg, var(--helv-green), var(--helv-teal));
  color: #fff; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.gp__head-titles h3 { margin: 0; color: #fff; font-weight: 800; font-size: 1.4em; }
.gp__head-titles p { margin: 4px 0 0; opacity: 0.92; font-size: 0.9em; }
.gp__tag {
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
  padding: 4px 12px; border-radius: 999px; font-size: 0.72em; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.gp__balance { display: flex; align-items: center; gap: 20px; padding: 22px 24px; flex-wrap: wrap; }
.gp__ring {
  --p: 68;
  width: 118px; height: 118px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(var(--helv-green) calc(var(--p) * 1%), var(--helv-teal-light) 0);
  display: grid; place-items: center; position: relative;
}
.gp__ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.gp__ring-inner { position: relative; text-align: center; }
.gp__ring-inner b { display: block; font-size: 1.6em; font-weight: 800; color: var(--helv-green-dark); line-height: 1; }
.gp__ring-inner span { font-size: 0.68em; color: var(--helv-muted); font-weight: 700; }
.gp__balance-text h4 { margin: 0 0 4px; color: var(--helv-ink); font-weight: 800; }
.gp__balance-text p { margin: 0; color: var(--helv-muted); font-size: 0.9em; line-height: 1.5; }
.gp__next { margin-top: 8px; font-size: 0.85em; color: var(--helv-green-dark); font-weight: 700; }

.gp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--helv-border); }
@media (max-width: 640px) { .gp__grid { grid-template-columns: 1fr; } }
.gp__col { padding: 20px 24px; }
.gp__col + .gp__col { border-left: 1px solid var(--helv-border); }
@media (max-width: 640px) { .gp__col + .gp__col { border-left: none; border-top: 1px solid var(--helv-border); } }
.gp__col h4 { margin: 0 0 12px; color: var(--helv-ink); font-weight: 800; font-size: 1.02em; }
.gp__item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--helv-border); }
.gp__item:last-child { border-bottom: none; }
.gp__item-ic { width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; font-size: 1.15em; background: var(--helv-green-light); }
.gp__item-body { flex: 1; }
.gp__item-body b { display: block; color: var(--helv-ink); font-size: 0.92em; }
.gp__item-body span { color: var(--helv-muted); font-size: 0.8em; }
.gp__item-pts { font-weight: 800; color: var(--helv-green-dark); font-size: 0.92em; white-space: nowrap; }
.gp__reward { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--helv-border); border-radius: var(--helv-radius-card); margin-bottom: 10px; }
.gp__reward b { color: var(--helv-ink); font-size: 0.92em; }
.gp__reward span { color: var(--helv-muted); font-size: 0.8em; display: block; }
.gp__reward button { border: none; background: var(--helv-green); color: #fff; font-weight: 700; font-size: 0.8em; padding: 7px 14px; border-radius: var(--helv-radius-btn); cursor: pointer; white-space: nowrap; }
.gp__reward button:hover { background: var(--helv-green-dark); }
.gp__reward button:disabled { background: var(--helv-border); color: var(--helv-muted); cursor: not-allowed; }
.gp__partners { padding: 16px 24px 22px; border-top: 1px solid var(--helv-border); }
.gp__partners h4 { margin: 0 0 10px; color: var(--helv-ink); font-weight: 800; font-size: 0.95em; }
.gp__partner-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gp__partner { font-size: 0.78em; font-weight: 700; color: var(--helv-ink); background: var(--helv-teal-light); border: 1px solid var(--helv-border); padding: 6px 12px; border-radius: 999px; }
.gp__foot { padding: 14px 24px 20px; font-size: 0.76em; color: var(--helv-muted); line-height: 1.5; }
