/* ==========================================================================
   Kalkylen.se – site.css
   --------------------------------------------------------------------------
   Ingen byggprocess: redigera filen direkt. När du ändrar den, höj ?v=
   i <link>-taggarna i HTML-filerna så att besökarnas cache uppdateras.

   Innehåll
    1. Typsnitt            8. Hero (startsida)        15. Steg/skeden
    2. Designvariabler     9. Intro + faktaruta       16. Vanliga frågor
    3. Bas                10. Tjänsterader           17. Kunder/Om-komponenter
    4. Hjälpklasser       11. Arbetsgång             18. Kontakt + formulär
    5. Knappar            12. Projekttyper           19. Löptext (policy)
    6. Sidhuvud + meny    13. Kontaktblock (CTA)     20. Cookie-ruta
    7. Sektioner          14. Sidfot + undersidor    21. Animationer, utskrift
   ========================================================================== */

/* 1. Typsnitt – Inter (SIL Open Font License 1.1, se assets/fonts/OFL.txt) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Metrikjusterad reserv: minskar layoutskiftet medan Inter laddas */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* 2. Designvariabler ------------------------------------------------------ */
:root {
  /* Färger */
  --c-ink: #0f1e2e;
  --c-ink-2: #34465a;
  --c-muted: #5b6878;
  --c-bg: #fbfaf7;
  --c-surface: #ffffff;
  --c-sand: #f3eee6;
  --c-sand-2: #eae2d5;
  --c-line: #e3dcd0;
  --c-line-2: #cdc3b4;
  --c-navy: #13293f;
  --c-navy-2: #1a3550;
  --c-navy-3: #25496e;
  --c-copper: #ad4c19;
  --c-copper-2: #8f3d12;
  --c-copper-bright: #f08a50;
  --c-copper-soft: #f7e7db;
  --c-brand-name: #7030a0;          /* Företagsnamnet i logotypen ("Klassisk lila") */
  --c-brand-name-on-dark: #c9a6ea;  /* Samma lila, ljusare – för mörk bakgrund (sidfoten) */
  --c-blueprint: #cfe2f7;
  --c-blueprint-muted: #8fb0d3;
  --c-ok: #1e6b41;
  --c-ok-bg: #e5f2ea;
  --c-err: #a3241b;
  --c-err-bg: #fbeae7;
  --c-focus: #1f6fd1;

  /* Typografi */
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.8vw, 2.875rem);
  --fs-h3: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);

  /* Form */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgb(15 30 46 / 0.06), 0 1px 1px rgb(15 30 46 / 0.04);
  --shadow: 0 12px 32px -14px rgb(15 30 46 / 0.22), 0 2px 6px rgb(15 30 46 / 0.06);
  --shadow-lg: 0 34px 70px -24px rgb(8 18 30 / 0.55);

  /* Layout */
  --max: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --header-h: 4rem;

  /* Ritningsrutnät */
  --grid-line: rgb(156 195 238 / 0.13);
  --grid-line-fine: rgb(156 195 238 / 0.06);
  --grid-line-light: rgb(15 30 46 / 0.055);
}
@media (min-width: 62em) {
  :root { --header-h: 4.5rem; }
}

/* 3. Bas ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }

img,
svg,
video { max-width: 100%; height: auto; }
img { display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
strong, b { font-weight: 600; }
address { font-style: normal; }

a {
  color: var(--c-copper);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}
a:hover { color: var(--c-copper-2); }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--c-copper-soft); color: var(--c-ink); }

/* 4. Hjälpklasser --------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--c-ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; color: #fff; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; }

/* Ögonbrynsrubrik med måttlinje |—| */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--eyebrow, var(--c-copper));
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.9rem;
  height: 0.6rem;
  border-inline: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

