/* Redopart v3. Självhostade typsnitt: Manrope och Inter (SIL Open Font License). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/manrope-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/manrope-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --night: #011D27;
  --petrol-900: #072836;
  --petrol-800: #0D3445;
  --petrol-700: #174559;
  --navy-800: #12304B;
  --navy-700: #1A3E60;
  --paper: #FAF7F2;
  --paper-2: #F1ECE3;
  --paper-3: #E6DFD3;
  --white: #FFFFFF;
  --line: #D9D0C2;
  --line-dark: rgba(250, 247, 242, .16);
  --ink: #0E2230;
  --muted: #4F5D66;
  --muted-light: rgba(250, 247, 242, .78);
  --green-700: #1E4A37;
  --green-600: #265A43;
  --green-400: #4F8A6C;
  --green-300: #7DBE98;
  --green-100: #E2EEE6;
  --error: #A3322A;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  --header-h: 76px;
  --ease: cubic-bezier(.22, .68, .16, 1);
  --dur: .7s;
  --shadow: 0 1px 2px rgba(1, 29, 39, .06), 0 18px 40px -20px rgba(1, 29, 39, .28);
  --logo-ink: var(--night);
  --logo-accent: var(--green-600);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--petrol-700); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-600); }
h1, h2, h3, .footer-heading { font-family: var(--font-head); color: var(--ink); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-weight: 800; overflow-wrap: break-word; }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }
.closing :focus-visible, .contact-cta :focus-visible, .wide :focus-visible, .site-footer :focus-visible, .duo-col-dark :focus-visible { outline-color: var(--green-300); }
main:focus, [tabindex="-1"]:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; background: var(--night); color: var(--paper); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* Typografi */
.display { font-size: clamp(2.6rem, 6.4vw, 5.75rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 800; }
.display-sm { font-size: clamp(2.1rem, 4.4vw, 3.75rem); line-height: 1.1; letter-spacing: -.038em; font-weight: 800; }
.muted-ink { color: var(--green-600); }
.eyebrow { font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--green-300); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.6; max-width: 60ch; }
.fine { font-size: .95rem; color: var(--muted); margin-top: 2rem; max-width: 70ch; }
p { max-width: 68ch; }

