/* =========================================================
   Arctic Online
   Polarnat, is og nordlys fra banneret – og farverne fra
   de farvede huse i Sisimiut som accenter.
   ========================================================= */

:root {
  --night: #020d1f;      /* sidens baggrund */
  --deep: #051a38;       /* flader */
  --fjord: #0b2a54;      /* kanter, hover */
  --rim: rgba(126, 176, 240, .17);
  --ice: #36acfb;        /* logoets blå */
  --ice-hi: #7fd0ff;
  --aurora: #5ac8b7;     /* nordlys */
  --aurora-hi: #6ff0c8;
  --snow: #f3f7fd;       /* overskrifter */
  --mist: #b6c5dd;       /* brødtekst */
  --dim: #8598b8;        /* sekundær tekst */

  /* husene i Sisimiut */
  --hus-rod: #ef5a4c;
  --hus-gul: #f7c648;
  --hus-bla: #4c9bf0;
  --hus-gron: #45c489;
  --lampe: #ffd47e;      /* lys i vinduerne */

  --wrap: 1180px;
  --gut: clamp(20px, 4.5vw, 44px);
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* grønlandske ord kan være meget lange: lad dem dele sig frem for at skubbe siden bredere */
  overflow-wrap: break-word;
}
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #021226; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Nordlys bag hele siden (kun transform = billigt for telefonen) ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; width: 90vmax; height: 46vmax; border-radius: 50%; opacity: .6; will-change: transform; }
.sky i:nth-child(1) { left: -30vmax; top: 8%; background: radial-gradient(closest-side, rgba(90, 200, 183, .2), transparent); animation: drift1 38s ease-in-out infinite alternate; }
.sky i:nth-child(2) { right: -34vmax; top: 38%; background: radial-gradient(closest-side, rgba(54, 172, 251, .17), transparent); animation: drift2 46s ease-in-out infinite alternate; }
.sky i:nth-child(3) { left: 10vmax; bottom: -22vmax; background: radial-gradient(closest-side, rgba(111, 240, 200, .14), transparent); animation: drift1 54s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate3d(0, 0, 0) rotate(-12deg) scale(1); } to { transform: translate3d(22vmax, -6vmax, 0) rotate(8deg) scale(1.25); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0) rotate(14deg) scale(1.1); } to { transform: translate3d(-24vmax, 8vmax, 0) rotate(-6deg) scale(.9); } }