/* 5. Knappar -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-copper);
  --btn-fg: #fff;
  --btn-bd: var(--c-copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn,
.btn:hover { color: var(--btn-fg); }
.btn:hover { --btn-bg: var(--c-copper-2); --btn-bd: var(--c-copper-2); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon--arrow { transition: transform 0.2s ease; }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--dark { --btn-bg: var(--c-navy); --btn-bd: var(--c-navy); }
.btn--dark:hover { --btn-bg: var(--c-navy-3); --btn-bd: var(--c-navy-3); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-line-2); }
.btn--ghost:hover { --btn-bg: var(--c-ink); --btn-fg: #fff; --btn-bd: var(--c-ink); }
/* På mörk bakgrund */
.btn--accent { --btn-bg: var(--c-copper-bright); --btn-fg: var(--c-navy); --btn-bd: var(--c-copper-bright); }
.btn--accent:hover { --btn-bg: #f7a678; --btn-bd: #f7a678; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.4); }
.btn--outline-light:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-bd: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-navy); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--c-copper-soft); --btn-bd: var(--c-copper-soft); }

.btn--sm { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.375rem; padding: 0.85rem 1.6rem; font-size: 1.0625rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* 6. Sidhuvud + meny ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-line);
  transition: transform 0.35s ease, box-shadow 0.25s ease;
}
/* Frostat glas ligger i en pseudo-yta så att mobilmenyn (position: fixed) inte låses in */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(251 250 247 / 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgb(15 30 46 / 0.6); }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--c-ink);
  text-decoration: none;
}
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 2.4rem; height: 2.4rem; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  color: var(--c-brand-name);
}
.brand__sub {
  margin-top: 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
}
@media (max-width: 22em) {
  .brand__sub { display: none; }
}
/* Smala mobiler: företagsnamnet "Kalkylen Gbg AB" ska rymmas på en rad */
@media (max-width: 23.4375em) {
  .brand { gap: 0.55rem; }
  .brand__mark { width: 2.1rem; height: 2.1rem; }
  .brand__name { font-size: 1.3rem; }
}
@media (max-width: 22em) {
  .site-header__inner { gap: 0.5rem; }
  .brand__mark { width: 1.9rem; height: 1.9rem; }
  .brand__name { font-size: 1.12rem; }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  position: relative;
  display: block;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
}
.site-nav__list a:hover { color: var(--c-copper); }
.site-nav__list a[aria-current="page"] { color: var(--c-copper); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--c-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--c-copper); }
.header-phone .icon { color: var(--c-copper); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobil + surfplatta */
@media (max-width: 61.999em) {
  .header-phone {
    width: 2.75rem;
    height: 2.75rem;
    justify-content: center;
    border: 1px solid var(--c-line-2);
    border-radius: var(--radius-sm);
    background: var(--c-surface);
  }
  .header-phone__text,
  .site-header__cta { display: none; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-bg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-open { overflow: hidden; }
  .nav-open .site-header.is-hidden { transform: none; }

  .site-nav__list a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--c-line);
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: -0.02em;
  }
  .site-nav__extra { display: grid; gap: 0.75rem; }
  .site-nav__extra .btn { width: 100%; }
  .site-nav__meta {
    margin: 0.5rem 0 0;
    color: var(--c-muted);
    font-size: var(--fs-sm);
  }
}

/* Dator */
@media (min-width: 62em) {
  .site-header__inner { gap: 1.5rem; }
  .nav-toggle,
  .site-nav__extra { display: none; }
  .site-nav__list { display: flex; gap: 0.15rem; }
  .site-nav__list a {
    padding: 0.5rem 0.85rem;
    font-size: 0.98rem;
  }
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.15rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .site-nav__list a:hover::after,
  .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--c-line);
  }
}

