/* Eira — stilark (version 2, september 2026) */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F5F2EC;
  --yta: #FFFFFF;
  --sand: #ECE4D6;
  --natt: #0A1628;
  --natt-2: #1B2842;
  --skog: #2A6B4A;
  --skog-mork: #1F553A;
  --lera: #A5462A;
  --linje: #E2DCD1;
  --text: #1F2735;
  --dampad: #586070;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1280px;
  --kant: clamp(1rem, 3.5vw, 2.5rem);
  --luft: clamp(4rem, 8vw, 6.5rem);
  --r: 18px;
  --r-s: 12px;
  --topp-h: 68px;
}

@media (min-width: 1024px) {
  :root { --topp-h: 80px; }
}

/* Grund */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topp-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

@media (min-width: 600px) {
  body { font-size: 1.0625rem; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -.012em;
  color: var(--natt);
  text-wrap: balance;
}

::selection { background: var(--sand); color: var(--natt); }
:focus-visible { outline: 2px solid var(--skog); outline-offset: 3px; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ikon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  padding: .75rem 1rem;
  border-radius: var(--r-s);
  background: var(--natt);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--kant), env(safe-area-inset-left));
  padding-right: max(var(--kant), env(safe-area-inset-right));
}

.overrubrik { margin-bottom: .9rem; font-size: .9375rem; font-weight: 500; color: var(--dampad); }
.lead { max-width: 36rem; margin-top: 1.25rem; font-size: clamp(1.05rem, 1.4vw, 1.15rem); color: var(--dampad); }
.fotnot { margin-top: 1rem; font-size: .875rem; color: var(--dampad); }
.fotnot a { color: var(--natt); }

/* Knappar */
.knapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.5rem;
  border: 1.5px solid var(--skog);
  border-radius: 999px;
  background: var(--skog);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.knapp:hover { background: var(--skog-mork); border-color: var(--skog-mork); }

.knapp-kant { background: transparent; border-color: var(--natt); color: var(--natt); }
.knapp-kant:hover { background: var(--natt); border-color: var(--natt); color: #fff; }

.knapp-vit { background: #fff; border-color: #fff; color: var(--natt); }
.knapp-vit:hover { background: var(--bg); border-color: var(--bg); color: var(--natt); }

.knapprad { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }

.textlank {
  font-weight: 600;
  color: var(--natt);
  text-decoration: none;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--natt);
  transition: color .2s ease, border-color .2s ease;
}
.textlank:hover { color: var(--skog); border-color: var(--skog); }

/* Cirkel med ikon */
.cirkel {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--linje);
  border-radius: 50%;
  background: var(--yta);
  color: var(--natt);
}
.cirkel img { width: 26px; height: 26px; }

/* Sidhuvud */
.topp {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topp.skuggad { border-bottom-color: var(--linje); }

.topp-inre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topp-h);
}

.logga { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.logga img { height: 40px; width: auto; }

.meny-knapp {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--linje);
  border-radius: 50%;
  background: var(--yta);
  color: var(--natt);
  cursor: pointer;
}
.meny-ikon { position: relative; width: 18px; height: 12px; }
.meny-ikon::before,
.meny-ikon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease;
}
.meny-ikon::before { top: 1px; }
.meny-ikon::after { bottom: 1px; }
.meny-oppen .meny-ikon::before { transform: translateY(4.25px) rotate(45deg); }
.meny-oppen .meny-ikon::after { transform: translateY(-4.25px) rotate(-45deg); }

.meny {
  display: none;
  position: fixed;
  top: calc(var(--topp-h) + env(safe-area-inset-top));
  left: 0; right: 0; bottom: 0;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem max(var(--kant), env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(var(--kant), env(safe-area-inset-left));
  background: var(--bg);
  border-top: 1px solid var(--linje);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.meny-oppen .meny { display: flex; }
html.meny-oppen { overflow: hidden; }

.meny ul { margin: 0; padding: 0; list-style: none; }
.meny ul a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--linje);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8vw, 2.5rem);
  line-height: 1.15;
  color: var(--natt);
  text-decoration: none;
}
.meny ul a[aria-current="page"] { color: var(--skog); }
.meny .knapp { width: 100%; }
.meny-kontakt { line-height: 2; color: var(--dampad); }
.meny-kontakt a { color: var(--natt); text-decoration: none; }

