/* Skarpgruppen Bygg — designsystem "Den röda balken" (Local Trust premium, mockup-trogen)
   Blått bär, rött pekar (L2) · vågor vid utvalda sektioner (L1) · generös luft (L5). */

@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy-900: #0a1a3f;
  --navy-800: #11295c;
  --blue: #023296;
  --blue-600: #1243b0;
  --red: #9e1b1b;
  --red-800: #800000;
  --red-500: #b3191f;
  --ink: #16213b;
  --slate: #4b566b;
  --ice: #eef3fa;
  --paper: #f6f8fb;
  --line: #dbe3ee;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(10, 26, 63, .35), 0 2px 6px -2px rgba(10, 26, 63, .08);
  --shadow-lift: 0 26px 50px -24px rgba(10, 26, 63, .45), 0 4px 10px -4px rgba(10, 26, 63, .12);
  --container: 1200px;
  --gutter: 20px;
  --sec: 60px;
  --header: 72px;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --sec: 80px; } }
@media (min-width: 1100px) { :root { --sec: 104px; --header: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1100px) { body { font-size: 1.09375rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; font-weight: 750; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.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; }
.icon { width: 24px; height: 24px; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--sec) 0; }
.section--ice { background: var(--ice); }
.section--paper { background: var(--paper); }
.measure { max-width: 62ch; }

/* Eyebrow med röd balklinje (signaturen) */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-display); font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; flex: none; }
.on-dark .eyebrow, .eyebrow--light { color: #dbe5f7; }
.on-dark .eyebrow::before { background: #e0464c; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--slate); }

/* Knappar */
.btn { --b: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 10px; border: 2px solid var(--b); background: var(--b); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .005em; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 10px 22px -14px rgba(128, 0, 0, .8); }
.btn:hover { --b: var(--red-800); color: #fff; }
.btn:active { transform: scale(.98); }
.btn .arrow { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover .arrow, a:hover > .arrow, .card-link:hover .arrow { transform: translateX(4px); }
.btn--outline { background: transparent; color: var(--red); box-shadow: none; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost { --b: rgba(255, 255, 255, .85); background: transparent; color: #fff; box-shadow: none; }
.btn--ghost:hover { --b: #fff; background: #fff; color: var(--navy-900); }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--red); text-decoration: none; }
.text-link .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--red-800); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 26, 63, .35); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header); transition: height .25s var(--ease); }
@media (min-width: 1100px) { .site-header.is-scrolled .header-inner { height: 68px; } }
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 36px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 44px; } .site-header.is-scrolled .brand img { height: 38px; } .brand img { transition: height .25s var(--ease); } }
.main-nav { display: none; }
.header-cta { display: none; }
.header-mobile-cta { display: inline-flex; min-height: 42px; padding: 8px 14px; font-size: .9rem; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (min-width: 1100px) {
  .menu-toggle, .header-mobile-cta { display: none; }
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .main-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .main-nav a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-family: var(--font-display); font-weight: 650; font-size: .98rem; color: var(--navy-900); text-decoration: none; border-radius: 8px; }
  .main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current="page"]::after, .main-nav > ul > li.is-section > a::after { transform: scaleX(1); }
  .main-nav a:hover { color: var(--blue); }
  .main-nav .chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
  .has-sub { position: relative; }
  .has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
  .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sub a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; font-weight: 600; }
  .sub a .icon { width: 22px; height: 22px; color: var(--red); }
  .sub a:hover { background: var(--ice); color: var(--navy-900); }
}