/* Utan JavaScript: visa menyn som vanliga länkar */
@media (scripting: none) and (max-width: 61.999em) {
  .nav-toggle { display: none; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav {
    position: static;
    order: 3;
    width: 100%;
    padding: 0 0 0.75rem;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .site-nav__list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .site-nav__list a { padding: 0.25rem 0; border: 0; font-family: var(--font-body); font-size: 1rem; }
  .site-nav__extra { display: none; }
}

/* 7. Sektioner ------------------------------------------------------------ */
.section { padding-block: var(--section-y); }
.section--sand { background: var(--c-sand); }
.section--surface { background: var(--c-surface); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section--navy {
  background-color: var(--c-navy);
  color: #fff;
  --eyebrow: var(--c-copper-bright);
  --c-focus: var(--c-copper-bright);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.75rem);
}
.section-head > p:not(.eyebrow),
.section-head__text p {
  color: var(--c-ink-2);
  font-size: var(--fs-lead);
}
.section-head h2:last-child { margin-bottom: 0; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--split {
  display: grid;
  gap: 0.5rem 4rem;
  max-width: none;
}
@media (min-width: 60em) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
  }
  .section-head--split h2 { margin-bottom: 0; }
}

/* Ritningsrutnät som bakgrund */
.blueprint-bg {
  background-color: var(--c-navy);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-fine) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
}

/* 8. Hero (startsida) ----------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  --eyebrow: var(--c-copper-bright);
  --c-focus: var(--c-copper-bright);
}
.hero::after { /* mjuk toning mot vänster så att texten alltid läses bra */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(19 41 63 / 0.85) 0%, rgb(19 41 63 / 0.35) 45%, rgb(19 41 63 / 0) 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
@media (min-width: 60em) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
.hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.375rem, 1.55rem + 3vw, 3.875rem);
}
.hero__title .hl { color: var(--c-copper-bright); }
.hero__lead {
  max-width: 34em;
  margin-bottom: 2.25rem;
  color: rgb(255 255 255 / 0.82);
  font-size: var(--fs-lead);
}
.hero .btn-row { margin-bottom: 2.25rem; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: var(--fs-sm);
}
.checklist li { display: inline-flex; align-items: center; gap: 0.5rem; }
.checklist .icon { width: 1.15rem; height: 1.15rem; color: var(--c-copper-bright); }
.hero .checklist { color: rgb(255 255 255 / 0.85); }

.hero__visual { position: relative; }
@media (min-width: 60em) {
  .hero__visual { padding-bottom: 6rem; }
  /* Ritningen flyttas åt höger och får gå ut i högermarginalen – kalkylkortet ligger till vänster */
  .hero__visual .hero-drawing { width: calc(100% + 1rem); max-width: none; margin-left: 5rem; }
}
.hero-drawing {
  display: block;
  width: 100%;
  height: auto;
  color: var(--c-blueprint);
}
.hero-drawing .hd-faint { opacity: 0.45; }
.hero-drawing .hd-soft { opacity: 0.7; }
.hero-drawing .hd-text { color: var(--c-blueprint-muted); }
.hero-drawing .hd-accent,
.hero-drawing .hd-accent-text { color: var(--c-copper-bright); }
.hero-drawing .hd-ext { opacity: 0.6; }

.estimate-card {
  position: relative;
  width: min(18.5rem, 88%);
  margin: -3rem 0 0 0.75rem;
  padding: 1.1rem 1.25rem 1.05rem;
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  line-height: 1.4;
}
@media (min-width: 60em) {
  .estimate-card { position: absolute; left: -1.5rem; bottom: 0; width: 17.5rem; margin: 0; }
}
.estimate-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-xs);
  background: var(--c-copper-soft);
  color: var(--c-copper-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.estimate-card__rows {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}
.estimate-card__rows li {
  display: grid;
  grid-template-columns: 6.75rem 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-ink-2);
}
.estimate-card__bar {
  height: 0.5rem;
  border-radius: 2px;
  background: var(--c-sand);
  overflow: hidden;
}
.estimate-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-navy-3), var(--c-navy));
  transform-origin: left center;
}
.estimate-card__rows li:nth-child(1) span { width: 42%; }
.estimate-card__rows li:nth-child(2) span { width: 30%; }
.estimate-card__rows li:nth-child(3) span { width: 74%; }
.estimate-card__rows li:nth-child(4) span { width: 63%; }
.estimate-card__rows li:nth-child(5) span { width: 88%; }
.estimate-card__rows li:nth-child(6) span { width: 52%; }
.estimate-card__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--c-line-2);
  font-weight: 600;
}
.estimate-card__total strong { color: var(--c-copper); }

