/* Bygg och renovering – Markprofil
   För mark- och anläggningsföretag: dränering, avlopp, grund, marksten och
   schakt. Ljust grus och vitt, mörk mossgrön text, maskingult för allt man
   trycker på. Kännetecknet är markprofilen – jordlager i genomskärning med
   matjord, grus, makadam och ett dräneringsrör – under toppen, mellan före-
   och efterbilden, under sifferraden och ovanför kontakt. Gula höjd-
   markeringar (▼) framför etiketterna och mått i stället för stegnummer.
   Archivo i bred skärning för rubriker och siffror, normal bredd för text.
   Mobil först. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --grus: #F4F1EA;
  --grus-mork: #EBE5D8;
  --white: #FFFFFF;
  --ink: #24301F;
  --moss: #4E6B3A;
  --moss-ljus: #E3EAD9;
  --gul: #F2B705;
  --gul-hover: #DDA700;
  --gul-ljus: #FBEFC4;
  --gul-mork: #A87C00;
  --muted: #56604E;
  --on-dark: #BAC4B0;
  --line: #DDD5C5;
  --line-dark: rgba(255, 255, 255, .14);
  --input: #B9AE98;
  --matjord: #4B3A2A;
  --chip: rgba(36, 48, 31, .88);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --section: 64px;
  /* Höjdmarkeringen ▼: gul med mörkare kant. */
  --tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 10'%3E%3Cpath d='M.9.9h9.2L5.5 8.9z' fill='%23F2B705' stroke='%23A87C00' stroke-linejoin='round'/%3E%3C/svg%3E");
  --tri-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 10'%3E%3Cpath d='M.5.5h10L5.5 9.5z' fill='%2324301F'/%3E%3C/svg%3E");
}
@media (min-width: 640px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 96px; } }
@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(--grus); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.53; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
[id] { scroll-margin-top: 80px; }

/* Rubriker och siffror i bred skärning. */
h1, h2, h3, .h3, .brand__name, .stratum__value, .machine__size, .rating__value { font-stretch: 125%; }
h1, h2, h3, .h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: 2rem; font-weight: 800; line-height: 1.12; letter-spacing: -.4px; }
h2 { font-size: 1.5625rem; font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
h3, .h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.33; letter-spacing: -.1px; }
@media (min-width: 768px) {
  h1 { font-size: clamp(2.5rem, 1.2rem + 2.6vw, 3.375rem); line-height: 1.075; letter-spacing: -1px; }
  h2 { font-size: clamp(1.875rem, 1.3rem + 1.2vw, 2.375rem); line-height: 1.16; letter-spacing: -.6px; }
}

/* Etiketten: en gul höjdmarkering, sedan versaler i mossgrönt. */
.tri, .eyebrow::before { content: ""; display: inline-block; flex: none; width: 11px; height: 10px; background: var(--tri) no-repeat center / contain; }
.eyebrow, .label { display: inline-flex; align-items: center; gap: 8px; color: var(--moss); font-size: .75rem; font-stretch: 125%; font-weight: 600; line-height: 1.33; letter-spacing: 1.1px; text-transform: uppercase; }
.lead { font-size: 1.125rem; line-height: 1.55; }
@media (min-width: 768px) { .lead { font-size: 1.25rem; line-height: 1.5; } }
.lead--muted { color: var(--muted); }
.small { color: var(--muted); font-size: .9375rem; line-height: 1.45; }

.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: 30; padding: 10px 16px; border-radius: 6px; background: var(--gul); color: var(--ink); font-weight: 700; }
.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 24px; border: 1.5px solid transparent; border-radius: 6px;
  font-family: var(--font); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer;
}
.btn--gul { background: var(--gul); color: var(--ink); }
.btn--gul:hover { background: var(--gul-hover); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--white); }
.btn--block { display: flex; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .hero .actions .btn { flex: 1 1 100%; } }

.more { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; white-space: nowrap; }
.more:hover { text-decoration-color: var(--gul-mork); text-decoration-thickness: 2px; }

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

