/* ==========================================================================
   Revisionsgruppen — designsystem
   Layout, typografi, spacing och komponenter är 1:1 med förlagan.
   Enda avvikelsen: accentfärgen är #fcaa2d (istället för förlagans gula).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ytor – ljust tema */
  --surface-1: #eceae1;
  --surface-2: #f3f5ee;
  --surface-3: #dedcd6;

  /* Text/ink – ljust tema */
  --ink-1: #1c2623;
  --ink-2: rgba(28, 38, 35, 0.64);
  --ink-3: rgba(28, 38, 35, 0.32);
  --ink-4: rgba(28, 38, 35, 0.08);

  /* Overlays */
  --overlay-0: rgba(236, 234, 225, 0);
  --overlay-2: rgba(236, 234, 225, 0.32);
  --overlay-3: rgba(236, 234, 225, 0.64);

  /* Accent – TEMAFÄRG */
  --accent: #fcaa2d;
  --accent-ink: #1c2623;
  --accent-blue: #4f6e80;
  --blue-wash: #bccad1;
  --pink: #ebc9c9;

  /* Typografi */
  --font-heading: "Libre Caslon Display", "Libre Caslon Text", "Times New Roman", serif;
  --font-italic: "Libre Caslon Text", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --fw-default: 400;
  --fw-bold: 600;

  --h1-size: 68px;  --h1-lh: 80px;  --h1-ls: -1px;
  --h2-size: 56px;  --h2-lh: 66px;  --h2-ls: -1px;
  --h3-size: 40px;  --h3-lh: 47px;  --h3-ls: -1px;
  --h4-size: 32px;  --h4-lh: 38px;  --h4-ls: -0.5px;
  --h5-size: 28px;  --h5-lh: 33px;  --h5-ls: -0.25px;
  --h6-size: 20px;  --h6-lh: 28px;  --h6-ls: -0.25px;

  /* Kursiven (Libre Caslon Text) har 27 % större x-höjd än den raka
     (Libre Caslon Display). 0.86 väger x-höjd och versalhöjd mot varandra. */
  --italic-scale: 0.86;

  --text-lg: 18px;  --text-lg-lh: 28px;
  --text-md: 16px;  --text-md-lh: 24px;
  --text-sm: 14px;  --text-sm-lh: 20px;

  --label-size: 14px;   --label-lh: 16px;   --label-ls: 1.25px;
  --caption-size: 12px; --caption-lh: 12px; --caption-ls: 1.25px;

  /* Spacing */
  --gap-01: 4px;  --gap-02: 8px;  --gap-03: 12px; --gap-04: 16px;
  --gap-05: 20px; --gap-06: 24px; --gap-07: 32px; --gap-08: 48px;
  --gap-09: 64px; --gap-10: 80px; --gap-11: 120px; --gap-12: 160px;

  --section-xs: 32px;
  --section-sm: 80px;
  --section-md: 120px;
  --section-lg: 160px;
  --section-xl: 200px;

  /* Radie */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 200px;
  --radius-button: 20px;
  --radius-circle: 16px;

  /* Knappar & fält */
  --button-lg: 56px;
  --button-sm: 40px;
  --input-height: 56px;

  /* Ikoner */
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 28px;
  --icon-stroke: 2px;

  /* Rutnät */
  --grid-max: 1600px;
  --gutter: 16px;
  --page-padding: 32px;
  --frame-padding: 8px;

  --col-12: min(var(--grid-max), 100vw);
  --col-unit: calc((var(--col-12) - 11 * var(--gutter)) / 12);
  --col-10: calc(var(--col-unit) * 10 + 9 * var(--gutter));
  --col-8: calc(var(--col-unit) * 8 + 7 * var(--gutter));
  --col-6: calc(var(--col-unit) * 6 + 5 * var(--gutter));

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mörkt tema – samma tokens, inverterade värden */
.inverted {
  --surface-1: #1c2623;
  --surface-2: #232f2b;
  --surface-3: #141b19;
  --ink-1: #eceae1;
  --ink-2: rgba(236, 234, 225, 0.64);
  --ink-3: rgba(236, 234, 225, 0.32);
  --ink-4: rgba(236, 234, 225, 0.08);
  --overlay-0: rgba(28, 38, 35, 0);
  --overlay-2: rgba(28, 38, 35, 0.32);
  --overlay-3: rgba(28, 38, 35, 0.64);

  /* Ärvd textfärg måste sättas om här – annars ärver barnen body:s mörka ink */
  color: var(--ink-2);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  font-weight: var(--fw-default);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; border: 0; padding: 0; background: none; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--fw-default); color: var(--ink-1); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   3. Typografi
   -------------------------------------------------------------------------- */
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--ink-1);
  text-wrap: balance; /* jämnar ut ojämna radbrytningar när kursiven bryter raden */
}

.h1 { font-size: var(--h1-size); line-height: var(--h1-lh); letter-spacing: var(--h1-ls); }
.h2 { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
.h3 { font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }
.h4 { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
.h5 { font-size: var(--h5-size); line-height: var(--h5-lh); letter-spacing: var(--h5-ls); }
.h6 { font-size: var(--h6-size); line-height: var(--h6-lh); letter-spacing: var(--h6-ls); }

/* Kursiv accent i rubriker – som i förlagan */
.h1 em, .h2 em, .h3 em, .h4 em, .h5 em, .h6 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: calc(1em * var(--italic-scale));
  line-height: 1;
}

.text-lg { font-size: var(--text-lg); line-height: var(--text-lg-lh); }
.text-md { font-size: var(--text-md); line-height: var(--text-md-lh); }
.text-sm { font-size: var(--text-sm); line-height: var(--text-sm-lh); }

.strong { font-weight: var(--fw-bold); color: var(--ink-1); }
.muted  { color: var(--ink-2); }

.caption {
  font-size: var(--caption-size);
  line-height: var(--caption-lh);
  letter-spacing: var(--caption-ls);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.label {
  font-size: var(--label-size);
  line-height: var(--label-lh);
  letter-spacing: var(--label-ls);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--col-12);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}
.container.narrow  { max-width: var(--col-10); }
.container.compact { max-width: var(--col-8); }

.section { position: relative; padding-bottom: var(--section-md); }
.section.pt-lg { padding-top: var(--section-lg); }
.section.pt-md { padding-top: var(--section-md); }
.section.pad-lg { padding: var(--section-lg) 0 var(--section-md); }
.section.pad-flat { padding-bottom: 0; }
.section.pad-large { padding: var(--section-lg) 0; }
.section.pad-even { padding: var(--section-md) 0; }

.section-content.relaxed { gap: var(--gap-11); align-items: center; }
.section-content.relaxed > * { width: 100%; }
.section-content.spacious { gap: var(--gap-10); }

.section-content { display: flex; flex-direction: column; gap: var(--gap-08); }
.section-header { display: flex; flex-direction: column; gap: var(--gap-06); }
.section-header.center { align-items: center; text-align: center; }
.section-header.row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--gap-08); }

.section-link {
  flex: none;
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease);
}
.section-link:hover { color: var(--ink-1); }

.stack { display: flex; flex-direction: column; }
.stack.gap-02 { gap: var(--gap-02); }
.stack.gap-03 { gap: var(--gap-03); }
.stack.gap-04 { gap: var(--gap-04); }
.stack.gap-06 { gap: var(--gap-06); }
.stack.gap-07 { gap: var(--gap-07); }
.stack.gap-08 { gap: var(--gap-08); }

.text { display: flex; flex-direction: column; gap: var(--gap-06); }
.text.center { align-items: center; text-align: center; }
.text.narrow { max-width: 640px; }
.text.medium { max-width: 712px; }
.text.right { margin-left: auto; }

.buttons { display: flex; align-items: center; gap: var(--gap-02); flex-wrap: wrap; }
.buttons.center { justify-content: center; }

/* Mörk ram – de mörka sektionerna ligger i ett rundat block, indraget 8px */
.frame {
  margin: 0 var(--frame-padding);
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   5. Knappar
   -------------------------------------------------------------------------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-03);
  height: var(--button-lg);
  padding: 0 var(--gap-05);
  border-radius: var(--radius-button);
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.button:active { transform: scale(0.98); }

