/* ─────────────────────────────────────────────────────────────
   ETG El&Tele Gruppen AB — Designsystem
   Display: Barlow Condensed 600/700  ·  Text: Inter 400–800
   Brand: svart #1d1d1b + signalröd ur logotypen (#e62b27, i gränssnittet
   nedtonad till #d41c19 för att klara WCAG AA mot ljus bakgrund)
   Typsnitt självhostade i assets/fonts för snabb rendering.
   ───────────────────────────────────────────────────────────── */

/* ─── Självhostade typsnitt ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlowcondensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlowcondensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlowcondensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlowcondensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Tokens ─── */
:root {
  --paper:      #ffffff;
  --paper-2:    #fafaf9;
  --paper-3:    #f2f2f0;
  --sand:       #fafaf9;

  --ink-900:    #1a1a1a;
  --ink-800:    #2a2a2a;
  --ink-700:    #3a3a3a;

  --text:       #1a1a1a;
  --text-2:     #6e6e6e;
  --text-inv:   #ffffff;
  --text-inv-2: #b9b9b9;

  --line:       #eceae7;
  --line-2:     #ddd9d4;
  --line-inv:   rgba(255,255,255,.16);

  --red:        #d41c19;   /* logotypens röda, nedtonad till 4.5:1 mot vitt */
  --red-600:    #b81714;
  --red-light:  #ff6a60;   /* röd som håller kontrast mot grafit */
  --red-soft:   rgba(212,28,25,.10);

  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-s: 6px;
  --shadow: none;
  --shadow-lg: none;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }

/* ─── Typografi ─── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3, h4 {
  font-family: var(--sans);
  font-weight: 650;
  text-transform: none;
  letter-spacing: -.01em;
  line-height: 1.25;
}
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--red);
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}
.muted { color: var(--text-2); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }

/* ─── Layout ─── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--paper-2); }
.section--dark {
  background: var(--paper-2);
  color: var(--text);
}
.section--dark .lede,
.section--dark .muted { color: var(--text-2); }

.section__head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 619px) { .grid--4 { grid-template-columns: 1fr; } }
.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ─── Knappar ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-weight: 650;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-600); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-900); background: var(--paper-2); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover { background: var(--paper-3); }
.btn--outline-inv { border-color: var(--line-inv); color: #fff; }
.btn--outline-inv:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 650;
  font-size: .95rem;
  color: var(--red);
}
.link-arrow::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ─── Topbar ─── */
.topbar {
  background: var(--ink-900);
  color: var(--text-inv-2);
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 42px;
}
.topbar__tag {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .9rem;
  color: #fff;
}
.topbar__tag em { font-style: normal; color: var(--red-light); }
.topbar__meta { display: flex; align-items: center; gap: 1.6rem; }
.topbar__meta a, .topbar__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__meta a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--red-light); flex: none; }
@media (max-width: 780px) {
  .topbar__tag { display: none; }
  .topbar__meta { width: 100%; justify-content: space-between; gap: .75rem; font-size: .8rem; }
}

/* ─── Navigation: centrerad logotyp med delad meny ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  transition: transform .32s var(--ease), background-color .25s var(--ease), backdrop-filter .25s var(--ease);
}
/* Frostad yta så fort sidan scrollats – innehållet skymtar igenom */
.nav.is-glass {
  background: rgba(255,255,255,.68);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
/* Glider undan vid scroll nedåt, kommer tillbaka vid scroll uppåt */
.nav.is-hidden { transform: translateY(-100%); }

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 96px;
}
.nav__menu { display: flex; align-items: center; gap: clamp(.15rem, 1vw, .6rem); order: 2; }

.logo { display: inline-flex; align-items: center; order: 1; }
.logo__img { height: 58px; width: auto; display: block; }
.footer .logo__img { height: 60px; }

.nav__links { display: flex; align-items: center; gap: clamp(.15rem, 1vw, .6rem); }

.nav__link {
  display: inline-block;
  padding: .5rem .7rem;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  letter-spacing: .02em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--red); }
.nav__link[aria-current="page"] { color: var(--red); }

