/* ==========================================================================
   Nordbalans – designsystem
   Mjuk, ögonvänlig palett: varmt papper, dämpad tallgrön, sand.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ytor */
  --paper:      #FAF8F4;
  --paper-2:    #F3EFE8;
  --card:       #FFFFFF;
  --card-soft:  #FCFAF7;

  /* Text */
  --ink:        #1F2A26;
  --ink-2:      #4C5A54;
  --muted:      #7B8880;

  /* Varumärke */
  --brand:      #2F5D51;
  --brand-700:  #24483F;
  --brand-300:  #8FB8AA;
  --brand-100:  #E4EEE9;

  /* Accent */
  --accent:     #B87B4C;
  --accent-100: #F6EADD;
  --sky-100:    #E3EDEF;

  /* Fel */
  --danger:     #A8422F;

  /* Linjer & skuggor */
  --line:       rgba(31, 42, 38, .10);
  --line-2:     rgba(31, 42, 38, .06);
  --shadow-sm:  0 1px 2px rgba(31,42,38,.05), 0 4px 10px -6px rgba(31,42,38,.10);
  --shadow-md:  0 1px 2px rgba(31,42,38,.04), 0 16px 34px -18px rgba(31,42,38,.22);
  --shadow-lg:  0 2px 4px rgba(31,42,38,.04), 0 34px 60px -28px rgba(31,42,38,.28);

  /* Form */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Rytm */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --wrap: 1180px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Typografi */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

/* Mörkt läge – dämpat, aldrig helsvart */
:root[data-theme="dark"] {
  --paper:      #121614;
  --paper-2:    #171E1B;
  --card:       #1A211E;
  --card-soft:  #1E2622;

  --ink:        #E9EFEB;
  --ink-2:      #B7C5BE;
  --muted:      #8B9A93;

  --brand:      #82C0AB;
  --brand-700:  #A5D4C3;
  --brand-300:  #3C6A5D;
  --brand-100:  #1F2D28;

  --accent:     #DFA678;
  --accent-100: #2A231C;
  --sky-100:    #1B2528;

  --danger:     #E29179;

  --line:       rgba(233, 239, 235, .12);
  --line-2:     rgba(233, 239, 235, .07);
  --shadow-sm:  0 1px 2px rgba(0,0,0,.35), 0 4px 10px -6px rgba(0,0,0,.45);
  --shadow-md:  0 1px 2px rgba(0,0,0,.35), 0 16px 34px -18px rgba(0,0,0,.65);
  --shadow-lg:  0 2px 4px rgba(0,0,0,.4), 0 34px 60px -28px rgba(0,0,0,.75);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.72;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.018em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 24, "WONK" 0, "opsz" 40;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.7vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 1.4rem + 2.1vw, 2.95rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.4rem); letter-spacing: -.01em; }
p  { margin: 0 0 1.1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand-100); color: var(--brand-700); }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--paper-2); }
.section--tint::before,
.section--tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--line-2);
}
.section--tint::before { top: 0; }
.section--tint::after { bottom: 0; }

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 28vw, 320px), 1fr)); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* ---------- Rubrikblock ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .5;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem);
  color: var(--ink-2);
  line-height: 1.68;
}

