/* Economica Bokföring — designsystem "Referensen" (visual-direction L1–L7, komponenter C1–C17).
   Godkänd referensmockup: varm elfenben/sand, dämpad djupgrön, brons-accent, EB Garamond + Inter Tight. */

@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/eb-garamond-var.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-tight-var.woff2') format('woff2'); }

:root {
  --green: #2F3E34;
  --green-2: #3D4F42;
  --green-deep: #243128;
  --green-text: #46604E;
  --bronze: #8A6B43;
  --bronze-soft: #C8AC7E;
  --paper: #FCFAF7;
  --ivory: #F8F4EE;
  --sand: #EEE8DF;
  --sand-2: #E3DBCF;
  --white: #FFFFFF;
  --text: #1F211D;
  --muted: #555B53;
  --line: #E4DDD2;
  --on-ink: #F3EFE7;
  --on-ink-muted: #CCD3CB;
  --serif: 'EB Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1260px;
  --gutter: 20px;
  --r-lg: 16px;
  --r-md: 10px;
  --r-sm: 6px;
  --shadow: 0 14px 34px -22px rgba(36, 49, 40, .38);
  --shadow-soft: 0 6px 22px -14px rgba(36, 49, 40, .28);
  --sec: clamp(64px, 7vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 450; color: var(--text); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.15rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1.1; }
h3 { font-size: clamp(1.35rem, 1.2rem + .4vw, 1.55rem); line-height: 1.2; }
h1 em, h2 em, h3 em, .h1-accent { font-style: normal; color: var(--green-text); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--on-ink); }
.on-ink h2 em { color: var(--bronze-soft); }
strong { font-weight: 600; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--white); padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--bronze-soft); }
.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.18rem); line-height: 1.6; color: var(--muted); }
.on-ink p { color: var(--on-ink-muted); }

/* ---------- eyebrow (C3) ---------- */
.eyebrow { margin: 0 0 14px; color: var(--text); font-size: .74rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; line-height: 1.4; }
.on-ink .eyebrow { color: var(--on-ink-muted); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent; font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(3px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-2); }
.btn--line { background: transparent; color: var(--text); border-color: var(--text); }
.btn--line:hover { background: var(--text); color: var(--paper); }
.btn--cream { background: var(--paper); color: var(--green-deep); }
.btn--cream:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--on-ink); border-color: rgba(243, 239, 231, .6); }
.btn--ghost:hover { background: rgba(243, 239, 231, .1); border-color: var(--on-ink); }
.btn:active { transform: translateY(1px); }
.arrowlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: none; }
.arrowlink svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.arrowlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrowlink:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ikoncirklar — en ikonfamilj, brons linje */
.ic-circle, .ic-ring { display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: var(--bronze); }
.ic-circle { width: 48px; height: 48px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ic-circle svg { width: 22px; height: 22px; }
.ic-ring { width: 30px; height: 30px; box-shadow: inset 0 0 0 1.3px currentColor; color: var(--green); }
.ic-ring svg { width: 16px; height: 16px; }

/* ---------- header (C1) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 250, 247, .96); border-bottom: 1px solid rgba(228, 221, 210, .9); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(252, 250, 247, .88); backdrop-filter: saturate(1.3) blur(10px); } }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; border-radius: 4px; }
.brand img { width: 150px; height: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(4px, 1.2vw, 18px); }
.nav a { position: relative; display: block; padding: 10px 6px; color: var(--text); font-size: .93rem; font-weight: 450; text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--text); font-weight: 500; font-size: .95rem; text-decoration: none; padding: 10px 8px; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; }
.header-cta { display: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--text); font: 500 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--call { background: var(--green); border-color: var(--green); color: var(--white); padding: 0; }
.menu-toggle[aria-expanded="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }
@media (max-width: 374px) { .brand img { width: 128px; } .header-actions { gap: 8px; } .icon-btn { padding: 0 12px; } .site-header__bar { gap: 10px; } }
@media (min-width: 1080px) {
  .site-header__bar { min-height: 78px; }
  .nav { display: block; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 10px 22px; }
  .icon-btn--call, .menu-toggle { display: none; }
  .brand img { width: 196px; }
}
.mobile-panel { position: fixed; z-index: 49; left: 0; right: 0; top: 71px; bottom: -10px; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); padding: 20px var(--gutter) 40px; border-top: 1px solid var(--line); }
.mobile-panel[hidden] { display: none; }
.mobile-panel ul { display: grid; gap: 2px; margin-bottom: 28px; }
.mobile-panel a.mp-link { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-family: var(--serif); font-size: 1.75rem; text-decoration: none; }
.mobile-panel a.mp-link svg { width: 20px; height: 20px; color: var(--bronze); }
.mobile-panel .mp-contact { display: grid; gap: 10px; }
.mobile-panel .mp-contact .btn { width: 100%; }
.js .mobile-panel.is-open { animation: panel-in .2s var(--ease) both; }
@keyframes panel-in { from { transform: translateY(-8px); } to { transform: none; } }
body.nav-open { overflow: hidden; }
@media (min-width: 1080px) { .mobile-panel { display: none !important; } }

/* ---------- breadcrumbs ---------- */
.crumbs { margin-bottom: 26px; font-size: .88rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; color: var(--bronze); }
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--sand-2); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--text); }

