/* Installation – Varmt & kallt
   För VVS-firmor och värmepumpsinstallatörer. Vattenblått och benvitt med
   koppar för allt man trycker på. Varmt (rött) och kallt (blått) går igen som
   två prickar framför etiketterna och som rör som löper genom sidan: längs
   toppens nederkant och ner i trygghetsraden, som linjer mellan avsnitt och
   genom stegen. Space Grotesk för rubriker och knappar, Source Sans 3 för
   text. Mobil först. */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/spacegrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/sourcesans3.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --vatten: #173A5E;
  --vatten-mork: #0F2A45;
  --benvit: #F7F2EA;
  --benvit-mork: #EFE6D8;
  --isbla: #E6EDF4;
  --persika: #F3E2D2;
  --koppar: #B8642E;
  --koppar-mork: #9C5124;
  --koppar-ljus: #F2A46B;
  --varm: #D2452F;
  --kall: #3A86D0;
  --ink: #1B2633;
  --muted: #55606B;
  --on-dark: #C9D6E3;
  --line: #E2D8C8;
  --line-dark: rgba(255, 255, 255, .16);
  --input: #B9B0A2;
  --white: #FFFFFF;
  --head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --section: 64px;
  /* Vänsterkanten på innehållet, där rören böjer ner. */
  --edge: max(var(--gutter), calc((100% - 1200px) / 2));
}
@media (min-width: 640px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 104px; } }
@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(--benvit); color: var(--ink); font-family: var(--sans); 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(--kall); outline-offset: 2px; }
[id] { scroll-margin-top: 80px; }

h1, h2, h3, .h3 { font-family: var(--head); font-weight: 700; color: var(--vatten); text-wrap: balance; }
h1 { font-size: 2.25rem; line-height: 1.11; letter-spacing: -.6px; }
h2 { font-size: 1.75rem; line-height: 1.21; letter-spacing: -.4px; }
h3, .h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.2px; }
@media (min-width: 768px) {
  h1 { font-size: clamp(2.75rem, 1.5rem + 3vw, 3.75rem); line-height: 1.07; letter-spacing: -1.2px; }
  h2 { font-size: clamp(2.125rem, 1.4rem + 1.6vw, 2.625rem); line-height: 1.14; letter-spacing: -.8px; }
}

/* Etiketten: en röd och en blå prick, sedan versaler. */
.dots, .eyebrow::before {
  content: ""; display: inline-block; flex: none; width: 18px; height: 8px;
  background: radial-gradient(circle at 4px 4px, var(--varm) 3.6px, transparent 4px), radial-gradient(circle at 14px 4px, var(--kall) 3.6px, transparent 4px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--head); font-size: .8125rem; font-weight: 500; line-height: 1.25; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow--light { color: var(--on-dark); }
.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(--koppar); 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 ---------- */

/* Kopparn klarar kontrastkravet för stor text, så knapptexten är 19 px fet. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 24px; border: 2px solid transparent; border-radius: 6px;
  font-family: var(--head); font-size: 1.1875rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer;
}
.btn--copper { background: var(--koppar); color: var(--white); }
.btn--copper:hover { background: var(--koppar-mork); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, .1); }
.btn--line { border-color: var(--vatten); color: var(--vatten); background: var(--white); }
.btn--line:hover { background: var(--isbla); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .hero .actions .btn { flex: 1 1 100%; } }

.more { color: var(--vatten); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
.more--light { color: var(--koppar-ljus); }
.more:hover { text-decoration-thickness: 3px; }

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

/* Fast överst på mobilen, så att Ring alltid går att nå. */
.header { position: sticky; top: 0; z-index: 20; background: var(--vatten); color: var(--white); }
.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: 12px; min-width: 0; color: var(--white); text-decoration: none; }
/* Märket: ett rött och ett blått rör som böjer av, i en mörk ruta. */
.brand__mark {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--vatten-mork); border: 1px solid rgba(255, 255, 255, .14);
}
.brand__mark::before, .brand__mark::after { content: ""; position: absolute; border-style: solid; border-width: 3.5px 0 0 3.5px; border-top-left-radius: 8px; }
.brand__mark::before { left: 8px; top: 8px; right: 6px; bottom: 6px; border-color: var(--varm); }
.brand__mark::after { left: 15px; top: 15px; right: 6px; bottom: 6px; border-color: var(--kall); border-top-left-radius: 5px; }
.brand__text { display: grid; min-width: 0; }
.brand__name { font-family: var(--head); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.brand__sub { color: var(--on-dark); font-size: .8125rem; line-height: 1.3; }
.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: 24px; }
.header__phone { display: none; font-family: var(--head); font-size: 1.125rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; }
.header__call { min-height: 44px; 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-family: var(--head); font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: rgba(255, 255, 255, .5); }
.nav a[aria-current="page"] { border-bottom-color: var(--koppar-ljus); }