@media (min-width: 1024px) {
  .meny-knapp { display: none; }
  .meny {
    display: flex;
    position: static;
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
  }
  .meny ul { display: flex; align-items: center; margin-inline: auto; }
  .meny li { display: flex; align-items: center; }
  .meny li + li::before { content: ""; width: 1px; height: 18px; background: var(--linje); }
  .meny ul a {
    padding: .55rem 1.1rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 500;
    transition: background-color .2s ease;
  }
  .meny ul a:hover { background: var(--yta); }
  .meny ul a[aria-current="page"] { background: var(--yta); color: var(--natt); }
  .meny .knapp { width: auto; }
  .meny-kontakt { display: none; }
}

/* Hero på startsidan */
.hero {
  max-width: 1480px;
  margin-inline: auto;
  padding: .25rem max(.75rem, env(safe-area-inset-right)) 0 max(.75rem, env(safe-area-inset-left));
}

.hero-media {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: clamp(560px, 82svh, 780px);
  overflow: hidden;
  border-radius: var(--r);
  background: #DCE0E0;
}
.hero-media > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 70%;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(245, 242, 236, .82) 0%, rgba(245, 242, 236, .45) 45%, rgba(245, 242, 236, 0) 70%);
}

.hero-innehall {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(2.25rem, 7vw, 5.5rem) var(--kant);
}
.hero-innehall > * { max-width: 40rem; }

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 5.1rem);
  font-weight: 360;
  line-height: 1.02;
  letter-spacing: -.022em;
}
.hero-text { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text); }

@media (min-width: 900px) {
  .hero-media { align-items: center; }
  .hero-media::before {
    background: linear-gradient(90deg, rgba(245, 242, 236, .8) 0%, rgba(245, 242, 236, .4) 42%, rgba(245, 242, 236, 0) 64%);
  }
  .hero-media > img { object-position: 60% 50%; }
}

/* Sektioner */
.sektion { padding-block: var(--luft); }
.sektion-tat { padding-top: 0; }
.sektion-linje { border-top: 1px solid var(--linje); }

.rubrik-mitt { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.rubrik-mitt h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.rubrik-mitt .lead { margin-inline: auto; }

.rubrik-vanster { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rubrik-vanster h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }

/* Intro med punkter */
.intro-grid { display: grid; gap: 3rem; }
.intro h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; }

.punkter { display: grid; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.punkter li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.punkter .cirkel { width: 64px; height: 64px; }
.punkter strong { display: block; margin-bottom: .15rem; font-weight: 600; color: var(--natt); }
.punkter p { color: var(--dampad); }

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
}

/* Tjänstekort med mörk topp */
.kategori { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.kategori h3 { font-family: var(--sans); font-size: 1.5rem; font-weight: 500; letter-spacing: 0; }
.kortgrid + .kategori { margin-top: clamp(3rem, 6vw, 4.5rem); }

.kortgrid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .kortgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .kortgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.kort {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--yta);
  color: inherit;
  text-decoration: none;
}
.kort-topp {
  min-height: 9.5rem;
  padding: 1.4rem 1.6rem 2.25rem;
  background: var(--natt);
  color: #fff;
  transition: background-color .2s ease;
}
.kort-topp img { width: 26px; height: 26px; margin-bottom: 1.1rem; }
.kort-topp h4 { font-size: 1.7rem; font-weight: 380; line-height: 1.15; color: #fff; }
.kort-kropp { flex: 1; display: flex; flex-direction: column; gap: 1.75rem; padding: 1.6rem; }
.kort-lank {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--natt);
  font-weight: 500;
  transition: color .2s ease, border-color .2s ease;
}
a.kort:hover .kort-topp { background: var(--natt-2); }
a.kort:hover .kort-lank { color: var(--skog); border-color: var(--skog); }

/* Räkneexempel avgift */
.avgift {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--r);
  background: var(--yta);
}
.avgift h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; }
.avgift-meta { margin-bottom: .9rem; font-size: .8125rem; font-weight: 600; letter-spacing: .05em; color: var(--dampad); }

