@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Funnel+Display:wght@300;400;500;700&display=swap');

.kalkulator-wrapper {
  --st-blue-mid:   #0D3A6A;
  --st-blue-soft:  #4D9FFF;
  --st-blue-text:  #2287ff;
  --st-blue-bg:    #f0f7ff;
  --text-3xs: clamp(1.1rem, 1.2vw, 1.3rem);
  --text-2xs: clamp(1.3rem, 1.4vw, 1.5rem);
  --text-xs:  clamp(1.4rem, 1.6vw, 1.7rem);
  --text-s:   clamp(1.6rem, 1.8vw, 2.0rem);
  --text-m:   clamp(1.9rem, 2.2vw, 2.6rem);
  --text-l:   clamp(2.2rem, 3vw, 3.6rem);
  --pris-font: clamp(1.4rem, 1.5vw, 1.6rem);
  position: relative;
}

/* ===== HEADER ===== */
.kalkulator-wrapper .kalkulator-header {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.kalkulator-wrapper .kalkulatormerke {
  font-size: var(--text-3xs);
  font-weight: 700;
  color: var(--st-blue);
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.kalkulator-wrapper .kalkulator-header h1 {
  font-family: 'Platypi', serif;
  font-size: var(--text-m);
  font-weight: 700;
  color: var(--st-blue-dark);
  line-height: 1.15;
}

/* ===== TO-KOLONNER LAYOUT ===== */
.kalkulator-wrapper .to-kolonner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}

/* ===== VENSTRE KOLONNE (wizard) ===== */
.kalkulator-wrapper .kol-venstre {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 clamp(32px, 5vw, 60px) 0 0;
}

/* ===== HØYRE KOLONNE (dark panel) ===== */
.kalkulator-wrapper .kol-hoyre {
  background: var(--st-blue-dark);
  border-radius: var(--st-radius-xl);
  padding: clamp(18px, 2.5vw, 28px) clamp(16px, 2vw, 22px);
  position: sticky;
  top: 24px;
}

/* ===== STEG HEADER RAD ===== */
.kalkulator-wrapper .steg-header-rad {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* ===== NULLSTILL KNAPP ===== */
.kalkulator-wrapper .btn-nullstill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid rgba(0,114,255,0.3);
  border-radius: var(--st-radius-pill);
  color: var(--st-blue);
  font-family: var(--st-font-family);
  font-size: var(--text-3xs);
  font-weight: 500;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--st-transition);
}
.kalkulator-wrapper .btn-nullstill svg { width: 12px; height: 12px; fill: currentColor; }
@media (hover: hover) {
  .kalkulator-wrapper .btn-nullstill:hover { border-color: var(--st-blue); color: var(--st-blue); }
}

/* ===== PROGRESS (steg-bar) ===== */
.kalkulator-wrapper .steg-indikator {
  display: flex;
  flex: 1;
  gap: clamp(4px, 0.8vw, 7px);
}
.kalkulator-wrapper .steg-prikk {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(0,114,255,0.2);
  transition: all 0.3s var(--st-ease);
}
.kalkulator-wrapper .steg-prikk.aktiv { background: var(--st-blue); }
.kalkulator-wrapper .steg-prikk.ferdig { background: rgba(0,114,255,0.5); }

