/*
 * Priskollektivet — Sådan virker det animation
 * 6.3.2: one coherent layout layer on top of the front-page animation.
 */

.pkca-mount--how{
  width:min(1160px,calc(100% - 32px));
  margin-inline:auto;
}

.pkca--how .pkca__top{
  margin-bottom:18px;
}

.pkca--how .pkca__copy{
  max-width:none;
}

.pkca--how .pkca__steps{
  grid-template-columns:repeat(7,minmax(0,1fr));
}

.pkca--how .pkca__step span{
  font-size:12px;
  line-height:1.2;
}

.pkca--how .pkca__visual-wrap{
  min-width:0;
}

/* Every custom scene fills the visual side of the shared front-page stage. */
.pkca--how .pkca-visual--interest,
.pkca--how .pkca-visual--how-offers,
.pkca--how .pkca-visual--how-assessment,
.pkca--how .pkca-visual--how-winner{
  position:absolute;
  inset:0;
  width:auto;
  height:auto;
  padding:28px;
  overflow:hidden;
}

/* Reset front-page absolute panel positioning inside the extended scenes. */
.pkca--how .pkca-interest-panel,
.pkca--how .pkca-offers-panel,
.pkca--how .pkca-assessment-panel,
.pkca--how .pkca-choice-card--winner{
  position:relative;
  left:auto;
  right:auto;
  top:auto;
  bottom:auto;
  width:auto;
  margin:0;
  transform:none;
}

/* Shared crisp panel finish. */
.pkca--how .pkca-interest-panel,
.pkca--how .pkca-offers-panel,
.pkca--how .pkca-assessment-panel,
.pkca--how .pkca-choice-card--winner,
.pkca--how .pkca-mini-profile,
.pkca--how .pkca-how-offers-grid article{
  border-color:rgba(31,64,38,.11);
  background:rgba(255,255,255,.95);
  box-shadow:0 18px 44px rgba(22,48,28,.09),0 2px 7px rgba(22,48,28,.035);
}

/* INTERESSE */
.pkca--how .pkca-visual--interest{
  display:grid;
  grid-template-columns:minmax(205px,230px) minmax(0,350px);
  align-items:center;
  justify-content:center;
  gap:18px;
}

.pkca--how .pkca-visual--interest .pkca-logo-motif{
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  opacity:.24;
}

.pkca--how .pkca-interest-grid{
  position:relative;
  left:auto;
  top:auto;
  z-index:2;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  width:100%;
}

.pkca--how .pkca-mini-profile{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 22px;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border:1px solid rgba(31,64,38,.10);
  border-radius:15px;
}

.pkca--how .pkca-mini-profile__icon,
.pkca--how .pkca-mini-profile__check{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#edf5ef;
  color:#1f4026;
}

.pkca--how .pkca-mini-profile__icon svg,
.pkca--how .pkca-mini-profile__check svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.pkca--how .pkca-mini-profile__body>*{
  display:block;
}

.pkca--how .pkca-mini-profile__body small{
  color:#78857d;
  font-size:8px;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}

.pkca--how .pkca-mini-profile__body strong{
  margin-top:3px;
  color:#263d30;
  font-size:11px;
  line-height:1.25;
}

.pkca--how .pkca-mini-profile__body em{
  display:block;
  margin-top:3px;
  color:#1f4026;
  font-size:9px;
  font-style:normal;
  font-weight:720;
}

.pkca--how .pkca-interest-panel{
  z-index:2;
  width:100%;
  max-width:350px;
  border-radius:18px;
}

.pkca--how .pkca-interest-panel__body{
  display:grid;
  gap:6px;
  padding:17px 18px 18px;
}

.pkca--how .pkca-interest-panel .pkca-field{
  position:relative;
  left:auto;
  top:auto;
  width:auto;
  margin:0;
}

.pkca--how .pkca-interest-panel .pkca-submit-row{
  margin-top:1px;
}

/* TILBUD */
.pkca--how .pkca-visual--how-offers{
  display:grid;
  place-items:center;
}

.pkca--how .pkca-visual--how-offers .pkca-logo-motif{
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  opacity:.22;
}

.pkca--how .pkca-offers-panel{
  z-index:2;
  width:min(520px,100%);
  border-radius:19px;
}

.pkca--how .pkca-how-offers-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  padding:17px 18px 18px;
}

.pkca--how .pkca-how-offers-grid article{
  padding:15px 16px;
  border:1px solid rgba(31,64,38,.10);
  border-radius:14px;
}

.pkca--how .pkca-how-offers-grid article:nth-child(2){
  border-color:rgba(210,165,86,.48);
  box-shadow:inset 3px 0 0 #d2a556,0 18px 44px rgba(22,48,28,.09);
}

.pkca--how .pkca-how-offers-grid strong,
.pkca--how .pkca-how-offers-grid b,
.pkca--how .pkca-how-offers-grid small{
  display:block;
}

