/* Egna system: visningssidan för Norrvik-exemplet. Bygger på tokens i /bransch/bransch.css. */
.es-page main { overflow-x: clip; }
.es-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.es-narrow { max-width: 820px; }
.es-k { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,245,248,0.65); }
.es-k.dark { color: var(--olive-muted); }
.es-hero { position: relative; background: var(--olive-900, rgb(17 21 28)); color: var(--salt-50); padding: clamp(120px, 14vw, 170px) 0 0; overflow: hidden; }
.es-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.021), transparent 70%); pointer-events: none; }
.es-hero-in { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.es-crumbs { display: flex; gap: 8px; font-size: 13px; color: rgba(243,245,248,0.55); margin-bottom: 26px; }
.es-crumbs a { color: inherit; text-decoration: none; } .es-crumbs a:hover { color: rgb(243 245 248); }
.es-hero h1 { font-size: clamp(44px, 7vw, 96px); max-width: 15ch; margin: 0 0 22px; }
.es-lede { max-width: 54ch; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: rgba(243,245,248,0.78); margin: 0; }
.es-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.es-ghost { color: var(--olive); background: rgba(255,255,255,0.018); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.es-ghost:hover { background: rgba(255,255,255,0.027); }
.es-hero-shot { position: relative; display: block; max-width: 1180px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gutter); }
.es-hero-shot img { width: 100%; height: auto; border-radius: 16px 16px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,0.017), 0 40px 120px -30px rgba(0,0,0,0.85); transform: translateY(24px); opacity: 0; animation: es-upp 1.2s .2s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes es-upp { to { transform: none; opacity: 1; } }

.es-sec { padding: clamp(72px, 9vw, 120px) 0; }
.es-sec h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 18px; }
.es-two { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.es-intro p { font-size: 19px; line-height: 1.6; margin: 0 0 16px; max-width: 58ch; }
.es-note { padding-left: 16px; border-left: 2px solid var(--pink); color: var(--olive-muted); font-size: 17px !important; }
.es-p { color: var(--olive-muted); max-width: 46ch; }

.es-steg { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: clamp(48px, 6vw, 88px); }
.es-st { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.es-st:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.es-st:nth-child(even) .es-shot { order: 2; }
.es-shot { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,0.82); }
.es-shot img { width: 100%; height: auto; display: block; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.es-shot:hover img { transform: scale(1.025); }
.es-n { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--olive); color: var(--salt-50); }
.es-st h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; }
.es-st p { color: var(--olive-muted); font-size: 17px; margin: 0 0 16px; max-width: 42ch; }
.es-go { font-weight: 600; text-decoration: none; color: var(--olive); }
.es-go i { font-style: normal; display: inline-block; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.es-go:hover i { transform: translateX(4px); }

.es-dark { background: var(--olive); color: var(--salt-50); }
.es-floden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.es-flode { padding: 22px; border-radius: 18px; background: rgba(255,255,255,0.017); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.es-flode p { margin: 0 0 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,245,248,0.6); }
.es-flode ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.es-flode li { position: relative; padding: 10px 0 10px 26px; font-size: 18px; }
.es-flode li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--salt-50); }
.es-flode li::after { content: ""; position: absolute; left: 8px; top: 28px; bottom: -6px; width: 1px; background: rgba(255,255,255,0.045); }
.es-flode li:last-child::after { display: none; }
.es-flode li:last-child::before { background: var(--pink); }
.es-dark-note { margin: 26px 0 0; color: rgba(243,245,248,0.7); }

.es-ers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.es-ers li { padding: 18px; border-radius: 14px; background: var(--gloss-fill); box-shadow: var(--gloss-edge); display: grid; gap: 4px; }
.es-ers b { font-size: 17px; text-decoration: line-through; text-decoration-color: rgba(243,245,248,0.35); }
.es-ers span { font-size: 14px; color: var(--olive-muted); }

.es-jmf { padding-top: 0; }
.es-tabell { margin-top: 24px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--salt-50); }
.es-tr { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 16px; }
.es-tr:first-child { border-top: 0; }
.es-th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--olive-muted); background: transparent; }
.es-tr span:first-child { font-weight: 600; }
.es-tr span:nth-child(2) { color: var(--olive-muted); }