/* ===== STEG ===== */
.kalkulator-wrapper .kalk-steg { display: none; animation: fadeSteg 0.35s var(--st-ease); }
.kalkulator-wrapper .kalk-steg.aktiv { display: block; }
@keyframes fadeSteg {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.kalkulator-wrapper .steg-label {
  font-size: var(--text-3xs);
  font-weight: 700;
  color: var(--st-blue);
  margin-bottom: clamp(3px, 0.4vw, 5px);
}
.kalkulator-wrapper .steg-tittel {
  font-family: 'Platypi', serif;
  font-size: var(--text-l);
  font-weight: 700;
  color: var(--st-blue-dark);
  line-height: 1.1;
  margin-bottom: clamp(16px, 2.5vw, 28px);
}
.kalkulator-wrapper .steg-ingress {
  font-size: var(--text-xs);
  color: var(--st-blue-mid);
  line-height: 1.6;
  margin-bottom: clamp(16px, 2.5vw, 24px);
  margin-top: -10px;
}

/* ===== BRANSJE-GRID ===== */
.kalkulator-wrapper .bransje-grid-stor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 12px);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.kalkulator-wrapper .bransje-valg {
  background: var(--st-white);
  border: 1.5px solid rgba(0,114,255,0.15);
  border-radius: var(--st-radius-sm);
  padding: clamp(16px, 2vw, 24px) clamp(14px, 2vw, 20px);
  cursor: pointer;
  transition: all 0.3s var(--st-ease);
  text-align: center;
}
@media (hover: hover) {
  .kalkulator-wrapper .bransje-valg:hover {
    border-color: rgba(0,114,255,0.4);
    background: rgba(0,114,255,0.06);
  }
}
.kalkulator-wrapper .bransje-valg.valgt {
  border-color: var(--st-blue);
  background: rgba(0,114,255,0.08);
}
.kalkulator-wrapper .bransje-valg .bransje-ikon {
  display: block;
  width: clamp(2.2rem, calc(0.008 * (100vw - 36rem) + 2.2rem), 3.2rem);
  height: clamp(2.2rem, calc(0.008 * (100vw - 36rem) + 2.2rem), 3.2rem);
  margin: 0 auto clamp(8px, 1.2vw, 14px);
}
.kalkulator-wrapper .bransje-valg .bransje-ikon svg {
  width: 100%;
  height: 100%;
  fill: var(--st-blue);
}
.kalkulator-wrapper .bransje-navn {
  font-size: var(--text-2xs);
  font-weight: 500;
  color: var(--st-blue-dark);
  line-height: 1.2;
}

/* ===== SIDER-RAD (inkludert + legg til side om side) ===== */
.kalkulator-wrapper .sider-rad {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.kalkulator-wrapper .sider-rad .inkludert-sider {
  flex: 1;
}
.kalkulator-wrapper .sider-rad .tillegg-sider-seksjon {
  flex: 1;
}

/* ===== INKLUDERT SIDER ===== */
.kalkulator-wrapper .inkludert-sider {
  margin-bottom: 0;
}
.kalkulator-wrapper .inkludert-sider-label {
  font-family: 'Platypi', serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-dark);
  margin-bottom: 10px;
}
.kalkulator-wrapper .inkludert-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kalkulator-wrapper .inkludert-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,114,255,0.08);
  border: 1px solid rgba(0,114,255,0.2);
  border-radius: var(--st-radius-pill);
  padding: 5px 12px;
  font-size: var(--text-3xs);
  font-weight: 500;
  line-height: 1.5;
  color: var(--st-blue-dark);
}
.kalkulator-wrapper .inkludert-pill svg { width: 15px; height: 15px; fill: var(--st-blue); flex-shrink: 0; }