/* Kontakta oss som röd knapp */
.nav__cta {
  margin-left: .6rem;
  padding: .6rem 1.15rem;
  border-radius: var(--radius-s);
  background: var(--red);
  color: #fff;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.nav__cta:hover,
.nav__cta[aria-current="page"] { background: var(--red-600); color: #fff; }
.nav__cta:hover { transform: translateY(-1px); }

/* Telefonnumret visas bara i mobilmenyn */
.nav__tel-item { display: none; }

.nav__toggle {
  display: none;
  order: 3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  margin-right: -8px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 10;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg) translate(5.3px, 5.3px); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg) translate(5.3px, -5.3px); }

/* Mobil: logotyp till vänster, meny bakom knapp */
@media (max-width: 940px) {
  .nav__bar { min-height: 84px; }
  .logo__img { height: 50px; }
  .nav__toggle { display: flex; order: 3; }
  .logo { position: relative; z-index: 10; }

  .nav__menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(1.1rem, 3.5vh, 1.6rem);
    padding: 5rem 1.5rem 4rem;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    z-index: 5;
  }
  .nav.is-open .nav__menu { opacity: 1; pointer-events: all; transform: none; }

  .nav__links {
    flex-direction: column;
    align-items: center;
    gap: clamp(1.1rem, 3.5vh, 1.6rem);
  }
  .nav__link {
    padding: .2rem .4rem;
    border-radius: 4px;
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1;
    color: var(--text);
  }
  .nav__link:hover { background: transparent; color: var(--red); }
  .nav__link[aria-current="page"] { background: transparent; color: var(--red); }
  .nav__tel-item { display: block; }
  .nav__tel {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-2);
  }
  .nav__tel svg { width: 16px; height: 16px; color: var(--red); }
  .nav__tel:hover { color: var(--red); }

  .nav__cta {
    margin: .75rem 0 0;
    padding: .85rem 2rem;
    background: var(--red);
    color: #fff;
    font-size: clamp(1.05rem, 4vw, 1.25rem);
    letter-spacing: .06em;
  }
  .nav__cta:hover,
  .nav__cta[aria-current="page"] { background: var(--red-600); color: #fff; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  background: var(--paper);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
}
.hero--page { border-bottom: 1px solid var(--line); }

.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .fact { padding-block: 2rem 2.25rem; }
.hero__inner { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero__title { max-width: 16ch; }
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero__title em {
  font-style: normal;
  color: var(--red);
}
.hero__lede {
  margin-top: 1.5rem;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text-2);
}
.hero__actions { margin-top: 2.25rem; }
.hero--page .hero__inner { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.5rem); }
.hero--page .hero__title { max-width: 20ch; }


/* ─── Faktarad ─── */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line-2);
}
.fact {
  padding: 1.5rem 0 2.25rem;
  border-right: 1px solid var(--line-2);
  padding-inline: clamp(0rem, 2vw, 1.5rem);
}
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--text);
}
.fact__label {
  margin-top: .35rem;
  font-size: .9rem;
  color: var(--text-2);
}
@media (max-width: 620px) {
  .fact { border-right: 0; border-bottom: 1px solid var(--line-2); padding-block: 1.15rem; }
  .fact:last-child { border-bottom: 0; }
}

/* ─── Kort ─── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { border-color: var(--text); }
.card__num {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--red);
}
.card__title {
  margin-top: .15rem;
  font-family: var(--sans);
  font-weight: 650;
  text-transform: none;
  letter-spacing: -.01em;
  line-height: 1.25;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  hyphens: manual;
  overflow-wrap: normal;
  word-break: keep-all;
}
.card p { color: var(--text-2); font-size: 1rem; }
.card .link-arrow { margin-top: auto; padding-top: .5rem; }
/* Hela kortet klickbart: länken sträcks ut över hela ytan */
.card--link { cursor: pointer; }
.card--link .link-arrow { position: static; }
.card--link .link-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.card--link:hover .link-arrow::after { transform: translateX(4px); }
.section--alt .card { background: var(--paper); }
.section--dark .card { background: var(--paper); }

