/* Landing-page frame for the "Does this fit us?" pages: the homepage nav, the compact sub-page footer and the
   cookie banner, copied from css/site.css, css/page.css and css/consent.css so this responsive survey does not
   inherit the 1920 px zoom canvas. frame.js scales only the nav, footer and banner with the same factor as
   js/site.js (min(1, viewport / 1920)), so the chrome is pixel-identical to the rest of the site. */
:root{--fborder:#222235;--site-zoom:1;--page-width:calc(1480px * var(--site-zoom))} /* survey column = rendered nav width, so edges align like the homepage .wrap */
/* Sticky footer, as on the rest of the site. The body is not zoomed here (frame.js scales only the
   chrome), so 100vh is used as is. */
body{padding-top:calc(130px * var(--site-zoom));display:flex;flex-direction:column;min-height:100vh}
body>.pfoot{margin-top:auto}
.nav a,.pfoot a,.consent a{text-decoration:none}
.consent a{text-decoration:underline}
.nav img,.pfoot img{display:block}
.nav p,.pfoot p,.consent p{margin:0}

/* ---------- nav (site.css) ---------- */
.nav{position:absolute;top:20px;left:50%;translate:-50% 0;z-index:50;width:1480px;height:80px;background:var(--white);border-radius:16px;overflow:hidden;
  -webkit-backdrop-filter:blur(35px);backdrop-filter:blur(35px);
  box-shadow:0 8px 17px rgba(95,94,161,.03),0 30px 30px rgba(95,94,161,.03),0 68px 41px rgba(95,94,161,.02)}
.nav-logo{position:absolute;left:16px;top:25px;width:225px;height:30px}
.nav-logo img{width:225px;height:30px;max-width:none}
.nav-links{position:absolute;left:calc(50% + .5px);top:50%;translate:-50% -50%;display:flex;align-items:center}
.nav-link{position:relative;display:flex;align-items:center;gap:4px;padding:12px 16px;border-radius:8px;font-weight:500;font-size:18px;line-height:24px;color:var(--g900);white-space:nowrap;transition:color .25s ease}
.nav-link img{width:16px;height:16px;transition:transform .25s ease}
.nav-link::after{content:"";position:absolute;left:16px;right:16px;bottom:8px;height:1.5px;background:var(--g900);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.nav-link:hover::after,.nav-link:focus-visible::after{transform:scaleX(1)}
.nav-link:hover img{transform:translateY(1px)}
.nav-actions{position:absolute;right:16px;top:16px;display:flex;gap:8px;align-items:center}
.nav .btn{gap:2px;padding:12px 16px;border-radius:8px;font-size:18px;line-height:24px;border:1px solid transparent;position:relative;overflow:hidden;transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1),background-color .25s ease,border-color .25s ease,color .25s ease}
.nav .btn .txt{padding:0 2px;position:relative;z-index:1}
.nav .btn-dark{background:var(--g900);color:var(--white);border-color:transparent;box-shadow:inset 0 4px 6px rgba(0,0,0,.18),inset 0 -3px 3.9px rgba(255,255,255,.12),0 1px .5px rgba(0,0,0,.03)}
.nav .btn-dark:hover{background:var(--white);color:var(--g900);border-color:var(--g900);box-shadow:0 8px 20px rgba(29,29,32,.12);transform:translateY(-2px)}

/* ---------- progress (survey pages): thin indigo line at the very top of the viewport ---------- */
.progress{position:fixed;top:0;left:0;right:0;z-index:60;height:3px;background:transparent}
.progress i{display:block;height:100%;width:0;background:var(--indigo);transition:width .5s cubic-bezier(.22,1,.36,1)}

/* ---------- compact footer (page.css) ---------- */
.pfoot{background:var(--black);color:var(--white);margin-top:40px}
.pfoot .pf-wrap{position:relative;width:1480px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:96px;border-top:1px solid var(--fborder)}
.pfoot ul{display:flex;gap:28px;margin:0;padding:0;list-style:none;font-size:15px;line-height:20px;color:var(--g400)}
.pfoot ul a:hover,.pfoot ul button:hover{color:var(--white)}
.pfoot ul button{background:none;border:0;padding:0;color:inherit;cursor:pointer;font:inherit}
.pfoot .copy{font-size:15px;line-height:20px;color:var(--g700)}
.pfoot .li{display:flex;align-items:center;gap:12px}
.pfoot .li img{width:20px;height:20px}

/* ---------- cookie banner (consent.css) ---------- */
.consent{position:fixed;left:50%;bottom:20px;translate:-50% 0;z-index:70;width:1480px;box-sizing:border-box;padding:24px 28px;background:var(--white);border:1px solid var(--g200);border-radius:16px;
  box-shadow:0 8px 17px rgba(95,94,161,.06),0 30px 30px rgba(95,94,161,.06),0 68px 41px rgba(95,94,161,.04);font-size:15px;line-height:22px;color:var(--g700)}
.consent[hidden]{display:none}
.consent-row{display:flex;align-items:center;justify-content:space-between;gap:32px}
.consent-text b{font-weight:500;color:var(--g900)}
.consent-text a{color:var(--brand600);text-underline-offset:3px}
.consent-btns{display:flex;gap:10px;flex:none}
.consent .btn{cursor:pointer;font-size:14px;line-height:19px;padding:10px 13px;border-radius:6px;gap:2px}
.consent .btn .txt{padding:0 2px}
.consent-details{display:none;margin-top:20px;padding-top:20px;border-top:1px solid var(--g200)}
.consent.is-details .consent-details{display:block}
.consent-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.consent-cat{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--g200);border-radius:12px;background:var(--g50);cursor:pointer}
.consent-cat input{margin:3px 0 0;width:16px;height:16px;flex:none;accent-color:var(--indigo)}
.consent-cat b{display:block;font-weight:500;color:var(--g900)}
.consent-cat span{display:block;margin-top:4px;font-size:14px;line-height:20px}
.consent-cat.is-locked{cursor:default;opacity:.8}
.consent-details .consent-btns{margin-top:16px;justify-content:flex-end}