.es-faq details { border-top: 1px solid var(--line); }
.es-faq details:last-child { border-bottom: 1px solid var(--line); }
.es-faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.es-faq summary::-webkit-details-marker { display: none; }
.es-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.es-faq details[open] summary::after { transform: rotate(45deg); }
.es-faq details p { margin: 0 0 20px; color: var(--olive-muted); max-width: 64ch; }

.es-cta { background: var(--olive-900, rgb(17 21 28)); color: var(--salt-50); text-align: center; }
.es-cta-in { display: grid; justify-items: center; }
.es-cta p { max-width: 52ch; color: rgba(243,245,248,0.75); font-size: 18px; margin: 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .es-two, .es-st, .es-st:nth-child(even) { grid-template-columns: 1fr; }
  .es-st:nth-child(even) .es-shot { order: 0; }
  .es-floden { grid-template-columns: 1fr; }
  .es-ers { grid-template-columns: 1fr; }
  .es-tr { grid-template-columns: 1fr 1fr; } .es-tr span:first-child { grid-column: 1 / -1; }
  .es-th span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .es-hero-shot img { animation: none; opacity: 1; transform: none; } }

/* Ljus hero (25 nov), som startsidan */
.es-hero { background: var(--salt); color: var(--olive); }
.es-hero::before { background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.12), transparent 70%); }
.es-hero .es-k { color: var(--olive-muted); }
.es-crumbs { color: var(--olive-muted); } .es-crumbs a:hover { color: var(--olive); }
.es-lede { color: var(--olive-muted); }
.es-hero-shot img { box-shadow: 0 0 0 1px rgba(255,255,255,0.096), 0 40px 100px -40px rgba(0,0,0,0.85); }

/* ================================================================
   Egna system 2.0 (26 nov, Joshua: "kör allt, kalkylatorn också")
   Levande hero i kod, skarpa beskurna bilder per steg, branscherna,
   kalkylatorn, så går det till och ett nytt avslut. Platt, hårfina linjer.
   ================================================================ */
.es-page .lx-foot { margin-top: 0; }
.es-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.es-hero h1 { max-width: 13ch; }

/* Levande hero */
.es-live { position: relative; max-width: 1180px; margin: clamp(44px, 5vw, 72px) auto 0; padding: 0 var(--gutter); }
.es-live-k { display: flex; gap: 8px 28px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: var(--olive-muted); }
.es-live-k span { display: inline-flex; align-items: center; gap: 10px; transition: color .6s cubic-bezier(.16,1,.3,1); }
.es-live-k i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--sans); font-style: normal; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); transition: background .6s cubic-bezier(.16,1,.3,1), color .6s cubic-bezier(.16,1,.3,1), box-shadow .6s; }
.es-live-k span.on { color: var(--olive); }
.es-live-k span.on i { background: var(--olive); color: var(--salt-50); box-shadow: none; }
.es-live-in { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 14px; }
.lv { position: relative; border-radius: 14px; background: rgb(12 15 21); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 60px -40px rgba(0,0,0,0.82); padding: 20px; min-height: 300px; color: var(--olive); font-size: 13px; transition: box-shadow .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.lv.on { box-shadow: 0 0 0 1px rgba(255,255,255,0.224), 0 40px 80px -40px rgba(0,0,0,0.85); transform: translateY(-3px); }
.lv-h { margin: 0 0 12px; font-weight: 600; font-size: 15px; }
.lv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-chips span { padding: 6px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.144); transition: background .5s cubic-bezier(.16,1,.3,1), color .5s; }
.s-chip [data-lv="chip"] { background: var(--olive); color: var(--salt-50); box-shadow: none; }
.lv-l { display: block; margin: 14px 0 6px; font-size: 12px; color: var(--olive-muted); }
.lv-in { height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); background: rgba(255,255,255,0.07); display: flex; align-items: center; padding: 0 12px; font-size: 14px; }
.lv-in i { width: 1px; height: 16px; background: var(--olive); margin-left: 2px; animation: lv-blink 1s steps(1) infinite; }
.s-skriv .lv-in i { display: none; }
@keyframes lv-blink { 50% { opacity: 0; } }
.lv-tider { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.s-tider .lv-tider { opacity: 1; transform: none; }
.lv-tider span { padding: 7px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.144); background: rgba(255,255,255,0.07); transition: background .5s, color .5s; }
.s-tid [data-lv="tid"] { background: var(--olive); color: var(--salt-50); box-shadow: none; }
.lv-btn { margin-top: 14px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-weight: 500; background: rgba(255,255,255,0.092); color: rgba(243,245,248,0.5); transition: background .5s, color .5s; }
.s-tid .lv-btn { background: var(--olive); color: var(--salt-50); }
.s-bokad .lv-btn { background: rgba(255,255,255,0.07); color: var(--olive); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); }
.s-bokad .lv-btn::before { content: "Bokad ✓"; position: absolute; }
.lv-btn { position: relative; }
.s-bokad .lv-btn { color: transparent; }
.s-bokad .lv-btn::before { color: var(--olive); }

