
[data-page="/"] .hero{--dk:1;}
/* fixed behind the whole page while it fades: the night covers the screen, not only the hero, so day comes without an edge */
.hero .night{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--dk,1);
  background:
    radial-gradient(9% 7% at 72% 45%,rgba(255,236,200,.95),rgba(255,190,110,.75) 40%,rgba(255,150,60,0) 100%),
    radial-gradient(26% 16% at 72% 45%,rgba(255,150,55,.85),rgba(245,120,30,.35) 55%,rgba(245,110,30,0) 100%),
    radial-gradient(70% 22% at 66% 44%,rgba(240,110,35,.55),rgba(200,80,30,.18) 55%,rgba(150,60,30,0) 100%),
    linear-gradient(180deg,#0a0d14 0%,#141219 22%,#2c1a16 38%,#4a2414 45%,#1a1214 52%,#0c0e14 64%,#080a0f 100%);
}
[data-page="/"] #gl{-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 78%,transparent 100%);}
@media(max-width:720px){.hero .night{background:
    radial-gradient(16% 6% at 70% 40%,rgba(255,236,200,.95),rgba(255,190,110,.7) 40%,rgba(255,150,60,0) 100%),
    radial-gradient(48% 13% at 70% 40%,rgba(255,150,55,.8),rgba(245,120,30,.3) 55%,rgba(245,110,30,0) 100%),
    linear-gradient(180deg,#0a0d14 0%,#16131a 22%,#38201a 34%,#4a2414 40%,#1a1214 48%,#0c0e14 62%,#080a0f 100%);}}
/* the light washes of the old hero would make the hero lighter than the screen below it while day comes: they go */
[data-page="/"] .hero::before,[data-page="/"] .hero::after{display:none;}
[data-page="/"] .hero :is(h1,.h1x){color:color-mix(in srgb,#ffffff calc(var(--dk,1)*100%),#111111);}
[data-page="/"] .hero .lead{color:color-mix(in srgb,#cdd2da calc(var(--dk,1)*100%),#5e5e5e);}
[data-page="/"] .hero .cta-row .btn-line-d{color:color-mix(in srgb,#ffffff calc(var(--dk,1)*100%),#111111);border-color:color-mix(in srgb,rgba(255,255,255,.42) calc(var(--dk,1)*100%),rgba(17,17,17,.22));background:color-mix(in srgb,rgba(255,255,255,.07) calc(var(--dk,1)*100%),rgba(255,255,255,.65));}
@media(min-width:721px){[data-page="/"] .hero .cta-row .btn-line-d{background:color-mix(in srgb,rgba(255,255,255,.07) calc(var(--dk,1)*100%),rgba(255,255,255,0));}}
/* the services menu: an invisible bridge over the gap under "Tjenester", so the menu stays open while the mouse crosses it */
.drop-menu::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}
/* the 3D cabinet card: the arrow keeps its steady bob on hover (changing its speed made it jump) and grows a little instead;
   the card lifts with a deeper shadow */
.sk-teaser{transition:transform .35s var(--ease),border-color .2s,background .2s,box-shadow .35s var(--ease);}
.sk-teaser:hover{box-shadow:0 26px 46px -26px rgba(17,17,17,.45);}
.sk-ar{transition:scale .35s var(--ease),box-shadow .35s var(--ease);}
.sk-teaser:hover .sk-ar{animation-duration:1.8s;scale:1.1;box-shadow:0 10px 20px -8px rgba(245,130,32,.75);}
/* buttons and the cabinet card lift a little on hover. Lifted, their lower edge left the mouse, so at the bottom edge they
   flickered between hover and rest. A strip under them while hovered keeps the mouse on them. */
.btn,.sk-teaser{position:relative;}
.btn:hover::after,.sk-teaser:hover::after{content:"";position:absolute;left:0;right:0;top:100%;height:6px;}
/* the header keeps the whole d|rig logo when the page is scrolled (it used to shrink to the d) */
.hdr.scrolled .hdr-logo{width:calc(var(--lh)*1.686);}
/* buttons stay put on hover (no lift); the press feedback on click is kept */
.btn:hover:not(:active),.sk-teaser:hover{transform:none;}
/* booking: own date picker in the same style as the custom dropdowns */
.dp{position:relative;}
.bk-when{position:relative;z-index:30;}
.dp-d.now:disabled{box-shadow:none;}
.fld .dp-in{padding-right:44px;cursor:pointer;caret-color:transparent;}
.fld .dp-in:hover{border-color:rgba(17,17,17,.14);}
.fld .dp.open .dp-in,.fld .dp-in:focus{border-color:var(--orange);background:#fff;}
.dp-ic{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:rgba(17,17,17,.55);cursor:pointer;transition:color .2s;}
.dp.open .dp-ic,.dp:hover .dp-ic{color:var(--orange);}
.dp-pop{position:absolute;z-index:60;left:0;top:calc(100% + 8px);width:min(320px,100%);padding:14px;background:#fff;color:#111;border:1px solid rgba(17,17,17,.08);border-radius:16px;box-shadow:0 24px 48px -20px rgba(17,17,17,.35),0 4px 12px rgba(17,17,17,.06);animation:cselIn .2s var(--ease);}
.dp-pop.up{top:auto;bottom:calc(100% + 8px);animation-name:cselUp;}
.dp-pop[hidden]{display:none;}
.dp-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.dp-t{font-weight:600;font-size:15px;}
.dp-nav{width:34px;height:34px;border-radius:10px;border:1px solid rgba(17,17,17,.1);background:#fff;color:#111;display:grid;place-items:center;cursor:pointer;transition:border-color .2s,color .2s,background .2s;}
.dp-nav:hover:not(:disabled){border-color:var(--orange);color:var(--orange);}
.dp-nav:disabled{opacity:.3;cursor:default;}
.dp-g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;}
.dp-w{text-align:center;font-size:12px;font-weight:600;color:rgba(17,17,17,.45);padding:4px 0 6px;text-transform:capitalize;}
.dp-d{aspect-ratio:1;min-height:34px;border:0;border-radius:9px;background:none;font:inherit;font-size:14.5px;color:#111;cursor:pointer;transition:background .15s,color .15s;}
.dp-d.we{color:rgba(17,17,17,.6);}
.dp-d:hover:not(:disabled){background:var(--paper);}
.dp-d.foc{box-shadow:inset 0 0 0 1.5px rgba(17,17,17,.25);}
.dp-d.now{box-shadow:inset 0 0 0 1.5px var(--orange);}
.dp-d.sel,.dp-d.sel:hover{background:var(--orange);color:#111;font-weight:600;box-shadow:none;}
.dp-d:disabled{color:rgba(17,17,17,.22);cursor:default;}
/* submenu over the dark front-page hero: less see-through so it reads clearly */
.hdr:not(.on-light) .drop-menu{background:rgba(255,255,255,.9);border-color:rgba(255,255,255,.95);}
.hdr:not(.on-light) .drop-menu small{color:rgba(17,17,17,.62);}
/* chat: the "message sent" confirmation */
.dm-ok{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 6px 8px;outline:none;animation:bkOk .45s var(--ease) both;}
.dm-ok-ic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#E7F6EC;color:#1E7B3A;box-shadow:0 0 0 8px rgba(30,123,58,.07);margin-bottom:16px;}
.dm-ok-ic svg path{stroke-dasharray:24;stroke-dashoffset:24;animation:dmTick .5s .2s var(--ease) forwards;}
@keyframes dmTick{to{stroke-dashoffset:0;}}
.dm-ok-h{font-size:19px;font-weight:700;color:#111;}
.dm-ok-p{margin:8px 0 0;font-size:14.5px;line-height:1.5;color:rgba(17,17,17,.68);max-width:280px;}
.dm-ok-m{margin-top:18px;width:100%;text-align:left;padding:12px 14px;border-radius:12px;background:#F5F5F5;font-size:14px;line-height:1.45;color:rgba(17,17,17,.75);white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto;}
.dm-ok-m .dm-tp{display:block;font-size:12px;font-weight:600;color:rgba(17,17,17,.5);margin-bottom:3px;white-space:normal;}
.dm-ok-b{margin-top:20px;width:100%;padding:13px 16px;border:0;border-radius:12px;background:#2B2B2B;color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer;transition:background .2s,color .2s;}
.dm-ok-b:hover,.dm-ok-b:focus-visible{background:var(--orange);color:#111;outline:none;}
.is-sent .dm-sep{display:none;}
/* forms: error line when sending fails, and a calm busy state while sending */
.err{display:none;margin:0 0 16px;padding:14px 16px;border-radius:12px;background:#FDECEA;border:1px solid #F3B8B1;color:#9B2C1F;font-weight:600;font-size:14.5px;line-height:1.5;text-align:center;}
.err.show{display:block;animation:bkOk .35s var(--ease) both;}
.err a{color:inherit;text-decoration:underline;white-space:nowrap;}
.form-card:not(#bookForm) .err{margin:14px 0 0;}
form[aria-busy="true"] [type=submit]{opacity:.6;cursor:progress;}
/* booking: the thank-you is green and centred at the top of the form */
#bookForm .ok{margin:0 0 20px;padding:16px 18px;border-radius:12px;background:#E7F6EC;border:1px solid #9FD8B1;color:#1E7B3A;text-align:center;font-weight:600;}
#bookForm .ok.show{display:block;animation:bkOk .45s var(--ease) both;}
@keyframes bkOk{from{opacity:0;transform:translateY(-6px);}to{opacity:1;transform:none;}}
