/* Bygg och renovering – Granskog
   Mörk granskog, lin och koppar, med falurött i etiketterna. Roboto Slab för
   rubriker och siffror, Source Sans 3 för text, och versaler med luft för
   etiketter, meny och knappar. Raka hörn överallt. */

@font-face { font-family: "Roboto Slab"; src: url("../fonts/robotoslab-bold.woff2") format("woff2"); font-weight: 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 {
  --granskog: #1F2E27;
  --granskog-ljus: #2C3D35;
  --lin: #E6E1D6;
  --koppar: #E8873A;
  --koppar-mork: #D4742A;
  --falu: #9E3B2C;
  --ink: #1A2420;
  --muted: #56605A;
  --on-dark: #B8C1BB;
  --line: #D2CCC0;
  --input: #9A968D;
  --white: #FFFFFF;
  --slab: "Roboto Slab", Rockwell, "Rockwell Nova", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --section: 64px;
}
@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(--lin); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.56; }
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(--koppar); outline-offset: 2px; }

h1, h2, h3, .h3 { font-family: var(--slab); font-weight: 700; color: var(--granskog); text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.25rem); line-height: 1.07; letter-spacing: -.5px; }
h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.3px; }
h3, .h3 { font-size: 1.5rem; line-height: 1.25; }
.eyebrow, .btn, .nav, .tag, .more, .footer__label {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px;
}
.eyebrow { color: var(--falu); font-size: .9375rem; line-height: 1.33; }
.eyebrow--signal { color: var(--koppar); }
.lead { font-size: 1.3125rem; line-height: 1.52; }
.lead--muted { color: var(--muted); }
.small { font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.bar { display: block; width: 48px; height: 5px; background: var(--koppar); }

.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(--koppar); color: var(--granskog); 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: 54px; padding: 14px 28px;
  border: 2px solid transparent; font-size: 1rem; line-height: 1.375; letter-spacing: 1.2px;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn--signal { background: var(--koppar); color: var(--granskog); }
.btn--signal:hover { background: var(--koppar-mork); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, .1); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

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

.header { background: var(--granskog); color: var(--white); }
.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; }
.brand__mark { flex: none; width: 14px; height: 36px; background: var(--koppar); }
.brand__name { font-family: var(--slab); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.brand__logo { display: block; flex: 0 1 auto; min-width: 0; width: auto; height: 40px; max-width: min(240px, 55vw); object-fit: contain; object-position: left center; }
.header__actions { grid-area: actions; display: flex; align-items: center; gap: 24px; }
.header__phone { display: none; font-size: .9375rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; 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: .9375rem; }

.nav { grid-area: nav; margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255, 255, 255, .15); }
.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: .9375rem; font-weight: 600; letter-spacing: 1.6px; 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(--koppar); }

@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: 20px; }
  .brand__name { font-size: 1.625rem; text-wrap: balance; }
  .header__offer { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
  .nav { margin: 0; overflow: visible; border: 0; justify-self: center; }
  .nav ul { gap: 36px; padding: 0; }
  .nav a { padding: 4px 0; border-bottom-width: 2px; }
}
/* 1024–1279 px: telefonnumret får vänta på mer plats. */
@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. */
.header { position: relative; }
.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); border-radius: 0;
  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(--granskog-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; margin-top: 1px;
  background: var(--granskog); border-bottom: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}
.menu__panel a {
  display: block; padding: 14px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .15); border-left: 4px solid transparent;
  color: var(--white); font-size: 1rem; text-decoration: none; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
}
.menu__panel li:first-child a { border-top: 0; }
.menu__panel a:hover { background: var(--granskog-ljus); }
.menu__panel a[aria-current="page"] { border-left-color: var(--koppar); font-weight: 600; }
@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"), och ett långt ord i företagsnamnet bryts hellre än att hamna
   under knapparna. */
@media (max-width: 639px) {
  .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 { overflow-wrap: anywhere; }
  .brand__name { font-size: 1.1875rem; }
  .header__offer { padding-inline: 12px; }
}
/* Riktigt smala skärmar: ingen undertitel, så att namnet får plats. */
@media (max-width: 379px) { .brand__tag { display: none; } }
/* Minsta mobilerna (320 px): mindre namn och smalare knappar, så att vanliga
   namn inte behöver delas mitt i ett ord. */
@media (max-width: 359px) {
  .brand__name { font-size: 1.0625rem; }
  .header__inner { column-gap: 8px; }
  .header__call { padding-inline: 12px; }
  .brand { gap: 8px; }
  .header__offer { padding-inline: 10px; font-size: .875rem; letter-spacing: 1px; }
}
@media (min-width: 640px) { .menu { display: none; } }

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

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