/* ===== TILLEGGSSIDER (legg til) ===== */
.kalkulator-wrapper .tillegg-sider-seksjon {
  margin-bottom: clamp(16px, 2vw, 24px);
}
.kalkulator-wrapper .tillegg-sider-tittel {
  font-family: 'Platypi', serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-dark);
  margin-bottom: 4px;
}
.kalkulator-wrapper .tillegg-sider-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kalkulator-wrapper .tillegg-side-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.4px solid var(--st-blue);
  border-radius: 100px;
  padding: 0px 14px;
  cursor: pointer;
  transition: background 0.2s var(--st-ease), color 0.2s var(--st-ease);
  user-select: none;
  font-family: var(--st-font-family);
  line-height: 2.4;
}
.kalkulator-wrapper .tillegg-side-pill-navn {
  font-size: var(--text-3xs);
  font-weight: 500;
  color: var(--st-blue-dark);
}
.kalkulator-wrapper .tillegg-side-pill .tillegg-side-pris {
  font-size: 1rem;
  color: var(--st-blue-mid);
  font-weight: 400;
}
@media (hover: hover) {
  .kalkulator-wrapper .tillegg-side-pill:hover {
    background: var(--st-blue);
  }
  .kalkulator-wrapper .tillegg-side-pill:hover .tillegg-side-pill-navn,
  .kalkulator-wrapper .tillegg-side-pill:hover .tillegg-side-pris { color: var(--st-white); }
}
.kalkulator-wrapper .tillegg-side-pill.valgt {
  background: var(--st-blue-dark);
  border-color: var(--st-blue-dark);
}
.kalkulator-wrapper .tillegg-side-pill.valgt .tillegg-side-pill-navn,
.kalkulator-wrapper .tillegg-side-pill.valgt .tillegg-side-pris { color: var(--st-white); }

/* ===== ANTALL TJENESTESIDER STEPPER ===== */
.kalkulator-wrapper .antall-velger {
  background: var(--st-white);
  border: 1.5px solid rgba(0,114,255,0.15);
  border-radius: var(--st-radius-md);
  padding: clamp(14px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(16px, 2vw, 24px);
  transition: var(--st-transition);
}
@media (hover: hover) {
  .kalkulator-wrapper .antall-velger:hover {
    border-color: var(--st-blue);
    background: rgba(0,114,255,0.06);
  }
}
.kalkulator-wrapper .antall-velger.aktiv {
  border-color: var(--st-blue);
  background: rgba(0,114,255,0.06);
}
.kalkulator-wrapper .antall-info { flex: 1; }
.kalkulator-wrapper .antall-navn {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-dark);
  margin-bottom: 2px;
}
.kalkulator-wrapper .antall-beskrivelse {
  font-size: var(--text-3xs);
  color: var(--st-blue-mid);
  line-height: 1.4;
}
.kalkulator-wrapper .antall-kontroll {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.kalkulator-wrapper .antall-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--st-blue-light);
  background: var(--st-white);
  color: var(--st-blue);
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--st-transition);
  line-height: 1;
}
@media (hover: hover) {
  .kalkulator-wrapper .antall-btn:hover {
    border-color: var(--st-blue);
    background: rgba(0,114,255,0.06);
  }
}
.kalkulator-wrapper .antall-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.kalkulator-wrapper .antall-tall {
  font-family: 'Platypi', serif;
  font-size: var(--text-s);
  font-weight: 700;
  color: var(--st-blue-dark);
  min-width: 28px;
  text-align: center;
}

/* ===== TILLEGG PILLS ===== */
.kalkulator-wrapper .tillegg-seksjon {
  margin-bottom: clamp(16px, 2vw, 24px);
}
.kalkulator-wrapper .tillegg-seksjon-tittel {
  font-family: 'Platypi', serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-dark);
  margin-bottom: clamp(8px, 1vw, 12px);
}
.kalkulator-wrapper .tillegg-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kalkulator-wrapper .tillegg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.4px solid var(--st-blue);
  border-radius: 100px;
  padding: 0px 12px;
  cursor: pointer;
  transition: background 0.2s var(--st-ease), color 0.2s var(--st-ease);
  user-select: none;
  font-family: var(--st-font-family);
  line-height: 2.4;
}
@media (hover: hover) {
  .kalkulator-wrapper .tillegg-pill:hover {
    background: var(--st-blue);
    color: var(--st-white);
  }
  .kalkulator-wrapper .tillegg-pill:hover .tillegg-pill-navn { color: var(--st-white); }
}
.kalkulator-wrapper .tillegg-pill.valgt {
  background: var(--st-blue-dark);
  border-color: var(--st-blue-dark);
  color: var(--st-white);
}
.kalkulator-wrapper .tillegg-pill.valgt .tillegg-pill-navn { color: var(--st-white); }
.kalkulator-wrapper .tillegg-pill-navn {
  font-size: var(--text-3xs);
  font-weight: 500;
  color: var(--st-blue-dark);
}

