/* Rörman VVS, No Frame demo
   Arketyp A5 clinical-soft, teknisk tappning.
   Signatur: kopparledningen, en 2px kopparlinje som löper genom sidan. */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #f6f4f0;
  --surface: #eeeae3;
  --white: #fff;
  --blue: #153e5c;
  --blue-deep: #102f45;
  --ink: #21323f;
  --muted: #4d5f6b;

  --copper: #c67a3d;          /* linjer, ikoner, ringar */
  --copper-ink: #b06a2d;      /* stor display-text */
  --copper-text: #8f5220;     /* liten text på ljus botten. 4,49:1 mot --surface
                                 forut, alltsa en hundradel under kravet. */
  --copper-btn: #ad6229;      /* fylld knapp, vit text */
  --copper-light: #e0a373;    /* text på djupblått */

  --line: #153e5c1f;
  --line-strong: #153e5c33;
  --shadow: 0 2px 12px #153e5c14;
  --shadow-md: 0 6px 22px #153e5c17;
  --shadow-lg: 0 16px 40px #153e5c1f;

  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 10px;

  --band-h: 48px;
  --head-h: 62px;
  --pad-sec: clamp(54px, 7vw, 100px);

  --pipe-x: 5px;
  --pipe-pad: 32px;
  --elbow-w: 20px;
  --elbow-r: 11px;
}

@media (min-width: 900px) {
  :root {
    --band-h: 50px;
    --head-h: 70px;
    --pipe-x: 28px;
    --pipe-pad: 78px;
    --elbow-w: 30px;
    --elbow-r: 14px;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Figtree', system-ui, sans-serif;
  color: var(--blue);
  overflow-wrap: break-word;
  text-wrap: balance;
  margin: 0;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--copper-btn);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
  position: relative;
}

@media (min-width: 900px) {
  .container { width: min(1160px, 100% - 72px); }
}

.sec { padding: var(--pad-sec) 0; }
.sec-surface { background: var(--surface); }

.sec .container > *:last-child { margin-bottom: 0; }

section[id] { scroll-margin-top: calc(var(--band-h) + var(--head-h) + 14px); }

/* ---------- Knappar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn svg { width: 19px; height: 19px; flex: none; }

.btn-copper { background: var(--copper-btn); color: #fff; }
/* .site-nav a satter blatt och slar .btn-copper pa specificitet. Utan den har
   raden far knappen morkbla text pa koppar, 2,43:1. */
.site-nav a.btn-copper { color: #fff; }
.btn-copper:hover { background: #94531f; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0e2f47; }

.btn-ghost { color: var(--blue); border-color: var(--line-strong); background: #ffffffb3; }
.btn-ghost:hover { border-color: var(--blue); background: #fff; }

.btn-outline { color: #fff; border-color: #ffffff5c; }
.btn-outline:hover { border-color: #fff; background: #ffffff17; }

.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.04rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Jourband ---------- */

.jourband {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--blue);
  color: #fff;
  min-height: var(--band-h);
  display: flex;
  align-items: center;
}

.band-inner {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.band-text {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  min-width: 0;
}

.band-text strong { font-weight: 600; }
.band-sub { color: #c8dae6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.band-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  color: var(--copper-light);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 4px;
}

.band-tel svg { width: 16px; height: 16px; }
.band-tel:hover { color: #fff; }

.pulse {
  position: relative;
  width: 9px; height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--copper-light);
  display: inline-block;
}

.pulse::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--copper-light);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(.5); opacity: .85; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 619px) {
  .band-sub { display: none; }
  .band-text { font-size: .84rem; }
}

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: var(--band-h);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.site-head.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px #153e5c12;
}

.head-inner {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  min-height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  text-decoration: none;
  color: var(--blue);
}

.brand-mark { width: 24px; height: 24px; color: var(--copper); flex: none; }

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -.015em;
}

.brand-sub {
  font-weight: 500;
  color: var(--copper-text);
  letter-spacing: .04em;
}

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 500;
  font-size: .96rem;
  padding: 8px 0;
  position: relative;
}

.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-cta { padding: 10px 18px; min-height: 44px; font-size: .95rem; }
.nav-cta::after { display: none; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 10px;
  background: none;
  border: 0;
  color: var(--blue);
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}

.menu-bars { display: grid; gap: 4px; width: 20px; }
.menu-bars i {
  display: block;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

body.menu-open .menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-bars i:nth-child(2) { opacity: 0; }
body.menu-open .menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 36px #153e5c1f;
  }

  body.menu-open .site-nav { display: flex; }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }

  .site-nav ul a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav ul a::after { display: none; }
  .nav-cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(36px, 5vw, 76px) 0 clamp(48px, 6vw, 92px); }