/* ---------- sections ---------- */
.section { padding-block: var(--sec); }
.section--cream { background: var(--ivory); }
.section--sand { background: var(--sand); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2 + .lead, .sec-head h2 + p { margin-top: 16px; }
.sec-head--split { display: grid; gap: 16px; max-width: none; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 56px; } }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(24px, 2.4vw, 32px); }
.sec-row h2 { max-width: 900px; }

/* ---------- hero (C2) ---------- */
.hero { position: relative; display: flex; flex-direction: column; background: var(--sand); overflow: hidden; }
.hero__media { position: relative; order: 2; aspect-ratio: 4 / 3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
@media (min-width: 600px) and (max-width: 979px) { .hero__media { aspect-ratio: 16 / 9; } }
.hero__inner { position: relative; z-index: 1; order: 1; padding-top: clamp(36px, 6vw, 72px); }
.hero__text { max-width: 640px; }
.hero h1 { color: var(--text); }
.hero__lead { margin-top: 20px; max-width: 560px; font-size: clamp(1.02rem, .96rem + .25vw, 1.14rem); line-height: 1.65; color: #34372F; }
.hero .actions { margin-top: 28px; }
.hero-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 32px 0 28px; padding: 18px 0 0; border-top: 1px solid rgba(31, 33, 29, .14); font-size: .92rem; color: var(--text); }
.hero-strip li { display: flex; align-items: center; gap: 10px; line-height: 1.3; }
@media (min-width: 980px) {
  .hero { display: block; min-height: clamp(540px, 39vw, 600px); }
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 56%; aspect-ratio: auto; }
  .hero__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--sand) 0%, rgba(238, 232, 223, .78) 14%, rgba(238, 232, 223, 0) 42%); pointer-events: none; }
  .hero__inner { display: flex; flex-direction: column; justify-content: space-between; min-height: inherit; padding-top: clamp(56px, 5vw, 80px); }
  .hero__text { max-width: 47%; }
  .hero-strip { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 44px); width: fit-content; max-width: 76%; margin: 40px 0 0; padding: 18px clamp(20px, 2vw, 28px) 18px 0; border-top: 0; background: linear-gradient(90deg, rgba(248, 244, 238, 0) 0, rgba(248, 244, 238, .9) 0); border-radius: 0 14px 0 0; position: relative; }
  .hero-strip::before { content: ''; position: absolute; right: 100%; top: 0; bottom: 0; width: 100vw; background: rgba(248, 244, 238, .9); }
}