/* ===== VIDEO TOGGLE ===== */
.kalkulator-wrapper .video-rad {
  background: var(--st-white);
  border: 1.5px solid rgba(0,114,255,0.15);
  border-radius: var(--st-radius-md);
  padding: clamp(14px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 32px);
  cursor: pointer;
  transition: var(--st-transition);
}
.kalkulator-wrapper .video-rad.aktiv {
  border-color: var(--st-blue);
  background: rgba(0,114,255,0.06);
}
.kalkulator-wrapper .video-info { flex: 1; }
.kalkulator-wrapper .video-navn {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-dark);
  margin-bottom: 2px;
}
.kalkulator-wrapper .video-beskrivelse {
  font-size: var(--text-3xs);
  color: var(--st-blue-mid);
  line-height: 1.4;
}
.kalkulator-wrapper .video-toggle-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.kalkulator-wrapper .video-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--st-blue-light);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s var(--st-ease);
}
.kalkulator-wrapper .video-toggle.aktiv { background: #2287ff; }
.kalkulator-wrapper .video-toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s var(--st-ease);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.kalkulator-wrapper .video-toggle.aktiv .knob { transform: translateX(20px); }

/* ===== NAV KNAPPER ===== */
.kalkulator-wrapper .steg-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(24px, 3vw, 36px);
}
.kalkulator-wrapper .btn-neste {
  display: inline-flex;
  padding: 5px 5px 5px 15px;
  align-items: center;
  gap: 11px;
  border-radius: var(--st-radius-pill);
  background: var(--st-blue-dark);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--st-ease);
  font-family: var(--st-font-family);
  margin-left: auto;
}
.kalkulator-wrapper .btn-neste span {
  color: var(--st-blue-text);
  font-size: var(--text-xs);
  font-weight: 500;
}
.kalkulator-wrapper .btn-neste .button-icon {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--st-radius-pill);
  background: var(--st-blue-mid);
  transition: background 0.3s var(--st-ease);
}
.kalkulator-wrapper .btn-neste .button-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--st-blue-text);
  transition: transform 0.3s var(--st-ease);
  transform: rotate(-45deg);
}
@media (hover: hover) {
  .kalkulator-wrapper .btn-neste:hover {
    background: var(--st-blue-mid);
    transform: translateY(-2px);
  }
  .kalkulator-wrapper .btn-neste:hover .button-icon { background: var(--st-blue-dark); }
  .kalkulator-wrapper .btn-neste:hover .button-icon svg { transform: rotate(0deg); }
}
.kalkulator-wrapper .btn-tilbake {
  background: none;
  border: none;
  color: var(--st-blue-mid);
  font-family: var(--st-font-family);
  font-size: var(--text-3xs);
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}
@media (hover: hover) {
  .kalkulator-wrapper .btn-tilbake:hover { color: var(--st-blue-dark); }
}
.kalkulator-wrapper .btn-tilbake .btn-tilbake-ikon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}
.kalkulator-wrapper .btn-tilbake .btn-tilbake-ikon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ===== LEAD MAGNET SKJEMA ===== */
.kalkulator-wrapper .leadmagnet-skjema {
  display: none;
  animation: fadeSteg 0.35s var(--st-ease);
}
.kalkulator-wrapper .leadmagnet-skjema.vis { display: block; }
.kalkulator-wrapper .lead-gruppe {
  margin-bottom: clamp(16px, 2vw, 22px);
}
.kalkulator-wrapper .lead-gruppe label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-dark);
  margin-bottom: 4px;
}
.kalkulator-wrapper .lead-gruppe .lead-beskrivelse {
  font-size: var(--text-2xs);
  color: var(--st-blue-mid);
  margin-bottom: 10px;
  line-height: 1.4;
}
.kalkulator-wrapper .lead-gruppe input[type="text"],
.kalkulator-wrapper .lead-gruppe input[type="email"],
.kalkulator-wrapper .lead-gruppe input[type="tel"],
.kalkulator-wrapper .lead-gruppe textarea {
  width: 100%;
  font-family: var(--st-font-family);
  font-size: var(--text-s);
  padding: 0px 0 5px;
  border: none;
  border-bottom: 1.5px solid rgba(2,28,55,0.18);
  border-radius: 0;
  background: transparent;
  color: var(--st-blue-dark);
  outline: none;
  transition: border-color 0.2s var(--st-ease);
}
.kalkulator-wrapper .lead-gruppe input:focus,
.kalkulator-wrapper .lead-gruppe textarea:focus {
  border-bottom-color: var(--st-blue);
  box-shadow: none;
}
.kalkulator-wrapper .lead-gruppe input::placeholder,
.kalkulator-wrapper .lead-gruppe textarea::placeholder {
  color: rgba(2,28,55,0.3);
}
.kalkulator-wrapper .lead-gruppe textarea {
  resize: none;
  min-height: 36px;
  height: 36px;
  max-height: 320px;
  overflow: hidden;
  line-height: 1.5;
}
.kalkulator-wrapper .lead-rad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 3vw, 40px);
}