.hero-grid { display: grid; gap: clamp(32px, 4vw, 60px); align-items: center; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.taglist li {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 13px;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 22px;
}

.hero-title em { font-style: normal; color: var(--copper-ink); }

.hero-lead {
  margin: 0 0 30px;
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 54ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 559px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-btns .btn { flex: 1 1 100%; }
}

.hero-fine {
  margin: 20px 0 0;
  font-size: .88rem;
  color: var(--muted);
}

.hero-media { position: relative; padding: 14px 14px 0 0; }

.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}

@media (min-width: 980px) {
  .hero-photo img { aspect-ratio: 5 / 5.4; object-position: 50% 45%; }
}

.hero-bracket {
  position: absolute;
  top: 0; right: 0;
  width: clamp(60px, 9vw, 104px);
  height: clamp(60px, 9vw, 104px);
  border-top: 2px solid var(--copper);
  border-right: 2px solid var(--copper);
  border-top-right-radius: var(--r-lg);
  pointer-events: none;
}

.hero-stat {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 224px;
  background: #fff;
  border-radius: var(--r-md);
  border-left: 3px solid var(--copper);
  padding: 13px 16px;
  box-shadow: var(--shadow-md);
}

.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--blue);
  letter-spacing: -.02em;
}

.stat-label {
  text-wrap: balance;
  display: block;
  margin-top: 3px;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Kopparledningen (signatur) ---------- */

.piped { padding-left: var(--pipe-pad); }

.pipe {
  position: absolute;
  left: var(--pipe-x);
  top: calc(var(--pad-sec) * -1);
  bottom: calc(var(--pad-sec) * -1);
  width: 2px;
  pointer-events: none;
}

.pipe-trunk {
  position: absolute;
  inset: 0;
  background: #c67a3d8c;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}

.pipe.in .pipe-trunk { transform: scaleY(1); }

.pipe-elbow {
  position: absolute;
  left: 0;
  top: calc(var(--pad-sec) - 21px);
  width: var(--elbow-w);
  height: 34px;
  border-left: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  border-bottom-left-radius: var(--elbow-r);
}

.pipe-joint {
  position: absolute;
  left: calc(var(--elbow-w) - 6px);
  top: calc(var(--pad-sec) + 6px);
  width: 8px; height: 8px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  background: var(--bg);
}

.sec-surface .pipe-joint { background: var(--surface); }

.pipe-cap {
  position: absolute;
  left: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.pipe-start .pipe-cap { top: 0; }
.pipe-end .pipe-cap { bottom: 0; }

.pipe-elbow,
.pipe-joint,
.pipe-cap {
  opacity: 0;
  transition: opacity .5s ease .5s;
}

.pipe.in .pipe-elbow,
.pipe.in .pipe-joint,
.pipe.in .pipe-cap { opacity: 1; }

/* ---------- Sektionshuvud ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper-text);
}

.eyebrow-light { color: var(--copper-light); }

.sec-head { margin-bottom: clamp(28px, 3.6vw, 46px); }

.sec-head h2 {
  font-weight: 700;
  font-size: clamp(1.62rem, 3.3vw, 2.5rem);
  line-height: 1.13;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  max-width: 20ch;
}

.sec-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 56ch;
}

/* ---------- Akut mot planerat ---------- */

.doors { display: grid; gap: 22px; }

@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 1fr; gap: 26px; }
}

.door {
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
}

.door-akut {
  --flow-bg: var(--blue);
  background: var(--blue);
  color: #fff;
  border-top: 4px solid var(--copper);
  box-shadow: 0 14px 36px #153e5c2b;
}

.door-plan {
  --flow-bg: #fff;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow);
}

.door-photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.door-akut .door-photo { object-position: 46% 55%; }
.door-plan .door-photo { object-position: 50% 58%; }

.door-tags-label {
  margin: 24px 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-text);
}