.pkca--how .pkca-how-offers-grid strong{
  margin-bottom:8px;
  color:#1f4026;
  font-size:9px;
  font-weight:760;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.pkca--how .pkca-how-offers-grid b{
  margin-bottom:7px;
  color:#17251c;
  font-size:23px;
  line-height:1;
  letter-spacing:-.04em;
}

.pkca--how .pkca-how-offers-grid small{
  color:#6e7c73;
  font-size:10px;
  line-height:1.45;
}

/* VURDERING */
.pkca--how .pkca-visual--how-assessment{
  display:grid;
  place-items:center;
}

.pkca--how .pkca-assessment-panel{
  z-index:2;
  width:min(520px,100%);
  border-radius:19px;
}

.pkca--how .pkca-assessment-list{
  display:grid;
  gap:0;
  padding:8px 18px 9px;
}

.pkca--how .pkca-assessment-list>div{
  display:grid;
  grid-template-columns:118px minmax(0,1fr) 34px;
  align-items:center;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid rgba(31,64,38,.08);
}

.pkca--how .pkca-assessment-list>div:last-child{
  border-bottom:0;
}

.pkca--how .pkca-assessment-list small{
  color:#31473a;
  font-size:10px;
  font-weight:720;
}

.pkca--how .pkca-assessment-list b{
  position:relative;
  height:5px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(31,64,38,.09);
}

.pkca--how .pkca-assessment-list b i{
  position:absolute;
  inset:0 auto 0 0;
  width:var(--w);
  border-radius:inherit;
  background:linear-gradient(90deg,#1f4026,#759a82);
  transform-origin:left;
  animation:pkcaBarIn .8s .25s ease-out both;
}

.pkca--how .pkca-assessment-list em{
  color:#6e7c73;
  font-size:10px;
  font-style:normal;
  font-weight:720;
  text-align:right;
}

.pkca--how .pkca-assessment-panel .pkca-choice-note{
  margin:0 18px 17px;
  padding-top:13px;
  border-top:1px solid rgba(31,64,38,.08);
}

/* BEDSTE TILBUD */
.pkca--how .pkca-visual--how-winner{
  display:grid;
  place-items:center;
}

.pkca--how .pkca-visual--how-winner .pkca-logo-motif{
  left:50%;
  top:50%;
  bottom:auto;
  transform:translate(-50%,-50%) rotate(-18deg);
  opacity:.26;
}

.pkca--how .pkca-choice-card--winner{
  z-index:2;
  width:min(500px,100%);
  padding:20px;
  border-radius:19px;
}

.pkca--how .pkca-choice-card--winner .pkca-price-compare{
  grid-template-columns:.85fr auto 1.15fr;
}

.pkca--how .pkca-choice-card--winner .pkca-price-compare strong{
  font-size:20px;
}

.pkca--how .pkca-choice-card--winner .pkca-choice-actions{
  display:none;
}

/* Generic provider labels only. */
.pkca--how .pkca-provider-row{
  display:flex;
  justify-content:center;
  gap:8px;
  width:100%;
  margin:10px auto 0;
  flex-wrap:wrap;
}

.pkca--how .pkca-provider-chip{
  padding:6px 10px;
  border:1px solid rgba(31,64,38,.11);
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#1f4026;
  box-shadow:0 8px 20px rgba(22,48,28,.05);
  font-size:9px;
  font-weight:720;
}

/* Tablet and mobile use a vertical stage, but keep each scene intentional. */
@media(max-width:980px){
  .pkca--how .pkca__steps{
    grid-template-columns:repeat(7,minmax(108px,1fr));
    overflow-x:auto;
    scrollbar-width:none;
  }

  .pkca--how .pkca__steps::-webkit-scrollbar{
    display:none;
  }
}

@media(max-width:900px){
  .pkca--how[data-scene="interest"] .pkca__visual-wrap{
    min-height:510px;
  }

  .pkca--how[data-scene="offers"] .pkca__visual-wrap,
  .pkca--how[data-scene="assessment"] .pkca__visual-wrap,
  .pkca--how[data-scene="winner"] .pkca__visual-wrap{
    min-height:430px;
  }

  .pkca--how .pkca-visual--interest{
    grid-template-columns:minmax(190px,230px) minmax(0,360px);
    gap:16px;
    padding:24px;
  }
}

@media(max-width:760px){
  .pkca-mount--how{
    width:min(100%,calc(100% - 20px));
  }

  .pkca--how .pkca__stage{
    min-height:0;
  }

  .pkca--how .pkca__copy{
    max-width:none;
  }

  .pkca--how .pkca-visual--interest,
  .pkca--how .pkca-visual--how-offers,
  .pkca--how .pkca-visual--how-assessment,
  .pkca--how .pkca-visual--how-winner{
    padding:16px;
  }

  .pkca--how[data-scene="interest"] .pkca__visual-wrap{
    min-height:610px;
  }

  .pkca--how[data-scene="offers"] .pkca__visual-wrap{
    min-height:500px;
  }

  .pkca--how[data-scene="assessment"] .pkca__visual-wrap{
    min-height:420px;
  }

  .pkca--how[data-scene="winner"] .pkca__visual-wrap{
    min-height:450px;
  }

  .pkca--how .pkca-visual--interest{
    grid-template-columns:1fr;
    align-content:center;
    gap:14px;
  }

  .pkca--how .pkca-interest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }

  .pkca--how .pkca-interest-panel{
    max-width:none;
  }

  .pkca--how .pkca-how-offers-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .pkca--how[data-scene="interest"] .pkca__visual-wrap{
    min-height:650px;
  }

  .pkca--how[data-scene="offers"] .pkca__visual-wrap{
    min-height:570px;
  }

  .pkca--how[data-scene="assessment"] .pkca__visual-wrap{
    min-height:465px;
  }

  .pkca--how[data-scene="winner"] .pkca__visual-wrap{
    min-height:485px;
  }

  .pkca--how .pkca-interest-grid,
  .pkca--how .pkca-how-offers-grid{
    grid-template-columns:1fr;
  }

  .pkca--how .pkca-mini-profile:nth-child(n+4){
    display:none;
  }

  .pkca--how .pkca-assessment-list>div{
    grid-template-columns:1fr 34px;
    gap:8px;
  }

  .pkca--how .pkca-assessment-list b{
    grid-column:1/-1;
    grid-row:2;
  }

  .pkca--how .pkca-assessment-list em{
    grid-column:2;
    grid-row:1;
  }

  .pkca--how .pkca-choice-card--winner{
    padding:16px;
  }

  .pkca--how .pkca-choice-card--winner .pkca-price-compare{
    grid-template-columns:1fr;
    gap:8px;
  }

  .pkca--how .pkca-choice-card--winner .pkca-price-compare>span{
    display:none;
  }
}
\n\n/* 6.3.3 — Bedste tilbud uses its own non-positional entrance animation. */
@keyframes pkcaWinnerIn{
  from{
    opacity:0;
    transform:translateY(12px) scale(.975);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.pkca--how .pkca-choice-card--winner{
  position:relative;
  inset:auto;
  left:auto;
  right:auto;
  top:auto;
  bottom:auto;
  transform:none;
  animation:pkcaWinnerIn .72s cubic-bezier(.16,.8,.24,1) both;
}

@media (prefers-reduced-motion:reduce){
  .pkca--how .pkca-choice-card--winner{
    animation:none;
    opacity:1;
    transform:none;
  }
}

/* 6.3.4 — evenly distribute the bottom step navigation */
.pkca--how .pkca__footer{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}

.pkca--how .pkca__steps{
  width:100%;
  flex:none;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}

.pkca--how .pkca__step{
  width:100%;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.pkca--how .pkca__step i{
  width:100%;
  flex:0 0 auto;
}

.pkca--how .pkca__step span{
  display:block;
  text-align:center;
  width:100%;
}

@media (max-width:980px){
  .pkca--how .pkca__footer{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .pkca--how .pkca__steps{
    gap:6px;
  }
}


/* 6.3.12 — match the compact footer navigation used by the front-page animation. */
@media (min-width:621px){
  .pkca--how .pkca__footer{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:28px;
  }

  .pkca--how .pkca__steps{
    width:auto;
    flex:0 1 auto;
    grid-template-columns:repeat(7,minmax(58px,92px));
    gap:8px;
    align-items:center;
    overflow:visible;
  }

  .pkca--how .pkca__step{
    width:auto;
    flex-direction:row;
    justify-content:flex-start;
    align-items:center;
    gap:9px;
    padding:9px 0;
    text-align:left;
  }

  .pkca--how .pkca__step i{
    order:initial;
    width:auto;
    height:2px;
    flex:1 1 auto;
  }

  .pkca--how .pkca__step span{
    order:initial;
    display:block;
    width:auto;
    color:inherit;
    font-size:10px;
    font-weight:760;
    line-height:1.2;
    letter-spacing:.07em;
    text-align:left;
    white-space:nowrap;
  }

  .pkca--how .pkca__footer-actions{
    flex:0 0 auto;
  }
}

@media (max-width:620px){
  .pkca--how .pkca__footer{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:13px;
  }

  .pkca--how .pkca__steps{
    width:100%;
    grid-template-columns:repeat(7,minmax(74px,1fr));
    gap:4px;
    overflow-x:auto;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }

  .pkca--how .pkca__steps::-webkit-scrollbar{
    display:none;
  }

  .pkca--how .pkca__step{
    scroll-snap-align:start;
  }
}


/* 6.3.13 — process heading matches the shared front-page eyebrow */
.pkca--how .pkca__top{
  margin-bottom:22px;
}
