body:has(.s244-stage){background:#f7f4ed}
body:has(.s244-stage)>header{border-bottom:1px solid #a9b2a5}
main:has(.s244-stage){max-width:none;padding-inline:0}
.s244-stage{display:grid;grid-template-columns:minmax(0,0.82fr) minmax(0,1.18fr);color:#fff9ed;background:#182e24}
.s244-copy{padding:clamp(30px,4.5vw,84px);align-self:center;overflow-wrap:anywhere}
.s244-copy>p:first-child{color:#e3eadf;font-weight:600;font-size:clamp(14px,1.3vw,19px);margin:0 0 24px}
.s244-stage h1{font-size:clamp(34px,3.8vw,70px);line-height:1.06;letter-spacing:-.045em;margin:0 0 22px;color:inherit}
.s244-intro{font-size:clamp(16px,1.35vw,22px);line-height:1.5;margin:0 0 32px;color:inherit}
.s244-photo{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:55% center}
.s244-actions{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap}
.s244-actions a{font-weight:700;color:inherit;text-underline-offset:4px}
.s244-actions a:first-child{background:#fbf6e9;color:#18382d;padding:13px 18px;border-radius:6px;text-decoration:none}
.s244-choice{display:grid;grid-template-columns:.95fr 1fr 1.4fr;gap:26px;max-width:1280px;margin:0 auto;padding:34px clamp(24px,4vw,70px)}
.s244-choice h2,.s244-choice h3{margin:0;line-height:1.14;font-size:clamp(24px,2.25vw,38px);letter-spacing:-.04em}
.s244-choice>div{padding-inline-start:26px;border-inline-start:1px solid #acb4a5}
.s244-choice p{margin:8px 0 0;line-height:1.5}.s244-motto{padding:12px 0 18px;margin:0 4vw;border-top:1px solid #acb4a5;font-style:italic}
@media(max-width:760px), (max-width:960px) and (max-height:500px) and (pointer:coarse){.s244-stage,.s244-choice{grid-template-columns:1fr}.s244-photo{height:auto}.s244-intro{margin-bottom:22px}.s244-copy{padding:30px 24px}.s244-choice{gap:16px}.s244-choice>div{border-inline-start:0;border-top:1px solid #c0c8bb;padding:14px 0 0}}
.s244-services{font-size:14px;text-decoration:none;font-weight:650;color:#234b3a}
@media(max-width:540px){body:has(.s244-stage)>header{gap:8px;flex-wrap:wrap}.s244-services{font-size:12px}}

/* Delade marginaler för innehållet efter den befintliga dörrbilden. */
.s246-home,.s246-footer{--forest:#19392e;--text:#213d33;--muted:#4a6256;--rule:#c5cebf;--paper:#f7f4ed;--salvia:#eaf0e6;color:var(--text)}
.s246-home .s246-band{margin:0;border-top:1px solid var(--rule)}
.s246-inner{width:min(1152px,calc(100% - clamp(40px,9vw,144px)));margin-inline:auto}
.s246-split{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(32px,7vw,112px);padding-block:clamp(44px,6vw,96px)}
.s246-band h2{margin:0;color:inherit;font-size:clamp(30px,3.6vw,55px);line-height:1.08;letter-spacing:-.046em;text-wrap:balance}
.s246-band h3{font-size:clamp(19px,1.6vw,24px);line-height:1.2;letter-spacing:-.025em;margin:0}
.s246-band p,.s244-choice p,.s244-choice li{line-height:1.58}
.s246-home a:focus-visible,.s246-home summary:focus-visible,.s246-footer a:focus-visible{outline:3px solid #ce652f;outline-offset:4px}
.s246-home summary{cursor:pointer;color:var(--forest);font-weight:650;text-underline-offset:3px}
.s246-home summary:hover{text-decoration:underline}
.s244-choice{padding-block:clamp(32px,4vw,60px)}
.s244-choice p,.s244-choice li{font-size:16px}
.s244-choice details{margin-top:12px}
.s244-choice summary{font-size:14px}
.s244-choice ul{padding-inline-start:20px;margin:12px 0 0}
.s246-process{background:#fffdf9}
.s246-visit{margin:0;align-self:stretch;position:relative;min-height:360px}
.s246-visit img{display:block;position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 48%;border-radius:6px}
.s246-steps ol{list-style:none;margin:28px 0 0;padding:0;counter-reset:steps}
.s246-steps li{position:relative;padding:17px 0 17px 39px;border-top:1px solid var(--rule);counter-increment:steps}
.s246-steps li:last-child{padding-bottom:0}
.s246-steps li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:19px;font:600 13px/1.6 system-ui;color:#815434}
.s246-steps p,.s246-questions p{font-size:16px;margin:7px 0 0;color:var(--muted)}
.s246-demo{background:var(--forest);color:#faf7ee}
.s246-demo-copy>p{margin:20px 0 24px;color:#e2e9de;font-size:17px}
.s246-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:46px;padding:12px 18px;border-radius:6px;background:#faf5e8;color:var(--forest);font-weight:700;text-decoration:none}
.s246-button:hover,.s244-actions a:first-child:hover{background:#e3eada}
.s246-demo-copy>.s246-owner-link{font-size:15px;line-height:1.6;margin:26px 0 0;padding-top:18px;border-top:1px solid #567062}
.s246-owner-link a{color:#fffaf0;text-underline-offset:3px}
.s246-plan{display:block;overflow:hidden;background:#f8f8ef;border:1px solid #b5c0ac;border-radius:6px;color:var(--forest);text-decoration:none}
.s246-plan img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;padding:clamp(10px,1.6vw,26px)}
.s246-plan span{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #c9d2c2;padding:10px 18px;font-size:14px}
.s246-plan b{font-size:20px}
.s246-faq{background:var(--paper)}
.s246-faq .s246-split,.s246-contact .s246-split{align-items:start}
.s246-questions details{border-bottom:1px solid var(--rule);padding:0}
.s246-questions details:first-child{border-top:1px solid var(--rule)}
.s246-questions summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;font-size:17px;padding:16px 0}
.s246-questions summary::-webkit-details-marker{display:none}
.s246-questions summary:after{content:"+";font:400 22px/1 system-ui;color:var(--forest)}
.s246-questions details[open] summary:after{content:"−"}
.s246-questions p{margin:0 22px 18px 0}
.s246-home #kontakt.s246-contact{background:var(--salvia);padding:0}
.s246-contact-copy>p{margin:18px 0 28px;font-size:17px}
.s246-people>div{display:flex;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--rule)}
.s246-people img{width:60px;height:60px;object-fit:cover;object-position:center 25%;border-radius:50%}
.s246-people h3{font-size:19px}
.s246-people p{font-size:13px;margin:3px 0 5px;color:var(--muted)}
.s246-people a{display:inline-block;color:var(--forest);font-size:14px;margin-right:7px;text-underline-offset:3px;overflow-wrap:anywhere}
.s246-contact .interest-form{border-radius:8px;box-shadow:none;position:relative;overflow:hidden}
.s246-contact .interest-form label{font-size:14px}
.s246-contact .interest-form small{font-size:12px}
.s246-contact .interest-form button{background:var(--forest);color:white;border-radius:6px}
.s246-footer{max-width:none;padding:0;margin:0;border-top:1px solid #adbbaa;background:#fffdf9}
.s246-footer .s246-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px 32px;padding-block:26px}
.s246-footer-brand{display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap}
.s246-footer-brand a{display:flex;align-items:center}
.s246-footer-brand img{width:144px;height:auto;display:block}
.s246-footer-brand span{color:var(--muted);font-size:13px}
.s246-footer nav{display:flex;gap:8px 20px;flex-wrap:wrap}
.s246-footer nav a{font-size:14px;color:var(--forest);text-decoration:none}
.s246-footer nav a:hover{text-decoration:underline}
@media(max-width:760px), (max-width:960px) and (max-height:500px) and (pointer:coarse){
  .s246-split{grid-template-columns:1fr;gap:26px}
  .s246-visit{min-height:0}
  .s246-visit img{position:static;height:clamp(210px,60vw,370px)}
  .s246-process .s246-steps{grid-row:1}
  .s246-steps ol{margin-top:18px}
  .s246-contact-copy,.s246-contact .s246-split{display:grid;grid-template-columns:minmax(0,1fr)}
  .s246-contact-copy{display:contents}
  .s246-contact-copy>p{margin:0}
  .s246-contact .s246-people{grid-row:4}
  .s246-footer .s246-inner,.s246-footer-brand{align-items:flex-start;flex-direction:column}
  .s246-footer .s246-inner{gap:10px}
}
@media(max-width:540px){
  body:has(.s244-stage)>header{display:flex;flex-wrap:nowrap}
  body:has(.s244-stage)>header .brand{flex:0 1 156px;min-width:48px}
  body:has(.s244-stage)>header .header-actions{display:flex;gap:10px;width:auto}
  .s246-contact .interest-form input,.s246-contact .interest-form textarea{font-size:16px}
}

/* Dörrbild och hand följer samma utsnitt som i dörrförslaget. */
.s244-stage{position:relative;isolation:isolate;display:flex;align-items:center;min-height:43.62vw;background:#172b20}
.s244-stage .s244-photo{position:absolute;left:0;bottom:-12.89vw;width:100%;height:auto;max-width:none;pointer-events:none;z-index:-1}
.s244-copy{width:38%;padding:3vw 0 3vw 3.7vw}
.s244-copy>p:first-child{max-width:20ch;font-size:clamp(15px,1.85vw,28px);font-weight:500;line-height:1.15;margin-bottom:1.8vw}
.s244-stage h1{font-size:clamp(32px,4.2vw,76px);line-height:1.03;margin-bottom:1.3vw}
.s244-intro{font-size:clamp(16px,1.72vw,28px);line-height:1.27;margin-bottom:2.6vw}
.s244-actions{gap:10px 1.6vw}
.s244-choice{max-width:none;padding-left:3.7vw;padding-right:20vw;grid-template-columns:.98fr .9fr 1.15fr;min-height:12.89vw}
@media(max-width:760px), (max-width:960px) and (max-height:500px) and (pointer:coarse){
 .s244-stage{display:block;min-height:0}
 .s244-copy{width:100%;padding:28px 24px 24px}
 .s244-stage h1{font-size:clamp(32px,7vw,48px)}
 .s244-copy>p:first-child{max-width:none;font-size:15px;margin-bottom:16px}
 .s244-intro{margin:12px 0 20px;font-size:17px}
 .s244-stage .s244-photo{position:relative;display:block;bottom:auto;height:88vw;object-fit:cover;object-position:right center;z-index:1;margin-bottom:-20vw}
 .s244-choice{grid-template-columns:1fr;padding:24px;min-height:0}
 .s244-choice h2{max-width:65%;min-height:14vw}
}

body:has(.s244-stage)>header{background:#f5eee3;padding-inline:3.25%;position:relative;box-shadow:none;border:0}
body:has(.s244-stage)>header::after{content:"";position:absolute;bottom:.8vw;left:1%;right:1%;height:1px;background:#a3a99c}
body:has(.s244-stage) .header-entry{border:0;background:transparent;padding-inline:0}
body:has(.s244-stage) .header-entry svg,body:has(.s244-stage) .floating-contact{display:none!important}
.s244-motto{margin:0;padding:1vw 3.7vw;background:#f5eee3;font-size:clamp(14px,1.5vw,24px);line-height:1.2}
.s244-choice{background:#f5eee3}
@media(min-width:761px) and (min-height:501px), (min-width:961px), (min-width:761px) and (pointer:fine){
 body:has(.s244-stage)>header{height:6.2vw;min-height:0;padding-block:0 .8vw}
 body:has(.s244-stage)>header .brand img.s48-brand-image{width:20vw;height:auto}
 body:has(.s244-stage)>header .header-actions{gap:3.2vw}
 body:has(.s244-stage)>header .header-actions a{font-size:1.6vw}
 .s244-copy{width:38%;box-sizing:border-box;padding:0 0 1.1cqw 3.7cqw}
 .s244-copy>p:first-child{font-size:1.85cqw;line-height:1.16;margin:0 0 1.8cqw}
 .s244-stage h1{font-family:Arial,sans-serif;font-weight:700;font-size:4.18cqw;letter-spacing:-.045em;line-height:1.04;margin:0 0 1.1cqw}
 .s244-intro{max-width:32.7cqw;font-size:1.72cqw;line-height:1.21;margin:0 0 2.65cqw}
 .s244-actions{flex-wrap:nowrap;gap:2cqw}
 .s244-actions a{font-size:1.48cqw;white-space:nowrap}
 .s244-actions a:first-child{padding:1cqw 1.65cqw}
 .s244-choice{min-height:12.89cqw;box-sizing:border-box;align-items:stretch;gap:0;padding:2cqw 21cqw 1.8cqw 3.7cqw;grid-template-columns:23.85cqw 23.85cqw 1fr}
 .s244-choice>div{padding-left:2.6cqw;padding-right:2cqw}
 .s244-choice h2{font-size:3.25cqw;max-width:23cqw;padding-right:2cqw}
 .s244-choice h3{font-size:2.9cqw}
 .s244-choice p{font-size:1.52cqw;line-height:1.24;margin:.55cqw 0 0}
}

.s250-opening{background:#f5eee3}
@media(min-width:761px) and (min-height:501px), (min-width:961px), (min-width:761px) and (pointer:fine){
 .s250-opening{
   container-type:inline-size;
   width:min(100%,calc((100vh - max(6.2vw,82px) - 8px)*1.57));
   width:min(100%,calc((100svh - max(6.2vw,82px) - 8px)*1.57));
   margin-inline:auto;
 }
 .s244-stage{min-height:43.62cqw}
 .s244-stage .s244-photo{bottom:-12.89cqw}
 .s244-motto{padding:1cqw 3.7cqw;font-size:1.5cqw}
}

body:has(.s244-stage)>header .header-actions:has(.header-entry[href="/logga-in"]){gap:clamp(8px,1.2vw,18px)}
body:has(.s244-stage)>header .header-actions :is(.s244-services,.header-entry[href="/logga-in"]){
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 min-height:34px;padding:6px 4px;font-size:14px;line-height:1.25;font-weight:600;white-space:nowrap;color:#254d43
}
body:has(.s244-stage)>header .header-actions .header-entry[href="/logga-in"]{
 padding-inline:14px;border:1px solid #80968a;border-radius:7px;background:transparent
}
body:has(.s244-stage)>header .s244-services:hover{text-decoration:underline;text-underline-offset:4px}
body:has(.s244-stage)>header .header-actions .header-entry[href="/logga-in"]:hover{background:#e4ebdf;border-color:#365e4d}
body:has(.s244-stage)>header .header-actions a:focus-visible{outline:2px solid #426650;outline-offset:3px}
@media(max-width:540px){
 body:has(.s244-stage)>header .header-actions :is(.s244-services,.header-entry[href="/logga-in"]){font-size:13px;min-height:38px}
 body:has(.s244-stage)>header .header-actions .header-entry[href="/logga-in"]{padding-inline:10px}
}

/* Samma proportioner för det publika sidhuvudet och hela dörrmotivet. */
@media(min-width:761px) and (min-height:501px), (min-width:961px), (min-width:761px) and (pointer:fine){
 body:has(.s244-stage):has(header .header-entry[href="/logga-in"]){
   --opening-width:min(100vw,148vh);
   --opening-width:min(100vw,148svh);
 }
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]),
 body:has(header .header-entry[href="/logga-in"]) .s250-opening{
   width:var(--opening-width);max-width:100%;margin-inline:auto;box-sizing:border-box;
 }
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]){
   height:calc(var(--opening-width)*.062);padding:0 calc(var(--opening-width)*.0325) calc(var(--opening-width)*.008);
 }
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"])::after{bottom:calc(var(--opening-width)*.008)}
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]) .brand img.s48-brand-image{width:calc(var(--opening-width)*.2)}
 .s244-actions{gap:2cqw}
}

@media(min-width:761px) and (min-height:501px), (min-width:961px), (min-width:761px) and (pointer:fine){
 /* Bildytan följer fönstrets bredd. Dörren och handen behåller sina proportioner. */
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]){width:100%;padding-inline:3.7%}
 .s250-opening{--extra-width:max(0px,calc(100vw - 100cqw))}
 .s250-opening>.s244-stage,.s250-opening>.s244-choice,.s250-opening>.s244-motto{
   width:100vw;box-sizing:border-box;margin-inline:calc(50% - 50vw)
 }
 .s244-stage .s244-photo{left:auto;right:0;width:100cqw}
 .s244-stage::before{
   content:"";position:absolute;inset:0 auto 0 0;width:var(--extra-width);z-index:-1;
   background-image:url("/assets/startsida-b-248.webp");
   transform:scaleX(-1);background-size:1400% 56.51cqw;background-position:left top;background-repeat:no-repeat
 }
 .s244-copy{width:38cqw;padding-left:3.7cqw}
 .s244-choice{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr);padding-right:21cqw}
}

@media(max-width:760px), (max-width:960px) and (max-height:500px) and (pointer:coarse){
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]){display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap;padding:8px clamp(12px,4vw,24px);height:auto;min-height:60px}
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]) .brand{flex:0 1 140px;min-width:0}
 body:has(.s244-stage)>header:has(.header-entry[href="/logga-in"]) .header-actions{flex:0 0 auto;gap:8px}
 body:has(.s244-stage)>header .header-actions :is(.s244-services,.header-entry[href="/logga-in"]){min-height:44px}
 .s244-copy{padding:24px clamp(18px,5vw,36px) 18px}
 .s244-copy>p:first-child{margin-bottom:12px;font-size:14px}
 .s244-stage h1{font-size:clamp(30px,7.6vw,46px);margin:0 0 12px}
 .s244-intro{max-width:48ch;font-size:16px;line-height:1.4;margin:0 0 16px}
 .s244-actions{gap:6px 14px}
 .s244-actions a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
 .s244-actions a:first-child{padding:8px 12px}
 .s244-stage .s244-photo{width:100%;height:clamp(204px,75vw,370px);object-fit:cover;object-position:right bottom;margin:0;background:linear-gradient(to bottom,#172b20 77.2%,#f5eee3 77.2%)}
 .s244-choice{padding:14px clamp(18px,5vw,36px) 20px;gap:12px}
 .s244-choice h2{max-width:none;min-height:0;font-size:26px}
 .s244-choice>div{display:grid;grid-template-columns:minmax(90px,24%) 1fr;gap:10px;padding-top:12px}
 .s244-choice h3{font-size:19px}
 .s244-choice p{margin:0;font-size:15px;line-height:1.45}
 .s244-motto{padding:10px clamp(18px,5vw,36px)}
 .s246-home .interest-fields{grid-template-columns:minmax(0,1fr)}
 .s246-home .interest-fields input,.s246-home .interest-fields textarea{font-size:16px;min-width:0;max-width:100%}
 .s246-questions summary,.s246-home .interest-form button{min-height:44px}
 .s246-footer nav a{display:inline-flex;align-items:center;min-height:44px}
}