/* Mobilmeny */
.mobile-nav { position: fixed; inset: var(--header) 0 0 0; z-index: 99; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 40px; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; min-height: 54px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--red); }
.m-group { display: flex; align-items: center; justify-content: space-between; }
.m-group a { flex: 1; }
.m-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy-900); cursor: pointer; }
.m-sub-toggle .icon { transition: transform .2s var(--ease); }
.m-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-sub { padding: 0 0 10px 14px; }
.m-sub[hidden] { display: none; }
.m-sub a { min-height: 48px; font-size: 1.02rem; font-weight: 600; gap: 12px; }
.m-sub a .icon { color: var(--red); width: 22px; height: 22px; }
.mobile-nav .m-actions { display: grid; gap: 12px; margin-top: 24px; }
.mobile-nav .m-actions .btn { width: 100%; color: #fff; font-size: 1.05rem; justify-content: center; }
.mobile-nav .m-actions .btn:hover { color: #fff; }
.m-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 2px solid var(--line); border-radius: 10px; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); text-decoration: none; }
.m-phone .icon { color: var(--red); }
body.menu-open { overflow: hidden; }

/* ---------- Vågor ---------- */
.wave { position: absolute; left: 0; width: 100%; pointer-events: none; display: block; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave--bottom { bottom: -1px; height: clamp(46px, 7vw, 110px); }
.wave--top { top: -1px; height: clamp(40px, 6vw, 92px); transform: scaleY(-1); }
.wave .crest { fill: none; stroke: var(--red); stroke-width: 3; vector-effect: non-scaling-stroke; }
.wave-drift { position: absolute; inset: 0; overflow: hidden; }
.wave-drift svg { width: 200%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .wave-drift svg { animation: drift 40s linear infinite; }
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; min-height: min(86svh, 760px); display: flex; align-items: center; padding: 72px 0 calc(clamp(46px, 7vw, 110px) + 56px); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 63, .42) 0%, rgba(10, 26, 63, .74) 58%, rgba(10, 26, 63, .9) 100%); }
@media (min-width: 900px) { .hero-media::after { background: linear-gradient(90deg, rgba(10, 26, 63, .96) 0%, rgba(10, 26, 63, .86) 32%, rgba(10, 26, 63, .35) 62%, rgba(10, 26, 63, .05) 100%), linear-gradient(180deg, rgba(10, 26, 63, .25), transparent 30%); } }
.hero-content { position: relative; max-width: 640px; }
@media (min-width: 900px) { .hero .hero-content { max-width: 760px; } }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.75rem); line-height: 1.03; margin-bottom: 22px; }
.hero .lead { color: #dfe7f5; max-width: 54ch; margin-bottom: 30px; }
.hero .eyebrow { color: #dbe5f7; }
.hero .eyebrow::before { background: #e0464c; }
/* Diskret välkomstrad ovanför eyebrow + H1 (revision 2026-11-19) — ingen rubrik, ingen accentlinje */
.hero-welcome { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); font-weight: 600; letter-spacing: .005em; line-height: 1.35; color: #dbe5f7; }
@media (max-width: 520px) { .hero .btn-row .btn { width: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { animation: heroIn 1.6s var(--ease) both; }
}
@keyframes heroIn { from { transform: scale(1.06); } to { transform: none; } }
.hero .wave .back { fill: var(--blue); opacity: .9; }
.hero .wave .front { fill: #fff; }

/* Undersidors hero (C14) */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; padding: 48px 0 calc(clamp(46px, 7vw, 110px) + 40px); }
@media (min-width: 900px) { .page-hero { min-height: 470px; display: flex; align-items: center; } }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 1.3rem + 3.2vw, 3.35rem); margin-bottom: 16px; }
.page-hero .lead { color: #dfe7f5; max-width: 58ch; margin-bottom: 26px; }
.page-hero .hero-content { max-width: 700px; }
.page-hero .eyebrow { color: #dbe5f7; }
.page-hero .eyebrow::before { background: #e0464c; }
.page-hero--plain { background: var(--paper); color: var(--ink); padding-bottom: calc(clamp(40px, 6vw, 90px) + 24px); min-height: 0; }
.page-hero--plain h1 { color: var(--navy-900); }
.page-hero--plain .lead { color: var(--slate); }
.page-hero--plain .eyebrow { color: var(--navy-800); }
.page-hero--plain .eyebrow::before { background: var(--red); }
.page-hero--plain .wave .front { fill: #fff; }
.page-hero .wave .back { fill: var(--blue); opacity: .9; }
.page-hero .wave .front { fill: #fff; }
.page-hero--plain .wave .back { fill: var(--ice); opacity: 1; }
.breadcrumbs { margin: 0 0 18px; font-size: .92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: #c7d3ea; }
.breadcrumbs li + li::before { content: "/"; opacity: .6; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }
.page-hero--plain .breadcrumbs li { color: var(--slate); }
.page-hero--plain .breadcrumbs a { color: var(--blue); }

/* ---------- Styrkeband (C3) ---------- */
.strengths { position: relative; padding: 18px 0 var(--sec); background: #fff; }
.strength-grid { display: grid; gap: 22px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) { .strength-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strength-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } .strength-grid li + li { border-left: 1px solid var(--line); } .strength-grid li { padding: 0 26px; } .strength-grid li:first-child { padding-left: 0; } }
.strength { display: flex; gap: 16px; align-items: flex-start; }
.strength .icon { width: 34px; height: 34px; color: var(--red); margin-top: 2px; }
.strength strong { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--navy-900); line-height: 1.25; }
.strength span { display: block; font-size: .96rem; color: var(--slate); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 4px 12px; text-align: center; font-family: var(--font-display); font-weight: 750; font-size: clamp(1rem, .9rem + .5vw, 1.32rem); color: var(--navy-900); letter-spacing: -.01em; line-height: 1.25; }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts li { border-right: 1px solid var(--line); } .facts li:last-child { border-right: 0; } }

/* ---------- Rubrikrader ---------- */
.split-head { display: grid; gap: 28px; }
@media (min-width: 1000px) { .split-head { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; } }
.split-head .intro p { color: var(--slate); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--slate); }

/* ---------- Tjänstekort (C4) ---------- */
.card-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 700px) and (max-width: 999px) { .card-grid--3 .card-body { padding: 32px 18px 20px; } .card-grid--3 .icon-badge { left: 18px; } }
.card-link { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) { .card-link:hover .card-media img { transform: scale(1.05); } }
.card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 24px 24px; }
.icon-badge { position: absolute; top: -26px; left: 24px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #fff; color: var(--red); box-shadow: 0 10px 24px -12px rgba(10, 26, 63, .5); }
.icon-badge .icon { width: 28px; height: 28px; }
.card-body h3 { margin-bottom: 8px; font-size: 1.28rem; }
.card-body p { color: var(--slate); font-size: .98rem; margin-bottom: 18px; }
.card-body .text-link { margin-top: auto; }
.card-link:focus-visible { outline-offset: 4px; }

/* ---------- Om-split (C5) ---------- */
.about { position: relative; background: #fff; }
.about-grid { display: grid; gap: 34px; }
.about-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .mask { position: absolute; top: -1px; right: -1px; height: calc(100% + 2px); width: 72px; display: none; }
.about-media .mask path { fill: #fff; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }
.checklist .icon { color: var(--red); width: 26px; height: 26px; }
.checklist--light li { color: #fff; }
.checklist--light .icon { color: #ff6b6f; }
.checklist--plain li { font-family: var(--font-body); font-weight: 500; color: var(--ink); align-items: flex-start; }
.checklist--plain .icon { width: 22px; height: 22px; margin-top: 3px; }
@media (min-width: 1000px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2.6fr); gap: 48px; align-items: center; }
  .about-bleed { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
  .about-bleed.about-media { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 440px; }
  .about-media .mask { display: block; }
  .about-checks { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ---------- Process (C6) ---------- */
.steps { position: relative; display: grid; gap: 26px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; align-content: start; }
.step-node { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--navy-800); box-shadow: 0 12px 28px -14px rgba(10, 26, 63, .55); border: 1px solid var(--line); }
.step-node .icon { width: 28px; height: 28px; }
.step h3 { font-size: 1.12rem; margin: 6px 0 6px; }
.step h3 .num { color: var(--red); margin-right: 4px; }
.step p { color: var(--slate); font-size: .97rem; margin: 0; }
.steps::before { content: ""; position: absolute; left: 31px; top: 16px; bottom: 16px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.steps-curve { display: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 28px; padding-top: 6px; }
  .steps::before { display: none; }
  .step { grid-template-columns: 1fr; justify-items: start; text-align: left; }
  .steps-curve { display: block; position: absolute; left: 32px; top: 0; width: calc(100% - 64px); height: 70px; pointer-events: none; }
  .steps-curve path { fill: none; stroke: #b9c6dc; stroke-width: 2; }
}
.process-wrap { display: grid; gap: 40px; }
@media (min-width: 1100px) { .process-wrap { grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); gap: 56px; align-items: start; } }
.steps--line .step-node { color: var(--red); }

/* ---------- Bildbrickor (C7) ---------- */
/* ---------- Ikonrad (C8) ---------- */
.why-grid { display: grid; gap: 30px; }
.icon-row { display: grid; gap: 26px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .icon-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .why-grid { gap: 40px; }
  .icon-row { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .icon-row li { padding: 4px 24px; }
  .icon-row li + li { border-left: 1px solid var(--line); }
}
.icon-row .icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 12px; }
.icon-row h3 { font-size: 1.08rem; margin-bottom: 6px; }
.icon-row p { color: var(--slate); font-size: .96rem; margin: 0; }

/* ---------- Navy-band (C9) ---------- */
.band { position: relative; background: var(--navy-900); color: #dfe7f5; padding: calc(var(--sec) + clamp(8px, 2vw, 24px)) 0; margin: clamp(40px, 6vw, 92px) 0; }
.band .wave--top { top: auto; bottom: calc(100% - 1px); transform: none; }
.band .wave--bottom { bottom: auto; top: calc(100% - 1px); transform: scaleY(-1); }
.band .wave .front { fill: var(--navy-900); }
.band .wave .crest { stroke: #c4262c; }
.band .wave--top, .final-cta .wave--top { height: calc(clamp(40px, 6vw, 92px) + 2px); }
.final-cta .wave--crest { display: none; }
/* Vågens raka kant (mot navy-ytan) lämnas utan bakgrund så att ingen ljus hårlinje kan antialiaseras fram (kritik CR6) */
.wave[style*="--wbg"] { background: linear-gradient(to top, transparent 4px, var(--wbg) 4px); }
.band h2, .band h3 { color: #fff; }
.band p { color: #dfe7f5; }
.band a:not(.btn) { color: #fff; }
.band-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .band-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; } }
.info-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
.info-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .6); }
.info-card h3 { color: var(--navy-900); font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 .icon { color: var(--red); width: 26px; height: 26px; }
.info-card p { color: var(--slate); margin: 0; font-size: .98rem; }
.band .statement { max-width: 860px; }
.band .statement h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.band .statement p:not(.eyebrow) { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); }
.band--plain { margin: 0; }

/* ---------- Område (C10) ---------- */
.area-grid { display: grid; gap: 30px; align-items: center; }
.area-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.area-media img { width: 100%; height: 100%; object-fit: cover; }
.area-media .mask { position: absolute; top: -1px; right: -1px; height: calc(100% + 2px); width: 64px; display: none; }
.area-media .mask path { fill: #fff; }
.section--ice .area-media .mask path { fill: var(--ice); }
.credit { margin: 8px 0 0; font-size: .78rem; color: var(--slate); }
.credit a { color: var(--slate); }
.area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; list-style: none; margin: 0; padding: 0; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); }
.area-list .icon { color: var(--red); width: 20px; height: 20px; }
.area-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.area-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.area-head .pin { flex: none; display: inline-flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--red); box-shadow: 0 12px 28px -14px rgba(10, 26, 63, .5); }
@media (min-width: 1000px) {
  .area-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4.4fr) minmax(0, 2.8fr); gap: 44px; }
  .area-bleed { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
  .area-bleed .area-media { border-radius: 0; aspect-ratio: 16 / 11; }
  .area-media .mask { display: block; }
  .area-list { grid-template-columns: 1fr; padding-left: 28px; border-left: 1px solid var(--line); }
}

/* ---------- FAQ (C11) ---------- */
.faq-grid { display: grid; gap: 30px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 56px; align-items: start; } .faq-grid .faq-intro { position: sticky; top: calc(var(--header) + 32px); } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item[open] { border-color: #c8d3e6; box-shadow: var(--shadow); border-left: 4px solid var(--red); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; min-height: 60px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--navy-900); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary .icon { color: var(--navy-800); transition: transform .22s var(--ease); flex: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.faq-answer { padding: 0 22px 20px; color: var(--ink); }
.faq-answer p { margin: 0; color: var(--slate); }

/* ---------- Slut-CTA (C12) ---------- */
.final-cta { --wave-h: calc(clamp(40px, 6vw, 92px) + 2px); position: relative; background: var(--navy-900); color: #dfe7f5; padding: calc(var(--sec) + 10px) 0 calc(var(--sec) + clamp(34px, 5vw, 76px)); margin-top: clamp(40px, 6vw, 92px); }
.final-cta .wave--footer { bottom: -1px; height: clamp(34px, 5vw, 76px); z-index: 2; }
.final-cta .wave--footer .front { fill: var(--paper); }
.final-cta .wave--footer .crest { stroke: #c4262c; }
.final-cta .wave--top { top: auto; bottom: calc(100% - 1px); transform: none; }
.final-cta-wrap { position: relative; }
.final-cta .wave--top .front { fill: var(--navy-900); }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.1rem); }
.final-cta p { color: #dfe7f5; max-width: 52ch; }
.final-grid { position: relative; z-index: 1; display: grid; gap: 32px; }
.final-cta .bar { display: block; width: 44px; height: 4px; background: #e0464c; border-radius: 2px; margin-bottom: 22px; }
.final-media { display: none; }
@media (min-width: 1000px) {
  .final-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 44px; align-items: center; max-width: 70%; }
  .final-media { display: block; position: absolute; top: 0; bottom: 0; right: 0; width: 30%; overflow: hidden; }
  .final-media img { width: 100%; height: 100%; object-fit: cover; }
  .final-media .mask { position: absolute; left: -1px; top: 0; height: 100%; width: 90px; }
  .final-media .mask path { fill: var(--navy-900); }
  /* CR13: bilden når upp under den övre vågen och klipps av samma vågkurva; kammen ritas ovanpå */
  @supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
    .final-cta .final-media {
      top: calc(1px - var(--wave-h)); z-index: 1;
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,10 620,0 900,30 C1140,56 1300,70 1440,52 L1440,100 L0,100 Z'/%3E%3C/svg%3E") right top / 333.334% var(--wave-h) no-repeat, linear-gradient(#000 0 0) left bottom / 100% calc(100% - var(--wave-h) + 4px) no-repeat;
              mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,10 620,0 900,30 C1140,56 1300,70 1440,52 L1440,100 L0,100 Z'/%3E%3C/svg%3E") right top / 333.334% var(--wave-h) no-repeat, linear-gradient(#000 0 0) left bottom / 100% calc(100% - var(--wave-h) + 4px) no-repeat;
    }
    .final-cta .wave--crest { display: block; z-index: 2; }
  }
}

/* ---------- Tjänstehubb ---------- */
.svc-rows { display: grid; gap: clamp(48px, 7vw, 88px); }
.svc-row { display: grid; gap: 26px; align-items: center; }
.svc-row-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.35rem); }
.svc-row .checklist { margin: 4px 0 24px; }
@media (min-width: 1000px) { .svc-row { grid-template-columns: 1fr 1fr; gap: 64px; } .svc-row:nth-child(even) .svc-row-media { order: 2; } }
.plain-cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .plain-cards { grid-template-columns: repeat(2, 1fr); } }
.plain-card { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.plain-card .badge { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ice); color: var(--red); margin-bottom: 18px; }
.plain-card .badge .icon { width: 28px; height: 28px; }
.plain-card p { color: var(--slate); margin: 0; }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease), padding .2s var(--ease); }
.guide-list .sit { font-weight: 500; color: var(--slate); }
.guide-list .svc { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 750; color: var(--navy-900); }
.guide-list .svc .arrow { width: 18px; height: 18px; color: var(--red); transition: transform .25s var(--ease); }
.guide-list a:hover { background: var(--ice); padding-left: 14px; }
.guide-list a:hover .arrow { transform: translateX(4px); }
@media (min-width: 760px) { .guide-list a { grid-template-columns: 1.2fr 1fr; align-items: center; } }

/* ---------- Tjänstesidor ---------- */
.intro-grid { display: grid; gap: 34px; align-items: center; }
.intro-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 5px; background: var(--red); }
.intro-copy p { color: var(--slate); }
.intro-copy h3 { font-size: 1rem; margin: 24px 0 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-800); }
@media (min-width: 1000px) { .intro-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } .intro-grid--rev .intro-media { order: -1; } }
.intro-duo { display: grid; gap: 0 32px; }
.intro-duo h3 { margin-top: 22px; }
@media (min-width: 640px) { .intro-duo { grid-template-columns: 1fr 1fr; } .intro-duo h3 { min-height: 2.6em; display: flex; align-items: flex-end; } }
.intro-copy .intro-after { margin: 22px 0 8px; }
.type-grid { display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 22px 22px; box-shadow: 0 10px 28px -20px rgba(10, 26, 63, .4); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.type:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.type .badge { flex: none; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 10px; background: var(--ice); color: var(--red); }
.type h3 { font-size: 1.08rem; margin-bottom: 4px; }
.type p { margin: 0; color: var(--slate); font-size: .96rem; }
.group-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .group-grid { grid-template-columns: repeat(3, 1fr); } }
.group { background: #fff; border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.group::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 28%, var(--blue) 28% 100%); }
.group .badge { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ice); color: var(--red); margin-bottom: 16px; }
.group .badge .icon { width: 28px; height: 28px; }
.group h3 { margin-bottom: 14px; }
.compare-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.compare-media { aspect-ratio: 16 / 9; overflow: hidden; }
.compare-media img { width: 100%; height: 100%; object-fit: cover; }
.compare-body { padding: 28px 26px 30px; }
.compare-body p { color: var(--slate); }
.compare-label { display: inline-block; font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

/* ---------- Vanliga uppdrag (C15, startsidan) ---------- */
.jobs-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.jobs-head h2 { margin-bottom: 0; }
.jobs-head > p { color: var(--slate); margin: 0; max-width: 56ch; }
@media (min-width: 1000px) { .jobs-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: end; } }
.jobs-board { display: grid; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.job-col { position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; }
.job-col::before { content: ""; position: absolute; top: -1px; left: 26px; width: 44px; height: 4px; background: var(--red); border-radius: 0 0 2px 2px; }
.job-col + .job-col { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .jobs-board { grid-template-columns: repeat(var(--cols, 3), 1fr); } .job-col { padding: 36px 32px 32px; } .job-col::before { left: 32px; } .job-col + .job-col { border-top: 0; border-left: 1px solid var(--line); } }
.job-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.job-top h3 { margin: 0; font-size: 1.3rem; }
.job-top .badge { flex: none; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ice); color: var(--red); }
.job-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.job-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.job-list li:last-child { border-bottom: 0; }
.job-list .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--red); }