/* ---------- Knappar ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .88rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font: inherit; font-weight: 600; font-size: .97rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
:root[data-theme="dark"] .btn { --btn-fg: #10201B; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
:root[data-theme="dark"] .btn--ghost { --btn-fg: var(--ink); }
.btn--ghost:hover { background: var(--card); border-color: var(--brand-300); box-shadow: var(--shadow-sm); }

.btn--soft { --btn-bg: var(--brand-100); --btn-fg: var(--brand-700); box-shadow: none; }
:root[data-theme="dark"] .btn--soft { --btn-fg: var(--brand-700); }
.btn--soft:hover { box-shadow: var(--shadow-sm); }

.btn--lg { padding: 1.02rem 1.9rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--brand); font-weight: 600; font-size: .95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-block: .85rem;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-2);
  padding-block: .5rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; }

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 600;
  letter-spacing: -.02em; margin-right: auto;
}
.brand__mark {
  width: 2.35rem; height: 2.35rem; flex: none;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-700) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.brand__mark svg { width: 1.25rem; height: 1.25rem; color: #fff; }
:root[data-theme="dark"] .brand__mark svg { color: #10201B; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  padding: .55rem .8rem; border-radius: var(--r-pill);
  font-size: .945rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--card); }
.nav a.btn { color: var(--btn-fg); }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .93rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding: .5rem .7rem; border-radius: var(--r-pill);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.header-phone:hover { color: var(--brand); background: var(--brand-100); }
.header-phone svg { width: 1rem; height: 1rem; }

.icon-btn {
  width: 2.5rem; height: 2.5rem; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--brand-300); background: var(--card); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; }
.nav-toggle span {
  display: block; width: 1.1rem; height: 1.5px; background: currentColor;
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 4px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 780px; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 18% 32%, color-mix(in srgb, var(--brand) 15%, transparent) 0%, transparent 68%),
    radial-gradient(38% 42% at 82% 22%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 66%),
    radial-gradient(50% 50% at 50% 0%, color-mix(in srgb, var(--sky-100) 88%, transparent) 0%, transparent 70%);
  filter: blur(6px);
}
.hero__inner {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero h1 em {
  font-style: italic; color: var(--brand);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}
.hero .lead { max-width: 33rem; }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .9rem .42rem .5rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.badge b { color: var(--ink); font-weight: 600; }
.badge__dot {
  width: 1.45rem; height: 1.45rem; border-radius: var(--r-pill);
  background: var(--brand-100); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.badge__dot svg { width: .85rem; height: .85rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__note {
  margin-top: 1.5rem; font-size: .88rem; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
}
.hero__note svg { width: 1rem; height: 1rem; color: var(--brand); flex: none; }

/* Hero-panel (mock-rapport) */
.panel {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  position: relative;
}
.panel__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.4rem;
}
.panel__title { font-size: .95rem; font-weight: 600; }
.panel__sub { font-size: .8rem; color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: var(--brand-100); color: var(--brand-700);
  font-size: .76rem; font-weight: 600; white-space: nowrap;
}
.pill--accent { background: var(--accent-100); color: var(--accent); }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.35rem; }
.kpi {
  background: var(--card-soft); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: .85rem .95rem;
}
.kpi dt { font-size: .76rem; color: var(--muted); margin-bottom: .2rem; }
.kpi dd {
  margin: 0; font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
}
.kpi dd small { font-size: .72rem; font-family: var(--font-body); color: var(--brand); font-weight: 600; margin-left: .35rem; }