.button.small {
  height: var(--button-sm);
  padding: 0 var(--gap-04);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
}

/* Primär – ljus platta */
.button.primary { background: var(--surface-2); color: var(--ink-1); }
.button.primary:hover { background: var(--ink-1); color: var(--surface-1); }

/* Accent – temafärgen */
.button.accent { background: var(--accent); color: var(--accent-ink); }
.button.accent:hover { background: var(--ink-1); color: var(--surface-1); }

/* Sekundär – transparent platta */
.button.secondary {
  background: var(--ink-4);
  color: var(--ink-1);
  backdrop-filter: blur(16px);
}
.button.secondary:hover { background: var(--ink-1); color: var(--surface-1); }

/* Kundportal – en egen ingång i headern, inte en rullgardin */
.button.portal {
  gap: var(--gap-02);
  padding: 0 var(--gap-04);
  background: var(--ink-4);
  color: var(--ink-1);
  font-size: var(--label-size);
  line-height: var(--label-lh);
  letter-spacing: var(--label-ls);
  text-transform: uppercase;
}
.button.portal:hover { background: var(--ink-1); color: var(--surface-1); }
.button.portal .icon { width: 18px; height: 18px; }
.nav-portal { display: none; }

/* Knapp med cirkel-ikon till höger */
.button.animated { padding-right: 60px; }
.button.animated.small { padding-right: 48px; }

.button__circle {
  position: absolute;
  top: var(--gap-02);
  right: var(--gap-02);
  display: grid;
  place-items: center;
  width: var(--button-sm);
  height: var(--button-sm);
  border-radius: var(--radius-circle);
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.button.animated.small .button__circle { top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 12px; }
.button.animated:hover .button__circle { transform: translateX(2px); }

.button-circle {
  display: grid;
  place-items: center;
  width: var(--button-sm);
  height: var(--button-sm);
  border-radius: var(--radius-circle);
  background: var(--ink-4);
  color: var(--ink-1);
  backdrop-filter: blur(32px);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.button-circle:hover { background: var(--ink-1); color: var(--surface-1); }
.button-circle.large { width: var(--button-lg); height: var(--button-lg); border-radius: var(--radius-button); }

.icon { width: var(--icon-md); height: var(--icon-md); flex: none; }
.icon.small { width: var(--icon-sm); height: var(--icon-sm); }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.navigation {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--gap-04);
}

.navigation-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap-04);
  width: 100%;
  max-width: 1076px;
  margin-inline: auto;
  padding: var(--gap-02);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: 0 16px 80px rgba(28, 38, 35, 0.08);
}

.navigation-left { display: flex; align-items: center; gap: var(--gap-02); padding-left: var(--gap-03); }
.navigation-right { display: flex; align-items: center; justify-content: flex-end; gap: var(--gap-02); }

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.3px;
  color: var(--ink-1);
}
.nav-logo sup { font-size: 9px; font-weight: var(--fw-bold); }

.navigation-menu { display: flex; align-items: center; gap: var(--gap-01); }

.navigation-link {
  display: flex;
  align-items: center;
  gap: var(--gap-01);
  height: var(--button-sm);
  padding: 0 var(--gap-03);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.navigation-link:hover { background: var(--ink-4); }

.menu-button { display: none; }
.nav-cta { display: none; }

/* --------------------------------------------------------------------------
   7. Bildplatshållare
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-wash), var(--surface-3));
}
.media::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 50% 0;
  translate: 0 50%;
  text-align: center;
  font-size: var(--caption-size);
  letter-spacing: var(--caption-ls);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: rgba(28, 38, 35, 0.32);
}
.media.tone-warm  { background: linear-gradient(135deg, #f6d9a8, #e8c99f 55%, var(--surface-3)); }
.media.tone-blue  { background: linear-gradient(160deg, #9fb4c0, var(--blue-wash) 60%, #dfe4e0); }
.media.tone-pink  { background: linear-gradient(150deg, var(--pink), #e6d3c6 60%, var(--surface-3)); }
.media.tone-deep  { background: linear-gradient(150deg, #3c4f49, var(--accent-blue)); }
.media.tone-deep::after { color: rgba(236, 234, 225, 0.32); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.section.hero {
  padding: var(--frame-padding);
  overflow: clip;
  background: linear-gradient(var(--blue-wash), var(--surface-1));
}

.hero-frame {
  position: relative;
  height: calc(100vh - 16px);
  min-height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-02); height: 100%; }

.hero-media { position: relative; border-radius: var(--radius-lg); }
.hero-media::after { inset: 96px 0 auto; translate: none; } /* klarar den fasta headern */

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-08);
  padding: var(--gap-10) var(--gap-07);
}

.hero-header .h1 { max-width: 12ch; }
.hero-header .text.narrow { max-width: 460px; }

.hero-header.align-left {
  align-items: flex-start;
  padding: var(--gap-10) var(--gap-09);
}
.hero-header.align-left .text { align-items: flex-start; text-align: left; }
.hero-header.align-left .text.narrow { max-width: 520px; }
.hero-header.align-left .h1 { max-width: 14ch; }

/* Fördelar direkt i heron */
.benefit-list { display: flex; flex-direction: column; gap: var(--gap-04); }
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-03);
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
  color: var(--ink-1);
}
.benefit-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--accent-ink);
}
.benefit-check svg { width: 14px; height: 14px; }

/* Flytande citatkort i heron */
.quote-block {
  position: absolute;
  left: var(--gap-06);
  bottom: var(--gap-06);
  display: flex;
  flex-direction: column;
  gap: var(--gap-04);
  width: min(300px, calc(100% - 48px));
  padding: var(--gap-06);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: 0 16px 80px rgba(28, 38, 35, 0.12);
}
.quote-block__name { font-family: var(--font-heading); font-size: var(--h6-size); line-height: var(--h6-lh); color: var(--ink-2); }
.quote-block__text { font-size: var(--text-lg); line-height: var(--text-lg-lh); font-weight: var(--fw-bold); color: var(--ink-1); }

/* --------------------------------------------------------------------------
   9. Logotyp-marquee
   -------------------------------------------------------------------------- */
.marquee { position: relative; display: flex; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); }
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface-1), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--surface-1), transparent); }

.marquee-list {
  display: flex;
  flex: none;
  gap: var(--gap-04);
  padding-right: var(--gap-04);
  animation: marquee-left 46s linear infinite;
}
.marquee.reverse .marquee-list { animation-name: marquee-right; animation-duration: 54s; }
.marquee:hover .marquee-list { animation-play-state: paused; }

@keyframes marquee-left  { from { transform: translateX(0); }     to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.logo-card {
  display: grid;
  place-items: center;
  width: 340px;
  height: 120px;
  flex: none;
  padding: var(--gap-06);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  font-family: var(--font-body);
  font-size: var(--h6-size);
  line-height: var(--h6-lh);
  font-weight: var(--fw-bold);
  letter-spacing: -0.25px;
  text-align: center;
  color: var(--ink-2);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.logo-card:hover { background: var(--surface-3); color: var(--ink-1); }

/* Logotyp = märke + namn. Märkena är inline-SVG i currentColor, så de ärver
   kortets färg och skiftar med hover. Byt ut hela .logo-lockup mot
   <img class="logo-card__logo" src="..." alt="..."> när riktiga filer finns. */
.logo-lockup { display: inline-flex; align-items: center; gap: var(--gap-03); }
.logo-mark { width: 28px; height: 28px; flex: none; }
.logo-name { white-space: nowrap; }
.logo-card__logo { max-height: 40px; width: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   10. Feature split (bild + påståenden)
   -------------------------------------------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 551fr) 110fr minmax(0, 441fr);
  gap: var(--gap-04);
  align-items: center;
}
.feature-media { grid-column: 1; aspect-ratio: 551 / 734; }
.feature-content { grid-column: 3; display: flex; flex-direction: column; gap: var(--gap-10); }

.statements-list { display: flex; flex-direction: column; }
.statements-list li {
  padding: var(--gap-06) 0;
  border-top: 1px solid var(--ink-4);
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  color: var(--ink-2);
}
.statements-list li:last-child { border-bottom: 1px solid var(--ink-4); }
.statements-list strong { color: var(--ink-1); font-weight: var(--fw-bold); }

/* ---- Tjänstelista: namn och en rad. Inga kort, ingen ikonparad. ---- */
.offer-list { display: flex; flex-direction: column; }
.offer-list li {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: var(--gap-02) var(--gap-07);
  align-items: baseline;
  padding: var(--gap-06) 0;
  border-top: 1px solid var(--ink-4);
}
.offer-list li:last-child { border-bottom: 1px solid var(--ink-4); }
.offer-name {
  font-family: var(--font-heading);
  font-size: var(--h6-size);
  line-height: var(--h6-lh);
  letter-spacing: var(--h6-ls);
  color: var(--ink-1);
}
.offer-text {
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
  color: var(--ink-2);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   11. Fördelar med ikon
   -------------------------------------------------------------------------- */
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-08) var(--gap-09);
  width: 100%;
  max-width: var(--col-10);
  margin: 0 auto;
  text-align: left;
}
.benefit-cards li { display: flex; align-items: flex-start; gap: var(--gap-04); }
.benefit-cards .benefit-check { width: 28px; height: 28px; margin-top: 0; }
.benefit-cards .benefit-check svg { width: 16px; height: 16px; }