/* ---------- email status on result screens ---------- */
.mail-status{margin-top:14px;font-size:13px;line-height:20px;color:var(--g700)}
.mail-status.ok{color:var(--ok)}
.mail-status.warn{color:var(--leak)}
.btn.is-busy{opacity:.7;pointer-events:none}
.agree.opt-in{margin-top:10px}

/* ---------- below 950 px the chrome stops scaling and becomes fluid (frame.js sets --site-zoom to 1) ---------- */
/* ---------- language toggle (EN / DE) — mirrors css/site.css ---------- */
/* EN · DE: plain text pair with a middle dot; the active language is ink with a black underline (same as css/site.css). */
.lang-toggle{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 4px;margin-right:8px}
.lang-toggle::before{content:"";order:1;width:3px;height:3px;border-radius:50%;background:var(--g400);flex:none}
.lang-toggle button{order:0;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--g500);font:inherit;font-weight:500;font-size:15px;line-height:20px;letter-spacing:.2px;padding:2px 1px 3px;cursor:pointer;transition:color .25s ease,border-color .25s ease}
.lang-toggle button[data-lang="de"]{order:2}
.lang-toggle button[aria-pressed="true"]{color:var(--g900);border-bottom-color:var(--g900)}
.lang-toggle button:not([aria-pressed="true"]):hover{color:var(--g900)}
.lang-toggle button:focus-visible{outline:2px solid var(--indigo);outline-offset:2px}

/* Chrome goes fluid at the same breakpoint as the rest of the site (css/responsive.css, 1100 px),
   so the nav and footer are the same size here as on the homepage at every width. */
@media (max-width:1099px){
  .nav{width:calc(100% - 32px);zoom:1!important}
  .nav-links{display:none}
  .nav .lang-toggle{height:42px;gap:8px;margin-right:4px}.nav .lang-toggle button{font-size:13px;line-height:18px}
  .pfoot .pf-wrap{width:calc(100% - 32px);height:auto;padding:20px 0;flex-direction:column;align-items:flex-start;gap:16px;zoom:1!important}
  .pfoot ul{flex-wrap:wrap;gap:12px 20px}
  .consent{width:calc(100% - 32px);bottom:16px;zoom:1!important;padding:18px}
  .consent-row{flex-direction:column;align-items:flex-start;gap:16px}
  .consent-cats{grid-template-columns:1fr}
}
@media (max-width:600px){
  .nav-logo{width:170px;height:23px;top:29px}.nav-logo img{width:170px;height:23px}
  .nav .btn{font-size:15px;padding:10px 12px}
  .nav-logo{width:140px;height:19px;top:31px}.nav-logo img{width:140px;height:19px}
  /* phones: the pair collapses to the other language only (plain ink text, no dot) */
  .nav-actions{gap:6px}.nav .lang-toggle{height:38px;gap:0;padding:0 2px;margin-right:2px}
  .nav .lang-toggle::before,.nav .lang-toggle button[aria-pressed="true"]{display:none}
  .nav .lang-toggle button{font-size:13px;color:var(--g900)}
  .consent-btns{flex-wrap:wrap}
}
@media print{.nav,.pfoot,.consent,.progress,.mail-status{display:none!important}body{padding-top:0}}