/* ---------- tjänstekort (C4) ---------- */
.services { background: var(--paper); padding-block: clamp(48px, 4.4vw, 64px) clamp(36px, 3.2vw, 48px); }
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 0 24px 24px; background: var(--white); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--sand-2), var(--shadow); }
.svc-card__img { margin: 0 -24px; aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; background: var(--sand); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; margin-bottom: 14px; border-radius: 50%; background: var(--white); color: var(--bronze); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(36, 49, 40, .35); position: relative; }
.svc-card__icon svg { width: 25px; height: 25px; }
.svc-card h3 { margin-bottom: 6px; font-size: 1.55rem; }
.svc-card p { color: var(--muted); font-size: .97rem; line-height: 1.55; margin-bottom: 16px; }
.svc-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; min-height: 44px; color: var(--text); font-size: .95rem; font-weight: 500; text-decoration: none; }
.svc-card__link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.svc-card__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-md); }
.svc-card:hover .svc-card__link svg { transform: translateX(3px); }
.svc-card:hover .svc-card__link { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- personlig service (C5) ---------- */
.about { display: grid; background: var(--ivory); }
.about__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.about__media picture { position: absolute; inset: 0; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 55%; }
.about__panel { position: relative; min-width: 0; padding: clamp(40px, 7vw, 56px) var(--gutter); background: var(--green); color: var(--on-ink); overflow-wrap: break-word; }
.about__panel h2 { max-width: 18ch; font-size: clamp(1.8rem, 1.45rem + 1.1vw, 2.45rem); line-height: 1.12; }
.about__panel p { max-width: 46ch; margin: 18px 0 28px; font-size: 1.04rem; line-height: 1.65; }
.about__points { display: grid; gap: 22px; padding: clamp(36px, 6vw, 56px) var(--gutter); }
.about__points li { display: flex; gap: 16px; align-items: flex-start; }
.about__points h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.about__points p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (min-width: 980px) {
  .about { --wedge: clamp(48px, 5vw, 84px); grid-template-columns: minmax(0, 21fr) minmax(0, 41fr) minmax(0, 38fr); align-items: stretch; min-height: 440px; }
  .about__media { grid-column: 1 / 2; grid-row: 1; aspect-ratio: auto; margin-right: calc(var(--wedge) * -1 - 24px); }
  .about__panel { grid-column: 2 / 3; grid-row: 1; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px clamp(36px, 4vw, 64px) 56px clamp(16px, 2vw, 32px); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
  .about__panel::before { content: ''; position: absolute; top: 0; bottom: 0; right: calc(100% - 1px); width: var(--wedge); background: inherit; clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none; }
  .about__points { grid-column: 3; align-content: center; gap: 26px; padding: 44px clamp(32px, 5vw, 80px) 44px clamp(32px, 4vw, 56px); }
}

/* ---------- områden (C7) ---------- */
.areas { position: relative; padding-block: clamp(44px, 4.4vw, 64px); background: var(--ivory); overflow: hidden; }
.areas__grid { display: grid; gap: 28px; }
.areas__text h2 { margin-bottom: 18px; }
.areas__text p { color: #34372F; max-width: 460px; margin-bottom: 26px; }
.areas__visual { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); box-shadow: 0 0 0 1px rgba(228, 221, 210, .7), var(--shadow); }
.areas__visual picture { position: absolute; inset: 0; }
.areas__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; }
.areas__visual::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(222, 196, 150, .30), rgba(238, 232, 223, .10) 55%, rgba(200, 172, 126, .22)); mix-blend-mode: soft-light; pointer-events: none; }
.areas__visual::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(238, 232, 223, .10) 0%, rgba(36, 49, 40, 0) 45%, rgba(36, 49, 40, .38) 100%); pointer-events: none; }
.areas__caption { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(252, 250, 247, .94); color: var(--text); font-size: .82rem; font-weight: 500; line-height: 1.3; box-shadow: var(--shadow-soft); }
.areas__caption svg { width: 16px; height: 16px; flex: none; color: var(--bronze); }
.areas__panel { position: relative; z-index: 2; padding: 22px 22px 14px; background: var(--white); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.areas__panel .eyebrow { font-size: .7rem; font-weight: 600; margin-bottom: 10px; text-wrap: balance; }
.areas__panel ul { display: grid; margin-bottom: 6px; }
.areas__panel li a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-size: .97rem; }
.areas__panel li a svg { width: 18px; height: 18px; color: var(--bronze); flex: none; }
.areas__panel li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.areas__panel .arrowlink { font-size: .9rem; }
@media (max-width: 979px) { .areas__grid { gap: 32px; } .areas__panel { margin: -72px clamp(14px, 4vw, 40px) 0; } .areas__caption { top: 14px; bottom: auto; left: 14px; } .areas__visual::after { background: linear-gradient(180deg, rgba(36, 49, 40, .30) 0%, rgba(36, 49, 40, 0) 35%); } }
@media (min-width: 980px) and (max-width: 1199px) { .areas__grid { grid-template-columns: minmax(0, 33fr) minmax(0, 44fr) minmax(0, 23fr); } }
@media (max-width: 599px) { .areas__visual { aspect-ratio: 4 / 3; } }
@media (min-width: 600px) and (max-width: 979px) { .areas__panel ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; } }
@media (min-width: 980px) {
  .areas__grid { grid-template-columns: minmax(0, 33fr) minmax(0, 48fr) minmax(0, 19fr); align-items: center; gap: 0; }
  .areas__text { padding-right: clamp(28px, 3vw, 48px); }
  .areas__visual { aspect-ratio: 4 / 3; }
  .areas__panel { margin-left: -44px; }
}