.door-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.door-tags li {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  background: #153e5c0f;
  border-radius: 999px;
  padding: 6px 13px;
}

.door-akut .door-tags-label { color: var(--copper-light); }

.door-akut .door-tags li {
  color: #e6eef3;
  background: #ffffff1a;
}

.door-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.door-akut .door-kicker { color: var(--copper-light); }
.door-plan .door-kicker { color: var(--copper-text); }

.dot-ring {
  width: 9px; height: 9px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--copper);
}

.door h3 {
  font-weight: 700;
  font-size: clamp(1.24rem, 2.1vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}

.door-akut h3 { color: #fff; }

.door-lead { margin: 0; font-size: 1rem; }
.door-akut .door-lead { color: #c8dae6; }
.door-plan .door-lead { color: var(--muted); }

.flow {
  list-style: none;
  margin: 24px 0 0;
  padding: 4px 0 0 28px;
  position: relative;
}

.flow::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 16px;
  width: 2px;
  background: #c67a3d80;
}

.flow li { position: relative; padding-bottom: 16px; }
.flow li:last-child { padding-bottom: 0; }

.flow li::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--copper);
  background: var(--flow-bg);
}

.flow-when {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.door-akut .flow-when { color: var(--copper-light); }
.door-plan .flow-when { color: var(--copper-text); }

.flow-text { margin: 0; font-size: .97rem; line-height: 1.55; }
.door-akut .flow-text { color: #dbe7ee; }
.door-plan .flow-text { color: var(--muted); }

.door-price {
  margin: 22px 0 18px;
  padding-top: 16px;
  font-size: .93rem;
  border-top: 1px solid var(--line);
}

.door-akut .door-price { border-top-color: #ffffff2e; color: #c8dae6; }
.door-akut .door-price strong { color: #fff; }
.door-plan .door-price { color: var(--muted); }
.door-plan .door-price strong { color: var(--blue); }

.door .btn { margin-top: auto; }

/* ---------- Tjänstekort ---------- */

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }

@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-wide, .card-full { grid-column: span 2; }
}

@media (min-width: 940px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card-wide { grid-column: span 2; }
  .card-full { grid-column: span 3; }
}

.card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 2.2vw, 26px);
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.card:hover { box-shadow: var(--shadow-md); border-color: #c67a3d59; }

.card-ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: #c67a3d1a;
  color: var(--copper-text);
}

.card-ico svg { width: 24px; height: 24px; }

.card-body { min-width: 0; }

/* Foto i de breda korten, till vanster om texten. Smala kort behaller ikonen. */
.card-wide,
.card-full { flex-wrap: wrap; }

.card-photo {
  flex: 1 1 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--surface);
}

/* Utan detta hamnar ikonen pa egen rad under fotot i staplat lage */
.card-wide .card-body,
.card-full .card-body { flex: 1 1 0; }

@media (min-width: 620px) {
  .card-wide,
  .card-full { flex-wrap: nowrap; align-items: stretch; }

  .card-wide .card-photo,
  .card-full .card-photo {
    flex: 0 0 min(34%, 320px);
    width: min(34%, 320px);
    aspect-ratio: auto;
    align-self: stretch;
    object-position: 46% 50%;
  }

  .card-wide .card-ico,
  .card-full .card-ico { align-self: flex-start; }
  .card-full .card-body { align-self: center; }
}

.card h3 {
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -.01em;
  margin: 3px 0 8px;
}

.card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.58; }