.benefit-card__text { display: flex; flex-direction: column; gap: var(--gap-02); }
.benefit-card__title {
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.benefit-card__body {
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  color: var(--ink-2);
}

/* I en smal spalt (bild + text) ligger fördelarna alltid på en rad var */
.feature-content .benefit-cards {
  grid-template-columns: 1fr;
  gap: var(--gap-06);
  max-width: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. Kortkarusell
   -------------------------------------------------------------------------- */
.feature-slider { display: flex; flex-direction: column; gap: var(--gap-06); }

/* Spåret går kant till kant; korten linjeras ändå upp mot rubriken ovanför
   via samma indrag som .container använder. */
.feature-slider-mask {
  --slider-inset: max(var(--page-padding), calc((100vw - var(--grid-max)) / 2 + var(--page-padding)));
  display: flex;
  gap: var(--gap-04);
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--slider-inset);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--slider-inset);
  scrollbar-width: none;
}
.feature-slider-mask::-webkit-scrollbar { display: none; }

/* Texten ligger under bilden istället för i en mörk platta ovanpå den:
   svart text på kortets egen yta, inget extra lager. */
.slide-card {
  flex: 0 0 clamp(240px, 30%, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--gap-04);
}

.slide-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.slide-card__panel { display: flex; flex-direction: column; gap: var(--gap-02); }
.slide-card__title {
  font-size: var(--text-lg);
  line-height: 26px;
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.slide-card__text {
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  color: var(--ink-2);
  max-width: 34ch;
}

.slider-controls { display: flex; gap: var(--gap-02); }

/* --------------------------------------------------------------------------
   13. Omdömen
   -------------------------------------------------------------------------- */
.section.blue-bottom { padding: var(--section-md) 0; background: linear-gradient(var(--surface-1), var(--blue-wash)); }
.section.blue-top { padding: var(--section-lg) 0 var(--section-md); background: linear-gradient(var(--blue-wash), var(--overlay-0)); }
.section.blue-top.pad-even { padding: var(--section-md) 0; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-04); }

.testimonial-card {
  position: relative;
  aspect-ratio: 286 / 429;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--gap-02);
  padding: var(--gap-06);
  text-align: center;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(28, 38, 35, 0) 35%, rgba(28, 38, 35, 0.72));
}
.testimonial-card > * { position: relative; }
.testimonial-card .caption { color: rgba(236, 234, 225, 0.64); }
.testimonial-card .quote { font-size: var(--text-lg); line-height: var(--text-lg-lh); font-weight: var(--fw-bold); color: #eceae1; }


/* Google-omdömen — samma marquee-mekanik som logotypraden, men i sajtens
   palett i stället för Googles varumärkesfärger. */
.reviews-marquee {
  --review-fade: 8%;
  padding: var(--gap-02) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--review-fade), #000 calc(100% - var(--review-fade)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--review-fade), #000 calc(100% - var(--review-fade)), transparent);
}
.reviews-marquee::before,
.reviews-marquee::after { display: none; }
.reviews-marquee .marquee-list { align-items: stretch; animation-duration: 96s; }

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-04);
  flex: none;
  width: 344px;
  padding: var(--gap-05);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  box-shadow: 0 1px 2px rgba(28, 38, 35, 0.06);
}

.review-card__top { display: flex; align-items: center; gap: var(--gap-02); }

.review-stars { display: flex; gap: 2px; color: var(--accent); }
.review-stars svg { width: 16px; height: 16px; }

.review-verified { width: 15px; height: 15px; flex: none; color: var(--accent-blue); }
.review-source { width: 18px; height: 18px; flex: none; margin-left: auto; color: var(--ink-3); }

.review-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--ink-2);
}

.review-card__author { display: flex; align-items: center; gap: var(--gap-03); margin-top: auto; }

.review-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.review-avatar.tone-warm { background: var(--accent); }
.review-avatar.tone-blue { background: var(--blue-wash); }
.review-avatar.tone-pink { background: var(--pink); }
.review-avatar.tone-deep { background: var(--accent-blue); color: var(--surface-2); }

.review-author { min-width: 0; }
.review-author__name {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.review-author__meta {
  font-size: var(--caption-size);
  line-height: 16px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   14. Höjdpunkt + statistik
   -------------------------------------------------------------------------- */
.highlight-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-02); }
.highlight-media { height: 304px; border-radius: var(--radius-lg); }

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gap-08);
  height: 304px;
  padding: var(--gap-07);
  border-radius: var(--radius-lg);
  background: #232f2b;
  color: rgba(236, 234, 225, 0.64);
}
.stat-card__value {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  color: #eceae1;
}

/* --------------------------------------------------------------------------
   15. Vanliga frågor
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--gap-02); width: 100%; max-width: var(--col-6); margin: 0 auto; }

.faq-item {
  padding: var(--gap-06);
  border-radius: var(--radius-button);
  background: var(--surface-3);
  transition: background-color 0.4s var(--ease);
}
.faq-item[data-open="true"] { background: var(--surface-2); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-06);
  width: 100%;
  text-align: left;
  font-size: var(--text-lg);
  line-height: var(--text-lg-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.faq-question .button-circle { flex: none; }
.faq-item[data-open="true"] .faq-question .button-circle svg { transform: rotate(45deg); }
.faq-question .button-circle svg { transition: transform 0.4s var(--ease); }

.faq-answer { display: grid; grid-template-rows: 0fr; min-height: 0; line-height: 0; transition: grid-template-rows 0.4s var(--ease); }
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; min-height: 0; }
.faq-answer p { line-height: var(--text-md-lh); }
.faq-answer p { padding-top: var(--gap-04); max-width: 52ch; }

/* --------------------------------------------------------------------------
   16. Avslutande CTA
   -------------------------------------------------------------------------- */
.section.cta { padding: var(--section-xl) 0; background: linear-gradient(var(--surface-1), var(--blue-wash)); }
.cta-content { display: flex; flex-direction: column; align-items: center; gap: var(--gap-07); text-align: center; }
.cta-content .h2 { max-width: 16ch; }

/* --------------------------------------------------------------------------
   17. Sidfot
   -------------------------------------------------------------------------- */
.footer { padding: var(--section-xs) 0; background: var(--blue-wash); }