/* ---------- Om oss: berättelse + kontaktkort, kundgrupper ---------- */
@media (min-width: 1000px) { .story-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: 72px; align-items: start; } }
.person.person--stack { grid-template-columns: 1fr; align-items: start; gap: 0; border-top: 4px solid var(--red); }
.person--stack .role { margin-bottom: 12px; }
.person--stack .person-links { margin-top: 6px; }
.person--stack .badge { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ice); color: var(--red); margin-bottom: 18px; }
.person--stack .badge .icon { width: 28px; height: 28px; }
.person--stack .person-links { flex-direction: column; gap: 10px; margin-bottom: 22px; }
.person--stack .btn { justify-self: start; }
.cust-grid { display: grid; gap: 20px; }
@media (min-width: 760px) and (max-width: 999px) { .cust-grid { grid-template-columns: repeat(2, 1fr); } .cust:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .cust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cust { background: #fff; border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cust .badge { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy-900); color: #fff; margin-bottom: 18px; }
.cust .badge .icon { width: 26px; height: 26px; }
.cust h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cust > p { color: var(--slate); margin-bottom: 18px; }
.cust .checklist { gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.band-aside { border-radius: var(--radius); padding: 28px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.band-aside .pin { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--red); margin-bottom: 14px; }
.band-aside h3 { font-size: 1.2rem; margin-bottom: 8px; }
.band .band-grid .statement h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.7rem); }

/* ---------- Kontakt ---------- */
.contact-cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.contact-card .badge { flex: none; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--red); color: #fff; }
.contact-card strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.contact-card span { display: block; color: var(--slate); overflow-wrap: anywhere; }
.form-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .form-grid { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 56px; align-items: start; } }
.form-card { background: #fff; border-radius: 16px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-lift); border: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 20px); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card .req-note { font-size: .9rem; color: var(--slate); margin-bottom: 22px; }
.lead-form { display: grid; gap: 18px; }
.f-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } }
.f { display: grid; gap: 6px; }
.f label, .consent-label { font-weight: 600; font-size: .96rem; color: var(--navy-900); }
.f label .req { color: var(--red); }
.f input, .f select, .f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c5d0e2; border-radius: 10px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2311295c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.f textarea { min-height: 140px; resize: vertical; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: #9fb0cf; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2, 50, 150, .14); }
.f [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(158, 27, 27, .1); }
.field-error { min-height: 0; font-size: .88rem; color: var(--red); font-weight: 600; }
.field-error:empty { display: none; }
.consent-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.5; }
.consent-label input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.lead-form button[type="submit"] { width: 100%; }
@media (min-width: 640px) { .lead-form button[type="submit"] { width: auto; justify-self: start; } }
.lead-form [data-sending="true"] { opacity: .7; cursor: progress; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status--ok { background: #e7f4ec; color: #14532d; border: 1px solid #a7d7b8; }
.form-status--error { background: #fdecec; color: #7f1414; border: 1px solid #f1b5b5; }
.form-status--info { background: var(--ice); color: var(--navy-900); border: 1px solid var(--line); }
.form-aside p { color: var(--slate); }
.tips { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.tips li { display: flex; gap: 10px; align-items: flex-start; }
.tips .icon { color: var(--red); width: 22px; height: 22px; margin-top: 3px; flex: none; }
.note { padding: 16px 18px; border-radius: 12px; background: var(--ice); border-left: 4px solid var(--blue); font-size: .97rem; }
.person { display: grid; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
@media (min-width: 900px) { .person { grid-template-columns: 1fr auto; } }
.person h3 { font-size: 1.6rem; margin-bottom: 2px; }
.person .role { color: var(--slate); margin-bottom: 14px; }
.person-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.person-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.person-links .icon { color: var(--red); width: 22px; height: 22px; }
.inline-areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.inline-areas li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.inline-areas .icon { width: 18px; height: 18px; color: var(--red); }

/* ---------- Lokal SEO: områdeshubb, områdessidor, områdeslänkar (kontraktskomplettering 2026-11-18) ---------- */
.section--tight { padding-top: calc(var(--sec) * .6); padding-bottom: calc(var(--sec) * .6); }
.inline-areas--links { margin: 0; align-content: start; }
.inline-areas--links li { padding: 0; border: 0; background: none; }
.inline-areas--links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy-900); text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.inline-areas--links a:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.inline-areas--links a.all { color: var(--red); }
.inline-areas--links a .arrow { width: 16px; height: 16px; }
.area-list--links a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 32px; }
.area-list--links a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.area-list--parts { grid-template-columns: 1fr; }
.area-list--parts li { align-items: flex-start; }
.area-list--parts .icon { margin-top: 2px; flex: none; }
.parts-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-800); margin: 0 0 16px; }
.local-grid { display: grid; gap: 30px; align-items: start; }
@media (min-width: 1000px) { .local-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; } }
.parts-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.parts-card .badge { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ice); color: var(--red); margin-bottom: 14px; }
.parts-card .badge .icon { width: 26px; height: 26px; }
.parts-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-800); margin-bottom: 16px; }
.parts-card .area-list { padding-left: 0; border-left: 0; }
.area-cards { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .area-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .area-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } .area-card { padding: 26px 22px 24px; } .area-card h3 { font-size: 1.3rem; } }
.area-cards > li { display: flex; }
.area-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #c9d3e6; color: inherit; }
.area-card:focus-visible { outline-offset: 4px; }
.area-card .badge { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ice); color: var(--red); margin-bottom: 16px; }
.area-card .badge .icon { width: 26px; height: 26px; }
.area-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.area-card p { color: var(--slate); margin: 0 0 12px; }
.area-card .parts { font-size: .9rem; color: var(--navy-800); font-weight: 600; margin-bottom: 20px; }
.area-card .text-link { margin-top: auto; display: block; }
.area-card .text-link .arrow { display: inline-block; vertical-align: -3px; margin-left: 6px; }
.group--local { border: 1px solid var(--line); }
.group--local::before { display: none; }
.nowrap { white-space: nowrap; }
.band .info-card .text-link { color: var(--red); }
.band .info-card .text-link:hover { color: var(--red-800); }
.info-card .info-link { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .inline-areas--links a:hover, .area-card:hover { transform: none; } }