.stapel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 1rem;
  margin-top: .6rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--r-s);
}
.stapel small { display: block; font-size: .875rem; opacity: .78; }
.stapel .belopp {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.stapel-natt { background: var(--natt); color: #fff; }
.stapel-skog { background: var(--skog); color: #fff; }
.stapel-sand { background: var(--sand); color: var(--natt); }

@media (min-width: 960px) {
  .avgift { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
}

/* Steg */
.steg-grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .steg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.steg {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.75rem;
  border-radius: var(--r);
  background: var(--yta);
}
.steg h3 { font-size: 1.45rem; line-height: 1.2; }
.steg p { font-size: .975rem; color: var(--dampad); }

.steg-nr {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: .9rem;
  border: 1px solid var(--natt);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--natt);
}
.steg:last-child .steg-nr,
.process-steg:last-child .steg-nr { background: var(--skog); border-color: var(--skog); color: #fff; }

.steg-tagg { font-size: .8125rem; font-weight: 600; color: var(--skog); }
.steg-tid {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--linje);
  font-size: .875rem;
  font-weight: 600;
  color: var(--natt);
}
.mitt-lank { margin-top: 2.5rem; text-align: center; }

/* Infokort och grönt kort */
.trio { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.info-kort {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--r);
  background: var(--yta);
}
.info-kort h3 { font-size: 1.5rem; line-height: 1.2; }
.info-kort p { color: var(--dampad); }
.info-kort .cirkel { background: var(--bg); border-color: var(--bg); }

.gron-kort {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.25rem 2rem;
  border-radius: var(--r);
  background: var(--skog);
  color: #fff;
  text-align: center;
}
.gron-kort h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; color: #fff; }
.gron-kort p { color: rgba(255, 255, 255, .9); }
.gron-kort .cirkel { background: transparent; border-color: rgba(255, 255, 255, .45); }
.gron-kort .notis { font-size: .8125rem; color: rgba(255, 255, 255, .82); }

/* Samarbetspartners */
.partners { text-align: center; }
.partners h2 { max-width: 40rem; margin-inline: auto; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.partners-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  max-width: 62rem;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
}
.partners-lista li {
  padding: .55rem 1.1rem;
  border: 1px solid var(--linje);
  border-radius: 999px;
  background: var(--yta);
  font-size: .9375rem;
  color: var(--natt);
}

.bolag { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .bolag { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.bolag-kort { padding: 1.75rem; border-radius: var(--r); background: var(--yta); }
.bolag-kort h3 { margin-bottom: .5rem; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--skog); }
.bolag-kort ul { margin: 0; padding: 0; list-style: none; }
.bolag-kort li { padding: .65rem 0; border-bottom: 1px solid var(--linje); }
.bolag-kort li:last-child { border-bottom: 0; }

/* Undersidor */
.sidhero { padding-block: clamp(1.5rem, 4vw, 3rem) var(--luft); }
.sidhero-grid { display: grid; gap: 2.5rem; align-items: center; }
.sidhero h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); font-weight: 360; line-height: 1.04; letter-spacing: -.022em; }
.sidhero-bild { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: #DCE0E0; }
.sidhero-bild img { width: 100%; height: 100%; object-fit: cover; }
.sidhero-enkel h1 { max-width: 16ch; }

@media (min-width: 900px) {
  .sidhero-grid { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 6vw, 5rem); }
  .sidhero-bild { aspect-ratio: 5 / 6; }
}

.brodsmula { margin-bottom: 1.5rem; font-size: .875rem; color: var(--dampad); }
.brodsmula a { color: var(--natt); text-underline-offset: .2em; }
.brodsmula span { margin: 0 .4rem; }

.tjanster { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .tjanster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tjanster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tjanst {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: var(--r);
  background: var(--yta);
}
.tjanst h3 { margin-top: .25rem; font-size: 1.45rem; line-height: 1.2; }
.tjanst p { color: var(--dampad); }
.tjanst .cirkel { background: var(--bg); border-color: var(--bg); }

/* Delad sektion med rubrik till vänster */
.delad { display: grid; gap: 2.25rem; }
.delad-rubrik h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; }
.delad-rubrik .knapp { margin-top: 2rem; }

@media (min-width: 960px) {
  .delad { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
  .delad-rubrik { position: sticky; top: calc(var(--topp-h) + 2rem); }
}

.lista-kort { margin: 0; padding: .25rem 1.75rem; border-radius: var(--r); background: var(--yta); list-style: none; counter-reset: rad; }
.lista-kort li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .35rem .75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--linje);
  counter-increment: rad;
}
.lista-kort li:last-child { border-bottom: 0; }
.lista-kort li::before {
  content: counter(rad);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--skog);
}
.lista-kort h3 { font-size: 1.35rem; line-height: 1.2; }
.lista-kort p { grid-column: 2; color: var(--dampad); }

