/* =========================================================
   Kitchamore – forsiden i Apple-stil
   Hvitt og lysegrått, produktet i sentrum, store rolige titler.
   Lastes bare på forsiden (body.page-apple).
   ========================================================= */

.page-apple {
  --ap-ink: #1d1d1f;
  --ap-soft: #6e6e73;
  --ap-grey: #f6f1e9;  /* lys beige bak produktene (var lysegrå #f5f5f7) */
  --ap-line: #d2d2d7;
  --ap-radius: 28px;
  --ap-space: clamp(88px, 10vw, 160px);
  background: #fff;
  color: var(--ap-ink);
}

.ap-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografi ---------- */
.ap-eyebrow {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 22px;
}
.ap-h1, .ap-h2, .page-apple h3 { font-family: var(--serif); font-weight: 400; color: inherit; }
.ap-h1 {
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1.02; letter-spacing: -.04em;
  text-wrap: balance;
}
.ap-h2 {
  font-size: clamp(30px, 3.8vw, 60px);
  line-height: 1.06; letter-spacing: -.035em;
}
.ap-h1 em, .ap-h2 em {
  font-family: var(--accent); font-style: italic; font-weight: 400;
  letter-spacing: -.015em; font-size: 1.04em; color: var(--logo-gold);
}
.ap-lead {
  font-size: clamp(18px, 1.55vw, 24px); line-height: 1.45;
  color: var(--ap-soft); max-width: 34em;
}
.ap-sub {
  font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5;
  color: var(--ap-soft); max-width: 36em; margin-top: 22px;
}
.ap-note { font-size: 13px; color: var(--ap-soft); text-align: center; max-width: 52em; margin: 28px auto 0; }

/* ---------- Knapper og lenker ---------- */
.ap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 40px; }
.ap-actions--center { justify-content: center; }
.ap-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 980px;
  background: var(--ap-ink); color: #fff; text-decoration: none;
  font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .01em;
  transition: background .3s, transform .3s var(--ease);
}
.ap-btn:hover { background: #000; transform: translateY(-1px); }
.ap-btn--small { min-height: 38px; padding: 0 18px; font-size: 14px; }
.ap-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--gold-text); text-decoration: none;
  font-family: var(--sans); font-size: 17px; font-weight: 500;
}
.ap-link::after { content: "›"; font-size: 1.35em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.ap-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ap-link:hover::after { transform: translate(3px, -1px); }
.ap-link--light { color: var(--gold-light); }
/* Knapp på mørk bakgrunn (filmen) */
.ap-btn--gold { background: var(--gold-light); color: #1d1d1f;
  box-shadow: 0 16px 40px -18px rgba(200, 164, 108, .75); transition: background-color .3s, transform .3s var(--ease); }
.ap-btn--gold:hover { background: var(--gold-light-hover); }

/* ---------- Seksjonstopper ---------- */
.ap-head { margin-bottom: clamp(40px, 5vw, 72px); }
.ap-head--center { text-align: center; }
.ap-head--center :is(.ap-sub, .ap-lead) { margin-left: auto; margin-right: auto; }
.ap-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.ap-hero { padding-top: clamp(112px, 9.6vw, 148px); text-align: center; overflow: hidden; }
.ap-hero-copy { display: flex; flex-direction: column; align-items: center; }
.ap-hero .ap-lead { margin: 22px auto 0; }
.ap-h2 { text-wrap: balance; }
.ap-hero .ap-actions { justify-content: center; margin-top: 32px; }
.ap-hero-trust { margin-top: 36px; width: 100%; }
.ap-hero .trust-row {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
  background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  -webkit-mask-image: none; mask-image: none; overflow: visible;
}
.ap-hero .trust-row::before { display: none; }
.ap-hero .trust-row-item { display: flex; align-items: center; gap: 12px; padding: 0; text-align: left; border: 0 !important; }
.ap-hero .trust-icon {
  width: 40px; height: 40px; color: var(--gold-text);
  background: var(--ap-grey); border: 0; box-shadow: none;
}
.ap-hero .trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.ap-hero .trust-text strong { font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--ap-ink); letter-spacing: -.01em; }
.ap-hero .trust-text span { font-size: 13px; color: var(--ap-soft); }

.ap-hero-media { margin: clamp(12px, 2vw, 28px) auto 0; max-width: 1200px; padding: 0 var(--gutter); }
.ap-color-stage { position: relative; animation: ap-rise 1.4s var(--ease) both .15s; }
.ap-color-img { display: block; width: 100%; height: auto; transition: opacity .7s var(--ease); }
.ap-hero-photo { mix-blend-mode: multiply; }
.ap-color-img:not(:first-child) { position: absolute; inset: 0; opacity: 0; }
.ap-color-img.is-active:not(:first-child) { opacity: 1; }
.ap-color-stage:has(.ap-color-img.is-active:not(:first-child)) .ap-color-img:first-child { opacity: 0; }

/* Fargevelger: til høyre for kjøkkenet, under taket. Navnet, tre utseender og knappen til Bygg ditt utekjøkken */
.ap-colors {
  position: absolute; left: 82%; top: 56%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ap-swatches { display: flex; align-items: center; gap: 16px; }
.ap-colors-btn { margin-top: 4px; white-space: nowrap; }
.ap-swatch {
  position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 -6px 10px rgba(0, 0, 0, .12), inset 0 4px 8px rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease);
}
.ap-swatch::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px transparent; transition: box-shadow .3s var(--ease);
}
.ap-swatch:hover { transform: scale(1.1); }
.ap-swatch[aria-pressed="true"]::after { box-shadow: 0 0 0 1.5px var(--gold); }
.ap-swatch:focus-visible { outline: none; }
.ap-swatch:focus-visible::after { box-shadow: 0 0 0 2px var(--gold-text); }
.ap-color-name {
  margin-top: 4px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-soft);
  min-width: 4em; text-align: center;
}
.ap-hero { padding-bottom: 8px; }
.ap-hero-cap {
  display: inline-flex; align-items: center; gap: 14px; margin: 6px auto 0;
  padding: 10px 12px 10px 20px; border-radius: 980px;
  background: rgba(246, 241, 233, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
  font-size: 14px; line-height: 1.2; color: var(--ap-ink); white-space: nowrap;
}
.ap-cap-name { font-family: var(--serif); font-size: 16px; letter-spacing: -.01em; }
.ap-cap-sep { width: 1px; height: 16px; background: rgba(0, 0, 0, .14); }
.ap-cap-color { display: inline-flex; align-items: center; gap: 8px; color: var(--ap-soft); }
.ap-cap-color i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: background .4s var(--ease); }
.ap-cap-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border-radius: 980px;
  background: var(--ap-ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 13.5px;
  transition: background .3s;
}
.ap-cap-link::after { content: "›"; font-size: 1.3em; line-height: 1; }
.ap-cap-link:hover { background: #000; }
@keyframes ap-rise { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ap-color-stage { animation: none; } }

/* ---------- Modellrekken ---------- */
.ap-lineup { background: var(--ap-grey); padding: var(--ap-space) 0 clamp(56px, 6vw, 88px); margin-top: var(--ap-space); }
.ap-lineup .ap-head { margin-bottom: 44px; }

.ap-seg { display: inline-flex; padding: 4px; border-radius: 980px; background: #ebe1d1; }  /* beige, litt mørkere enn bakgrunnen (var grå) */
.ap-seg button {
  border: 0; background: transparent; cursor: pointer;
  min-height: 36px; padding: 0 18px; border-radius: 980px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ap-ink);
  transition: background .3s, box-shadow .3s;
}
.ap-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }

.ap-rail {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  list-style: none; margin: 0; padding: 4px var(--edge) 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 30vw, 420px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.ap-rail::-webkit-scrollbar { display: none; }
.ap-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--ap-radius);
  padding: 24px 28px 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ap-card[hidden] { display: none; }