.card-wide .card-ico { width: 54px; height: 54px; }
.card-wide .card-ico svg { width: 28px; height: 28px; }
.card-wide h3 { font-size: clamp(1.24rem, 2vw, 1.5rem); }
.card-wide p { font-size: 1rem; max-width: 52ch; }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.card-meta li {
  font-size: .78rem;
  font-weight: 600;
  color: var(--copper-text);
  background: #c67a3d14;
  border-radius: 999px;
  padding: 5px 12px;
}

@media (min-width: 940px) {
  .card-full .card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 36px;
    align-items: center;
  }
  .card-full h3 { grid-column: 1; }
  .card-full p { grid-column: 1; max-width: 62ch; }
  .card-full .card-meta { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* ---------- Tidslinje ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
  display: grid;
  gap: 26px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  background: #c67a3d8c;
}

.tl-step { position: relative; }

.tl-node {
  position: absolute;
  left: -30px;
  top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--copper);
  background: var(--bg);
}

.tl-when {
  margin: 0 0 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-text);
}

.tl-step h3 {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}

.tl-text { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.58; }

@media (min-width: 880px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    padding: 36px 0 0;
  }

  .timeline::before {
    left: 0; right: 0;
    top: 6px; bottom: auto;
    width: auto; height: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(.22, .61, .36, 1) .15s;
  }

  .timeline.in::before { transform: scaleX(1); }

  .tl-node { left: 0; top: -36px; }
  .tl-step { padding-right: 20px; }
}

/* ---------- Certifikatrad ---------- */

.sec-cert {
  --pad-sec: clamp(40px, 5vw, 68px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.certs {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

@media (min-width: 880px) {
  .certs { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .cert + .cert { border-left: 1px solid var(--line); padding-left: 34px; }
}

.cert { display: flex; gap: 15px; align-items: flex-start; }

.cert-ico {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid #c67a3d59;
  color: var(--copper-text);
}

.cert-ico svg { width: 22px; height: 22px; }

.cert h3 { font-weight: 700; font-size: 1.02rem; margin: 6px 0 5px; }
.cert p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---------- Priser ---------- */

.price-grid { display: grid; gap: 26px; }

@media (min-width: 940px) {
  .price-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
  }
}

.ptable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ptable th {
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 15px 20px;
  border-bottom: 2px solid var(--copper);
  background: #fbfaf8;
}

.ptable th:last-child { text-align: right; }

.ptable td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover td { background: #c67a3d0d; }

.p-name { display: block; font-weight: 600; color: var(--blue); }

.p-note {
  display: block;
  margin-top: 3px;
  font-size: .84rem;
  color: var(--muted);
}

.p-price {
  text-align: right;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--blue);
}

.price-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.2vw, 26px);
  box-shadow: var(--shadow);
}

.rot-calc {
  margin: 4px 0 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: var(--r-sm);
  padding: 6px 16px;
  background: #fbfaf8;
}

.rot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  font-size: .92rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.rot-row:last-child { border-bottom: 0; }
.rot-row span:last-child { white-space: nowrap; font-weight: 600; color: var(--blue); }
.rot-neg { color: var(--copper-text) !important; }

.rot-sum {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--blue);
}

.rot-sum span:last-child { font-size: 1.14rem; }

.price-side h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.price-side p { margin: 0 0 12px; color: var(--muted); font-size: .96rem; line-height: 1.58; }

.side-fine {
  font-size: .88rem !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.price-side .btn { margin-top: 6px; }

/* ---------- Omdömen ---------- */

.reviews { display: grid; gap: 20px; }

@media (min-width: 960px) {
  .reviews { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 22px; }
}

.rev-col { display: grid; gap: 20px; align-content: start; }

.rev {
  margin: 0;
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px);
}

.rev p { margin: 0 0 20px; }

.rev footer { display: flex; flex-direction: column; gap: 2px; }

.rev cite {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  color: var(--blue);
}

.rev-meta { font-size: .86rem; color: var(--muted); }

.rev-lead {
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 36px #153e5c2b;
}