.lv-sh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; } .lv-sh b { font-size: 15px; } .lv-sh span { color: var(--olive-muted); font-size: 12px; }
.lv-grid { display: grid; gap: 6px; }
.lv-tim { position: relative; height: 16px; margin-left: 52px; font-size: 10px; color: var(--olive-muted); }
.lv-tim span { position: absolute; left: calc(var(--a) / 10 * 100%); transform: translateX(-2px); }
.lv-rad { display: grid; grid-template-columns: 46px 1fr; gap: 6px; align-items: center; }
.lv-rad b { font-weight: 500; font-size: 12px; }
.lv-spar { position: relative; height: 30px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.068) 0 1px, transparent 1px 10%), rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.064); }
.lv-spar i, .lv-spar em { position: absolute; top: 3px; bottom: 3px; left: calc(var(--a) / 10 * 100%); width: calc(var(--b) / 10 * 100% - 3px); border-radius: 4px; font-style: normal; font-size: 10px; line-height: 24px; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: rgb(7 9 13); box-shadow: inset 2px 0 0 rgba(255,255,255,0.06); }
.lv-spar em { opacity: 0; transform: scale(.9); background: var(--olive); color: var(--salt-50); box-shadow: 0 0 0 2px rgba(255,79,171,.55); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.s-flytt .lv-spar em { opacity: 1; transform: none; }
.lv-ko { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.lv-ko p { margin: 0 0 8px; font-size: 12px; color: var(--olive-muted); }
.lv-kort { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,0.07); box-shadow: 0 0 0 1.5px var(--pink), 0 10px 24px -14px rgba(0,0,0,0.74); opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.lv-kort b { font-size: 13px; } .lv-kort span { color: var(--olive-muted); font-size: 12px; }
.lv-kort em { justify-self: start; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 99px; background: rgba(255,79,171,.12); color: #A3256A; }
.s-ko .lv-kort { opacity: 1; transform: none; }
.s-flytt .lv-kort { opacity: 0; transform: translateY(-18px) scale(.96); }

.lv-sms { display: grid; place-items: center; }
.lv-tel { width: 100%; max-width: 230px; min-height: 250px; border-radius: 26px; padding: 18px 14px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); display: flex; flex-direction: column; }
.lv-avs { margin: 0 0 14px; text-align: center; font-weight: 600; font-size: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.064); }
.lv-bubbla { margin: 0; align-self: flex-start; max-width: 92%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: rgb(7 9 13); font-size: 12.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.lv-tid { margin: 6px 0 0; font-size: 10.5px; color: var(--olive-muted); opacity: 0; transition: opacity .6s .3s; }
.s-sms .lv-bubbla { opacity: 1; transform: none; }
.s-sms .lv-tid { opacity: 1; }

/* Introt till exemplet */
.es-intro { padding-bottom: 0; }

/* Stegen: skarpa bilder, numret i texten */
.es-n { display: none; }
.es-num { margin: 0 0 10px !important; font-size: 13px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--olive-muted); }
.es-shot { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.096), 0 40px 80px -45px rgba(0,0,0,0.85); background: rgba(255,255,255,0.07); }
.es-shot img { width: 100%; height: auto; }
.es-st-hog .es-shot { max-width: 440px; justify-self: center; width: 100%; }
@media (max-width: 700px) {
  .es-shot { max-width: 320px; margin: 0 auto; border-radius: 28px; box-shadow: 0 0 0 1px rgba(255,255,255,0.112), 0 30px 60px -36px rgba(0,0,0,0.85); }
  .es-shot img { aspect-ratio: 660 / 1100; object-fit: cover; object-position: top; }
  .es-st-hog .es-shot { max-width: 320px; }
}