/* 9. Intro + faktaruta ---------------------------------------------------- */
.intro {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}
@media (min-width: 60em) {
  .intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}
.intro__text > p { color: var(--c-ink-2); }
.intro__text > p.lead { color: var(--c-ink); font-size: var(--fs-lead); }
.intro__text .btn-row { margin-top: 2rem; }

.facts-box {
  position: relative;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--c-sand);
  border: 1px solid var(--c-line);
}
.facts-box__title {
  margin: 0 0 1.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  margin: 0;
}
.fact { margin: 0; }
.fact::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-bottom: 0.9rem;
  background: var(--c-copper);
}
.fact__value {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fact__label {
  margin: 0;
  color: var(--c-ink-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* 10. Tjänsterader (bild + text, varannan spegelvänd) --------------------- */
.service-list { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.service-row {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
@media (min-width: 56em) {
  .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .service-row:nth-child(even) .service-row__media { order: 2; }
}
.service-row__media,
.cta__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
}
.service-row__media img,
.cta__media img {
  width: 100%;
  height: auto;
}
.service-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
}
.service-row__num {
  margin: 0 0 0.75rem;
  color: var(--c-copper);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
.service-row__body h3,
.service-row__body h2 {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.service-row__body > p { color: var(--c-ink-2); }
.service-row__body > p.lead { color: var(--c-ink); font-size: 1.125rem; }
.service-row__body .btn-row,
.service-row__body > .btn { margin-top: 1.75rem; align-self: flex-start; }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
}
.tags li {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  background: var(--c-sand);
  color: var(--c-ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.ticks {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 2rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ad4c19' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.85rem no-repeat,
    var(--c-copper-soft);
}
.ticks-title { margin: 1.25rem 0 0.75rem; font-weight: 600; }


/* Slogan (Ronnys egen) */
.slogan {
  margin: 2rem 0;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-left: 3px solid var(--c-copper);
}
.slogan p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

/* Egenskaper (Om-sidan) */
.features {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 40em) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
.feature {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--c-copper-soft);
  color: var(--c-copper);
}
.feature__icon .icon { width: 1.4rem; height: 1.4rem; }
.feature h3 { margin-bottom: 0.4rem; font-size: 1.125rem; }
.feature p { color: var(--c-ink-2); font-size: var(--fs-sm); }

.about-aside { display: grid; gap: 0; }
.portrait {
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* 11. Arbetsgång ---------------------------------------------------------- */
.process {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (min-width: 40em) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
.process__step {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
.process__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.process__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #8e8374;
  font-variant-numeric: tabular-nums;
}
.process__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--c-copper-soft);
  color: var(--c-copper);
}
.process__icon .icon { width: 1.4rem; height: 1.4rem; }
.process__step h3 { margin-bottom: 0.4rem; font-size: 1.1875rem; }
.process__step p { color: var(--c-ink-2); font-size: var(--fs-sm); }

.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.25rem);
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}
.formula__op { color: var(--c-copper-bright); }

/* 12. Projekttyper -------------------------------------------------------- */
.tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  counter-reset: tile;
}
@media (min-width: 40em) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
.tile {
  counter-increment: tile;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 7.5rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.25;
}
.tile::before {
  content: counter(tile, decimal-leading-zero);
  color: var(--c-copper);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.tile--cta {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}
.tile--cta::before { content: "+"; color: var(--c-copper-bright); font-size: 1.25rem; line-height: 1; }
.tile--cta a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tile--cta a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile--cta:hover { background: var(--c-navy-3); }
.tile--cta:focus-within { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.tile--cta a:focus-visible { outline: none; }

.split-intro {
  display: grid;
  gap: 1rem 4rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
@media (min-width: 60em) {
  .split-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}
.split-intro h2 { margin-bottom: 0; }
.split-intro p { color: var(--c-ink-2); }

/* 13. Kontaktblock (CTA) -------------------------------------------------- */
.cta {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  color: #fff;
  --eyebrow: var(--c-copper-bright);
  --c-focus: var(--c-copper-bright);
}
@media (min-width: 56em) {
  .cta { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
.cta__media { display: none; }
@media (min-width: 56em) {
  .cta__media { display: flex; }
}
.cta__body {
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-self: center;
}
.cta__body h2 { color: #fff; }
.cta__body p { color: rgb(255 255 255 / 0.8); max-width: 34rem; }
.cta__body .btn-row { margin-top: 2rem; }
.cta__lines {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: var(--fs-sm);
}
.cta__lines a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
}
.cta__lines a:hover { color: var(--c-copper-bright); }
.cta__lines .icon { color: var(--c-copper-bright); }

/* 14. Sidfot + undersidor ------------------------------------------------- */
.site-footer {
  padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) 1.75rem;
  background: var(--c-navy);
  color: rgb(255 255 255 / 0.76);
  font-size: var(--fs-sm);
  --c-focus: var(--c-copper-bright);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-copper-bright); text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
}
@media (min-width: 40em) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.15fr 1fr; }
}
.footer-brand .brand { color: #fff; margin-bottom: 1.25rem; }
.footer-brand .brand__name { color: var(--c-brand-name-on-dark); }
.footer-brand .brand__sub { color: rgb(255 255 255 / 0.6); }
.footer-brand p { max-width: 22rem; }
.footer-title {
  margin: 0 0 1.1rem;
  color: rgb(255 255 255 / 0.6);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.footer-list--icons li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.footer-list--icons .icon { margin-top: 0.15rem; color: var(--c-copper-bright); width: 1.15rem; height: 1.15rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.13);
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.62);
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
}
.footer-bottom li:has(> [hidden]) { display: none; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.site-footer .link-button { color: #fff; text-decoration: none; }
.site-footer .link-button:hover { color: var(--c-copper-bright); text-decoration: underline; }

/* Undersidornas sidhuvud */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 1.75rem + 3vw, 4.5rem) clamp(2.75rem, 2rem + 3vw, 4.75rem);
  background-color: var(--c-sand);
  background-image:
    linear-gradient(var(--grid-line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-light) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--c-line);
}
.page-hero::after { /* tona ut rutnätet åt vänster */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-sand) 25%, rgb(243 238 230 / 0) 85%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; margin-bottom: 1.1rem; }
.page-hero__lead {
  max-width: 44rem;
  margin: 0;
  color: var(--c-ink-2);
  font-size: var(--fs-lead);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
  padding: 0;
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--c-line-2);
}
.breadcrumbs a { color: var(--c-ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-copper); text-decoration: underline; }

.anchor-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
}
.anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.anchor-nav a:hover { border-color: var(--c-copper); color: var(--c-copper); }