/* Fast överst på mobilen, så att Ring alltid går att nå. */
.header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand actions menu"; align-items: center; gap: 12px; min-height: 64px; padding-block: 10px; }
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
/* Märket: matjord, grus och makadam med ett dräneringsrör och en höjdmarkering. */
.brand__mark {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(var(--matjord) 0 13px, #D3C29C 13px 22px, #A39F95 22px 25px, var(--moss) 25px 31px, #A39F95 31px);
}
.brand__mark::before { content: ""; position: absolute; left: 3px; right: 0; top: 27.5px; height: 1.2px; background: repeating-linear-gradient(90deg, #1E281A 0 2.5px, transparent 2.5px 9px); }
.brand__mark::after { content: ""; position: absolute; left: 12px; top: 0; width: 12px; height: 7px; background: var(--gul); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.brand__text { display: grid; min-width: 0; }
.brand__name { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.brand__sub { color: var(--muted); font-size: .8125rem; line-height: 1.25; }
.brand__logo { display: block; flex: 0 1 auto; min-width: 0; width: auto; height: 40px; max-width: min(220px, 50vw); object-fit: contain; object-position: left center; }
.header__actions { grid-area: actions; display: flex; align-items: center; gap: 20px; }
.header__phone { display: none; font-size: 1.0625rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; }
.header__call { min-height: 42px; padding: 8px 16px; }
.header__call-long { display: none; }

.nav { display: none; }
.nav ul { display: flex; gap: 36px; }
.nav a { display: block; padding: 6px 0; font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--gul); }

.menu { grid-area: menu; }
.menu__button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); cursor: pointer; list-style: none; user-select: none; }
.menu__button::-webkit-details-marker { display: none; }
/* Tre streck som blir ett kryss när menyn är öppen. */
.menu__icon { position: relative; width: 22px; height: 2px; background: currentColor; }
.menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .15s; }
.menu__icon::before { top: -7px; }
.menu__icon::after { top: 7px; }
.menu[open] .menu__icon { background: transparent; }
.menu[open] .menu__icon::before { transform: translateY(7px) rotate(45deg); }
.menu[open] .menu__icon::after { transform: translateY(-7px) rotate(-45deg); }
.menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.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; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 14px 28px rgba(36, 48, 31, .14); }
.menu__panel a { display: block; padding: 15px var(--gutter); border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.menu__panel a:hover { background: var(--grus); }
.menu__panel a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gul); }

@media (min-width: 480px) { .header__call-short { display: none; } .header__call-long { display: inline; } }
@media (min-width: 1024px) {
  .header { position: relative; }
  .header__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav actions"; gap: 32px; min-height: 84px; }
  .nav { display: block; grid-area: nav; justify-self: center; }
  .menu { display: none; }
  .brand__name { font-size: 1.125rem; }
}
@media (min-width: 1200px) { .header__phone { display: inline; } }
@media (max-width: 359px) {
  .brand { gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 1rem; }
  .header__inner { gap: 8px; }
  .header__call { padding-inline: 12px; }
}

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