.geo { margin: 0; }
.geo__canvas { position: relative; aspect-ratio: 460 / 480; overflow: hidden; border-radius: var(--r-lg); }
@media (min-width: 680px) { .geo__canvas { aspect-ratio: 640 / 480; } }
.geo__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo__land { fill: #EFEAE1; }
.geo__water { fill: #DCE1DC; }
.geo__road { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 5; stroke-linecap: round; }
.geo__rail { fill: none; stroke: rgba(47, 62, 52, .28); stroke-width: 1.5; stroke-dasharray: 4 5; }
.geo__ring { fill: rgba(70, 96, 78, .1); stroke: rgba(70, 96, 78, .2); stroke-width: 1; }
.geo__ring--inner { fill: rgba(70, 96, 78, .1); stroke: none; }
.geo__dot { fill: var(--white); stroke: var(--green); stroke-width: 2; transition: fill .2s var(--ease); }
.geo__dot.is-active { fill: var(--bronze-soft); }
.geo__pin path { fill: var(--green); }
.geo__pin circle { fill: var(--paper); }
.geo__pills { position: absolute; inset: 0; }
.geo__pill { position: absolute; left: var(--xm); top: var(--y); transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--text); font-size: .86rem; font-weight: 600; line-height: 1.2; white-space: nowrap; box-shadow: 0 4px 14px -8px rgba(36, 49, 40, .45), 0 0 0 1px rgba(228, 221, 210, .9); transition: background-color .2s var(--ease), color .2s var(--ease); }
@media (min-width: 680px) { .geo__pill { left: var(--x); } }
.geo__pill--base { background: var(--green); color: var(--white); box-shadow: 0 6px 16px -8px rgba(36, 49, 40, .6); }
.geo__pill.is-active:not(.geo__pill--base) { background: var(--bronze); color: var(--white); }
.geo__caption { margin-top: 10px; font-size: .82rem; color: var(--muted); }

/* ---------- trygghet (C8) ---------- */
.trust { position: relative; padding-block: clamp(48px, 4.4vw, 64px); background: var(--paper); overflow: hidden; }
.trust__grid { display: grid; gap: 36px; }
.trust__cards { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 760px) { .trust__cards { grid-template-columns: repeat(3, 1fr); } }
.trust-card { display: flex; flex-direction: column; margin: 0; padding: 24px 24px 22px; background: var(--white); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.trust-card__icon { color: var(--bronze); margin-bottom: 14px; }
.trust-card__icon svg { width: 24px; height: 24px; }
.trust-card blockquote { margin: 0 0 18px; }
.trust-card blockquote p { font-size: 1rem; line-height: 1.55; color: var(--text); }
.trust-card figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
.trust__visual { display: grid; place-items: center; max-width: 340px; margin-inline: auto; width: 100%; }
@media (min-width: 1000px) {
  .trust__grid { grid-template-columns: minmax(0, 70fr) minmax(0, 30fr); align-items: center; gap: 40px; }
  .trust__visual { max-width: none; margin-right: calc(var(--gutter) * -1.4); }
}
.stack { width: 100%; height: auto; }
.stack__label { font-family: var(--serif); font-size: 23px; fill: #2F3E34; }
.stack__label--light { fill: #F3EFE7; }

/* ---------- CTA-band (C17) ---------- */
.cta-band { position: relative; padding-block: clamp(44px, 5vw, 64px); background: radial-gradient(120% 140% at 0% 100%, #3B4C40 0%, var(--green-deep) 55%); color: var(--on-ink); overflow: hidden; }
.cta-band::before { content: ''; position: absolute; left: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(200, 172, 126, .18); box-shadow: 0 0 0 36px rgba(200, 172, 126, .04); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; gap: 28px; align-items: center; }
.cta-band h2 { max-width: 24ch; }
@media (min-width: 1200px) { .cta-band h2 { max-width: none; } }
.cta-band h2 + p { margin-top: 12px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- kontaktsektion (C10) ---------- */
.contact { padding-block: var(--sec); background: var(--ivory); scroll-margin-top: 72px; }
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 80px); align-items: start; } }
.contact h2 + .lead { margin-top: 16px; }
.contact-list { display: grid; gap: 18px; margin: 32px 0 0; }
.contact-list > div { display: flex; gap: 14px; align-items: center; }
.contact-list .ic-circle { width: 44px; height: 44px; }
.contact-list .ic-circle svg { width: 19px; height: 19px; }
.contact-list dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; color: var(--text); overflow-wrap: anywhere; }
.contact-list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--sand-2); text-underline-offset: 3px; }
.contact-list a:hover { text-decoration-color: currentColor; }

/* formulär */
.form-card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form-card h3 { margin-bottom: 6px; font-size: 1.7rem; }
.form-card > p { color: var(--muted); margin-bottom: 22px; font-size: .95rem; }
.lead-form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .94rem; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CFC6B8; border-radius: 8px; background: var(--paper); color: var(--text); font: 400 16px/1.4 var(--sans); transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F3E34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green-text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(70, 96, 78, .18); }
.field [aria-invalid="true"] { border-color: #A23B2A; background: #FFF8F6; }
.field-error { min-height: 0; color: #A23B2A; font-size: .9rem; font-weight: 500; }
.field-error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; line-height: 1.45; color: var(--text); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.consent a { color: var(--green-text); font-weight: 600; }
.form-note { font-size: .88rem; color: var(--muted); }
.lead-form button[type="submit"] { justify-self: start; min-width: 210px; }
.lead-form [data-sending="true"] button[type="submit"], .lead-form button[type="submit"][disabled] { opacity: .7; cursor: progress; }
.form-status { padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.form-status--ok { background: #E6F0E6; color: #24462C; border: 1px solid #B5CDB5; }
.form-status--error { background: #FBEDEA; color: #8A2A1C; border: 1px solid #E5B4AA; }
.form-status--info { background: var(--paper); color: var(--text); border: 1px solid var(--line); }

/* kontaktkort (C5b) */
.card-contact { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; padding: 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.monogram { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--on-ink); font-family: var(--serif); font-size: 1.6rem; letter-spacing: .04em; }
.card-contact__name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; margin: 0; }
.card-contact__role { margin: 4px 0 0; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); }
.card-contact ul { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-contact li a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 36px; overflow-wrap: anywhere; }
.card-contact li a:hover { text-decoration: underline; }
.card-contact li svg { flex: none; width: 18px; height: 18px; color: var(--bronze); }
.card-contact .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- sidhero för områden, lokala sidor och policy (C12) ---------- */
.phero { background: var(--sand); padding-block: clamp(26px, 3.5vw, 40px) clamp(48px, 6vw, 80px); }
.phero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .phero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); } }
.phero h1 { font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.2rem); max-width: 20ch; }
.phero .lead { margin-top: 18px; max-width: 600px; color: #34372F; }
.phero .actions { margin-top: 28px; }
.phero__photo { position: relative; }
.phero__photo picture { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero__badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(252, 250, 247, .95); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow-soft); }
.phero__badge .ic-circle { width: 36px; height: 36px; }
.phero__badge .ic-circle svg { width: 18px; height: 18px; }
.phero__map .geo__canvas { box-shadow: 0 0 0 1px var(--sand-2); }
.phero--plain h1 { max-width: 24ch; }