/* ---------- Policy ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink); }

/* ---------- Sidfot (C13) ---------- */
.site-footer { position: relative; background: var(--paper); padding: calc(var(--sec) * .9) 0 0; margin-top: clamp(40px, 6vw, 80px); color: var(--ink); }
.site-footer .wave--top { top: auto; bottom: calc(100% - 1px); transform: none; height: clamp(30px, 4vw, 60px); }
.site-footer .wave .front { fill: var(--paper); }
.site-footer--after-cta { margin-top: 0; padding-top: calc(var(--sec) * .6); }
.footer-grid { display: grid; gap: 34px; padding-bottom: 44px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 2fr 1fr 1.7fr 1fr 1.5fr; gap: 32px; } }
/* Områden: åtta orter + hubblänk i två delkolumner, så att kolumnen inte blir en lång lista */
.site-footer .footer-areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.site-footer .footer-areas li:last-child { grid-column: 1 / -1; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--slate); max-width: 34ch; font-size: .97rem; }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--navy-800); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--red); width: 20px; height: 20px; margin-top: 3px; flex: none; }
.footer-contact .btn { margin-top: 10px; color: #fff; text-decoration: none; }
.footer-contact .btn:hover { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); }
.footer-bottom a { color: var(--slate); }

/* Eyebrows behåller navy-tonen även där sektionens brödtext är slate */
.section-head .eyebrow, .split-head .intro .eyebrow, .form-aside .eyebrow, .intro-copy .eyebrow, .jobs-head .eyebrow { color: var(--navy-800); }

/* ---------- Motion (skill motion-quality): engångs-reveal, gate i <head> ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .steps-curve path.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
  .js .is-visible .steps-curve path.draw { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; }
}

/* 404 */
.notfound { text-align: left; }