.ap-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .3); }
.ap-card-media { margin: 0 -12px 18px; }
.ap-card-img { width: 100%; height: auto; }
.ap-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ap-roof { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ap-soft); }
.ap-size { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.ap-size i { display: block; width: 4px; border-radius: 2px; background: var(--ap-line); }
.ap-size i.on { background: var(--gold); }
.ap-card-name { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.ap-card-tag { margin-top: 6px; font-family: var(--accent); font-style: italic; font-size: 19px; color: var(--logo-gold); }
.ap-card-lead { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ap-soft); }
.ap-card-actions { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ap-card-actions .ap-link { font-size: 15px; }

.ap-rail-nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 8px; }
.ap-rail-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--gold-light, #e2c79a); color: var(--ap-ink);  /* aktiv pil: full beige, så den synes */
  transition: background .3s, opacity .3s;
}
.ap-rail-nav button:hover:not(:disabled) { background: #d8b985; }
.ap-rail-nav button:disabled { background: #ebe1d1; opacity: .6; cursor: default; }

/* ---------- Vippetaket (mørk) ---------- */
.ap-dark { background: #000; color: #f5f5f7; padding: var(--ap-space) 0; }
.ap-dark-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 112px); align-items: center; }
.ap-dark .ap-eyebrow { color: var(--gold); }
.ap-dark .ap-h2 em { color: var(--logo-gold); }
.ap-dark .ap-sub { color: #a1a1a6; }
.ap-dark-media { margin: 0; border-radius: var(--ap-radius); overflow: hidden; }
.ap-dark-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 85% 50%; }
.ap-facts { list-style: none; padding: 0; margin: 44px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap-facts li { border-top: 1px solid rgba(245, 245, 247, .18); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.ap-facts strong { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -.02em; }
.ap-facts span { font-size: 14px; color: #a1a1a6; line-height: 1.4; }

/* Vippetaket: bildet i full bredde, teksten oppå til venstre */
.ap-dark--full { padding: 0; }
.ap-dark-hero { position: relative; }
.ap-dark-full { margin: 0; position: relative; }
.ap-dark-full img { display: block; width: 100%; height: auto; max-height: 94vh; object-fit: cover; object-position: 70% 50%; }
.ap-dark-full::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .38) 26%, rgba(0, 0, 0, .08) 46%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(0deg, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, 0) 26%);
}
.ap-dark-head {
  position: absolute; top: 0; left: 0; right: 0;
  padding-top: clamp(64px, 8vw, 128px);
  text-align: left;
}
.ap-dark-head > * { max-width: min(31vw, 500px); }
.ap-dark-head .ap-h2 { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.ap-dark-head .ap-sub { color: rgba(245, 245, 247, .82); margin-left: 0; }
@media (max-width: 900px) {
  .ap-dark--full { padding-top: var(--ap-space); }
  .ap-dark-hero { display: flex; flex-direction: column; }
  .ap-dark-head { position: static; order: -1; padding-top: 0; margin-bottom: 36px; }
  .ap-dark-head > * { max-width: none; }
  .ap-dark-full::after { display: none; }
  .ap-dark-full img { aspect-ratio: 4 / 3; object-position: 74% 50%; }
}


/* Glasskort nederst på bildet */
.ap-glass-wrap { position: absolute; left: 0; right: 0; bottom: clamp(24px, 3.4vw, 52px); }
.ap-glass { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 14px; }
.ap-glass-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; border-radius: 22px;
  background: rgba(28, 26, 24, .32);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #fff;
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), background .4s, border-color .4s;
}
.ap-dark-hero.is-in .ap-glass-card, html:not(.js) .ap-glass-card { opacity: 1; transform: none; }
.ap-dark-hero.is-in .ap-glass-card:nth-child(2) { transition-delay: .12s; }
.ap-dark-hero.is-in .ap-glass-card:nth-child(3) { transition-delay: .24s; }
.ap-glass-card:hover { background: rgba(28, 26, 24, .48); border-color: rgba(226, 199, 154, .45); }
.ap-glass-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--gold-light);
  background: radial-gradient(circle at 30% 25%, rgba(226, 199, 154, .28), rgba(226, 199, 154, .06) 70%);
  box-shadow: inset 0 0 0 1px rgba(226, 199, 154, .45), 0 0 18px -4px rgba(226, 199, 154, .45);
}
.ap-glass-text { display: flex; flex-direction: column; line-height: 1.3; }
.ap-glass-text strong { font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: -.01em; }
.ap-glass-text span { font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.ap-glass-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  padding: 11px 20px; border-radius: 980px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background .3s, border-color .3s;
}
.ap-glass-link::after { content: "›"; font-size: 1.3em; line-height: 1; color: var(--gold-light); transition: transform .3s var(--ease); }
.ap-glass-link:hover { background: rgba(255, 255, 255, .24); border-color: rgba(226, 199, 154, .5); }
.ap-glass-link:hover::after { transform: translateX(3px); }
@media (max-width: 900px) {
  .ap-dark--full { padding: var(--ap-space) 0 calc(var(--ap-space) * .7); }
  .ap-dark-hero > .ap-wrap { width: 100%; }
  .ap-glass-wrap { position: static; margin-top: 18px; }
  .ap-glass { grid-template-columns: 1fr; gap: 10px; }
  .ap-glass-card { background: rgba(255, 255, 255, .06); }
}

/* ---------- To tak ---------- */
.ap-roofs { padding: var(--ap-space) 0; }
.ap-roof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ap-roof-tile {
  background: var(--ap-grey); border-radius: var(--ap-radius);
  padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px) 12px;
  display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
}
.ap-roof-tile h3 { font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -.035em; line-height: 1.1; }
.ap-roof-tile p { margin-top: 12px; color: var(--ap-soft); font-size: 17px; max-width: 26em; }
.ap-roof-tile .ap-roof-models { font-size: 14px; color: var(--gold-text); font-weight: 500; }
.ap-roof-tile img { width: 100%; height: auto; margin-top: 24px; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.ap-roof-tile:hover img { transform: scale(1.025); }

/* ---------- Bento ---------- */
.ap-bento-wrap { background: var(--ap-grey); padding: var(--ap-space) 0; }
.ap-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); gap: 20px; }
.ap-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: #fff; border-radius: var(--ap-radius);
  padding: clamp(26px, 2.6vw, 38px);
  color: var(--ap-ink); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ap-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .28); }