.notice { background: var(--gul-ljus); border-bottom: 1px solid #EBD98F; font-size: .9375rem; line-height: 1.4; }
.notice p { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 10px; text-align: center; }

/* ---------- Markprofilen ---------- */

/* Jordlagren i genomskärning, ritade i markprofil.svg som upprepas vågrätt. */
.profil { position: relative; height: 96px; background: url("../img/markprofil.svg") repeat-x 0 100% / auto 100%; }
@media (min-width: 768px) { .profil { height: 120px; } }
.profil--kontakt { height: 76px; }
@media (min-width: 768px) { .profil--kontakt { height: 88px; } }
/* Lagrens namn till höger, i höjd med respektive lager. */
.profil__namn { display: none; }
@media (min-width: 768px) {
  .profil__namn { display: block; position: absolute; inset: 0; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .profil__namn li {
    position: absolute; right: var(--gutter); transform: translateY(-50%); padding: 1px 8px; border-radius: 3px; background: rgba(255, 255, 255, .9);
    font-size: .65625rem; font-stretch: 125%; font-weight: 600; line-height: 1.4; letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap;
  }
  .profil__namn li:nth-child(1) { top: 22%; }
  .profil__namn li:nth-child(2) { top: 42.5%; }
  .profil__namn li:nth-child(3) { top: 61.5%; }
  .profil__namn li:nth-child(4) { top: 76.5%; }
}

/* Skyltar på bilder och lager. */
.tag {
  position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px); padding: 3px 10px; border-radius: 3px;
  background: var(--white); color: var(--ink); font-size: .75rem; font-stretch: 125%; font-weight: 600; line-height: 1.4; letter-spacing: 1.1px; text-transform: uppercase;
}
.tag--gul { background: var(--gul); }
.tag--gul::before { content: ""; flex: none; width: 10px; height: 9px; background: var(--tri-ink) no-repeat center / contain; }
.tag--plain::before { display: none; }
.chip { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 3px 8px; border-radius: 4px; background: var(--chip); color: var(--white); font-size: .875rem; line-height: 1.45; }

/* Bild i vit ram. */
.frame { position: relative; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.frame .tag { left: 20px; top: 20px; }
.frame .chip { left: 20px; bottom: 20px; }

/* ---------- Toppen ---------- */

.hero__inner { display: grid; gap: 36px; padding-block: 36px 40px; }
.hero__text { display: grid; gap: 20px; justify-items: start; align-content: center; }
.hero .lead { max-width: 600px; }
.hero .actions { justify-self: stretch; }
.facts { display: flex; flex-wrap: wrap; gap: 2px 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.facts li + li::before { content: "·"; padding-inline: 10px; }
.hero__media { aspect-ratio: 7 / 6; }
/* Utan bild: jordlagren i stort, som ett borrprov. */
.frame--profil::before {
  content: ""; position: absolute; inset: 8px; border-radius: 13px;
  background: url("../img/markprofil.svg") repeat-x 0 100% / auto 100%, linear-gradient(#DCE6EE, #EEF1EA 60%);
  background-size: auto 62%, auto;
  background-position: 0 100%, 0 0;
  background-repeat: repeat-x, no-repeat;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 620fr) minmax(0, 500fr); gap: 80px; align-items: center; padding-block: 72px 56px; }
  .hero .actions { justify-self: start; }
}

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

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--mork { background: var(--grus-mork); }
.section__head { display: grid; gap: 12px; justify-items: start; margin-bottom: 32px; }
.section__head .lead { max-width: 760px; }
.section__head--row > div { display: grid; gap: 12px; 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: 48px; } }

.split { display: grid; gap: 32px; }
.split__text { display: grid; gap: 12px; justify-items: start; align-content: start; }
.split__text > p { max-width: 560px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .split__text--sticky { position: sticky; top: 32px; align-self: start; }
}

/* ---------- Bilder från jobb ---------- */

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #B6A98C, #6E6450); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .chip { left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: .8125rem; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery figure { aspect-ratio: 10 / 7; }
  .gallery .chip { left: 12px; bottom: 12px; font-size: .875rem; }
}

/* ---------- Tjänster: rader som en prislista ---------- */

