/* Tak – Nock
   Nattblått och plåtgrått med en accentfärg som staff väljer (tegelröd,
   plåtblå eller grön). Toppen har en gavel: kundens bild beskuren som en
   husgavel, eller ett falsat plåttak ritat i CSS. Oswald för rubriker, Inter
   för text, etiketter i versaler med ett litet takfall framför. */

@font-face { font-family: "Oswald"; src: url("../fonts/oswald.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --natt: #15212C;
  --natt-ljus: #22313E;
  --plat: #E4E8EB;
  --ink: #17212A;
  --muted: #55616C;
  --on-dark: #AEB9C3;
  --line: #CBD2D8;
  --input: #8E98A1;
  --white: #FFFFFF;
  /* Accentfärgen: knappar, gaveln och detaljer. --accent-ljus används på mörk botten. */
  --accent: #B8432A;
  --accent-mork: #9C3720;
  --accent-ljus: #EE8B72;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --section: 64px;
}
.farg-platbla { --accent: #2D6AA0; --accent-mork: #235782; --accent-ljus: #8DBCE6; }
.farg-gron { --accent: #2F6B4F; --accent-mork: #24573F; --accent-ljus: #8DCBAA; }
@media (min-width: 640px) { :root { --gutter: 32px; --section: 88px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 112px; } }
@media (min-width: 1440px) { :root { --gutter: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--plat); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.section--dark a:focus-visible, .hero a:focus-visible, .header a:focus-visible, .footer a:focus-visible, .header summary:focus-visible { outline-color: var(--accent-ljus); }

h1, h2, h3, .h3 { font-family: var(--head); font-weight: 600; color: var(--natt); text-wrap: balance; }
/* Oswalds kerning drar in a, o och å under T, V, Y och W, och då slår
   prickarna i ä och ö i taket på T:et ("Täta"). Utan kerning blir det luft. */
h1, h2, h3, .h3, .brand__name, .header__phone, .service::before, .step h3::before,
.brands__name, .rating__value, .faq summary, .person__name { font-kerning: none; }
h1 { font-size: clamp(2.75rem, 1.7rem + 4.6vw, 5rem); line-height: 1.04; letter-spacing: .2px; }
h2 { font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); line-height: 1.08; letter-spacing: .2px; }
h3, .h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: .2px; }
.eyebrow, .btn, .nav, .tag, .more, .footer__label {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px;
}
/* Etiketten får ett litet takfall framför. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: .875rem; line-height: 1.4; }
.eyebrow::before { content: ""; flex: none; width: 18px; height: 9px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 82% 100%, 50% 36%, 18% 100%, 0 100%); }
.eyebrow--light { color: var(--accent-ljus); }
.lead { font-size: 1.25rem; line-height: 1.55; }
.lead--muted { color: var(--muted); }
.small { font-size: .9375rem; line-height: 1.45; color: var(--muted); }

.visually-hidden { position: absolute; 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: 8px; top: -100px; z-index: 20; padding: 10px 16px; background: var(--accent); color: var(--white); font-weight: 600; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Knappar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px;
  border: 2px solid transparent; font-size: .9375rem; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-mork); }
.btn--outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sidhuvud ---------- */

.header { position: relative; background: var(--natt); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav";
  align-items: center; gap: 12px 16px; padding-top: 14px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--white); text-decoration: none; }
/* Märket: en liten gavel i accentfärgen. */
.brand__mark { flex: none; width: 34px; height: 30px; background: var(--accent); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); }
.brand__name { font-family: var(--head); font-size: 1.5rem; font-weight: 600; line-height: 1.1; letter-spacing: .3px; }
.brand__logo { display: block; flex: 0 1 auto; min-width: 0; width: auto; height: 42px; max-width: min(240px, 55vw); object-fit: contain; object-position: left center; }
.header__actions { grid-area: actions; display: flex; align-items: center; gap: 22px; }
.header__phone { display: none; font-family: var(--head); font-size: 1.25rem; font-weight: 500; letter-spacing: .5px; text-decoration: none; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; }
.header__phone-long { display: none; }
.header__offer { min-height: 44px; padding: 8px 16px; font-size: .875rem; }