.menu { grid-area: menu; }
.menu__button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--white); 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(--vatten); border-top: 1px solid var(--line-dark); box-shadow: 0 14px 28px rgba(0, 0, 0, .2); }
.menu__panel a { display: block; padding: 15px var(--gutter); border-bottom: 1px solid var(--line-dark); font-family: var(--head); font-size: 1.125rem; font-weight: 500; text-decoration: none; }
.menu__panel a:hover { background: var(--vatten-mork); }
.menu__panel a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--koppar-ljus); }

@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.25rem; }
}
@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: 1.0625rem; }
  .header__inner { gap: 8px; }
  .header__call { padding-inline: 12px; }
}

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

.notice { background: var(--vatten-mork); color: var(--white); 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; }

/* ---------- Toppen med rören ---------- */

.hero { position: relative; background: var(--vatten); color: var(--white); padding-bottom: 44px; }
.hero__inner { display: grid; gap: 40px; padding-block: 40px 32px; }
.hero__text { display: grid; gap: 20px; justify-items: start; align-content: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--on-dark); max-width: 640px; }
.hero .actions { justify-self: stretch; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--white); font-size: .9375rem; line-height: 1.4; }
.pill::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--koppar); }
.hero__media { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 5 / 4; background: linear-gradient(135deg, #A9BDD0, #5B7792); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 4px 10px; border-radius: 4px; background: rgba(15, 42, 69, .82); color: var(--white); font-size: .875rem; line-height: 1.4; }
@media (min-width: 1024px) {
  .hero__inner { padding-block: 72px 56px; }
  .hero--image .hero__inner { grid-template-columns: minmax(0, 616fr) minmax(0, 520fr); gap: 64px; align-items: center; }
  .hero:not(.hero--image) .hero__text { max-width: 760px; }
  .hero .actions { justify-self: start; }
}

/* Två rör längs nederkanten. De böjer ner vid innehållets vänsterkant och
   fortsätter i trygghetsraden om den kommer direkt efter. */
.hero__pipes { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; pointer-events: none; }
.pipe { position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 6px 0 0 6px; }
.pipe--hot { left: var(--edge); top: 12px; border-color: var(--varm); border-top-left-radius: 22px; }
.pipe--cold { left: calc(var(--edge) + 12px); top: 24px; border-color: var(--kall); border-top-left-radius: 14px; }
.coupling { position: absolute; top: 6px; right: max(var(--gutter), calc((100% - 1200px) / 2) + 88px); width: 12px; height: 24px; border-radius: 2px; background: var(--koppar); }

/* ---------- Trygghetsrad ---------- */

.trust { position: relative; background: var(--benvit-mork); }
/* Rören från toppen fortsätter ner och slutar i två kopparhylsor. */
.hero + .trust::before, .hero + .trust::after { content: ""; position: absolute; top: 0; bottom: 10px; width: 6px; }
.hero + .trust::before { left: var(--edge); background: var(--varm); }
.hero + .trust::after { left: calc(var(--edge) + 12px); background: var(--kall); }
.hero + .trust .trust__inner::after {
  content: ""; position: absolute; left: calc(var(--edge) - 2px); bottom: 0; width: 22px; height: 10px;
  background: linear-gradient(90deg, var(--koppar) 0 10px, transparent 10px 12px, var(--koppar) 12px);
}
.trust__inner { padding-block: 28px; }
.hero + .trust .trust__inner { padding-left: calc(var(--gutter) + 36px); }
.trust__list { display: grid; gap: 22px; }
.trust__item { display: flex; align-items: flex-start; gap: 14px; line-height: 1.4; }
.trust__item strong { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.trust__text { display: block; color: var(--muted); font-size: .9375rem; }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .trust__inner { padding-block: 26px; }
  .trust__list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; }
}

/* Bock i kopparcirkel: trygghetsrad och behörighet. */
.check { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--koppar); }
.check::after { content: ""; position: absolute; left: 9px; top: 8px; width: 10px; height: 6px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }

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

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--ice { background: var(--isbla); }
.section--peach { background: var(--persika); }
.section--dark { background: var(--vatten); 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: 12px; justify-items: start; margin-bottom: 32px; }
.section__head .lead { max-width: 700px; }
.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: 44px; } }