/* Knappar */
.btn { --btn-bg: var(--night); --btn-fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 50px; padding: .8em 1.4em; border-radius: 999px; border: 0; background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(1, 29, 39, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --btn-bg: var(--green-600); --btn-fg: var(--white); }
.btn-primary:hover { --btn-bg: var(--green-700); }
.btn-light { --btn-bg: var(--paper); --btn-fg: var(--night); }
.btn-light:hover { --btn-bg: var(--white); }
.btn-lg { min-height: 56px; padding: .95em 1.7em; font-size: 1.0625rem; }
.btn-xl { min-height: 64px; padding: 1.1em 2.1em; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn-arrow { width: 1em; height: 1em; display: inline-block; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translateX(4px); }
.text-link { font-family: var(--font-head); font-weight: 700; color: var(--night); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size .25s var(--ease), color .2s; }
.text-link:hover, .text-link:focus-visible { color: var(--green-600); background-size: 35% 2px; }
.text-link-light { color: var(--paper); }
.text-link-light:hover, .text-link-light:focus-visible { color: var(--green-300); }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* Logotyp */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo-svg { height: 30px; width: auto; display: block; transition: transform .4s var(--ease); }
.logo:hover .logo-svg { transform: translateY(-1px); }
.logo-light { --logo-ink: var(--paper); --logo-accent: var(--green-300); }

/* Sidhuvud */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h); background: rgba(250, 247, 242, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.is-solid { box-shadow: 0 10px 30px -24px rgba(1, 29, 39, .55); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 2rem; }
main { padding-top: var(--header-h); }
.main-nav { margin-left: auto; }
.main-nav-list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.main-nav-list > li > a, .nav-trigger { position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .85rem; border: 0; background: none; font: inherit; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 8px; transition: color .2s var(--ease), background-color .2s var(--ease); white-space: nowrap; }
.main-nav-list > li > a:hover, .nav-trigger:hover { background: var(--paper-2); color: var(--ink); }
.main-nav-list > li > a::after, .nav-trigger::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; background: var(--green-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav-list > li > a[aria-current="page"]::after, .has-sub.is-current .nav-trigger::after { transform: scaleX(1); }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.has-sub { position: relative; }
.has-sub.is-open .chev { transform: translateY(2px) rotate(225deg); }
.sub-menu { position: absolute; left: -12px; top: calc(100% + 10px); width: 360px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.sub-menu ul { list-style: none; display: grid; gap: 2px; }
.sub-menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease); }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--paper-2); }
.sub-menu a[aria-current="page"] { background: var(--green-100); }
.sub-title { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.sub-desc { font-size: .88rem; color: var(--muted); }
.has-sub.is-open .sub-menu, html:not(.js) .has-sub:hover .sub-menu, html:not(.js) .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s; }
.btn-header { min-height: 44px; padding: .55em 1.15em; font-size: .95rem; white-space: nowrap; }
.menu-toggle { display: none; }
.menu-panel { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .main-nav, .btn-header { display: none; }
  .logo-svg { height: 26px; }
  .menu-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 .5rem 0 1rem; border-radius: 999px; color: var(--ink); font-family: var(--font-head); font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease); }
  .menu-toggle:hover, .menu-toggle:active { color: var(--ink); background: var(--paper-2); }
  .menu-icon { position: relative; width: 22px; height: 14px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-icon::before { top: 2px; }
  .menu-icon::after { top: 10px; }
  .is-open .menu-icon::before { top: 6px; transform: rotate(45deg); }
  .is-open .menu-icon::after { top: 6px; transform: rotate(-45deg); }
  .menu-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; position: fixed; z-index: -1; left: 0; right: 0; top: 0; height: 100vh; height: 100dvh; padding: calc(var(--header-h) + 12px) var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--paper); overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .35s var(--ease); }
  .menu-panel[hidden] { display: none; }
  .is-open .menu-panel { opacity: 1; transform: none; }
  .menu-panel ul { list-style: none; }
  .menu-panel li { border-bottom: 1px solid var(--line); }
  .menu-panel a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; transition: color .2s; }
  .menu-panel a:not(.btn):active { color: var(--green-600); }
  .menu-panel a[aria-current="page"] { color: var(--green-600); }
  .menu-panel a[aria-current="page"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-600); }
  .menu-group { margin: 1.25rem 0 .25rem; font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--muted); }
  .menu-services a:not(.btn) { font-size: 1.15rem; font-weight: 700; min-height: 50px; padding-left: 1rem; }
  html.menu-locked { overflow: hidden; }
}

/* En fast kontaktknapp på mobil, bara när ingen annan kontaktknapp syns */
.mobile-cta { display: none; }
@media (max-width: 1023px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(250, 247, 242, 0), rgba(250, 247, 242, .94) 30%); transform: translateY(110%); transition: transform .3s var(--ease); pointer-events: none; }
  .mobile-cta.is-visible { transform: none; pointer-events: auto; }
  .mobile-cta .btn { min-height: 54px; box-shadow: 0 12px 28px -12px rgba(1, 29, 39, .5); }
}