.footer-card {
  display: grid;
  grid-template-columns: 432px 1fr;
  gap: var(--gap-08);
  padding: var(--gap-02);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.footer-promo { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 656px; }
.footer-promo__caption {
  position: absolute;
  inset: auto var(--gap-05) var(--gap-05) var(--gap-05);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-04);
  color: #eceae1;
}
.footer-promo__caption .h6 { color: #eceae1; font-family: var(--font-body); font-weight: var(--fw-bold); }
.footer-promo .button.secondary { background: rgba(236, 234, 225, 0.88); color: #1c2623; }
.footer-promo .button.secondary:hover { background: #eceae1; color: #1c2623; }

.footer-promo__logo { position: absolute; top: var(--gap-05); left: var(--gap-05); font-family: var(--font-heading); font-size: var(--h6-size); color: #eceae1; }

.footer-main { display: flex; flex-direction: column; justify-content: space-between; gap: var(--gap-09); padding: var(--gap-07) var(--gap-07) var(--gap-05) 0; }

.footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); gap: var(--gap-09) var(--gap-07); }
.footer-column { display: flex; flex-direction: column; gap: var(--gap-04); }
.footer-column .caption { color: var(--ink-2); }
.footer-column a { font-size: var(--text-md); line-height: 28px; color: var(--ink-1); transition: color 0.3s var(--ease); }
.footer-column a:hover { color: var(--ink-2); }

.newsletter { display: flex; flex-direction: column; gap: var(--gap-03); }
.newsletter__field { position: relative; }
.newsletter input {
  width: 100%;
  height: var(--input-height);
  padding: 0 56px 0 var(--gap-05);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  color: var(--ink-1);
  font: inherit;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.newsletter input::placeholder { color: var(--ink-2); }
.newsletter input:focus { border-color: var(--accent); }
.newsletter button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: var(--button-sm);
  height: var(--button-sm);
  border-radius: var(--radius-circle);
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.4s var(--ease);
}
.newsletter button:hover { transform: translateX(2px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-06);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--ink-2);
}
.footer-bottom nav { display: flex; gap: var(--gap-06); }
.footer-bottom a:hover { color: var(--ink-1); }
.footer-socials { display: flex; gap: var(--gap-03); }
.footer-socials a { display: grid; place-items: center; width: 24px; height: 24px; color: var(--ink-2); transition: color 0.3s var(--ease); }
.footer-socials a:hover { color: var(--ink-1); }


/* --------------------------------------------------------------------------
   19. Om oss
   -------------------------------------------------------------------------- */
.section.about {
  padding: var(--section-xl) 0 var(--section-xs);
  background: linear-gradient(var(--surface-1), var(--blue-wash));
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: var(--col-10);
  height: 540px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-video .button {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
}

.tag {
  display: inline-block;
  padding: var(--gap-02) var(--gap-03);
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--ink-1);
  font-size: var(--caption-size);
  line-height: var(--caption-lh);
  letter-spacing: var(--caption-ls);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

/* Bildkarusell */
.marquee.media-row .marquee-list { animation-duration: 64s; }
.marquee.media-row::before,
.marquee.media-row::after { width: 80px; }

.marquee-media {
  flex: none;
  width: 469px;
  height: 640px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Spegelvänd feature-split */
.feature-split > .text.right { grid-column: 1 / -1; max-width: 591px; margin-left: auto; }

.feature-split.reverse { grid-template-columns: minmax(0, 441fr) 110fr minmax(0, 551fr); }
.feature-split.reverse .feature-content { grid-column: 1; gap: var(--gap-06); }
.feature-split.reverse .feature-media { grid-column: 3; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-08) var(--gap-04); }
/* Två personer ska inte bli två jättebilder – håll dem i halva rutnätet */
.team-grid.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: var(--col-6); }

.team-card { position: relative; display: flex; flex-direction: column; gap: var(--gap-04); }
.team-card-media { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
.team-card__name { font-size: var(--text-md); line-height: var(--text-md-lh); font-weight: var(--fw-bold); color: var(--ink-1); }
.team-card__role { font-size: var(--text-md); line-height: var(--text-md-lh); color: var(--ink-2); }
.team-card__bio  { font-size: var(--text-sm); line-height: var(--text-sm-lh); color: var(--ink-2); }


/* --------------------------------------------------------------------------
   20. Kundcase (kundcase.html)
   -------------------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-09) var(--gap-07);
}

.case-card { display: flex; flex-direction: column; gap: var(--gap-05); }

.case-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Branschetiketten faller ner på egen rad om kundnamnet blir för långt */
  flex-wrap: wrap;
  gap: var(--gap-02) var(--gap-03);
  color: var(--ink-2);
}
.case-card__head .logo-lockup { font-size: var(--h6-size); font-weight: var(--fw-bold); color: var(--ink-1); }
.case-card__head .logo-mark { width: 24px; height: 24px; }

.case-card__tag {
  flex: none;
  font-size: var(--caption-size);
  line-height: var(--caption-lh);
  letter-spacing: var(--caption-ls);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--ink-3);
}

.case-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }

/* Nyckeltalen: värdet i rubriktypsnittet, etiketten under */
.case-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-04); }
.case-metric { display: flex; flex-direction: column; gap: var(--gap-01); }
.case-metric__value {
  font-family: var(--font-heading);
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--ink-1);
}
.case-metric__label {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--ink-2);
}

.case-card__body {
  padding-top: var(--gap-05);
  border-top: 1px solid var(--ink-4);
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  color: var(--ink-2);
}


/* Sammanfattningen i det mörka blocket */
.case-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-08) var(--gap-04);
}
.case-summary .case-metric__value { font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }

/* --------------------------------------------------------------------------
   21. Blogg (blogg.html, artikel.html)
   -------------------------------------------------------------------------- */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-03);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--ink-2);
}
.post-meta__read { color: var(--ink-3); }

/* Utvald artikel — bild och text sida vid sida */
.post-featured {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-08);
  align-items: center;
}
.post-featured__media { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
.post-featured__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-05); }
.post-featured__text .h3 { max-width: 18ch; }
.post-featured__text .text-md { max-width: 52ch; }
.post-featured__text .button { margin-top: var(--gap-02); }

/* Artikelkorten */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-09) var(--gap-07);
}

.post-card { display: flex; flex-direction: column; gap: var(--gap-05); }
.post-card__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-md); }
.post-card__text { display: flex; flex-direction: column; gap: var(--gap-04); }
.post-card .h5 { text-wrap: pretty; }

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-02);
  margin-top: auto;
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.post-card__link .icon,
.post-featured .button__circle { transition: transform 0.3s var(--ease); }
.post-card:hover .post-card__link .icon { transform: translateX(4px); }
/* Hela kortet är klickbart via rubriklänken – bilden är bara dekor */
.post-card__media,
.post-card .h5 a { transition: opacity 0.3s var(--ease); }
.post-card:hover .post-card__media { opacity: 0.88; }

/* --- Artikelsidan ------------------------------------------------------- */
/* Rubrik och brödtext delar mätt radlängd; bilden får vara bredare */
.article-head,
.article-body { max-width: 640px; margin-inline: auto; }
.article-head { display: flex; flex-direction: column; gap: var(--gap-06); }
.article-head .h2 { max-width: 22ch; }
.article-head .text-lg { max-width: 60ch; }

.article-hero { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); margin-top: var(--gap-10); }

.article-body { display: flex; flex-direction: column; gap: var(--gap-06); }
.article-body p {
  font-size: var(--text-lg);
  line-height: 30px;
  color: var(--ink-2);
}
.article-body strong { color: var(--ink-1); font-weight: var(--fw-bold); }
.article-body h2 { margin-top: var(--gap-06); }

.article-body ul { display: flex; flex-direction: column; gap: var(--gap-04); padding-left: var(--gap-06); }
.article-body li {
  position: relative;
  font-size: var(--text-lg);
  line-height: 30px;
  color: var(--ink-2);
}
.article-body li::before {
  content: "";
  position: absolute;
  left: calc(var(--gap-06) * -1 + 4px);
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent);
}

.article-body blockquote {
  padding-left: var(--gap-06);
  border-left: 2px solid var(--accent);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--h5-size);
  line-height: var(--h5-lh);
  color: var(--ink-1);
}
.article-body .article-lead { border-left-color: var(--ink-4); }

.article-figure {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  margin: var(--gap-04) 0;
}

/* --------------------------------------------------------------------------
   22. Bild- och videoplatser (demoläge)
   -------------------------------------------------------------------------- */
.media-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent; /* ingen alt-text syns om filen saknas */
  font-size: 0;
}
.media-fill[hidden] { display: none; }

/* Etiketten göms så fort platsen har en bild */
.media.is-filled::after { content: none; }

/* Gradientsjoken i omdömeskorten måste ligga över bilden */
.testimonial-card::before { z-index: 1; }

/* Byt-bild-knappen syns bara i bildläge */
.media__chip {
  position: absolute;
  z-index: 5;
  top: var(--gap-03);
  right: var(--gap-03);
  display: none;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: rgba(28, 38, 35, 0.72);
  color: #eceae1;
  font-family: var(--font-body);
  font-size: var(--caption-size);
  letter-spacing: 0.4px;
  font-weight: var(--fw-bold);
  backdrop-filter: blur(12px);
  transition: background-color 0.3s var(--ease);
}
.media__chip:hover { background: var(--accent); color: var(--accent-ink); }