.chart { display: flex; align-items: flex-end; gap: clamp(.35rem, 1.4vw, .6rem); height: 132px; }
.chart div {
  flex: 1; border-radius: 7px 7px 4px 4px;
  background: linear-gradient(180deg, var(--brand-300), var(--brand-100));
  height: var(--h);
  transform-origin: bottom;
  animation: grow .9s var(--ease) backwards;
  animation-delay: calc(var(--i) * 70ms + 250ms);
}
.chart div:nth-last-child(-n+2) { background: linear-gradient(180deg, var(--brand), var(--brand-300)); }
.chart-legend {
  display: flex; justify-content: space-between;
  margin-top: .6rem; font-size: .72rem; color: var(--muted);
}
@keyframes grow { from { transform: scaleY(.05); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.float-card {
  position: absolute; left: -1.6rem; bottom: -1.5rem;
  display: flex; align-items: center; gap: .7rem;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: .7rem .95rem;
  animation: float 7s ease-in-out infinite;
}
.float-card__icon {
  width: 2.1rem; height: 2.1rem; border-radius: var(--r-sm); flex: none;
  background: var(--accent-100); color: var(--accent);
  display: grid; place-items: center;
}
.float-card__icon svg { width: 1.05rem; height: 1.05rem; }
.float-card b { display: block; font-size: .87rem; }
.float-card span { font-size: .76rem; color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Statistikrad ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--paper); padding: clamp(1.3rem, 2.6vw, 1.9rem); text-align: center; }
.stat b {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 600;
  letter-spacing: -.025em; line-height: 1.1; color: var(--brand);
}
.stat span { font-size: .87rem; color: var(--muted); }

/* ---------- Kort ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card p { color: var(--ink-2); font-size: .975rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.4rem; align-self: flex-start; }

.card__icon {
  width: 3.1rem; height: 3.1rem; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1.35rem;
  background: var(--brand-100); color: var(--brand);
}
.card__icon svg { width: 1.45rem; height: 1.45rem; }
.card--accent .card__icon { background: var(--accent-100); color: var(--accent); }
.card--sky .card__icon { background: var(--sky-100); color: var(--brand-700); }

/* ---------- Split (varför oss) ---------- */
.split {
  display: grid; gap: clamp(2.2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.checklist { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.checklist svg {
  width: 1.4rem; height: 1.4rem; flex: none; margin-top: .18rem;
  color: var(--brand); background: var(--brand-100);
  border-radius: var(--r-pill); padding: .28rem;
}
.checklist b { display: block; font-weight: 600; }
.checklist span { color: var(--ink-2); font-size: .955rem; }

.quote-card {
  background: linear-gradient(158deg, var(--brand-100) 0%, var(--card) 62%);
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}
.quote-card blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem);
  line-height: 1.42; letter-spacing: -.012em;
}
.quote-card__mark { font-size: 2.6rem; line-height: 0; color: var(--brand-300); display: block; margin-bottom: 1.4rem; }

/* ---------- Pris ---------- */
.plans { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: stretch; }
.plan { position: relative; }
.plan--featured {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-100) 55%, var(--card)) 0%, var(--card) 34%);
}
.plan__flag {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: var(--r-pill);
}
:root[data-theme="dark"] .plan__flag { color: #10201B; }
.plan h3 { margin-bottom: .35rem; }
.plan__desc { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 1000px) { .plan__desc { min-height: 4.6em; } }
.plan__price {
  display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap;
  margin: 1.35rem 0 1.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line-2);
}
.plan__price b {
  font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
}
.plan__price span { color: var(--muted); font-size: .9rem; }

.features { list-style: none; margin: 0 0 1.9rem; padding: 0; display: grid; gap: .62rem; }
.features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--ink-2); }
.features svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .38rem; color: var(--brand); }
.plan .btn { width: 100%; margin-top: auto; }
.plan__fine { margin-top: 1.1rem; font-size: .78rem; color: var(--muted); line-height: 1.55; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.step {
  position: relative; padding-top: 2.6rem;
  border-top: 2px solid var(--line);
  transition: border-color .35s var(--ease);
}
.step:hover { border-top-color: var(--brand-300); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 1.15rem; left: 0;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  color: var(--brand); letter-spacing: .04em;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--ink-2); font-size: .94rem; }