/* Brödsmulor */
.crumbs { margin-bottom: 1.5rem; font-size: .92rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-600); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Öppning: erbjudandet och människan */
.opening { display: grid; background: var(--paper); }
.opening-copy { padding: clamp(36px, 7vw, 72px) var(--gutter) 40px; align-self: center; }
.kicker { font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--green-600); margin-bottom: 1.1rem; max-width: 34em; }
.opening-title { font-size: clamp(2.5rem, 5.2vw, 4.9rem); line-height: 1.1; letter-spacing: -.045em; color: var(--night); margin-bottom: .45em; text-wrap: initial; }
.opening-lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 33em; margin-bottom: 2rem; }
.opening-actions, .sub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.opening-portrait { position: relative; margin: 0; }
.opening-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.opening-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.opening-accent { position: absolute; width: clamp(56px, 6vw, 92px); height: auto; left: -1px; top: 16%; transform: translateX(-60%); --logo-accent: var(--green-600); pointer-events: none; }
.opening-portrait figcaption { padding: 14px var(--gutter) 0; font-size: .95rem; color: var(--muted); }
.opening-portrait figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
@media (max-width: 899px) {
  .opening-actions .btn { width: 100%; }
  .opening-accent { display: none; }
  .opening-frame { aspect-ratio: 1 / 1; }
}
@media (min-width: 900px) {
  .opening { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); min-height: clamp(540px, calc(100vh - var(--header-h) - 150px), 820px); min-height: clamp(540px, calc(100svh - var(--header-h) - 150px), 820px); }
  .opening-copy { padding: 56px clamp(40px, 5vw, 88px) 56px var(--edge); }
  .opening-frame { position: absolute; inset: 0; aspect-ratio: auto; }
  .opening-portrait figcaption { position: absolute; left: 0; bottom: 0; padding: 14px 22px; background: var(--paper); color: var(--muted); }
}

