/* Sundværk – hovedstil
   Farver og mål er taget fra Figma (Forside v5 og undersider). */

:root {
	--sv-creme: #f3eee6;
	--sv-ink: #2a211b;
	--sv-dark: #2e251e;
	--sv-dark-2: #26201a;
	--sv-light: #efe6d3;
	--sv-white: #faf5ed;
	--sv-pill: #fbf8f3;
	--sv-btn-ink: #f8f4ee;
	--sv-gold: #d9b880;
	--sv-panel: #322c25;
	--sv-detail: #464038;
	--sv-line-light: rgba(239, 230, 211, 0.22);
	--sv-line-ink: rgba(42, 33, 27, 0.22);
	--sv-geist: Geist, "Helvetica Neue", Arial, sans-serif;
	--sv-comfortaa: Comfortaa, "Helvetica Neue", Arial, sans-serif;
	--sv-inter: Inter, "Helvetica Neue", Arial, sans-serif;
	--sv-gutter: clamp(32px, 3.4vw, 56px);
	--sv-pad: 140px;
}

/* ---------- Grundlag ---------- */

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--sv-creme);
	color: var(--sv-ink);
	font-family: var(--sv-inter);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body :where(p, h1, h2, h3, h4, ul, ol, figure, fieldset) { margin: 0; }
body :where(ul.wp-block-list, ul) { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--sv-gold); outline-offset: 3px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.sv-main { position: relative; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, .sv-display, .sv-h1, .sv-h3 {
	font-family: var(--sv-geist);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.02;
}

/* Sektioner */
.sv-section, .sv-dark, .sv-cta, .sv-footer, .sv-header { padding-inline: var(--sv-gutter); }
.sv-dark { background: var(--sv-dark-2); color: var(--sv-light); }
.sv-work { background: var(--sv-dark); }

/* Typografi */
.sv-display { font-size: clamp(44px, 7.2vw, 104px); }
.sv-h1 { font-size: clamp(40px, 4.45vw, 64px); }
.sv-h3 { font-size: clamp(24px, 2.25vw, 32px); line-height: 1.12; }
.sv-lead { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.5; max-width: 760px; }
.sv-eyebrow, .sv-small { font-size: 13px; font-weight: 500; line-height: 1.5; }
.sv-note { font-size: 17px; opacity: 0.75; }
.sv-label {
	display: flex; align-items: center; gap: 12px;
	font-size: 15px; line-height: 18px; opacity: 0.8;
}
.sv-label::before { content: ""; width: 3px; height: 18px; background: var(--sv-gold); flex: none; }
.sv-more { font-size: 16px; font-weight: 500; }
.sv-badge {
	display: inline-flex; align-items: center; gap: 8px; width: max-content;
	font-size: 12px; font-weight: 500; line-height: 1.5;
	border: 1px solid currentColor; border-radius: 999px; padding: 5px 12px;
}
.sv-badge--solid {
	background: var(--sv-light); color: #1e2a23; border-color: var(--sv-light);
	font-size: 13px; padding: 9px 16px 9px 14px;
}
.sv-badge--solid::before, .sv-star::before {
	content: ""; width: 11px; height: 11px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .5C6.4 3.6 8.4 5.6 11.5 6 8.4 6.4 6.4 8.4 6 11.5 5.6 8.4 3.6 6.4.5 6 3.6 5.6 5.6 3.6 6 .5Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .5C6.4 3.6 8.4 5.6 11.5 6 8.4 6.4 6.4 8.4 6 11.5 5.6 8.4 3.6 6.4.5 6 3.6 5.6 5.6 3.6 6 .5Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Knapper */
.sv-btn .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--sv-ink); color: var(--sv-btn-ink);
	font-family: var(--sv-inter); font-size: 15px; font-weight: 500; line-height: 18px;
	padding: 14px 24px 14px 22px; border-radius: 999px; border: 0;
	transition: transform .2s ease, opacity .2s ease;
}
.sv-btn .wp-block-button__link:hover { text-decoration: none; opacity: .9; }
.sv-btn--dot .wp-block-button__link::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sv-btn--pill .wp-block-button__link {
	background: var(--sv-pill); color: var(--sv-ink);
	padding: 11px 20px;
}
.wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Header ---------- */