.media-edit .media__chip { display: inline-flex; }
.media-edit .media { outline: 1px dashed var(--ink-3); outline-offset: -1px; }
.media.is-drop { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Liten verktygsrad nere till vänster */
.media-toolbar {
  position: fixed;
  z-index: 200;
  left: var(--gap-05);
  bottom: var(--gap-05);
  display: flex;
  align-items: center;
  gap: var(--gap-02);
  opacity: 0.28;
  transition: opacity 0.3s var(--ease);
}
.media-toolbar:hover { opacity: 1; }
.media-edit .media-toolbar { opacity: 1; }

.media-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--ink-1);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  box-shadow: 0 8px 32px rgba(28, 38, 35, 0.16);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.media-toolbar button:hover { background: var(--ink-1); color: var(--surface-1); }
.media-toolbar [data-media-clear] { display: none; }
.media-edit .media-toolbar [data-media-clear] { display: inline-flex; }
.media-edit .media-toolbar [data-media-toggle] { background: var(--accent); color: var(--accent-ink); }

.media-toast {
  position: fixed;
  z-index: 200;
  left: var(--gap-05);
  bottom: 68px;
  max-width: 320px;
  padding: var(--gap-03) var(--gap-04);
  border-radius: var(--radius-md);
  background: var(--ink-1);
  color: var(--surface-1);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  box-shadow: 0 8px 32px rgba(28, 38, 35, 0.24);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.media-toast.is-visible { opacity: 1; transform: translateY(0); }

@media print { .media-toolbar, .media__chip, .media-toast { display: none !important; } }

/* --------------------------------------------------------------------------
   23. Responsivt
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root {
    --h1-size: 56px; --h1-lh: 66px;
    --h2-size: 44px; --h2-lh: 52px;
    --section-lg: 120px; --section-xl: 160px;
  }
  .case-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-featured { gap: var(--gap-07); }
  .slide-card { flex-basis: 38%; }
  .footer-card { grid-template-columns: 280px 1fr; }
}

@media (max-width: 991px) {
  :root {
    /* Rutnätets fasta hjälpspalter (11 × 16px) äter för stor andel av en
       liten skärm: --col-6 blev 180px av 375px. Här styr paddingen istället. */
    --col-10: 100%;
    --col-8: 100%;
    --col-6: 100%;

    --h1-size: 48px; --h1-lh: 57px;
    --h2-size: 40px; --h2-lh: 47px;
    --h3-size: 32px; --h3-lh: 38px;
    --page-padding: 24px;
    --section-md: 96px; --section-lg: 96px; --section-xl: 120px;
  }

  /* Rutnätsformlerna (col-10, col-8) drar ihop sig för hårt på små skärmar –
     under 992px ska de smala behållarna ta hela bredden som .container gör */
  .container.narrow,
  .container.compact { max-width: var(--col-12); }

  .navigation-content { grid-template-columns: 1fr auto; }
  .navigation-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--gap-01);
    padding: var(--gap-02);
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    box-shadow: 0 16px 80px rgba(28, 38, 35, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .navigation[data-menu="open"] .navigation-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .navigation-link { height: 48px; font-size: var(--text-md); }
  .menu-button { display: grid; }

  .hero-frame { height: auto; min-height: 0; }
  .hero-header.align-left { padding: var(--gap-09) var(--gap-06); }
  .section-header.row { flex-direction: column; align-items: flex-start; gap: var(--gap-04); }
  .hero-split { grid-template-columns: 1fr; }
  /* svh istället för vh: höjden hoppar annars när mobilens adressfält
     glider undan vid scroll. vh står kvar som reserv för äldre webbläsare. */
  .hero-media { aspect-ratio: auto; height: 70vh; height: 70svh; }
  .hero-header { padding: var(--gap-09) var(--gap-06); }

  .feature-split { grid-template-columns: 1fr; gap: var(--gap-08); }
  .feature-split.reverse { grid-template-columns: 1fr; }
  .feature-media, .feature-content,
  .feature-split.reverse .feature-media,
  .feature-split.reverse .feature-content { grid-column: 1; }
  .feature-split.reverse .feature-media { grid-row: 1; }
  .feature-media { aspect-ratio: 4 / 3; }
  .feature-content { gap: var(--gap-08); }

  .slide-card { flex-basis: 56%; }
  .highlight-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { aspect-ratio: 3 / 2; }

  .footer-card { grid-template-columns: 1fr; }
  .footer-promo { min-height: 320px; }

  .section-content.relaxed { gap: var(--gap-09); }
  .section-content.spacious { gap: var(--gap-08); }
  .hero-video { height: 380px; }
  .marquee-media { width: 320px; height: 436px; }
  .benefit-cards { grid-template-columns: 1fr; gap: var(--gap-07); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-07) var(--gap-04); }
  .team-grid.pair { max-width: none; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-08) var(--gap-06); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-08) var(--gap-06); }
  .post-featured { grid-template-columns: 1fr; gap: var(--gap-06); }
  .post-featured__media { aspect-ratio: 16 / 9; }
  .post-featured__text .h3 { max-width: none; }
  .article-hero { aspect-ratio: 4 / 3; }
  .text.right { margin-left: 0; }
  .footer-main { padding: var(--gap-06); }
  .footer-columns { grid-template-columns: repeat(2, 1fr); gap: var(--gap-08) var(--gap-06); }
}

@media (max-width: 640px) {
  .faq-item { padding: var(--gap-05); }
  .faq-question { gap: var(--gap-04); font-size: var(--text-md); line-height: 22px; }

  .offer-list li { grid-template-columns: 1fr; padding: var(--gap-05) 0; }
  .offer-text { font-size: var(--text-md); line-height: var(--text-md-lh); }

  :root {
    --h1-size: 40px; --h1-lh: 47px;
    --h2-size: 32px; --h2-lh: 38px;
    --page-padding: 16px;
    --section-md: 72px; --section-lg: 72px; --section-xl: 96px;
  }
  .navigation-right .button.accent,
  .navigation-right .button.portal { display: none; }
  .nav-cta,
  .nav-portal { display: flex; width: 100%; height: 48px; margin-top: var(--gap-01); }

  .buttons { width: 100%; }
  .buttons .button { flex: 1 1 auto; }
  .slide-card { flex-basis: 84%; }
  .logo-card { width: 240px; height: 104px; font-size: var(--text-md); }
  .review-card { width: 280px; }
  .reviews-marquee { --review-fade: 5%; }
  .hero-video { height: 260px; }
  .marquee-media { width: 240px; height: 327px; }
  .team-grid, .team-grid.pair { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .article-body p, .article-body li { font-size: var(--text-md); line-height: var(--text-md-lh); }
  .article-body li::before { top: 9px; }
  .article-body blockquote { padding-left: var(--gap-04); }
  .article-figure { aspect-ratio: 4 / 3; }
  .case-summary { grid-template-columns: 1fr; gap: var(--gap-06); }
  .footer-columns { grid-template-columns: 1fr; }
  .logo-mark { width: 22px; height: 22px; }
  .marquee::before, .marquee::after { width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   24. Prisberäknare (pris.html)
   Bygger helt på tokens ovan – inga nya färger, typsnitt eller radier.
   -------------------------------------------------------------------------- */
.pris-page { padding: var(--gap-06) 0 var(--section-sm); }

/* ---- Minimal varumärkesrad istället för sajtens navigation ---- */
.pris-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-04);
  padding-bottom: var(--gap-09);
}
.pris-topbar__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}
.pris-topbar__link:hover { color: var(--ink-1); }

.pris-head { display: flex; flex-direction: column; align-items: center; gap: var(--gap-04); text-align: center; }
.pris-head .h2 { max-width: 16ch; }
.pris-head p { max-width: 52ch; }

.pris-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  align-items: start;
  gap: var(--gap-04);
  margin-top: var(--gap-08);
}