/* Tjänsteväljaren */
.services { background: var(--paper-2); padding: clamp(44px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.services-head { display: grid; gap: .5rem; margin-bottom: clamp(28px, 4vw, 44px); }
.services-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.035em; margin: 0; }
.services-head p { color: var(--muted); margin: 0; }
.chooser-q { margin: 0; font-size: inherit; }
.chooser-q button { position: relative; display: grid; gap: .2rem; width: 100%; padding: 20px 56px 20px 20px; text-align: left; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.chooser-q:last-of-type button { border-bottom: 1px solid var(--line); }
.chooser-q-text { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.02em; line-height: 1.25; }
.chooser-q-service { font-size: .9rem; color: var(--muted); }
.chooser-mark { position: absolute; left: 16px; top: 50%; width: 16px; height: auto; transform: translate(-6px, -50%) scale(.6); opacity: 0; --logo-accent: var(--green-600); transition: opacity .2s var(--ease), transform .25s var(--ease); }
.chooser-q button:hover { background: rgba(255, 255, 255, .55); }
.chooser-q button[aria-expanded="true"] { background: var(--white); }
.chooser-q button[aria-expanded="true"] .chooser-q-text { color: var(--green-700); }
.chooser-q button[aria-expanded="true"] .chooser-mark { opacity: 1; transform: translate(0, -50%); }
.chooser-q button::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.chooser-q button[aria-expanded="true"]::after { transform: translateY(-30%) rotate(225deg); }
.js .chooser.is-ready .chooser-q button { padding-left: 44px; }
.chooser-a { padding: 8px 20px 28px; background: var(--white); }
.chooser-a-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.035em; color: var(--night); margin-bottom: .4rem; }
.chooser-a-lead { font-size: clamp(1.08rem, 1.3vw, 1.2rem); color: var(--ink); }
.chooser-a p:not(.chooser-a-title):not(.chooser-a-lead):not(.chooser-example-label) { color: var(--muted); }
.chooser-example { margin: 1.5rem 0 1.75rem; border-top: 1px solid var(--line); }
.chooser-example-label { font-size: .88rem; color: var(--muted); margin: .9rem 0 .25rem; }
.chooser-example dl { margin: 0; }
.chooser-example dl > div { display: grid; gap: .15rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.chooser-example dt { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.chooser-example dd { margin: 0; color: var(--muted); }
html:not(.js) .chooser-a, .chooser:not(.is-ready) .chooser-a { margin-bottom: 12px; }
@media (max-width: 899px) {
  .js .chooser.is-ready .chooser-a:not(.is-open) { display: none; }
  .js .chooser.is-ready .chooser-a.is-open { animation: panelIn .3s var(--ease) both; }
}
@media (min-width: 900px) {
  .chooser-q button::after { display: none; }
  .chooser-q button { padding-right: 20px; }
  .js .chooser.is-ready { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(4, auto) 1fr; column-gap: clamp(32px, 4vw, 64px); }
  .js .chooser.is-ready .chooser-q { grid-column: 1; }
  .js .chooser.is-ready .chooser-q:nth-of-type(1) { grid-row: 1; }
  .js .chooser.is-ready .chooser-q:nth-of-type(2) { grid-row: 2; }
  .js .chooser.is-ready .chooser-q:nth-of-type(3) { grid-row: 3; }
  .js .chooser.is-ready .chooser-q:nth-of-type(4) { grid-row: 4; }
  .js .chooser.is-ready .chooser-a { grid-column: 2; grid-row: 1 / 6; align-self: start; padding: clamp(28px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: 4px; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .3s; }
  .js .chooser.is-ready .chooser-a.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s; }
  .chooser-example dl > div { grid-template-columns: 150px 1fr; gap: 1rem; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Bred bild */
.wide { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--paper); }
.wide-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.wide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.wide-tone { display: none; }
.wide-inner { padding-top: 36px; padding-bottom: 48px; }
.wide-copy h2 { color: var(--paper); font-size: clamp(1.9rem, 3.6vw, 3.25rem); letter-spacing: -.035em; line-height: 1.1; }
.wide-copy p { color: rgba(250, 247, 242, .88); font-size: 1.1rem; max-width: 30em; margin: 0; }
.wide-caption { position: absolute; left: 14px; top: 12px; margin: 0; font-size: .78rem; color: rgba(250, 247, 242, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
@media (min-width: 768px) {
  .wide { min-height: clamp(520px, 78vh, 800px); display: flex; align-items: flex-start; }
  .wide-media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
  .wide-tone { display: block; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 72% 95% at 92% 10%, rgba(1, 29, 39, .86) 0%, rgba(1, 29, 39, .55) 46%, rgba(1, 29, 39, 0) 82%); }
  .wide-inner { padding-top: clamp(64px, 10vh, 120px); padding-bottom: 64px; }
  .wide-copy { max-width: 520px; margin-left: auto; }
  .wide-caption { top: auto; bottom: 14px; left: 18px; }
}

/* Så arbetar vi */
.method { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.method-grid { display: grid; gap: 48px; }
.method-grid > * { min-width: 0; }
.report-unit { font-size: .85rem; color: var(--muted); margin: -.5rem 0 .5rem; }
.method h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.035em; margin-bottom: 1.5rem; }
.method-steps { list-style: none; border-top: 1px solid var(--line); }
.method-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--night); border: 2px solid var(--line); background: var(--paper); transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.method-step.is-active .method-n { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
html:not(.motion-ok) .method-n { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.method-step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.method-step p { color: var(--muted); margin: 0; }
.report { margin: 0; padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.report-flag { display: inline-block; margin-bottom: 1rem; padding: .3rem .7rem; border-radius: 999px; background: #FFF4CC; color: #4A3B00; font-size: .82rem; font-weight: 600; }
.report h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.025em; margin-bottom: 1rem; }
.report-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .98rem; }
.report-table th, .report-table td { padding: .7rem .4rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.report-table thead th { font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--muted); }
.report-table tbody th { text-align: left; font-family: var(--font-head); font-weight: 700; }
.report-table td span { display: block; font-size: .82rem; }
.report-total th, .report-total td { font-weight: 800; border-bottom: 2px solid var(--night); }
.report-table .up { color: var(--green-700); }
.report-table .up-bad, .report-table .down { color: var(--error); }
.report-bars { display: grid; gap: .55rem; margin: 1.25rem 0; }
.bar-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); }
.bar { height: 10px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--petrol-700); }
.bar-cost i { background: #C4614F; }
.report figcaption { color: var(--muted); font-size: .97rem; }
@media (max-width: 479px) {
  .report-table { font-size: .86rem; }
  .report-table th, .report-table td { padding: .6rem .2rem; }
  .bar-row { grid-template-columns: 64px 1fr 1fr; }
}
@media (min-width: 1000px) { .method-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); align-items: start; } }

/* Roller */
.roles { padding: clamp(64px, 8vw, 104px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.roles-head { display: grid; gap: .5rem; margin-bottom: 2rem; max-width: 760px; }
.roles-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.035em; margin: 0; }
.roles-head p { color: var(--muted); margin: 0; }
.roles-list { margin: 0; display: grid; gap: 0; }
.role { padding: 22px 0; border-top: 1px solid var(--line); }
.role dt { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: .3rem; }
.role dd { margin: 0; color: var(--muted); }
.role-main { border-top: 3px solid var(--green-600); }
.roles-more { margin: 1.5rem 0 0; }
@media (min-width: 860px) { .roles-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Vanliga frågor */
.faq { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper-2); }
.faq-compact { background: var(--paper); border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 28px; }
.faq-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.035em; }
.faq-head p { color: var(--muted); }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 96px; align-items: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.35rem 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink); transition: color .2s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-600); }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--night); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--night); border-color: var(--night); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--paper); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 3.5rem 1.4rem 0; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Avslutande kontakt */
.closing { background: var(--night); color: rgba(250, 247, 242, .82); padding: clamp(80px, 11vw, 150px) 0; }
.closing h2 { color: var(--paper); font-size: clamp(2.3rem, 5vw, 4.25rem); letter-spacing: -.04em; line-height: 1.1; max-width: 12em; }
.closing-text { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 34em; margin-bottom: 2.25rem; }