/* ===== BRREG ===== */
.kalkulator-wrapper .brreg-wrapper { position: relative; }
.kalkulator-wrapper .brreg-resultater {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--st-white);
  border: 1.5px solid var(--st-blue-light);
  border-top: none;
  border-radius: 0 0 var(--st-radius-sm) var(--st-radius-sm);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
  display: none;
  box-shadow: 0 8px 24px rgba(2,28,55,0.12);
}
.kalkulator-wrapper .brreg-resultater.vis { display: block; }
.kalkulator-wrapper .brreg-resultat {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(0,114,255,0.06);
}
.kalkulator-wrapper .brreg-resultat:last-child { border-bottom: none; }
@media (hover: hover) {
  .kalkulator-wrapper .brreg-resultat:hover { background: rgba(0,114,255,0.04); }
}
.kalkulator-wrapper .brreg-resultat-navn {
  font-size: var(--text-3xs);
  font-weight: 700;
  color: var(--st-blue-dark);
}
.kalkulator-wrapper .brreg-resultat-info {
  font-size: 1.1rem;
  color: var(--st-blue-mid);
}
.kalkulator-wrapper .brreg-valgt {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(0,114,255,0.06);
  border: 1px solid rgba(0,114,255,0.15);
  border-radius: var(--st-radius-sm);
  padding: 8px 12px;
  margin-top: 6px;
}
.kalkulator-wrapper .brreg-valgt.vis { display: flex; }
.kalkulator-wrapper .brreg-valgt-tekst { flex: 1; font-size: var(--text-3xs); color: var(--st-blue-dark); }
.kalkulator-wrapper .brreg-valgt-fjern {
  background: none; border: none; cursor: pointer; color: var(--st-blue-mid);
  font-size: 1.6rem; line-height: 1; padding: 2px 6px;
}
@media (hover: hover) {
  .kalkulator-wrapper .brreg-valgt-fjern:hover { color: #d00; }
}

/* ===== LEAD PILLS (tjenester i skjema) ===== */
.kalkulator-wrapper .lead-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.kalkulator-wrapper .lead-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.4px solid var(--st-blue);
  border-radius: 100px;
  padding: 0px 12px;
  font-size: var(--text-3xs);
  font-weight: 500;
  color: var(--st-blue-dark);
  cursor: pointer;
  transition: background 0.2s var(--st-ease), color 0.2s var(--st-ease);
  user-select: none;
  font-family: var(--st-font-family);
  line-height: 2.4;
}
@media (hover: hover) {
  .kalkulator-wrapper .lead-pill:hover { background: var(--st-blue); color: var(--st-white); }
}
.kalkulator-wrapper .lead-pill.valgt {
  background: var(--st-blue-dark);
  color: var(--st-white);
  border-color: var(--st-blue-dark);
}
.kalkulator-wrapper .lead-pill.egendefinert {
  background: rgba(0,114,255,0.06);
  border-color: rgba(0,114,255,0.2);
}
.kalkulator-wrapper .lead-pill.egendefinert.valgt {
  background: var(--st-blue-dark);
  border-color: var(--st-blue-dark);
  color: var(--st-white);
}
.kalkulator-wrapper .lead-pill .fjern-pill {
  margin-left: 2px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.5;
}
@media (hover: hover) {
  .kalkulator-wrapper .lead-pill .fjern-pill:hover { opacity: 1; }
}
.kalkulator-wrapper .lead-egendefinert-input {
  width: 100%;
  font-family: var(--st-font-family);
  font-size: var(--text-s);
  padding: 0px 0 5px;
  border: none;
  border-bottom: 1.5px solid rgba(2,28,55,0.12);
  border-radius: 0;
  background: transparent;
  color: var(--st-blue-dark);
  outline: none;
  transition: border-color 0.2s var(--st-ease);
}
.kalkulator-wrapper .lead-egendefinert-input:focus { border-bottom-color: var(--st-blue); }
.kalkulator-wrapper .lead-egendefinert-input::placeholder { color: rgba(2,28,55,0.3); }