/* ---- Stegindikator ---- */
.stepper {
  display: flex;
  align-items: center;
  gap: var(--gap-02);
  padding: var(--gap-03) var(--gap-05);
  border-radius: var(--radius-full);
  background: var(--surface-2);
}
.step-dot {
  display: flex;
  align-items: center;
  gap: var(--gap-02);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: var(--fw-bold);
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.step-dot__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-4);
  color: var(--ink-2);
  font-size: var(--caption-size);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.step-dot__num svg { width: 13px; height: 13px; }
.step-dot[data-state="current"] { color: var(--ink-1); }
.step-dot[data-state="current"] .step-dot__num { background: var(--accent); color: var(--accent-ink); }
.step-dot[data-state="done"] { color: var(--ink-2); }
.step-dot[data-state="done"] .step-dot__num { background: var(--ink-1); color: var(--surface-2); }
.step-rule { flex: 1 1 auto; height: 1px; min-width: 12px; background: var(--ink-4); }

/* ---- Kortyta ---- */
.pris-card {
  margin-top: var(--gap-03);
  padding: var(--gap-07);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.pris-card + .pris-card { margin-top: var(--gap-02); }

.pris-step { display: none; flex-direction: column; gap: var(--gap-06); }
.pris-step[data-active="true"] { display: flex; animation: pris-in 0.45s var(--ease) both; }
@keyframes pris-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pris-step__head { display: flex; flex-direction: column; gap: var(--gap-02); }
.pris-step__head .h5 { line-height: 1.2; }
.pris-step__head p { max-width: 56ch; }

/* ---- Fält ---- */
.field { display: flex; flex-direction: column; gap: var(--gap-02); }
.field > .label { color: var(--ink-2); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-04); }
.field-hint { font-size: var(--text-sm); line-height: 18px; color: var(--ink-3); }

.input {
  width: 100%;
  height: var(--input-height);
  padding: 0 var(--gap-05);
  border: 1px solid var(--ink-4);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--accent); }
.input[readonly] { background: var(--ink-4); border-color: transparent; color: var(--ink-2); }
.input.has-suffix { padding-right: 68px; }

.input-wrap { position: relative; }
.input-suffix {
  position: absolute;
  top: 50%;
  right: var(--gap-05);
  translate: 0 -50%;
  font-size: var(--text-sm);
  color: var(--ink-3);
  pointer-events: none;
}

/* ---- Företagssök ---- */
.combo { position: relative; }
.combo__icon {
  position: absolute;
  top: 50%;
  left: var(--gap-05);
  translate: 0 -50%;
  width: 20px;
  height: 20px;
  color: var(--ink-3);
  pointer-events: none;
}
.combo .input { padding-left: 52px; }
.combo__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 296px;
  overflow-y: auto;
  padding: var(--gap-02);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  box-shadow: 0 16px 80px rgba(28, 38, 35, 0.16);
  display: none;
}
.combo[data-open="true"] .combo__list { display: block; }
.combo__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: var(--gap-03) var(--gap-04);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: background-color 0.2s var(--ease);
}
.combo__item:hover,
.combo__item[data-active="true"] { background: var(--ink-4); }
.combo__item strong { font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--ink-1); }
.combo__item span { font-size: var(--text-sm); color: var(--ink-2); }
.combo__item--free { margin-top: var(--gap-02); padding-top: var(--gap-04); border-top: 1px solid var(--ink-4); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.combo__item--free strong { font-weight: var(--fw-bold); color: var(--ink-2); }

/* ---- Vald företagsrad ---- */
.context-bar {
  display: flex;
  align-items: center;
  gap: var(--gap-03);
  margin-bottom: var(--gap-06);
  padding-bottom: var(--gap-05);
  border-bottom: 1px solid var(--ink-4);
}
.context-bar[hidden] { display: none; }
.context-bar svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.context-bar strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}

.link-button {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease);
}
.link-button:hover { color: var(--ink-1); }

/* ---- Snabbval / chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: var(--gap-02); }
.chips.split { display: grid; grid-template-columns: 1fr 1fr; }
.chips.split .chip { width: 100%; }
.chip {
  height: 40px;
  padding: 0 var(--gap-04);
  border: 1px solid var(--ink-4);
  border-radius: var(--radius-full);
  background: transparent;
  font-size: var(--text-sm);
  line-height: 1;
  font-weight: var(--fw-bold);
  color: var(--ink-2);
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--ink-3); color: var(--ink-1); }
.chip[aria-pressed="true"] { background: var(--ink-1); border-color: var(--ink-1); color: var(--surface-2); }
.chip[disabled] { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }
.chip[disabled]:hover { border-color: var(--ink-4); color: var(--ink-2); }

/* ---- Tjänstekort ---- */
.service-list { display: flex; flex-direction: column; gap: var(--gap-02); }
.service-card {
  border: 1px solid var(--ink-4);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.service-card[data-selected="true"] { border-color: var(--accent); }
.service-card__toggle {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-04);
  width: 100%;
  padding: var(--gap-05);
  text-align: left;
}
.service-card__check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  border: 1.5px solid var(--ink-3);
  border-radius: 8px;
  color: transparent;
  transition: all 0.3s var(--ease);
}
.service-card__check svg { width: 14px; height: 14px; }
.service-card[data-selected="true"] .service-card__check { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.service-card__text { display: flex; flex-direction: column; gap: 2px; }
.service-card__text strong { font-size: var(--text-lg); line-height: 26px; font-weight: var(--fw-bold); color: var(--ink-1); }
.service-card__text span { font-size: var(--text-sm); line-height: 20px; color: var(--ink-2); }
.service-card__price {
  margin-left: auto;
  flex: none;
  padding-top: 3px;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink-3);
  white-space: nowrap;
}

.service-card__body { display: none; padding: 0 var(--gap-05) var(--gap-05) 64px; }
.service-card[data-selected="true"] .service-card__body { display: flex; flex-direction: column; gap: var(--gap-05); }

.question { display: flex; flex-direction: column; gap: var(--gap-03); padding-top: var(--gap-05); border-top: 1px solid var(--ink-4); animation: pris-in 0.4s var(--ease) both; }
.question__label { font-size: var(--text-md); line-height: 22px; font-weight: var(--fw-bold); color: var(--ink-1); }
.question .segmented { align-self: flex-start; }

/* ---- Ja/Nej-väljare ---- */
.segmented { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; padding: 4px; border-radius: var(--radius-full); background: var(--ink-4); }
.segmented button {
  min-height: 36px;
  min-width: 76px;
  padding: var(--gap-02) var(--gap-04);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  line-height: 20px;
  font-weight: var(--fw-bold);
  color: var(--ink-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.segmented button:hover { color: var(--ink-1); }
.segmented button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink-1); box-shadow: 0 1px 3px rgba(28, 38, 35, 0.12); }

/* Fler än två alternativ ryms inte i en segmenterad kontroll — då blir det
   fristående pillerknappar som radbryter i stället för att spilla över. */
.segmented--wide { gap: var(--gap-02); padding: 0; background: none; border-radius: 0; }
.segmented--wide button {
  min-width: 0;
  border: 1px solid var(--ink-4);
  transition: all 0.3s var(--ease);
}
.segmented--wide button:hover { border-color: var(--ink-3); color: var(--ink-1); }
.segmented--wide button[aria-pressed="true"] {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: var(--surface-2);
  box-shadow: none;
}

/* ---- Navigering mellan steg ---- */
.pris-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-04); padding-top: var(--gap-05); border-top: 1px solid var(--ink-4); }
.pris-nav .button.primary { background: var(--surface-1); }
.pris-nav .button.primary:hover { background: var(--ink-1); color: var(--surface-1); }
.button[disabled] { opacity: 0.4; pointer-events: none; }

/* ---- Sammanfattning (höger kolumn) ---- */
.summary {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-05);
  padding: var(--gap-06);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.summary__rows { display: flex; flex-direction: column; }
.summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap-04); padding: var(--gap-03) 0; border-bottom: 1px solid var(--ink-4); }
.summary__row:last-child { border-bottom: 0; }
.summary__row dt { font-size: var(--text-sm); color: var(--ink-2); }
.summary__row dd { margin: 0; font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--ink-1); text-align: right; }

/* ---- Prisresultat ---- */
.price-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-03);
  padding: var(--gap-08) var(--gap-06);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  text-align: center;
}
.price-hero__value {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 46px);
  white-space: nowrap;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}