/* Branscherna */
.es-bransch h2 { max-width: 20ch; }
.es-br { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.es-br-k { padding: 22px 22px 20px; border-radius: 14px; background: rgba(255,255,255,0.087); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
.es-br-k h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.es-br-k ul { list-style: none; margin: 0; padding: 0; }
.es-br-k li { padding: 8px 0 8px 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 15px; color: var(--olive-muted); position: relative; }
.es-br-k li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); opacity: .55; }
.es-br-annat { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); display: grid; align-content: start; gap: 8px; }
.es-br-annat p { margin: 0 0 6px; color: var(--olive-muted); font-size: 15px; }
.es-br-annat .es-go { justify-self: start; background: none; border: 0; padding: 0; font: 600 16px var(--sans); color: var(--olive); cursor: pointer; }
@media (max-width: 900px) { .es-br { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .es-br { grid-template-columns: 1fr; } }

/* Kalkylatorn */
.kk { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 32px; align-items: start; }
.kk-in { padding: 24px; border-radius: 14px; background: rgba(255,255,255,0.087); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
.kk-folk { display: grid; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.096); }
.kk-sl { display: grid; gap: 8px; }
.kk-sl span { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.kk-sl b { font-variant-numeric: tabular-nums; font-weight: 600; }
.kk-sl input[type=range] { width: 100%; accent-color: var(--olive); height: 28px; }
.kk-lista { list-style: none; margin: 0; padding: 0; }
.kk-lista li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: opacity .3s; }
.kk-lista li:last-child { border-bottom: 0; padding-bottom: 0; }
.kk-lista li.av .kk-pris { opacity: .82; }
.kk-val { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.kk-val input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--olive); flex: none; }
.kk-val b { display: block; font-weight: 500; font-size: 15px; }
.kk-val small { display: block; font-size: 13px; color: var(--olive-muted); }
.kk-pris { display: grid; gap: 3px; text-align: right; }
.kk-pris input { width: 100%; height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.07); font: 500 15px var(--sans); color: var(--olive); text-align: right; font-variant-numeric: tabular-nums; }
.kk-pris input:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
.kk-pris small { font-size: 11px; color: var(--olive-muted); line-height: 1.3; }
.kk-ut { position: sticky; top: 96px; padding: 28px; border-radius: 14px; background: var(--olive); color: var(--salt-50); display: grid; gap: 6px; }
.kk-k { margin: 0; font-size: 14px; color: rgba(243,245,248,0.7); }
.kk-tot { margin: 0; font-size: 18px; } .kk-tot b { font: 400 clamp(48px, 5.6vw, 72px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-right: 6px; }
.kk-man { margin: 0 0 14px; color: rgba(243,245,248,0.7); font-size: 15px; }
.kk-stap { list-style: none; margin: 0 0 14px; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,0.06); display: grid; gap: 10px; }
.kk-stap li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 13.5px; }
.kk-stap i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.027); position: relative; overflow: hidden; }
.kk-stap i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--salt-50); transition: width .6s cubic-bezier(.16,1,.3,1); }
.kk-stap b { font-weight: 500; font-variant-numeric: tabular-nums; }
.kk-ny, .kk-eget { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: rgba(243,245,248,0.78); }
.kk-ny b { color: var(--olive); font-weight: 600; font-variant-numeric: tabular-nums; }
.kk-eget { padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.kk-ut .btn { margin-top: 8px; justify-self: start; }
.kk-kallor { margin: 16px 0 0; font-size: 12.5px; color: var(--olive-muted); max-width: 90ch; line-height: 1.55; }
.kk-kallor a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .kk { grid-template-columns: 1fr; }
  .kk-ut { position: static; }
  .kk-lista li { grid-template-columns: minmax(0, 1fr) 120px; }
}