/* Tjänstespecifik kontakt längst ned på undersidor */
.contact-cta { background: var(--night); color: rgba(250, 247, 242, .82); padding: clamp(56px, 7vw, 88px) 0; }
.contact-cta-inner { display: grid; gap: 28px; align-items: center; }
.contact-cta h2 { color: var(--paper); font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.035em; margin-bottom: .4rem; }
.contact-cta p { margin: 0; }
.contact-cta-action { display: grid; gap: .6rem; justify-items: start; }
.contact-cta-note { font-size: .92rem; color: rgba(250, 247, 242, .7); }
@media (min-width: 900px) { .contact-cta-inner { grid-template-columns: 1fr auto; gap: 64px; } }

/* Undersidornas öppning: samma form, egen uppgift */
.sub-hero { display: grid; background: var(--paper); border-bottom: 1px solid var(--line); }
.sub-hero-copy { padding: clamp(28px, 6vw, 64px) var(--gutter) 40px; align-self: center; }
.page-title { font-size: clamp(2.3rem, 4.8vw, 4.25rem); line-height: 1.1; letter-spacing: -.045em; color: var(--night); margin-bottom: .45em; text-wrap: balance; }
.sub-lead { font-size: clamp(1.08rem, 1.35vw, 1.25rem); color: var(--muted); max-width: 33em; margin-bottom: 2rem; }
.sub-hero-media { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.sub-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-img-redovisning { object-position: 35% 50%; }
.sub-img-radgivning { object-position: 40% 50%; }
.sub-img-it { object-position: 62% 50%; }
.sub-img-juridik { object-position: 70% 50%; }
.sub-img-portrait { object-position: 50% 20%; }
.sub-hero-person .sub-hero-media { aspect-ratio: 4 / 5; }
.img-note { position: absolute; left: 12px; bottom: 10px; margin: 0; font-size: .78rem; color: rgba(250, 247, 242, .95); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.img-caption { position: absolute; left: 0; bottom: 0; padding: 12px 18px; background: var(--paper); font-size: .92rem; color: var(--muted); }
.img-caption strong { display: block; font-family: var(--font-head); color: var(--ink); }
@media (max-width: 899px) { .sub-actions .btn { width: 100%; } }
@media (min-width: 900px) {
  .sub-hero { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); min-height: clamp(480px, 64vh, 680px); }
  .sub-hero-copy { padding: 48px clamp(40px, 5vw, 88px) 48px var(--edge); }
  .sub-hero-media { aspect-ratio: auto; }
  .sub-hero-person { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); min-height: clamp(520px, 72vh, 760px); }
}