.price-hero__value em { font-family: var(--font-italic); font-style: italic; font-size: 0.86em; }
.price-hero__per { font-size: var(--text-md); color: var(--ink-2); }
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-02);
  height: 32px;
  padding: 0 var(--gap-04);
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--caption-size);
  letter-spacing: var(--caption-ls);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
}

.breakdown { display: flex; flex-direction: column; }
.breakdown__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap-04); padding: var(--gap-04) 0; border-bottom: 1px solid var(--ink-4); }
.breakdown__row:first-child { border-top: 1px solid var(--ink-4); }
.breakdown__row strong { font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--ink-1); }
.breakdown__row span { font-size: var(--text-sm); color: var(--ink-2); }
.breakdown__row b { font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--ink-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown__label { display: flex; flex-direction: column; gap: 2px; }

/* ---- Valblock: skicka eller boka ---- */
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-02); }
.pick-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-02);
  padding: var(--gap-05);
  border: 1px solid var(--ink-4);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  text-align: left;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pick-card:hover { border-color: var(--ink-3); }
.pick-card[aria-pressed="true"] { border-color: var(--accent); }
.pick-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--ink-4); color: var(--ink-1); }
.pick-card[aria-pressed="true"] .pick-card__icon { background: var(--accent); color: var(--accent-ink); }
.pick-card strong { font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--ink-1); }
.pick-card__desc { font-size: var(--text-sm); line-height: 20px; color: var(--ink-2); }

.reveal { display: none; flex-direction: column; gap: var(--gap-05); }
.reveal[data-visible="true"] { display: flex; animation: pris-in 0.4s var(--ease) both; }

/* ---- Tidsbokning ---- */
.slot-day { display: flex; flex-direction: column; gap: var(--gap-03); }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--gap-02); }
.slot-times .chip { width: 100%; justify-content: center; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }

/* ---- Kryssruta ---- */
.check { display: flex; align-items: flex-start; gap: var(--gap-03); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border: 1.5px solid var(--ink-3);
  border-radius: 7px;
  color: transparent;
  transition: all 0.25s var(--ease);
}
.check__box svg { width: 13px; height: 13px; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check input:focus-visible + .check__box { outline: 2px solid var(--ink-1); outline-offset: 2px; }
.check__text { font-size: var(--text-sm); line-height: 20px; color: var(--ink-2); }
.check__text a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Notiser ---- */
.notice {
  display: flex;
  gap: var(--gap-03);
  padding: var(--gap-04) var(--gap-05);
  border-radius: var(--radius-md);
  background: var(--ink-4);
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--ink-2);
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--accent-blue); }
.notice[hidden] { display: none; }
.notice.warn { background: rgba(252, 170, 45, 0.18); color: var(--ink-1); }
.notice.warn svg { color: #9a6a10; }

/* ---- Bekräftelse ---- */
.done { display: flex; flex-direction: column; align-items: center; gap: var(--gap-05); padding: var(--gap-08) var(--gap-05); text-align: center; }
.done__mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.done__mark svg { width: 32px; height: 32px; }
.done .h4 { max-width: 18ch; }
.done p { max-width: 46ch; }
.done__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap-02); }
.fact {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-02);
  min-height: 40px;
  padding: var(--gap-02) var(--gap-04);
  border-radius: var(--radius-full);
  background: var(--surface-1);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.fact svg { width: 16px; height: 16px; color: var(--ink-3); }

/* ---- Trygghetsrad under kortet ---- */
.assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap-06); margin-top: var(--gap-06); }
.assurance li { display: flex; align-items: center; gap: var(--gap-02); font-size: var(--text-sm); color: var(--ink-2); }
.assurance svg { width: 16px; height: 16px; color: var(--ink-1); }

@media (max-width: 1200px) {
  .pris-layout { grid-template-columns: minmax(0, 1fr) 296px; }
}

@media (max-width: 991px) {
  .pris-page { padding-bottom: var(--section-xs); }

  .pris-topbar { padding-bottom: var(--gap-07); }
  .pris-layout { grid-template-columns: 1fr; }
  .pris-card { padding: var(--gap-06); }

  /* Sammanfattningen upprepar bara det som redan står i formuläret. */
  .summary { display: none; }

  /* Rubriken har gjort sitt när man väl är inne i flödet – ge plats åt frågorna. */
  .pris-page[data-step]:not([data-step="1"]) .pris-head { display: none; }
  .pris-page[data-step]:not([data-step="1"]) .pris-topbar { padding-bottom: var(--gap-06); }
  .pris-page[data-step]:not([data-step="1"]) .pris-layout { margin-top: 0; }

  /* Bara det aktuella stegets namn får plats – och är det enda som spelar roll. */
  .step-dot__label { display: none; }
  .step-dot[data-state="current"] .step-dot__label { display: inline; }
  .stepper { justify-content: space-between; padding: var(--gap-03) var(--gap-04); }
  .service-card__body { padding-left: var(--gap-05); }
}

@media (max-width: 640px) {
  .pris-card { padding: var(--gap-05); }
  .field-grid { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
  .pris-nav { flex-direction: column-reverse; align-items: stretch; }
  .pris-nav .button { width: 100%; }
  .assurance { gap: var(--gap-02) var(--gap-04); }
  .assurance li { font-size: var(--caption-size); }
  .assurance svg { display: none; }

  /* Träffytor som klarar en tumme. */
  .chip { height: 44px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1 1 0; min-height: 44px; min-width: 0; }
  .segmented--wide button { flex: 0 1 auto; }
  .service-card__toggle { padding: var(--gap-04); }
  .service-card__body { padding: 0 var(--gap-04) var(--gap-04); }
  .service-card__price { display: none; }
  .slot-times { grid-template-columns: repeat(3, 1fr); }
  .chips.days { display: grid; grid-template-columns: 1fr 1fr; }
  .chips.days .chip { width: 100%; }
  .input { height: 52px; }
}

/* --------------------------------------------------------------------------
   24. Juridiska sidor (integritetspolicy, villkor)
   Läsbarhet före allt annat: smal spaltbredd, tydlig struktur, egen innehålls-
   förteckning. Samma tokens som resten av sajten.
   -------------------------------------------------------------------------- */
.legal-page { padding-top: 152px; }

.legal-head { display: flex; flex-direction: column; gap: var(--gap-04); max-width: 40ch; }
.legal-updated {
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  color: var(--ink-3);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--gap-07) var(--gap-10);
  align-items: start;
  margin-top: var(--gap-09);
}

/* ---- Innehållsförteckning ---- */
.legal-toc { position: sticky; top: 112px; display: flex; flex-direction: column; gap: var(--gap-03); }
.legal-toc__title { color: var(--ink-3); }
.legal-toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.legal-toc a {
  display: block;
  padding: var(--gap-02) var(--gap-03);
  margin-left: calc(var(--gap-03) * -1);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  line-height: 18px;
  color: var(--ink-2);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.legal-toc a:hover { background: var(--ink-4); color: var(--ink-1); }

/* ---- Brödtext ---- */
.legal-body { display: flex; flex-direction: column; gap: var(--gap-08); min-width: 0; }
.legal-section { display: flex; flex-direction: column; gap: var(--gap-04); min-width: 0; scroll-margin-top: 120px; }
.legal-section > h2 { margin-bottom: var(--gap-01); }
.legal-body p,
.legal-body li { max-width: 68ch; font-size: var(--text-md); line-height: 26px; color: var(--ink-2); }
.legal-body strong { color: var(--ink-1); font-weight: var(--fw-bold); }
.legal-body a:not(.button) {
  color: var(--ink-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-3);
  transition: text-decoration-color 0.25s var(--ease);
}
.legal-body a:not(.button):hover { text-decoration-color: var(--ink-1); }

.legal-list { display: flex; flex-direction: column; gap: var(--gap-03); }
.legal-list li { position: relative; padding-left: var(--gap-05); }
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Sammanfattning högst upp ---- */
.legal-summary {
  display: flex;
  flex-direction: column;
  gap: var(--gap-03);
  padding: var(--gap-06);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}
.legal-summary p { max-width: none; }

/* ---- Uppgiftstabell ---- */
.legal-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.legal-table th,
.legal-table td {
  padding: var(--gap-04) var(--gap-04) var(--gap-04) 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-4);
  line-height: 20px;
}
.legal-table th { color: var(--ink-1); font-weight: var(--fw-bold); border-bottom-color: var(--ink-3); }
.legal-table td { color: var(--ink-2); }
.legal-table td:first-child { color: var(--ink-1); font-weight: var(--fw-bold); }
.legal-scroll { min-width: 0; overflow-x: auto; }
.legal-table { min-width: 380px; }

