/* Högboms El – formspråk byggt på installationskabelns färger:
   brun = fas (privat), blå = neutral (företag), gulgrön = skyddsjord (energi & laddning) */
:root {
  --paper: #f6f8f7;
  --white: #ffffff;
  --brand: #0b148d;      /* logotypens blå */
  --brand-dark: #070d5e;
  --ink: #151a3d;
  --ink-soft: #4a5068;
  --line: #d9dfe3;
  --fas: #7b4a2b;
  --neutral: #0b148d;
  --jord-y: #d9c22e;
  --jord-g: #3c8c46;
  --focus: #0b148d;
  --wide: "Archivo", system-ui, sans-serif;
  --max: 1160px;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--wide); font-variation-settings: "wdth" 100;
  font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neutral); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Typografi: rubriker i bred variant, brödtext i normal bredd */
h1, h2 { color: var(--brand); }
h1, h2, h3 { font-variation-settings: "wdth" 125; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 58ch; }

/* Sidhuvud */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.2rem; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--fas); }
.top-call { font-weight: 700; color: var(--white); background: var(--brand); text-decoration: none;
  padding: 9px 16px; border-radius: 6px; white-space: nowrap; }
.top-call:hover { background: var(--brand-dark); color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 1240px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--white);
    flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .top-call { display: none; }
}

/* Hjälte */
.hero { background: var(--white); padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero-text { padding-bottom: clamp(32px, 5vw, 56px); }
.hero-img { border-radius: 8px 8px 0 0; overflow: hidden; aspect-ratio: 4 / 5; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .98rem; }
.facts li strong { color: var(--ink); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 16 / 10; border-radius: 8px; margin-bottom: 0; }
}

/* Signaturen: tre ledare som slutar i en kopplingsplint med telefonnumret */
.wires { display: flex; align-items: center; gap: 0; margin: 0; }
.wires .cable { flex: 1; display: grid; gap: 5px; min-width: 40px; }
.wires .cable span { height: 6px; border-radius: 3px 0 0 3px; }
.wires .cable span:nth-child(1) { background: var(--fas); }
.wires .cable span:nth-child(2) { background: var(--neutral); }
.wires .cable span:nth-child(3) { background: repeating-linear-gradient(90deg, var(--jord-y) 0 22px, var(--jord-g) 22px 44px); }
.terminal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--brand); color: var(--white);
  padding: 12px; border-radius: 10px; }
.terminal a { text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 6px; }
.terminal .call { background: var(--white); color: var(--ink); font-variation-settings: "wdth" 115; font-size: 1.1rem; }
.terminal .call:hover { background: var(--jord-y); }
.terminal .mail { color: var(--white); border: 1px solid #ffffff55; }
.terminal .mail:hover { border-color: var(--white); color: var(--white); }
.wires.in-hero { margin-top: 30px; }
@media (max-width: 560px) { .wires .cable { display: none; } .terminal { width: 100%; flex-direction: column; align-items: stretch; } .terminal a { text-align: center; white-space: nowrap; } }

/* Sektioner */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec.white { background: var(--white); }
.sec-head { margin-bottom: 28px; max-width: 720px; }

/* Tjänsterader: färgad ledare till vänster visar kundgrupp */
.rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.row { display: block; padding: 22px 0 22px 22px; border-bottom: 1px solid var(--line); position: relative;
  text-decoration: none; color: var(--ink); }
.row::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 5px; border-radius: 3px; background: var(--c); }
.row h3 { margin-bottom: 4px; }
.row p { margin: 0; color: var(--ink-soft); }
a.row:hover h3 { color: var(--neutral); text-decoration: underline; text-underline-offset: 4px; }
.c-privat { --c: var(--fas); }
.c-foretag { --c: var(--neutral); }
.c-energi { --c: repeating-linear-gradient(180deg, var(--jord-y) 0 12px, var(--jord-g) 12px 24px); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 5px; border-radius: 3px; background: var(--c); display: inline-block; }
@media (max-width: 760px) { .rows { grid-template-columns: 1fr; } }

/* Två spalter */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.split img { border-radius: 8px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
ul.check { padding: 0; margin: 0 0 1em; list-style: none; }
ul.check li { padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid var(--line); }
ul.check li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
  border-left: 3px solid var(--jord-g); border-bottom: 3px solid var(--jord-g); transform: rotate(-45deg); }

/* Arbetsgång (verklig ordningsföljd) */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
ol.steps li { counter-increment: s; border-top: 3px solid var(--brand); padding-top: 14px; }
ol.steps li::before { content: counter(s); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.6rem; display: block; margin-bottom: 4px; color: var(--neutral); }
ol.steps h3 { font-size: 1.05rem; }
ol.steps p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { ol.steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { ol.steps { grid-template-columns: 1fr; } }

/* Omdömen */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.quotes figure { margin: 0; padding-left: 20px; border-left: 3px solid var(--fas); }
.quotes blockquote { margin: 0 0 10px; font-size: 1.12rem; }
.quotes figcaption { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* Vanliga frågor */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 650; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Kontaktruta */
.cta-band { background: var(--brand); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d5d8f2; }
.cta-band .terminal { background: var(--brand-dark); }
.cta-band .wires { margin-top: 24px; }

/* Brödsmulor */
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.page-hero { background: var(--white); padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .wire-tag { display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--c); margin-bottom: 18px; }

/* Sidfot */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .96rem; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 3px 0; }
.foot a { color: var(--ink-soft); }
.foot address { font-style: normal; }
.members { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Förfrågningsformulär: tre ledare kopplas in i formulärets överkant */
.hero-grid { align-items: start; }
.page-hero .hero-text { padding-bottom: 0; }
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px 22px;
  position: relative; box-shadow: 0 18px 40px -24px rgba(11, 20, 141, .45); }
.lead-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15px; border-radius: 10px 10px 0 0;
  background:
    linear-gradient(var(--fas), var(--fas)) 0 0 / 100% 5px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 0 5px / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--jord-y) 0 22px, var(--jord-g) 22px 44px) 0 10px / 100% 5px no-repeat; }