/* det här ingår */
.includes { display: grid; gap: 0; }
@media (min-width: 860px) { .includes { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.includes li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.includes li:first-child, .includes li:nth-child(2) { border-top: 1px solid var(--line); }
@media (max-width: 859px) { .includes li:nth-child(2) { border-top: 0; } }
.includes .ic-circle { width: 40px; height: 40px; }
.includes .ic-circle svg { width: 18px; height: 18px; }
.includes strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin-bottom: 2px; }
.includes span { color: var(--muted); }

/* faktaruta */
.fact { padding: 28px 28px 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.fact__label { margin-bottom: 10px; color: var(--green-text); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.fact__text { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; margin: 0; }
.fact__src { margin-top: 12px; font-size: .84rem; color: var(--muted); }

/* vinkel + aside */
.angle { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .angle { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 88px); } }
.angle h2 { margin-bottom: 22px; }
.angle-points { display: grid; gap: 20px; counter-reset: punkt; }
.angle-points li { position: relative; display: grid; gap: 4px; padding-left: 52px; counter-increment: punkt; }
.angle-points li::before { content: counter(punkt); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--bronze); font-family: var(--serif); font-size: 1.15rem; box-shadow: 0 0 0 1px var(--line); }
.angle-points strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.angle .fact { position: sticky; top: 100px; }
@media (max-width: 899px) { .angle .fact { position: static; } }
.aside-title { margin: 0 0 14px; color: var(--green-text); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.aside-note { padding: 28px 26px 18px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.aside-note li { display: flex; gap: 12px; align-items: flex-start; padding-block: 11px; line-height: 1.5; border-top: 1px solid var(--line); }
.aside-note__box { flex: none; width: 17px; height: 17px; margin-top: 3px; border: 1.5px solid var(--green); border-radius: 4px; background: var(--white); }
.aside-steps ol { position: relative; display: grid; gap: 18px; counter-reset: steg; }
.aside-steps ol::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; background: var(--sand-2); }
.aside-steps li { position: relative; display: grid; gap: 2px; padding-left: 54px; counter-increment: steg; }
.aside-steps li::before { content: counter(steg); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--green); color: var(--on-ink); font-family: var(--serif); font-size: 1.1rem; }
.aside-steps strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.aside-steps span { color: var(--muted); font-size: .97rem; }
.aside-terms dl { margin: 0; border-top: 1.5px solid var(--text); }
.aside-terms dl > div { display: grid; gap: 4px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.aside-terms dt { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.aside-terms dd { margin: 0; font-size: .97rem; }
.aside-ledger ul { border-top: 1.5px solid var(--text); }
.aside-ledger li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.25rem; }
.aside-ledger__mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--bronze); box-shadow: 0 0 0 1px var(--line); }
.aside-ledger__mark svg { width: 16px; height: 16px; }
.aside-questions ul { display: grid; gap: 12px; }
.aside-questions li { position: relative; padding: 16px 20px 16px 54px; border-radius: 16px 16px 16px 4px; background: var(--white); font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; box-shadow: 0 0 0 1px var(--line); }
.aside-questions li::before { content: '?'; position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sand); color: var(--bronze); font-family: var(--sans); font-size: .85rem; font-weight: 700; }
.aside-questions li:nth-child(even) { margin-left: 22px; }