/* ---- Fält som kunden själv måste fylla i innan lansering ---- */
.legal-todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(252, 170, 45, 0.24);
  box-shadow: inset 0 0 0 1px rgba(252, 170, 45, 0.5);
  color: var(--ink-1);
  font-size: 0.9em;
}

@media (max-width: 991px) {
  .legal-page { padding-top: 120px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: var(--gap-07); }
  .legal-toc { position: static; padding-bottom: var(--gap-05); border-bottom: 1px solid var(--ink-4); }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--gap-04); }
}

@media (max-width: 640px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-summary { padding: var(--gap-05); }
}

/* --------------------------------------------------------------------------
   25. Så funkar det (sa-funkar-det.html)
   Numren bär information här – de är stegens ordning, inte dekoration.
   -------------------------------------------------------------------------- */
.steg-page { padding-top: 152px; }
.steg-page .section-header { margin-bottom: var(--gap-10); }

.steg-list { display: flex; flex-direction: column; }
.steg-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--gap-06);
  align-items: baseline;
  padding: var(--gap-07) 0;
  border-top: 1px solid var(--ink-4);
}
.steg-item:last-child { border-bottom: 1px solid var(--ink-4); }
.steg-num {
  font-family: var(--font-heading);
  font-size: var(--h4-size);
  line-height: 1;
  letter-spacing: var(--h4-ls);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.steg-text { display: flex; flex-direction: column; gap: var(--gap-03); }
.steg-title {
  font-size: var(--text-lg);
  line-height: 26px;
  font-weight: var(--fw-bold);
  color: var(--ink-1);
}
.steg-text p { font-size: var(--text-md); line-height: 26px; color: var(--ink-2); max-width: 62ch; }

/* ---- Det här ingår ---- */
.ingar {
  display: flex;
  flex-direction: column;
  gap: var(--gap-06);
  margin-top: var(--section-sm);
  padding: var(--gap-08);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.ingar-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-04) var(--gap-07); }
.ingar-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-03);
  font-size: var(--text-md);
  line-height: 24px;
  color: var(--ink-1);
}
.ingar-list svg { flex: none; margin-top: 4px; color: var(--accent-blue); }

.steg-page .cta-content { margin-top: var(--section-sm); }

/* --------------------------------------------------------------------------
   26. Boka möte (boka-mote.html)
   -------------------------------------------------------------------------- */
.boka-page { padding-top: 152px; }
.boka-page .section-header { margin-bottom: var(--gap-08); }

.boka-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: var(--gap-04);
}
.boka-page .pris-card { margin-top: 0; }
.boka-page .pris-step { display: flex; }

.boka-aside {
  display: flex;
  flex-direction: column;
  gap: var(--gap-04);
  padding: var(--gap-06);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.boka-aside .legal-list li { font-size: var(--text-sm); line-height: 22px; color: var(--ink-2); }
.boka-aside .legal-list li::before { top: 8px; }
.boka-aside a { color: var(--ink-1); text-decoration: underline; text-underline-offset: 3px; }

.boka-page .assurance { margin-top: var(--gap-07); }

@media (max-width: 991px) {
  .steg-page,
  .boka-page { padding-top: 120px; }
  .steg-page .section-header { margin-bottom: var(--gap-08); }
  .steg-item { grid-template-columns: 56px minmax(0, 1fr); gap: var(--gap-04); padding: var(--gap-06) 0; }
  .ingar { margin-top: var(--section-xs); padding: var(--gap-06); }
  .boka-layout { grid-template-columns: minmax(0, 1fr); }
  .boka-aside { order: 2; }
}

@media (max-width: 640px) {
  .steg-item { grid-template-columns: 1fr; gap: var(--gap-02); }
  .steg-num { font-size: var(--h6-size); }
  .ingar-list { grid-template-columns: 1fr; }
  .ingar { padding: var(--gap-05); }
}

/* --------------------------------------------------------------------------
   27. Kontakta oss (kontakta-oss.html)
   -------------------------------------------------------------------------- */
.kontakt-page { padding-top: 152px; }
.kontakt-page .section-header { margin-bottom: var(--gap-08); }

/* ---- Vad vill du göra? ---- */
.intent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-02); }

.intent-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: start;
  gap: var(--gap-04);
  height: 100%;
  padding: var(--gap-05);
  border: 1px solid var(--ink-4);
  border-radius: var(--radius-md);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.intent-card:hover { border-color: var(--ink-3); background: var(--surface-2); }

.intent-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink-4);
  color: var(--ink-1);
}
.intent-card:hover .intent-card__icon { background: var(--accent); color: var(--accent-ink); }
.intent-card__text { display: flex; flex-direction: column; gap: var(--gap-02); }
.intent-card__text strong { font-size: var(--text-lg); line-height: 26px; font-weight: var(--fw-bold); color: var(--ink-1); }
.intent-card__text span { font-size: var(--text-sm); line-height: 21px; color: var(--ink-2); }
.intent-card__arrow { width: 20px; height: 20px; margin-top: 12px; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.intent-card:hover .intent-card__arrow { transform: translateX(3px); color: var(--ink-1); }

/* ---- Kontoret och kartan ---- */
.kontor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: var(--gap-07);
  margin-top: var(--section-sm);
  padding-top: var(--section-xs);
  border-top: 1px solid var(--ink-4);
}
.kontor-text { display: flex; flex-direction: column; gap: var(--gap-05); align-items: flex-start; }

.kontor-adress {
  font-style: normal;
  font-size: var(--text-lg);
  line-height: 28px;
  color: var(--ink-1);
}

.kontor-tider { display: flex; flex-wrap: wrap; gap: var(--gap-07); }
.kontor-tider dt {
  font-size: var(--caption-size);
  letter-spacing: var(--caption-ls);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--ink-3);
  margin-bottom: var(--gap-02);
}
.kontor-tider dd { margin: 0; font-size: var(--text-md); line-height: 24px; color: var(--ink-1); }
.kontor-tider a { text-decoration: underline; text-underline-offset: 3px; }

/* Kartan bäddas in först när besökaren klickar. */
.karta {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-wash), var(--surface-3));
}
.karta iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

.karta__ladda {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-02);
  width: 100%;
  text-align: center;
  color: var(--ink-1);
}
.karta__pin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--gap-02);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-1);
  transition: transform 0.3s var(--ease);
}
.karta__pin svg { width: 24px; height: 24px; }
.karta__ladda:hover .karta__pin { transform: translateY(-2px); }
.karta__ladda strong { font-size: var(--text-md); font-weight: var(--fw-bold); }
.karta__hint { max-width: 26ch; font-size: var(--caption-size); line-height: 16px; color: var(--ink-2); }
.karta__ladda:disabled { cursor: not-allowed; opacity: 0.75; }
.karta__ladda:disabled:hover .karta__pin { transform: none; }

.karta__vagbeskrivning {
  position: absolute;
  right: var(--gap-03);
  bottom: var(--gap-03);
  padding: var(--gap-02) var(--gap-04);
  border-radius: var(--radius-full);
  background: var(--surface-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink-1);
  box-shadow: 0 2px 12px rgba(28, 38, 35, 0.16);
}

@media (max-width: 991px) {
  .kontakt-page { padding-top: 120px; }
  .kontor { grid-template-columns: minmax(0, 1fr); gap: var(--gap-06); margin-top: var(--section-xs); }
}

@media (max-width: 640px) {
  .intent-grid { grid-template-columns: 1fr; }
  .intent-card { padding: var(--gap-04); gap: var(--gap-03); grid-template-columns: 40px minmax(0, 1fr) 18px; }
  .intent-card__icon { width: 40px; height: 40px; }
  .karta,
  .karta iframe { min-height: 260px; }
}