.ap-tile strong { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -.025em; }
.ap-tile-sub, .ap-tile-body > span { font-size: 15px; line-height: 1.5; color: var(--ap-soft); }
.ap-tile-icon { color: var(--gold-text); margin-bottom: auto; }
.ap-stat {
  font-family: var(--accent); font-style: italic; font-weight: 400;
  font-size: clamp(56px, 6vw, 96px); line-height: .95; letter-spacing: -.03em;
  color: var(--gold-text); margin-bottom: auto;
}
.ap-tile--tall { grid-row: span 2; min-height: 540px; color: #fff; }
.ap-tile--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ap-tile--image:hover img { transform: scale(1.04); }
.ap-tile--tall img { object-position: 55% 38%; }
.ap-tile--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .66) 38%, rgba(0, 0, 0, 0) 70%); }
.ap-tile--image .ap-tile-body strong { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.ap-tile-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.ap-tile--image .ap-tile-body > span { color: rgba(255, 255, 255, .78); }
.ap-tile--image .ap-tile-body .ap-link { margin-top: 8px; color: var(--gold-light); }


/* ---------- Bento: fire bokser med hver sin levende detalj ---------- */
.ap-tile { isolation: isolate; }

/* 10 år: mørk boks, gull i metall og et roterende garantisegl */
.ap-tile--warranty {
  background: radial-gradient(120% 110% at 100% 0%, #2f2b24 0%, #161514 52%, #0b0b0b 100%);
  color: #f5f5f7;
}
.ap-tile--warranty strong { color: #fff; }
.ap-tile--warranty .ap-tile-sub { color: #a1a1a6; }
.ap-tile--warranty:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(226, 199, 154, .25); }
.ap-seal { position: absolute; top: 20px; right: 20px; width: 112px; height: 112px; color: var(--gold-light); opacity: .9; }
.ap-seal svg { width: 100%; height: 100%; overflow: visible; }
.ap-seal text { font-family: var(--sans); font-size: 8.6px; font-weight: 500; letter-spacing: .2em; fill: currentColor; }
.ap-seal-spin { transform-origin: 60px 60px; animation: ap-spin 30s linear infinite; }
.ap-tile--warranty:hover .ap-seal-spin { animation-duration: 10s; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-metal {
  margin-bottom: auto; padding-right: .12em;
  font-family: var(--accent); font-style: italic; font-weight: 400;
  font-size: clamp(64px, 6.2vw, 104px); line-height: .95; letter-spacing: -.02em;
  background: linear-gradient(100deg, #e9cf9e 0%, #b88d4c 30%, #fff1d2 48%, #c8a46c 62%, #8f6a33 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ap-sheen 7s ease-in-out infinite;
}
@keyframes ap-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* 10 %: ringen fylles til ti prosent */
.ap-ring { position: relative; width: 132px; height: 132px; margin-bottom: auto; }
.ap-ring svg { display: block; transform: rotate(-90deg); }
.ap-ring-track { fill: none; stroke: #ececf0; stroke-width: 9; }
.ap-ring-fill {
  fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.73; stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.8s var(--ease) .35s;
}
.ap-tile--deposit.is-visible .ap-ring-fill, html:not(.js) .ap-ring-fill { stroke-dashoffset: 294.06; }
.ap-ring-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--accent); font-style: italic; font-size: 46px; line-height: 1; color: var(--logo-gold);
}
.ap-ring-num small { font-size: .55em; margin-left: 2px; transform: translateY(-.35em); }

/* Levert og montert: ruten tegnes og bilen kjører hjem til deg */
.ap-route { display: block; width: 100%; max-width: 360px; margin-bottom: auto; }
.ap-route svg { display: block; width: 100%; height: auto; overflow: visible; }
.ap-route-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 8; animation: ap-march 1.2s linear infinite; }
@keyframes ap-march { to { stroke-dashoffset: -22; } }
.ap-route-start { fill: var(--gold); }
.ap-route-home path { fill: #fff; stroke: #1d1d1f; stroke-width: 1.6; stroke-linejoin: round; }
.ap-route-truck { opacity: 0; transition: opacity .3s; }
.ap-route-truck.is-driving { opacity: 1; }
.ap-route-truck rect, .ap-route-truck path { fill: #1d1d1f; }
.ap-route-truck circle { fill: var(--gold); stroke: #fff; stroke-width: 1; }

/* Gass, strøm og vann: tre tilkoblinger som spretter inn */
.ap-utils { display: flex; gap: 10px; margin-bottom: auto; }
.ap-util {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 14px 16px; border-radius: 18px; background: #f6f1e9;
  opacity: 0; transform: translateY(12px) scale(.96);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s;
}
.ap-tile--utils.is-visible .ap-util, html:not(.js) .ap-util { opacity: 1; transform: none; }
.ap-tile--utils.is-visible .ap-util:nth-child(2) { transition-delay: .12s; }
.ap-tile--utils.is-visible .ap-util:nth-child(3) { transition-delay: .24s; }
.ap-tile--utils:hover .ap-util { background: #eee4d5; }
.ap-util i {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px;
  border-radius: 50%; background: #fff; color: var(--gold-text);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(200, 164, 108, .35);
}
.ap-util b { font-family: var(--serif); font-weight: 400; font-size: 17px; letter-spacing: -.01em; color: var(--ap-ink); }
.ap-util small { font-size: 12.5px; color: var(--ap-soft); }

@media (prefers-reduced-motion: reduce) {
  .ap-seal-spin, .ap-metal, .ap-route-line { animation: none; }
}

/* ---------- Fullbredde ---------- */
.ap-full { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.ap-full-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-full-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .05) 55%); }
.ap-full-copy { position: relative; width: 100%; padding-bottom: clamp(48px, 7vw, 104px); }
.ap-full .ap-h2 em { color: var(--logo-gold); }
.ap-full .ap-sub { color: rgba(255, 255, 255, .8); margin-bottom: 22px; }

/* ---------- Det beste rommet er ute: bildet står, stedene glir forbi ---------- */
.ap-story { background: #000; color: #f5f5f7; padding: var(--ap-space) 0 calc(var(--ap-space) * .7); }
.ap-story-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ap-story .ap-eyebrow { color: var(--gold); }
.ap-story .ap-h2 { font-size: clamp(40px, 5.4vw, 88px); }
.ap-story .ap-h2 em { color: var(--logo-gold); }
.ap-story .ap-sub { color: #a1a1a6; margin-left: auto; margin-right: auto; }
.ap-seg--dark { background: rgba(255, 255, 255, .1); margin-top: 36px; }
.ap-seg--dark button { color: #f5f5f7; padding: 0 22px; min-height: 40px; font-size: 15px; }
.ap-seg--dark button[aria-pressed="true"] { background: #f5f5f7; color: #1d1d1f; box-shadow: none; }

.ap-story-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 110px); margin-top: clamp(56px, 6vw, 96px); }
.ap-story-media {
  position: sticky; top: max(96px, calc(50vh - 16.5vw)); aspect-ratio: 3 / 2; align-self: start;
  border-radius: var(--ap-radius); overflow: hidden; background: #111;
}
.ap-story-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.ap-story-frame.is-active { opacity: 1; }
.ap-story-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s var(--ease); }
.ap-story-frame.is-active .ap-story-img { transform: scale(1); }
.ap-story-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: inherit; pointer-events: none; }

.ap-chapter {
  min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center;
  opacity: .28; transition: opacity .7s var(--ease);
}
.ap-chapter.is-active { opacity: 1; }
.ap-chapter-img { display: none; }
.ap-chapter-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.ap-chapter-kicker span { font-family: var(--accent); font-style: italic; font-size: 22px; letter-spacing: 0; color: #6e6e73; text-transform: none; }
.ap-chapter-title { font-size: clamp(32px, 3.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.ap-chapter-title em { font-family: var(--accent); font-style: italic; font-size: 1.04em; letter-spacing: -.015em; color: var(--logo-gold); }
.ap-chapter-text { margin: 22px 0 26px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: #a1a1a6; max-width: 30em; }
.ap-story-list[hidden] { display: none; }

@media (max-width: 900px) {
  .ap-story-body { grid-template-columns: 1fr; gap: 0; }
  .ap-story-media { display: none; }
  .ap-chapter { min-height: 0; opacity: 1; padding: 0 0 64px; }
  .ap-chapter-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-bottom: 26px; }
}

/* ---------- Sammenligning ---------- */
.ap-compare { padding: var(--ap-space) 0; }
.ap-cmp-scroll { overflow-x: auto; scrollbar-width: thin; }
.ap-cmp { width: 100%; min-width: 980px; border-collapse: collapse; table-layout: fixed; }
.ap-cmp thead th { vertical-align: bottom; padding: 0 8px 22px; font-weight: 400; text-align: center; text-transform: none; letter-spacing: normal; border: 0; }
.ap-cmp thead tr { border-bottom: 1px solid var(--ap-ink); }
.ap-cmp thead td { width: 150px; }
.ap-cmp-img { width: 100%; height: auto; margin-bottom: 14px; }
.ap-cmp-name { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: -.02em; color: var(--ap-ink); }
.ap-cmp tbody th {
  text-align: left; font-weight: 500; font-size: 14px; color: var(--ap-soft);
  padding: 18px 12px 18px 0;
}
.ap-cmp td { text-align: center; font-size: 15px; padding: 18px 8px; }
.ap-cmp tbody tr { border-top: 1px solid #e8e8ed; }
.ap-yes { color: var(--gold-text); display: inline-flex; }
.ap-no { color: #c7c7cc; }

/* ---------- Steg: tidslinje og kort med bilder ---------- */
.ap-steps { background: var(--ap-grey); padding: var(--ap-space) 0; overflow: hidden; }
.ap-steps-sub { max-width: 26em; margin-top: 0; }

/* Tidslinjen fylles med gull når den kommer inn i bildet */
.ap-track {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 28px; padding-top: 6px;
}
.js .ap-track.reveal { opacity: 1; transform: none; }
.ap-track-line {
  position: absolute; left: 0; right: 0; top: 13px; height: 2px;
  background: #dcdce1; border-radius: 2px; overflow: hidden;
}
.ap-track-fill {
  position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s;
}
.ap-track.is-visible .ap-track-fill, html:not(.js) .ap-track-fill { transform: scaleX(1); }
.ap-track-node { position: relative; display: flex; align-items: center; gap: 14px; }
.ap-track-node i {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ap-grey); border: 2px solid #c7c7cc;
  box-shadow: 0 0 0 6px var(--ap-grey);
  transition: border-color .4s, background .4s, box-shadow .6s;
}
.ap-track-node b { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-soft); transition: color .4s; }
.ap-track.is-visible .ap-track-node i { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 6px var(--ap-grey), 0 0 0 10px rgba(200, 164, 108, .18); }
.ap-track.is-visible .ap-track-node b { color: var(--gold-text); }
.ap-track.is-visible .ap-track-node:nth-of-type(2) i, .ap-track.is-visible .ap-track-node:nth-of-type(2) b { transition-delay: .2s; }
.ap-track.is-visible .ap-track-node:nth-of-type(3) i, .ap-track.is-visible .ap-track-node:nth-of-type(3) b { transition-delay: .8s; }
.ap-track.is-visible .ap-track-node:nth-of-type(4) i, .ap-track.is-visible .ap-track-node:nth-of-type(4) b { transition-delay: 1.5s; }

/* Kortene */
.ap-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap-flow-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--ap-radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ap-flow-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .35); }
.js .ap-flow-card.reveal:nth-child(2) { transition-delay: .12s; }
.js .ap-flow-card.reveal:nth-child(3) { transition-delay: .24s; }
.ap-flow-visual { position: relative; height: clamp(260px, 22vw, 320px); margin: 10px 10px 0; border-radius: 20px; overflow: hidden; }
.ap-flow-text { padding: 26px clamp(24px, 2.4vw, 34px) 34px; }
.ap-flow-step { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.ap-flow-step span { color: var(--ap-soft); }
.ap-flow-text h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.12; }
.ap-flow-text p:not(.ap-flow-step) { margin-top: 10px; color: var(--ap-soft); font-size: 16px; line-height: 1.55; }

/* 1: et lite utsnitt av «bygg ditt kjøkken» */
.ap-flow-visual--config { background: var(--ap-grey); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 18px 18px; }
.ap-flow-visual--config img { width: 76%; height: auto; mix-blend-mode: multiply; margin: auto 0 -4px; transition: transform .9s var(--ease); }
.ap-flow-card:hover .ap-flow-visual--config img { transform: scale(1.04) translateY(-4px); }
.ap-mock {
  width: 100%; display: flex; flex-direction: column; gap: 8px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35);
}
.ap-mock-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ap-mock-label { flex: none; width: 38px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-soft); }
.ap-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 980px; border: 1px solid #d2d2d7;
  font-size: 12.5px; font-weight: 500; color: var(--ap-ink); white-space: nowrap;
}
.ap-chip.is-on { background: var(--ap-ink); border-color: var(--ap-ink); color: #fff; }
.ap-chip.is-check { border-color: rgba(200, 164, 108, .55); background: rgba(200, 164, 108, .1); }
.ap-chip.is-check::before { content: "✓"; color: var(--gold-text); font-size: 11px; }

/* 2: depositumet */
.ap-flow-visual--deposit {
  background: radial-gradient(120% 90% at 50% 0%, #2a2a2c 0%, #111 70%);
  color: #f5f5f7; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.ap-deposit { font-family: var(--accent); font-style: italic; font-size: clamp(76px, 7vw, 108px); line-height: .9; color: var(--logo-gold); letter-spacing: -.02em; }
.ap-deposit-label { margin-top: 6px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #a1a1a6; }
.ap-deposit-safe {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 8px 14px; border-radius: 980px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: #f5f5f7;
}
.ap-deposit-safe svg { color: var(--gold-light); }
.ap-deposit-pay { margin-top: 20px; }
.ap-deposit-pay .pay-logos { justify-content: center; gap: 6px; }
.ap-deposit-pay .pay-logos li { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.ap-deposit-pay .pay-logos svg { width: 42px; height: 27px; }

/* 3: levert hjemme hos deg */
.ap-flow-visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; transition: transform 1.2s var(--ease); }
.ap-flow-card:hover .ap-flow-visual--photo img { transform: scale(1.05); }
.ap-photo-chip {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 980px; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 500; color: var(--ap-ink);
}
.ap-photo-badge {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(20, 20, 20, .55); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  color: #fff;
}
.ap-photo-badge svg { flex: none; color: var(--gold-light); }
.ap-photo-badge span { display: flex; flex-direction: column; font-size: 13px; color: rgba(255, 255, 255, .78); line-height: 1.35; }
.ap-photo-badge strong { font-family: var(--serif); font-weight: 400; font-size: 16px; color: #fff; }

.ap-steps .ap-actions { margin-top: clamp(40px, 4vw, 56px); }

@media (max-width: 1080px) {
  .ap-track { display: none; }
  .ap-flow { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ---------- Guider: ett stort kort med bilde og fire små ---------- */
.ap-guides { padding: var(--ap-space) 0 calc(var(--ap-space) * .7); }
.ap-guide-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); gap: 20px; }
.ap-guide-feature {
  grid-row: span 2; position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; min-height: 520px;
  border-radius: var(--ap-radius); color: #fff; text-decoration: none;
}
.ap-guide-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; transition: transform 1.4s var(--ease); }
.ap-guide-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 70%); }
.ap-guide-feature:hover img { transform: scale(1.05); }
.ap-guide-feature-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3vw, 44px); }
.ap-guide-feature .ap-guide-kicker { color: var(--gold-light); }
.ap-guide-feature-title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.ap-guide-feature-title em { font-family: var(--accent); font-style: italic; font-size: 1.05em; color: var(--logo-gold); }
.ap-guide-feature .ap-guide-text { color: rgba(255, 255, 255, .8); max-width: 30em; }
.ap-guide-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 15px; font-weight: 500; }
.ap-guide-feature .ap-guide-go { position: static; background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ap-guide-feature:hover .ap-guide-go { background: var(--gold); color: #1d1d1f; }

.ap-guide-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 28px 28px 30px; border-radius: var(--ap-radius);
  background: var(--ap-grey); color: var(--ap-ink); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.ap-guide-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(200, 164, 108, .22), rgba(200, 164, 108, 0) 60%);
  transition: opacity .5s var(--ease);
}
.ap-guide-card:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 28px 56px -32px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(200, 164, 108, .35); }
.ap-guide-card:hover::before { opacity: 1; }
.ap-guide-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: auto;
  border-radius: 50%; background: #fff; color: var(--gold-text);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(200, 164, 108, .35);
  transition: transform .5s var(--ease);
}
.ap-guide-card:hover .ap-guide-icon { transform: rotate(-8deg) scale(1.06); }
.ap-guide-kicker { margin-top: 26px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.ap-guide-feature .ap-guide-kicker { margin-top: 0; }
.ap-guide-title { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.18; letter-spacing: -.025em; padding-right: 48px; }
.ap-guide-text { font-size: 15px; line-height: 1.5; color: var(--ap-soft); }
.ap-guide-go {
  position: absolute; right: 22px; bottom: 24px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ap-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.ap-guide-card:hover .ap-guide-go { background: var(--ap-ink); color: #fff; transform: translateX(3px); }
.ap-guide-card .ap-guide-text { padding-right: 48px; }
.js .ap-guide-card.reveal:nth-child(3), .js .ap-guide-card.reveal:nth-child(5) { transition-delay: .1s; }

/* ---------- Spørsmål og svar: kort som åpner seg ---------- */
.ap-faq { max-width: var(--wrap); padding: calc(var(--ap-space) * .5) var(--gutter) var(--ap-space); }
.ap-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.ap-faq-aside { position: sticky; top: 120px; }
.ap-faq-aside .ap-sub { margin-bottom: 0; }
.ap-faq-help {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px; margin: clamp(32px, 3vw, 44px) 0 clamp(28px, 2.6vw, 36px); border-radius: 22px;
  background: var(--ap-grey);
}
.ap-faq-help-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--gold-text); box-shadow: inset 0 0 0 1px rgba(200, 164, 108, .35); }
.ap-faq-help-text { flex: 1; min-width: 160px; display: flex; flex-direction: column; line-height: 1.35; }
.ap-faq-help-text strong { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.ap-faq-help-text span { font-size: 14px; color: var(--ap-soft); }

.ap-faq .faq-list { border-top: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ap-faq details {
  border: 0; border-radius: 22px; background: var(--ap-grey);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.ap-faq details:hover { background: #eee4d5; }
.ap-faq details[open] { background: #fff; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(200, 164, 108, .35); }
.ap-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 22px 22px 26px; font-family: var(--serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.3; letter-spacing: -.015em; color: var(--ap-ink);
}
.ap-faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform .45s var(--ease), background-color .3s;
}
/* Pluss i lukket tilstand, minus i åpen (stilene for .faq i styles.css gjelder også her: overstyres) */
.ap-faq summary::after { content: "" !important; font-size: 0 !important; }
.ap-faq details:hover summary::after { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: inset 0 0 0 1px var(--gold); }
.ap-faq details[open] summary::after { transform: none; background: var(--ap-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c79a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.ap-faq details p { padding: 0 26px 24px; margin: 0; max-width: none; color: var(--ap-soft); font-size: 16px; line-height: 1.6; }

@media (max-width: 1080px) {
  .ap-guide-grid { grid-template-columns: 1fr 1fr; }
  .ap-guide-feature { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .ap-faq-grid { grid-template-columns: 1fr; }
  .ap-faq-aside { position: static; }
}
@media (max-width: 760px) {
  .ap-guide-grid { grid-template-columns: 1fr; }
  .ap-guide-feature { grid-column: auto; min-height: 380px; }
  .ap-guide-card { min-height: 210px; }
}

/* ---------- Venteliste ---------- */
.ap-waitlist { background: #000; }
.ap-waitlist .display-xl { font-size: clamp(30px, 3.8vw, 60px); }

/* ---------- Mobil og nettbrett ---------- */
@media (max-width: 1080px) {
  .ap-dark-grid { grid-template-columns: 1fr; }
  .ap-bento { grid-template-columns: 1fr 1fr; }
  .ap-tile--tall { grid-column: span 2; grid-row: auto; min-height: 420px; }
}
@media (max-width: 760px) {
  .ap-hero { padding-top: 104px; }
  .ap-colors { position: static; transform: none; margin-top: 8px; gap: 12px; }
  .ap-color-name { margin: 0; }

  .ap-eyebrow-more { display: none; }
  .ap-hero .ap-lead { font-size: 17px; }
  .ap-hero .ap-actions { gap: 14px; margin-top: 26px; }
  .ap-hero-trust { margin-top: 28px; }
  .ap-hero .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; max-width: 420px; }
  .ap-hero .ap-actions { flex-direction: column; gap: 18px; }
  .ap-head--row { align-items: flex-start; }
  .ap-rail { grid-auto-columns: 84vw; gap: 14px; }
  .ap-rail-nav { display: none; }
  .ap-roof-grid, .ap-bento, .ap-step-list, .ap-guide-list { grid-template-columns: 1fr; }
  .ap-tile--tall { grid-column: auto; min-height: 380px; }
  .ap-bento { grid-auto-rows: auto; }
  .ap-tile { min-height: 220px; }
  .ap-facts { grid-template-columns: 1fr; gap: 0; margin: 32px 0; }
  .ap-facts li { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 14px 0; }
  .ap-cmp thead td { width: 112px; }
  .ap-cmp tbody th { position: sticky; left: 0; background: #fff; z-index: 1; }
  .ap-guide-kicker { width: 96px; }
}

/* Ventelisten i samme myke formspråk som resten av forsiden */
.ap-waitlist .btn { border-radius: 980px; letter-spacing: .08em; }
.ap-waitlist .field input, .ap-waitlist .field select { border-radius: 14px; }

/* =========================================================
   VENTELISTE: mørk scene med gullglød og et glasskort
   ========================================================= */
.wl { position: relative; overflow: hidden; isolation: isolate; background: #050505; color: #f5f5f7; padding: var(--ap-space) 0; }
.wl-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 164, 108, .28), rgba(200, 164, 108, .08) 45%, rgba(200, 164, 108, 0) 70%);
  filter: blur(10px); animation: wl-breathe 9s ease-in-out infinite;
}
.wl::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(226, 199, 154, .5), transparent);
}
@keyframes wl-breathe { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .9; } 50% { transform: translate(-4%, 6%) scale(1.08); opacity: 1; } }
.wl-grid { display: grid; grid-template-columns: 1fr minmax(380px, 520px); gap: clamp(40px, 7vw, 120px); align-items: center; }
.wl .ap-eyebrow { color: var(--gold); }
.wl .ap-h2 { font-size: clamp(40px, 4.8vw, 76px); }
.wl .ap-h2 em { color: var(--logo-gold); }
.wl-perks { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.wl-perks li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.wl-perks li:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(226, 199, 154, .35); transform: translateX(4px); }
.wl-perk-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-light);
  background: radial-gradient(circle at 30% 25%, rgba(226, 199, 154, .28), rgba(226, 199, 154, .06) 70%);
  box-shadow: inset 0 0 0 1px rgba(226, 199, 154, .4);
}
.wl-perks li > span:last-child { display: flex; flex-direction: column; font-size: 14px; color: #a1a1a6; line-height: 1.4; }
.wl-perks strong { font-family: var(--serif); font-weight: 400; font-size: 18px; color: #f5f5f7; letter-spacing: -.01em; }

.wl-card {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 38px); border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .16), 0 50px 100px -50px rgba(0, 0, 0, .9);
}
.wl-card-title { font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }
.wl-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; }
.wl-row--contact { grid-template-columns: 1.2fr .8fr; }
.wl-row--addr { grid-template-columns: 1.2fr .8fr; }  /* samme linje som e-post og telefon */
.wl-row :is(label) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-row--even { grid-template-columns: 1fr 1fr; }
.wl .field { gap: 7px; }
.wl .field label { font-size: 12.5px; letter-spacing: .04em; color: #a1a1a6; }
.wl .field input, .wl .field select {
  min-height: 52px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14);
  color: #f5f5f7; font-size: 16px; transition: border-color .3s, box-shadow .3s, background .3s;
}
.wl .field input:focus, .wl .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 108, .18); background: rgba(0, 0, 0, .5); }
/* Uten JS: vanlig select med pil til høyre og grå «Velg» */
.wl .field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' 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 16px center; background-size: 18px;
}
.wl .field select:has(option[value=""]:checked) { color: rgba(243, 238, 230, .35); }