/* ===== STIL SELECTOR ===== */
.kalkulator-wrapper .stil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.5vw, 16px);
}
.kalkulator-wrapper .stil-valg {
  background: var(--st-white);
  border: 1.5px solid rgba(0,114,255,0.15);
  border-radius: var(--st-radius-md);
  padding: clamp(16px, 2vw, 24px);
  cursor: pointer;
  transition: all 0.3s var(--st-ease);
  text-align: left;
}
@media (hover: hover) {
  .kalkulator-wrapper .stil-valg:hover {
    border-color: rgba(0,114,255,0.4);
    background: rgba(0,114,255,0.06);
  }
}
.kalkulator-wrapper .stil-valg.valgt {
  border-color: var(--st-blue);
  background: rgba(0,114,255,0.08);
}
.kalkulator-wrapper .stil-valg-navn {
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--st-blue-dark);
  margin-bottom: 4px;
}
.kalkulator-wrapper .stil-valg-beskrivelse {
  font-size: var(--text-3xs);
  color: var(--st-blue-mid);
  line-height: 1.5;
}
.kalkulator-wrapper .stil-farger {
  display: flex;
  gap: 4px;
  margin-top: clamp(8px, 1vw, 12px);
}
.kalkulator-wrapper .stil-farge {
  width: clamp(18px, 2vw, 24px);
  height: clamp(18px, 2vw, 24px);
  border-radius: 50%;
  border: 1.5px solid rgba(2,28,55,0.1);
}

/* ===== PERSONVERN ===== */
.kalkulator-wrapper .personvern-tekst {
  font-size: 1.1rem;
  color: var(--st-blue-mid);
  line-height: 1.5;
  margin: clamp(12px, 1.5vw, 16px) 0;
}
.kalkulator-wrapper .personvern-tekst a { color: var(--st-blue); text-decoration: underline; }

/* ===== SEND KNAPP ===== */
.kalkulator-wrapper .btn-send {
  display: inline-flex;
  padding: 5px 5px 5px 18px;
  align-items: center;
  gap: 11px;
  border-radius: var(--st-radius-pill);
  background: var(--st-blue-dark);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--st-ease);
  font-family: var(--st-font-family);
  width: 100%;
  justify-content: center;
}
.kalkulator-wrapper .btn-send span {
  color: var(--st-blue-text);
  font-size: var(--text-xs);
  font-weight: 500;
}
.kalkulator-wrapper .btn-send .button-icon {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--st-radius-pill);
  background: var(--st-blue-mid);
  transition: background 0.3s var(--st-ease);
}
.kalkulator-wrapper .btn-send .button-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--st-blue-text);
  transition: transform 0.3s var(--st-ease);
  transform: rotate(-45deg);
}
@media (hover: hover) {
  .kalkulator-wrapper .btn-send:hover {
    background: var(--st-blue-mid);
    transform: translateY(-2px);
  }
  .kalkulator-wrapper .btn-send:hover .button-icon { background: var(--st-blue-dark); }
  .kalkulator-wrapper .btn-send:hover .button-icon svg { transform: rotate(0deg); }
}