/* ---------- Typografi ---------- */
h2 {
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(1.85rem, 1.1rem + 2.7vw, 3.2rem);
  line-height: 1.09;
  letter-spacing: -.012em;
  color: var(--snow);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h3 {
  overflow-wrap: break-word;
  font-stretch: 116%;
  font-weight: 650;
  font-size: 1.32rem;
  line-height: 1.22;
  color: var(--snow);
}
p { max-width: 62ch; }

/* ---------- Dukker op, når man scroller ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Knapper ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.55em;
  border: 1px solid transparent; border-radius: 10px;
  font-weight: 650; font-stretch: 108%; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: .94rem; }
.btn--primary {
  color: #021226;
  background: linear-gradient(180deg, #7ccdff 0%, #36acfb 55%, #2a9bf0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 34px -10px rgba(54, 172, 251, .75);
}
/* et lysglimt hen over knappen */
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 40px -8px rgba(54, 172, 251, .95); transform: translateY(-2px); }
.btn--ghost { color: var(--snow); border-color: rgba(160, 205, 255, .38); background: rgba(6, 28, 60, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(160, 205, 255, .85); background: rgba(11, 42, 84, .75); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------- Topmenu ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: linear-gradient(180deg, rgba(1, 9, 21, .8), rgba(1, 9, 21, 0)); transition: background-color .3s, box-shadow .3s; }
.nav--solid { background: rgba(2, 13, 31, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rim); }
.nav__in { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 24px; }
/* hvor langt man er nået ned ad siden */
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ice), var(--aurora-hi)); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: opacity .3s; }
.brand__mark { height: 38px; width: auto; }
.brand__word { height: 16px; width: auto; }
.nav:not(.nav--solid):not(.nav--open) .brand { opacity: 0; pointer-events: none; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: #fff; text-decoration: none; font-size: 1.04rem; font-weight: 600; font-stretch: 106%; padding: 10px 14px; border-radius: 10px; white-space: nowrap; text-shadow: 0 1px 10px rgba(1, 10, 26, .9); transition: background-color .18s, color .18s; }
.nav__links a:hover { background: rgba(127, 208, 255, .16); }
.nav__links a.is-here { background: rgba(127, 208, 255, .2); color: var(--ice-hi); }

.nav__tools { display: flex; align-items: center; gap: 14px; }
/* sprogvælgeren: en tydelig pille med store flag */
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid rgba(160, 205, 255, .45); background: rgba(6, 28, 60, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang__btn { width: 44px; height: 36px; padding: 6px 8px; background: none; border: 0; border-radius: 999px; cursor: pointer; opacity: .7; transition: opacity .18s, background-color .18s, transform .18s; }
.lang__btn svg { width: 100%; height: 100%; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.lang__btn:hover { opacity: 1; transform: scale(1.08); }
.lang__btn[aria-pressed="true"] { opacity: 1; background: #fff; }

/* menu-knappen: ordet er sat som overskrifterne (bredt og fedt), så det ligner logoets skrift */
.nav__toggle { display: none; align-items: center; gap: 11px; height: 50px; padding: 0 20px 0 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #7ccdff, #36acfb 60%, #2a9bf0); color: #021226; font-size: 1.02rem; font-weight: 750; font-stretch: 125%; letter-spacing: .01em; line-height: 1; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 26px -8px rgba(54, 172, 251, .9); transition: transform .18s, box-shadow .18s; }
.nav__toggle:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 30px -8px rgba(54, 172, 251, 1); }
.nav__bars { display: grid; gap: 4px; width: 20px; }
.nav__bars i { display: block; height: 2.5px; border-radius: 2px; background: #021226; transition: transform .22s, opacity .22s; }
.nav__bars i:nth-child(2) { width: 70%; }
.nav--open .nav__bars i:nth-child(1) { transform: translateY(6.500px) rotate(45deg); }
.nav--open .nav__bars i:nth-child(2) { opacity: 0; }
.nav--open .nav__bars i:nth-child(3) { transform: translateY(-6.500px) rotate(-45deg); }

/* ---------- Top ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  /* luft i bunden, så knapperne står over husene */
  padding: 76px 0 clamp(150px, 17vw, 270px);
  background: linear-gradient(180deg, #010915 0%, #011229 38%, #03203f 72%, #06284f 100%);
  text-align: center;
}
.hero__stars, .hero__aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; }
.hero__aurora { z-index: -2; filter: blur(5px) saturate(1.15); opacity: 0; transition: opacity 1.8s ease-out; }
.hero__aurora.is-on { opacity: 1; }
/* himmel, land og tekst glider i hver sit tempo, når man scroller (--sy sættes i main.js) */
.hero__stars { transform: translate3d(0, calc(var(--sy, 0) * .3px), 0); }
.hero__aurora { transform: translate3d(0, calc(var(--sy, 0) * .22px), 0); }
.hero__land { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; max-width: none; height: max(30vw, 270px); transform: translate3d(0, calc(var(--sy, 0) * .1px), 0); }
.win { animation: win 9s steps(1) var(--d, 0s) infinite; }
@keyframes win { 0%, 100% { opacity: 1; } 46% { opacity: .18; } 61% { opacity: 1; } }

.hero__body {
  align-self: center; justify-self: center;
  width: min(1040px, 100% - 2 * var(--gut));
  padding: clamp(16px, 3vh, 40px) 0;
  position: relative;
  transform: translate3d(0, calc(var(--sy, 0) * -.12px), 0);
}
/* et let mørkt skær bag overskriften, så den altid kan læses */
.hero__body::before { content: ""; position: absolute; inset: -6% -14%; z-index: -2; background: radial-gradient(closest-side, rgba(1, 12, 30, .6), rgba(1, 12, 30, .3) 55%, transparent); pointer-events: none; }

.lockup__mark { width: clamp(96px, 11vw, 158px); margin: 0 auto; filter: drop-shadow(0 12px 40px rgba(54, 172, 251, .28)); }
.lockup__word { width: clamp(210px, 27vw, 390px); margin: clamp(8px, 1vw, 14px) auto 0; }

.hero__title {
  margin: clamp(18px, 2.6vw, 34px) auto 0; max-width: 15ch;
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(2.1rem, .9rem + 5.6vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance; overflow-wrap: break-word;
  /* samme forløb som i logoets A: hvid sne, der toner over i isblå */
  color: #fff;
  background: linear-gradient(180deg, #ffffff 30%, #bfe3ff 78%, #7fd0ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(1, 10, 26, .7));
}
.hero__lead { margin: clamp(16px, 2vw, 24px) auto 0; max-width: 46ch; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); color: #e2ebf8; text-wrap: balance; text-shadow: 0 1px 14px rgba(1, 10, 26, .9); }
.hero__cta { margin-top: clamp(22px, 2.6vw, 32px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__cta .btn { min-height: 56px; font-size: 1.06rem; padding: 0 1.8em; }
/* sprogvalget står lige under knapperne, hvor man ser det */
.lang--hero { display: inline-flex; margin-top: clamp(16px, 2vw, 22px); }
.lang--foot { grid-column: 1 / -1; justify-self: start; }

/* Åbningen: logo og tekst lander, mens nordlyset tænder */
@media (prefers-reduced-motion: no-preference) {
  .lockup, .hero__title, .hero__lead, .hero__cta, .lang--hero { animation: land 1s var(--ease) both; }
  .lang--hero { animation-delay: .46s; }
  .hero__title { animation-delay: .14s; }
  .hero__lead { animation-delay: .26s; }
  .hero__cta { animation-delay: .36s; }
}
@keyframes land { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Sektioner ---------- */
.sec { position: relative; padding-block: var(--sec); }
/* horisontlinjen fra banneret skiller sektionerne */
.sec + .sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(720px, 76%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(54, 172, 251, .7), transparent); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec__head p { font-size: 1.12rem; max-width: 54ch; }

.only { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--hus-gul) 55%, transparent); background: color-mix(in srgb, var(--hus-gul) 13%, transparent); color: var(--hus-gul); font-size: .82rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; white-space: nowrap; vertical-align: middle; }
.only .ico { width: 15px; height: 15px; stroke-width: 2; }

/* ---------- Hvorfor ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.why__text h2 { max-width: 16ch; }
.why__text p { margin-top: 18px; font-size: 1.1rem; }
.why__text h2 + p { margin-top: 28px; }
.why__text p:last-child { color: var(--snow); font-weight: 600; }

.finder { justify-self: end; width: min(430px, 100%); }
.finder__panel { border: 1px solid var(--rim); border-radius: 22px; padding: 14px; background: linear-gradient(180deg, rgba(11, 42, 84, .6), rgba(5, 26, 56, .5)); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(54, 172, 251, .35); }
.finder__bar { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: #f3f7fd; color: #0a1e3d; font-weight: 500; }
.finder__bar .ico { color: #5a6f90; }
.finder__q { white-space: nowrap; overflow: hidden; }
.finder__caret { width: 2px; height: 20px; margin-left: -7px; background: var(--ice); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.finder__map { margin-top: 12px; border-radius: 12px 12px 0 0; overflow: hidden; }
.finder__map svg { width: 100%; height: auto; aspect-ratio: 400 / 190; }
.finder__pulse { fill: none; stroke: var(--aurora-hi); stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: translateY(-19px); opacity: 0; }
.finder__card { padding: 18px 18px 16px; border-radius: 0 0 12px 12px; background: #071f42; }
.finder__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.finder__name { font-weight: 650; font-stretch: 112%; font-size: 1.14rem; color: var(--snow); line-height: 1.25; }
.finder__town { font-size: .95rem; color: var(--dim); }
.finder__open { display: flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--aurora-hi); white-space: nowrap; padding-top: 3px; }
.finder__open i { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora-hi); box-shadow: 0 0 10px var(--aurora-hi); }
.finder__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.finder__acts span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid rgba(126, 176, 240, .3); border-radius: 999px; font-size: .9rem; color: #dbe6f7; }
.finder__acts b { font-weight: 500; }
.finder__acts .ico { width: 16px; height: 16px; color: var(--ice-hi); }
@media (prefers-reduced-motion: no-preference) {
  .finder__pulse { animation: ping 2.8s ease-out infinite; }
}
@keyframes ping { 0% { opacity: .9; scale: .5; } 75%, 100% { opacity: 0; scale: 2.3; } }

/* ---------- Pakker ---------- */
.packages { background: linear-gradient(180deg, transparent, rgba(5, 26, 56, .7) 20%, rgba(5, 26, 56, .7) 80%, transparent); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 26px 22px 24px; border-radius: 18px;
  border: 1px solid var(--rim); border-top: 4px solid var(--hus);
  background: linear-gradient(180deg, rgba(11, 42, 84, .62), rgba(5, 26, 56, .5));
}
/* lyset følger musen hen over kortet (--mx/--my sættes i main.js) */
.plan::before { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--hus) 30%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.plan > * { position: relative; }
/* .done sættes, når kortet er dukket op: så reagerer det straks på musen */
.js .plan.done { transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); transition-delay: 0s; }
.js .plan.in:hover, html:not(.js) .plan:hover { transform: translateY(-10px); border-color: color-mix(in srgb, var(--hus) 70%, transparent); border-top-color: var(--hus); box-shadow: 0 34px 70px -34px var(--hus); }
.plan:hover::before { opacity: 1; }

.plan__house { width: 58px; height: 51px; margin-bottom: 14px; overflow: visible; flex: none; }
/* husets farve og vinduer styres med --hus og --win (de arver ind i ikonet) */
.plan:hover, .plan--pick { --win: var(--lampe); }
.plan:hover .plan__house, .plan--pick .plan__house { filter: drop-shadow(0 0 10px rgba(255, 212, 126, .45)); }
.plan__house { transition: filter .35s; }
@media (hover: none) { .plan { --win: var(--lampe); } }

.plan__name { font-size: 1.7rem; font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }
.plan__for { margin-top: 6px; color: var(--hus); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.plan__price { margin-top: 12px; color: var(--dim); font-size: 1rem; white-space: nowrap; }
.plan__price b { color: var(--snow); font-size: 2.5rem; font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plan .only { align-self: flex-start; margin-top: 12px; }
.plan__desc { margin: 14px 0 24px; font-size: .98rem; line-height: 1.5; }

.plan__inc li::before, .profile__list li::before { content: ""; position: absolute; left: 0; top: .12em; width: 20px; height: 20px; background: var(--hus, var(--aurora-hi)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.600 4.600L19.500 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.600 4.600L19.500 7'/%3E%3C/svg%3E") center / contain no-repeat; }
/* hvad pakken indeholder – står lige under navnet, så man kan sammenligne med ét blik */
.plan__inc { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; margin-top: 10px; }
.plan__inc li { position: relative; padding: 5px 11px 5px 27px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--hus) 55%, transparent); background: color-mix(in srgb, var(--hus) 16%, transparent); color: #fff; font-size: .86rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.plan__inc li::before { left: 8px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; }
/* plads til to rækker, så priserne står på linje */
@media (min-width: 1101px) { .plan__inc { min-height: 64px; } }
.plan .btn { margin-top: auto; width: 100%; }

.plan--pick { background: linear-gradient(180deg, color-mix(in srgb, var(--hus) 24%, #0b2a54), #082650 62%); border-color: color-mix(in srgb, var(--hus) 60%, transparent); border-top-color: var(--hus); box-shadow: 0 30px 80px -40px var(--hus); }
.plan__badge { position: absolute !important; top: 14px; right: 14px; padding: 4px 11px; border-radius: 999px; background: var(--hus); color: #2a0b07; font-size: .8rem; font-weight: 700; }

/* den lille pakke: samme slags kort, bare liggende */
.plan--mini { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px 26px; padding: 20px 24px; border-top: 1px solid var(--rim); border-left: 4px solid var(--hus); }
.plan--mini .plan__house { width: 48px; height: 42px; margin: 0; }
.plan--mini .plan__who { flex: none; }
.plan--mini .plan__name { font-size: 1.35rem; }
.plan--mini .plan__for { min-height: 0; margin-top: 2px; }
.plan--mini .plan__desc { flex: 1 1 0; margin: 0; max-width: 48ch; }
.plan--mini .plan__price { margin: 0; }
.plan--mini .plan__price b { font-size: 2rem; }
.plan--mini .btn { width: auto; margin: 0; }
.js .plan--mini.in:hover, html:not(.js) .plan--mini:hover { transform: translateY(-5px); border-left-color: var(--hus); }

/* ---------- Det laver vi ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.4vw, 48px); }
.svc { scroll-margin-top: 96px; }
.svc__art { position: relative; display: grid; place-items: center; height: 250px; margin-bottom: 22px; border-radius: 20px; border: 1px solid var(--rim); background: radial-gradient(closest-side, color-mix(in srgb, var(--hus) 22%, transparent), transparent 115%), rgba(5, 26, 56, .55); overflow: hidden; }
.svc h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1.5rem; font-stretch: 122%; font-weight: 700; }
.svc p { margin-top: 10px; }

/* telefon med hjemmeside */
.phone { width: 176px; padding: 7px; border-radius: 24px; border: 1px solid rgba(160, 205, 255, .3); background: #061a38; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 0 0 5px rgba(11, 42, 84, .55); transform: translateY(34px) rotate(-4deg); transition: transform .6s var(--ease); }
.svc:hover .phone { transform: translateY(22px) rotate(0deg); }
.phone__bar { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: #0b2a54; font-size: .66rem; color: #c6d6ee; }
.phone__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-hi); flex: none; }
.phone__bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone__page { margin-top: 7px; padding: 7px; border-radius: 13px 13px 0 0; background: #f3f7fd; display: grid; gap: 7px; }
.phone__page img { width: 100%; height: 86px; object-fit: cover; border-radius: 8px; }
.sk { display: block; height: 7px; border-radius: 4px; background: #cfdcee; }
.sk--title { height: 12px; width: 72%; background: #0b2a54; }
.phone__rows { display: grid; gap: 5px; }
.phone__rows li { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 8px; background: #e3ecf8; color: #0b2a54; font-size: .72rem; font-weight: 600; }
.phone__rows .ico { width: 13px; height: 13px; color: #1f7fd8; stroke-width: 2; }

/* Google-profilen krydses af, punkt for punkt */
.profile { width: min(250px, 84%); padding: 16px 20px 12px; border-radius: 16px; border: 1px solid var(--rim); background: linear-gradient(180deg, rgba(11, 42, 84, .9), rgba(5, 26, 56, .85)); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.profile__head { display: flex; align-items: center; gap: 9px; color: var(--snow); font-weight: 650; font-stretch: 112%; font-size: 1rem; padding-bottom: 10px; border-bottom: 1px solid var(--rim); }
.profile__head .ico { width: 20px; height: 20px; color: var(--hus); }
.profile__list li { position: relative; padding: 7px 0 7px 32px; color: #7e93b6; font-size: .96rem; transition: color .4s calc(var(--i) * 260ms + .25s); }
.profile__list li::before { top: 9px; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i) * 260ms + .25s); }
.profile__list li::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(126, 176, 240, .35); transition: opacity .3s calc(var(--i) * 260ms + .25s); }
.in .profile__list li, html:not(.js) .profile__list li { color: #e6eefb; }
.in .profile__list li::before, html:not(.js) .profile__list li::before { transform: scale(1); }
.in .profile__list li::after, html:not(.js) .profile__list li::after { opacity: 0; }

/* tre billeder, lagt som papirbilleder */
.shots { position: relative; width: min(318px, 94%); height: 176px; }
.shot { position: absolute; width: 45%; padding: 5px 5px 0; background: #f3f7fd; border-radius: 4px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9); transition: transform .6s var(--ease); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
/* teksten står til venstre, så den kan læses, selvom næste billede ligger ind over */
.shot figcaption { padding: 4px 2px 5px; color: #0b2a54; font-size: .76rem; font-weight: 700; line-height: 1.2; text-align: left; }
.shot:nth-child(1) { left: 0; top: 18%; transform: rotate(-7deg); }
.shot:nth-child(2) { left: 27.500%; top: 2%; transform: rotate(2deg); z-index: 1; }
.shot:nth-child(3) { left: 55%; top: 20%; transform: rotate(7deg); z-index: 2; }
.svc:hover .shot:nth-child(1) { transform: rotate(-11deg) translate(-8px, 2px); }
.svc:hover .shot:nth-child(2) { transform: rotate(0deg) translateY(-8px); }
.svc:hover .shot:nth-child(3) { transform: rotate(11deg) translate(8px, 2px); }

/* ---------- Sådan foregår det ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 60px); --gap: clamp(20px, 4vw, 60px); }
/* ruten tegnes, mens man scroller (--draw sættes i main.js) */
.steps::before, .steps::after { content: ""; position: absolute; top: 27px; left: 28px; width: calc((100% - 2 * var(--gap)) / 3 * 2 + 2 * var(--gap)); height: 2px; }
.steps::before { background: rgba(126, 176, 240, .2); }
.steps::after { background: linear-gradient(90deg, var(--ice), var(--aurora-hi)); transform-origin: 0 50%; transform: scaleX(var(--draw, 1)); box-shadow: 0 0 14px rgba(111, 240, 200, .6); }
.step { position: relative; z-index: 1; }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(126, 176, 240, .3); background: var(--night); color: #7e93b6; font-weight: 800; font-stretch: 116%; font-size: 1.25rem; transition: border-color .4s, color .4s, background-color .4s, box-shadow .4s, transform .4s var(--ease); }
.step.on .step__n, html:not(.js) .step__n { border-color: var(--ice); color: #fff; transform: scale(1.06); }
.step--live.on .step__n, html:not(.js) .step--live .step__n { border-color: var(--aurora-hi); background: var(--aurora-hi); color: #02231d; box-shadow: 0 0 0 7px rgba(111, 240, 200, .14), 0 0 38px rgba(111, 240, 200, .65); }
.step h3 { margin-top: 22px; font-size: 1.4rem; font-stretch: 122%; font-weight: 700; }
.step p { margin-top: 10px; }
.js .step h3, .js .step p { opacity: .35; transition: opacity .5s; }
.js .step.on h3, .js .step.on p { opacity: 1; }

/* ---------- Kontakt ---------- */
.contact { background: radial-gradient(60% 46% at 16% 0%, rgba(90, 200, 183, .16), transparent 70%), radial-gradient(48% 40% at 88% 8%, rgba(54, 172, 251, .14), transparent 70%), rgba(3, 19, 39, .9); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro h2 { max-width: 12ch; }
.contact__intro h2 + p { margin-top: 22px; font-size: 1.12rem; }
.direct { margin-top: 32px; display: grid; gap: 4px; }
.direct a { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; border-top: 1px solid var(--rim); }
.direct li:last-child a { border-bottom: 1px solid var(--rim); }
.direct .ico { width: 26px; height: 26px; color: var(--ice-hi); stroke-width: 1.5; transition: transform .3s var(--ease); }
.direct a:hover .ico { transform: scale(1.15) rotate(-8deg); }
.direct small { display: block; font-size: .9rem; color: var(--dim); }
.direct b { display: block; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 650; font-stretch: 112%; color: var(--snow); line-height: 1.3; overflow-wrap: anywhere; transition: color .18s; }
.direct a:hover b { color: var(--ice-hi); }

.form { display: grid; gap: 18px; padding: clamp(22px, 3.2vw, 40px); border: 1px solid var(--rim); border-radius: 20px; background: rgba(6, 26, 56, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .94rem; font-weight: 600; color: #dbe6f7; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(126, 176, 240, .32); border-radius: 10px; background: rgba(2, 13, 31, .7); color: var(--snow); transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; min-height: 116px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field select option { background: #06203f; color: #fff; }
.field ::placeholder { color: #6f84a6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(54, 172, 251, .3); }
.field input.is-bad { border-color: #ff8f8f; box-shadow: 0 0 0 3px rgba(255, 120, 120, .22); }

/* spamfælden: skjult for mennesker og skærmlæsere */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* "Hvordan skal jeres side se ud?" */
.look { min-width: 0; border: 1px solid var(--rim); border-radius: 14px; background: rgba(2, 13, 31, .35); transition: border-color .18s; }
.look[open] { border-color: rgba(126, 176, 240, .32); }
.look summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; list-style: none; cursor: pointer; font-size: .94rem; font-weight: 600; color: #dbe6f7; border-radius: 14px; }
.look summary::-webkit-details-marker { display: none; }
.look summary small { margin-left: 4px; font-size: .84rem; font-weight: 500; color: var(--dim); }
/* pil, der vender, når feltet åbnes */
.look summary::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--ice-hi); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.look[open] summary::after { transform: rotate(180deg); }
.look summary:hover { color: #fff; }
.look__body { display: grid; gap: 12px; padding: 2px 16px 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.look__sub { margin-top: 4px; font-size: .9rem; font-weight: 600; color: #c9d6ea; }
.chips, .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .swatches label { position: relative; cursor: pointer; }
.chips input, .swatches input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span, .swatches span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid rgba(126, 176, 240, .32); border-radius: 999px; background: rgba(2, 13, 31, .55); font-size: .94rem; color: #dbe6f7; transition: border-color .18s, background-color .18s, color .18s; }
.chips label:hover span, .swatches label:hover span { border-color: rgba(160, 205, 255, .7); }
.chips span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(160, 205, 255, .6); transition: background-color .18s, border-color .18s, box-shadow .18s; }
.chips input:checked + span { border-color: var(--aurora-hi); background: rgba(111, 240, 200, .12); color: #fff; }
.chips input:checked + span::before { background: var(--aurora-hi); border-color: var(--aurora-hi); box-shadow: 0 0 10px rgba(111, 240, 200, .8); }
/* farvekort: prikken viser farven, navnet står ved siden af */
.swatches span { padding: 0 14px 0 10px; }
.swatches span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: box-shadow .18s; }
.swatches input:checked + span { border-color: color-mix(in srgb, var(--c) 70%, #fff); background: color-mix(in srgb, var(--c) 18%, rgba(2, 13, 31, .55)); color: #fff; font-weight: 600; }
.swatches input:checked + span::before { box-shadow: 0 0 0 2px #fff, 0 0 12px color-mix(in srgb, var(--c) 80%, #fff); }
.chips input:focus-visible + span, .swatches input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.look .field { margin-top: 4px; }

.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__end .btn { min-width: 140px; }
.form__note { flex: 1 1 220px; font-size: .9rem; color: var(--dim); }
.form__status { font-weight: 600; color: var(--aurora-hi); }
.form__status:empty { display: none; }
.form__status.is-bad { color: #ffaaaa; }

/* ---------- Footer ---------- */
.foot { position: relative; background: #010814; border-top: 1px solid var(--rim); padding: 48px 0 40px; }
/* husenes farver som en lille stribe */
.foot::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hus-rod) 0 25%, var(--hus-gul) 25% 50%, var(--hus-bla) 50% 75%, var(--hus-gron) 75% 100%); }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 14px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img:first-child { height: 44px; width: auto; }
.foot__brand img:last-child { height: 18px; width: auto; }
.foot__tag { justify-self: end; font-size: .9rem; letter-spacing: .14em; color: #c9d6ea; text-align: right; }
.foot__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px; margin-top: 10px; border-top: 1px solid var(--rim); }
.foot__links a { color: var(--mist); text-decoration: none; font-size: .96rem; }
.foot__links a:hover { color: #fff; }
.foot__legal { grid-column: 1 / -1; font-size: .9rem; color: var(--dim); }

/* =========================================================
   Mindre skærme
   ========================================================= */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__for { min-height: 0; }
}

@media (max-width: 1040px) {
  .nav__in { gap: 12px; }
  .nav__toggle { display: inline-flex; }
  .nav__tools { margin-left: auto; gap: 10px; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gut) 22px;
    background: rgba(2, 13, 31, .97); box-shadow: 0 1px 0 var(--rim), 0 30px 60px rgba(0, 0, 0, .6);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav--open { background: rgba(2, 13, 31, .97); }
  .nav--open .nav__links { visibility: visible; opacity: 1; transform: none; }
  .nav__links a { padding: 16px 4px; font-size: 1.2rem; border-radius: 0; border-bottom: 1px solid var(--rim); }
}

@media (max-width: 900px) {
  .why__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .finder { justify-self: center; }
  .why__text h2, .contact__intro h2 { max-width: 18ch; }
  .js [data-reveal="right"] { transform: translate3d(0, 28px, 0); }

  .trio { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .svc { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .svc__art { grid-row: 1 / span 2; margin: 0; height: 230px; }
  .svc h3 { align-self: end; }
  .svc p { align-self: start; }

  .plan--mini { flex-wrap: wrap; }
  .plan--mini .plan__desc { flex: 1 1 100%; order: 3; }
  .plan--mini .plan__price { margin-left: auto; }
  .plan--mini .btn { order: 4; width: 100%; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps::before, .steps::after { top: 28px; left: 27px; width: 2px; height: calc(100% - 110px); }
  .steps::after { background: linear-gradient(180deg, var(--ice), var(--aurora-hi)); transform-origin: 50% 0; transform: scaleY(var(--draw, 1)); }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 32px; }
  .step:last-child { padding-bottom: 0; }
  .step__n { grid-row: 1 / span 2; }
  .step h3 { margin-top: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__word { display: none; }
  .nav__in { height: 68px; }
  .nav__links { top: 68px; }
  .nav__toggle { height: 48px; }
  .hero { padding-top: 68px; }
  .hero__land { width: 1000px; height: 300px; left: -70px; right: auto; }
  .hero__cta .btn { flex: 1 1 100%; }

  /* pakkerne: to ved siden af hinanden, så man ikke skal scrolle så langt.
     Beskrivelsen skjules – mærkerne viser, hvad der er med. */
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plan { padding: 14px 12px 12px; border-radius: 14px; border-top-width: 3px; }
  .plan__house { width: 34px; height: 30px; margin: 0 0 8px; }
  .plan__name { font-size: 1.2rem; }
  .plan__inc { gap: 4px; margin-top: 6px; }
  .plan__inc li { padding: 3px 8px 3px 21px; font-size: .74rem; }
  .plan__inc li::before { left: 6px; width: 12px; height: 12px; margin-top: -6px; }
  .plan__price { margin: 10px 0 12px; font-size: .78rem; }
  .plan__price b { font-size: 1.55rem; }
  .plan .only { margin: -4px 0 12px; padding: 3px 8px 3px 6px; font-size: .72rem; }
  .plan .only .ico { width: 12px; height: 12px; }
  .plan__desc { display: none; }
  .plan .btn { min-height: 42px; padding: 0 .5em; font-size: .9rem; }
  .plan__badge { top: 12px; right: 10px; padding: 3px 8px; font-size: .7rem; }
  .plan--pick { box-shadow: 0 20px 50px -30px var(--hus); }
  /* den lille pakke går over hele bredden: hus, navn og pris på én linje */
  .plan--mini { grid-column: 1 / -1; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 12px; padding: 14px; border-top-width: 1px; }
  .plan--mini .plan__house { grid-column: 1; grid-row: 1; margin: 0; }
  .plan--mini .plan__who { grid-column: 2; grid-row: 1; }
  .plan--mini .plan__name { font-size: 1.1rem; }
  .plan--mini .plan__for { font-size: .8rem; }
  .plan--mini .plan__price { grid-column: 3; grid-row: 1; margin: 0; }
  .plan--mini .plan__price b { font-size: 1.5rem; }
  .plan--mini .btn { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  .js .plan.in:hover, html:not(.js) .plan:hover { transform: none; }

  .svc { display: block; }
  .svc__art { height: 210px; margin-bottom: 18px; }
  .phone { transform: translateY(40px) rotate(-4deg) scale(.92); }
  .shots { transform: scale(.9); }

  .form { padding: 18px 16px; gap: 16px; }
  .form__pair { grid-template-columns: minmax(0, 1fr); }
  .form__end .btn { width: 100%; }
  /* plads til Netlifys lille mærke nederst i hjørnet */
  .foot { padding-bottom: 84px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__tag { justify-self: start; text-align: left; }
}

/* Vil man ikke have bevægelse, står alt stille og er synligt med det samme */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .step h3, .js .step p { opacity: 1; }
  .hero__stars, .hero__aurora, .hero__land, .hero__body { transform: none; }
}