/* lokal kontext */
.local { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .local { grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 88px); } }
.local h2 { margin-bottom: 18px; }
.local .actions { margin-top: 22px; gap: 4px 28px; }

/* mer hjälp */
.more-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .more-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.more-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-md); background: var(--white); color: var(--text); text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.more-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--sand-2), var(--shadow); }
.more-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.more-card > span:not(.ic-circle):not(.more-arrow) { color: var(--muted); font-size: .95rem; }
.more-card .more-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 500; font-size: .95rem; }
.more-card .more-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.more-card:hover .more-arrow svg { transform: translateX(3px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--text); text-decoration: none; font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
.chips a:hover { box-shadow: 0 0 0 1px var(--green); }
.chips a svg { width: 14px; height: 14px; color: var(--bronze); }
.h3-small { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 44px 0 0; }

/* FAQ (C9) */
.faq { max-width: 860px; margin-inline: auto; }
.faq .sec-head { text-align: center; margin-inline: auto; }
.faq__list { border-top: 1px solid rgba(31, 33, 29, .16); }
.faq details { border-bottom: 1px solid rgba(31, 33, 29, .16); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 6px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.25rem, 1.12rem + .45vw, 1.5rem); line-height: 1.28; color: var(--text); border-radius: 6px; transition: background-color .2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, .5); }
.faq summary .plus { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--green); transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.faq summary .plus svg { width: 18px; height: 18px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--green); color: var(--white); }
.faq .answer { padding: 0 6px 24px; color: var(--text); max-width: 700px; }