.lead-form h2 { font-size: 1.45rem; margin: 6px 0 4px; }
.lead-form .sub { color: var(--ink-soft); margin: 0 0 16px; font-size: .98rem; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 4px; }
.field span small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #c3cad3; border-radius: 6px; padding: 12px 12px; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #0b148d33; border-color: var(--brand); background: var(--white); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.send { width: 100%; font: inherit; font-weight: 750; font-size: 1.1rem; font-variation-settings: "wdth" 112; color: var(--white);
  background: var(--brand); border: 0; border-radius: 7px; padding: 15px; cursor: pointer; margin-top: 4px; }
.send:hover { background: var(--brand-dark); }
.fine { font-size: .85rem; color: var(--ink-soft); margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { display: none; background: #fdecea; color: #8a1c12; border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; font-size: .95rem; }
.form-err.show { display: block; }
.callline { margin: 18px 0 0; font-size: 1.05rem; }
.callline a { font-weight: 750; color: var(--brand); text-decoration: none; font-variation-settings: "wdth" 115; }
.callline a:hover { text-decoration: underline; }
.hero { padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }

/* Mobil: fast list längst ner */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .mbar a { text-align: center; font-weight: 750; text-decoration: none; padding: 13px 8px; border-radius: 7px; }
  .mbar .m-call { border: 2px solid var(--brand); color: var(--brand); }
  .mbar .m-form { background: var(--brand); color: var(--white); }
  body { padding-bottom: 76px; }
}
.cta-band .wires .cable span:nth-child(2) { background: #ffffff; }

/* Medarbetare (hämtas från Telavox), grupperade per ort */
.staff-group { margin-top: 40px; }
.staff-group[hidden], .person[hidden], .g-sub[hidden], .field[hidden] { display: none; }
.g-title { font-size: 1.5rem; color: var(--brand); padding-bottom: 10px; margin-bottom: 18px; border-bottom: 3px solid var(--brand); }
.g-sub { font-weight: 700; font-size: 1rem; color: var(--ink-soft); margin: 26px 0 12px; }
.staff { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.compact-list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.person { background: #eceef1; border: 1px solid #dde1e6; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.person.compact { padding: 12px 14px; gap: 8px; }
.p-head { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center;
  font-weight: 750; font-variation-settings: "wdth" 115; font-size: 1rem; letter-spacing: .02em; }
.compact .avatar { width: 36px; height: 36px; font-size: .85rem; background: var(--white); color: var(--brand); }
.person h4 { margin: 0; font-size: 1.08rem; font-variation-settings: "wdth" 110; line-height: 1.2; }
.compact h4 { font-size: 1rem; }
.person .role { margin: 2px 0 0; color: var(--ink-soft); font-size: .92rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 600; color: var(--brand); background: var(--white); border-radius: 999px; padding: 3px 10px; }
.p-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.p-acts a { text-decoration: none; font-weight: 700; font-size: .92rem; border-radius: 6px; padding: 8px 12px; white-space: nowrap; }
.btn-call { background: var(--brand); color: var(--white); }
.btn-call:hover { background: var(--brand-dark); color: var(--white); }
.btn-mail { border: 1.5px solid var(--brand); color: var(--brand); }
.btn-mail:hover { background: var(--brand); color: var(--white); }
.compact .p-acts a { padding: 6px 10px; font-size: .88rem; }
.area-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.area-filter button { font: inherit; font-size: .95rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--brand); border: 1.5px solid var(--brand); }
.area-filter button[aria-pressed="true"] { background: var(--brand); color: var(--white); }

/* ---- Navigering och kundresa ---- */
.c-butik { --c: var(--ink-soft); }
.top-offer { font-weight: 700; color: var(--brand); text-decoration: none; padding: 8px 14px; border-radius: 6px;
  border: 1.5px solid var(--brand); white-space: nowrap; margin-left: 4px; }
.top-offer:hover { background: var(--brand); color: var(--white); }
.nav-contact { display: none; }
@media (max-width: 1240px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--white);
    flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(0,0,0,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .nav .nav-contact a { border: 0; text-align: center; padding: 13px 8px; border-radius: 7px; font-weight: 700; }
  .nav .nav-contact .btn-mail { border: 1.5px solid var(--brand); }
  .top-offer, .top-call { display: none; }
}

/* Vägval på startsidan */
.paths-sec { padding-top: clamp(40px, 6vw, 72px); }
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px 20px; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 10px 10px 0 0; background: var(--c); }
.path h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.path h3 a { color: var(--brand); text-decoration: none; }
.path h3 a::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .35em; border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.path h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.path > p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 12px; }
.path ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.path li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; }
.path li a:hover { color: var(--brand); padding-left: 4px; }
@media (prefers-reduced-motion: no-preference) { .path li a { transition: padding .15s, color .15s; } }
@media (max-width: 1000px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .paths { grid-template-columns: 1fr; } }

/* Besökskort */
.visit { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px; align-self: start; }
.visit h3 { color: var(--brand); font-size: 1.4rem; margin: 0 0 10px; }
.visit .v-addr { font-size: 1.1rem; margin-bottom: 14px; }
.v-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0 0 18px; }
.v-hours dt { color: var(--ink-soft); }
.v-hours dd { margin: 0; font-weight: 650; }
.v-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.v-acts a, .ways a { text-decoration: none; }
.v-acts a { font-weight: 700; border-radius: 7px; padding: 11px 16px; }