/* ===== HØYRE: ESTIMAT ===== */
.kalkulator-wrapper .estimat-boks {
  margin-bottom: clamp(16px, 2vw, 24px);
}
.kalkulator-wrapper .estimat-tittel {
  font-family: 'Platypi', serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-text);
  margin-bottom: 4px;
}
.kalkulator-wrapper .estimat-sum {
  font-family: 'Platypi', serif;
  font-size: clamp(3.2rem, 4vw, 4.4rem);
  font-weight: 700;
  color: var(--st-white);
  line-height: 1.1;
}
.kalkulator-wrapper .estimat-sum span.suffix {
  font-size: 0.5em;
  font-weight: 700;
  opacity: 0.7;
}
.kalkulator-wrapper .estimat-linje { height: 1px; background: rgba(255,255,255,0.1); margin: clamp(10px, 1.5vw, 16px) 0; }

/* ===== HØYRE: DETALJE-RADER ===== */
.kalkulator-wrapper .estimat-detaljer { margin-bottom: clamp(12px, 2vw, 20px); }
.kalkulator-wrapper .estimat-rad {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-3xs);
  color: #fff;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kalkulator-wrapper .estimat-rad:last-child { border-bottom: none; }
.kalkulator-wrapper .estimat-rad .rad-navn { font-weight: 400; }
.kalkulator-wrapper .estimat-rad .rad-pris { font-family: 'Platypi', serif; font-weight: 700; color: #fff; }
.kalkulator-wrapper .estimat-merknad {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-top: 4px;
}

/* ===== HØYRE: GARANTI ===== */
.kalkulator-wrapper .garanti-overskrift {
  font-family: 'Platypi', serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--st-blue-text);
  margin-bottom: clamp(8px, 1.2vw, 12px);
}
.kalkulator-wrapper .garanti-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.5;
}
.kalkulator-wrapper .garanti-punkt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-3xs);
  color: #fff;
  position: relative;
  cursor: default;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kalkulator-wrapper .garanti-punkt:last-child { border-bottom: none; }
.kalkulator-wrapper .garanti-punkt[data-tooltip] { cursor: pointer; }
.kalkulator-wrapper .garanti-ikon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.kalkulator-wrapper .garanti-ikon svg { width: 100%; height: 100%; fill: var(--st-blue-text); }
.kalkulator-wrapper .garanti-navn { flex: 1; }
.kalkulator-wrapper .tooltip-trigger {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34,135,255,0.15);
  color: var(--st-blue-text);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
}