/* Info-/notisruta */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--c-copper-soft);
  border: 1px solid #edd2bf;
}
.note > .icon { width: 1.5rem; height: 1.5rem; color: var(--c-copper); }
.note h2,
.note h3 { margin: 0 0 0.5rem; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.note ul { margin: 0; padding-left: 1.1rem; color: var(--c-ink-2); }
.note li + li { margin-top: 0.35rem; }

/* 15. Steg/skeden ---------------------------------------------------------- */
.influence {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.influence__bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-copper), var(--c-copper-soft) 55%, var(--c-navy-3));
}
@media (max-width: 39.999em) {
  .influence { grid-template-columns: 1fr 1fr; }
  .influence__bar { grid-column: 1 / -1; grid-row: 2; }
  .influence span:last-child { text-align: right; }
}

.stages {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0;
}
.stage {
  position: relative;
  padding: 0 0 2rem 3.5rem;
}
.stage::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 2.6rem;
  bottom: 0.4rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--c-line-2) 0 6px, transparent 6px 11px);
}
.stage:last-child { padding-bottom: 0; }
.stage:last-child::before { display: none; }
.stage__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-copper);
  color: var(--c-copper);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stage h3 { margin: 0.2rem 0 0.35rem; font-size: 1.125rem; }
.stage p { margin: 0; color: var(--c-ink-2); font-size: var(--fs-sm); }
@media (min-width: 62em) {
  .stages { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
  .stage { padding: 3.5rem 0 0; }
  .stage::before {
    left: 2.75rem;
    right: -1.25rem;
    top: 1.07rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--c-line-2) 0 6px, transparent 6px 11px);
  }
  .stage:last-child::before { display: none; }
}

