/* Fit quiz pop-up (same shell as the "Get in touch" pop-up) — matched to the Figma frames "Fit quiz — …" (column 768, cards 2-up with 24px gaps,
   result card 600). Positiv colours: ink, paper, lime, lime tint for picked answers. */
.fq { --ink: #211d1d; --paper: #f2f2ed; --lime: #f0f879; --lime-tint: #fbfee0; --body: #6f6b66; --ph: #b2b2b2;
  --line: rgb(33 29 29 / .12); --card-line: rgb(178 178 178 / .4); --error: #b42318;
  position: fixed; inset: 0; z-index: 100001; display: flex; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 24px 16px; background: rgb(33 29 29 / .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  opacity: 0; visibility: hidden; transition: opacity .35s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .35s; }
.fq.is-open { opacity: 1; visibility: visible; transition: opacity .35s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.fq *, .fq *::before, .fq *::after { box-sizing: border-box; }
html.fq-lock, html.fq-lock body { overflow: hidden !important; }
.fq svg { display: block; flex: none; }
.fq button { font: inherit; color: inherit; }

/* same pop-up shell as "Get in touch": blurred page, light card, round close button */
.fq__close { position: fixed; top: 28px; right: 28px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--paper); border-radius: 50%; background: transparent; color: var(--paper) !important; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.fq__close svg { width: 18px; height: 18px; }
.fq__close:hover { background: var(--paper); color: var(--ink) !important; }
.fq__close:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.fq button:focus-visible, .fq a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.fq__col { position: relative; width: 100%; max-width: 880px; margin: auto; padding: 36px 48px 28px; border-radius: 24px; background: var(--paper); outline: none;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55); transform: translate3d(0, 16px, 0) scale(.985); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.fq.is-open .fq__col { transform: none; }
.fq.is-result .fq__col { max-width: 600px; padding: 0; overflow: hidden; background: #fff; }

/* header: mark, title + count, progress */
.fq__mark { width: 28px; height: 31px; color: var(--ink); }
.fq__title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; }
.fq__name { margin: 0; font-family: var(--f-display, "Optima Nova", Optima, Georgia, serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.fq__count { font-size: 14px; color: var(--body); font-variant-numeric: tabular-nums; }
.fq__bar { height: 3px; margin-top: 16px; border-radius: 3px; background: rgb(33 29 29 / .08); overflow: hidden; }
.fq__bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--ink); transition: width .45s cubic-bezier(.22, .8, .24, 1); }

.fq__slide.is-fwd { animation: fqFwd .38s cubic-bezier(.22, .8, .24, 1) both; }
.fq__slide.is-back { animation: fqBack .38s cubic-bezier(.22, .8, .24, 1) both; }
@keyframes fqFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes fqBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* question */
.fq__q { margin: 32px 0 0; font-family: var(--f-display, "Optima Nova", Optima, Georgia, serif); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; outline: none; text-wrap: balance; }
.fq__sub { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--body); }

/* answer cards */
.fq__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.fq__opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fq__opt { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; min-width: 0; min-height: 92px; padding: 18px 20px;
  border: .5px solid var(--card-line); border-radius: 12px; background: rgb(255 255 255 / .5); text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, opacity .15s ease; }
.fq__opt.has-s { min-height: 108px; }
.fq__opt--wide { grid-column: 1 / -1; }
.fq__opt:hover { border-color: rgb(33 29 29 / .35); background: #fff; }
.fq__ico { display: flex; align-items: center; height: 24px; color: var(--body); }
.fq__ico svg { width: 24px; height: 24px; }
.fq__mono { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.fq__txt { display: block; }
.fq__t { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.fq__s { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--body); }
.fq__opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); background: var(--lime-tint); }
.fq__opt.is-on .fq__ico, .fq__opt.is-on .fq__s { color: var(--ink); }
.fq__opt.is-off { opacity: .4; cursor: not-allowed; }
.fq__opt.is-off:hover { border-color: var(--card-line); background: rgb(255 255 255 / .5); }
.fq__or { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: -4px 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgb(33 29 29 / .42); }
.fq__or::before, .fq__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* nav */
.fq__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 50px; margin-top: 24px; }
.fq__back { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; border: 0; background: none; font-size: 15px; color: var(--body) !important; cursor: pointer; }
.fq__back:hover { color: var(--ink) !important; }
.fq__back.is-hidden { visibility: hidden; }
.fq__back svg, .fq__again svg { width: 15px; height: 15px; }
.fq__right { display: flex; align-items: center; gap: 16px; }
.fq__hint { font-size: 13px; color: rgb(33 29 29 / .42); }
.fq__picked { font-size: 14px; color: var(--body); font-variant-numeric: tabular-nums; }
/* Continue: the Positiv button in ink (black pill, lime label; a lime circle grows from the bottom on hover, label turns ink) */
.fq__next { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  height: 50px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 36px; background: var(--ink); color: var(--lime) !important;
  font-size: 18px !important; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: color .45s cubic-bezier(.16, 1, .3, 1) .05s, transform .4s cubic-bezier(.16, 1, .3, 1), opacity .2s ease; }