/* split + prosa */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 88px); } }
.prose-tight { margin: 18px 0; }
.statement { max-width: 760px; margin-inline: auto; text-align: center; }
.statement h2 { margin-bottom: 16px; }
.statement .actions { justify-content: center; margin-top: 24px; }

/* ---------- områdeshubb ---------- */
.area-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .area-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } .area-card--wide { grid-column: 1 / -1; } }
.area-card { padding: 28px 26px 22px; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); scroll-margin-top: 100px; }
.area-card--base { box-shadow: 0 0 0 1.5px var(--green), var(--shadow-soft); }
.area-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1.9rem; }
.area-card h3 .ic-circle { width: 40px; height: 40px; }
.area-card h3 .ic-circle svg { width: 18px; height: 18px; }
.tag { display: inline-block; padding: 5px 12px 4px; border-radius: 999px; background: var(--green); color: var(--white); font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.area-card p { color: var(--muted); }
.svc-links { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .svc-links { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.svc-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; }
.svc-links a svg { width: 16px; height: 16px; flex: none; color: var(--bronze); transition: transform .2s var(--ease); }
.svc-links a:hover svg { transform: translateX(4px); }
.svc-links a:hover { color: var(--green-text); }

/* ---------- integritetspolicy ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 .4em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose ul li { margin-bottom: .35em; }
.prose a { color: var(--green-text); font-weight: 600; }

/* ---------- footer (C14) ---------- */
.site-footer { background: var(--green-deep); color: var(--on-ink-muted); padding-block: clamp(56px, 6vw, 80px) 28px; border-top: 1px solid rgba(243, 239, 231, .08); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 48px; } }
.site-footer img { width: 172px; margin-bottom: 18px; }
.site-footer h2 { margin-bottom: 14px; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-soft); }
.site-footer p { color: var(--on-ink-muted); font-size: .96rem; }
.site-footer .footer-note { margin-top: 12px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink); text-decoration: none; font-size: .97rem; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; display: grid; gap: 12px; font-size: .96rem; }
.site-footer address strong { display: block; color: var(--on-ink); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.site-footer address a { min-height: 32px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(243, 239, 231, .14); font-size: .88rem; }
.footer-bottom a { min-height: 32px; }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(56px, 9vw, 120px); text-align: center; }
.nf__visual { max-width: 300px; margin: 0 auto 28px; }
.nf h1 { margin-bottom: 18px; }
.nf .lead { max-width: 560px; margin-inline: auto; }
.nf .actions { justify-content: center; margin-top: 28px; }

/* ---------- reveal (motion-quality: .js-gate, en gång, reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .svc-card:hover, .more-card:hover { transform: none; }
}

@media print { .site-header, .mobile-panel, .contact form, .cta-band { display: none !important; } }