/* 16. Vanliga frågor ------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}
.faq details {
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--c-line-2); }
.faq summary {
  position: relative;
  padding: 1.15rem 3.75rem 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: -0.875rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--c-ink), var(--c-ink)) center / 0.7rem 2px no-repeat,
    linear-gradient(var(--c-ink), var(--c-ink)) center / 2px 0.7rem no-repeat,
    var(--c-sand);
}
.faq details[open] summary::after {
  background:
    linear-gradient(var(--c-copper), var(--c-copper)) center / 0.7rem 2px no-repeat,
    var(--c-copper-soft);
}
.faq summary:hover { color: var(--c-copper); }
.faq__answer {
  padding: 0 1.35rem 1.3rem;
  color: var(--c-ink-2);
}

/* 17. Kunder/Om-komponenter ----------------------------------------------- */
.stat-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48em) {
  .stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.stat-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
.stat-card .fact__value { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }

.route {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.5rem;
}
.route::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--c-copper) 0 8px, transparent 8px 14px);
}
.route li {
  position: relative;
  padding: 0.4rem 0 1.4rem;
}
.route li:last-child { padding-bottom: 0.4rem; }
.route li::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.65rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid var(--c-copper);
}
.route li.route__base::before { background: var(--c-copper); box-shadow: 0 0 0 5px var(--c-copper-soft); }
.route__city {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.route__note { color: var(--c-muted); font-size: var(--fs-sm); }
.route li.route__between .route__city { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--c-ink-2); }

.two-col {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}
@media (min-width: 60em) {
  .two-col { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
  .two-col--center { align-items: center; }
  .two-col--faq { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .two-col--faq > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.prose-block > p { color: var(--c-ink-2); }
.prose-block > p.lead { color: var(--c-ink); font-size: var(--fs-lead); }
.prose-block h2 { margin-top: 0; }
.prose-block h3 { margin-top: 2rem; }

.bizcard {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-lg);
  --c-focus: var(--c-copper-bright);
}
.bizcard__mark { width: 3rem; height: 3rem; margin-bottom: 2.5rem; }
.bizcard__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.bizcard__role {
  margin: 0.35rem 0 1.75rem;
  color: var(--c-copper-bright);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.bizcard__list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.15);
}
.bizcard__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}
.bizcard__list a:hover { color: var(--c-copper-bright); }
.bizcard__list .icon { color: var(--c-copper-bright); }

.company-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}
.company-facts dt { color: var(--c-muted); }
.company-facts dd { margin: 0; font-weight: 600; }

/* 18. Kontakt + formulär -------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 62em) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 1rem + 3vw, 4rem);
    align-items: start;
  }
}
.contact-cards { display: grid; gap: 0.85rem; }
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
a.contact-card:hover { border-color: var(--c-copper); box-shadow: var(--shadow-sm); color: var(--c-ink); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--c-copper-soft);
  color: var(--c-copper);
}
.contact-card__icon .icon { width: 1.3rem; height: 1.3rem; }
.contact-card__label {
  display: block;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-card__value {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-card__extra { display: block; margin-top: 0.15rem; color: var(--c-copper); font-size: var(--fs-sm); font-weight: 600; }
.contact-meta { margin: 1.25rem 0 0; color: var(--c-muted); font-size: var(--fs-sm); }

.form-card {
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem); margin-bottom: 0.5rem; }
.form-card__intro { color: var(--c-ink-2); margin-bottom: 1.75rem; }
.form-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 40em) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.field .req { color: var(--c-copper); }
.field .opt { color: var(--c-muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1e2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1.1rem no-repeat;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--c-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-copper);
  box-shadow: 0 0 0 4px rgb(173 76 25 / 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--c-err); }
.field__hint { margin: 0.4rem 0 0; color: var(--c-muted); font-size: var(--fs-xs); }
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.form-foot p { flex: 1 1 16rem; margin: 0; color: var(--c-muted); font-size: var(--fs-xs); }
.form-status {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.form-status:empty { margin: 0; padding: 0; }
.form-status--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.form-status--error { background: var(--c-err-bg); color: var(--c-err); }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
/* Honungsfälla för spam – dold för människor */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 19. Löptext (policy m.m.) ----------------------------------------------- */
.prose {
  max-width: 46rem;
}
.prose h2 {
  margin: 2.75rem 0 0.9rem;
  font-size: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 0.6rem; font-size: 1.125rem; }