/* ---------- Toppbild ---------- */

.hero { position: relative; display: grid; align-items: center; min-height: 560px; padding-block: 72px; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, #5F6B62, #2E3A33); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 46, 39, .96) 0%, rgba(31, 46, 39, .78) 55%, rgba(31, 46, 39, .25) 100%); }
.hero__inner { position: relative; z-index: 1; }
.hero__text { display: grid; gap: 24px; max-width: 760px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #E3E7E4; max-width: 760px; }
.hero .actions { margin-top: 4px; }
.caption { padding: 6px 10px; background: rgba(31, 46, 39, .85); color: var(--white); font-size: .9375rem; line-height: 1.4; }
.hero__caption { position: absolute; z-index: 1; right: var(--gutter); bottom: 16px; max-width: calc(100% - 2 * var(--gutter)); }
@media (min-width: 1024px) {
  .hero { min-height: 760px; padding-block: 112px; }
  .hero__text { gap: 28px; }
  .hero::after { background: linear-gradient(90deg, rgba(31, 46, 39, .96) 0%, rgba(31, 46, 39, .6) 50%, rgba(31, 46, 39, 0) 100%); }
  .hero__caption { right: max(var(--gutter), calc((100% - 1200px) / 2)); bottom: 32px; }
}

/* ---------- Sifferrad ---------- */

.stats { background: var(--granskog); color: var(--white); }
.stats__list { display: grid; grid-template-columns: 1fr 1fr; padding-block: 40px 48px; gap: 32px 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding-inline: 20px; border-left: 1px solid rgba(255, 255, 255, .15); }
.stat:nth-child(odd) { padding-left: 0; border-left: 0; }
.stat dd { color: var(--koppar); font-family: var(--slab); font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.5px; overflow-wrap: break-word; }
.stat dt { color: var(--on-dark); font-size: .9375rem; font-weight: 600; line-height: 1.33; letter-spacing: 1.6px; text-transform: uppercase; }
@media (min-width: 1024px) {
  .stats__list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding-block: 48px 56px; }
  .stat { padding-inline: 24px 16px; }
  .stat:nth-child(odd) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .15); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

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

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--dark { background: var(--granskog); 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: 16px; margin-bottom: 40px; }
.section__head .lead { max-width: 720px; }
.section__head--row > div { display: grid; gap: 16px; }
@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(--granskog); font-size: .9375rem; letter-spacing: 1.2px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.more:hover { text-decoration-color: var(--koppar); }

.tag { display: inline-block; padding: 4px 9px; background: var(--koppar); color: var(--granskog); font-size: .8125rem; line-height: 1.38; letter-spacing: 1.4px; }
.tag--dark { background: var(--granskog); color: var(--white); }

/* ---------- Projekt ---------- */

.projects { display: grid; gap: 24px; }
.project { display: flex; flex-direction: column; background: var(--white); }
.project__media { position: relative; aspect-ratio: 384 / 250; background: linear-gradient(135deg, #8A8E8B, #4B504D); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__media .tag { position: absolute; top: 16px; left: 16px; }
.project__body { display: grid; gap: 18px; padding: 22px 24px 24px; }
.project__facts { display: flex; border-top: 1px solid var(--line); }
.project__facts > div { display: grid; gap: 2px; padding: 12px 12px 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: .8125rem; font-weight: 600; line-height: 1.38; letter-spacing: 1.4px; text-transform: uppercase; }
.project__facts dd { font-size: 1rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 640px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(3, 1fr); } }

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

.services { display: grid; counter-reset: tjanst; border-top: 2px solid var(--granskog); }
.service { display: grid; gap: 10px; align-content: start; padding: 28px 0 32px; border-bottom: 1px solid var(--line); counter-increment: tjanst; }
.service::before { content: counter(tjanst, decimal-leading-zero); color: var(--koppar); font-family: var(--slab); font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.service p { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
  .service:nth-child(2n+1) { padding-right: 32px; }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service:nth-child(n) { padding: 28px 32px 32px; border-left: 1px solid var(--line); }
  .service:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .service:nth-child(3n) { padding-right: 0; }
}

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

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

/* ---------- Därför oss ---------- */

.reasons { display: grid; gap: 24px; }
.reason { display: grid; gap: 14px; align-content: start; padding: 32px; background: var(--granskog-ljus); }
.reason__mark { width: 32px; height: 32px; background: var(--koppar); }
.reason p { color: var(--on-dark); font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 768px) { .reasons { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; } }

/* ---------- 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; }
.step::before { content: ""; height: 8px; background: var(--granskog); }
.step:first-child::before { background: var(--koppar); }
.step h3::before { content: counter(steg, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 4rem; line-height: 1.06; letter-spacing: -.5px; }
.step p { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }

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

.rating { display: grid; gap: 2px; justify-self: start; padding: 16px 24px; background: var(--granskog); }
.rating__value { color: var(--koppar); font-family: var(--slab); font-size: 3.25rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.rating__text { color: var(--on-dark); font-size: .9375rem; 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(--koppar); }
.stars { color: var(--koppar); font-size: 1.25rem; letter-spacing: 2px; }
.review blockquote { color: var(--ink); }
.review figcaption { display: grid; align-self: end; }
.review__name { color: var(--granskog); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.review__detail { color: var(--muted); font-size: .9375rem; 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: 600 / 480; background: linear-gradient(135deg, #8F9391, #4C514E); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .caption { position: absolute; right: 16px; bottom: 16px; max-width: calc(100% - 32px); }
.about__text { display: grid; gap: 16px; align-content: start; }
.about__text .rows { margin-top: 8px; }
.prose { display: grid; gap: 16px; font-size: 1.25rem; line-height: 1.6; }
.prose a { color: var(--granskog); }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose h2, .prose h3, .prose h4 { font-size: 1.5rem; }
@media (min-width: 1024px) {
  .about { grid-template-columns: 600fr 528fr; gap: 72px; }
  .about--text { grid-template-columns: minmax(0, 720px); }
}

/* Etikett–värde-rader: om oss, behörighet och kontakt. */
.rows { border-top: 1px solid var(--line); }
.rows--strong { border-top-color: var(--granskog); }
.rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); font-size: .875rem; font-weight: 600; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; }
.rows dd { color: var(--ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; 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; }

/* ---------- Behörighet och frågor ---------- */

.split { display: grid; gap: 32px; }
.split__text { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 400fr 720fr; gap: 80px; } }

.faq { border-top: 2px solid var(--granskog); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; cursor: pointer; list-style: none;
  color: var(--granskog); font-family: var(--slab); font-size: 1.25rem; font-weight: 700; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--koppar); font-size: 1.75rem; line-height: 1; }