/* Rörlinje överst i ett avsnitt (värmepumpsguiden och kontakt): rött och
   blått rör över hela bredden med två kopparhylsor. */
.section--piped { position: relative; }
.section--piped::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 14px;
  background: linear-gradient(var(--varm) 0 5px, transparent 5px 9px, var(--kall) 9px 14px);
}
.section--piped::after {
  content: ""; position: absolute; top: -14px; left: 20%; width: 12px; height: 24px; border-radius: 2px; background: var(--koppar);
  box-shadow: calc(50vw) 0 0 var(--koppar);
}

/* ---------- 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.5; }
@media (min-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tjänster: en rörböj i en ljus kopparruta. */
.service__icon { position: relative; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 6px; background: var(--persika); }
.service__icon::after { content: ""; position: absolute; left: 8px; top: 7px; width: 9px; height: 12px; border: solid var(--koppar); border-width: 2.5px 2.5px 0 0; border-top-right-radius: 6px; }
.mark { align-self: flex-start; margin-top: 2px; padding: 2px 6px; border-radius: 3px; background: var(--persika); color: var(--koppar-mork); font-size: .75rem; font-weight: 600; line-height: 1.5; }

/* ---------- Värmepumpsguide ---------- */

/* Kanten överst går från varmt till kallt. */
.pump { position: relative; overflow: hidden; border: 0; padding-top: 28px; }
.pump::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--varm), var(--kall)); }
.pump__fit { padding: 10px 12px; border-radius: 6px; background: var(--benvit); color: var(--ink) !important; font-weight: 600; }
.pump__label { display: block; color: var(--koppar-mork); font-family: var(--head); font-size: .75rem; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.guide__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

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

.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brands__item, .brands__link { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-width: 0; min-height: 92px; padding: 16px; text-align: center; text-decoration: none; }
.brands__item { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.brands__link { flex: 1; align-self: stretch; margin: -16px; border-radius: 10px; }
.brands__link:hover { outline: 2px solid var(--koppar); }
.brands__logo { width: auto; max-width: 140px; height: 40px; object-fit: contain; }
.brands__name { color: var(--vatten); font-family: var(--head); font-size: 1.25rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.brands__text { color: var(--muted); font-size: .875rem; line-height: 1.35; }
@media (min-width: 768px) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .brands { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; } }

/* ---------- Behörighet, område, frågor, jour ---------- */

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

.checklist { border-top: 1px solid var(--line-dark); }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line-dark); line-height: 1.4; }
.checklist strong { display: block; font-weight: 600; }
.checklist__text { display: block; color: var(--on-dark); font-size: .9375rem; }

.towns { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.towns li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.towns li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kall); }
/* Hemorten först, med en varm prick. */
.towns li:first-child::before { background: var(--varm); }

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

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

/* Mobil: rören löper lodrätt till vänster om stegen. Bred skärm: vågrätt
   ovanför, med en kopparhylsa vid varje steg. */