.rev-lead p {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(1.12rem, 1.9vw, 1.42rem);
  line-height: 1.42;
  letter-spacing: -.01em;
  margin-bottom: auto;
  padding-bottom: 26px;
}

.rev-lead cite { color: #fff; }
.rev-lead .rev-meta { color: #b9cbd8; }

.rev-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-light);
  border: 1px solid #e0a37359;
  border-radius: 999px;
  padding: 5px 12px;
}

.rev:not(.rev-lead) {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.rev:not(.rev-lead) p { color: var(--ink); font-size: 1rem; }

.rev-face {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid #c67a3d40;
}

/* ---------- CTA ---------- */

.cta {
  background: var(--blue);
  color: #fff;
  padding: clamp(52px, 6vw, 92px) 0;
}

.cta-grid { display: grid; gap: clamp(28px, 3.5vw, 52px); align-items: center; }

@media (min-width: 940px) {
  .cta-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
}

.cta-jour {
  border: 1px solid #e0a37380;
  border-radius: var(--r-lg);
  background: #ffffff0f;
  padding: clamp(24px, 3vw, 34px);
}

.jour-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.jour-num {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.jour-num:hover { color: var(--copper-light); }

.jour-note {
  margin: 8px 0 22px;
  color: #c8dae6;
  font-size: .96rem;
  line-height: 1.55;
  max-width: 40ch;
}

.jour-list {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid #ffffff2e;
  display: grid;
  gap: 11px;
}

.jour-list li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  color: #e6eef3;
}

.jour-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--copper-light);
}

.cta-copy h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.62rem, 3.2vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  max-width: 18ch;
}

.cta-lead {
  margin: 0 0 28px;
  color: #c8dae6;
  font-size: 1.04rem;
  max-width: 50ch;
}

.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.cta-facts {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid #ffffff2e;
}

@media (min-width: 620px) {
  .cta-facts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.cta-facts dt {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 5px;
}

.cta-facts dd { margin: 0; font-size: .96rem; color: #e6eef3; }

/* ---------- Footer ---------- */

.site-foot {
  background: var(--blue-deep);
  color: #a9c0cf;
  padding: clamp(44px, 5vw, 68px) 0 26px;
}

.foot-grid { display: grid; gap: 30px; }

@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
}

.foot-logo { color: #fff; margin-bottom: 14px; }
.foot-logo .brand-sub { color: var(--copper-light); }

.foot-brand p { margin: 0; font-size: .93rem; line-height: 1.6; max-width: 34ch; }

.foot-col h2 {
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { font-size: .93rem; padding: 2px 0; }

.foot-col a {
  color: #a9c0cf;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.foot-col a:hover { color: var(--copper-light); }

.foot-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid #ffffff1f;
}

.foot-bottom p { margin: 0; font-size: .84rem; }
.foot-demo { color: #7f97a6; }

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}

.reveal.in { opacity: 1; transform: none; }

.cards .reveal:nth-child(2) { transition-delay: .06s; }
.cards .reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal:nth-child(4) { transition-delay: .18s; }
.cards .reveal:nth-child(5) { transition-delay: .24s; }
.cards .reveal:nth-child(6) { transition-delay: .3s; }
.certs .reveal:nth-child(2) { transition-delay: .08s; }
.certs .reveal:nth-child(3) { transition-delay: .16s; }
.rev-col .reveal:nth-child(2) { transition-delay: .1s; }

html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .pipe-trunk { transform: scaleY(1); }
html:not(.js) .pipe-elbow,
html:not(.js) .pipe-joint,
html:not(.js) .pipe-cap { opacity: 1; }

@media (min-width: 880px) {
  html:not(.js) .timeline::before { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pipe-trunk {
    transform: scaleY(1);
    transition: none;
  }

  .pipe-elbow,
  .pipe-joint,
  .pipe-cap {
    opacity: 1;
    transition: none;
  }

  .timeline::before,
  .timeline.in::before {
    transform: none;
    transition: none;
  }

  .pulse::after { animation: none; opacity: .5; }

  .site-nav ul a::after { transition: none; }
  .menu-bars i { transition: none; }
}