.faq details[open] summary { padding-bottom: 10px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 24px; max-width: 65ch; color: var(--muted); }
@media (min-width: 1024px) { .faq summary { font-size: 1.5rem; } }

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

.towns { display: flex; flex-wrap: wrap; gap: 12px; }
.towns li { padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .25); font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
@media (min-width: 1024px) { .towns li { padding: 12px 22px; font-size: 1.125rem; } }

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

.contact { display: grid; gap: 40px; }
.contact__text { display: grid; gap: 16px; align-content: start; }
.contact__text .rows { margin-top: 12px; }
.contact__text h2 + .lead { margin-top: 0; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: 528fr 600fr; gap: 72px; align-items: start; }
  .contact--text { grid-template-columns: minmax(0, 720px); }
}
.formcard { display: grid; gap: 18px; align-content: start; padding: 28px 20px; background: var(--white); border-top: 6px solid var(--koppar); }
.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(--granskog); font-size: .875rem; font-weight: 600; line-height: 1.43; letter-spacing: 1.6px; text-transform: uppercase; }
.contact-form__optional { color: var(--muted); font-family: var(--sans); font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid var(--input); border-radius: 0; background: var(--white);
  color: var(--ink); font: inherit; line-height: 1.56;
}
.contact-form textarea { min-height: 136px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--koppar); outline-offset: 0; border-color: var(--granskog); }
.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(--granskog); }
.contact-form button {
  width: 100%; min-height: 54px; padding: 14px 28px; border: 0; background: var(--koppar); color: var(--granskog); cursor: pointer;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.contact-form button:hover { background: var(--koppar-mork); }
.contact-form__note { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
@media (min-width: 640px) {
  /* Namn och telefon bredvid varandra, som i skissen. */
  .contact-form { grid-template-columns: 1fr 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; }
.page-head h1 { font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4.25rem); }
.page-head .lead { color: var(--muted); max-width: 720px; }
.page-head .lead a { color: var(--granskog); font-weight: 600; }
@media (min-width: 1024px) { .page-head { padding-top: 96px; } }

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

.footer { padding-block: 56px 32px; background: var(--granskog); color: var(--white); font-size: .9375rem; line-height: 1.6; }
.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; justify-self: start; }
.footer__muted { color: var(--on-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__label { color: var(--koppar); font-size: .875rem; line-height: 1.43; }
.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, .15); color: var(--on-dark); }
@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: 520fr 260fr 260fr; gap: 80px; } }

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