/* Så går det till */
.es-hur-l { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,0.128); }
.es-hur-l li { padding: 22px 20px 0 0; position: relative; }
.es-hur-l li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.08); }
.es-hur-l span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--olive); color: var(--salt-50); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.es-hur-l h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.es-hur-l p { margin: 0; font-size: 15px; color: var(--olive-muted); }
@media (max-width: 900px) {
  .es-hur-l { grid-template-columns: 1fr; border-top: 0; }
  .es-hur-l li, .es-hur-l li + li { padding: 16px 0 16px 46px; border-left: 0; border-top: 1px solid rgba(255,255,255,0.096); }
  .es-hur-l span { position: absolute; left: 0; top: 16px; }
}

/* Tabellen och avslutet */
.es-tabell { background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); border-radius: 14px; }
.es-lofte { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px !important; font-size: 14px !important; color: rgba(243,245,248,0.7) !important; }
.es-lofte i { width: 7px; height: 7px; border-radius: 50%; background: #8FBF7E; }

/* Heron på mobilen: en panel i taget */
@media (max-width: 760px) {
  .es-live-in { grid-template-columns: 1fr; }
  .lv { display: none; min-height: 290px; }
  .lv.on { display: block; transform: none; }
  .lv-sms.on { display: grid; }
  .es-live-k span:not(.on) { font-size: 0; gap: 0; }
  .es-live-k { gap: 8px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .lv, .lv * { transition: none !important; animation: none !important; } }
/* Finputs: heron ryms bättre i första vyn, knappen i den mörka resultatrutan */
.es-hero { padding-top: clamp(104px, 10vw, 136px); }
.es-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.es-live { margin-top: clamp(36px, 4vw, 56px); }
.lv { min-height: 262px; }
.kk-ut .btn-pink { background: var(--salt-50); color: var(--olive-900); box-shadow: none; }
@media (hover: hover) { .kk-ut .btn-pink:hover { background: rgba(255,255,255,0.07); } }
.kk-ut .btn:focus-visible { outline-color: var(--salt-50); }
.es-hero h1 { font-size: clamp(42px, 4.9vw, 72px); max-width: 16ch; margin-bottom: 18px; }
.es-lede { max-width: 62ch; }
.es-ctas { margin-top: 26px; }

/* Kundtjänstsystem (27 nov, site/kundtjanstsystem.html från mallar/system/kundtjanst.js): samma stil som Egna system */
.kt-ingar .es-br-k h3 { font-size: 23px; }
.kt-ingar .es-br-k p { margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 15px; line-height: 1.55; color: var(--olive-muted); }
.es-intro a, .es-dark-note a, .es-jmf .kk-kallor a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.kt-page .es-jmf .es-p { margin-bottom: 24px; }
.kt-page .es-jmf .kk-kallor { margin-top: 18px; }
@media (max-width: 700px) { .kt-page .es-hero-shot { max-width: 420px; } }

/* Mobil: större tryckytor i brödsmulorna (27 nov) */
@media (pointer: coarse) { .es-crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; } }
/* Egna system 3.0 (1 december): byggstenarna och färdigt eller eget */
.es-mod { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.es-mod > li { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.es-mod-n { font-size: 13px; color: #9AA3AF; padding-top: 8px; font-variant-numeric: tabular-nums; }
.es-mod-t h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; color: #F3F5F8; }
.es-mod-t p { margin: 0 0 14px; color: #9AA3AF; font-size: 16px; line-height: 1.55; max-width: 46ch; }
.es-mod-t a { color: #F3F5F8; font-size: 15px; font-weight: 500; text-decoration: none; }
.es-mod-t a i { font-style: normal; display: inline-block; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.es-mod-t a:hover i { transform: translateX(4px); }
.es-mod ul { list-style: none; margin: 0; padding: 0; align-self: center; }
.es-mod ul li { padding: 9px 0 9px 20px; border-top: 1px solid rgba(255,255,255,.07); font-size: 15px; color: rgba(243,245,248,.82); position: relative; }
.es-mod ul li:first-child { border-top: 0; }
.es-mod ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: rgba(243,245,248,.4); }
.es-val { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.es-val-k { padding: 26px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.es-val-eget { background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); }
.es-val-k h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: #F3F5F8; }
.es-val-k ul { list-style: none; margin: 0; padding: 0; }
.es-val-k li { padding: 10px 0 10px 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 15.5px; color: rgba(243,245,248,.85); position: relative; }
.es-val-k li::before { content: "–"; position: absolute; left: 0; color: #9AA3AF; }
.es-val-eget li::before { content: "✓"; color: #FF4FAB; }
.es-val-mer { margin-top: 22px; }
.es-val-mer a { color: #F3F5F8; }
@media (max-width: 760px) {
  .es-mod > li { grid-template-columns: 1fr; gap: 12px; }
  .es-mod-n { padding: 0; }
  .es-val { grid-template-columns: 1fr; }
}
.es-flode li:not(:last-child)::before { background: rgba(243,245,248,.45); }
/* Kundtjänstsystem 2.0 (1 december): ett ärende genom systemet, för vem */
.kt-tid { list-style: none; margin: 36px 0 12px; padding: 0; position: relative; }
.kt-tid::before { content: ""; position: absolute; left: 118px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(rgba(255,255,255,.25), rgba(255,79,171,.5)); }
.kt-tid > li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 38px; padding: 0 0 30px; position: relative; }
.kt-tid > li::before { content: ""; position: absolute; left: 114px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #07090D; box-shadow: inset 0 0 0 2px rgba(243,245,248,.6); }
.kt-tid > li:last-child::before { box-shadow: none; background: #FF4FAB; }
.kt-tid-k { font-size: 14px; color: #9AA3AF; font-variant-numeric: tabular-nums; text-align: right; padding-top: 2px; }
.kt-tid h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: #F3F5F8; }
.kt-tid p { margin: 0; color: #9AA3AF; font-size: 15.5px; line-height: 1.55; max-width: 60ch; }
.kt-tid .kt-sms { margin-top: 10px; display: inline-block; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: #F3F5F8; font-size: 14px; }
.kt-vem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.kt-vem-k { padding: 26px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.kt-vem-k h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: #F3F5F8; }
.kt-vem-k p { margin: 0; color: #9AA3AF; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 760px) {
  .kt-tid::before { left: 4px; }
  .kt-tid > li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .kt-tid > li::before { left: 0; }
  .kt-tid-k { text-align: left; }
  .kt-vem { grid-template-columns: 1fr; }
}

/* Egna system mot Eget OS: en mening om skillnaden under heroknapparna (1 december) */
.es-skillnad { margin: 18px 0 0; max-width: 54ch; font-size: 14px; line-height: 1.55; color: var(--n-muted, #9AA3AF); }
.es-skillnad a { color: var(--n-ink, #F3F5F8); text-decoration: underline; text-decoration-color: rgba(243,245,248,.35); text-underline-offset: 3px; white-space: nowrap; }
.es-skillnad a:hover { text-decoration-color: currentColor; }

/* ================================================================
   Kundtjänstsystem 3.0 (2 december): ärendet som scrollstyrd sekvens (/sekvens.js, /sekvens.css).
   Ärendekortet och telefonen byggs i kod och ändrar läge för varje steg.
   ================================================================ */
.kt-sq .kt-tidk { color: #F3F5F8; font-variant-numeric: tabular-nums; margin-right: 4px; }
.kt-sq-not { margin-top: 0 !important; margin-bottom: 0 !important; padding-bottom: 8px; }
.kt-scen .sq-kamera { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 236px); align-items: center; }
.kt-kort { position: relative; z-index: 1; width: auto; margin-right: -36px; padding: 24px 60px 24px 24px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.09), 0 50px 100px -40px rgba(0,0,0,.9); }
.kt-kort-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 13px; color: #9AA3AF; }
.kt-kort-h b { font-weight: 500; color: #F3F5F8; font-variant-numeric: tabular-nums; }
.kt-kanal { margin: 18px 0 6px; font-size: 13px; color: #9AA3AF; }
.kt-kort h3 { margin: 0 0 20px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.08; letter-spacing: -.01em; color: #F3F5F8; text-wrap: balance; }
.kt-flode { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.kt-flode li { display: grid; gap: 8px; font-size: 11.5px; color: rgba(154,163,175,.6); transition: color .5s cubic-bezier(.16,1,.3,1); }
.kt-flode li i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.kt-flode li i::after { content: ""; position: absolute; inset: 0; background: #F3F5F8; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.kt-flode li.syns { color: #F3F5F8; }
.kt-flode li.syns i::after { transform: none; }
.kt-sq[data-steg-nu="0"] .kt-flode li:nth-child(1) i::after, .kt-sq[data-steg-nu="1"] .kt-flode li:nth-child(2) i::after,
.kt-sq[data-steg-nu="2"] .kt-flode li:nth-child(3) i::after, .kt-sq[data-steg-nu="3"] .kt-flode li:nth-child(4) i::after,
.kt-sq[data-steg-nu="4"] .kt-flode li:nth-child(5) i::after { background: #FF4FAB; }
.kt-svar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #9AA3AF; }
.kt-svar b { font-weight: 500; color: #F3F5F8; }
.kt-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.kt-bar em { display: block; height: 100%; width: 100%; background: rgba(243,245,248,.75); transform: scaleX(.02); transform-origin: left; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.kt-sq[data-steg-nu="1"] .kt-bar em { transform: scaleX(.03); }
.kt-sq[data-steg-nu="2"] .kt-bar em { transform: scaleX(.05); }
.kt-sq[data-steg-nu="3"] .kt-bar em, .kt-sq[data-steg-nu="4"] .kt-bar em { transform: scaleX(.22); }
.kt-logg { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.kt-logg li { display: grid; grid-template-rows: 0fr; opacity: 0; font-size: 13.5px; line-height: 1.45; color: rgba(243,245,248,.82); transition: grid-template-rows .6s cubic-bezier(.16,1,.3,1), opacity .5s, padding .6s cubic-bezier(.16,1,.3,1); overflow: hidden; }
.kt-logg li.syns { grid-template-rows: 1fr; opacity: 1; padding: 10px 0 0; }
.kt-tel { position: relative; z-index: 2; min-height: 400px; padding: 18px 14px; border-radius: 32px; background: #0B0E14; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.16), 0 40px 80px -30px rgba(0,0,0,.95); display: flex; flex-direction: column; gap: 8px; }
.kt-tel-h { margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 12px; font-weight: 500; color: #F3F5F8; }
.kt-bubbla { margin: 0; align-self: flex-start; max-width: 92%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.09); color: #F3F5F8; font-size: 12.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.kt-bubbla.syns { opacity: 1; transform: none; }
.sq:not(.sq-pa) .kt-scen { height: auto; min-height: 520px; }
@media (max-width: 860px) {
  .kt-scen .sq-kamera { flex-direction: column; justify-content: flex-start; gap: 12px; position: relative; }
  .sq-pa .kt-scen .sq-kamera { position: absolute; }
  .kt-scen .sq-kamera { display: flex; }
  .kt-kort { width: 100%; margin: 0; padding: 18px; }
  .kt-kort h3 { font-size: 26px; margin-bottom: 14px; }
  .kt-kanal { margin-top: 12px; }
  .kt-flode { margin-bottom: 12px; }
  .kt-flode li { font-size: 10.5px; }
  .kt-logg { display: none; }
  .kt-tel { position: relative; right: auto; top: auto; translate: none; width: 100%; min-height: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; gap: 6px; }
  .kt-tel-h { display: none; }
  .kt-bubbla { display: none; }
  .kt-bubbla.syns { display: block; }
  .kt-bubbla.syns:has(~ .kt-bubbla.syns ~ .kt-bubbla.syns) { display: none; }
  .sq:not(.sq-pa) .kt-scen { min-height: 0; }
}

/* Kundtjänstsekvensen i mobilen: kompaktare kort och bara senaste sms:et, så att mätaren aldrig hamnar ovanpå innehållet */
@media (max-width: 860px) {
  .kt-kort { padding: 16px 16px 14px; }
  .kt-kort h3 { font-size: 24px; line-height: 1.05; }
  .kt-svar { font-size: 13px; }
  .kt-bubbla.syns:has(~ .kt-bubbla.syns) { display: none; }
}