/* Innehållsblock på undersidor */
.text-block, .split-block { padding: clamp(64px, 8vw, 112px) 0; }
.text-block + .text-block:not(.text-block-tint), .split-block + .text-block:not(.text-block-tint) { border-top: 1px solid var(--line); }
.text-block-tint { background: var(--paper-2); }
.block-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.035em; margin-bottom: 1.5rem; }
.text-grid { display: grid; gap: 12px; }
.text-grid .block-title { margin-bottom: .5rem; }
@media (min-width: 1000px) { .text-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; } }
.def-list { margin: 0; border-top: 1px solid var(--line); }
.def-list > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.def-list dt { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: .25rem; }
.def-list dd { margin: 0; color: var(--muted); }
.q-list { border-top: 1px solid var(--line); }
.q-row { display: grid; gap: .4rem; padding: 26px 0; border-bottom: 1px solid var(--line); }
.q-row h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.03em; font-weight: 800; margin: 0; }
.q-row p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .q-row { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: baseline; padding: 32px 0; } }
.duo { display: grid; border: 1px solid var(--line); }
.duo-col { padding: clamp(26px, 4vw, 48px); background: var(--white); }
.duo-col-dark { background: var(--night); color: rgba(250, 247, 242, .86); }
.duo-col h3 { font-size: 1.45rem; margin-bottom: 1.15rem; }
.duo-col-dark h3 { color: var(--paper); }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.tick-list { list-style: none; display: grid; gap: .75rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23265A43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.tick-list-light li::before { background-color: rgba(125, 190, 152, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237DBE98' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.example-text p { font-size: 1.08rem; }
.program-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 1rem; }
.program-line p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand-mark { display: inline-flex; align-items: center; color: var(--ink); }
.brand-mark svg { display: block; height: 100%; width: auto; fill: currentColor; }
.brand-fortnox { height: 26px; }
.notice { padding: clamp(22px, 3vw, 36px); background: var(--green-100); border-left: 4px solid var(--green-600); }
.notice p:last-child { margin-bottom: 0; }

/* Kontaktsidan */
.contact-page { padding: clamp(36px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
.contact-grid { display: grid; gap: 32px; }
.contact-intro h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.1; letter-spacing: -.045em; }
.contact-intro .lead { color: var(--muted); }
.contact-subhead { font-size: 1.15rem; margin: 2rem 0 .8rem; }
.contact-more > .contact-subhead:first-child { margin-top: 0; }
.mini-steps { list-style: none; counter-reset: mini; border-top: 1px solid var(--line); }
.mini-steps li { counter-increment: mini; position: relative; padding: .9rem 0 .9rem 2.6rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.mini-steps li strong { color: var(--ink); }
.mini-steps li::before { content: counter(mini); position: absolute; left: 0; top: .95rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--night); color: var(--paper); font-family: var(--font-head); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.notice-small { padding: 20px 22px; margin-top: 2rem; }
.notice-small .contact-subhead { margin-top: 0; }
.contact-form-wrap { background: var(--white); border-radius: 14px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; grid-template-areas: "intro form" "more form"; gap: 0 88px; align-items: start; }
  .contact-intro { grid-area: intro; } .contact-more { grid-area: more; } .contact-form-wrap { grid-area: form; position: sticky; top: calc(var(--header-h) + 24px); }
}

.field { margin-bottom: 1.25rem; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .975rem; color: var(--ink); margin-bottom: .4rem; }
.req, .opt { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid #C6BCAC; border-radius: 12px; transition: border-color .2s, box-shadow .25s var(--ease), background-color .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--petrol-700); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--night); background: var(--white); box-shadow: 0 0 0 4px rgba(38, 90, 67, .22); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: rotate(45deg); pointer-events: none; }
.field select { padding-right: 2.75rem; cursor: pointer; }
.field-hint { font-size: .875rem; color: var(--muted); margin: .45rem 0 0; }
.field-error { font-size: .9rem; font-weight: 600; color: var(--error); margin: .45rem 0 0; display: none; }
.field-error:not(:empty) { display: flex; gap: .4rem; align-items: center; }
.field-error:not(:empty)::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .75rem; display: grid; place-items: center; }
.field [aria-invalid="true"] { border-color: var(--error); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .9rem; color: var(--muted); margin: .5rem 0 1.25rem; }
.form-status:empty { display: none; }
.form-status { padding: 1rem 1.15rem; border-radius: 12px; margin-bottom: 1.5rem; font-weight: 500; }
.form-status:focus { outline: none; }
.form-status.is-error { background: #FBEAE8; color: #7A231D; border-left: 4px solid var(--error); }
.form-status.is-success { background: var(--green-100); color: #173D2C; border-left: 4px solid var(--green-600); }
.form-status strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .2rem; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending [data-submit] { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done .field, .form-done .field-row, .form-done .form-privacy, .form-done [data-submit] { display: none; }

.form-status.is-info { background: #FFF4CC; color: #4A3B00; border-left: 4px solid #C9A227; }

/* Enkla sidor */
.page-plain { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.page-plain h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; }
.link-list { list-style: none; display: grid; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: .9rem 0; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.link-list a:hover { color: var(--green-600); }

/* Sidfot */
.site-footer { background: var(--petrol-900); color: rgba(250, 247, 242, .74); padding: 72px 0 32px; font-size: .975rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--green-300); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 56px; } }
.footer-brand .logo-svg { height: 32px; }
.footer-brand p { margin-top: 1.1rem; max-width: 320px; }
.footer-heading { color: var(--paper); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 1023px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* Rörelse: tre återkommande övergångar. Allt är synligt om animationer inte körs. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .intro-seq { animation: seqIn .45s var(--ease) both; }
  .opening-copy > .intro-seq:nth-child(2), .sub-hero-copy > .intro-seq:nth-of-type(1) { animation-delay: .06s; }
  .opening-copy > .intro-seq:nth-child(3), .sub-hero-copy > .intro-seq:nth-of-type(2) { animation-delay: .12s; }
  .opening-copy > .intro-seq:nth-child(4), .sub-hero-copy > .intro-seq:nth-of-type(3) { animation-delay: .18s; }
  .contact-intro > .intro-seq:nth-of-type(2) { animation-delay: .08s; }
  .intro-portrait { animation: portraitIn .5s .1s var(--ease) both; }
  .faq-item[open] .faq-answer { animation: seqIn .3s var(--ease) both; }
  @keyframes seqIn { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
  @keyframes portraitIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
  @media (min-width: 1024px) and (hover: hover) {
    .wide-media[data-parallax] { inset: -32px 0; will-change: transform; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Förhandsvisningsbanner (finns bara i förhandsvisningsfilen) */
.pv-banner { pointer-events: none; position: fixed; z-index: 300; left: 12px; bottom: 12px; background: #FFF4CC; color: #4A3B00; border: 1px solid #E6CF74; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); }
@media (max-width: 1023px) { .pv-banner { bottom: auto; top: calc(var(--header-h) + 8px); left: auto; right: 12px; } }

@media print {
  .site-header, .mobile-cta, .wide-media { display: none !important; }
  main { padding-top: 0; }
}