.icon { color: var(--red); margin-bottom: .35rem; }
.icon svg { width: 24px; height: 24px; }

/* ─── Tjänstesektioner ─── */
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service:first-of-type { border-top: 0; }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; } }
.service h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
.service__title { display: flex; align-items: baseline; gap: .9rem; }
.service__index {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--red);
  letter-spacing: .12em;
}

.checklist { display: grid; gap: .7rem; margin-top: 1.25rem; }
.checklist li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 1rem;
  align-items: start;
  font-size: 1rem;
  color: var(--text-2);
}
.checklist li::before {
  content: "";
  margin-top: .52em;
  width: 7px; height: 7px;
  border-top: 2.5px solid var(--red);
  border-right: 2.5px solid var(--red);
  transform: rotate(45deg);
}
.section--dark .checklist li { color: var(--text-2); }

/* ─── Process ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.step {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-2);
}
/* Punkt på linjen – markör i ett förlopp */
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--paper-2);
}
.step h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { font-size: .95rem; color: var(--text-2); }

/* ─── Referenser ─── */
.ref-group + .ref-group { margin-top: clamp(2rem, 4vw, 3rem); }
.ref-group__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.ref-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(.75rem, 2vw, 2rem);
}
.logo-tile {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  min-height: 104px;
}
.logo-tile img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.logo-tile img.is-tall { max-height: 72px; }
.logo-tile:hover img { filter: none; opacity: 1; }
/* Alltid sista kolumnen, så länken hamnar längst ner till höger
   oavsett hur många kolumner auto-fit landar på */
.logo-tile--link { justify-items: start; grid-column: -2 / -1; }
.logo-tile--link .link-arrow { font-size: .95rem; white-space: nowrap; }
@media (max-width: 520px) { .logo-tile--link { justify-items: center; } }
.logo-tile--text {
  font-size: .95rem;
  font-weight: 550;
  color: var(--text-2);
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 520px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { min-height: 104px; padding: 1.25rem 1rem; }
  .logo-tile img { max-height: 38px; }
}

/* ─── Personer ─── */
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.person:hover { border-color: var(--text); }
.person__photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .75rem;
  border: 2px solid var(--paper-3);
}
.person__name { font-size: 1.25rem; margin-bottom: .1rem; }
.person a { color: var(--text-2); font-size: .97rem; display: inline-flex; align-items: center; gap: .5rem; }
.person a:hover { color: var(--red); }
.person a svg { width: 15px; height: 15px; color: var(--red); flex: none; }