/* Kontaktvägar */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.way { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; color: var(--ink); border-top: 5px solid var(--brand); }
.way:hover { border-color: var(--brand); }
.way-label { color: var(--ink-soft); font-size: .95rem; }
.way-value { font-size: 1.3rem; font-weight: 750; font-variation-settings: "wdth" 112; color: var(--brand); word-break: break-word; }
.way-note { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }

/* Förtroende under hjälten */
.trust { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.trust li { font-size: .9rem; font-weight: 650; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.trust li::before { content: ""; display: inline-block; width: 9px; height: 5px; border-left: 2.5px solid var(--jord-g); border-bottom: 2.5px solid var(--jord-g);
  transform: rotate(-45deg) translateY(-2px); margin-right: 8px; }

/* Stadsdelar */
.areas-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.areas-list li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: .95rem; }
@media (max-width: 560px) {
  .lead { font-size: 1.05rem; }
  .trust { gap: 6px; }
  .trust li { font-size: .8rem; padding: 5px 10px; }
  .callline { font-size: 1rem; }
  .hero { padding-top: 28px; }
}

.hero-text .ways { grid-template-columns: 1fr; gap: 10px; margin: 26px 0 0; max-width: 460px; }
.hero-text .way { padding: 14px 18px; border-top-width: 1px; border-left: 5px solid var(--brand); }
.hero-text .way-value { font-size: 1.15rem; }

.nav .nav-contact .btn-call { color: var(--white); }
.nav .nav-contact .btn-mail { color: var(--brand); }
.page-hero .visit { margin-top: 8px; }

/* Jobba med oss */
.recruiter { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--brand); background: var(--paper); border-radius: 0 8px 8px 0; max-width: 460px; }
.recruiter p { margin: 0; }
.recruiter .rec-label { color: var(--ink-soft); font-size: .95rem; margin-bottom: 4px; }
.recruiter .rec-name { font-weight: 750; font-size: 1.2rem; font-variation-settings: "wdth" 115; color: var(--brand); }
.recruiter .rec-title { color: var(--ink-soft); margin-bottom: 6px; }
.recruiter a { display: block; font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); margin: 4px 0 12px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.field input[type=file] { background: var(--white); padding: 10px; }


/* Avdrag (ROT, RUT, grön teknik) */
.deductions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ded { position: relative; padding: 26px 22px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.ded::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 10px 10px 0 0; background: var(--c); }
.ded-pct { font-variation-settings: "wdth" 125; font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--brand); margin: 0; }
.ded h3 { margin: 10px 0 0; font-size: 1.25rem; }
.ded .ded-what { color: var(--ink-soft); margin: 2px 0 12px; }
.ded .ded-link { margin: 12px 0 0; font-size: .95rem; }
.ded ul.check li { font-size: .95rem; }
@media (max-width: 900px) { .deductions { grid-template-columns: 1fr; } }


/* Samtyckesruta för cookies */
#samtycke { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: 10px;
  padding: 18px 20px; box-shadow: 0 20px 50px -20px rgba(11, 20, 141, .5); }
#samtycke p { margin: 0 0 14px; font-size: .97rem; }
#samtycke .s-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#samtycke button { font: inherit; font-weight: 700; padding: 12px; border-radius: 7px; cursor: pointer;
  background: var(--brand); color: var(--white); border: 2px solid var(--brand); }