.sv-site-header { position: relative; z-index: 20; }
.sv-header {
	display: flex; align-items: center; justify-content: space-between;
	height: 76px; box-sizing: border-box; padding-block: 18px;
}
.sv-logo, .sv-logo a { font-family: var(--sv-comfortaa); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.sv-logo a:hover { text-decoration: none; }
.sv-header__right { display: flex; align-items: center; gap: 40px; }
.sv-nav .wp-block-navigation__container { gap: 32px; }
.sv-nav .wp-block-navigation-item__content { font-size: 17px; font-weight: 500; line-height: 21px; }
.sv-nav .is-active > a, .sv-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sv-menu-toggle { display: none; }

/* Forside: headeren ligger oven på billedet */
.home .sv-site-header { position: absolute; top: 0; left: 0; right: 0; color: var(--sv-white); }
.home .sv-site-header .sv-nav { color: var(--sv-white); }

/* ---------- Hero ---------- */

.sv-hero {
	position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1400px; overflow: hidden;
	background: #c9cfc8; color: var(--sv-white);
}
.sv-hero__img { position: absolute; inset: 0; margin: 0 !important; }
.sv-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; }
.sv-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(36, 26, 18, .4) 0%, rgba(36, 26, 18, .05) 18%, rgba(36, 26, 18, .08) 50%, rgba(36, 26, 18, .82) 100%);
}
.sv-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	--l: rgba(250, 245, 237, 0.14);
	background:
		linear-gradient(var(--l), var(--l)) 25% 0 / 1px 100% no-repeat,
		linear-gradient(var(--l), var(--l)) 50% 0 / 1px 100% no-repeat,
		linear-gradient(var(--l), var(--l)) 75% 0 / 1px 100% no-repeat,
		linear-gradient(var(--l), var(--l)) 0 96px / 100% 1px no-repeat,
		linear-gradient(var(--l), var(--l)) 0 288px / 100% 1px no-repeat,
		linear-gradient(var(--l), var(--l)) 0 480px / 100% 1px no-repeat;
}
.sv-hero__inner { position: absolute; inset: 0; z-index: 2; }
.sv-hero__left { position: absolute; left: calc(var(--sv-gutter) - 0.06em); bottom: 0; }
.sv-hero__left .sv-label { margin: 0 0 6px 12px; }
.sv-hero__wordmark {
	font-size: clamp(79px, 13.33vw, 192px); line-height: 0.8; letter-spacing: -0.05em;
	color: var(--sv-white); margin-bottom: -0.02em; padding-bottom: 0.04em;
}
.sv-hero__right {
	position: absolute; left: 68.33%; right: var(--sv-gutter); bottom: 40px; max-width: 420px;
	display: flex; flex-direction: column; gap: 20px;
}
.sv-hero__tag { font-family: var(--sv-geist); font-weight: 500; font-size: 30px; line-height: 1.18; letter-spacing: -0.02em; }
.sv-hero__tag em { font-style: normal; opacity: 0.55; }
.sv-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.sv-pills li {
	font-size: 13px; font-weight: 500; line-height: 16px;
	padding: 7px 14px; border-radius: 999px;
	background: rgba(250, 245, 237, 0.12); border: 1px solid rgba(250, 245, 237, 0.25);
}

/* ---------- Intro ---------- */

.sv-intro {
	padding-block: var(--sv-pad); text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.sv-intro__text { font-size: 22px; line-height: 1.5; max-width: 768px; }
.sv-intro .wp-block-buttons { justify-content: center; }
.sv-faggrupper { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 48px; }
.sv-fag { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.sv-fag li { font-size: 17px; font-weight: 500; display: flex; align-items: center; gap: 28px; }
.sv-fag li + li::before {
	content: ""; width: 11px; height: 11px; opacity: .5; background: currentColor;
	-webkit-mask: var(--sv-star-mask); mask: var(--sv-star-mask);
}
:root { --sv-star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .5C6.4 3.6 8.4 5.6 11.5 6 8.4 6.4 6.4 8.4 6 11.5 5.6 8.4 3.6 6.4.5 6 3.6 5.6 5.6 3.6 6 .5Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Første værker / case-paneler ---------- */

.sv-work { padding-top: var(--sv-pad); padding-bottom: 60px; color: var(--sv-white); padding-inline: 0; scroll-margin-top: 0; }
.sv-work--list { padding-top: 0; }
.sv-work__head {
	display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
	padding-inline: var(--sv-gutter); margin-bottom: 64px;
}
.sv-work__title { display: flex; flex-direction: column; gap: 20px; color: var(--sv-light); }
.sv-work__lead { font-size: 18px; line-height: 1.5; opacity: 0.75; white-space: nowrap; }

.sv-case {
	display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 720fr); gap: 80px;
	align-items: center;
	padding: 80px var(--sv-gutter);
	border-top: 1px solid rgba(250, 245, 237, 0.12);
}
.sv-case__browser { order: 2; }
.sv-case:nth-child(even) { grid-template-columns: minmax(0, 720fr) minmax(0, 560fr); }
.sv-case:nth-child(even) .sv-case__browser { order: 0; }
.sv-case:nth-child(even) .sv-case__text { order: 1; }
.sv-case__text { display: flex; flex-direction: column; gap: 24px; }
.sv-case__title { font-size: clamp(34px, 4vw, 58px); line-height: 1; color: var(--sv-white); }
.sv-case__desc { font-size: 19px; line-height: 1.5; opacity: 0.85; }
.sv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 176px)); gap: 8px; }
.sv-fact {
	padding: 14px 16px; border-radius: 12px;
	background: rgba(250, 245, 237, 0.06); border: 1px solid rgba(250, 245, 237, 0.16);
	display: flex; flex-direction: column; gap: 6px;
}
.sv-fact__k { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; opacity: .55; line-height: 13px; }
.sv-fact__v { font-size: 14px; line-height: 1.4; opacity: .95; }