/* ─── Kontaktinfo ─── */
.info-list { display: grid; gap: 1.1rem; }
.info-list dt {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.info-list dd { margin: 0; font-size: 1.05rem; }
.info-list dd a:hover { color: var(--red); }

/* ─── Formulär ─── */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.field textarea { min-height: 150px; resize: vertical; }

/* Egen pil i rullgardinen, indragen från kanten */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%235b6470' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 14px;
  cursor: pointer;
}
.field--error input, .field--error textarea { border-color: var(--red); }
.field__error { font-size: .85rem; color: var(--red); display: none; }
.field--error .field__error { display: block; }
.form__note { font-size: .85rem; color: var(--text-2); }
.form__fallback {
  font-size: .9rem;
  padding: .85rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── FAQ ─── */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.08rem;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .22s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item p { padding-bottom: 1.35rem; color: var(--text-2); max-width: 78ch; }

/* ─── CTA-band ─── */
.cta {
  background: var(--paper);
  color: var(--text);
  border-top: 1px solid var(--line);
  position: relative;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 820px) { .cta__inner { grid-template-columns: 1fr; } }
.cta p { color: var(--text-2); margin-top: .9rem; max-width: 54ch; }
.cta .btn-row {
  display: grid;
  gap: .85rem;
  justify-items: stretch;
}

/* ─── Karta ─── */
.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* ─── Footer ─── */
.footer {
  background: var(--paper-2);
  color: var(--text-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  font-size: .95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 {
  color: var(--text);
  font-family: var(--sans);
  font-weight: 650;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.footer a:hover { color: var(--red); }
.footer ul { display: grid; gap: .6rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
}

/* ─── Notis / bekräftelse ─── */
.notice {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1rem;
  min-height: 62vh;
  padding-block: 4rem;
}
.notice__mark {
  width: 74px; height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
}
.notice__mark svg { width: 34px; height: 34px; }

/* ─── Prosa (policy) ─── */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5rem; margin-bottom: .75rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.75rem; margin-bottom: .5rem; }
.prose p + p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; display: grid; gap: .5rem; }
.prose ul li { padding-left: 1.4rem; position: relative; color: var(--text-2); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 1px; top: .52em;
  width: 7px; height: 7px;
  border-top: 2.5px solid var(--red);
  border-right: 2.5px solid var(--red);
  transform: rotate(45deg);
}
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }


/* ─── Rörelse ───────────────────────────────────────────────
   Diskreta animationer: innehåll som stiger in, mjuka hovringar.
   Allt stängs av automatiskt vid prefers-reduced-motion (se nedan).
   ───────────────────────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero: innehållet stiger in i tur och ordning vid sidladdning */
.hero__inner > .eyebrow { animation: rise .55s var(--ease) both; }
.hero__inner > .hero__title { animation: rise .6s var(--ease) .06s both; }
.hero__inner > .hero__lede { animation: rise .6s var(--ease) .12s both; }
.hero__inner > .hero__actions { animation: rise .6s var(--ease) .18s both; }
.stats .fact { animation: rise .5s var(--ease) both; }
.stats .fact:nth-child(2) { animation-delay: .06s; }
.stats .fact:nth-child(3) { animation-delay: .12s; }
.stats .fact:nth-child(4) { animation-delay: .18s; }

/* Kort: mjukt lyft och pil som glider */
.card { transition: transform .25s var(--ease), border-color .25s var(--ease); }
.card--link:hover { transform: translateY(-3px); }
.card .icon { transition: transform .25s var(--ease); }
.card--link:hover .icon { transform: translateY(-2px) scale(1.06); }

/* Logotyper: tonas upp och växer en aning */
.logo-tile img { transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); }
.logo-tile:hover img { transform: scale(1.05); }

/* Processpunkter: liten puls när steget rullas fram */
.step::before { transition: transform .3s var(--ease); }
.step:hover::before { transform: scale(1.35); }

/* Referensnamn och personkort */
.person { transition: border-color .25s var(--ease), transform .25s var(--ease); }
.person:hover { transform: translateY(-3px); }

/* Frågor och svar: svaret tonas fram */
.faq__item[open] p { animation: fade .3s var(--ease) both; }
.faq__item summary { transition: color .18s var(--ease); }
.faq__item summary:hover { color: var(--red); }

/* Menylänkar i mobilöverlägget kommer in i följd */
@media (max-width: 940px) {
  .nav.is-open .nav__links li { animation: rise .4s var(--ease) both; }
  .nav.is-open .nav__links li:nth-child(2) { animation-delay: .05s; }
  .nav.is-open .nav__links li:nth-child(3) { animation-delay: .1s; }
  .nav.is-open .nav__links--right li:nth-child(1) { animation-delay: .15s; }
  .nav.is-open .nav__links--right li:nth-child(2) { animation-delay: .2s; }
  .nav.is-open .nav__links--right li:nth-child(3) { animation-delay: .25s; }
}

/* ─── Scroll-animation ───
   Bara på större skärmar. På mobil ligger innehållet still och syns direkt.
   ─────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
  }
}
@media (min-width: 769px) {
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .hero__inner > *, .stats .fact, .nav.is-open .nav__links li,
  .faq__item[open] p { animation: none !important; }
  .card--link:hover, .person:hover { transform: none; }
}

/* ─── Skärmläsartext ─── */
.sr-only {
  position: absolute;
  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 ─── */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .85rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-weight: 650;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ─── Print ─── */
@media print {
  .nav, .cta, .footer, .btn-row { display: none; }
  body { color: #000; }
  .hero { background: #fff; color: #000; }
}