/* Nedtrekksliste (app.js gjør selecten om til denne): knapp med pil, og en liste i mørkt glass */
.km-select { position: relative; }
.km-select-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.km-select-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 14px 0 18px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .35);
  font: inherit; font-size: 16px; color: #f5f5f7; text-align: left; cursor: pointer;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.km-select-btn:hover { border-color: rgba(255, 255, 255, .28); }
.km-select-btn:focus-visible, .km-select.is-open .km-select-btn { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 108, .18); background: rgba(0, 0, 0, .5); }
.km-select-value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.km-select-value.is-placeholder { color: rgba(243, 238, 230, .35); }
.km-select-arrow { flex: none; width: 18px; height: 18px; color: #a1a1a6; transition: transform .3s var(--ease), color .3s; }
.km-select.is-open .km-select-arrow { transform: rotate(180deg); color: var(--gold-light); }
.km-select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  max-height: 288px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 16px;
  background: rgba(30, 30, 32, .97); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .85);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .18s, transform .25s var(--ease), visibility 0s .25s;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.km-select.is-open .km-select-list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .25s var(--ease); }
.km-select-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px;
  font-size: 15px; color: #e8e8ed; cursor: pointer; transition: background .15s, color .15s;
}
.km-select-opt.is-active { background: rgba(255, 255, 255, .08); color: #fff; }
.km-select-opt[aria-selected="true"] { color: var(--gold-light); }
.km-select-opt svg { flex: none; width: 16px; height: 16px; opacity: 0; }
.km-select-opt[aria-selected="true"] svg { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .km-select-list, .km-select-arrow { transition: none; } }
.wl-type { display: flex; gap: 8px; padding: 4px; border-radius: 980px; background: rgba(255, 255, 255, .06); }
.wl-type label { flex: 1; position: relative; cursor: pointer; }
.wl-type input { position: absolute; opacity: 0; inset: 0; }
.wl-type span { display: block; text-align: center; padding: 9px 0; border-radius: 980px; font-size: 14px; font-weight: 500; color: #a1a1a6; transition: background .3s, color .3s; }
.wl-type input:checked + span { background: #f5f5f7; color: #1d1d1f; }
.wl-type input:focus-visible + span { box-shadow: 0 0 0 2px var(--gold); }
.wl-submit {
  position: relative; overflow: hidden; min-height: 56px; border: 0; border-radius: 980px; cursor: pointer;
  background: var(--gold-light); color: #1d1d1f; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .01em;
  box-shadow: 0 16px 40px -18px rgba(200, 164, 108, .75);
  transition: background-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.wl-submit span { display: inline-block; margin-left: 6px; transition: transform .3s var(--ease); }
.wl-submit:hover { background: var(--gold-light-hover); transform: translateY(-1px); box-shadow: 0 20px 44px -16px rgba(200, 164, 108, .9); }
.wl-submit:hover span { transform: translateX(4px); }
.wl .consent { font-size: 12.5px; line-height: 1.5; color: #8e8e93; }
.wl .consent a { color: #d2d2d7; }
.wl .form-note:empty { display: none; }
.wl-trust { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; }
.wl-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #a1a1a6; }
.wl-trust svg { color: var(--gold-light); }
@media (max-width: 1000px) { .wl-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wl-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wl-glow { animation: none; } }

/* =========================================================
   SAMMENLIGNING: kort med kolonner som lyser opp
   ========================================================= */
.cmp { overflow-x: auto; scrollbar-width: thin; border-radius: var(--ap-radius); background: var(--ap-grey); padding: 8px 8px 0; }
.cmp:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.cmp-table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp-table thead td.cmp-corner { width: 190px; vertical-align: bottom; padding: 0 16px 22px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-soft); }
.cmp-corner span { display: block; }
.cmp-corner span + span::before { content: "→ "; color: var(--gold-text); }
.cmp-table thead th { padding: 10px 8px 22px; vertical-align: bottom; text-align: center; font-weight: 400; text-transform: none; letter-spacing: normal; }
.cmp-head { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ap-ink); text-decoration: none; }
.cmp-img { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .4s var(--ease); }
.cmp-img img { width: 90%; height: auto; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.cmp-head:hover .cmp-img img { transform: scale(1.06) translateY(-3px); }
.cmp-name { font-family: var(--serif); font-size: 19px; letter-spacing: -.02em; transition: color .3s; }
.cmp-head:hover .cmp-name { color: var(--gold-text); }
.cmp-sub { display: flex; justify-content: center; margin-top: 8px; }
.cmp-table tbody th, .cmp-table tbody td { padding: 16px 8px; border-top: 1px solid rgba(0, 0, 0, .06); }
.cmp-table tbody td { text-align: center; }
.cmp-table tbody th[scope="row"] { text-align: left; font-weight: 500; font-size: 14.5px; color: var(--ap-ink); padding-left: 16px; }
.cmp-row-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; vertical-align: middle; border-radius: 50%; background: #fff; color: var(--gold-text); box-shadow: inset 0 0 0 1px rgba(200, 164, 108, .3); }
.cmp-group th { padding: 26px 16px 10px !important; border-top: 0 !important; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.cmp-yes { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(200, 164, 108, .16); color: var(--gold-text); }
.cmp-yes svg { width: 16px; height: 16px; }
.cmp-no { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c7c7cc; }
.cmp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 980px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ap-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.cmp-pill svg { color: var(--gold-text); }
.cmp-pill--gold { background: var(--ap-ink); color: #fff; box-shadow: none; }
.cmp-text { font-size: 14.5px; color: var(--ap-ink); }
.cmp-table tfoot td { padding: 18px 8px 22px; text-align: center; border-top: 1px solid rgba(0, 0, 0, .06); }
.cmp-go { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 980px; background: #fff; color: var(--ap-ink); text-decoration: none; font-size: 13.5px; font-weight: 500; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: background .3s, color .3s, box-shadow .3s; }
.cmp-go:hover { background: var(--ap-ink); color: #fff; box-shadow: none; }
/* Hele kolonnen lyser opp når du holder over den */
.cmp-table tr > * { transition: background .25s ease; }
@media (max-width: 760px) {
  .cmp-table { min-width: 860px; }
  .cmp-table thead td.cmp-corner, .cmp-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--ap-grey); }
  .cmp-table thead td.cmp-corner { width: 140px; }
  .cmp-row-icon { display: none; }
}
.cmp-table thead tr, .cmp-table thead th, .cmp-table thead td { border: 0 !important; box-shadow: none; }
.cmp-table thead tr { border-bottom: 0 !important; }

/* =========================================================
   SEKS SONER: kort med bilde, nummer og tekst
   ========================================================= */
.ap-zones { padding: 0 0 var(--ap-space); }
.ap-zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: zone; }
.ap-zone {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--ap-radius);
  background: var(--ap-grey); color: var(--ap-ink); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.ap-zone:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(200, 164, 108, .35); }
.ap-zone-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin: 10px 10px 0; border-radius: 20px; }
.ap-zone-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ap-zone:hover .ap-zone-img img { transform: scale(1.06); }
.ap-zone-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px 26px; flex: 1; }
.ap-zone-num { font-family: var(--accent); font-style: italic; font-size: 22px; line-height: 1; color: var(--logo-gold); margin-bottom: 6px; }
.ap-zone-body strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 27px); letter-spacing: -.025em; }
.ap-zone-text { font-size: 15px; line-height: 1.55; color: var(--ap-soft); }
.ap-zone-link { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 14px; font-size: 14.5px; font-weight: 500; color: var(--gold-text); }
.ap-zone-link::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .3s var(--ease); }
.ap-zone:hover .ap-zone-link::after { transform: translateX(3px); }
.js .ap-zone.reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .ap-zone.reveal:nth-child(3n+3) { transition-delay: .16s; }
@media (max-width: 1000px) { .ap-zone-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ap-zone-grid { grid-template-columns: 1fr; } }