/* ---------- Omdömen ---------- */
.testimonial { display: flex; flex-direction: column; }
.testimonial .stars { display: flex; gap: .18rem; margin-bottom: 1.1rem; color: var(--accent); }
.testimonial .stars svg { width: 1rem; height: 1rem; }
.testimonial p { font-size: 1rem; line-height: 1.7; }
.testimonial footer {
  margin-top: auto; padding-top: 1.5rem;
  display: flex; align-items: center; gap: .8rem;
}
.avatar {
  width: 2.6rem; height: 2.6rem; border-radius: var(--r-pill); flex: none;
  display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700);
  font-weight: 600; font-size: .92rem;
}
.testimonial cite { font-style: normal; font-weight: 600; font-size: .93rem; display: block; }
.testimonial small { color: var(--muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .7rem; }
.faq details {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 1.4rem; padding-right: 3.4rem;
  font-weight: 600; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%;
  width: .62rem; height: .62rem; margin-top: -.42rem;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.16rem; }
.faq .faq__body { padding: 0 1.4rem 1.3rem; color: var(--ink-2); font-size: .97rem; }

/* ---------- CTA / Kontakt ---------- */
.cta {
  background: linear-gradient(152deg, var(--brand-700) 0%, var(--brand) 58%, color-mix(in srgb, var(--brand) 78%, var(--accent)) 100%);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
  display: grid; gap: clamp(2rem, 4vw, 3.4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
:root[data-theme="dark"] .cta {
  background: linear-gradient(152deg, #1D3A32 0%, #24483F 58%, #33463A 100%);
}
.cta::after {
  content: ""; position: absolute; right: -14%; top: -55%;
  width: 46rem; height: 46rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.13) 0%, transparent 62%);
  pointer-events: none;
}
.cta h2 { color: #fff; }
.cta .eyebrow { color: rgba(255,255,255,.72); }
.cta p { color: rgba(255,255,255,.86); }
.cta__contact { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .75rem; }
.cta__contact a {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: .1rem;
  transition: border-color .25s var(--ease);
}
.cta__contact a:hover { border-color: #fff; }
.cta__contact svg { width: 1.05rem; height: 1.05rem; opacity: .8; }

.form {
  background: var(--card); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid; gap: .9rem; position: relative; z-index: 1;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.field { display: grid; gap: .38rem; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--card-soft);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .78rem .95rem;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.2rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: var(--card);
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--brand) 16%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form .row { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.form .fine { font-size: .78rem; color: var(--muted); text-align: center; margin: 0; }
.form__status {
  margin: 0; font-size: .9rem; font-weight: 600; color: var(--brand);
  display: none; align-items: center; gap: .5rem;
}
.form__status.is-visible { display: flex; }
.form__status.is-error { color: var(--danger); }
.form__status.is-error svg { display: none; }
.form__status svg { width: 1.1rem; height: 1.1rem; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: var(--section-y);
}
.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
.footer-grid p { color: var(--ink-2); font-size: .93rem; max-width: 26rem; }
.footer-col h4 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .58rem; }
.footer-col a {
  color: var(--ink-2); text-decoration: none; font-size: .93rem;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--muted);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Scroll-avslöjning ----------
   Döljs bara när JS hunnit slå på .js-anim, så innehållet syns alltid
   om skript blockeras eller misslyckas. */
:root.js-anim .reveal { opacity: 0; transform: translateY(22px); }
:root.js-anim .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- Responsivt ---------- */
@media (max-width: 1040px) {
  .hero__inner, .split, .cta { grid-template-columns: 1fr; }
  .hero__inner { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { left: auto; right: 1rem; bottom: -1.2rem; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 101;
    width: min(88vw, 22rem);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: .25rem;
    padding: 6rem 1.5rem 2rem;
    background: var(--paper);
    border-left: 1px solid var(--line-2);
    box-shadow: var(--shadow-lg);
    transform: translateX(102%);
    transition: transform .42s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: none; }
  .nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: var(--r-md); }
  .nav .btn { margin-top: 1rem; }
  .nav-toggle { display: grid; }
  .header-phone { display: none; }
  .nav-scrim {
    position: fixed; inset: 0; z-index: 90;
    background: color-mix(in srgb, var(--ink) 34%, transparent);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
    border: 0; padding: 0;
  }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
}

@media (min-width: 901px) {
  .nav-scrim { display: none; }
}

@media (max-width: 620px) {
  .kpis, .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .float-card { position: static; margin-top: 1rem; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  :root.js-anim .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-scrim, .hero__glow, .form { display: none !important; }
  body { background: #fff; color: #000; }
}