/* Browser-ramme */
.sv-browser {
	position: relative; overflow: hidden;
	border-radius: 14px; border: 1px solid var(--sv-light); background: var(--sv-panel);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.sv-browser::before {
	content: ""; position: absolute; top: 20px; left: 18px;
	width: 10px; height: 10px; border-radius: 50%; background: var(--sv-detail);
	box-shadow: 17px 0 var(--sv-detail), 34px 0 var(--sv-detail);
}
.sv-browser > .sv-browser__bar { margin: 12px auto !important; }
.sv-browser__bar {
	width: max-content; max-width: 60%; margin: 12px auto;
	padding: 5px 16px; border-radius: 999px; background: var(--sv-detail);
	color: var(--sv-light); font-size: 12px; font-weight: 500; line-height: 15px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sv-browser__screen { margin: 0; border-top: 1px solid rgba(0, 0, 0, .25); }
.sv-browser__screen img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.sv-browser--large { max-width: 1120px; margin-inline: auto; }
.sv-browser--large .sv-browser__screen img { aspect-ratio: 3 / 2; }

/* ---------- Kontakt-afslutning og footer ---------- */

.sv-cta {
	padding-block: 128px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 24px;
	background: var(--sv-creme);
}
.sv-cta__title { font-size: clamp(34px, 3.35vw, 48px); max-width: 720px; }
.sv-cta .wp-block-buttons { justify-content: center; }

.sv-footer { background: var(--sv-creme); border-top: 1px solid var(--sv-ink); padding-top: 80px; padding-bottom: 32px; }
.sv-footer__top { display: flex; justify-content: space-between; gap: 48px; }
.sv-footer__brand { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.sv-footer__logo { font-family: var(--sv-comfortaa); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.sv-footer__cols { display: flex; gap: 96px; }
.sv-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.sv-footer__h { font-size: 13px; font-weight: 500; }
.sv-footer__bottom {
	display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
	margin: 72px calc(-1 * var(--sv-gutter)) 0; padding: 20px var(--sv-gutter) 0; border-top: 1px solid var(--sv-ink); font-size: 13px;
}

/* ---------- Sidehoveder ---------- */

.sv-pagehead {
	padding-block: var(--sv-pad) 120px;
	display: flex; flex-direction: column; gap: 28px;
}
.sv-pagehead .sv-display { max-width: 1200px; }
.sv-lead.sv-three { max-width: none; white-space: nowrap; }

/* ---------- Case-side ---------- */

.sv-casehead { padding-block: 120px 96px; display: flex; flex-direction: column; gap: 28px; }
.sv-crumb { font-size: 13px; font-weight: 500; white-space: pre-wrap; }
.sv-casehead__top { display: flex; align-items: center; gap: 12px; padding-top: 24px; }
.sv-factrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; }
.sv-factrow__item { border-top: 1px solid var(--sv-ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.sv-factrow__k { font-size: 13px; font-weight: 500; }
.sv-factrow__v { font-size: 17px; font-weight: 500; }

.sv-casehero { padding-block: 120px 140px; }

.sv-split { padding-bottom: 76px; }
.sv-split__row {
	display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 752px); justify-content: space-between; gap: 64px;
	padding: 48px 0 64px; border-top: 1px solid var(--sv-line-light);
}
.sv-split__head { display: flex; flex-direction: column; gap: 16px; }
.sv-split__text { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.5; }

.sv-mobile {
	display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 640px); justify-content: space-between;
	align-items: center; gap: 64px; padding-bottom: var(--sv-pad);
}
.sv-mobile__text { display: flex; flex-direction: column; gap: 28px; }
.sv-mobile__text .sv-eyebrow { margin-bottom: -12px; }
.sv-mobile__scene { display: flex; justify-content: center; }

/* Telefon, hvor siden ruller af sig selv */
.sv-phone {
	--w: 364px; --h: 727px;
	position: relative; width: var(--w); box-sizing: border-box;
	padding: 12px; border-radius: 52px; background: var(--sv-panel);
	border: 2px solid var(--sv-light);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.sv-phone::after {
	content: ""; position: absolute; top: 27px; left: 50%; transform: translateX(-50%);
	width: 13px; height: 13px; border-radius: 50%; background: var(--sv-detail); z-index: 2;
}
.sv-phone__page { margin: 0; height: calc(var(--h) - 24px); overflow: hidden; border-radius: 40px; background: #faf7f5; }
.sv-phone__page img { width: 100%; will-change: transform; }
/* Starter altid på sidens top og ruller kun nedad. Ved bunden toner den ud og begynder forfra. */
.sv-phone.is-playing .sv-phone__page img { animation: sv-scroll 22s linear infinite; }
@keyframes sv-scroll {
	0% { transform: translateY(0); opacity: 1; }
	8% { transform: translateY(0); }
	86% { transform: translateY(calc(-100% + var(--h) - 24px)); opacity: 1; }
	96% { transform: translateY(calc(-100% + var(--h) - 24px)); opacity: 0; }
	96.01%, 100% { transform: translateY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.sv-phone__page { overflow-y: auto; }
	.sv-phone__page img { animation: none; }
}

.sv-choices { padding-block: var(--sv-pad); display: flex; flex-direction: column; gap: 16px; }
.sv-choices .sv-h1 { margin-bottom: 40px; }
.sv-choices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.sv-choice { border-top: 1px solid var(--sv-ink); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.sv-choice__nr { font-family: var(--sv-geist); font-weight: 500; font-size: 32px; letter-spacing: -0.04em; line-height: 1.12; }
.sv-choice__title { font-size: 24px; line-height: 1.12; }

.sv-next { padding-block: var(--sv-pad); }
.sv-next__row {
	display: flex; justify-content: space-between; align-items: center; gap: 64px;
	border-top: 1px solid var(--sv-line-light); padding-top: 48px;
}
.sv-next__text { display: flex; flex-direction: column; gap: 16px; }
.sv-next__browser { width: 520px; flex: none; }
.sv-next__browser .sv-browser__screen img { aspect-ratio: 3 / 2; }

/* ---------- Ydelser ---------- */

.sv-package {
	display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 880px); justify-content: space-between; gap: 96px;
	padding-block: var(--sv-pad);
}
.sv-package__aside { display: flex; flex-direction: column; gap: 20px; }
.sv-package__list { border-bottom: 1px solid var(--sv-line-light); }
.sv-addon {
	display: grid; grid-template-columns: minmax(0, 1fr) 42px; column-gap: 32px; align-items: center;
	padding: 28px 0; border-top: 1px solid var(--sv-line-light);
}
.sv-addon--base { grid-template-columns: 1fr auto; align-items: start; padding: 36px 0 44px; }
.sv-addon__main { display: flex; flex-direction: column; gap: 12px; }
.sv-features { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.sv-features li { display: flex; align-items: center; gap: 14px; }
.sv-features li + li::before { content: ""; width: 10px; height: 10px; opacity: .6; background: currentColor; -webkit-mask: var(--sv-star-mask); mask: var(--sv-star-mask); }
.sv-addon__title { font-size: 32px; line-height: 1.12; }
.sv-addon.is-ready .sv-addon__title { cursor: pointer; }
.sv-addon__desc { font-size: 17px; line-height: 1.5; max-width: 640px; grid-column: 1 / -1; padding-top: 16px; }
.sv-addon__body > .sv-addon__desc { padding-top: 0; }
/* Foldes sammen, når JavaScript er klar. Uden JavaScript står teksten fremme. */
.sv-addon__body { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.sv-addon__body > .sv-addon__desc { overflow: hidden; min-height: 0; }
.sv-addon.is-open .sv-addon__body { grid-template-rows: 1fr; }
.sv-addon.is-open .sv-addon__desc { padding-top: 16px; }
.sv-addon__toggle {
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--sv-light);
	background: transparent; color: var(--sv-light); cursor: pointer; padding: 0;
	display: grid; place-items: center; transition: background .2s, color .2s;
}
.sv-addon__toggle svg { width: 16px; height: 16px; transition: transform .3s ease; }
.sv-addon.is-open .sv-addon__toggle svg { transform: rotate(45deg); }
.sv-addon__toggle:hover { background: rgba(239, 230, 211, .08); }

/* ---------- Om os ---------- */

.sv-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 24px; }
.sv-point { border-top: 1px solid rgba(42, 33, 27, 0.28); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.sv-point__nr { font-family: var(--sv-geist); font-weight: 500; font-size: 24px; letter-spacing: -0.03em; }
.sv-point__title { font-family: var(--sv-inter); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
.sv-point__text { font-size: 15px; }

.sv-vennsec { padding-block: var(--sv-pad); display: flex; flex-direction: column; align-items: center; gap: 72px; }
.sv-center { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.sv-venn { position: relative; width: 800px; height: 480px; }
.sv-venn::before, .sv-venn::after {
	content: ""; position: absolute; top: 0; width: 480px; height: 480px; border-radius: 50%;
	border: 1px solid var(--sv-light); box-sizing: border-box;
}
.sv-venn::before { left: 0; }
.sv-venn::after { right: 0; }
.sv-venn__side { position: absolute; top: 50%; transform: translate(-50%, -50%); text-align: center; display: flex; flex-direction: column; gap: 14px; z-index: 1; }
.sv-venn__side--a { left: 164px; }
.sv-venn__side--b { left: 644px; }
.sv-venn__name { font-size: 32px; line-height: 1.12; }
.sv-venn__list { display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.sv-venn__overlap {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 15px; font-weight: 500;
}
.sv-venn__overlap::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--sv-star-mask); mask: var(--sv-star-mask); }
.sv-venn__result { position: relative; margin-top: -12px; font-size: 17px; font-weight: 500; text-align: center; }
.sv-venn__result::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 26px); width: 1px; height: 101px; background: var(--sv-light); }
.sv-venn__result::after { content: ""; position: absolute; left: calc(50% - 3px); bottom: calc(100% + 16px); width: 7px; height: 7px; border-radius: 50%; background: var(--sv-light); }

.sv-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: var(--sv-pad); }
.sv-profile { display: flex; flex-direction: column; gap: 28px; }
.sv-profile .sv-h1 { margin-bottom: -22px; }
.sv-profile__role { font-size: 17px; line-height: 1.4; }
.sv-profile__bio { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.5; max-width: 600px; }
.sv-row { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--sv-line-light); }
.sv-row__k { font-weight: 500; }
.sv-row__v { text-align: right; }
.sv-profile .sv-more { font-size: 15px; }

/* ---------- Kontakt ---------- */

.sv-contact {
	display: grid; grid-template-columns: minmax(0, 848px) minmax(0, 400px); justify-content: space-between; gap: 128px;
	padding-block: var(--sv-pad);
}
.sv-form { display: flex; flex-direction: column; gap: 36px; }
.sv-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.sv-field { display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--sv-line-light); padding-bottom: 12px; }
.sv-field > span, .sv-chips legend { font-size: 13px; font-weight: 500; line-height: 1.5; }
.sv-field input, .sv-field textarea {
	background: transparent; border: 0; padding: 0; color: var(--sv-light);
	font: 400 17px/1.5 var(--sv-inter); width: 100%; resize: vertical;
}
.sv-field input:focus, .sv-field textarea:focus { outline: none; }
.sv-field:focus-within { border-bottom-color: var(--sv-light); }
.sv-field ::placeholder { color: var(--sv-light); opacity: .5; }
.sv-field--besked { padding-bottom: 24px; }
.sv-field--besked textarea { min-height: 80px; }
.sv-chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sv-chips legend { padding: 0; margin-bottom: 14px; width: 100%; }
.sv-chip input { position: absolute; opacity: 0; pointer-events: none; }
.sv-chip span {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	font-size: 15px; font-weight: 500; line-height: 23px;
	padding: 9px 16px 9px 14px; border-radius: 999px; border: 1px solid var(--sv-light);
	transition: background .2s, color .2s;
}
.sv-chip span::before { content: "+"; width: 10px; text-align: center; }
.sv-chip input:checked + span { background: var(--sv-light); color: #1e2a23; }
.sv-chip input:checked + span::before { content: ""; height: 10px; background: currentColor; -webkit-mask: var(--sv-star-mask); mask: var(--sv-star-mask); }
.sv-chip input:focus-visible + span { outline: 2px solid var(--sv-gold); outline-offset: 3px; }
.sv-form__send { display: flex; align-items: center; gap: 24px; }
.sv-form__send p { font-size: 13px; }
.sv-form__send a { text-decoration: underline; text-underline-offset: 3px; }
.sv-submit {
	display: inline-flex; align-items: center; gap: 10px; flex: none; cursor: pointer;
	background: var(--sv-light); color: #1e2a23; border: 0; border-radius: 999px;
	font: 500 15px/18px var(--sv-inter); padding: 14px 24px 14px 22px;
}
.sv-submit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sv-form__hp { position: absolute; left: -9999px; }
.sv-form__msg { padding: 14px 18px; border-radius: 12px; font-size: 15px; }
.sv-form__msg--ok { background: rgba(239, 230, 211, .12); border: 1px solid var(--sv-light); }
.sv-form__msg--fejl { background: rgba(217, 120, 90, .15); border: 1px solid #d9785a; }

.sv-contact__info { display: flex; flex-direction: column; gap: 56px; }
.sv-contact__direct { display: flex; flex-direction: column; gap: 16px; }
.sv-contact__big { font-size: 24px; font-weight: 500; line-height: 1.5; margin-top: -8px; }
.sv-steps { display: flex; flex-direction: column; }
.sv-steps .sv-small { margin-bottom: 16px; }
.sv-step { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--sv-line-light); }
.sv-step__nr { font-size: 15px; font-weight: 500; }

/* ---------- Privatlivspolitik ---------- */

.sv-policy { padding-bottom: var(--sv-pad); display: flex; flex-direction: column; gap: 48px; }
.sv-policy__row {
	display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 760px); gap: 64px;
	border-top: 1px solid var(--sv-line-ink); padding-top: 28px;
}
.sv-policy__title { font-family: var(--sv-inter); font-size: 22px; font-weight: 500; letter-spacing: 0; line-height: 1.3; white-space: pre-wrap; }
.sv-policy__text { line-height: 1.6; }
.sv-policy__text a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobilmenu ---------- */

.sv-menu {
	position: fixed; inset: 0; z-index: 1000; background: var(--sv-dark); color: var(--sv-white);
	display: flex; flex-direction: column; padding: 0 20px 32px; box-sizing: border-box;
	overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.sv-menu.is-open { opacity: 1; visibility: visible; }
.sv-menu__head { display: flex; justify-content: space-between; align-items: center; height: 69px; flex: none; }
.sv-menu__close {
	font: 500 15px/1 var(--sv-inter); color: var(--sv-white); background: transparent;
	border: 1px solid rgba(250, 245, 237, .35); border-radius: 999px; padding: 10px 16px; cursor: pointer;
}
.sv-menu__links { list-style: none; margin: 0; padding: 40px 0 0; flex: 1; }
.sv-menu__links a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 0; border-bottom: 1px solid rgba(250, 245, 237, .14);
	font: 500 36px/1.1 var(--sv-geist); letter-spacing: -0.02em;
}
.sv-menu__links a:hover { text-decoration: none; opacity: .8; }
.sv-menu__links small { font: 400 12px/1 var(--sv-inter); opacity: .45; }
.sv-menu__links a[aria-current] small { font-size: 0; opacity: 1; }
.sv-menu__links a[aria-current] small::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sv-menu__cta {
	display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px;
	background: var(--sv-creme); color: var(--sv-ink); border-radius: 999px; padding: 16px; font-size: 15px; font-weight: 500;
}
.sv-menu__cta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sv-menu__contact { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 14px; opacity: .7; }
body.sv-menu-open { overflow: hidden; }

/* ---------- Mellemstørrelser ---------- */

@media (max-width: 1200px) {
	.sv-hero__right { left: auto; right: var(--sv-gutter); }
	.sv-contact { gap: 64px; }
	.sv-package { gap: 56px; }
	.sv-next__browser { width: 420px; }
	.sv-mobile { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- Mobil og tablet ---------- */

@media (max-width: 900px) {
	:root { --sv-gutter: 20px; --sv-pad: 72px; }
	body { font-size: 16px; }

	.sv-header { height: 69px; padding-block: 16px; }
	.sv-logo, .sv-logo a { font-size: 19px; }
	.sv-nav, .sv-header__cta { display: none !important; }
	.sv-menu-toggle {
		display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
		background: var(--sv-pill); color: var(--sv-ink); border: 0; border-radius: 999px;
		padding: 9px 14px 9px 16px; font: 500 14px/1 var(--sv-inter);
	}
	.sv-burger { position: relative; width: 14px; height: 8px; border-block: 1.5px solid currentColor; box-sizing: border-box; }

	/* Hero */
	.sv-hero { height: 100vh; height: 100svh; min-height: 560px; }
	.sv-hero__img img { object-position: 50% 45%; }
	.sv-hero::before { background: linear-gradient(180deg, rgba(36, 26, 18, .3) 0%, rgba(36, 26, 18, .15) 45%, rgba(36, 26, 18, .7) 100%); }
	.sv-hero::after {
		--l: rgba(250, 245, 237, 0.12);
		background:
			linear-gradient(var(--l), var(--l)) 33.333% 0 / 1px 100% no-repeat,
			linear-gradient(var(--l), var(--l)) 66.666% 0 / 1px 100% no-repeat,
			linear-gradient(var(--l), var(--l)) 0 72px / 100% 1px no-repeat,
			linear-gradient(var(--l), var(--l)) 0 300px / 100% 1px no-repeat;
	}
	.sv-hero__inner { inset: auto 20px 28px 20px; position: absolute; display: flex; flex-direction: column; gap: 14px; }
	.sv-hero__left, .sv-hero__right { position: static; max-width: none; }
	.sv-hero__left .sv-label { margin: 0 0 14px; font-size: 13px; line-height: 16px; }
	.sv-hero__left .sv-label::before { height: 16px; }
	.sv-hero__wordmark { font-size: min(20.3vw, 120px); line-height: .9; margin: 0; padding: 0; }
	.sv-hero__right { flex-direction: column-reverse; gap: 14px; }
	.sv-hero__tag { font-size: 20px; line-height: 1.25; }
	.sv-pills { gap: 6px; }
	.sv-pills li { font-size: 12px; line-height: 15px; padding: 5px 11px; }

	/* Intro */
	.sv-intro { gap: 24px; }
	.sv-intro__text { font-size: 17px; }
	.sv-intro .wp-block-buttons, .sv-cta .wp-block-buttons { width: 100%; }
	.sv-intro .wp-block-button, .sv-cta .wp-block-button { width: 100%; }
	.sv-intro .wp-block-button__link, .sv-cta .wp-block-button__link { width: 100%; justify-content: center; box-sizing: border-box; }
	.sv-faggrupper { padding-top: 24px; }
	.sv-fag { gap: 10px 14px; }
	.sv-fag li { font-size: 15px; gap: 14px; }

	/* Cases */
	.sv-work { padding-top: 72px; padding-bottom: 32px; }
	.sv-work--list { padding-top: 0; }
	.sv-work__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 40px; }
	.sv-work__title { gap: 14px; }
	.sv-work__lead, .sv-lead, .sv-lead.sv-three { white-space: normal; }
	.sv-work__lead { font-size: 16px; }
	.sv-work__lead br, .sv-three br { display: none; }
	.sv-case, .sv-case:nth-child(even) {
		grid-template-columns: minmax(0, 1fr); gap: 18px;
		padding: 32px 20px 40px; margin-inline: 0;
	}
	.sv-case__browser, .sv-case:nth-child(even) .sv-case__browser { order: 0; margin-bottom: 14px; }
	.sv-case__text { gap: 18px; }
	.sv-case__desc { font-size: 16px; }
	.sv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.sv-fact { padding: 10px 8px; }
	.sv-fact__v { font-size: 12px; }
	.sv-more { font-size: 15px; }
	.sv-browser { border-radius: 12px; }
	.sv-browser::before { top: 15px; left: 12px; width: 7px; height: 7px; box-shadow: 12px 0 var(--sv-detail), 24px 0 var(--sv-detail); }
	.sv-browser > .sv-browser__bar { margin: 8px auto !important; font-size: 10px; padding: 4px 12px; }

	/* Kontakt-afslutning og footer */
	.sv-cta { padding-block: 72px; gap: 20px; }
	.sv-footer { padding-top: 56px; }
	.sv-footer__top { flex-direction: column; gap: 40px; }
	.sv-footer__cols { gap: 48px; }
	.sv-footer__bottom { flex-direction: column; margin-top: 48px; }

	/* Sidehoveder */
	.sv-pagehead { padding-block: 32px 56px; gap: 18px; }
	.sv-casehead { padding-block: 24px 56px; gap: 18px; }
	.sv-casehead__top { padding-top: 0; }
	.sv-factrow { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 8px; }
	.sv-factrow__item { flex-direction: row; gap: 16px; padding: 12px 0; border-top-color: var(--sv-line-ink); }
	.sv-factrow__k { flex: 0 0 96px; font-weight: 400; }
	.sv-factrow__v { font-size: 14px; }
	.sv-factrow__item:last-child { border-bottom: 1px solid var(--sv-line-ink); }

	.sv-casehero { padding-block: 40px 56px; }
	.sv-split { padding-bottom: 40px; }
	.sv-split__row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0 32px; }
	.sv-split__text { font-size: 16px; }
	.sv-mobile { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 72px; }
	.sv-mobile__text { gap: 20px; }
	.sv-mobile__text .sv-eyebrow { margin-bottom: -6px; }
	.sv-phone { --w: 240px; --h: 497px; padding: 8px; border-radius: 36px; }
	.sv-phone::after { top: 18px; width: 9px; height: 9px; }
	.sv-phone__page { height: calc(var(--h) - 16px); border-radius: 28px; }
	@keyframes sv-scroll {
		0% { transform: translateY(0); opacity: 1; }
		8% { transform: translateY(0); }
		86% { transform: translateY(calc(-100% + var(--h) - 16px)); opacity: 1; }
		96% { transform: translateY(calc(-100% + var(--h) - 16px)); opacity: 0; }
		96.01%, 100% { transform: translateY(0); opacity: 0; }
	}
	.sv-choices .sv-h1 { margin-bottom: 16px; }
	.sv-choices__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sv-choice { padding-top: 20px; gap: 8px; }
	.sv-choice__nr { font-size: 24px; }
	.sv-choice__title { font-size: 20px; }
	.sv-next__row { flex-direction: column; align-items: stretch; gap: 32px; padding-top: 32px; }
	.sv-next__browser { width: 100%; }

	/* Ydelser */
	.sv-package { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sv-addon { column-gap: 16px; padding: 20px 0; }
	.sv-addon__title { font-size: 22px; letter-spacing: -0.02em; }
	.sv-addon__desc { font-size: 15px; }
	.sv-addon.is-open .sv-addon__desc { padding-top: 10px; }
	.sv-addon--base { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
	.sv-addon--base .sv-badge { grid-row: auto; }
	.sv-features { font-size: 14px; }

	/* Om os */
	.sv-points { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sv-vennsec { gap: 40px; }
	.sv-venn { width: 300px; height: 560px; }
	.sv-venn::before, .sv-venn::after { width: 300px; height: 300px; left: 0; right: auto; }
	.sv-venn::before { top: 0; }
	.sv-venn::after { top: 260px; }
	.sv-venn__side { left: 50% !important; gap: 8px; }
	.sv-venn__side--a { top: 115px; }
	.sv-venn__side--b { top: 445px; }
	.sv-venn__name { font-size: 24px; }
	.sv-venn__list { font-size: 12px; gap: 2px; }
	.sv-venn__overlap { top: 280px; flex-direction: row; font-size: 12px; }
	.sv-venn__result { margin-top: 48px; font-size: 14px; }
	.sv-venn__result::before { height: 32px; bottom: calc(100% + 20px); }
	.sv-venn__result::after { bottom: calc(100% + 12px); }
	.sv-profiles { grid-template-columns: minmax(0, 1fr); gap: 64px; }
	.sv-profile { gap: 20px; }
	.sv-profile .sv-h1 { margin-bottom: -14px; }
	.sv-profile__role { font-size: 15px; }
	.sv-row { font-size: 14px; padding: 12px 0; }

	/* Kontakt */
	.sv-contact { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.sv-form { gap: 28px; }
	.sv-form__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sv-form__send { flex-direction: column; align-items: stretch; gap: 16px; }
	.sv-submit { justify-content: center; }
	.sv-contact__big { font-size: 20px; }

	/* Privatliv */
	.sv-policy { gap: 32px; }
	.sv-policy__row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 20px; }
	.sv-policy__title { font-size: 18px; }
	.sv-policy__text { font-size: 15px; }
}

/* ---------- Editor ---------- */

.editor-styles-wrapper .sv-phone__page img { animation: none; }
.editor-styles-wrapper .sv-hero__img img { height: 780px; }
.editor-styles-wrapper .sv-browser__full { display: none; }

/* ---------- Hele case-panelet kan klikkes ---------- */

.sv-case, .sv-next__row { position: relative; }
.sv-case .sv-more a::after, .sv-next__row .sv-h1 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.sv-case .sv-browser, .sv-next__row .sv-browser { transition: transform .35s ease, box-shadow .35s ease; }
.sv-case:hover .sv-browser, .sv-next__row:hover .sv-browser { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.sv-case:hover .sv-more a, .sv-next__row:hover .sv-h1 a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sv-case .sv-more a:focus-visible::after, .sv-next__row .sv-h1 a:focus-visible::after { outline: 2px solid var(--sv-gold); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .sv-case:hover .sv-browser, .sv-next__row:hover .sv-browser { transform: none; } }


/* ---------- Forside: siden ruller i computerskærmen, når musen holdes over en case ---------- */

.sv-browser__view { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.sv-browser__view .sv-browser__screen { position: absolute; inset: 0; margin: 0; border: 0; }
.sv-browser__view .sv-browser__screen img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; }
.sv-browser__full { position: absolute; inset: 0 0 auto 0; margin: 0 !important; opacity: 0; transition: opacity .35s ease; }
.sv-browser__full img { width: 100%; height: auto; display: block; transform: translateY(0); transition: transform .6s ease; will-change: transform; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.sv-case:hover .sv-browser__full { opacity: 1; }
	.sv-case:hover .sv-browser__full img { transform: translateY(var(--sv-y, 0px)); transition: transform var(--sv-d, 10s) linear .3s; }
}
@media (hover: none) { .sv-browser__full { display: none; } }
.sv-browser__view { border-top: 1px solid rgba(0, 0, 0, .25); }