/* ===== TOOLTIP ===== */
.kalkulator-wrapper .kalkulator-tooltip {
  position: absolute;
  background: var(--st-white);
  color: var(--st-blue-dark);
  font-size: var(--text-3xs);
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: var(--st-radius-sm);
  box-shadow: 0 8px 32px rgba(2,28,55,0.18), 0 2px 8px rgba(2,28,55,0.08);
  max-width: 280px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.kalkulator-wrapper .kalkulator-tooltip.vis { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ===== MOBIL STICKY ESTIMAT ===== */
.kalkulator-wrapper .mobil-estimat-bar {
  display: none;
  position: sticky;
  bottom: 0;
  background: var(--st-blue-dark);
  padding: 12px clamp(16px, 4vw, 24px);
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(2,28,55,0.2);
  border-radius: var(--st-radius-md) var(--st-radius-md) 0 0;
}
.kalkulator-wrapper .mobil-estimat-bar .mobil-estimat-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}
.kalkulator-wrapper .mobil-estimat-bar .mobil-estimat-label {
  font-size: var(--text-3xs);
  font-weight: 500;
  color: var(--st-blue);
}
.kalkulator-wrapper .mobil-estimat-bar .mobil-estimat-sum {
  font-family: 'Platypi', serif;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--st-white);
  line-height: 1.1;
}
.kalkulator-wrapper .mobil-estimat-bar .mobil-estimat-suffix {
  font-size: 0.6em;
  font-weight: 700;
  opacity: 0.7;
}
.kalkulator-wrapper .mobil-estimat-bar .mobil-estimat-mva {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIV ===== */
@media (max-width: 820px) {
  .kalkulator-wrapper .to-kolonner { grid-template-columns: 1fr; gap: 0; }
  .kalkulator-wrapper .kol-venstre {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: clamp(16px, 4vw, 24px);
  }
  .kalkulator-wrapper .kol-hoyre {
    position: static;
    top: auto;
    background: transparent;
    border-radius: 0;
    padding: clamp(16px, 4vw, 24px);
    padding-top: 0;
  }
  .kalkulator-wrapper .kol-hoyre .estimat-boks,
  .kalkulator-wrapper .kol-hoyre .estimat-detaljer,
  .kalkulator-wrapper .kol-hoyre .estimat-merknad,
  .kalkulator-wrapper .kol-hoyre .estimat-linje {
    display: none;
  }
  .kalkulator-wrapper .kol-hoyre .garanti-overskrift {
    color: var(--st-blue-dark);
  }
  .kalkulator-wrapper .kol-hoyre .garanti-liste .garanti-punkt {
    color: var(--st-blue-dark);
  }
  .kalkulator-wrapper .kol-hoyre .garanti-liste .garanti-ikon svg {
    fill: var(--st-blue);
  }
  .kalkulator-wrapper .kol-hoyre .garanti-liste .tooltip-trigger {
    background: rgba(0,114,255,0.1);
    color: var(--st-blue);
  }
  .kalkulator-wrapper .mobil-estimat-bar { display: block; }
  .kalkulator-wrapper .bransje-grid-stor { grid-template-columns: repeat(3, 1fr); }
  .kalkulator-wrapper .stil-grid { grid-template-columns: repeat(2, 1fr); }
  .kalkulator-wrapper .lead-rad { grid-template-columns: 1fr; }
  .kalkulator-wrapper .sider-rad { flex-direction: column; gap: 16px; }
}
@media (max-width: 500px) {
  .kalkulator-wrapper .bransje-grid-stor { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SKJEMA FEEDBACK ===== */
.kalkulator-wrapper .skjema-melding {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: var(--text-3xs);
  margin-bottom: 12px;
  line-height: 1.5;
}
.kalkulator-wrapper .skjema-feil {
  background: #fff0f0;
  color: #cc3333;
  border: 1px solid #ffcccc;
}
.kalkulator-wrapper .btn-send.sender {
  opacity: .6;
  pointer-events: none;
}

/* ===== SUKSESS-STATE ===== */
.kalkulator-wrapper .skjema-suksess {
  text-align: center;
  padding: 48px 24px;
}
.kalkulator-wrapper .suksess-ikon {
  width: 64px;
  height: 64px;
  background: rgba(34, 135, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.kalkulator-wrapper .suksess-ikon svg {
  width: 32px;
  height: 32px;
  color: #2287ff;
}
.kalkulator-wrapper .suksess-tittel {
  font-family: 'Platypi', serif;
  font-size: var(--text-m);
  color: #0D3A6A;
  margin: 0 0 12px;
}
.kalkulator-wrapper .suksess-tekst {
  font-size: var(--text-2xs);
  color: #555;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.kalkulator-wrapper .suksess-undertekst {
  font-size: var(--text-3xs);
  color: #999;
  margin: 0;
}