.fq__next::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 150%; aspect-ratio: 1; border-radius: 50%; background: var(--lime);
  transform: translate(-50%, -50%) scale(0); transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.fq__next:hover:not(:disabled), .fq__next:focus-visible { color: var(--ink) !important; }
.fq__next:hover:not(:disabled)::before, .fq__next:focus-visible::before { transform: translate(-50%, -50%) scale(1.15); }
.fq__next:active:not(:disabled) { transform: scale(.98); }
.fq__next:disabled { opacity: .3; cursor: not-allowed; }

/* result card */
.fq__res { position: relative; padding: 40px 48px 28px; background: #fff; text-align: center; overflow: hidden; }
.fq__res::before { content: ""; position: absolute; left: 50%; top: -150px; width: 560px; height: 300px; transform: translateX(-50%); border-radius: 50%;
  background: rgb(240 248 121 / .3); filter: blur(90px); pointer-events: none; }
.fq__res > * { position: relative; }
.fq__ring { display: grid; place-items: center; width: 60px; height: 60px; margin: 22px auto; border-radius: 50%; background: var(--lime); color: var(--ink);
  box-shadow: 0 0 0 10px rgb(240 248 121 / .4), 0 0 0 22px rgb(240 248 121 / .16); }
.fq__ring svg { width: 26px; height: 26px; }
.fq__vt { margin: 30px 0 0; font-family: var(--f-display, "Optima Nova", Optima, Georgia, serif); font-weight: 400; font-size: 36px; line-height: 44px; letter-spacing: -.01em; color: var(--ink); outline: none; text-wrap: balance; }
.fq__vp { max-width: 460px; margin: 12px auto 0; font-size: 16px; line-height: 24px; color: var(--body); }
.fq__vp strong { color: var(--ink); font-weight: 600; }

.fq__sum { margin-top: 24px; border-radius: 16px; background: var(--paper); text-align: left; }
.fq__sum-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 20px; border: 0; border-radius: 16px; background: none;
  font-size: 14px !important; font-weight: 500; line-height: 1.5; color: var(--ink) !important; cursor: pointer; }
.fq__sum-meta { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--body); }
.fq__sum-meta svg { width: 16px; height: 16px; color: var(--ink); transition: transform .2s ease; }
.fq__sum.is-open .fq__sum-meta svg { transform: rotate(180deg); }
.fq__sum-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin: 0 20px; padding: 0 0 8px; border-top: 1px solid var(--line); animation: fqSum .22s ease both; }
@keyframes fqSum { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fq__sum-row { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.fq__sum-row:nth-last-child(-n+2):nth-child(odd), .fq__sum-row:last-child { border-bottom: 0; }
.fq__sum-row span:first-child { font-size: 12px; color: var(--body); }
.fq__sum-row span:last-child { font-size: 14px; color: var(--ink); font-weight: 500; }

.fq__lead { margin-top: 24px; text-align: left; }
.fq__field + .fq__field { margin-top: 12px; }
.fq__lbl { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.fq__in { display: block; width: 100%; height: 48px; padding: 0 16px; border: 1px solid rgb(33 29 29 / .26); border-radius: 12px; background: #fff;
  font: 400 16px "Poppins", system-ui, sans-serif; color: var(--ink); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.fq__in::placeholder { color: var(--ph); }
.fq__in:hover { border-color: rgb(33 29 29 / .45); }
.fq__in:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fq__in.is-err { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.fq__err { margin: 8px 0 0; font-size: 14px; color: var(--error); }
.fq__err--form { margin-top: 12px; }
.fq__honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fq__send { display: block; width: 100%; height: 52px; margin-top: 20px; border: 0; border-radius: 36px; background: var(--ink); color: var(--lime) !important;
  font-size: 16px !important; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.fq__send:hover { background: var(--lime); color: var(--ink) !important; }
.fq__send:disabled { opacity: .6; cursor: progress; }
.fq__again { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 4px; border: 0; background: none; font-size: 15px !important; color: var(--body) !important; cursor: pointer; }
.fq__again:hover { color: var(--ink) !important; }
.fq__sent { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; }
.fq__sent-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.fq__sent-ico svg { width: 14px; height: 14px; }
.fq__sent p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.fq__sent a { display: inline-block; margin-top: 6px; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 767px) {
  .fq { padding: 76px 16px 24px; }
  .fq__col { padding: 32px 20px 24px; border-radius: 18px; }
  .fq__close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .fq__q { margin-top: 44px; font-size: 28px; }
  .fq__sub { font-size: 16px; }
  .fq__opts, .fq__opts--4 { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .fq__opt, .fq__opt.has-s { min-height: 0; gap: 20px; padding: 20px; }
  .fq__hint { display: none; }
  .fq__res { padding: 44px 20px 28px; }
  .fq__vt { font-size: 32px; line-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .fq, .fq__col, .fq__slide.is-fwd, .fq__slide.is-back, .fq__sum-list { animation: none; transition: none; }
  .fq__bar i, .fq__opt, .fq__next, .fq__next::before { transition: none; }
}
/* main buttons: 18px regular, 16px on phones, the same as the site's buttons */
.fq__next { font-weight: 400; }
@media (max-width: 767px) { .fq__next { font-size: 16px !important; } }