.services { border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.service__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: var(--moss-ljus); color: var(--moss); }
.service__body { display: grid; gap: 6px; }
.service__title { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.service__title > span:first-child { min-width: 0; }
.leader { flex: 1 1 24px; align-self: center; min-width: 16px; height: 2px; margin-top: 4px; background: radial-gradient(circle, var(--muted) .9px, transparent 1.1px) repeat-x 0 50% / 6px 2px; }
.mark { flex: none; padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--muted); font-size: .8125rem; font-stretch: 100%; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.mark--rot { border-color: var(--moss-ljus); background: var(--moss-ljus); color: var(--moss); }
.service p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
/* Smal skärm: ingen prickad linje, märkningen står kvar till höger. */
@media (max-width: 479px) {
  .service__title { align-items: flex-start; }
  .leader { display: none; }
  .service__title > span:first-child { flex: 1 1 0; }
}

/* ---------- Kort ---------- */

.cards { display: grid; gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card__title { display: flex; align-items: flex-start; gap: 10px; }
.card__title .tri { margin-top: .45em; }
@media (min-width: 640px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .card { padding: 28px; } }

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

.compare { display: grid; gap: 32px; }
.compare__text { display: grid; gap: 14px; justify-items: start; align-content: center; }
.compare__text > .rows { justify-self: stretch; margin-top: 8px; }
.compare__media { overflow: hidden; border-radius: 16px; background: var(--grus-mork); }
.compare__img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #B8AE96, #7D7360); }
.compare__img + .profil + .compare__img { background: linear-gradient(160deg, #C4C2A6, #879568); }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
/* Gräset står upp i förebilden. */
.profil--mellan { z-index: 1; height: 76px; margin-top: -12px; }
.profil--mellan .tag { top: 9px; padding-inline: 8px; font-size: .6875rem; letter-spacing: .6px; }
@media (min-width: 768px) { .compare__img { aspect-ratio: 9 / 4; } .profil--mellan { height: 100px; } .profil--mellan .tag { top: 12px; padding-inline: 10px; font-size: .75rem; letter-spacing: 1.1px; } }
@media (min-width: 1024px) {
  .compare { grid-template-columns: minmax(0, 440fr) minmax(0, 680fr); gap: 80px; align-items: center; }
}

/* ---------- Sifferrad på jordlager ---------- */

/* Varje rad är ett lager med vågig överkant. Gräs ovanpå matjorden och
   dräneringsröret längst ner i det fjärde lagret. */
.strata { padding-top: 12px; }
.stratum { position: relative; background: var(--lager); }
.stratum::before {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 10px; background: var(--lager);
  -webkit-mask: url("../img/vag.svg") repeat-x 0 0 / 240px 10px; mask: url("../img/vag.svg") repeat-x 0 0 / 240px 10px;
}
.stratum:nth-child(1) { --lager: url("../img/matjord.svg") 0 0 / 160px 160px; color: var(--white); }
.stratum:nth-child(1)::before { top: -11px; height: 13px; -webkit-mask: none; mask: none; background: url("../img/gras.svg") repeat-x 0 100% / 120px 12px, linear-gradient(transparent 10px, var(--matjord) 10px); }
.stratum:nth-child(2) { --lager: url("../img/grus.svg") 0 0 / 160px 160px; }
.stratum:nth-child(n+3) { --lager: url("../img/makadam.svg") 0 0 / 160px 160px; }
.stratum:nth-child(4) { padding-bottom: 14px; }
.stratum:nth-child(4)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 14px; background: url("../img/ror.svg") repeat-x 0 0 / 40px 14px; }
/* Det fjärde lagret lite mörkare, så att vågen syns mot det tredje. */
.stratum:nth-child(4) { --lager: linear-gradient(rgba(36, 48, 31, .1), rgba(36, 48, 31, .1)), url("../img/makadam.svg") 0 0 / 160px 160px; }
.stratum__inner { display: grid; gap: 4px 24px; padding-block: 22px 24px; }
.stratum__value { font-size: 2.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -.6px; }
.stratum__text { font-size: 1.0625rem; line-height: 1.45; }
.stratum__tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 10px; border-radius: 3px;
  background: rgba(36, 48, 31, .9); color: #EDEBE2; font-size: .6875rem; font-stretch: 125%; font-weight: 600; line-height: 1.4; letter-spacing: 1.1px; text-transform: uppercase;
}
.stratum__tag::before { content: ""; flex: none; width: 10px; height: 9px; margin-right: 4px; background: var(--tri) no-repeat center / contain; }
.stratum:nth-child(1) .stratum__tag { color: var(--gul); }
.stratum__layer::after { content: "Makadam"; }
.stratum:nth-child(1) .stratum__layer::after { content: "Matjord"; }
.stratum:nth-child(2) .stratum__layer::after { content: "Grus"; }
.stratum:nth-child(4) .stratum__layer::after { content: "Dräneringsrör"; }
@media (min-width: 768px) {
  .stratum__inner { grid-template-columns: minmax(0, 320px) minmax(0, 1fr) auto; align-items: center; min-height: 108px; padding-block: 20px; }
  .stratum__value { font-size: 3.25rem; line-height: 1.08; letter-spacing: -.8px; }
  .stratum__tag { margin-top: 0; }
}

/* ---------- Maskinpark ---------- */

.machine { gap: 8px; }
.machine::before { content: ""; width: 48px; height: 4px; border-radius: 2px; background: var(--gul); }
.machine--bild::before { margin-top: 4px; }
.machine__img { order: -1; width: calc(100% + 48px); max-width: none; margin: -24px -24px 8px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px 9px 0 0; }
@media (min-width: 1024px) { .machine__img { width: calc(100% + 56px); margin: -28px -28px 8px; } }
.machine .machine__size { color: var(--ink); font-size: 2.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.6px; }

/* ---------- Så går det till: en måttstock ---------- */

.depth { position: relative; display: grid; gap: 28px; padding-left: 104px; }
.depth::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 9px;
  background: linear-gradient(var(--ink) 0 0) 0 0 / 1.5px 100% no-repeat, repeating-linear-gradient(transparent 0 9.5px, var(--ink) 9.5px 11px) 0 0 / 7px 100% no-repeat;
}
.depth__step { position: relative; display: grid; gap: 6px; align-content: start; min-height: 72px; }
.depth__step::before {
  content: ""; position: absolute; left: -104px; top: 2px; padding-left: 24px; background: var(--tri) no-repeat 0 4px / 13px 11px;
  font-size: 1.0625rem; font-stretch: 125%; font-weight: 800; line-height: 1.3; white-space: nowrap;
}
.depth__step:nth-child(1)::before { content: "0,3 m"; }
.depth__step:nth-child(2)::before { content: "0,6 m"; }
.depth__step:nth-child(3)::before { content: "0,9 m"; }
.depth__step:nth-child(4)::before { content: "1,2 m"; }
.depth__step:nth-child(5)::before { content: "1,5 m"; }
.depth__step:nth-child(6)::before { content: "1,8 m"; }
.depth__step:nth-child(7)::before { content: "2,1 m"; }
.depth__step:nth-child(8)::before { content: "2,4 m"; }
.depth__step:nth-child(9)::before { content: "2,7 m"; }
.depth__step:nth-child(10)::before { content: "3,0 m"; }
.depth__step p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (min-width: 1024px) { .depth { gap: 36px; padding-left: 112px; } .depth__step::before { left: -112px; } }

/* ---------- Vad kostar det? ---------- */

.factors { display: grid; gap: 10px; margin-top: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9375rem; line-height: 1.4; }
.pricecard { display: grid; gap: 18px; align-content: start; padding: 8px 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.prices > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.prices dt { display: flex; align-items: baseline; flex: 1 1 260px; gap: 8px; line-height: 1.45; }
.prices dt::after { content: ""; flex: 1 1 24px; min-width: 24px; height: 2px; background: radial-gradient(circle, var(--muted) .9px, transparent 1.1px) repeat-x 0 50% / 6px 2px; }
.prices dd { flex: none; margin-left: auto; font-weight: 600; white-space: nowrap; }
@media (max-width: 479px) { .prices dt::after { display: none; } .prices dd { margin-left: 0; } }
@media (min-width: 640px) { .pricecard { padding: 12px 28px 28px; } }

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

.rating { display: grid; gap: 2px; justify-self: start; padding: 14px 20px; border-radius: 10px; background: var(--grus); }
.rating__value { font-size: 2.25rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.rating__text { color: var(--muted); font-size: .875rem; }
.review { border: 0; background: var(--grus); }
.review figure { display: grid; gap: 14px; }
.stars { color: var(--gul-mork); letter-spacing: 3px; }
.review blockquote p { color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.review figcaption { color: var(--muted); font-size: .9375rem; }

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

.about { display: grid; gap: 32px; align-items: center; }
.about__media { aspect-ratio: 6 / 5; }
.about__text { display: grid; gap: 14px; justify-items: start; }
.about__text > .prose, .about__text > .rows { justify-self: stretch; }
.prose { display: grid; gap: 14px; color: var(--muted); }
.prose a { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose h2, .prose h3, .prose h4 { font-size: 1.125rem; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 500fr) minmax(0, 620fr); gap: 80px; }
  .about--text { grid-template-columns: minmax(0, 720px); }
}

/* Etikett–värde-rader. */
.rows { border-top: 1px solid var(--line); }
.rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); font-size: .75rem; font-stretch: 125%; font-weight: 600; line-height: 1.9; letter-spacing: 1.1px; text-transform: uppercase; }
.rows dd { margin-left: auto; color: var(--ink); font-weight: 600; line-height: 1.45; text-align: right; }
.rows dd a { text-decoration: none; }
.rows dd a:hover { text-decoration: underline; }

/* ---------- Område, behörighet, frågor ---------- */

.towns { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.towns li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 1rem; font-weight: 500; line-height: 1.4; }
.towns li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
/* Hemorten först, med höjdmarkeringen. */
.towns li:first-child::before { width: 11px; height: 10px; border-radius: 0; background: var(--tri) no-repeat center / contain; }

.checklist { border-top: 2px solid var(--ink); }
.checklist li { display: flex; align-items: baseline; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.checklist strong { display: block; font-weight: 700; }
.checklist__text { display: block; color: var(--muted); font-size: .9375rem; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; font-size: 1.125rem; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--moss); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; max-width: 65ch; color: var(--muted); }

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

.contact { display: grid; gap: 40px; }
.contact__text { display: grid; gap: 14px; align-content: start; }
.contact__text > .eyebrow { justify-self: start; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 535fr) minmax(0, 600fr); gap: 64px; align-items: start; }
  .contact--text { grid-template-columns: minmax(0, 720px); }
}
.callcard { display: grid; gap: 18px; margin-top: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.callcard .rows:empty { display: none; }
.people { display: grid; border-top: 1px solid var(--line); }
.people li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.people__name { display: block; font-weight: 600; line-height: 1.35; }
.people__role { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.35; }
.people__tel { margin-left: auto; font-weight: 600; white-space: nowrap; }
.people + .rows { border-top: 0; }

.formcard { display: grid; gap: 18px; align-content: start; padding: 24px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.formcard--solo { max-width: 600px; }
@media (min-width: 640px) { .formcard { padding: 32px; } }

/* Kontaktformuläret från plattformen. */
.contact-form { display: grid; gap: 16px; }
.contact-form p { display: grid; gap: 6px; }
.contact-form label { color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.contact-form__optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--input); border-radius: 6px; background: var(--white);
  color: var(--ink); font: inherit; line-height: 1.5;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: var(--moss); }
/* "Ring mig gärna" som en strömbrytare. */
.contact-form .contact-form__check { padding: 12px 14px; border-radius: 8px; background: var(--grus); }
.contact-form .contact-form__check label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.contact-form .contact-form__check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 40px; min-height: 0; height: 24px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: radial-gradient(circle at 12px 50%, var(--white) 8px, transparent 8.5px), #A8A28F; transition: background-color .15s;
}
.contact-form .contact-form__check input:checked { background: radial-gradient(circle at 28px 50%, var(--white) 8px, transparent 8.5px), var(--moss); }
.contact-form .contact-form__check input:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.contact-form button {
  width: 100%; min-height: 52px; padding: 13px 24px; border: 0; border-radius: 6px; background: var(--gul); color: var(--ink); cursor: pointer;
  font-family: var(--font); font-size: 1.0625rem; font-weight: 700;
}
.contact-form button:hover { background: var(--gul-hover); }
.contact-form__note { color: var(--muted); font-size: .875rem; line-height: 1.45; }
@media (min-width: 640px) {
  /* Namn och telefon bredvid varandra. */
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .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; }
}

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

.page-head { padding-block: 48px 8px; }
.page-head .wrap { display: grid; gap: 14px; justify-items: start; }
.page-head .lead { color: var(--muted); max-width: 700px; }
.page-head .lead a { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) { .page-head { padding-top: 88px; } }
.page-head + .profil--kontakt { margin-top: 32px; }

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

.footer { padding-block: 48px 28px; background: var(--ink); 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: 10px; align-content: start; }
.brand--footer { grid-area: auto; color: var(--white); }
.brand--footer .brand__sub { color: var(--on-dark); }
.footer__muted { color: var(--on-dark); }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__label { color: var(--gul); font-size: .75rem; font-stretch: 125%; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