.nav { grid-area: nav; margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.nav::-webkit-scrollbar { display: none; }
.nav ul { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; }
.nav a { display: block; padding: 12px 0; color: var(--on-dark); font-size: .875rem; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--accent-ljus); }

@media (min-width: 480px) { .header__phone { display: inline; } }
@media (min-width: 640px) { .header__phone-short { display: none; } .header__phone-long { display: inline; } }
@media (min-width: 1024px) {
  .header__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav actions"; gap: 32px; padding-block: 18px; }
  .brand__name { font-size: 1.625rem; text-wrap: balance; }
  .header__offer { min-height: 52px; padding: 13px 26px; font-size: .9375rem; }
  .nav { margin: 0; overflow: visible; border: 0; justify-self: center; }
  .nav ul { gap: 32px; padding: 0; }
  .nav a { padding: 4px 0; border-bottom-width: 2px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header__phone { display: none; }
  .brand__logo { max-width: 200px; }
}

/* Mobil (under 640 px): namn, ringknapp och Meny på en rad. Länkarna ligger i
   en meny som fälls ut under sidhuvudet; från 640 px visas länkraden. */
.menu { grid-area: menu; }
.menu__button {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; border: 2px solid rgba(255, 255, 255, .6);
  color: var(--white); font-weight: 600; line-height: 1.2; cursor: pointer; list-style: none; user-select: none;
}
.menu__button::-webkit-details-marker { display: none; }
.menu__button:hover { background: var(--natt-ljus); }
/* Tre streck som blir ett kryss när menyn är öppen. */
.menu__icon { position: relative; width: 18px; height: 2px; background: currentColor; }
.menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .15s; }
.menu__icon::before { top: -6px; }
.menu__icon::after { top: 6px; }
.menu[open] .menu__icon { background: transparent; }
.menu[open] .menu__icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu__icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu__label--open, .menu[open] .menu__label--closed { display: none; }
.menu[open] .menu__label--open { display: inline; }
.menu__panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
  background: var(--natt); border-bottom: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}
.menu__panel a {
  display: block; padding: 14px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid transparent;
  color: var(--white); font-size: .9375rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none;
}
.menu__panel li:first-child a { border-top: 0; }
.menu__panel a:hover { background: var(--natt-ljus); }
.menu__panel a[aria-current="page"] { border-left-color: var(--accent-ljus); }
@media (max-width: 639px) {
  .header__inner { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand actions menu"; column-gap: 10px; padding-bottom: 14px; }
  .nav { display: none; }
  /* Meny-knappen visar bara ikonen (skärmläsare läser den fortfarande som "Meny"). */
  .menu__button { padding-inline: 11px; }
  .menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand__name { font-size: 1.25rem; overflow-wrap: anywhere; }
  .header__offer { padding-inline: 12px; }
}
/* Minsta mobilerna (320 px): mindre namn och smalare knappar. */
@media (max-width: 359px) {
  .brand { gap: 8px; }
  .brand__mark { width: 26px; height: 23px; }
  .brand__name { font-size: 1.0625rem; }
  .header__inner { column-gap: 8px; }
  .header__offer { padding-inline: 10px; font-size: .8125rem; letter-spacing: 1px; }
}
@media (min-width: 640px) { .menu { display: none; } }

/* ---------- Meddelande ---------- */

.notice { background: var(--accent); color: var(--white); font-weight: 600; }
.notice .wrap { padding-block: 14px; }

/* ---------- Toppen med gaveln ---------- */

.hero { background: var(--natt); color: var(--white); overflow: hidden; }
.hero__inner { display: grid; gap: 48px; padding-block: 56px 0; }
.hero__text { display: grid; gap: 22px; align-content: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: #D5DDE4; max-width: 620px; }
.hero .actions { margin-top: 6px; }

/* Gaveln står på sidans nederkant, som ett hus på marken. */
.gable { position: relative; align-self: end; width: 100%; max-width: 520px; justify-self: center; }
.gable__shape {
  aspect-ratio: 5 / 4; clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
  /* Falsat plåttak: falsar var 40:e pixel, ljus från vänster. */
  background:
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(0, 0, 0, .28) 36px 38px, rgba(255, 255, 255, .16) 38px 40px),
    linear-gradient(100deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .22)),
    var(--accent);
}
.gable--image .gable__shape { aspect-ratio: 4 / 5; background: linear-gradient(135deg, #7C8790, #3E4952); }
.gable__shape img { width: 100%; height: 100%; object-fit: cover; }
.gable__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(21, 33, 44, .82);
  color: var(--white); font-size: .875rem; line-height: 1.4;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding-top: 88px; }
  .hero__text { padding-bottom: 88px; }
  .gable { justify-self: end; }
}
@media (min-width: 1024px) { .hero__inner { padding-top: 112px; } .hero__text { padding-bottom: 112px; } }