.steps { position: relative; display: grid; gap: 28px; padding-left: 34px; counter-reset: steg; }
.steps::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 14px; background: linear-gradient(90deg, var(--varm) 0 5px, transparent 5px 9px, var(--kall) 9px 14px); }
.step { position: relative; display: grid; gap: 6px; align-content: start; counter-increment: steg; }
.step::before { content: counter(steg, decimal-leading-zero); color: var(--koppar); font-family: var(--head); font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.step::after { content: ""; position: absolute; left: -39px; top: 0; width: 24px; height: 12px; border-radius: 2px; background: var(--koppar); }
.step p { color: var(--muted); font-size: 1rem; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; padding: 48px 0 0; }
  .steps::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 14px; background: linear-gradient(var(--varm) 0 5px, transparent 5px 9px, var(--kall) 9px 14px); }
  .step::after { left: 0; top: -53px; width: 12px; height: 24px; }
}

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

.rating { display: grid; gap: 2px; justify-self: start; padding: 14px 20px; border-radius: 10px; background: var(--vatten); }
.rating__value { color: var(--white); font-family: var(--head); font-size: 2.25rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.rating__text { color: var(--on-dark); font-size: .875rem; }
.review figure { display: grid; gap: 12px; }
.stars { color: var(--koppar); letter-spacing: 2px; }
.review blockquote p { color: var(--ink) !important; font-size: 1.125rem !important; }
.review figcaption { color: var(--muted); font-size: .9375rem; }

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

.about { display: grid; gap: 32px; align-items: center; }
.about__media { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 5 / 4; background: linear-gradient(135deg, #C9B6A0, #8A735C); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.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(--vatten); }
.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.25rem; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 520fr) minmax(0, 600fr); 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; gap: 4px 24px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); font-family: var(--head); font-size: .75rem; font-weight: 500; line-height: 1.9; letter-spacing: 1.2px; 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; }

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

.contact { display: grid; gap: 40px; }
.contact__text { display: grid; gap: 16px; align-content: start; }
.contact__text > .eyebrow { justify-self: start; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .contact--text { grid-template-columns: minmax(0, 720px); }
}
.person { display: grid; gap: 16px; margin-top: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.person__head { display: flex; align-items: center; gap: 14px; }
.person__avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--isbla); color: var(--vatten); font-family: var(--head); font-size: 1.125rem; font-weight: 700; }
.person__name { display: block; color: var(--ink); font-family: var(--head); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.person__role { display: block; color: var(--muted); font-size: .9375rem; }
.person__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.person__actions .btn { flex: 1 1 200px; }
.person__mail a { font-weight: 600; }

.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 28px; } }

/* Kontaktformuläret från plattformen. */
.contact-form { display: grid; gap: 16px 12px; }
.contact-form p { display: grid; gap: 6px; }
.contact-form label { color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.contact-form__optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 50px; padding: 11px 13px; 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(--kall); outline-offset: 0; border-color: var(--vatten); }
/* "Ring mig gärna" som en strömbrytare i en ljus ruta. */
.contact-form .contact-form__check { padding: 12px 14px; border-radius: 8px; background: var(--benvit); }
.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), #A8A196; transition: background-position .15s, background-color .15s;
}
.contact-form .contact-form__check input:checked { background: radial-gradient(circle at 28px 50%, var(--white) 8px, transparent 8.5px), var(--koppar); }
.contact-form .contact-form__check input:focus-visible { outline: 3px solid var(--kall); outline-offset: 2px; }
.contact-form button {
  width: 100%; min-height: 54px; padding: 14px 24px; border: 0; border-radius: 6px; background: var(--koppar); color: var(--white); cursor: pointer;
  font-family: var(--head); font-size: 1.1875rem; font-weight: 700;
}
.contact-form button:hover { background: var(--koppar-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: 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(--vatten); font-weight: 600; }
@media (min-width: 1024px) { .page-head { padding-top: 88px; } }

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

.footer { padding-block: 48px 28px; background: var(--vatten-mork); 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; }
.footer__muted { color: var(--on-dark); }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__label { color: var(--koppar-ljus); font-family: var(--head); font-size: .8125rem; font-weight: 500; letter-spacing: 1.4px; 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, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

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