/* Sydhavs Puds – Prisberegner. Samme farver, typografi og former som sydhavspuds-sitet. */
.spb {
	--spb-primary: #05335F;
	--spb-accent: #FFC921;
	--spb-ink: #021B35;
	--spb-sea: #0090A9;
	--spb-sea-soft: #D1F2F8;
	--spb-sea-dark: #00707F;
	--spb-bg: #F9FCFE;
	--spb-muted: #EDF5F9;
	--spb-fg: #06203B;
	--spb-mfg: #4D6074;
	--spb-border: #D4E0E6;
	--spb-input: #CBDAE2;
	--spb-head: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
	--spb-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--spb-shadow: 0 1px 2px rgba(6, 32, 59, .05), 0 12px 32px -16px rgba(6, 32, 59, .18);
	--spb-shadow-cta: 0 10px 24px -10px rgba(228, 158, 0, .7);
	--spb-ring: 0 0 0 4px rgba(0, 144, 169, .18);
	container-type: inline-size;
	container-name: spb;
	width: 100%;
	color: var(--spb-fg);
	font-family: var(--spb-body);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.spb *, .spb *::before, .spb *::after { box-sizing: border-box; }
.spb [hidden] { display: none !important; }
.spb svg { display: block; flex-shrink: 0; }
.spb p { margin: 0; }
.spb h2, .spb h3 { margin: 0; padding: 0; text-transform: none; }
.spb ul, .spb ol, .spb dl, .spb dd { margin: 0; padding: 0; list-style: none; }
.spb button { font: inherit; letter-spacing: inherit; text-transform: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; box-shadow: none; text-align: inherit; white-space: normal; cursor: pointer; transition: none; -webkit-tap-highlight-color: transparent; }
.spb button:focus:not(:focus-visible) { outline: none; }
.spb :focus-visible { outline: 3px solid rgba(0, 144, 169, .55); outline-offset: 2px; }
.spb a { color: inherit; }
.spb img { max-width: 100%; height: auto; border: 0; box-shadow: none; }

/* ---------------------------------------------------------------- kort */
.spb .spb-card {
	--pad: 40px;
	position: relative;
	background: #fff;
	border: 1px solid var(--spb-border);
	border-radius: 26px;
	box-shadow: var(--spb-shadow);
	padding: var(--pad);
	min-height: 360px;
}
.spb--bare .spb-card { --pad: 0px; background: transparent; border: 0; box-shadow: none; min-height: 0; }
@container spb (max-width: 640px) { .spb .spb-card { --pad: 20px; border-radius: 22px; } }

.spb .spb-boot { display: flex; gap: 8px; justify-content: center; align-items: center; min-height: 280px; }
.spb .spb-boot span { width: 10px; height: 10px; border-radius: 50%; background: var(--spb-sea); animation: spbDot 1s infinite ease-in-out; }
.spb .spb-boot span:nth-child(2) { animation-delay: .15s; }
.spb .spb-boot span:nth-child(3) { animation-delay: .3s; }
@keyframes spbDot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

.spb .spb-stage { animation: spbIn .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes spbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.spb.is-busy .spb-tile { pointer-events: none; }

/* ---------------------------------------------------------------- trin-oversigt */
.spb .spb-progress-wrap {
	margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 36px;
	padding: 22px var(--pad) 20px;
	background: linear-gradient(180deg, #F3F9FC 0%, #F8FCFE 100%);
	border-bottom: 1px solid var(--spb-border);
	border-radius: 25px 25px 0 0;
}
.spb--bare .spb-progress-wrap { margin: 0 0 32px; padding: 0 0 20px; background: none; border-radius: 0; }
.spb .spb-progress { position: relative; display: flex; justify-content: space-between; max-width: 760px; margin: 0 auto; }
.spb .spb-progress::before, .spb .spb-progress::after { content: ""; position: absolute; top: 15px; left: 16px; height: 2px; border-radius: 2px; }
.spb .spb-progress::before { right: 16px; background: var(--spb-border); }
.spb .spb-progress::after { width: calc((100% - 32px) * var(--spb-progress-f, 0)); background: var(--spb-sea); transition: width .4s ease; }
.spb .spb-progress li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.spb .spb-progress li:first-child { align-items: flex-start; }
.spb .spb-progress li:last-child { align-items: flex-end; }
.spb .spb-progress-btn { display: flex; flex-direction: column; align-items: inherit; gap: 8px; }
.spb button.spb-progress-btn:hover .spb-progress-label { color: var(--spb-primary); text-decoration: underline; text-underline-offset: 3px; }
.spb .spb-dot { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--spb-border); color: var(--spb-mfg); font-weight: 700; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; transition: all .25s; }
.spb .spb-dot svg { width: 15px; height: 15px; }
.spb .is-current .spb-dot { background: var(--spb-primary); border-color: var(--spb-primary); color: #fff; box-shadow: 0 0 0 5px rgba(5, 51, 95, .1); }
.spb .is-done .spb-dot { background: var(--spb-sea); border-color: var(--spb-sea); color: #fff; }
.spb .spb-progress-label { font-size: 13px; font-weight: 600; color: var(--spb-mfg); white-space: nowrap; }
.spb .is-current .spb-progress-label { color: var(--spb-fg); }
@container spb (max-width: 560px) {
	.spb .spb-progress-label { display: none; }
	.spb .spb-progress-wrap { margin-bottom: 24px; padding-top: 16px; padding-bottom: 16px; }
	.spb .spb-dot { width: 28px; height: 28px; font-size: 12px; }
	.spb .spb-progress::before, .spb .spb-progress::after { top: 13px; left: 14px; }
	.spb .spb-progress::before { right: 14px; }
}

/* ---------------------------------------------------------------- overskrift */
.spb .spb-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.spb .spb-eyebrow { font-size: 12.8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--spb-sea); line-height: 1.4; }
.spb .spb-title { font-family: var(--spb-head); font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--spb-fg); margin-top: 8px; outline: none; }
.spb .spb-sub { margin-top: 10px; font-size: 17px; color: var(--spb-mfg); line-height: 1.55; }
@container spb (max-width: 560px) {
	.spb .spb-title { font-size: 25px; }
	.spb .spb-sub { font-size: 15.5px; }
	.spb .spb-head { margin-bottom: 24px; }
}

/* ---------------------------------------------------------------- valg-kort (boligtype, etager, vinduer) */
.spb .spb-tiles { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container spb (min-width: 720px) {
	.spb .spb-tiles--housing { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.spb .spb-tiles--plan { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.spb .spb-tiles--plan[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 780px; margin: 0 auto; }
	.spb .spb-tiles--plan[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; margin: 0 auto; }
}
.spb .spb-tile, .spb .spb-tile:focus {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	background: #fff;
	color: var(--spb-fg);
	border: 1.5px solid var(--spb-border);
	border-radius: 22px;
	padding: 10px 10px 18px;
	transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, border-color .2s, background-color .2s;
}
.spb .spb-tile:hover { border-color: var(--spb-sea); background: #fff; color: var(--spb-fg); box-shadow: var(--spb-shadow); transform: translateY(-3px); }
.spb .spb-tile.is-selected, .spb .spb-tile.is-selected:hover, .spb .spb-tile.is-selected:focus { border-color: var(--spb-primary); background: #F6FBFD; box-shadow: 0 0 0 3px rgba(5, 51, 95, .1), var(--spb-shadow); }
.spb .spb-tile-media { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 3 / 2; padding: 14px 10px 0; border-radius: 15px; background: linear-gradient(180deg, #E4F3F8 0%, #F4FAFC 100%); overflow: hidden; }
.spb .spb-tile-media img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.spb .spb-tile:hover .spb-tile-media img { transform: scale(1.05) translateY(-2px); }
.spb .spb-tile-body { display: block; padding: 14px 8px 0; }
.spb .spb-tile-title { display: block; font-family: var(--spb-head); font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--spb-fg); }
.spb .spb-tile-sub { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--spb-mfg); }
.spb .spb-tile-check { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 1.5px solid var(--spb-border); color: transparent; transition: all .2s; }
.spb .spb-tile-check svg { width: 14px; height: 14px; }
.spb .spb-tile.is-selected .spb-tile-check { background: var(--spb-sea); border-color: var(--spb-sea); color: #fff; animation: spbPop .3s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes spbPop { from { transform: scale(.4); } to { transform: scale(1); } }
@container spb (max-width: 560px) {
	.spb .spb-tiles { gap: 10px; }
	.spb .spb-tile, .spb .spb-tile:focus { padding: 6px 6px 14px; border-radius: 18px; }
	.spb .spb-tile-media { border-radius: 13px; padding: 10px 6px 0; }
	.spb .spb-tile-body { padding: 10px 6px 0; }
	.spb .spb-tile-title { font-size: 15.5px; }
	.spb .spb-tile-sub { font-size: 12.5px; }
	.spb .spb-tile-check { top: 12px; right: 12px; width: 22px; height: 22px; }
}

/* små kort til vinduestyper */
.spb .spb-tiles--window { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 12px; }
.spb .spb-tile--sm, .spb .spb-tile--sm:focus { padding: 8px 8px 12px; border-radius: 18px; text-align: center; }
.spb .spb-tile--sm .spb-tile-media { aspect-ratio: 1 / 1; padding: 12px; align-items: center; border-radius: 12px; background: #F1F8FB; }
.spb .spb-tile--sm .spb-tile-body { padding: 10px 2px 0; }
.spb .spb-tile--sm .spb-tile-title { font-family: var(--spb-body); font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.spb .spb-tile--sm .spb-tile-check { top: 12px; right: 12px; width: 22px; height: 22px; }
.spb .spb-tile--sm .spb-tile-check svg { width: 12px; height: 12px; }
@container spb (max-width: 560px) {
	.spb .spb-tiles--window { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.spb .spb-tile--sm, .spb .spb-tile--sm:focus { padding: 6px 4px 10px; border-radius: 14px; }
	.spb .spb-tile--sm .spb-tile-title { font-size: 12px; }
	.spb .spb-tile--sm .spb-tile-media { padding: 10px; }
}

/* ---------------------------------------------------------------- detaljer */
.spb .spb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.spb .spb-full { grid-column: 1 / -1; }
@container spb (max-width: 640px) { .spb .spb-form-grid { grid-template-columns: 1fr; } }
.spb .spb-group { background: #F7FBFD; border: 1px solid var(--spb-border); border-radius: 22px; padding: 22px; }
@container spb (max-width: 560px) { .spb .spb-group { padding: 18px 16px; border-radius: 18px; } }
.spb .spb-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spb .spb-label { display: block; margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--spb-fg); vertical-align: baseline; }
.spb p.spb-label { margin-bottom: 14px; }
.spb .spb-pill { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; background: #fff; border: 1.5px solid var(--spb-input); border-radius: 9999px; padding: 3px 16px 3px 6px; transition: border-color .15s, box-shadow .15s; }
.spb .spb-pill:focus-within { border-color: var(--spb-sea); box-shadow: var(--spb-ring); }
.spb .spb-pill input[type=number] { width: 66px; height: 38px; margin: 0; padding: 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; text-align: right; font-family: var(--spb-head); font-size: 20px; font-weight: 800; color: var(--spb-fg); -moz-appearance: textfield; }
.spb .spb-pill input[type=number]::-webkit-outer-spin-button, .spb .spb-pill input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.spb .spb-pill span { font-size: 15px; font-weight: 600; color: var(--spb-mfg); }
.spb .spb-help { margin-top: 10px; font-size: 13.5px; color: var(--spb-mfg); line-height: 1.45; }
.spb .spb-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--spb-mfg); font-variant-numeric: tabular-nums; }

/* skyder */
.spb input.spb-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 16px 0 2px; padding: 0; background: transparent; border: 0; cursor: pointer; --spb-fill: 0%; }
.spb input.spb-range:focus { outline: none; }
.spb input.spb-range::-webkit-slider-runnable-track { height: 8px; border-radius: 9999px; background: linear-gradient(to right, var(--spb-sea) 0, var(--spb-sea) var(--spb-fill), #D9E6EC var(--spb-fill), #D9E6EC 100%); }
.spb input.spb-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--spb-primary); box-shadow: 0 3px 10px rgba(6, 32, 59, .25); transition: transform .15s, box-shadow .15s; }
.spb input.spb-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.spb input.spb-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(0, 144, 169, .25), 0 3px 10px rgba(6, 32, 59, .25); }
.spb input.spb-range::-moz-range-track { height: 8px; border-radius: 9999px; background: #D9E6EC; }
.spb input.spb-range::-moz-range-progress { height: 8px; border-radius: 9999px; background: var(--spb-sea); }
.spb input.spb-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--spb-primary); box-shadow: 0 3px 10px rgba(6, 32, 59, .25); }

/* til/fra-kort */
.spb .spb-toggles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.spb .spb-toggle { background: #fff; border: 1.5px solid var(--spb-border); border-radius: 18px; padding: 16px; transition: border-color .2s, background-color .2s; }
.spb .spb-toggle:hover { border-color: #A9C6D3; }
.spb .spb-toggle.is-on { border-color: var(--spb-sea); background: #F1FAFC; }
.spb .spb-toggle-main { display: flex; gap: 14px; align-items: flex-start; margin: 0; cursor: pointer; line-height: 1.4; vertical-align: baseline; }
.spb .spb-toggle-main input, .spb .spb-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.spb .spb-switch { position: relative; flex: 0 0 44px; width: 44px; height: 26px; margin-top: 1px; border-radius: 9999px; background: #CBD8E0; transition: background-color .2s; }
.spb .spb-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(6, 32, 59, .3); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.spb input:checked + .spb-switch { background: var(--spb-sea); }
.spb input:checked + .spb-switch::after { transform: translateX(18px); }
.spb input:focus-visible + .spb-switch, .spb input:focus-visible + .spb-box { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0, 144, 169, .5); }
.spb .spb-toggle-info { display: block; min-width: 0; }
.spb .spb-toggle-label { display: block; font-size: 15.5px; font-weight: 700; color: var(--spb-fg); }
.spb .spb-toggle-desc { display: block; margin-top: 2px; font-size: 13.5px; color: var(--spb-mfg); line-height: 1.45; }
.spb .spb-stepper { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--spb-border); }
.spb .spb-stepper > span { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--spb-mfg); }
.spb .spb-step-btn, .spb .spb-step-btn:focus { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--spb-input); background: #fff; color: var(--spb-primary); transition: all .15s; }
.spb .spb-step-btn:hover { border-color: var(--spb-primary); background: var(--spb-primary); color: #fff; }
.spb .spb-step-btn svg { width: 16px; height: 16px; }
.spb .spb-stepper output { min-width: 30px; text-align: center; font-family: var(--spb-head); font-size: 18px; font-weight: 800; color: var(--spb-fg); font-variant-numeric: tabular-nums; }

/* prisbjælke */
.spb .spb-bar {
	position: sticky;
	bottom: 16px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 24px;
	padding: 16px 16px 16px 26px;
	border-radius: 22px;
	color: #EFF7FB;
	background: radial-gradient(120% 180% at 100% 0%, #0B4777 0%, var(--spb-primary) 40%, var(--spb-ink) 100%);
	box-shadow: 0 18px 40px -18px rgba(2, 27, 53, .55);
}
@media (max-width: 639px) { .spb .spb-bar { bottom: 10px; } }
/* Sitets faste mobilbjælke ("Klik din pris") er overflødig, når beregneren står på siden. */
body:has(.spb) .sp-mbar { display: none !important; }
@media (max-width: 639px) { body:has(.spb) .e-con.sp-footer { padding-bottom: 0 !important; } }
.spb .spb-teaser { display: grid; grid-template-columns: auto auto; grid-template-areas: "label label" "price sub"; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.spb .spb-teaser-label { grid-area: label; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(239, 247, 251, .7); }
.spb .spb-teaser-price { grid-area: price; font-family: var(--spb-head); font-size: 20px; font-weight: 700; color: #fff; white-space: nowrap; }
.spb .spb-teaser-price b { display: inline-block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--spb-accent); }
.spb .spb-teaser-price b.is-bump { animation: spbBump .35s ease; }
@keyframes spbBump { 40% { transform: scale(1.08); } }
.spb .spb-teaser-sub { grid-area: sub; font-size: 13.5px; color: rgba(239, 247, 251, .75); }
.spb .spb-actions { display: flex; gap: 10px; align-items: center; }
.spb .spb-bar .spb-btn--ghost, .spb .spb-bar .spb-btn--ghost:focus { color: #EFF7FB; border-color: rgba(239, 247, 251, .3); background: transparent; }
.spb .spb-bar .spb-btn--ghost:hover { background: rgba(239, 247, 251, .1); color: #fff; border-color: rgba(239, 247, 251, .5); }
.spb .spb-bar.is-disabled .spb-teaser-price b { color: rgba(239, 247, 251, .5); }
@container spb (max-width: 640px) {
	.spb .spb-bar { gap: 10px; padding: 10px 10px 10px 14px; margin-left: -8px; margin-right: -8px; border-radius: 20px; }
	.spb .spb-teaser { grid-template-columns: auto; grid-template-areas: "label" "price"; flex: 1; min-width: 0; }
	.spb .spb-teaser-label { font-size: 10.5px; letter-spacing: .08em; }
	.spb .spb-teaser-price { font-size: 16px; }
	.spb .spb-teaser-price b { font-size: 28px; }
	.spb .spb-teaser-sub { display: none; }
	.spb .spb-bar .spb-actions { display: contents; }
	.spb .spb-actions .spb-btn, .spb .spb-actions .spb-btn:focus { height: 48px; border-radius: 15px; }
	.spb .spb-actions .spb-btn--cta, .spb .spb-actions .spb-btn--cta:focus { padding: 0 16px; font-size: 15px; order: 1; }
	.spb .spb-actions .spb-btn--ghost span { display: none; }
	.spb .spb-actions .spb-btn--ghost, .spb .spb-actions .spb-btn--ghost:focus { width: 44px; padding: 0; flex: 0 0 44px; order: -1; }
}

.spb .spb-over, .spb .spb-notice, .spb .spb-alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.spb .spb-over, .spb .spb-notice { background: #FFF8E1; border: 1px solid #FFE08A; color: #4A3A00; }
.spb .spb-over svg, .spb .spb-notice svg, .spb .spb-alert svg { width: 20px; height: 20px; margin-top: 1px; }
.spb .spb-over a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--spb-primary); text-decoration: none; }
.spb .spb-over a svg { width: 16px; height: 16px; margin: 0; }
.spb .spb-over strong { display: block; font-weight: 600; }
.spb .spb-alert { background: #FDECEC; border: 1px solid #F6C4C4; color: #8E1C1C; }

/* ---------------------------------------------------------------- knapper */
.spb .spb-btn, .spb .spb-btn:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 56px;
	padding: 0 28px;
	border: 1.5px solid transparent;
	border-radius: 18px;
	font-family: var(--spb-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.spb .spb-btn svg { width: 18px; height: 18px; }
.spb .spb-btn--cta, .spb .spb-btn--cta:focus { background: var(--spb-accent); color: var(--spb-ink); box-shadow: var(--spb-shadow-cta); }
.spb .spb-btn--cta:hover { background: var(--spb-accent); color: var(--spb-ink); filter: brightness(1.05); transform: translateY(-1px); }
.spb .spb-btn--cta:hover svg { transform: translateX(2px); }
.spb .spb-btn--cta svg { transition: transform .15s; }
.spb .spb-btn--ghost, .spb .spb-btn--ghost:focus { background: transparent; color: var(--spb-fg); border-color: var(--spb-input); padding: 0 22px; }
.spb .spb-btn--ghost:hover { background: var(--spb-muted); color: var(--spb-fg); border-color: var(--spb-input); }
.spb .spb-btn--outline, .spb .spb-btn--outline:focus { background: #fff; color: var(--spb-primary); border-color: var(--spb-primary); }
.spb .spb-btn--outline:hover { background: var(--spb-primary); color: #fff; border-color: var(--spb-primary); }
.spb .spb-btn--block { display: flex; width: 100%; }
.spb .spb-btn--lg, .spb .spb-btn--lg:focus { height: 62px; font-size: 17px; }
.spb .spb-btn:disabled, .spb .spb-btn:disabled:hover { opacity: .5; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }
.spb .spb-btn.is-loading { position: relative; color: transparent !important; }
.spb .spb-btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(2, 27, 53, .25); border-top-color: var(--spb-ink); animation: spbSpin .7s linear infinite; }
.spb .spb-btn.is-loading svg { opacity: 0; }
@keyframes spbSpin { to { transform: rotate(360deg); } }

.spb .spb-link, .spb .spb-link:focus { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--spb-sea-dark); background: none; }
.spb .spb-link:hover { color: var(--spb-primary); background: none; text-decoration: underline; text-underline-offset: 3px; }
.spb .spb-link svg { width: 15px; height: 15px; }

.spb .spb-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--spb-border); }
.spb .spb-foot--center { justify-content: center; }
.spb a.spb-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--spb-fg); text-decoration: none; }
.spb a.spb-phone svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--spb-sea-soft); color: var(--spb-primary); transition: transform .2s; }
.spb a.spb-phone strong { color: var(--spb-primary); white-space: nowrap; }
.spb a.spb-phone:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.spb a.spb-phone:hover svg { transform: rotate(-12deg); }
@container spb (max-width: 480px) { .spb .spb-foot .spb-phone > span { font-size: 0; } .spb .spb-foot .spb-phone strong { font-size: 15px; } }

/* ---------------------------------------------------------------- priser */
.spb .spb-chips { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin: -14px auto 36px; max-width: 760px; }
.spb .spb-chips ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.spb .spb-chips li { padding: 6px 12px; border-radius: 9999px; background: var(--spb-muted); font-size: 13px; font-weight: 600; color: var(--spb-fg); line-height: 1.3; }

.spb .spb-plans { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@container spb (min-width: 600px) { .spb .spb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }
@container spb (min-width: 960px) {
	.spb .spb-plans[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.spb .spb-plans[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.spb .spb-plans[data-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.spb .spb-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 22px 22px;
	background: #fff;
	border: 1.5px solid var(--spb-border);
	border-radius: 22px;
	transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, border-color .2s;
}
.spb .spb-plan:hover { border-color: var(--spb-sea); box-shadow: var(--spb-shadow); transform: translateY(-3px); }
.spb .spb-plan.is-selected { border-color: var(--spb-primary); box-shadow: 0 0 0 3px rgba(5, 51, 95, .1); }
.spb .spb-plan.is-featured { color: #EFF7FB; border-color: transparent; background: radial-gradient(130% 90% at 100% 0%, #0B4777 0%, var(--spb-primary) 42%, var(--spb-ink) 100%); box-shadow: 0 24px 48px -24px rgba(2, 27, 53, .7); }
.spb .spb-plan.is-featured:hover { border-color: transparent; }
.spb .spb-plan.is-featured.is-selected { box-shadow: 0 0 0 3px var(--spb-accent), 0 24px 48px -24px rgba(2, 27, 53, .7); }
.spb .spb-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 9999px; background: var(--spb-accent); color: var(--spb-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--spb-shadow-cta); }
.spb .spb-plan-badge svg { width: 12px; height: 12px; }
.spb .spb-plan-name { font-family: var(--spb-head); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: inherit; }
.spb .spb-plan-save { display: flex; align-items: center; gap: 10px; min-height: 26px; margin-top: 10px; }
.spb .spb-save { display: inline-block; padding: 4px 10px; border-radius: 9999px; background: var(--spb-sea-soft); color: var(--spb-sea-dark); font-size: 12.5px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.spb .spb-save--none { background: var(--spb-muted); color: var(--spb-mfg); }
.spb .spb-plan-save s, .spb .spb-order-save s { font-size: 14px; color: var(--spb-mfg); text-decoration-thickness: 1.5px; }
.spb .is-featured .spb-save { background: rgba(255, 201, 33, .16); color: var(--spb-accent); }
.spb .is-featured .spb-save--none { background: rgba(239, 247, 251, .12); color: #EFF7FB; }
.spb .is-featured .spb-plan-save s { color: rgba(239, 247, 251, .6); }
.spb .spb-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; color: inherit; }
.spb .spb-plan-price b { font-family: var(--spb-head); font-size: 50px; font-weight: 800; line-height: .95; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.spb .spb-plan-price span { font-family: var(--spb-head); font-size: 20px; font-weight: 700; }
.spb .spb-plan-unit { margin-top: 6px; font-size: 14px; color: var(--spb-mfg); }
.spb .spb-plan-extra { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--spb-sea-dark); }
.spb .is-featured .spb-plan-unit { color: rgba(239, 247, 251, .72); }
.spb .is-featured .spb-plan-extra { color: var(--spb-accent); }
.spb .spb-plan-year { margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: var(--spb-bg); border: 1px solid #E3EDF2; font-size: 13.5px; font-weight: 600; color: var(--spb-fg); }
.spb .is-featured .spb-plan-year { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .1); color: #fff; }
.spb .spb-plan-features { display: grid; gap: 10px; margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--spb-border); font-size: 14.5px; line-height: 1.4; }
.spb .spb-plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.spb .spb-plan-features svg { width: 20px; height: 20px; padding: 4px; margin-top: -1px; border-radius: 50%; background: var(--spb-sea-soft); color: var(--spb-sea-dark); }
.spb .is-featured .spb-plan-features { border-color: rgba(239, 247, 251, .14); }
.spb .is-featured .spb-plan-features svg { background: var(--spb-accent); color: var(--spb-ink); }
.spb .spb-plan .spb-btn { margin-top: auto; height: 52px; padding: 0 16px; font-size: 15px; }
.spb .spb-plan .spb-btn span { overflow: hidden; text-overflow: ellipsis; }
.spb .spb-note { max-width: 680px; margin: 24px auto 0; text-align: center; font-size: 13.5px; color: var(--spb-mfg); line-height: 1.55; }
.spb .spb-note a, .spb .spb-consent a { color: var(--spb-sea-dark); text-decoration: underline; text-underline-offset: 3px; }
.spb .spb-note a:hover, .spb .spb-consent a:hover { color: var(--spb-primary); }
@container spb (max-width: 599px) {
	.spb .spb-plan.is-featured { order: -1; }
	.spb .spb-plans { gap: 22px; }
	.spb .spb-plan-price b { font-size: 46px; }
}

/* ---------------------------------------------------------------- book nu / bliv kontaktet */
.spb .spb-alt { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--spb-fg); }
.spb .spb-btn--sm, .spb .spb-btn--sm:focus { height: 46px; padding: 0 18px; font-size: 15px; border-radius: 15px; }
.spb .spb-btn--sm svg { width: 17px; height: 17px; }

.spb .spb-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 820px; margin: -6px auto 32px; }
@container spb (max-width: 560px) { .spb .spb-choice { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; } }
.spb .spb-choice-card, .spb .spb-choice-card:focus {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 52px 18px 18px;
	text-align: left;
	background: #fff;
	color: var(--spb-fg);
	border: 1.5px solid var(--spb-border);
	border-radius: 20px;
	transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.spb .spb-choice-card:hover { border-color: var(--spb-sea); background: #fff; color: var(--spb-fg); transform: translateY(-2px); box-shadow: var(--spb-shadow); }
.spb .spb-choice-card.is-selected, .spb .spb-choice-card.is-selected:hover, .spb .spb-choice-card.is-selected:focus { border-color: var(--spb-primary); background: #F6FBFD; box-shadow: 0 0 0 3px rgba(5, 51, 95, .1); transform: none; }
.spb .spb-choice-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--spb-sea-soft); color: var(--spb-primary); transition: background-color .2s, color .2s; }
.spb .spb-choice-icon svg { width: 22px; height: 22px; }
.spb .spb-choice-card.is-selected .spb-choice-icon { background: var(--spb-primary); color: #fff; }
.spb .spb-choice-card[data-mode="book"].is-selected .spb-choice-icon { background: var(--spb-accent); color: var(--spb-ink); }
.spb .spb-choice-body { display: block; min-width: 0; }
.spb .spb-choice-title { display: block; font-family: var(--spb-head); font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.spb .spb-choice-sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--spb-mfg); }
.spb .spb-choice-card .spb-tile-check { top: 18px; right: 16px; }
.spb .spb-choice-card.is-selected .spb-tile-check { background: var(--spb-sea); border-color: var(--spb-sea); color: #fff; animation: spbPop .3s cubic-bezier(.2, 1.6, .4, 1); }
@container spb (max-width: 560px) {
	.spb .spb-choice-card, .spb .spb-choice-card:focus { padding: 14px 46px 14px 14px; border-radius: 18px; }
	.spb .spb-choice-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
	.spb .spb-choice-title { font-size: 17px; }
	.spb .spb-choice-sub { font-size: 13.5px; }
	.spb .spb-choice-card .spb-tile-check { top: 14px; right: 12px; }
}

.spb .spb-ivpick { margin-bottom: 22px; padding: 18px; border-radius: 18px; background: #F7FBFD; border: 1px solid var(--spb-border); }
.spb .spb-ivpick-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.spb .spb-ivopt, .spb .spb-ivopt:focus { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--spb-border); background: #fff; color: var(--spb-fg); text-align: left; transition: border-color .15s, background-color .15s; }
.spb .spb-ivopt:hover { border-color: var(--spb-sea); background: #fff; color: var(--spb-fg); }
.spb .spb-ivopt.is-selected, .spb .spb-ivopt.is-selected:hover { border-color: var(--spb-primary); background: #F6FBFD; }
.spb .spb-ivopt span { font-size: 13.5px; font-weight: 600; }
.spb .spb-ivopt b { font-family: var(--spb-head); font-size: 18px; font-weight: 800; color: var(--spb-primary); }

/* ---------------------------------------------------------------- bestilling */
.spb .spb-contact { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@container spb (min-width: 780px) { .spb .spb-contact { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 32px; } }
@container spb (max-width: 779px) { .spb .spb-order { order: -1; } }
.spb .spb-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.spb .spb-half { grid-column: span 3; }
.spb .spb-wide { grid-column: span 6; }
.spb .spb-third { grid-column: span 2; }
.spb .spb-twothird { grid-column: span 4; }
@container spb (max-width: 480px) { .spb .spb-half { grid-column: span 6; } .spb .spb-fields { gap: 14px; } }
.spb .spb-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--spb-fg); vertical-align: baseline; }
.spb .spb-field input, .spb .spb-field textarea {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--spb-input);
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	font-family: var(--spb-body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--spb-fg);
	transition: border-color .15s, box-shadow .15s;
}
.spb .spb-field textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.spb .spb-field input::placeholder, .spb .spb-field textarea::placeholder { color: #8A9AAA; }
.spb .spb-field input:hover, .spb .spb-field textarea:hover { border-color: #A9C1CE; }
.spb .spb-field input:focus, .spb .spb-field textarea:focus { border-color: var(--spb-sea); box-shadow: var(--spb-ring); outline: none; }
.spb .spb-field [aria-invalid="true"], .spb .spb-field [aria-invalid="true"]:focus { border-color: #D64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
.spb .spb-err { margin-top: 6px; font-size: 13px; font-weight: 600; color: #C62828; }
.spb .spb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spb .spb-consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--spb-fg); cursor: pointer; vertical-align: baseline; }
.spb .spb-box { display: flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; margin-top: -1px; border-radius: 8px; border: 1.5px solid var(--spb-input); background: #fff; color: transparent; transition: all .15s; }
.spb .spb-box svg { width: 14px; height: 14px; }
.spb .spb-consent input:checked + .spb-box { background: var(--spb-sea); border-color: var(--spb-sea); color: #fff; }
.spb [data-submit] { margin-top: 22px; }
.spb .spb-secure { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; font-size: 13px; color: var(--spb-mfg); text-align: center; }
.spb .spb-secure svg { width: 15px; height: 15px; }

.spb .spb-order { position: sticky; top: 110px; padding: 26px 24px; border-radius: 22px; border: 1px solid var(--spb-border); background: linear-gradient(180deg, #F1F9FC 0%, #E8F4F8 100%); }
.spb .spb-order-title { margin-top: 6px; font-family: var(--spb-head); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--spb-fg); }
.spb .spb-order-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 12px; }
.spb .spb-order-price b { font-family: var(--spb-head); font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--spb-primary); }
.spb .spb-order-price span { font-size: 14px; color: var(--spb-mfg); }
.spb .spb-order-save { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.spb .spb-order-list { display: grid; gap: 10px; margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--spb-border); }
.spb .spb-order-list div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.4; }
.spb .spb-order-list dt { color: var(--spb-mfg); }
.spb .spb-order-list dd { font-weight: 600; text-align: right; color: var(--spb-fg); }
@container spb (max-width: 779px) { .spb .spb-order { position: static; padding: 20px; } .spb .spb-order-price b { font-size: 32px; } }

/* ---------------------------------------------------------------- tak */
.spb .spb-done { max-width: 560px; margin: 0 auto; padding: 24px 0 12px; text-align: center; }
.spb .spb-done-icon { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%; background: var(--spb-sea); color: #fff; box-shadow: 0 0 0 12px var(--spb-sea-soft); animation: spbPop .5s cubic-bezier(.2, 1.5, .4, 1) both; }
.spb .spb-done-icon svg { width: 38px; height: 38px; }
.spb .spb-done-icon svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: spbDraw .5s .25s ease forwards; }
@keyframes spbDraw { to { stroke-dashoffset: 0; } }
.spb .spb-done .spb-title { margin-top: 0; }
.spb .spb-done-actions { display: flex; justify-content: center; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
	.spb *, .spb *::before, .spb *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