#samtycke button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
@media (max-width: 760px) { #samtycke { bottom: 84px; left: 10px; right: 10px; } }
.policy h2 { font-size: 1.35rem; margin-top: 34px; }
.policy h2:first-child { margin-top: 0; }
.members a { color: var(--ink-soft); margin-right: 14px; }

/* Offerthjälpen – en fråga i taget, byggt för mobilen */
.oh-page { padding: clamp(16px, 4vw, 40px) 0 60px; min-height: 70vh; }
.oh-wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
#oh { position: relative; }
#oh.oh-busy { pointer-events: none; }
.oh-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.oh-back { font: inherit; font-weight: 650; color: var(--brand); background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.oh-count { color: var(--ink-soft); font-size: .95rem; }
.oh-batt { position: relative; height: 30px; border: 3px solid var(--brand); border-radius: 9px; background: var(--white); margin: 0 10px 18px 0; overflow: hidden; }
.oh-batt::after { content: ""; position: absolute; right: -11px; top: 7px; width: 6px; height: 10px; background: var(--brand); border-radius: 0 3px 3px 0; }
.oh-batt { overflow: visible; }
.oh-fill { position: absolute; inset: 2px auto 2px 2px; width: var(--to); max-width: calc(100% - 4px); border-radius: 5px;
  background: repeating-linear-gradient(90deg, var(--jord-g) 0 18px, #4fa75a 18px 22px); animation: oh-charge .7s ease-out both; }
@keyframes oh-charge { from { width: var(--from); } to { width: var(--to); } }
.oh-pct { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 750; font-size: .9rem; color: var(--ink); text-shadow: 0 0 4px #fff, 0 0 2px #fff; }
.oh-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px 22px; box-shadow: 0 18px 40px -26px rgba(11, 20, 141, .45); }
.oh-card h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); margin: 0 0 10px; }
.oh-card h2:focus { outline: none; }
.oh-fram { animation: oh-in-r .38s cubic-bezier(.2, .8, .2, 1) both; }
.oh-bak { animation: oh-in-l .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes oh-in-r { from { opacity: 0; transform: translateX(40px); } }
@keyframes oh-in-l { from { opacity: 0; transform: translateX(-40px); } }
.oh-kicker { display: inline-block; font-weight: 700; font-size: .85rem; color: var(--brand); background: #eef0f8; border-radius: 99px; padding: 4px 12px; margin-bottom: 12px; }
.oh-tips { color: var(--ink-soft); margin: 0 0 18px; }
.oh-help { background: #fff9e0; border-left: 4px solid var(--jord-y); border-radius: 0 8px 8px 0; padding: 12px 14px; margin: 0 0 18px; font-size: .97rem; }
.oh-help ol { margin: 6px 0 0; padding-left: 20px; }
.oh-choices { display: grid; gap: 10px; margin-bottom: 14px; }
.oh-choice { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; text-align: left; font: inherit; font-weight: 650; font-size: 1.1rem;
  color: var(--ink); background: var(--paper); border: 2px solid #c3cad3; border-radius: 12px; padding: 12px 16px; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.oh-choice:active { transform: scale(.98); }
.oh-choice.on { border-color: var(--jord-g); background: #e8f4ea; }
.oh-choice.pop { animation: oh-pop .3s ease-out; }
@keyframes oh-pop { 40% { transform: scale(1.015); } 100% { transform: scale(1); } }
.oh-emo { font-size: 1.6rem; width: 34px; text-align: center; flex: none; }
.oh-tick { margin-left: auto; width: 26px; height: 26px; border: 2px solid #c3cad3; border-radius: 7px; flex: none; background: var(--white); }
.oh-choice.on .oh-tick { background: var(--jord-g); border-color: var(--jord-g); box-shadow: inset 0 0 0 4px var(--white); }
.oh-choice:not(:has(.oh-tick)).on::after { content: "✓"; margin-left: auto; font-weight: 800; color: var(--jord-g); font-size: 1.3rem; }
.oh-go { display: block; width: 100%; text-align: center; font: inherit; font-weight: 750; font-size: 1.2rem; font-variation-settings: "wdth" 112;
  color: var(--white); background: var(--brand); border: 0; border-radius: 12px; padding: 18px; cursor: pointer; margin-top: 6px; }
.oh-go:hover { background: var(--brand-dark); }
.oh-go[disabled] { background: #b8bdd6; cursor: default; }
.oh-cam { font-size: 1.35rem; padding: 22px; }
.oh-skip { display: block; width: 100%; text-align: center; font: inherit; font-weight: 600; color: var(--brand); background: none;
  border: 2px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 10px; cursor: pointer; }
.oh-file { position: relative; overflow: hidden; }
.oh-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 100px; }
.oh-field { display: block; margin-bottom: 14px; }
.oh-field span { display: block; font-weight: 650; margin-bottom: 4px; }
.oh-field small { font-weight: 400; color: var(--ink-soft); }
.oh-tal { position: relative; max-width: 220px; }
.oh-tal input { font-size: 1.4rem; font-weight: 650; padding-right: 44px; }
.oh-tal i { position: absolute; right: 14px; bottom: 13px; font-style: normal; color: var(--ink-soft); }
.oh-field input, .oh-field textarea { width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--paper); border: 2px solid #c3cad3; border-radius: 10px; padding: 14px; }
.oh-field input:focus, .oh-field textarea:focus { outline: 3px solid #0b148d33; border-color: var(--brand); background: var(--white); }
.oh-ill { background: #f2f4fa; border-radius: 12px; padding: 14px; margin: 4px 0 14px; }
.oh-ill svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.oh-do { margin: 0 0 18px; padding-left: 22px; font-size: 1.1rem; }
.oh-do li { margin-bottom: 4px; }
.oh-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 8px; }
.oh-thumbs figure { position: relative; margin: 0; animation: oh-pop .5s ease-out; }
.oh-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid var(--jord-g); }
.oh-del { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(21, 26, 61, .75); color: #fff; font-size: 1rem; cursor: pointer; }
.oh-ok { font-weight: 650; color: var(--jord-g); margin: 6px 0 4px; }
.oh-big { width: 56px; height: 56px; color: var(--brand); margin-bottom: 10px; }
.oh-big svg { width: 100%; height: 100%; }
.oh-ico { width: 1.3em; height: 1.3em; vertical-align: -0.25em; margin-right: 8px; }
.oh-how { list-style: none; counter-reset: oh; padding: 0; margin: 18px 0; }
.oh-how li { counter-increment: oh; position: relative; padding: 0 0 16px 54px; color: var(--ink-soft); }
.oh-how li b { display: block; color: var(--ink); font-size: 1.1rem; }
.oh-how li::before { content: counter(oh); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.oh-time { background: var(--paper); border-radius: 10px; padding: 12px 14px; font-size: .97rem; }
.oh-sum { margin: 0 0 14px; }
.oh-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.oh-row dt { font-size: .9rem; color: var(--ink-soft); }
.oh-row dd { margin: 2px 0 0; font-weight: 650; }
.oh-progress { margin-top: 14px; }
.oh-progress .oh-bar { height: 12px; background: #e3e6ee; border-radius: 99px; overflow: hidden; }
.oh-progress .oh-bar span { display: block; height: 100%; background: var(--jord-g); transition: width .2s; }
.oh-call { text-align: center; color: var(--ink-soft); font-size: .95rem; margin: 18px auto 0; }
.oh-praise { position: fixed; z-index: 51; left: 50%; top: 84px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); font-weight: 650; font-size: 1.02rem;
  padding: 10px 18px 10px 12px; border-radius: 99px; border: 1px solid var(--line); pointer-events: none; white-space: nowrap;
  box-shadow: 0 12px 30px -14px rgba(21, 26, 61, .45); animation: oh-praise 1.45s ease-out forwards; }
.oh-praise svg { width: 24px; height: 24px; flex: none; }
@keyframes oh-praise { 0% { opacity: 0; transform: translate(-50%, -10px); } 14% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .oh-fram, .oh-bak, .oh-fill, .oh-choice.pop, .oh-thumbs figure { animation: none; } .oh-praise { animation-duration: 1.2s; } }
.oh-page ~ .mbar, body.oh-app .mbar { display: none; }
body.oh-app #samtycke { bottom: 16px; }
.oh-promo { display: flex; gap: 14px; align-items: center; background: #eef0f8; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; text-decoration: none; color: var(--ink); }
.oh-promo b { display: block; color: var(--brand); }
.oh-promo span { font-size: .93rem; color: var(--ink-soft); }
.oh-band { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--white);
  border: 2px solid var(--jord-g); border-radius: 12px; padding: 20px 22px; }
.oh-band h2 { margin: 0 0 4px; font-size: 1.5rem; }
.oh-band p { margin: 0; color: var(--ink-soft); }
.oh-band a { font-weight: 750; color: #fff; background: var(--jord-g); text-decoration: none; padding: 14px 20px; border-radius: 9px; white-space: nowrap; }
.oh-band a:hover { background: #2f7539; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:has(body.oh-app), body.oh-app { overflow-x: clip; }
.oh-done { width: 72px; height: 72px; margin-bottom: 14px; }
.oh-done svg { width: 100%; height: 100%; fill: none; stroke: var(--jord-g); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.oh-done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: oh-draw .6s ease-out forwards; }
.oh-done path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: oh-draw .35s .5s ease-out forwards; }
@keyframes oh-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .oh-done circle, .oh-done path { animation: none; stroke-dashoffset: 0; } }

/* Projektsidor (entreprenad, gemensamhetsmätning, Kontroll EL) */
.page-hero .contact-card { margin-top: 26px; }
.contact-card a + a { margin-top: 2px; }
ol.plain { padding-left: 22px; margin: 0; }
ol.plain li { margin-bottom: 10px; }
p.small { font-size: .9rem; color: var(--ink-soft); }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
.contact-card a { overflow-wrap: anywhere; }

/* Foton */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 10px; background: var(--line); }
.photo figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.photo.wide img { aspect-ratio: 21 / 9; object-fit: cover; }
.photo.tall img { aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 20px; }
.photos { display: grid; gap: 18px; }
.photos.two { grid-template-columns: 1fr 1fr; }
.photos.three { grid-template-columns: repeat(3, 1fr); }
.photos .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo-sec { padding-top: 0; }
@media (max-width: 820px) { .photos.two, .photos.three { grid-template-columns: 1fr; } .photo.wide img { aspect-ratio: 16 / 10; } }
.contact-card.has-photo { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: start; }
.contact-card.has-photo > p { grid-column: 2; }
.contact-card .avatar { grid-row: 1 / span 4; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.photo.wide.small { max-width: 900px; margin: 0 auto; }
img.avatar.photo-av { object-fit: cover; padding: 0; }
.contact-card.has-photo { grid-template-columns: 64px 1fr; }
.contact-card .avatar { width: 64px; height: 64px; }

/* Meny med undersidor */
.nav { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.sub-btn { width: 22px; height: 30px; margin-left: 2px; border: 0; background: none; cursor: pointer; padding: 0; color: var(--ink); }
.sub-btn::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.has-sub.open .sub-btn::before { transform: translateY(2px) rotate(-135deg); }
.sub { display: none; position: absolute; top: 100%; left: -18px; z-index: 8; min-width: 320px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px -20px rgba(11, 20, 141, .45); }
.has-sub.open .sub { display: block; }
@media (hover: hover) and (min-width: 1241px) { .has-sub:hover .sub { display: block; } .has-sub:hover .sub-btn::before { transform: translateY(2px) rotate(-135deg); } }
.nav .sub a { display: block; padding: 9px 12px; border: 0; border-radius: 7px; }
.nav .sub a:hover { background: var(--paper); }
.sub a b { display: block; font-weight: 650; color: var(--ink); }
.sub a span { display: block; font-size: .87rem; color: var(--ink-soft); font-weight: 400; }
.nav .sub a.sub-all { font-size: .9rem; color: var(--brand); font-weight: 650; padding-bottom: 6px; }
.nav .sub a.hl { background: #e8f4ea; }
.nav .sub a.hl b { color: #2f7539; }
@media (max-width: 1240px) {
  .nav { align-items: stretch; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-item > a { flex: 1; border-bottom: 0 !important; }
  .sub-btn { width: 48px; height: 46px; }
  .sub { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; border-left: 3px solid var(--brand); border-radius: 0; padding: 0 0 8px 8px; margin-bottom: 8px; }
  .nav .sub a { padding: 9px 10px; }
  .nav .sub a.sub-all { display: none; }
}
.oh-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px;
  background: var(--white); border: 2px solid var(--jord-g); border-radius: 10px; text-decoration: none; color: var(--ink); max-width: 560px; }
.oh-hero span { font-size: .95rem; color: var(--ink-soft); flex: 1 1 260px; }
.oh-hero b { display: block; color: var(--ink); font-size: 1.02rem; }
.oh-hero i { font-style: normal; font-weight: 750; color: #fff; background: var(--jord-g); padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.oh-hero:hover i { background: #2f7539; }

/* Lugnare meny (2026-10-21): normal vikt, mjukare färger, mer luft */
.nav { gap: 6px; }
.nav > a, .nav-item > a { font-weight: 500; font-size: .95rem; color: var(--ink); letter-spacing: 0; font-variation-settings: "wdth" 100;
  padding: 8px 10px; border-bottom: 0; border-radius: 8px; transition: background .15s, color .15s; }
.nav > a:hover, .nav-item > a:hover, .has-sub.open > a { background: var(--paper); color: var(--brand); }
.nav > a[aria-current="page"], .nav-item > a[aria-current="page"] { color: var(--brand); background: #eef0f8; border-bottom: 0; }
.nav-item { gap: 0; }
.sub-btn { width: 18px; margin-left: -6px; color: var(--ink-soft); }
.sub-btn::before { width: 6px; height: 6px; border-width: 1.5px; }
.sub { top: calc(100% + 6px); left: 0; min-width: 330px; padding: 10px; border: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(21, 26, 61, .35), 0 2px 6px rgba(21, 26, 61, .05); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }  /* håller menyn öppen när musen går ner */
.nav .sub a { padding: 10px 12px; border-radius: 10px; }
.nav .sub a:hover { background: #f2f4f8; }
.sub a b { font-weight: 550; font-size: .95rem; color: var(--ink); }
.sub a span { font-size: .85rem; margin-top: 1px; }
.nav .sub a:hover b { color: var(--brand); }
.nav .sub a.sub-all { font-weight: 500; font-size: .85rem; color: var(--ink-soft); padding: 6px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav .sub a.sub-all:hover { background: none; color: var(--brand); }
.nav .sub a.hl { background: none; }
.nav .sub a.hl b { color: var(--ink); }
.nav .sub a.hl b::after { content: "Nyhet"; margin-left: 8px; font-size: .7rem; font-weight: 600; color: #2f7539; background: #e8f4ea; padding: 2px 7px; border-radius: 99px; vertical-align: 1px; }
.top-offer { font-weight: 600; font-size: .95rem; border-width: 1.5px; }
.top-call { font-weight: 600; font-size: .95rem; }
@media (max-width: 1240px) {
  .nav { gap: 0; padding-top: 4px; }
  .nav > a, .nav-item > a { font-size: 1.05rem; padding: 14px 4px; border-radius: 0; background: none !important; }
  .nav > a { border-bottom: 1px solid var(--line); }
  .nav > a[aria-current="page"], .nav-item > a[aria-current="page"] { color: var(--brand); font-weight: 600; }
  .sub-btn { width: 48px; margin-left: 0; }
  .sub { border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; padding: 0 0 10px 10px; margin: 0 0 8px 4px; }
  .sub::before { display: none; }
  .nav .sub a { padding: 9px 10px; }
  .sub a b { font-size: .98rem; }
}
.sub { min-width: 380px; }
@media (max-width: 1240px) { .sub { min-width: 0; } }

/* Startsidan: skylten som dämpad bakgrund */
.hero.has-bg { position: relative; color: #fff; padding-bottom: clamp(40px, 6vw, 72px);
  background: linear-gradient(90deg, rgba(7, 13, 94, .84) 0%, rgba(7, 13, 94, .62) 50%, rgba(7, 13, 94, .3) 100%),
    url("/img/foto/skylten-1600.jpg") center 35% / cover no-repeat; }
@media (max-width: 820px) {
  .hero.has-bg { background: linear-gradient(180deg, rgba(7, 13, 94, .8) 0%, rgba(7, 13, 94, .68) 100%),
    url("/img/foto/skylten-800.jpg") center 30% / cover no-repeat; }
}
.hero.has-bg h1 { color: #fff; }
.hero.has-bg .lead { color: rgba(255, 255, 255, .86); }
.hero.has-bg .callline { color: rgba(255, 255, 255, .86); }
.hero.has-bg .callline a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.hero.has-bg .trust li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.hero.has-bg .trust li::before { border-color: #8fd19a; }
.hero.has-bg .oh-hero { border-color: transparent; }
.hero.has-bg .hero-text { padding-bottom: 0; }
.hero.has-bg .lead-form { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hero.has-bg .lead-form { color: var(--ink); }
.hero.has-bg h1, .hero.has-bg .lead, .hero.has-bg .callline { text-shadow: 0 1px 12px rgba(4, 8, 60, .55); }
.hero.has-bg .lead { color: rgba(255, 255, 255, .92); }

/* Offerthjälpen: valskärm */
.oh-jobs .oh-job { justify-content: space-between; min-height: 76px; }
.oh-job b { display: block; font-size: 1.15rem; }
.oh-job small { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-soft); margin-top: 2px; }
.oh-arrow { font-size: 1.8rem; color: var(--brand); line-height: 1; margin-left: 10px; }
.oh-other { margin: 14px 0 0; font-size: .95rem; }
.oh-link { border: 0; text-decoration: underline; font-weight: 500; color: var(--ink-soft); }

/* Rutan "Har du inget avtal men det är akut?" på jour-sidan */
.note-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--fas); border-radius: 10px; padding: 20px 24px; max-width: 760px; }
.note-box h2 { font-size: 1.2rem; margin: 0 0 8px; }
.note-box p { margin: 0; color: var(--ink-soft); }

/* Lokalt nummer på ortssidorna (Krokom, Stugun) */
.local-call { font-weight: 600; margin: 14px 0 18px; }
.local-call a { color: var(--brand); white-space: nowrap; }

/* Offerthjälpen-knappen i sidhuvudet: grön */
.top-offer { display: inline-flex; align-items: center; gap: 7px; background: #e8f4ea; color: #2a6b33; border: 1.5px solid #9ccfa4; font-weight: 600; }
.top-offer::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jord-g); box-shadow: 0 0 0 3px rgba(60, 140, 70, .18); }
.top-offer:hover, .top-offer[aria-current="page"] { background: var(--jord-g); border-color: var(--jord-g); color: #fff; }
.top-offer:hover::before, .top-offer[aria-current="page"]::before { background: #fff; box-shadow: none; }
.nav .nav-contact .btn-mail { background: var(--jord-g); color: #fff !important; border-color: var(--jord-g); }
.nav > a, .nav-item > a, .top-offer, .top-call { white-space: nowrap; }
.top .wrap { gap: 16px; max-width: 1320px; }
/* Logotypen får aldrig tryckas ihop av menyn (2026-10-22: den försvann när menyn blev längre) */
.brand { flex-shrink: 0; }
@media (min-width: 1241px) and (max-width: 1400px) { .nav > a, .nav-item > a { padding: 8px 7px; font-size: .92rem; } .top-call { padding: 9px 12px; } }

/* Bokad uppringning */
.booked { font-size: 1.15rem; background: #e8f4ea; border-left: 4px solid var(--jord-g); padding: 12px 16px; border-radius: 0 8px 8px 0; max-width: 560px; }
.oh-tider { margin: 6px 0 16px; }
.oh-tlabel { display: block; font-weight: 650; margin-bottom: 8px; }
.oh-tdag { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.oh-tdag > span { min-width: 140px; font-size: .95rem; color: var(--ink-soft); }
.oh-tdag > div { display: flex; gap: 8px; flex-wrap: wrap; }
.oh-tid { font: inherit; font-weight: 650; padding: 10px 14px; border-radius: 10px; border: 2px solid #c3cad3; background: var(--paper); color: var(--ink); cursor: pointer; min-width: 74px; }
.oh-tid.wide { width: 100%; }
.oh-tid.on { border-color: var(--jord-g); background: #e8f4ea; }

/* Länk i förtroendechips (t.ex. Google-omdömen) ska synas på mörk bakgrund */
.trust li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.trust li a:hover { text-decoration-thickness: 2px; }
/* Mobil: visa bara de viktigaste chipsen i hero, så att formuläret kommer högre upp */
@media (max-width: 620px) {
  .hero .trust li:nth-child(2), .hero .trust li:nth-child(5) { display: none; }
}

/* Priskort ("från"-priser) */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.price-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--brand)); border-radius: 12px; padding: 20px 20px 18px; display: flex; flex-direction: column; }
.price-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.price-card h3 a { color: inherit; text-decoration: none; }
.price-card h3 a:hover { text-decoration: underline; }
.pc-price { font-size: 2rem; font-weight: 800; color: var(--brand); margin: 4px 0 0; line-height: 1.1; }
.pc-price span { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.pc-terms { font-size: .85rem; color: var(--ink-soft); margin: 2px 0 12px; }
.price-card ul.check { margin: 0 0 12px; }
.price-card ul.check li { font-size: .95rem; }
.pc-note { font-size: .82rem; color: var(--ink-soft); margin: 0 0 12px; }
.pc-cta { margin-top: auto; align-self: flex-start; background: var(--brand); color: #fff; font-weight: 650; text-decoration: none; padding: 10px 14px; border-radius: 8px; }
.pc-cta:hover { background: var(--brand-dark); }
.more-link { margin-top: 18px; font-weight: 650; }

/* Inspirationsgalleri (strömbrytare och uttag hos kunder) */
.insp-title { margin: 0 0 14px; }
.photos.insp { grid-template-columns: repeat(3, 1fr); }
.photos.insp .photo img { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .photos.insp { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.photo.tall figcaption { margin: -8px 0 26px; }
.idea-band h2 { max-width: 760px; }
.idea-band p { max-width: 760px; }
.oh-band.idea-band { background: var(--brand); border-color: var(--brand); padding: 34px 36px; }
.idea-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin: 0 0 10px; }
.idea-band p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; margin: 0; }
.pc-disclaimer { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.price-card > p:not([class]) { font-size: .95rem; color: var(--ink-soft); margin: 0 0 14px; }
.pc-cta.pc-ext { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.pc-cta.pc-ext:hover { background: var(--brand); color: #fff; }

/* Högtidsteman (site-src/teman.js): liten figur på logotypen + hälsning vid jul/nyår. Försvinner av sig själv. */
.brand { position: relative; }
[data-tema] .brand::after { content: ""; position: absolute; pointer-events: none; background: center / contain no-repeat;
  width: 14px; height: 14px; left: 80px; top: 29px; animation: tema-in .6s ease-out both; }
[data-tema="jul"] .brand::after { background-image: url(/img/tema/jul.svg); width: 30px; height: 25px; left: -9px; top: -14px; transform: rotate(-14deg); }
[data-tema="nyar"] .brand::after { background-image: url(/img/tema/nyar.svg); }
[data-tema="hjarta"] .brand::after { background-image: url(/img/tema/hjarta.svg); }
[data-tema="semla"] .brand::after { background-image: url(/img/tema/semla.svg); }
[data-tema="pask"] .brand::after { background-image: url(/img/tema/pask.svg); }
[data-tema="flagga"] .brand::after { background-image: url(/img/tema/flagga.svg); top: 27px; height: 16px; }
[data-tema="midsommar"] .brand::after { background-image: url(/img/tema/midsommar.svg); }
[data-tema="kanelbulle"] .brand::after { background-image: url(/img/tema/kanelbulle.svg); }
[data-tema="halloween"] .brand::after { background-image: url(/img/tema/halloween.svg); }
@keyframes tema-in { from { opacity: 0; } to { opacity: 1; } }
.tema-hej { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand); color: #fff;
  font-size: .92rem; font-weight: 550; line-height: 1.35; padding: 8px 44px 8px 16px; position: relative; text-align: center; }
.tema-hej .tema-ikon { flex: 0 0 18px; height: 18px; background: center / contain no-repeat; }
[data-tema="jul"] .tema-hej .tema-ikon { background-image: url(/img/tema/jul.svg); width: 22px; flex-basis: 22px; }
[data-tema="nyar"] .tema-hej .tema-ikon { background-image: url(/img/tema/nyar.svg); }
.tema-hej button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff;
  font-size: 1.4rem; line-height: 1; width: 36px; height: 36px; cursor: pointer; border-radius: 6px; }
.tema-hej button:hover { background: rgba(255,255,255,.15); }
@media (prefers-reduced-motion: reduce) { [data-tema] .brand::after { animation: none; } }

/* Avvikande öppettider (från /api/oppettider, styrs i admin) */
.v-avvik { margin: 10px 0 0; padding: 8px 10px; background: #fff7d6; border-left: 3px solid #e8a400; border-radius: 4px; font-size: .9rem; }
.foot-avvik { display: block; margin-top: 4px; font-weight: 600; }

/* Produktbilder från leverantörer (/produktbilder/, hämtas av servern) */
.price-card .pc-img { display: block; width: 100%; height: 170px; object-fit: contain; margin: -4px 0 12px; border-radius: 8px; background: #fff; }
ul.models { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
ul.models li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px 8px; text-align: center; font-weight: 700; }
ul.models .m-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; }
@media (max-width: 560px) { ul.models { grid-template-columns: repeat(2, 1fr); } .price-card .pc-img { height: 150px; } }

/* Jobbannonser på Jobba med oss */
.jobs { display: grid; gap: 22px; }
.job { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 12px; padding: 24px 26px; }
.sec.white .job { background: #f7f8fc; }
.job h3 { font-size: 1.45rem; margin: 2px 0 8px; color: var(--brand); }
.job h4 { font-size: 1rem; margin: 16px 0 6px; }
.job-meta { font-size: .88rem; font-weight: 650; color: var(--ink-soft); margin: 0; text-transform: uppercase; letter-spacing: .03em; }
.job-lead { font-size: 1.08rem; max-width: none; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; align-items: start; }
.job h4:first-child { margin-top: 6px; }
.job ul.check li { line-height: 1.45; padding-top: 8px; padding-bottom: 8px; }
.job ul.check li::before { top: 12px; }
.job .job-erbjuder ul.check { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.job-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 0; }
.job-apply span { font-size: .92rem; color: var(--ink-soft); }
.job-spontan { margin-top: 18px; }
@media (max-width: 760px) { .job { padding: 18px 16px; } .job-cols, .job .job-erbjuder ul.check { grid-template-columns: 1fr; } }

/* Smal banner under menyn: lediga jobb (visas så länge JOBBANNONSER finns) */
.jobb-banner { background: var(--brand); color: #fff; font-size: .92rem; }
.jobb-banner .wrap { padding-top: 7px; padding-bottom: 7px; text-align: center; }
.jobb-banner a { color: #fff; text-decoration: none; }
.jobb-banner a:hover span { text-decoration: underline; }
.jobb-banner strong { font-weight: 750; margin-right: 4px; }
@media (max-width: 560px) { .jobb-banner { font-size: .86rem; } .jobb-banner span { display: none; } .jobb-banner strong::after { content: " Se lediga jobb"; font-weight: 500; } }

/* Solceller: liten avdragstabell (2026-10-22) */
.price-table{border-collapse:collapse;width:100%;max-width:360px;margin:.6rem 0 1rem}
.price-table th,.price-table td{padding:.5rem .2rem;border-bottom:1px solid var(--line,#e3e6ef);text-align:left}
.price-table td{text-align:right;font-weight:700;color:var(--brand,#0b148d)}

/* Om oss: partnerlogotyper (2026-10-22) */
.partners{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:28px}
.partner{display:flex;align-items:center;justify-content:center;min-height:72px;min-width:170px;padding:12px 20px;border:1px solid var(--line,#e3e6ef);border-radius:12px;background:#fff;text-decoration:none;color:var(--ink,#141a33);font-weight:700}
.partner img{max-height:48px;max-width:180px;width:auto;height:auto;display:block}
.partner:hover{border-color:var(--brand,#0b148d)}

/* Kompaktare förfrågningsformulär (ägaren 2026-10-22: "dra ner storleken") */
.lead-form { padding: 20px 20px 16px; }
.lead-form h2 { font-size: 1.25rem; margin: 4px 0 2px; }
.lead-form .sub { font-size: .9rem; margin: 0 0 10px; }
.lead-form .field { margin-bottom: 8px; }
.lead-form .field span { font-size: .86rem; margin-bottom: 3px; }
.lead-form .field input, .lead-form .field select, .lead-form .field textarea { padding: 8px 10px; font-size: 1rem; }
.lead-form .field textarea { min-height: 52px; }
.lead-form .two { gap: 0 10px; }
.lead-form .send { padding: 11px; font-size: 1.02rem; margin-top: 2px; }
.lead-form .fine { font-size: .78rem; margin-top: 8px; }
.lead-form .oh-promo, .lead-form .oh-hero { margin-bottom: 10px; }
@media (max-width: 420px) { .lead-form .two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) { .lead-form .two { grid-template-columns: 1fr; } }

/* Sidhuvudet i små mobiler (2026-10-22: Offerthjälpen-knappen klipptes av på 360–375 px breda skärmar) */
@media (max-width: 420px) {
  .top .wrap { gap: 10px; }
  .brand img { height: 36px; }
  .menu-btn { padding: 7px 10px; }
  .top-offer { padding: 7px 10px; font-size: .88rem; gap: 6px; margin-left: 0; }
}
@media (max-width: 350px) {
  .top .wrap { gap: 8px; }
  .brand img { height: 32px; }
  .menu-btn { padding: 7px 8px; }
  .top-offer::before { display: none; }
}
