/* Leadrion mall: Företag. Allt kundspecifikt kommer från temat (CSS-variabler). */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); --max: 1160px; --ease-out: cubic-bezier(.16,1,.3,1); --ease: cubic-bezier(.4,0,.6,1); --line: color-mix(in oklch, var(--ink) 12%, transparent); --line-2: color-mix(in oklch, var(--ink) 20%, transparent); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-kerning: normal; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 500; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 99; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

/* Glas */
.glass { position: relative; isolation: isolate; background: linear-gradient(160deg, color-mix(in oklch, var(--surface) 80%, #fff) 0%, color-mix(in oklch, var(--surface) 70%, transparent) 60%, color-mix(in oklch, var(--surface) 85%, transparent) 100%); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px var(--line), 0 24px 48px -34px rgba(0,0,0,.35); border-radius: 22px; }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%); }

/* Knappar och länkar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 16px; border: 0; cursor: pointer; transition: transform .45s var(--ease-out), filter .3s var(--ease), background-color .3s var(--ease); }
.btn:active { transform: scale(.97); transition-duration: .15s; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 24px -14px var(--accent); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); filter: brightness(1.05); } .btn-ghost:hover { background: color-mix(in oklch, var(--ink) 5%, transparent); } }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; transition: color .3s var(--ease); }
.text-link:hover { color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Topp: glansig pill med sidor */
.top { position: sticky; top: 0; z-index: 50; padding: max(12px, env(safe-area-inset-top)) var(--gutter) 0; }
.top-in { max-width: var(--max); margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 22px; border-radius: 999px; }
.brand { font-family: var(--font-display); font-size: 25px; letter-spacing: -0.02em; min-height: 44px; display: inline-flex; align-items: center; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 15px; color: var(--muted); border-radius: 999px; transition: color .3s var(--ease); }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.menu-btn i:first-child { top: 18px; } .menu-btn i:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { max-width: var(--max); margin: 8px auto 0; padding: 8px; border-radius: 22px; display: grid; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(0,0,0,.4); }
.mobile-menu a { min-height: 48px; display: flex; align-items: center; padding: 0 16px; border-radius: 14px; font-size: 18px; }
.mobile-menu a[aria-current="page"] { background: color-mix(in oklch, var(--ink) 5%, transparent); }

/* Start: hero i två delar */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kicker { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-top: 16px; font-size: clamp(46px, 6.4vw, 88px); }
.hero-sub { margin-top: 22px; max-width: 40ch; color: var(--muted); font-size: 18px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 65% 50%; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.next-slot { position: absolute; left: -24px; bottom: 28px; display: grid; padding: 14px 20px; border-radius: 18px; }
.ns-k { font-size: 13px; color: var(--muted); }
.ns-v { font-family: var(--font-display); font-size: 26px; line-height: 1.1; }

/* Sektioner */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 132px) var(--gutter) 0; }
.section.tight { padding-top: 40px; }
.section h2 { font-size: clamp(34px, 4vw, 52px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.note { font-size: 14px; color: var(--muted); max-width: 44ch; }
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 0; }
.page-head h1 { font-size: clamp(44px, 6vw, 80px); max-width: 14em; }
.page-head .muted { margin-top: 18px; max-width: 46ch; font-size: 18px; }

/* Utvalda behandlingar */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { display: grid; gap: 10px; padding: 26px; min-height: 220px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.feat h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: -0.01em; line-height: 1.1; }
.feat-meta { margin-top: auto; display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; padding-top: 14px; border-top: 1px solid var(--line); }
@media (hover: hover) { .feat:hover { transform: translateY(-3px); } }

/* Recensioner */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { padding: 26px; display: grid; gap: 14px; align-content: start; }
.stars { color: var(--accent); letter-spacing: 2px; }
.review blockquote { font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.review figcaption { font-size: 14px; color: var(--muted); }

/* Galleri */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strip img, .gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure:nth-child(even) { margin-top: 64px; }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Uppmaning */
.cta { padding: clamp(36px, 6vw, 64px); text-align: center; display: grid; justify-items: center; }
.cta .muted { margin-top: 14px; max-width: 46ch; }
.cta .cta-row { justify-content: center; }

/* Priser */
.prices { border-top: 1px solid var(--line); }
.price-row { position: relative; padding: 24px 110px 24px 0; border-bottom: 1px solid var(--line); }
.price-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.price-top h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-row p { margin-top: 6px; color: var(--muted); }
.row-book { position: absolute; right: 0; top: 50%; transform: translateY(-50%); min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.row-book:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }

/* Om oss och team */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.about-copy p + p { margin-top: 16px; }
.about-copy p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.person { padding: 26px; display: grid; gap: 8px; align-content: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; color: var(--on-accent); background: radial-gradient(circle at 35% 30%, color-mix(in oklch, var(--accent) 70%, #fff), var(--accent) 60%); box-shadow: inset 0 1px 1px rgba(255,255,255,.4); margin-bottom: 8px; }
.person h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; }
.role { color: var(--accent); font-size: 15px; font-weight: 500; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { padding: 30px; }
.card-h { font-size: 30px !important; margin-bottom: 18px; }
.hours div { display: flex; justify-content: space-between; padding: 12px 14px; margin: 0 -14px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.hours div + div { border-top: 1px solid var(--line); }
.hours div.today { background: color-mix(in oklch, var(--accent) 10%, transparent); border-top-color: transparent; }
.hours div.today + div { border-top-color: transparent; }
.hours div.today dt::after { content: " · idag"; color: var(--accent); }
.hours dd { color: var(--muted); }
.card address { font-size: 19px; }
.card .muted { margin-top: 10px; }

/* Frågor */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 60ch; }

/* Bokning */
.booking { max-width: 820px; padding: clamp(22px, 4vw, 40px); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; counter-reset: s; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 70px; padding-top: 10px; font-size: 13px; color: var(--muted); border-top: 2px solid var(--line); transition: border-color .4s var(--ease), color .4s var(--ease); }
.steps li.on { border-top-color: var(--accent); color: var(--ink); }
.step-h { font-size: clamp(28px, 3.4vw, 38px) !important; margin-bottom: 20px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { text-align: left; padding: 16px 18px; border-radius: 16px; border: 0; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; transition: box-shadow .3s var(--ease), transform .4s var(--ease-out); }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.choice[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.choice b { font-weight: 500; }
.choice span { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: none; }
.day { flex: none; width: 64px; min-height: 72px; border-radius: 16px; border: 0; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-content: center; gap: 2px; text-align: center; font-variant-numeric: tabular-nums; }
.day small { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.day b { font-size: 20px; font-weight: 500; }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.day[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.day[aria-pressed="true"] small { color: inherit; opacity: .85; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 18px; min-height: 52px; }
.slot { min-height: 46px; border-radius: 12px; border: 0; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; transition: box-shadow .3s var(--ease); }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slots .none { grid-column: 1 / -1; color: var(--muted); }
.summary { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: color-mix(in oklch, var(--accent) 8%, transparent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .wide { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.done { text-align: center; display: grid; justify-items: center; }
.check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); margin-bottom: 18px; }
.check svg { width: 30px; height: 30px; }
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s var(--ease-out) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.booking-nav { margin-top: 18px; min-height: 44px; }
.demo-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.step { animation: step-in .55s var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* Fast bokningsknapp på mobilen */
.book-bar { display: none; }

/* Sidfot */
.foot { max-width: var(--max); margin: clamp(80px, 11vw, 132px) auto 0; padding: 40px var(--gutter) max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.foot-brand { font-family: var(--font-display); font-size: 30px; }
.foot p, .foot address { font-size: 15px; }
.foot a:hover { color: var(--accent); }
.mini-hours div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.mini-hours dd { color: var(--muted); }
.made { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* Rörelse */
@keyframes in-up { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .page-head > * { animation: in-up 1.2s var(--ease-out) both; }
  .hero-copy > :nth-child(2), .page-head > :nth-child(2) { animation-delay: .15s; }
  .hero-copy > :nth-child(3) { animation-delay: .3s; }
  .hero-copy > :nth-child(4) { animation-delay: .45s; }
  .hero-visual { animation: in-up 1.6s var(--ease-out) .2s both; }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .step, .check path { animation: none; stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .links, .top-in > .btn { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .hero, .about, .info { grid-template-columns: 1fr; }
  .hero-visual img { aspect-ratio: 4 / 3.4; }
  .next-slot { left: 16px; bottom: 16px; }
  .feat-grid, .review-grid, .team, .strip { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .strip img { border-radius: 14px; }
  .gallery figure:nth-child(even) { margin-top: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .book-bar { display: flex; position: fixed; left: var(--gutter); right: var(--gutter); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; min-height: 54px; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 30px -12px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .6s var(--ease-out); }
  .book-bar.show { transform: none; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .choices, .form { grid-template-columns: 1fr; }
  .price-row { padding-right: 0; }
  .row-book { position: static; transform: none; margin-top: 12px; }
}

/* Offertläge: storleksval som knappar */
.sizes { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.sizes legend { font-size: 14px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span { min-height: 48px; padding: 0 16px; display: flex; align-items: center; border-radius: 12px; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 15px; transition: box-shadow .3s var(--ease); }
.pay-opt input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Långa prisetiketter får bryta rad på smala skärmar */
@media (max-width: 600px) {
  .price-top { flex-direction: column; gap: 2px; }
  .price { white-space: normal; color: var(--muted); }
  .feat-meta { flex-wrap: wrap; gap: 4px 12px; }
}

/* Tryckytor: kontaktlänkar i sidfoten minst 44 px höga */
.foot p a { display: inline-flex; align-items: center; min-height: 44px; }

/* Extra fält i bokningen (bokning.falt), t.ex. registreringsnummer */
.form [data-extra-falt] { text-transform: uppercase; letter-spacing: .06em; }
.form [data-extra-falt]::placeholder { text-transform: none; letter-spacing: .06em; }
.form .falt-tips { font-size: 13px; font-weight: 400; color: var(--muted); }