/* Kolonnen du holder over: hvitt kort uten linjer, også over gruppene */
.cmp-table tbody .cmp-group td { border-top: 0; padding: 26px 8px 10px; }
.cmp-group th { white-space: nowrap; }
.cmp-table:has(tr > :nth-child(2):hover) tr > :nth-child(2) { background: #fff; border-top-color: transparent; }
.cmp-table:has(tr > :nth-child(2):hover) thead th:nth-child(2) { border-radius: 20px 20px 0 0; }
.cmp-table:has(tr > :nth-child(2):hover) tfoot td:nth-child(2) { border-radius: 0 0 20px 20px; }
.cmp-table:has(tr > :nth-child(2):hover) thead th:nth-child(2) .cmp-img { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cmp-table:has(tr > :nth-child(2):hover) tfoot td:nth-child(2) .cmp-go { background: var(--ap-ink); color: #fff; box-shadow: none; }
.cmp-table:has(tr > :nth-child(3):hover) tr > :nth-child(3) { background: #fff; border-top-color: transparent; }
.cmp-table:has(tr > :nth-child(3):hover) thead th:nth-child(3) { border-radius: 20px 20px 0 0; }
.cmp-table:has(tr > :nth-child(3):hover) tfoot td:nth-child(3) { border-radius: 0 0 20px 20px; }
.cmp-table:has(tr > :nth-child(3):hover) thead th:nth-child(3) .cmp-img { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cmp-table:has(tr > :nth-child(3):hover) tfoot td:nth-child(3) .cmp-go { background: var(--ap-ink); color: #fff; box-shadow: none; }
.cmp-table:has(tr > :nth-child(4):hover) tr > :nth-child(4) { background: #fff; border-top-color: transparent; }
.cmp-table:has(tr > :nth-child(4):hover) thead th:nth-child(4) { border-radius: 20px 20px 0 0; }
.cmp-table:has(tr > :nth-child(4):hover) tfoot td:nth-child(4) { border-radius: 0 0 20px 20px; }
.cmp-table:has(tr > :nth-child(4):hover) thead th:nth-child(4) .cmp-img { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cmp-table:has(tr > :nth-child(4):hover) tfoot td:nth-child(4) .cmp-go { background: var(--ap-ink); color: #fff; box-shadow: none; }
.cmp-table:has(tr > :nth-child(5):hover) tr > :nth-child(5) { background: #fff; border-top-color: transparent; }
.cmp-table:has(tr > :nth-child(5):hover) thead th:nth-child(5) { border-radius: 20px 20px 0 0; }
.cmp-table:has(tr > :nth-child(5):hover) tfoot td:nth-child(5) { border-radius: 0 0 20px 20px; }
.cmp-table:has(tr > :nth-child(5):hover) thead th:nth-child(5) .cmp-img { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cmp-table:has(tr > :nth-child(5):hover) tfoot td:nth-child(5) .cmp-go { background: var(--ap-ink); color: #fff; box-shadow: none; }
.cmp-table:has(tr > :nth-child(6):hover) tr > :nth-child(6) { background: #fff; border-top-color: transparent; }
.cmp-table:has(tr > :nth-child(6):hover) thead th:nth-child(6) { border-radius: 20px 20px 0 0; }
.cmp-table:has(tr > :nth-child(6):hover) tfoot td:nth-child(6) { border-radius: 0 0 20px 20px; }
.cmp-table:has(tr > :nth-child(6):hover) thead th:nth-child(6) .cmp-img { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cmp-table:has(tr > :nth-child(6):hover) tfoot td:nth-child(6) .cmp-go { background: var(--ap-ink); color: #fff; box-shadow: none; }
.cmp-table:has(tr > :nth-child(7):hover) tr > :nth-child(7) { background: #fff; border-top-color: transparent; }
.cmp-table:has(tr > :nth-child(7):hover) thead th:nth-child(7) { border-radius: 20px 20px 0 0; }
.cmp-table:has(tr > :nth-child(7):hover) tfoot td:nth-child(7) { border-radius: 0 0 20px 20px; }
.cmp-table:has(tr > :nth-child(7):hover) thead th:nth-child(7) .cmp-img { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cmp-table:has(tr > :nth-child(7):hover) tfoot td:nth-child(7) .cmp-go { background: var(--ap-ink); color: #fff; box-shadow: none; }

/* Terrassen hjemme: hold kjøkkenet og kvinnen i bildet */

@media (min-width: 1001px) { .ap-roof-tile p:not(.ap-roof-models) { max-width: 30em; text-wrap: balance; } }  /* fire fliser: teksten brytes jevnt */

/* =========================================================
   STEGENE: samme språk i alle tre (lys flate, kjøkken, hvitt kort)
   ========================================================= */
.ap-flow-visual--stage { background: var(--ap-grey); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 18px 18px 18px; }
.ap-flow-product { position: absolute; left: 50%; top: 10px; width: 72%; height: auto; transform: translateX(-50%); mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.ap-flow-card:hover .ap-flow-product { transform: translateX(-50%) scale(1.04) translateY(-4px); }
.ap-flow-visual--config img { width: 72% !important; margin: 0 !important; }
.ap-ui {
  position: relative; z-index: 1; width: 100%;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 16px; padding: 12px 14px; box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(0, 0, 0, .04);
  transform: translateY(10px); opacity: 0; transition: transform .8s var(--ease) .25s, opacity .8s var(--ease) .25s;
}
.ap-flow-card.is-visible .ap-ui, html:not(.js) .ap-ui { transform: none; opacity: 1; }
.ap-ui-head { display: flex; align-items: center; gap: 10px; }
.ap-ui-head img { width: 54px; height: auto; border-radius: 8px; background: var(--ap-grey); mix-blend-mode: multiply; }
.ap-ui-head > span:not(.ap-ui-icon):not(.ap-ui-chip) { display: flex; flex-direction: column; flex: 1; font-size: 12.5px; color: var(--ap-soft); line-height: 1.3; }
.ap-ui-head strong { font-family: var(--serif); font-weight: 400; font-size: 15px; color: var(--ap-ink); }
.ap-ui-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ap-grey); color: var(--gold-text); }
.ap-ui-chip { flex: none; padding: 4px 10px; border-radius: 980px; background: var(--ap-ink); color: #fff; font-size: 11.5px; font-weight: 500; }
.ap-ui-dep { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--ap-soft); }
.ap-ui-dep strong { font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--ap-ink); }
.ap-ui-bar { display: block; height: 6px; margin-top: 6px; border-radius: 6px; background: #ececf0; overflow: hidden; }
.ap-ui-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width 1.4s var(--ease) .6s; }
.ap-flow-card.is-visible .ap-ui-bar i, html:not(.js) .ap-ui-bar i { width: 10%; }
.ap-ui-pay { margin-top: 10px; }
.ap-ui-pay .pay-logos { gap: 5px; flex-wrap: nowrap; }
.ap-ui-pay .pay-logos svg { width: 36px; height: 23px; }
.ap-ui-checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-ui-checks li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ap-ink); }
.ap-ui-checks li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(200, 164, 108, .16); color: var(--gold-text); font-size: 10px; }

/* Tidslinjen: streken går bak tekstene, ikke gjennom dem */
.ap-track-node { gap: 0; }
.ap-track-node i, .ap-track-node b { position: relative; z-index: 1; }
.ap-track-node b { padding: 0 14px 0 10px; background: var(--ap-grey); }

/* Stegene på undersidene (pages_category.flow): fire kort, samme språk som forsiden */
.ap-track--4, .ap-flow--4 { grid-template-columns: repeat(4, 1fr); }
.ap-flow--4 .ap-flow-visual { height: clamp(240px, 19vw, 290px); }
.ap-flow--4 .ap-flow-product { width: 78%; }
.ap-flow--4 .ap-flow-text { padding: 24px clamp(20px, 2vw, 28px) 30px; }
.ap-flow--4 .ap-flow-text h3 { font-size: clamp(22px, 1.7vw, 26px); }
.ap-flow--4 .ap-flow-text p:not(.ap-flow-step) { font-size: 15px; }
.ap-flow--4 .ap-ui-head { flex-wrap: wrap; row-gap: 8px; }
.ap-flow--4 .ap-ui-head > span:not(.ap-ui-icon):not(.ap-ui-chip) { flex: 1 1 calc(100% - 46px); }
.ap-flow--4 .ap-ui-chip { margin-left: 46px; }
.js .ap-flow-card.reveal:nth-child(4) { transition-delay: .36s; }
.ap-track--4.is-visible .ap-track-node:nth-of-type(3) i, .ap-track--4.is-visible .ap-track-node:nth-of-type(3) b { transition-delay: .65s; }
.ap-track--4.is-visible .ap-track-node:nth-of-type(4) i, .ap-track--4.is-visible .ap-track-node:nth-of-type(4) b { transition-delay: 1.1s; }
.ap-track--4.is-visible .ap-track-node:nth-of-type(5) i, .ap-track--4.is-visible .ap-track-node:nth-of-type(5) b { transition-delay: 1.55s; }
.cat-flow-steps .cat-pair { margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 1080px) {
  .ap-flow--4 { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (max-width: 700px) {
  .ap-flow--4 { grid-template-columns: 1fr; max-width: 560px; }
}

/* =========================================================
   MOTION: «Levert og montert»
   ========================================================= */
.ap-bento { perspective: 1600px; }
.mx-card { transform-style: preserve-3d; will-change: transform; }
.js .mx-card {
  opacity: 0; transform: translateY(60px) rotateX(14deg) scale(.94);
  clip-path: inset(10% 6% 10% 6% round 28px);
  transition: opacity .9s var(--ease), transform 1.3s cubic-bezier(.16, 1, .3, 1), clip-path 1.3s cubic-bezier(.16, 1, .3, 1), box-shadow .5s var(--ease);
}
.js .mx-card.mx-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 28px); }
.js .mx-card.mx-in.mx-tilt { transition: transform .25s ease-out, box-shadow .5s var(--ease); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* Lyskjegle som følger musen */
.mx-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 199, 154, .28), rgba(226, 199, 154, 0) 70%); }
.mx-card:hover .mx-spot { opacity: 1; }
.mx-card > *:not(.mx-spot) { position: relative; z-index: 1; }

/* Tittelen ord for ord */
.mx-title .mx-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.mx-title .mx-w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .6s var(--ease); transition-delay: calc(.45s + var(--i) * .08s); }
.mx-in .mx-title .mx-w > span { transform: none; opacity: 1; }
.js .mx-sub { opacity: 0; filter: blur(8px); transform: translateY(8px); transition: opacity .9s var(--ease) .75s, filter .9s var(--ease) .75s, transform .9s var(--ease) .75s; }
.mx-in .mx-sub { opacity: 1; filter: none; transform: none; }

/* Ruten tegnes */
.ap-route-draw { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.5s cubic-bezier(.65, 0, .35, 1) .7s; }
.mx-in .ap-route-draw, html:not(.js) .ap-route-draw { stroke-dashoffset: 0; }
.ap-route-pulse { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.mx-in .ap-route-pulse { animation: mx-pulse 2.2s ease-out .4s infinite; }
@keyframes mx-pulse { 0% { opacity: .55; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.4); } }

/* Huset lyser når bilen er fremme */
.ap-home-glow { fill: rgba(226, 199, 154, .5); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .6s var(--ease), transform .8s cubic-bezier(.16, 1, .3, 1); filter: blur(4px); }
.ap-route-home .ap-home-body, .ap-route-home .ap-home-door { transition: fill .6s var(--ease), stroke .6s var(--ease); }
.ap-home-check { opacity: 0; transform: translate(20px, 0) scale(.3); transform-box: fill-box; transform-origin: center; transition: opacity .4s var(--ease), transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.ap-home-check circle { fill: var(--gold); }
.ap-home-check path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mx-home .ap-home-glow { opacity: 1; transform: scale(1); }
.mx-home .ap-route-home .ap-home-body { fill: #f6e3bd; stroke: var(--gold-text); }
.mx-home .ap-route-home .ap-home-door { fill: var(--gold); stroke: var(--gold-text); }
.mx-home .ap-home-check { opacity: 1; transform: translate(20px, 0) scale(1); }
.ap-route-truck > g { animation: none; }
.mx-driving .ap-route-truck > g { animation: mx-bump .28s ease-in-out infinite alternate; }
@keyframes mx-bump { from { transform: translate(-11px, -8px); } to { transform: translate(-11px, -9.2px); } }

@media (prefers-reduced-motion: reduce) {
  .js .mx-card, .mx-title .mx-w > span, .js .mx-sub { opacity: 1; transform: none; clip-path: none; filter: none; transition: none; }
  .ap-route-draw { stroke-dashoffset: 0; transition: none; }
  .mx-in .ap-route-pulse, .mx-driving .ap-route-truck > g { animation: none; }
}

/* Vippetak: video av taket som lukkes */
.ap-roof-media { position: relative; width: 100%; margin-top: 24px; }
.ap-roof-media img, .ap-roof-media video { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.ap-roof-tile .ap-roof-media img { margin-top: 0; }
.ap-roof-media video { position: absolute; inset: 0; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s var(--ease); }
/* Åpen / lukket: de ekte bildene av modellen, med bryter (erstatter de gamle filmene) */
.ap-roof-swap { padding-bottom: 58px; }
.ap-roof-swap .ap-swap-open, .ap-roof-swap .ap-swap-closed { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.ap-roof-swap .ap-swap-closed { position: absolute; top: 0; left: 0; width: 100%; height: auto; opacity: 0; transform: scale(.985); }
.ap-roof-swap.is-closed .ap-swap-closed { opacity: 1; transform: none; }
.ap-roof-swap.is-closed .ap-swap-open { opacity: 0; transform: scale(.985); }
.ap-swap-toggle {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2;
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 980px;
  background: rgba(29, 29, 31, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5);
}
.ap-swap-toggle button {
  min-width: 84px; height: 38px; padding: 0 18px; border: 0; border-radius: 980px; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, .78); font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  transition: background .3s, color .3s;
}
.ap-swap-toggle button:hover { color: #fff; }
.ap-swap-toggle button[aria-pressed="true"] { background: #fff; color: var(--ap-ink); }
.ap-swap-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ap-roof-swap .ap-swap-open, .ap-roof-swap .ap-swap-closed { transition: none; } }
.ap-roof-media.is-playing video, .ap-roof-media.is-done video { opacity: 1; }
.ap-roof-media.is-playing img, .ap-roof-media.is-done img { opacity: 0; }
.ap-play {
  position: absolute; right: 6px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 980px; cursor: pointer;
  background: rgba(29, 29, 31, .86); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5);
  transition: background .3s, transform .3s var(--ease);
}
.ap-play:hover { background: #000; transform: scale(1.04); }
.ap-replay-icon { display: none; }
.is-done .ap-play-icon { display: none; }
.is-done .ap-replay-icon { display: block; }
.is-playing .ap-play { opacity: 0; pointer-events: none; }
.ap-play-ring { position: absolute; inset: -4px; border-radius: inherit; box-shadow: 0 0 0 2px rgba(200, 164, 108, .6); animation: ap-ring 2.4s ease-out infinite; pointer-events: none; }
.is-done .ap-play-ring { display: none; }
@keyframes ap-ring { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
.ap-roof-media.is-loading .ap-play { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .ap-play-ring { animation: none; } }

/* Tilpasning: én kompakt stripe */
.ap-custom { padding: 0 0 clamp(56px, 6vw, 96px); }
.ap-custom-card {
  display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(26px, 3vw, 40px); border-radius: var(--ap-radius); background: var(--ap-grey);
}
.ap-custom-copy .ap-eyebrow { margin-bottom: 12px; }
.ap-custom-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.ap-custom-title em { font-family: var(--accent); font-style: italic; font-size: 1.05em; color: var(--logo-gold); }
.ap-custom-copy p:not(.ap-eyebrow) { margin: 12px 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--ap-soft); max-width: 32em; }
.ap-custom-copy .ap-link { font-size: 15px; }
.ap-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-opt {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 980px;
  background: #fff; font-size: 14px; font-weight: 500; color: var(--ap-ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.ap-opt svg { color: var(--gold-text); }
.ap-opt:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(200, 164, 108, .45); }
.ap-opt--biz { background: var(--ap-ink); color: #fff; box-shadow: none; }
.ap-opt--biz svg { color: var(--gold-light); }
@media (max-width: 900px) { .ap-custom-card { grid-template-columns: 1fr; } }

/* Tre måter: vippelokket som bred flis under de to andre, tekst til venstre og video til høyre */
.ap-roof-tile--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; text-align: left; gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 56px); }
.ap-roof-tile--wide .ap-roof-text { flex: 0 0 32%; }
.ap-roof-tile--wide p:not(.ap-roof-models) { white-space: normal; max-width: 22em; }
.ap-roof-tile--wide .ap-roof-media { flex: 1; min-width: 0; margin-top: 0; }
@media (max-width: 1000px) {
  .ap-roof-tile--wide { flex-direction: column; align-items: center; text-align: center; padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px) 12px; }
  .ap-roof-tile--wide .ap-roof-text { flex: none; }
  .ap-roof-tile--wide .ap-roof-media { margin-top: 24px; }
}

/* =========================================================
   HVA KOSTER ET UTEKJØKKEN: sammenligning og kvittering per modell
   ========================================================= */
.ap-cost { padding: 0 0 clamp(56px, 6vw, 96px); }
.ap-cost-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ap-cost-copy .ap-sub { max-width: 32em; }

.ap-cost-scroll { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ap-cost-table { width: 100%; min-width: 540px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.35; }
.ap-cost-table { table-layout: fixed; }
.ap-cost-table th, .ap-cost-table td { vertical-align: middle; }
.ap-cost-table thead th { text-transform: none; letter-spacing: -.02em; }
.ap-cost-table thead td, .ap-cost-table tbody th { width: 27%; }
.ap-cost-table thead th { padding: 18px 14px 14px; text-align: left; font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: -.02em; color: var(--ap-ink); border-bottom: 1px solid var(--ap-ink); }
.ap-cost-table thead td { border-bottom: 1px solid var(--ap-ink); }
.ap-cost-table tbody th { padding: 16px 14px 16px 0; text-align: left; font-weight: 400; color: var(--ap-soft); border-bottom: 1px solid var(--ap-line); white-space: nowrap; }
.ap-cost-table td { padding: 16px 14px; color: var(--ap-soft); border-bottom: 1px solid var(--ap-line); }
/* Kitchamore-kolonnen løftes fram */
.ap-cost-table thead th:nth-child(2), .ap-cost-table td:nth-child(2) { background: var(--ap-grey); color: var(--ap-ink); }
.ap-cost-table thead th:nth-child(2) { color: var(--gold-text); border-radius: 16px 16px 0 0; }
.ap-cost-table td:nth-child(2) { font-weight: 600; }
.ap-cost-table tbody tr:last-child td:nth-child(2) { border-radius: 0 0 16px 16px; }
.ap-cost-table tbody tr:last-child > * { border-bottom: 0; }

.ap-cost-stage { display: flex; justify-content: center; padding: clamp(48px, 5vw, 72px) clamp(24px, 3vw, 48px); border-radius: var(--ap-radius); background: var(--ap-grey); }
.rc-paper { position: relative; width: 100%; max-width: 400px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .14)) drop-shadow(0 2px 4px rgba(0, 0, 0, .05)); transform: rotate(-1.2deg); transition: transform .8s var(--ease); }
.ap-cost-stage:hover .rc-paper { transform: rotate(0deg) translateY(-4px); }
.rc {
  --z: 9px;
  background: #fff; padding: 28px 28px calc(30px + var(--z));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) var(--z) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) var(--z) repeat-x;
}
.rc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px dashed var(--ap-line); }
.rc-head img { display: block; width: auto; height: 22px; }
.rc-head span, .rc-total span { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ap-soft); }
.rc-model { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--ap-line); }
.rc-name { font-family: var(--serif); font-size: 20px; letter-spacing: -.02em; color: var(--ap-soft); text-align: center; }
.rc-name strong { font-weight: 400; color: var(--ap-ink); }
.rc-nav { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ap-grey); color: var(--ap-ink); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.rc-nav:hover { background: var(--ap-ink); color: #fff; transform: scale(1.06); }
.rc-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rc-items { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.rc-items li { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; color: var(--ap-ink); }
.rc-items i { flex: 1; min-width: 12px; border-bottom: 1px dotted #c7c7cc; transform: translateY(-4px); }
.rc-items b { font-size: 13.5px; font-weight: 500; color: var(--gold-text); }
.rc-body.is-in li { animation: rc-print .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes rc-print { from { opacity: 0; transform: translateY(6px); } }
.rc-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 2px solid var(--ap-ink); }
.rc-total span { color: var(--ap-ink); }
.rc-total strong { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.rc-dep { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ap-soft); }
.rc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.rc-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d2d2d7; transition: width .4s var(--ease), background .4s; }
.rc-dots i.is-on { width: 18px; background: var(--ap-ink); }
.rc-stamp {
  position: absolute; z-index: 2; top: -20px; right: -16px; padding: 9px 14px;
  border: 2px solid var(--gold-text); border-radius: 6px; background: rgba(255, 255, 255, .9);
  font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; text-align: center;
  color: var(--gold-text); transform: rotate(12deg);
}
.js .rc-stamp { opacity: 0; }
.ap-cost-stage.is-visible .rc-stamp { animation: rc-stamp .5s cubic-bezier(.3, 1.5, .5, 1) .9s both; }
.ap-cost-stage .rc-stamp.is-stamped { animation: rc-stamp .45s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes rc-stamp { from { opacity: 0; transform: rotate(18deg) scale(1.8); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
html:not(.js) .rc-stamp { opacity: 1; }
@media (max-width: 1000px) { .ap-cost-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .ap-cost-scroll { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .ap-cost-table { font-size: 14px; }
  .rc { padding-left: 20px; padding-right: 20px; }
  .rc-stamp { right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-body.is-in li, .ap-cost-stage.is-visible .rc-stamp, .ap-cost-stage .rc-stamp.is-stamped { animation: none; opacity: 1; }
}

/* Produktfilm: mørkt bånd med filmen i en ramme */
.pp-film { background: #000; color: #f5f5f7; padding: var(--ap-space) 0; }
.pp-film .ap-eyebrow { color: var(--gold); }
.pp-film .ap-h2 em { color: var(--logo-gold); }
.pp-film .ap-sub { color: #a1a1a6; }
.pp-film-frame { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 854 / 480; border-radius: var(--ap-radius); overflow: hidden;
  background: #e8e8ea; box-shadow: 0 50px 100px -50px rgba(200, 164, 108, .45), 0 0 0 1px rgba(255, 255, 255, .06); }
.pp-film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-film-btn { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px;
  border: 0; border-radius: 999px; background: rgba(20, 20, 22, .62); color: #fff; font: 500 13px/1 var(--sans); letter-spacing: .02em; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .3s var(--ease); }
.pp-film-btn:hover { background: rgba(20, 20, 22, .82); }
.pp-film-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Hvilken modell filmen viser, oppe til venstre */
.pp-film-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 16px; border-radius: 999px;
  background: rgba(20, 20, 22, .62); color: rgba(255, 255, 255, .78); font: 400 13px/1.2 var(--sans);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; }
.pp-film-tag b { font-family: var(--serif); font-weight: 400; font-size: 15px; color: #fff; }
.pp-film .ap-actions { margin-top: clamp(28px, 3vw, 40px); }
.pp-film-btn > span:not(.pp-film-label) { display: grid; }
.pp-film-pause, .pp-film-frame.is-playing .pp-film-play { display: none !important; }
.pp-film-frame.is-playing .pp-film-pause { display: grid !important; }
.pp-film-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 32px 0 0; padding: 0; font-size: 14.5px; color: #c7c7cc; }
.pp-film-points li { display: inline-flex; align-items: center; gap: 8px; }
.pp-film-points svg { color: var(--gold); }
@media (max-width: 640px) {
  .pp-film-frame { border-radius: 18px; }
  .pp-film-btn { right: 10px; bottom: 10px; height: 36px; }
  .pp-film-tag { left: 10px; top: 10px; padding: 7px 12px; font-size: 12px; }
  .pp-film-tag b { font-size: 13px; }
  .pp-film-points { flex-direction: column; align-items: center; gap: 10px; }
}

/* Prislinje i toppen av forsiden, og neste steg etter påmeldingen */
.ap-hero-price { margin: 14px auto 0; font-size: 15px; font-weight: 500; color: var(--ap-soft); }
.ap-hero .ap-hero-price + .ap-actions { margin-top: 24px; }
.form-note-next { color: var(--gold-light, #e2c79a); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Adresseforslag i ventelisten (mørk bakgrunn) */
.wl .km-addr-list { background: rgba(30, 30, 32, .97); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .85); }
.wl .km-addr-list li strong { color: #f5f5f7; }
.wl .km-addr-list li small { color: #a1a1a6; }
.wl .km-addr-list li.is-active { background: rgba(255, 255, 255, .08); }
.wl .km-addr-list li svg { color: var(--gold-light); }

/* Adresseforslag */
.km-addr { position: relative; }
.km-addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 14px; animation: km-addr-in .18s ease-out; }
.km-addr-list[hidden] { display: none; }
.km-addr-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.km-addr-list li svg { flex: none; margin-top: 2px; color: var(--gold-text); }
.km-addr-list li span { display: flex; flex-direction: column; min-width: 0; }
.km-addr-list li strong { font-size: 15px; font-weight: 500; color: #1d1d1f; }
.km-addr-list li small { font-size: 13px; color: #6e6e73; }
.km-addr-list li.is-active { background: #f6f1e9; }
@keyframes km-addr-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