/* ---------- Faktarad ---------- */

.facts { background: var(--accent); color: var(--white); }
.facts__list { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-block: 20px; }
.facts__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; line-height: 1.35; }
.facts__list li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
@media (min-width: 1024px) { .facts__list { justify-content: space-between; padding-block: 24px; } }

/* ---------- Sektioner ---------- */

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--dark { background: var(--natt); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead--muted { color: var(--on-dark); }
.section__head { display: grid; gap: 14px; justify-items: start; margin-bottom: 40px; }
.section__head .lead { max-width: 720px; }
.section__head--row > div { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 768px) { .section__head--row { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }
@media (min-width: 1024px) { .section__head { margin-bottom: 56px; } }

.more { display: inline-flex; gap: 6px; color: var(--natt); font-size: .875rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.more:hover { text-decoration-color: var(--accent); }

.tag { display: inline-block; padding: 4px 10px; background: var(--accent); color: var(--white); font-size: .75rem; line-height: 1.5; letter-spacing: 1.4px; }
.tag--dark { background: var(--natt); }

/* ---------- Tjänster ---------- */

.services { display: grid; gap: 20px; counter-reset: tjanst; }
.service { display: grid; gap: 10px; align-content: start; padding: 26px 26px 30px; background: var(--plat); border-top: 4px solid var(--accent); counter-increment: tjanst; }
.service::before { content: counter(tjanst, decimal-leading-zero); color: var(--accent); font-family: var(--head); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.service p { color: var(--muted); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Fyra tjänster: två och två i stället för tre plus en. */
  .services:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Serviceavtal ---------- */

.plan__inner { display: grid; gap: 40px; align-items: center; }
.plan__text { display: grid; gap: 16px; justify-items: start; }
.plan__text .actions { margin-top: 8px; }
.plan__card { padding: 32px 28px; background: var(--natt-ljus); border-top: 4px solid var(--accent); }
.plan__card h3 { margin-bottom: 18px; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #DCE3E9; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 15px; height: 8px; border-left: 3px solid var(--accent-ljus); border-bottom: 3px solid var(--accent-ljus); transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .plan__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; }
  .plan__card { padding: 40px; }
}

/* ---------- Referenser ---------- */

.projects { display: grid; gap: 24px; }
.project { display: flex; flex-direction: column; background: var(--white); }
.project__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #8D98A1, #47525B); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__media .tag { position: absolute; top: 16px; left: 16px; }
.project__body { display: grid; gap: 16px; padding: 22px 24px 24px; }
.project__facts { display: flex; border-top: 1px solid var(--line); }
.project__facts > div { display: grid; gap: 2px; padding: 12px 14px 0; border-left: 1px solid var(--line); }
.project__facts > div:first-child { flex: 1; padding-left: 0; border-left: 0; }
.project__facts dt { color: var(--muted); font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: 1.4px; text-transform: uppercase; }
.project__facts dd { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Före och efter ---------- */

.pair { display: grid; gap: 24px; }
.pair__item { position: relative; min-width: 0; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #A2ABB2, #5F6A73); }
.pair__item img { width: 100%; height: 100%; object-fit: cover; }
.pair__item .tag { position: absolute; top: 18px; left: 18px; }
@media (min-width: 640px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Så går det till ---------- */

.steps { display: grid; gap: 40px 24px; counter-reset: steg; }
.step { display: grid; gap: 10px; align-content: start; counter-increment: steg; }
/* Varje steg börjar med en takfotslinje; den första i accentfärgen. */
.step::before { content: ""; height: 6px; background: var(--natt); }
.step:first-child::before { background: var(--accent); }
.step h3::before { content: counter(steg, decimal-leading-zero); display: block; margin-bottom: 8px; color: var(--natt); font-size: 3.5rem; font-weight: 600; line-height: 1.05; }
.step p { color: var(--muted); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }

/* ---------- Behörighet ---------- */

.split { display: grid; gap: 32px; }
.split__text { display: grid; gap: 16px; justify-items: start; align-content: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }

.certs { display: grid; gap: 12px; }
.cert { display: flex; align-items: center; gap: 20px; padding: 20px 22px; background: var(--white); }
.cert__mark { flex: none; width: 64px; height: 64px; object-fit: contain; }
/* Utan märke: en sköld med ett takfall. */
.cert__icon { position: relative; flex: none; width: 48px; height: 54px; background: var(--natt); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.cert__icon::after { content: ""; position: absolute; left: 12px; top: 15px; width: 24px; height: 12px; background: var(--accent-ljus); clip-path: polygon(50% 0, 100% 100%, 80% 100%, 50% 38%, 20% 100%, 0 100%); }
.cert__title { font-size: 1.25rem; }
.cert__title a { text-decoration-thickness: 1px; }
.cert p { color: var(--muted); font-size: .9375rem; line-height: 1.45; }

/* ---------- Leverantörer ---------- */

.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brands__item { display: flex; min-width: 0; }
.brands__item, .brands__link { flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 132px; padding: 20px; background: var(--plat); text-align: center; text-decoration: none; }
.brands__link { display: flex; flex: 1; margin: -20px; }
.brands__link:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
.brands__logo { width: auto; max-width: 160px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.brands__name { color: var(--natt); font-family: var(--head); font-size: 1.5rem; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.brands__text { color: var(--muted); font-size: .875rem; line-height: 1.4; }
@media (min-width: 768px) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Omdömen ---------- */

.rating { display: grid; gap: 2px; justify-self: start; padding: 16px 24px; background: var(--natt); }
.rating__value { color: var(--accent-ljus); font-family: var(--head); font-size: 3rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.rating__text { color: var(--on-dark); font-size: .875rem; line-height: 1.4; }
a.rating__text:hover { color: var(--white); }
.reviews { display: grid; gap: 24px; }
.review figure { display: grid; gap: 16px; height: 100%; padding: 28px; background: var(--white); border-top: 4px solid var(--accent); }
.stars { color: var(--accent); font-size: 1.125rem; letter-spacing: 2px; }
.review figcaption { display: grid; align-self: end; }
.review__name { color: var(--natt); font-weight: 600; line-height: 1.35; }
.review__detail { color: var(--muted); font-size: .875rem; line-height: 1.4; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

/* ---------- Om oss ---------- */

.about { display: grid; gap: 40px; align-items: center; }
.about__media { position: relative; aspect-ratio: 5 / 4; background: linear-gradient(135deg, #8D98A1, #47525B); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .caption { position: absolute; left: 0; right: 0; bottom: 0; }
.caption { padding: 10px 16px; background: rgba(21, 33, 44, .82); color: var(--white); font-size: .875rem; line-height: 1.4; }
.about__text { display: grid; gap: 16px; justify-items: start; align-content: start; }
.about__text > * { justify-self: stretch; }
.about__text .eyebrow { justify-self: start; }
.about__text .rows { margin-top: 8px; }
.prose { display: grid; gap: 16px; color: var(--muted); font-size: 1.1875rem; line-height: 1.6; }
.prose a { color: var(--natt); }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose h2, .prose h3, .prose h4 { color: var(--natt); font-size: 1.375rem; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; }
  .about--text { grid-template-columns: minmax(0, 720px); }
}

/* Etikett–värde-rader: om oss och kontakt. */
.rows { border-top: 1px solid var(--line); }
.rows--strong { border-top: 2px solid var(--natt); }
.rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.6; letter-spacing: 1.4px; text-transform: uppercase; }
.rows dd { color: var(--ink); font-weight: 600; line-height: 1.4; text-align: right; }
.rows dd a { text-decoration: none; }
.rows dd a:hover { text-decoration: underline; }
.hours { border-collapse: collapse; margin-left: auto; }
.hours th { padding: 0 16px 0 0; font-weight: 600; text-align: left; }
.hours td { padding: 0; text-align: right; }

/* ---------- Frågor ---------- */

.faq { border-top: 2px solid var(--natt); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; cursor: pointer; list-style: none;
  color: var(--natt); font-family: var(--head); font-size: 1.375rem; font-weight: 500; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.75rem; line-height: 1; }
.faq details[open] summary { padding-bottom: 8px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; max-width: 65ch; color: var(--muted); }

/* ---------- Serviceområde ---------- */

.towns { display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; line-height: 1.5; }

/* ---------- Kontakt ---------- */

.contact { display: grid; gap: 40px; }
.contact__text { display: grid; gap: 16px; justify-items: start; align-content: start; }
.contact__text > .rows, .contact__text > .people, .contact__text > .lead { justify-self: stretch; }
.contact__text .rows { margin-top: 8px; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .contact--text { grid-template-columns: minmax(0, 720px); }
}
.people { display: grid; gap: 12px; margin-top: 4px; }
.person { padding: 16px 20px; background: var(--white); border-left: 4px solid var(--accent); line-height: 1.5; }
.person__name { color: var(--natt); font-family: var(--head); font-size: 1.25rem; font-weight: 500; }
.person__role { color: var(--muted); font-size: .9375rem; }
.person a { font-weight: 600; text-decoration: none; }
.person a:hover { text-decoration: underline; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

.formcard { display: grid; gap: 20px; align-content: start; padding: 28px 20px; background: var(--white); border-top: 6px solid var(--accent); }
.formcard--solo { max-width: 600px; }
@media (min-width: 640px) { .formcard { padding: 40px; } }

/* Kontaktformuläret från plattformen. */
.contact-form { display: grid; gap: 18px 16px; }
.contact-form p { display: grid; gap: 6px; }
.contact-form label { color: var(--natt); font-size: .8125rem; font-weight: 600; line-height: 1.5; letter-spacing: 1.4px; text-transform: uppercase; }
.contact-form__optional { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--input); border-radius: 0; background: var(--white);
  color: var(--ink); font: inherit; line-height: 1.5;
}
.contact-form textarea { min-height: 136px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--natt); }
.contact-form .contact-form__check label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1rem; letter-spacing: 0; text-transform: none; cursor: pointer; }
.contact-form .contact-form__check input { flex: none; width: 20px; min-height: 0; height: 20px; padding: 0; accent-color: var(--accent); }
.contact-form button {
  width: 100%; min-height: 52px; padding: 13px 26px; border: 0; background: var(--accent); color: var(--white); cursor: pointer;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
}
.contact-form button:hover { background: var(--accent-mork); }
.contact-form__note { color: var(--muted); font-size: .875rem; line-height: 1.45; }
@media (min-width: 640px) {
  /* Namn och telefon bredvid varandra, kryssrutan direkt under. */
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form > * { grid-column: 1 / -1; }
  .contact-form > p:has(#cf-namn) { grid-column: 1; order: -2; }
  .contact-form > p:has(#cf-telefon) { grid-column: 2; order: -1; }
  .contact-form > .contact-form__check { order: -1; }
}

/* ---------- Undersida ---------- */

.page-head { padding-block: 56px 8px; }
.page-head .wrap { display: grid; gap: 16px; justify-items: start; }
.page-head h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.page-head .lead { color: var(--muted); max-width: 720px; }
.page-head .lead a { color: var(--natt); font-weight: 600; }
@media (min-width: 1024px) { .page-head { padding-top: 96px; } }

/* ---------- Sidfot ---------- */

.footer { padding-block: 56px 32px; background: var(--natt); color: var(--white); font-size: .9375rem; line-height: 1.65; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; gap: 32px; }
.footer__company { display: grid; gap: 12px; align-content: start; }
.brand--footer { grid-area: auto; justify-self: start; }
.footer__muted { color: var(--on-dark); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__label { color: var(--accent-ljus); font-size: .8125rem; line-height: 1.5; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
@media (min-width: 1024px) { .footer { padding-top: 72px; } .footer__top { grid-template-columns: minmax(0, 520fr) minmax(0, 260fr) minmax(0, 260fr); gap: 80px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