.tva-kort { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .tva-kort { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.enkel-lista { margin: 0; padding: 0; list-style: none; }
.enkel-lista li { padding: .8rem 0; border-top: 1px solid var(--linje); }
.info-kort.gron { background: var(--skog); color: #fff; }
.info-kort.gron h3 { color: #fff; }
.info-kort.gron .enkel-lista li { border-color: rgba(255, 255, 255, .25); }

/* Process med checklistor */
.process { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.process-steg {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r);
  background: var(--yta);
}
.process-steg .steg-nr { margin: 0; }
.process-steg h3 { margin-top: .25rem; font-size: 1.5rem; line-height: 1.2; }
.process-steg p { margin-top: .6rem; color: var(--dampad); }

@media (max-width: 599px) {
  .process-steg { grid-template-columns: minmax(0, 1fr); }
  .process-steg .steg-nr { margin-bottom: 1rem; }
}

.check { display: grid; gap: .6rem; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--linje); list-style: none; }
.check h4 { margin-bottom: .25rem; font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: 0; }
.check li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); font-size: .95rem; line-height: 1.5; }
.check .t { font-weight: 700; color: var(--skog); }
.check .nej { color: var(--dampad); }
.check .nej .t { color: var(--lera); }
.steg-tid-rad { display: inline-block; margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--skog); }

/* Vanliga frågor */
.fragor { display: grid; gap: .75rem; }
.fraga { border-radius: var(--r-s); background: var(--yta); }
.fraga summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: 1.2rem 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.25;
  color: var(--natt);
  list-style: none;
  cursor: pointer;
}
.fraga summary::-webkit-details-marker { display: none; }
.fraga summary::after {
  content: "";
  flex: 0 0 34px;
  height: 34px;
  border: 1px solid var(--linje);
  border-radius: 50%;
  background:
    linear-gradient(var(--natt), var(--natt)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--natt), var(--natt)) center / 1.5px 12px no-repeat;
}
.fraga[open] summary::after {
  background: linear-gradient(var(--natt), var(--natt)) center / 12px 1.5px no-repeat;
}
.fraga-svar { max-width: 46rem; padding: 0 1.5rem 1.5rem; }

/* Grön avslutspanel */
.cta-panel {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--r);
  background: var(--skog);
  color: #fff;
}
.cta-panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; color: #fff; }
.cta-panel p { margin-top: 1rem; color: rgba(255, 255, 255, .9); }
.cta-panel .notis { font-size: .875rem; color: rgba(255, 255, 255, .82); }

@media (min-width: 900px) {
  .cta-panel { grid-template-columns: 3fr 2fr; gap: 3rem; }
}

/* Kontakt */
.kontakt-kort { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r); background: var(--yta); }
.kontakt-rad { padding: 1.25rem 0; border-bottom: 1px solid var(--linje); }
.kontakt-rad:first-child { padding-top: 0; }
.kontakt-rad span { display: block; margin-bottom: .3rem; font-size: .875rem; color: var(--dampad); }
.kontakt-rad a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--natt);
  text-decoration: none;
}
.kontakt-rad a:hover { color: var(--skog); }

/* Integritetspolicy */
.toc { padding: 1.5rem; border-radius: var(--r); background: var(--yta); }
.toc p { margin-bottom: .5rem; font-weight: 600; color: var(--natt); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a {
  display: block;
  padding: .55rem 0;
  border-top: 1px solid var(--linje);
  font-size: .9375rem;
  text-decoration: none;
}
.toc a:hover { color: var(--skog); }

.text-kort { max-width: 48rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r); background: var(--yta); }
.text-kort .uppdaterad { margin-bottom: 1.25rem; font-size: .9375rem; font-weight: 600; color: var(--skog); }
.text-kort h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; }
.text-kort p + p { margin-top: 1rem; }
.text-kort ul { margin: 1rem 0; padding-left: 1.2rem; }
.text-kort li { margin: .4rem 0; }
.text-kort li::marker { color: var(--skog); }
.text-kort a { color: var(--skog); text-underline-offset: .2em; }

/* Sidfot */
.fot {
  padding: clamp(3rem, 6vw, 4.5rem) 0 calc(2rem + env(safe-area-inset-bottom));
  background: var(--natt);
  color: rgba(255, 255, 255, .78);
  font-size: .9688rem;
}
.fot a { text-decoration: none; }
.fot a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

.fot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .fot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fot-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }

.fot-logga img { height: 40px; width: auto; }
.fot-logga p { max-width: 22rem; margin-top: 1rem; }
.fot h2 { margin-bottom: .6rem; font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: #fff; }
.fot ul { margin: 0; padding: 0; list-style: none; line-height: 2.1; }
.fot .knapp { margin-top: 1.25rem; }
.fot .knapp:hover { text-decoration: none; }

.juridik {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .66);
}
.juridik p { margin: 0 0 .85rem; }
.juridik a { text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 900px) {
  .juridik-text { columns: 2; column-gap: 2.5rem; }
  .juridik p { break-inside: avoid; }
}

.fot-botten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .66);
}

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