.prose p,
.prose li { color: var(--c-ink-2); }
.prose li + li { margin-top: 0.4rem; }
.prose .meta { color: var(--c-muted); font-size: var(--fs-sm); }
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}
.prose table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.prose th,
.prose td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--c-sand); font-weight: 600; color: var(--c-ink); }
.prose code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--c-sand);
  font-size: 0.9em;
}

/* Enkel centrerad sida (404, tack) */
.simple-page {
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
}
.simple-page__inner { max-width: 40rem; }
.simple-page__code {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 3rem + 5vw, 7rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--c-line-2);
}
.simple-page p { color: var(--c-ink-2); font-size: var(--fs-lead); }
.simple-page .btn-row { margin-top: 2rem; }

/* 20. Cookie-ruta ---------------------------------------------------------- */
.consent {
  position: fixed;
  z-index: 100;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: 27rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: 0 24px 60px -18px rgb(8 18 30 / 0.45);
  color: var(--c-ink);
}
.consent[hidden] { display: none; }
@media (min-width: 40em) {
  .consent { left: 1.5rem; right: auto; bottom: 1.5rem; }
}
.consent__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}
.consent__text {
  margin: 0 0 1rem;
  color: var(--c-ink-2);
  font-size: 0.875rem;
  line-height: 1.55;
}
.consent__status {
  margin: -0.25rem 0 1rem;
  color: var(--c-muted);
  font-size: 0.8125rem;
}
.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
/* Samma utseende på båda knapparna – att avvisa ska vara lika enkelt som att godkänna */
.consent .btn {
  --btn-bg: var(--c-navy);
  --btn-bd: var(--c-navy);
  --btn-fg: #fff;
  min-height: 2.75rem;
  font-size: 0.9375rem;
}
.consent .btn:hover { --btn-bg: var(--c-navy-3); --btn-bd: var(--c-navy-3); }

/* 21. Animationer ----------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Ritningen "ritas" fram och kalkylstaplarna växer vid sidladdning */
  .hero-drawing .hd-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-line 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
  }
  .hero-drawing .hd-win { animation: fade-in 0.8s ease 1.1s both; }
  .estimate-card { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both; }
  .estimate-card__bar span { animation: grow-x 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .estimate-card__rows li:nth-child(1) span { animation-delay: 0.7s; }
  .estimate-card__rows li:nth-child(2) span { animation-delay: 0.8s; }
  .estimate-card__rows li:nth-child(3) span { animation-delay: 0.9s; }
  .estimate-card__rows li:nth-child(4) span { animation-delay: 1s; }
  .estimate-card__rows li:nth-child(5) span { animation-delay: 1.1s; }
  .estimate-card__rows li:nth-child(6) span { animation-delay: 1.2s; }

  /* Innehåll tonas in vid scroll – utan JavaScript där webbläsaren stöder det */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
  /* Reserv för övriga webbläsare (klassen sätts av site.js) */
  .js-reveal .reveal:not(.is-in) { opacity: 0; translate: 0 1.5rem; }
  .js-reveal .reveal { transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes rise-in { from { opacity: 0; translate: 0 1.25rem; } }
@keyframes reveal-in { from { opacity: 0; translate: 0 1.75rem; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Utskrift ----------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .consent, .cta, .hero__visual, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .section--navy { background: #fff !important; color: #000; }
  .hero::after { display: none; }
  .hero__lead, .hero .checklist { color: #000; }
  a { color: #000; }
}

/* Hoppa-till-innehåll: ingen synlig fokusram på själva main-elementet */
main:focus { outline: none; }
